/* ==========================================================================
   The Popcorn Palace — a lovingly tacky late-90s stylesheet
   Win98 windows + GeoCities glitter, but readable on a phone.
   ========================================================================== */

:root {
  --silver: #c0c0c0;
  --silver-light: #dfdfdf;
  --silver-dark: #808080;
  --paper: #ffffff;
  --ink: #000000;
  --navy: #000080;
  --title-bar: linear-gradient(90deg, #000080, #1084d0);
  --link: #0000ee;
  --link-visited: #551a8b;
  --hot: #ff00cc;
  --gold: #ffd700;
  --yellow: #ffff00;
  --lime: #39ff14;
  --cyan: #00ffff;
  --font-ui: Tahoma, Verdana, 'Segoe UI', sans-serif;
  --font-fun: 'Comic Sans MS', 'Comic Neue', 'Chalkboard SE', 'Comic Sans', cursive;
  --font-loud: Impact, 'Anton', 'Arial Black', 'Haettenschweiler', sans-serif;
  --font-pixel: 'VT323', 'Courier New', monospace;
  --bevel-out: inset -1px -1px #0a0a0a, inset 1px 1px #ffffff, inset -2px -2px #808080, inset 2px 2px #dfdfdf;
  --bevel-in: inset -1px -1px #ffffff, inset 1px 1px #0a0a0a, inset -2px -2px #dfdfdf, inset 2px 2px #808080;
  --field: inset -1px -1px #ffffff, inset 1px 1px #808080, inset -2px -2px #dfdfdf, inset 2px 2px #0a0a0a;
}

*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.45;
  background-color: #000010;
  background-image: url('/img/stars.svg');
  background-size: 300px 300px;
  background-attachment: fixed;
}

a { color: var(--link); }
a:visited { color: var(--link-visited); }
a:hover { color: #ff0000; }

img { max-width: 100%; }

h1, h2, h3 { line-height: 1.15; }

.small { font-size: 0.85rem; }
.center { text-align: center; }
.muted { color: #555; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 100;
  background: var(--yellow);
  padding: 8px 12px;
}
.skip-link:focus { left: 8px; }

:focus-visible { outline: 2px dotted #000; outline-offset: 2px; }

.page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px 12px 32px;
}

/* ---------- Masthead ---------- */

.masthead {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 4px 8px;
  text-align: center;
}

.masthead-text { min-width: 0; }

.reel {
  flex: none;
  width: 60px;
  height: 60px;
  animation: spin 4s linear infinite;
}
.reel-right { animation-direction: reverse; }

.wordart {
  display: inline-block;
  font-family: var(--font-loud);
  font-size: clamp(2rem, 7.5vw, 4.25rem);
  letter-spacing: 0.02em;
  line-height: 1;
  text-decoration: none;
  transform: perspective(400px) rotateX(12deg);
  filter: drop-shadow(3px 3px 0 #000080) drop-shadow(2px 2px 0 #000);
}
.wordart:visited,
.wordart:hover { color: inherit; }
.wordart-word { display: inline-block; white-space: nowrap; }
.wordart-word span {
  display: inline-block;
  background: linear-gradient(180deg, #fffb00 0%, #ffae00 45%, #ff3c00 55%, #ff00a8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-stroke: 1px #3a0030;
  animation: wave 1.6s ease-in-out infinite;
  animation-delay: calc(var(--i) * 0.08s);
}

.tagline {
  margin: 10px 0 0;
  color: var(--cyan);
  font-family: var(--font-fun);
  font-size: clamp(0.95rem, 2.6vw, 1.15rem);
  font-weight: 700;
  text-shadow: 2px 2px 0 #000;
}

/* ---------- Marquee ---------- */

.marquee {
  overflow: hidden;
  margin: 8px 0 12px;
  border: 2px solid;
  border-color: #808080 #fff #fff #808080;
  background: #000;
  color: var(--lime);
  font-family: var(--font-pixel);
  font-size: 1.35rem;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  padding: 2px 0;
  animation: marquee var(--duration, 30s) linear infinite;
}
.marquee-track span { padding-right: 2rem; white-space: pre; }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 6px 14px;
  border: 0;
  border-radius: 0;
  background: var(--silver);
  box-shadow: var(--bevel-out);
  color: #000 !important;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { background: #d4d4d4; }
.btn:active,
.btn.is-current {
  box-shadow: var(--bevel-in);
  padding: 7px 13px 5px 15px;
}
.btn.is-current { background: #d8d8d8; font-weight: 700; }
.btn-small { min-height: 32px; padding: 4px 10px; font-size: 0.85rem; }
.btn-small:active { padding: 5px 9px 3px 11px; }
.btn-big { min-height: 48px; padding: 10px 20px; font-size: 1.05rem; font-weight: 700; }
.btn-big:active { padding: 11px 19px 9px 21px; }
.btn-block { display: flex; width: 100%; margin: 6px 0; }
.btn-hot {
  background: linear-gradient(180deg, #fff873, #ffd700 60%, #f0b400);
  font-weight: 700;
}
.btn-hot:hover { background: linear-gradient(180deg, #fffbb0, #ffe44d 60%, #ffc400); }

.inline { display: inline; }

/* ---------- Nav ---------- */

.nav {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
  margin-bottom: 12px;
  padding: 6px;
  background: var(--silver);
  box-shadow: var(--bevel-out);
}
.nav-btn { font-weight: 700; white-space: nowrap; }
.nav-icon { font-size: 1.1rem; }

/* ---------- Preview banner ---------- */

.preview-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  margin: 0 0 12px;
  padding: 8px 12px;
  background: #ffd500;
  border: 3px solid;
  border-image: repeating-linear-gradient(-45deg, #ffd500 0 8px, #111 8px 16px) 3;
  font-size: 0.92rem;
}
.preview-banner > b { font-family: var(--font-loud); font-weight: 400; letter-spacing: 0.04em; }

/* ---------- Flash ---------- */

.flash {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 12px;
  padding: 10px 14px;
  background: #ffffe1;
  border: 1px solid #000;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.6);
  font-weight: 700;
}
.flash-icon { font-size: 1.3rem; line-height: 1; }
.flash-error { background: #ffe1e1; }

/* ---------- Layout ---------- */

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 14px;
  align-items: start;
}
.main { min-width: 0; }
.sidebar { min-width: 0; }

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}
.stack { min-width: 0; }

/* The login page has no sidebar. */
.layout-gate { grid-template-columns: minmax(0, 1fr); }

[hidden] { display: none !important; }

/* ---------- Together / solo markers ---------- */

.kind-badge {
  position: absolute;
  bottom: -8px;
  right: -8px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #000;
  font-size: 1.1rem;
}
.kind-tag {
  padding: 1px 6px;
  border: 1px solid #999;
  background: #f4f4f4;
  font-size: 0.75rem;
  white-space: nowrap;
}
.kind-line { margin: -6px 0 12px; font-weight: 700; color: #555; }
.check-big { padding: 8px 10px; background: #ffffe1; border: 1px dashed #000; }
.check-big input { width: 20px; height: 20px; flex: none; }

.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }

.solo-list { margin: 0 0 8px; padding: 0; list-style: none; }
.solo-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px dashed #aaa;
}
.solo-list li:last-child { border-bottom: 0; }
.solo-list a { overflow-wrap: anywhere; }

/* ---------- Win98 windows ---------- */

.win {
  margin: 0 0 14px;
  padding: 3px;
  background: var(--silver);
  box-shadow: var(--bevel-out), 5px 5px 0 rgba(0, 0, 0, 0.45);
}
.win-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 26px;
  padding: 3px 4px 3px 8px;
  background: var(--title-bar);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
}
.win-title > span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.win-btns { display: flex; flex: none; gap: 2px; }
.win-btns i {
  display: grid;
  place-items: center;
  width: 18px;
  height: 16px;
  background: var(--silver);
  box-shadow: var(--bevel-out);
  color: #000;
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}
.win-body {
  margin-top: 3px;
  padding: 14px;
  background: var(--paper);
  box-shadow: var(--field);
}
.win-body > :first-child { margin-top: 0; }
.win-body > :last-child { margin-bottom: 0; }

.sidebar .win-body { padding: 12px; }
.sidebar-body p { margin-top: 0; }
.welcome-back a { text-decoration: none; }

.section-title {
  margin: 20px 0 8px;
  font-family: var(--font-fun);
  font-size: 1.25rem;
  color: var(--navy);
}

.rainbow-text {
  margin: 0 0 10px;
  font-family: var(--font-fun);
  font-size: clamp(1.6rem, 5vw, 2.3rem);
  font-weight: 700;
  background: linear-gradient(90deg, #ff0000, #ff8a00, #e5d100, #00b300, #0066ff, #8a2be2, #ff00cc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(1px 1px 0 rgba(0, 0, 0, 0.35));
}

hr.rainbow {
  height: 4px;
  margin: 16px 0;
  border: 0;
  background: linear-gradient(90deg, #ff0000, #ff8a00, #ffe600, #00d100, #0066ff, #8a2be2, #ff00cc);
}

/* ---------- Home ---------- */

.welcome p { font-size: 1.02rem; }

.stat-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
  padding: 0;
  list-style: none;
}
.stat-strip li {
  padding: 4px 12px;
  background: #000;
  color: var(--lime);
  font-family: var(--font-pixel);
  font-size: 1.35rem;
  border: 2px solid;
  border-color: #808080 #fff #fff #808080;
}
.stat-strip b { color: var(--yellow); font-weight: 400; }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}

.updated { margin-top: 12px; color: #444; }

.top-list { margin: 0; padding: 0; list-style: none; }
.top-list li {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px;
  padding: 6px 0;
  border-bottom: 1px dashed #aaa;
}
.top-list li:last-child { border-bottom: 0; }
.top-rank { font-size: 1.2rem; text-align: center; font-weight: 700; }
.top-list a { font-weight: 700; overflow-wrap: anywhere; }
.top-score {
  padding: 0 6px;
  background: #000;
  color: var(--yellow);
  font-family: var(--font-pixel);
  font-size: 1.3rem;
}

.divisive-title { font-family: var(--font-loud); font-size: 1.5rem; margin: 4px 0; }

/* ---------- Posters ---------- */

.poster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 18px 14px;
}

.poster-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: #000 !important;
  text-align: center;
  text-decoration: none;
}
.poster-card:hover .poster-frame,
.poster-card:focus-visible .poster-frame {
  transform: rotate(-2deg) scale(1.03);
  box-shadow: var(--bevel-out), 0 0 0 3px var(--hot), 6px 6px 0 rgba(0, 0, 0, 0.5);
}

.poster-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 2 / 3;
  padding: 5px;
  background: var(--silver);
  box-shadow: var(--bevel-out), 4px 4px 0 rgba(0, 0, 0, 0.45);
  transition: transform 0.15s;
}
.poster-frame > img,
.poster-frame > .poster-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #222;
}
.poster-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  overflow: hidden;
  background:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.07) 0 10px, transparent 10px 20px),
    linear-gradient(160deg, hsl(var(--hue), 85%, 55%), hsl(calc(var(--hue) + 60), 80%, 22%)) !important;
  color: #fff;
  text-align: center;
  text-shadow: 2px 2px 0 #000;
}
.poster-placeholder.is-fallback { display: none; }
.poster-frame.img-failed > img { display: none; }
.poster-frame.img-failed > .poster-placeholder { display: flex; }
.ph-icon { font-size: 2rem; }
.ph-title {
  font-family: var(--font-loud);
  font-size: 1.2rem;
  line-height: 1.05;
  overflow-wrap: anywhere;
}
.ph-sub { font-family: var(--font-fun); font-size: 0.75rem; font-weight: 700; }

.poster-title { font-weight: 700; line-height: 1.2; overflow-wrap: anywhere; }
.poster-title small { font-weight: 400; }
.poster-meta { display: flex; flex-direction: column; align-items: center; gap: 2px; }

/* Bottle cap sticker with the crew score */
.burst {
  position: absolute;
  top: -12px;
  right: -12px;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  background:
    radial-gradient(circle at 38% 32%, rgba(255, 255, 255, 0.45) 0 12%, transparent 32%),
    radial-gradient(circle, #d4001f 0 56%, #7d0012 58% 61%, #f2c230 63% 100%);
  clip-path: polygon(100.0% 50.0%, 94.6% 55.9%, 98.3% 62.9%, 91.6% 67.2%, 93.3% 75.0%, 85.7% 77.4%, 85.4% 85.4%, 77.4% 85.7%, 75.0% 93.3%, 67.2% 91.6%, 62.9% 98.3%, 55.9% 94.6%, 50.0% 100.0%, 44.1% 94.6%, 37.1% 98.3%, 32.8% 91.6%, 25.0% 93.3%, 22.6% 85.7%, 14.6% 85.4%, 14.3% 77.4%, 6.7% 75.0%, 8.4% 67.2%, 1.7% 62.9%, 5.4% 55.9%, 0.0% 50.0%, 5.4% 44.1%, 1.7% 37.1%, 8.4% 32.8%, 6.7% 25.0%, 14.3% 22.6%, 14.6% 14.6%, 22.6% 14.3%, 25.0% 6.7%, 32.8% 8.4%, 37.1% 1.7%, 44.1% 5.4%, 50.0% 0.0%, 55.9% 5.4%, 62.9% 1.7%, 67.2% 8.4%, 75.0% 6.7%, 77.4% 14.3%, 85.4% 14.6%, 85.7% 22.6%, 93.3% 25.0%, 91.6% 32.8%, 98.3% 37.1%, 94.6% 44.1%);
  transform: rotate(12deg);
  animation: throb 1.8s ease-in-out infinite;
}
.burst span {
  color: #fff;
  font-family: var(--font-loud);
  font-size: 1.2rem;
  line-height: 1;
  text-shadow: 1px 1px 0 #000;
}
.burst-big {
  position: static;
  flex: none;
  width: 96px;
  height: 96px;
}
.burst-big span { font-size: 1.9rem; }

.new-badge {
  position: absolute;
  bottom: 12px;
  left: -6px;
  padding: 2px 8px;
  background: #ff0000;
  color: var(--yellow);
  font-family: var(--font-loud);
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  transform: rotate(-8deg);
  box-shadow: 2px 2px 0 #000;
  animation: blink 1s steps(1) infinite;
}
.inline-badge { position: static; display: inline-block; font-size: 0.75rem; }

/* ---------- Ratings: five longnecks, filled from the bottom ---------- */

.stars { display: inline-flex; align-items: flex-end; gap: 2px; font-size: 1.05rem; line-height: 1; white-space: nowrap; vertical-align: -3px; }
.star {
  display: inline-block;
  width: 0.5em;
  height: 1.4em;
  -webkit-mask: url('/img/bottle.svg') center / contain no-repeat;
  mask: url('/img/bottle.svg') center / contain no-repeat;
  background: rgba(120, 120, 120, 0.35);
}
.star-full { background: linear-gradient(90deg, #6b3507, #c47114 45%, #f0a63b 60%, #7a3d08); }
.star-half { background: linear-gradient(0deg, #c47114 0 50%, rgba(120, 120, 120, 0.35) 50%); }

/* ---------- Toolbar & forms ---------- */

.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 8px 12px;
  margin: 12px 0 18px;
  padding: 10px;
  background: var(--silver);
  box-shadow: var(--bevel-out);
}
.toolbar-add { margin-left: auto; }
.field-inline { display: flex; align-items: center; gap: 6px; font-weight: 700; }
.field-inline.grow { flex: 1 1 260px; }
.field-inline.grow input { flex: 1; }

.form { max-width: 720px; }
.form.narrow { max-width: 420px; }
.field { display: flex; flex-direction: column; gap: 4px; margin-bottom: 14px; }
.field > span { font-weight: 700; font-size: 0.92rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

input[type='text'],
input[type='search'],
input[type='url'],
input[type='password'],
input[type='date'],
select,
textarea {
  width: 100%;
  min-height: 40px;
  padding: 7px 8px;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: var(--field);
  color: #000;
  font-family: var(--font-ui);
  font-size: 16px; /* 16px stops iOS from zooming into fields */
}
.field-inline input,
.field-inline select { width: auto; }
textarea { resize: vertical; line-height: 1.4; }
input[type='file'] { font-size: 0.9rem; max-width: 100%; }
select { -webkit-appearance: menulist; appearance: auto; }

.check { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }

.error-box {
  margin: 0 0 14px;
  padding: 10px 14px;
  background: #ffe1e1;
  border: 2px solid #c00;
}
.error-box ul { margin: 6px 0 0; padding-left: 20px; }
.error-text { color: #b00000; font-weight: 700; }
.notice { padding: 8px 12px; background: #ffffe1; border: 1px dashed #000; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

fieldset { margin: 0 0 16px; padding: 10px 12px 12px; border: 2px groove #fff; }
legend { padding: 0 4px; font-weight: 700; }

/* Rating picker: 11 chunky buttons */
.rating-grid { display: grid; grid-template-columns: repeat(11, 1fr); gap: 4px; }
.rating-opt { position: relative; }
.rating-opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.rating-opt span {
  display: grid;
  place-items: center;
  min-height: 44px;
  background: var(--silver);
  box-shadow: var(--bevel-out);
  font-family: var(--font-loud);
  font-size: 1.25rem;
  cursor: pointer;
}
.rating-opt input:checked + span {
  background: var(--yellow);
  box-shadow: var(--bevel-in);
  color: #e00000;
}
.rating-opt input:focus-visible + span { outline: 2px dotted #000; outline-offset: 2px; }
.rating-readout { min-height: 1.6em; margin: 10px 0 0; font-weight: 700; }

.movie-form-grid { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 18px; align-items: start; }
.poster-preview-col .poster-frame { max-width: 180px; }

/* ---------- Movie detail ---------- */

.movie-detail { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 22px; align-items: start; }
.poster-big { max-width: 260px; margin: 0 auto; }
.movie-title {
  margin: 0 0 12px;
  font-family: var(--font-loud);
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  font-weight: 400;
  color: var(--navy);
  text-shadow: 2px 2px 0 var(--gold);
  overflow-wrap: anywhere;
}
.movie-title small { font-size: 0.6em; color: #333; text-shadow: none; }

.crew-score { display: flex; align-items: center; gap: 14px; margin: 0 0 12px; }
.crew-score-label { font-family: var(--font-loud); letter-spacing: 0.08em; color: #c00; }
.crew-score .stars { font-size: 1.6rem; }
.rating-label { font-family: var(--font-fun); font-weight: 700; color: #b0008c; }

.facts { border-collapse: collapse; margin: 0 0 8px; }
.facts th, .facts td { padding: 4px 12px 4px 0; text-align: left; vertical-align: top; }
.facts th { color: #555; font-weight: 700; white-space: nowrap; }
.overview { margin: 0; white-space: pre-line; }

.pulse { animation: pulse 1.2s ease-in-out infinite; }

/* "Where everybody landed" unit chart */
.landing-chart {
  display: grid;
  grid-template-columns: repeat(11, minmax(0, 1fr));
  align-items: end;
  gap: 2px;
  padding: 8px 0 0;
}
.landing-col { display: flex; flex-direction: column; align-items: center; }
.landing-stack {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  justify-content: flex-start;
  gap: 2px;
  min-height: 40px;
  width: 100%;
  padding-bottom: 4px;
}
.landing-dot {
  display: grid;
  place-items: center;
  width: 34px;
  max-width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #ffffe1;
  border: 2px solid var(--navy);
  font-size: 1.1rem;
  text-decoration: none;
}
.landing-axis {
  width: 100%;
  padding-top: 2px;
  border-top: 2px solid #000;
  font-family: var(--font-pixel);
  font-size: 1.2rem;
  text-align: center;
}

.waiting { margin-top: 18px; padding-top: 4px; border-top: 2px dashed #aaa; }
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 34px;
  padding: 4px 10px;
  background: var(--silver);
  box-shadow: var(--bevel-out);
  color: #000 !important;
  text-decoration: none;
}

/* ---------- Reviews ---------- */

.review-list { display: flex; flex-direction: column; gap: 12px; }
.review {
  display: flex;
  gap: 12px;
  padding: 12px;
  background: #fffff0;
  border: 2px solid;
  border-color: #fff #808080 #808080 #fff;
  outline: 1px solid #b8b8b8;
  scroll-margin-top: 12px;
}
.review:nth-child(even) { background: #f0f7ff; }
.review.is-mine { outline: 2px dashed var(--hot); }
.review:target { outline: 3px solid var(--hot); }
.review-thumb { flex: none; width: 72px; }
.poster-mini { padding: 3px; box-shadow: var(--bevel-out); }
.poster-mini .ph-icon { font-size: 1.2rem; }
.poster-mini .ph-title { font-size: 0.7rem; }
.poster-mini .ph-sub { display: none; }
.review-main { flex: 1; min-width: 0; }
.review-head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.who { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.review-movie { font-weight: 700; overflow-wrap: anywhere; }
.review-rating { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 6px 0; }
.score { font-family: var(--font-pixel); font-size: 1.35rem; font-weight: 400; line-height: 1; }
.review-headline { margin: 6px 0 4px; font-family: var(--font-fun); font-size: 1.15rem; overflow-wrap: anywhere; }
.review-body { margin: 4px 0; white-space: pre-line; overflow-wrap: anywhere; }
.review-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 8px; color: #555; }

.review-form-wrap { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 20px; align-items: start; }
.review-form-poster { display: block; }
.delete-form { margin-top: 18px; padding-top: 12px; border-top: 1px dashed #aaa; }

.pager { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 18px; }

/* ---------- Avatars ---------- */

.avatar {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  background: #ffffe1;
  box-shadow: var(--bevel-in);
  font-size: 1.5rem;
  line-height: 1;
}
.avatar-sm { width: 30px; height: 30px; font-size: 1.1rem; }
.avatar-lg { width: 64px; height: 64px; font-size: 2.4rem; }
.avatar-xl { width: 110px; height: 110px; font-size: 4.2rem; }

/* ---------- Crew ---------- */

.crew-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.crew-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 14px 10px;
  background: linear-gradient(180deg, #fffbe0, #ffe98a);
  border: 3px double #000;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.45);
  color: #000 !important;
  text-align: center;
  text-decoration: none;
  transition: transform 0.15s;
}
.crew-card:hover { transform: rotate(-1.5deg) scale(1.02); }
.crew-name { font-family: var(--font-fun); font-size: 1.25rem; font-weight: 700; overflow-wrap: anywhere; }
.crew-stats { display: flex; flex-direction: column; align-items: center; gap: 2px; margin-top: 4px; }
.crew-type { margin-top: 4px; font-weight: 700; color: #7a004f; }

.awards { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.award {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 12px 8px;
  background: #000;
  border: 3px ridge var(--gold);
  color: #fff !important;
  text-align: center;
  text-decoration: none;
}
.award-icon { font-size: 2.2rem; }
.award-name { font-family: var(--font-loud); font-size: 1.15rem; color: var(--gold); letter-spacing: 0.04em; }
.award-who { font-family: var(--font-fun); font-weight: 700; font-size: 1.1rem; }

/* ---------- Profile ---------- */

.profile-hello {
  margin: 0 0 16px;
  font-family: var(--font-fun);
  font-size: clamp(1.5rem, 5vw, 2.2rem);
  text-align: center;
  color: var(--hot);
  text-shadow: 2px 2px 0 #000, 0 0 12px rgba(255, 0, 204, 0.5);
  animation: glow 2s ease-in-out infinite;
}
.profile-top { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 20px; align-items: start; }
.profile-id { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.profile-name { font-family: var(--font-loud); font-size: 1.5rem; overflow-wrap: anywhere; }
.profile-about .section-title:first-child { margin-top: 0; }
.bio { white-space: pre-line; overflow-wrap: anywhere; }
.webmaster { color: #c00; font-weight: 700; }

.report-card { width: 100%; border-collapse: collapse; border: 2px solid #000; }
.report-card th,
.report-card td { padding: 8px 10px; border: 1px solid #999; text-align: left; vertical-align: middle; }
.report-card th { width: 42%; background: #e6e6ff; }
.report-card tr:nth-child(even) td { background: #f7f7f7; }

.habits { display: flex; flex-direction: column; gap: 22px; }
.histogram-fig { margin: 0; }
.histogram-fig figcaption { margin-bottom: 8px; }
.histogram {
  display: grid;
  grid-template-columns: repeat(11, minmax(0, 1fr));
  gap: 2px;
  height: 180px;
  padding: 0 2px;
  background: repeating-linear-gradient(0deg, transparent 0 35px, #eee 35px 36px);
}
.histo-col { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; min-width: 0; height: 100%; }
.histo-count { font-family: var(--font-pixel); font-size: 1.15rem; line-height: 1; min-height: 1.1em; }
.histo-bar {
  width: 70%;
  max-width: 34px;
  min-height: 0;
  background: var(--navy);
  border-radius: 4px 4px 0 0;
}
.histo-axis {
  width: 100%;
  border-top: 2px solid #000;
  font-family: var(--font-pixel);
  font-size: 1.15rem;
  text-align: center;
}

.meter-block { display: flex; flex-direction: column; gap: 6px; }
.meter {
  position: relative;
  height: 26px;
  box-shadow: var(--field);
  background: #fff;
}
.meter-diverging {
  background: linear-gradient(90deg, #d9480f 0%, #f4a261 25%, #bdbdbd 50%, #74a9e8 75%, #1c5fc4 100%);
}
.meter-mid { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: #000; }
.meter-marker {
  position: absolute;
  top: 50%;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #ffffe1;
  border: 2px solid #000;
  font-size: 1.1rem;
  transform: translate(-50%, -50%);
}
.meter-heat { padding: 3px; }
.meter-fill {
  display: block;
  height: 100%;
  background: repeating-linear-gradient(90deg, #d9480f 0 10px, #e8590c 10px 12px);
}
.meter-scale { display: flex; justify-content: space-between; gap: 8px; }

.avatar-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); gap: 6px; }
.avatar-opt,
.theme-opt { position: relative; cursor: pointer; }
.avatar-opt input,
.theme-opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.avatar-opt span {
  display: grid;
  place-items: center;
  height: 52px;
  background: var(--silver);
  box-shadow: var(--bevel-out);
  font-size: 1.8rem;
}
.avatar-opt input:checked + span { background: var(--yellow); box-shadow: var(--bevel-in); }
.avatar-opt input:focus-visible + span,
.theme-opt input:focus-visible ~ .theme-swatch { outline: 2px dotted #000; outline-offset: 2px; }

.theme-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.theme-opt { display: flex; flex-direction: column; gap: 4px; align-items: stretch; text-align: center; font-size: 0.85rem; }
.theme-swatch { display: block; height: 56px; border: 3px solid var(--silver); box-shadow: 0 0 0 1px #000; }
.theme-opt input:checked ~ .theme-swatch { border-color: var(--hot); box-shadow: 0 0 0 2px #000; }
.theme-opt input:checked ~ .theme-name { font-weight: 700; }

/* ---------- Dialogs (login etc.) ---------- */

.dialog { max-width: 560px; margin-left: auto; margin-right: auto; }
.dialog-wide { max-width: 680px; }

/* Issued-login "ticket" on the admin page */
.ticket {
  margin: 0 0 14px;
  padding: 14px;
  background: repeating-linear-gradient(-45deg, #fffbe0 0 12px, #fff3b8 12px 24px);
  border: 3px dashed #000;
}
.ticket-creds { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin: 8px 0 12px; }
.ticket-creds dt { font-weight: 700; }
.ticket-creds dd { margin: 0; font-family: var(--font-pixel); font-size: 1.5rem; line-height: 1.1; word-break: break-all; }
.ticket textarea { font-size: 15px; }
.pending { color: #b05a00; font-weight: 700; }
.login-details { margin-top: 6px; }
.login-details summary { list-style: none; }
.login-details summary::-webkit-details-marker { display: none; }
.login-details[open] { padding: 8px; background: #fffbe0; border: 2px dashed #000; }
.login-details[open] summary { margin-bottom: 6px; }
.login-details .ticket-creds dd { font-size: 1.25rem; }
.login-details textarea { min-width: 220px; margin-bottom: 6px; }
.dialog-row { display: flex; gap: 16px; align-items: flex-start; }
.dialog-icon { font-size: 3rem; line-height: 1; }
.dialog-main { flex: 1; min-width: 0; }
.dialog-heading { margin: 0 0 8px; font-family: var(--font-fun); font-size: 1.6rem; color: var(--navy); }

/* ---------- Guestbook ---------- */

.guestbook-list { display: flex; flex-direction: column; gap: 10px; }
.gb-entry {
  padding: 10px 12px;
  background: #fffbe8;
  border: 2px dotted #7a004f;
}
.gb-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 10px; font-family: var(--font-fun); }
.gb-name { font-weight: 700; }
.gb-message { margin: 6px 0; white-space: pre-line; overflow-wrap: anywhere; }

/* ---------- Admin ---------- */

.table-scroll { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th,
.admin-table td { padding: 8px; border: 1px solid #999; text-align: left; vertical-align: middle; }
.admin-table th { background: #e6e6ff; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 6px; }

/* ---------- Construction ---------- */

.construction {
  margin: 8px 0 14px;
  padding: 10px;
  background: repeating-linear-gradient(-45deg, #ffd500 0 18px, #111 18px 36px);
  text-align: center;
}
.construction span {
  display: inline-block;
  padding: 4px 12px;
  background: #ffd500;
  border: 2px solid #111;
  font-family: var(--font-loud);
  font-size: 1.1rem;
  letter-spacing: 0.04em;
}

/* ---------- Sidebar goodies ---------- */

.hit-counter {
  display: inline-flex;
  gap: 2px;
  padding: 4px;
  background: #222;
  border: 2px solid;
  border-color: #808080 #fff #fff #808080;
}
.hit-counter span {
  display: grid;
  place-items: center;
  width: 20px;
  height: 30px;
  background: linear-gradient(180deg, #000 0 48%, #1a1a1a 48% 52%, #000 52%);
  color: #ff3b3b;
  font-family: var(--font-pixel);
  font-size: 1.6rem;
  text-shadow: 0 0 6px #ff0000;
}

.badges { display: grid; grid-template-columns: repeat(auto-fill, 88px); justify-content: center; gap: 6px; }
.badge88 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 31px;
  border: 1px solid #000;
  font-family: Verdana, sans-serif;
  font-size: 9px;
  line-height: 1.05;
  text-align: center;
  text-transform: uppercase;
}
.badge88 b { font-size: 11px; }
.b-netscape { background: linear-gradient(180deg, #003 0, #006 100%); color: #fff; }
.b-netscape b { color: #7fd7ff; }
.b-notepad { background: #fff; color: #000; }
.b-notepad b { color: #0000aa; }
.b-y2k { background: #000; color: var(--lime); }
.b-popcorn { background: #d00; color: #fff; }
.b-popcorn b { color: var(--yellow); }
.b-html { background: linear-gradient(180deg, #ff8c00, #ff4500); color: #fff; }
.b-modem { background: #ccc; color: #000; }

/* ---------- Footer ---------- */

.footer {
  margin-top: 8px;
  padding: 16px;
  color: #fff;
  text-align: center;
  text-shadow: 1px 1px 0 #000;
}
.footer a:not(.btn) { color: var(--cyan); }
.footer p { margin: 8px 0; }
.webring {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 12px;
  padding: 10px;
  background: rgba(0, 0, 0, 0.6);
  border: 2px ridge var(--silver);
}
.best-viewed { font-family: var(--font-fun); font-weight: 700; color: var(--yellow); }
.mobile-only { display: none; }
.tmdb-note { color: #ccc; }

/* ---------- "Get the app" sheet ---------- */

.install-sheet {
  position: fixed;
  left: 8px;
  right: 8px;
  bottom: calc(8px + env(safe-area-inset-bottom, 0px));
  z-index: 1000;
  max-width: 480px;
  margin: 0 auto;
  animation: slide-up 0.35s ease-out;
}
.install-sheet .win { margin: 0; box-shadow: var(--bevel-out), 0 0 0 2px #000, 6px 6px 0 rgba(0, 0, 0, 0.6); }
.win-close {
  display: grid;
  place-items: center;
  width: 28px;
  height: 24px;
  padding: 0;
  border: 0;
  background: var(--silver);
  box-shadow: var(--bevel-out);
  color: #000;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}
.install-row { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.install-row img { flex: none; border-radius: 14px; box-shadow: 2px 2px 0 #000; }
.install-row p { margin: 4px 0 0; }
.install-steps { margin: 0 0 12px; padding-left: 22px; }
.install-steps li { margin-bottom: 6px; }
.ios-share { display: inline-block; vertical-align: -3px; color: #0a60ff; }
.install-sheet [data-install-mode] { margin: 0 0 12px; }

@keyframes slide-up { from { transform: translateY(120%); } to { transform: translateY(0); } }

/* ---------- Animations ---------- */

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes wave { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes blink { 50% { visibility: hidden; } }
@keyframes blink-slow { 0%, 60% { opacity: 1; } 80% { opacity: 0.15; } 100% { opacity: 1; } }
@keyframes throb { 0%, 100% { transform: rotate(12deg) scale(1); } 50% { transform: rotate(12deg) scale(1.1); } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
@keyframes glow { 0%, 100% { color: #ff00cc; } 50% { color: #ff66e0; } }
@keyframes sparkle-fall {
  from { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(0); }
  to { opacity: 0; transform: translate(-50%, 20px) scale(0.3) rotate(180deg); }
}

.blink { animation: blink 1s steps(1) infinite; }
.blink-slow { animation: blink-slow 2.4s ease-in-out infinite; }

.sparkle {
  position: fixed;
  z-index: 9999;
  pointer-events: none;
  font-size: 14px;
  animation: sparkle-fall 0.9s ease-out forwards;
}

/* ---------- Profile themes ---------- */

body.theme-flames {
  background-color: #000;
  background-image:
    radial-gradient(ellipse at 50% 120%, rgba(255, 60, 0, 0.95) 0%, rgba(255, 120, 0, 0.6) 30%, transparent 62%),
    url('/img/flames.svg');
  background-size: 100% 100%, 160px 240px;
  background-position: center bottom, center bottom;
  background-repeat: no-repeat, repeat-x;
}
body.theme-hacker {
  background-color: #000;
  background-image:
    repeating-linear-gradient(0deg, rgba(0, 255, 70, 0.08) 0 2px, transparent 2px 4px),
    url('/img/matrix.svg');
  background-size: auto, 240px 240px;
}
body.theme-bubblegum {
  background-color: #ff8fd2;
  background-image:
    radial-gradient(circle, #ffd1ef 0 7px, transparent 8px),
    radial-gradient(circle, #ffd1ef 0 7px, transparent 8px);
  background-size: 44px 44px;
  background-position: 0 0, 22px 22px;
}
body.theme-ocean {
  background-color: #003e7e;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.35) 0 5px, transparent 6px),
    radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.25) 0 9px, transparent 10px),
    radial-gradient(circle at 40% 85%, rgba(255, 255, 255, 0.3) 0 3px, transparent 4px),
    linear-gradient(180deg, #0077be 0%, #002e5d 100%);
  background-size: 120px 160px, 180px 200px, 90px 110px, 100% 100%;
}
body.theme-clouds {
  background-color: #3a8ee6;
  background-image: url('/img/clouds.svg');
  background-size: 480px 320px;
}
body.theme-construction {
  background-color: #ffd500;
  background-image: repeating-linear-gradient(-45deg, #ffd500 0 40px, #111 40px 80px);
}
body.theme-checkers {
  background-color: #fff;
  background-image:
    linear-gradient(45deg, #000 25%, transparent 25%, transparent 75%, #000 75%),
    linear-gradient(45deg, #000 25%, transparent 25%, transparent 75%, #000 75%);
  background-size: 60px 60px;
  background-position: 0 0, 30px 30px;
}

/* Swatches for the theme picker reuse the same backgrounds, scaled down. */
.theme-swatch.theme-space { background: #000010 url('/img/stars.svg'); background-size: 150px; }
.theme-swatch.theme-flames { background: linear-gradient(0deg, #ff3c00, #ff9800 35%, #000 80%); }
.theme-swatch.theme-hacker { background: #000 url('/img/matrix.svg'); background-size: 120px; }
.theme-swatch.theme-bubblegum { background: #ff8fd2 radial-gradient(circle, #ffd1ef 0 4px, transparent 5px); background-size: 20px 20px; }
.theme-swatch.theme-ocean { background: linear-gradient(180deg, #0077be, #002e5d); }
.theme-swatch.theme-clouds { background: #3a8ee6 url('/img/clouds.svg'); background-size: 240px 160px; }
.theme-swatch.theme-construction { background: repeating-linear-gradient(-45deg, #ffd500 0 10px, #111 10px 20px); }
.theme-swatch.theme-checkers {
  background-color: #fff;
  background-image:
    linear-gradient(45deg, #000 25%, transparent 25%, transparent 75%, #000 75%),
    linear-gradient(45deg, #000 25%, transparent 25%, transparent 75%, #000 75%);
  background-size: 20px 20px;
  background-position: 0 0, 10px 10px;
}

/* Light backgrounds need dark footer text. */
body.theme-bubblegum .footer,
body.theme-construction .footer,
body.theme-checkers .footer,
body.theme-clouds .footer { color: #fff; }
body.theme-bubblegum .footer p,
body.theme-construction .footer p,
body.theme-checkers .footer p { background: rgba(0, 0, 0, 0.75); display: inline-block; padding: 2px 8px; }
body.theme-bubblegum .footer p:has(.btn),
body.theme-construction .footer p:has(.btn),
body.theme-checkers .footer p:has(.btn) { background: none; }
body.theme-bubblegum .tagline,
body.theme-construction .tagline,
body.theme-checkers .tagline,
body.theme-clouds .tagline {
  display: inline-block;
  padding: 2px 10px;
  background: rgba(0, 0, 0, 0.75);
}

/* ---------- Blue screen of death (500 page) ---------- */

body.bsod {
  display: grid;
  place-items: center;
  padding: 16px;
  background: #0000aa;
  color: #fff;
  font-family: var(--font-pixel), 'Courier New', monospace;
  font-size: 1.35rem;
}
.bsod-box { max-width: 640px; }
.bsod-title {
  width: fit-content;
  margin: 0 auto 24px;
  padding: 0 8px;
  background: #aaa;
  color: #0000aa;
}
.bsod a { color: #fff; }
.bsod-press { text-align: center; margin-top: 32px; }

/* ==========================================================================
   Responsive: tablets and phones
   ========================================================================== */

@media (max-width: 900px) {
  .layout { grid-template-columns: 1fr; }
  .sidebar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 0 14px;
  }
  .two-col { grid-template-columns: 1fr; }
  .nav { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  .page { padding: 8px 8px 24px; }
  .masthead { gap: 6px; padding-top: 10px; }
  .reel { width: 38px; height: 38px; }
  .marquee { font-size: 1.15rem; }
  .nav { gap: 4px; padding: 4px; }
  .nav-btn { flex-direction: column; gap: 2px; min-height: 52px; padding: 4px 2px; font-size: 0.8rem; }
  .nav-btn.is-current { padding: 5px 1px 3px 3px; }
  .nav-icon { font-size: 1.3rem; }

  .win { box-shadow: var(--bevel-out), 3px 3px 0 rgba(0, 0, 0, 0.45); }
  .win-body { padding: 12px 10px; }

  .poster-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
  .burst { width: 50px; height: 50px; top: -10px; right: -8px; }
  .burst span { font-size: 1.05rem; }

  .toolbar { flex-direction: column; align-items: stretch; }
  .field-inline { justify-content: space-between; }
  .field-inline input,
  .field-inline select { flex: 1; width: 100%; }
  .toolbar-add { margin-left: 0; }

  .movie-detail,
  .review-form-wrap,
  .profile-top,
  .movie-form-grid { grid-template-columns: 1fr; }
  .poster-big { max-width: 220px; }
  .review-form-poster { display: none; }
  .poster-preview-col .poster-frame { max-width: 140px; margin: 0 auto; }
  .crew-score { justify-content: flex-start; }
  .field-row { grid-template-columns: 1fr; gap: 0; }

  .rating-grid { grid-template-columns: repeat(6, 1fr); }
  .rating-opt span { min-height: 48px; }

  .awards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .award { padding: 10px 6px; }
  .award-icon { font-size: 1.8rem; }
  .award-name { font-size: 1rem; }
  .award-who { font-size: 1rem; }

  .review { padding: 10px; gap: 10px; }
  .review-thumb { width: 56px; }

  .histogram { height: 150px; }
  .landing-dot { width: 26px; font-size: 0.85rem; border-width: 1px; }
  .landing-axis,
  .histo-axis,
  .histo-count { font-size: 1rem; }

  .report-card th { width: 45%; font-size: 0.9rem; }
  .dialog-row { flex-direction: column; align-items: center; text-align: left; }
  .dialog-row .dialog-icon { font-size: 2.4rem; }
  .dialog-main { width: 100%; }
  .cta-row .btn-big { flex: 1 1 auto; }

  /* Admin members list: one card per member instead of a cramped table. */
  .admin-table thead { display: none; }
  .admin-table tr { display: block; margin-bottom: 10px; border: 2px solid #999; }
  .admin-table td { display: block; border: 0; border-bottom: 1px dashed #ccc; }
  .admin-table td:last-child { border-bottom: 0; }
  .login-details .ticket-creds dd { white-space: nowrap; word-break: normal; font-size: 1.15rem; }
  .login-details textarea { min-width: 0; }

  .desktop-only { display: none; }
  .mobile-only { display: inline; }
}

@media (max-width: 380px) {
  .poster-grid { gap: 16px 10px; }
  .nav-btn { font-size: 0.72rem; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition: none !important;
  }
  .marquee-track { animation: none; }
  .marquee { white-space: normal; }
  .marquee-track span[aria-hidden] { display: none; }
}
