:root {
  color: #28261f;
  background: #fff;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html,
body,
.replay-shell {
  width: 100%;
  min-height: 100%;
  margin: 0;
}

.replay-shell {
  height: 100vh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
}

.archive-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 24px;
  width: 100%;
  margin: 0;
  padding: 10px 16px;
  border: 0;
  border-bottom: 1px solid #d8d2c4;
  background: #f7f4ec;
  color: #28261f;
  box-shadow: 0 2px 8px rgba(40, 38, 31, 0.12);
  font: 13px/1.45 ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.archive-header strong {
  color: #28261f;
  font: inherit;
  font-weight: 600;
}

.archive-header a {
  color: #245ea8;
  overflow-wrap: anywhere;
  text-decoration: underline;
}

.archive-header time {
  color: #575247;
  white-space: nowrap;
}

.certificate-note { flex-basis: 100%; color: #575247; }
.certificate-note[data-certificate-status="invalid"] { color: #78420a; }

replay-web-page {
  display: block;
  min-height: 0;
  height: 100%;
}

.replay-unavailable {
  max-width: 34rem;
  margin: 14vh auto;
  padding: 1.5rem;
  text-align: center;
}

.replay-unavailable h1 { margin: 0.5rem 0; font-size: 1.3rem; }
.replay-unavailable p { color: #575247; }
