/* ---------------------------------------------------------------
   Poll for Next Read — dark theme
   No external fonts or assets: every request stays same-origin so
   the page loads identically with or without a VPN.
   --------------------------------------------------------------- */

:root {
  --bg: #0b0b0d;
  --surface: #141417;
  --surface-2: #1b1b1f;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #ece7de;
  --muted: #8d8880;
  --muted-dim: #625e58;
  --accent: #c8a96a;

  --serif: 'Iowan Old Style', 'Palatino Linotype', Palatino, 'Book Antiqua', Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  --radius: 14px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
}

/* Faint warmth in the top-left so a full-black screen doesn't feel flat. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(120vh 90vh at 12% -10%, rgba(200, 169, 106, 0.07), transparent 60%),
    radial-gradient(90vh 70vh at 100% 105%, rgba(200, 169, 106, 0.045), transparent 62%);
  z-index: 0;
}

/* A whisper of film grain. Enough to take the plastic sheen off large flat
   areas of black; not enough to read as texture on its own. */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* The current book's cover, blurred past recognition, tinting the top of the
   screen. It is the one thing that gives each page its own colour. */
.ambient {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 420px;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  background-position: center 22%;
  background-size: cover;
  filter: blur(72px) saturate(1.5);
  transform: scale(1.35);
  transition: opacity 0.7s var(--ease), background-image 0.4s var(--ease);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.55) 45%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.55) 45%, transparent 100%);
}

/* Kept low: past roughly 0.3 it starts washing out the small uppercase labels
   that sit at the top of each screen. */
.ambient.on { opacity: 0.26; }

.app {
  position: relative;
  z-index: 1;
  flex: 1;
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: 72px 24px 96px;
}

@media (max-width: 600px) {
  .app { padding: 44px 20px 72px; }
}

/* ---------- progress bar ---------- */

.progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.06);
  z-index: 10;
}

.progress-fill {
  height: 100%;
  width: 0;
  background: var(--accent);
  transition: width 0.45s var(--ease), background-color 0.45s var(--ease);
}

/* ---------- typography ---------- */

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-dim);
  margin: 0 0 18px;
  font-weight: 500;
}

h1 {
  font-family: var(--serif);
  font-size: clamp(34px, 7vw, 48px);
  line-height: 1.12;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
}

h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 6vw, 38px);
  line-height: 1.15;
  font-weight: 400;
  margin: 0 0 6px;
}

.subtitle {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(19px, 4vw, 23px);
  color: var(--accent);
  margin: -8px 0 22px;
  letter-spacing: 0.01em;
}

.lede {
  font-size: 17px;
  color: #c5c0b7;
  margin: 0 0 22px;
}

/* ---------- voting period announcement ---------- */

.notice {
  border: 1px solid var(--line);
  border-left: 2px solid var(--accent);
  border-radius: 0 12px 12px 0;
  background: linear-gradient(100deg, color-mix(in srgb, var(--accent) 7%, var(--surface)), var(--surface));
  padding: 18px 22px;
  margin: 0 0 32px;
}

.notice-head {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-dim);
  margin: 0 0 9px;
  font-weight: 500;
}

.notice-window {
  font-family: var(--serif);
  font-size: clamp(15px, 3.4vw, 17.5px);
  line-height: 1.5;
  color: var(--text);
  margin: 0 0 10px;
}

.notice-window b { font-weight: 400; }

.tz {
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--muted-dim);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px 8px;
  margin-left: 6px;
  white-space: nowrap;
}

.notice-body {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

.prose { color: #bdb8b0; margin: 0 0 18px; }

.section-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-dim);
  margin: 0 0 8px;
  font-weight: 500;
}

/* A short accent tick in front of every section label, so the eye has an
   anchor down the left edge of the page. */
.section-label::before {
  content: '';
  display: inline-block;
  width: 15px;
  height: 1px;
  background: var(--accent);
  vertical-align: middle;
  margin-right: 9px;
  opacity: 0.75;
}

.muted { color: var(--muted); }
.small { font-size: 13.5px; }

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--text); }

hr.rule {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--line-strong), rgba(255, 255, 255, 0.02));
  margin: 34px 0;
}

/* ---------- fanned covers on the landing page ---------- */

.fan {
  display: flex;
  justify-content: center;
  padding: 6px 0 34px;
}

.fan img {
  width: 76px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 34px -14px rgba(0, 0, 0, 0.95);
  transform: rotate(calc((var(--i) - 1.5) * 3.2deg)) translateY(calc(abs(var(--i) - 1.5) * 3px));
  transition: transform 0.35s var(--ease);
}

.fan img + img { margin-left: -8px; }
.fan:hover img { transform: rotate(calc((var(--i) - 1.5) * 4.6deg)) translateY(0); }

@media (max-width: 420px) {
  .fan img { width: 62px; }
}

/* ---------- landing ---------- */

.rules {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  border-top: 1px solid var(--line);
}

.rules li {
  position: relative;
  display: flex;
  gap: 14px;
  padding: 13px 0;
  color: #bdb8b0;
  font-size: 15px;
}

/* Hairlines that fade out to the right rather than stopping dead — the same
   trick is used on the metadata rows. */
.rules li::after,
.meta-row::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.02));
}

.rules b { color: var(--text); font-weight: 600; }

.rules-key {
  flex: 0 0 96px;
  color: var(--muted-dim);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding-top: 4px;
}

.countdown {
  display: flex;
  gap: 10px;
  margin: 0 0 30px;
}

.cd-cell {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 8px;
  text-align: center;
}

.cd-num {
  font-family: var(--serif);
  font-size: 27px;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.cd-unit {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-dim);
  margin-top: 3px;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease),
    color 0.2s var(--ease), opacity 0.2s var(--ease);
}

.btn:hover { background: rgba(255, 255, 255, 0.05); border-color: var(--line-strong); }

.btn-primary {
  background: var(--text);
  color: #0b0b0d;
  border-color: var(--text);
}

.btn-primary:hover { background: #fff; border-color: #fff; }

.btn-ghost { border-color: transparent; color: var(--muted); padding-left: 6px; padding-right: 6px; }
.btn-ghost:hover { color: var(--text); background: transparent; }

.btn:disabled { opacity: 0.35; cursor: not-allowed; }
.btn:disabled:hover { background: transparent; }
.btn-primary:disabled:hover { background: var(--text); }

.btn:focus-visible,
.scale-opt:focus-visible,
.facade:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 34px;
}

/* ---------- book page ---------- */

.book-head {
  position: relative;
  border-left: 2px solid var(--accent);
  padding-left: 18px;
  /* Keeps a long title from wrapping underneath the ghosted numeral. */
  padding-right: 78px;
  margin-bottom: 26px;
}

.book-author { font-size: 16px; color: var(--muted); margin: 0; }

/* Oversized ghosted numeral behind the title, the way a printed contents page
   numbers its sections. */
.book-head::after {
  content: attr(data-n);
  position: absolute;
  top: 50%;
  right: 4px;
  transform: translateY(-50%);
  font-family: var(--serif);
  font-size: 108px;
  line-height: 1;
  color: var(--accent);
  opacity: 0.07;
  pointer-events: none;
  user-select: none;
}

@media (max-width: 560px) {
  .book-head { padding-right: 54px; }
  .book-head::after { font-size: 76px; opacity: 0.055; }
}

.step {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 16px;
  font-weight: 500;
}

.book-layout { display: flex; gap: 22px; align-items: flex-start; margin-bottom: 26px; }

.cover-wrap {
  flex: 0 0 132px;
  aspect-ratio: 2 / 3;
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--line);
  position: relative;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: zoom-in;
  transition: transform 0.3s var(--ease);
  /* A deep drop shadow plus a faint accent bloom, so the cover sits on the
     page rather than being pasted onto it. */
  box-shadow: 0 22px 46px -18px rgba(0, 0, 0, 0.95), 0 8px 30px -18px var(--accent);
}

.cover-wrap:hover { transform: translateY(-2px); }
.cover-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- cover lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 36px;
  background: rgba(6, 6, 8, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: zoom-out;
  animation: fade 0.25s var(--ease);
}

/* Author `display` outranks the UA stylesheet's [hidden] rule, so opt out here. */
.lightbox[hidden] { display: none; }

.lightbox img {
  max-width: min(100%, 430px);
  max-height: 100%;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 40px 90px -24px #000;
  animation: pop 0.28s var(--ease);
}

.lightbox-hint {
  position: absolute;
  bottom: 26px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-dim);
}

@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop {
  from { opacity: 0; transform: scale(0.94); }
  to { opacity: 1; transform: none; }
}

/* Shown when public/covers/bookN.jpg is missing, so the layout never breaks. */
.cover-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 14px;
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.25;
  color: var(--text);
  background: linear-gradient(160deg, var(--surface-2), #0f0f12);
  border-top: 2px solid var(--accent);
}

.cover-fallback span { font-family: var(--sans); font-size: 10.5px; color: var(--muted-dim); margin-top: 8px; }

/* An author `display` rule outranks the UA stylesheet's [hidden] { display:none },
   so the fallback needs to opt out explicitly or it covers a cover that did load. */
.cover-fallback[hidden] { display: none; }

.meta { flex: 1; min-width: 0; }

.meta-row {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  font-size: 14px;
}

.meta-row:first-child { border-top: 1px solid var(--line); }
.meta-row dt { color: var(--muted-dim); margin: 0; }
.meta-row dd { margin: 0; color: var(--text); text-align: right; }

dl.meta-list { margin: 0; }

/* ---------- genre chips ---------- */

.genres {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 28px;
}

.genre {
  font-size: 11.5px;
  letter-spacing: 0.04em;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
}

/* The first chip is the closest thing to a primary genre, so it carries the
   book's accent and the rest stay quiet. */
.genre:first-child {
  border-color: color-mix(in srgb, var(--accent) 42%, transparent);
  color: var(--accent);
}

@media (max-width: 560px) {
  .book-layout { gap: 16px; }
  .cover-wrap { flex-basis: 96px; }
}

/* ---------- goodreads rating ---------- */

.gr { margin: 0 0 28px; }

.gr-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

/* Two overlaid rows of glyphs; the accent row is clipped to the score so a
   fractional star renders properly. */
.stars {
  position: relative;
  display: inline-block;
  color: rgba(255, 255, 255, 0.15);
  font-size: 17px;
  letter-spacing: 2px;
  line-height: 1;
  white-space: nowrap;
}

.stars::before { content: '★★★★★'; }

.stars::after {
  content: '★★★★★';
  position: absolute;
  left: 0;
  top: 0;
  width: var(--fill);
  overflow: hidden;
  color: var(--accent);
  white-space: nowrap;
}

.gr-score { font-family: var(--serif); font-size: 24px; line-height: 1; }
.gr-count { font-size: 13px; color: var(--muted-dim); }

.gr-rows { display: grid; gap: 5px; }

.gr-row {
  display: grid;
  grid-template-columns: 30px 1fr 38px;
  align-items: center;
  gap: 11px;
  font-size: 12px;
  color: var(--muted-dim);
}

.gr-star { font-variant-numeric: tabular-nums; }
.gr-glyph { color: rgba(255, 255, 255, 0.22); margin-left: 3px; font-size: 10px; }

.gr-track {
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

/* --dim steps down with the star level, so the shape of the distribution reads
   at a glance without five competing blocks of solid colour. */
.gr-fill {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: var(--accent);
  opacity: var(--dim);
}

.gr-pct { text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- video facade ---------- */

.video-block { margin: 26px 0; }

.facade {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(150deg, var(--surface), #0e0e11);
  color: var(--text);
  font-family: inherit;
  padding: 26px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.facade:hover { border-color: var(--line-strong); background: var(--surface-2); }

.facade-play {
  flex: 0 0 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  display: grid;
  place-items: center;
  color: var(--accent);
}

.facade-play svg { width: 15px; height: 15px; margin-left: 2px; fill: currentColor; }

.facade-text strong { display: block; font-size: 15px; font-weight: 500; }
.facade-text span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }

.video-frame {
  position: relative;
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #000;
}

.video-frame.ratio-16x9 { aspect-ratio: 16 / 9; }
.video-frame.ratio-9x16 { aspect-ratio: 9 / 16; max-width: 340px; margin-inline: auto; }

.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.video-note { font-size: 12.5px; color: var(--muted-dim); margin: 9px 2px 0; }
.video-note a { color: var(--muted); }

/* ---------- rating scale ---------- */

.vote-block {
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.vote-q { font-family: var(--serif); font-size: 21px; margin: 0 0 16px; }

.scale { display: grid; gap: 8px; }

.scale-opt {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 14px 18px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.18s var(--ease), background-color 0.18s var(--ease);
}

.scale-opt:hover:not(:disabled) { border-color: var(--line-strong); background: var(--surface-2); }

.scale-opt[aria-pressed='true'] {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 11%, var(--surface));
}

.scale-opt:disabled { opacity: 0.45; cursor: not-allowed; }

.dot {
  flex: 0 0 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.scale-opt[aria-pressed='true'] .dot {
  border-color: var(--accent);
  box-shadow: inset 0 0 0 4px var(--accent);
}

.scale-label { flex: 1; }
.scale-note { color: var(--muted-dim); font-size: 13px; }

@media (max-width: 480px) {
  .scale-note { display: none; }
}

/* ---------- review ---------- */

.review-item {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  background: none;
  border-left: 0;
  border-right: 0;
  border-top: 0;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  text-align: left;
  cursor: pointer;
}

.review-item:first-child { border-top: 1px solid var(--line); }
.review-item:hover .review-title { color: #fff; }

.review-cover {
  flex: 0 0 32px;
  width: 32px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 6px 16px -8px rgba(0, 0, 0, 0.9);
}

/* Stands in for a cover that failed to load, so the row keeps its colour. */
.review-bar { flex: 0 0 3px; height: 40px; border-radius: 2px; background: var(--accent); }
.review-title { flex: 1; font-family: var(--serif); font-size: 18px; }
.review-choice { color: var(--muted); font-size: 14px; }
.review-edit { color: var(--muted-dim); font-size: 12px; }

/* ---------- results ---------- */

.result { margin-bottom: 26px; }

.result-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 9px;
}

/* A thumbnail per row — the only colour on an otherwise very plain screen.
   Sized to read as a recognisable cover rather than a coloured speck. */
.result-cover {
  flex: 0 0 40px;
  width: 40px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 20px -10px rgba(0, 0, 0, 0.9);
}

.result-title { flex: 1; min-width: 0; font-family: var(--serif); font-size: 20px; }
.result-title .rank { color: var(--muted-dim); font-size: 14px; margin-right: 8px; }
.result-share { font-variant-numeric: tabular-nums; font-size: 15px; color: var(--muted); }

.bar {
  position: relative;
  height: 10px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: 5px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 45%, #000), var(--accent));
  box-shadow: 0 0 20px -6px var(--accent);
  width: 0;
  transition: width 0.8s var(--ease);
}

/* The 50% mark — the threshold a title has to clear to be shortlisted. */
.threshold {
  position: absolute;
  left: 50%;
  top: -4px;
  bottom: -4px;
  width: 1px;
  background: rgba(255, 255, 255, 0.28);
}

.result-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 9px;
  font-size: 12.5px;
  color: var(--muted-dim);
}

.result-foot .yours { color: var(--accent); }

.badge {
  display: inline-block;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  color: var(--accent);
  vertical-align: middle;
  margin-left: 10px;
}

.callout {
  border: 1px solid var(--line);
  border-left: 2px solid var(--accent);
  border-radius: 0 10px 10px 0;
  background: var(--surface);
  padding: 16px 20px;
  margin: 0 0 30px;
  font-size: 14.5px;
  color: #bdb8b0;
}

.tally-note { font-size: 13px; color: var(--muted-dim); margin-top: 30px; }

/* ---------- misc ---------- */

.loading { display: grid; place-items: center; min-height: 40vh; }

.spinner {
  width: 22px;
  height: 22px;
  border: 2px solid rgba(255, 255, 255, 0.14);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.view { animation: rise 0.4s var(--ease) both; }

@keyframes rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

.error {
  border: 1px solid rgba(194, 91, 78, 0.5);
  background: rgba(194, 91, 78, 0.09);
  color: #e8a89f;
  border-radius: 10px;
  padding: 13px 17px;
  font-size: 14px;
  margin-top: 18px;
}

.footer {
  position: relative;
  z-index: 1;
  padding: 22px 24px 34px;
  text-align: center;
  font-size: 12px;
  color: var(--muted-dim);
}

.footer-sep { margin: 0 6px; }
