/* ==========================================================================
   theMILFreviews — "Nightmare" look (v2)
   Movies I'd Like to Fear
   --------------------------------------------------------------------------
   Palette from the logo + banner:
     --blood   #E3120B  "MILF" lettering, fresh
     --gore    #9E0E0A  darker blood
     --clot    #4A0606  dried blood, glows
     --bone    #EDE3CC  "Reviews.com" lettering, film-strip whites
     --paper   #D8C9A6  aged paper the critics write on
     --void    #050303  the dark the banner floats in
   Type: Creepster (dripping horror titles), Oswald (grindhouse poster caps),
   Special Elite (typewriter: case files, labels, dates), Crimson Pro (reading).
   Atmosphere: drifting red fog, film grain, vignette, flickering logo,
   dripping header, crime-scene tape dividers, VHS-box posters, blood-
   splatter scores, toe-tag rankings, burned paper speech bubbles.
   All motion stops under prefers-reduced-motion.
   The previous "classic" look is saved in Backups\look-v1-classic.
   ========================================================================== */

:root {
  --blood: #E3120B;
  --blood-hi: #FF3B2F;
  --gore: #9E0E0A;
  --clot: #4A0606;
  --bone: #EDE3CC;
  --bone-dim: #B5A88E;
  --ash: #7A6F62;
  --paper: #D8C9A6;
  --paper-dark: #B9A57C;
  --ink: #1C0F0C;
  --board: #110B0A;
  --board-2: #1A1110;
  --board-3: #261816;
  --void: #050303;

  --line: rgba(237, 227, 204, 0.10);
  --line-strong: rgba(237, 227, 204, 0.22);

  --f-horror: "Creepster", "Chiller", fantasy;
  --f-caps: "Oswald", "Impact", "Arial Narrow", sans-serif;
  --f-type: "Special Elite", "Courier New", monospace;
  --f-read: "Crimson Pro", Georgia, serif;

  --radius: 6px;
  --wrap: 1240px;
  --shadow: 0 16px 50px rgba(0, 0, 0, 0.75);

  /* Blood splatter used as a mask for scores and stains */
  --splat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 9c5 0 6 9 10 10s9-7 13-4-2 10 1 13 12 0 13 5-8 7-7 11 10 8 7 12-11-1-13 3 3 11-1 14-9-4-12-1-2 11-7 12-6-9-10-9-8 9-12 6 0-10-3-13-12 3-14-1 7-9 5-13-12-4-11-9 10-4 11-8-5-10-2-13 10 3 13 0 1-11 6-12 7 7 11 7 3-10 8-10z'/%3E%3Ccircle cx='90' cy='18' r='4'/%3E%3Ccircle cx='9' cy='84' r='3.5'/%3E%3Ccircle cx='94' cy='72' r='2.5'/%3E%3Ccircle cx='14' cy='12' r='2.5'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { overflow-x: clip; }
body {
  margin: 0;
  background: var(--void);
  color: var(--bone);
  font: 400 18px/1.55 var(--f-read);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}
body > header, body > main, body > footer { position: relative; z-index: 1; }

/* ── Atmosphere layers ────────────────────────────────────────────────── */
.fx { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.fx-fog {
  position: absolute; left: -50%; width: 200%; height: 70vh; bottom: -15vh; opacity: .55;
  background:
    radial-gradient(ellipse 30% 40% at 20% 60%, rgba(120, 10, 8, .45), transparent 70%),
    radial-gradient(ellipse 25% 35% at 55% 70%, rgba(160, 20, 12, .30), transparent 70%),
    radial-gradient(ellipse 35% 45% at 85% 55%, rgba(90, 8, 6, .40), transparent 70%);
  filter: blur(30px);
  animation: fogDrift 60s linear infinite;
}
.fx-fog-2 { bottom: auto; top: -20vh; height: 60vh; opacity: .35; animation-duration: 90s; animation-direction: reverse;
  background:
    radial-gradient(ellipse 30% 40% at 30% 40%, rgba(200, 190, 170, .07), transparent 70%),
    radial-gradient(ellipse 30% 40% at 75% 50%, rgba(140, 15, 10, .25), transparent 70%); }
@keyframes fogDrift { from { transform: translateX(0); } to { transform: translateX(25%); } }
.fx-grain {
  position: absolute; inset: -100px; opacity: .11; mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-30px, 20px); } 40% { transform: translate(20px, -40px); }
  60% { transform: translate(-50px, -10px); } 80% { transform: translate(40px, 30px); } 100% { transform: translate(0, 0); }
}
.fx-vignette { position: absolute; inset: 0; background: radial-gradient(ellipse 85% 75% at 50% 45%, transparent 55%, rgba(0,0,0,.85) 100%); }

a { color: var(--bone); text-decoration-color: rgba(227, 18, 11, .7); text-underline-offset: 3px; }
a:hover { color: var(--blood-hi); }
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; line-height: 1.05; font-weight: 400; }
h1 {
  font: 400 clamp(2.6rem, 5vw, 4.2rem)/1 var(--f-horror); letter-spacing: .02em; color: var(--blood);
  text-shadow: 0 0 18px rgba(227, 18, 11, .45), 0 3px 0 #000;
}
p { margin: 0 0 1em; }
.muted { color: var(--bone-dim); }
.small { font-size: .85rem; }
.lede { font: italic 400 1.35rem/1.5 var(--f-read); color: var(--bone-dim); }
.label, .kicker { font: 400 .85rem/1.2 var(--f-type); letter-spacing: .18em; text-transform: uppercase; color: var(--blood-hi); }
.label { margin: 0 0 .9rem; }
code { background: var(--board-3); padding: 2px 6px; border-radius: 4px; font-family: var(--f-type); }

.wrap { width: min(var(--wrap), 100% - 32px); margin: 0 auto; }
.wrap.narrow { width: min(780px, 100% - 32px); }
main.page { flex: 1; padding-bottom: 80px; }
main.page > .wrap:first-of-type, main.page > .flashes + .wrap { padding-top: 40px; }
section { margin-top: 56px; }
section.masthead, section.feature, section.movie-hero, section.band { margin-top: 0; }

/* ── Header ───────────────────────────────────────────────────────────── */
.topbar { position: sticky; top: 0; z-index: 50; background: linear-gradient(#000 70%, rgba(0,0,0,.92)); border-bottom: 3px solid var(--gore); box-shadow: 0 6px 30px rgba(227, 18, 11, .18); }
.topbar-inner { width: min(1400px, 100% - 32px); margin: 0 auto; display: flex; align-items: center; gap: 24px; min-height: 84px; }
/* Neon sign: steady glow most of the time, then the tubes stutter like a
   failing sign. Brightness + glow dim together (a dying tube), never a
   fade to nothing, so it reads as light rather than a blinking image. */
.brand img { height: 70px; width: auto; animation: neon 9s infinite; filter: brightness(1.05) drop-shadow(0 0 6px rgba(255,40,30,.75)) drop-shadow(0 0 18px rgba(227,18,11,.55)); }
@keyframes neon {
  0%, 9%, 11.5%, 13%, 61%, 63.5%, 66%, 100% {
    filter: brightness(1.05) drop-shadow(0 0 6px rgba(255,40,30,.75)) drop-shadow(0 0 18px rgba(227,18,11,.55)); }
  10%, 12%, 62%, 64.5% {
    filter: brightness(.38) saturate(.7) drop-shadow(0 0 0 rgba(0,0,0,0)); }
  10.6% { filter: brightness(.8) drop-shadow(0 0 4px rgba(255,40,30,.4)); }
  65% { filter: brightness(.55) drop-shadow(0 0 2px rgba(255,40,30,.25)); }
  /* a slow brown-out every cycle, like the power sagging */
  36% { filter: brightness(1.05) drop-shadow(0 0 6px rgba(255,40,30,.75)) drop-shadow(0 0 18px rgba(227,18,11,.55)); }
  40% { filter: brightness(.78) drop-shadow(0 0 4px rgba(255,40,30,.45)) drop-shadow(0 0 10px rgba(227,18,11,.3)); }
  44% { filter: brightness(1.05) drop-shadow(0 0 6px rgba(255,40,30,.75)) drop-shadow(0 0 18px rgba(227,18,11,.55)); }
}
@keyframes flicker {
  0%, 18%, 22%, 25%, 53%, 57%, 100% { opacity: 1; }
  20%, 24%, 55% { opacity: .35; }
}
.drips { position: absolute; left: 0; right: 0; top: 100%; height: 0; pointer-events: none; }
.drips i {
  position: absolute; left: var(--x); top: 0; width: 7px; border-radius: 0 0 6px 6px; background: linear-gradient(var(--gore), var(--blood));
  height: 0; animation: drip 9s ease-in infinite; animation-delay: calc(var(--d) * -0.73s);
}
.drips i::after { content: ""; position: absolute; left: -2px; bottom: -6px; width: 11px; height: 11px; border-radius: 50%; background: var(--blood); }
.drips i:nth-child(3n) { width: 5px; }
.drips i:nth-child(4n) { width: 9px; }
@keyframes drip {
  0% { height: 0; opacity: 1; }
  60% { height: 34px; opacity: 1; }
  80% { height: 40px; opacity: 1; }
  100% { height: 42px; opacity: 0; }
}

.mainnav { display: flex; align-items: center; gap: 2px; flex: 1; }
.mainnav > a, .nav-user > a { font: 500 1rem/1 var(--f-caps); letter-spacing: .12em; text-transform: uppercase; color: var(--bone); text-decoration: none; padding: 10px 12px; white-space: nowrap; }
.mainnav > a:hover, .nav-user > a:hover { color: var(--blood-hi); text-shadow: 0 0 12px rgba(227,18,11,.8); }
.mainnav a.active { color: var(--blood-hi); text-shadow: 0 0 12px rgba(227,18,11,.6); box-shadow: inset 0 -3px var(--blood); }
.navsearch { margin-left: auto; }
.navsearch input { width: 220px; background: #0c0606; border: 1px solid var(--gore); color: var(--bone); padding: 9px 12px; border-radius: 2px; font: 400 .9rem var(--f-type); transition: width .2s, box-shadow .2s; }
.navsearch input:focus { outline: none; width: 270px; box-shadow: 0 0 0 2px var(--blood), 0 0 18px rgba(227,18,11,.4); }
.nav-user { display: flex; align-items: center; gap: 4px; }
.nav-pill { border: 1px solid var(--blood); background: rgba(227,18,11,.12); }
.nav-pill:hover { background: var(--blood); color: #fff !important; }

.usermenu { position: relative; }
.usermenu summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; padding: 4px 8px; }
.usermenu summary::-webkit-details-marker { display: none; }
.usermenu-name { font: 500 .95rem var(--f-caps); letter-spacing: .06em; max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 2px solid var(--blood); background: var(--board-2); }
.mini-avatar.initials { display: grid; place-items: center; font: 400 .9rem var(--f-horror); color: var(--blood); }
.usermenu-panel { position: absolute; right: 0; top: calc(100% + 10px); min-width: 200px; background: #0b0606; border: 1px solid var(--gore); padding: 8px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.usermenu-panel a, .usermenu-panel .linklike { padding: 8px 10px; text-decoration: none; text-align: left; width: 100%; font: 400 1rem var(--f-caps); letter-spacing: .06em; color: var(--bone); }
.usermenu-panel a:hover, .usermenu-panel .linklike:hover { background: var(--clot); color: var(--bone); }
.usermenu-role { padding: 6px 10px; font: 400 .75rem var(--f-type); letter-spacing: .16em; text-transform: uppercase; color: var(--blood-hi); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--blood); margin: 5px 0; }

/* ── Buttons, pills, forms ────────────────────────────────────────────── */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  font: 500 1rem/1 var(--f-caps); letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  padding: 14px 22px; border: 1px solid transparent; cursor: pointer; color: var(--bone); border-radius: 2px;
  transition: background .15s, box-shadow .2s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn-blood { background: linear-gradient(var(--blood), var(--gore)); color: #fff; box-shadow: 0 0 0 1px #000, 0 8px 24px rgba(227, 18, 11, .35); }
.btn-blood::after { content: ""; position: absolute; left: 18%; bottom: -10px; width: 6px; height: 0; background: var(--gore); border-radius: 0 0 4px 4px; transition: height .35s ease-in; }
.btn-blood:hover { color: #fff; box-shadow: 0 0 0 1px #000, 0 0 30px rgba(227, 18, 11, .6); }
.btn-blood:hover::after { height: 12px; }
.btn-ghost { background: rgba(5, 3, 3, .6); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--blood); color: var(--bone); box-shadow: 0 0 14px rgba(227,18,11,.35); }
.btn-danger { background: transparent; border-color: var(--blood); color: var(--blood-hi); }
.btn-danger:hover { background: var(--blood); color: #fff; }
.btn-small { padding: 8px 12px; font-size: .82rem; }
.btn-wide { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }
.linklike { background: none; border: 0; padding: 0; color: var(--bone-dim); cursor: pointer; font: 400 .9rem var(--f-type); text-decoration: underline; text-decoration-color: var(--line-strong); }
.linklike:hover { color: var(--bone); }
.linklike.danger, .danger { color: var(--blood-hi); }
form.inline { display: inline; }

.pill { display: inline-block; font: 400 .72rem/1 var(--f-type); letter-spacing: .1em; text-transform: uppercase; padding: 4px 7px; }
.pill-warn { background: rgba(227, 18, 11, .2); color: var(--blood-hi); }
.role-tag { display: inline-block; font: 400 .7rem/1 var(--f-type); letter-spacing: .12em; text-transform: uppercase; padding: 4px 7px; border: 1px dashed var(--line-strong); color: var(--bone-dim); }
.role-admin, .role-top_critic { border-color: var(--blood); color: var(--blood-hi); }
.role-contributor { border-color: var(--bone-dim); color: var(--bone); }

.card { background: linear-gradient(var(--board), #0b0707); border: 1px solid var(--line); border-top: 3px solid var(--gore); padding: 24px; box-shadow: var(--shadow); }
.form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; border: 0; padding: 0; margin: 0; }
.field > span:first-child { font: 400 .9rem var(--f-type); letter-spacing: .04em; color: var(--bone); }
.hint { font: italic .9rem var(--f-read); color: var(--ash); }
input[type=text], input[type=email], input[type=password], input[type=search], textarea, select {
  width: 100%; background: #0a0505; color: var(--bone); border: 1px solid var(--line-strong); border-radius: 2px; padding: 11px 12px; font: 400 1rem var(--f-type);
}
textarea { font: 400 1.1rem/1.5 var(--f-read); resize: vertical; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--blood); box-shadow: 0 0 0 3px rgba(227, 18, 11, .2); }
input[disabled] { opacity: .55; }
input[type=range] { accent-color: var(--blood); width: 100%; }
output { font: 400 2rem var(--f-horror); color: var(--blood); }
.check { display: flex; gap: 10px; align-items: center; font: 400 .95rem var(--f-type); }
.check input, .radio-row input { accent-color: var(--blood); }
.radio-row { display: flex; flex-direction: column; gap: 6px; }
.radio-row label { display: flex; gap: 8px; align-items: center; font: 400 .95rem var(--f-type); }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.danger-zone { margin-top: 24px; border-top-color: var(--blood); }
.back { display: inline-block; margin: 0 0 16px; font: 400 .9rem var(--f-type); color: var(--bone-dim); text-decoration: none; }
.back:hover { color: var(--blood-hi); }

/* ── Flash messages ───────────────────────────────────────────────────── */
.flashes { list-style: none; padding: 0; margin: 22px auto 0; width: min(var(--wrap), 100% - 32px); display: flex; flex-direction: column; gap: 8px; }
.flash { padding: 12px 16px; border-left: 4px solid var(--bone-dim); background: var(--board-2); font: 400 .98rem var(--f-type); }
.flash-error { border-color: var(--blood); background: rgba(227, 18, 11, .14); }
.flash-success { border-color: #7FA35F; }

/* ── Section titles + crime-scene tape ────────────────────────────────── */
.section-title { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin: 0 0 24px; scroll-margin-top: 110px; }
.section-title h2 {
  font: 400 clamp(2.1rem, 3.4vw, 2.8rem)/1 var(--f-horror); color: var(--blood); letter-spacing: .03em;
  text-shadow: 0 0 16px rgba(227, 18, 11, .45), 0 2px 0 #000;
}
.section-sub { font: 400 .85rem var(--f-type); letter-spacing: .08em; color: var(--ash); }
.page-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
/* Police crime-scene tape: glossy yellow plastic, black block caps, thin
   black rules along both edges, a light sheen and slight wrinkles. */
.tape {
  position: relative; z-index: 2; overflow: hidden; white-space: nowrap; margin: 26px -2vw;
  background:
    linear-gradient(180deg, rgba(255,255,255,.35) 0%, rgba(255,255,255,0) 38%, rgba(0,0,0,0) 62%, rgba(0,0,0,.18) 100%),
    repeating-linear-gradient(90deg, rgba(0,0,0,0) 0 90px, rgba(0,0,0,.07) 90px 104px, rgba(255,255,255,.08) 104px 116px, rgba(0,0,0,0) 116px 230px),
    #FFD60A;
  color: #000;
  box-shadow: inset 0 4px 0 #FFD60A, inset 0 6px 0 #111, inset 0 -4px 0 #FFD60A, inset 0 -6px 0 #111, 0 12px 28px rgba(0,0,0,.7);
  font: 700 1.05rem/1 var(--f-caps); letter-spacing: .2em; text-transform: uppercase; padding: 13px 0;
  text-shadow: 0 1px 0 rgba(255,255,255,.25);
}
.tape span { display: inline-block; animation: tapeScroll 60s linear infinite; }
.tape-l { transform: rotate(-1.4deg); }
.tape-r { transform: rotate(1.2deg); }
.tape-footer { transform: none; margin: 0; }
@keyframes tapeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.empty-note { font: italic 400 1.2rem var(--f-read); color: var(--bone-dim); padding: 20px 0; }
.more-link { display: inline-block; margin-top: 16px; font: 500 .95rem var(--f-caps); letter-spacing: .14em; text-transform: uppercase; color: var(--blood-hi); text-decoration: none; }
.more-link:hover { text-shadow: 0 0 12px rgba(227,18,11,.7); }
.band { padding: 48px 0; }
.band-dark { background: linear-gradient(180deg, transparent, rgba(74, 6, 6, .25)); }

/* ── Blood-splatter scores ────────────────────────────────────────────── */
.score {
  display: inline-grid; place-items: center; flex: none; position: relative;
  font-family: var(--f-horror); color: #fff; line-height: 1; padding-top: .06em;
  background: radial-gradient(circle at 45% 40%, var(--blood-hi), var(--blood) 45%, var(--gore) 80%);
  -webkit-mask: var(--splat) center / contain no-repeat; mask: var(--splat) center / contain no-repeat;
  text-shadow: 0 2px 0 rgba(0,0,0,.45);
}
.score-sm { width: 44px; height: 44px; font-size: 1.05rem; }
.score-md { width: 62px; height: 62px; font-size: 1.45rem; }
.score-lg { width: 84px; height: 84px; font-size: 2rem; }
.score-xl { width: 120px; height: 120px; font-size: 2.9rem; }
.score-solid { background: radial-gradient(circle at 45% 40%, #ff6a3d, #c4170e 50%, #7a0a07 85%); }
.score-meh { background: radial-gradient(circle at 45% 40%, #8a3b33, #5a1c17 55%, #2d0c0a); }
.score-dead { background: radial-gradient(circle at 45% 40%, #4b3c38, #2a201e 55%, #120c0b); color: var(--bone-dim); }
.score-none { background: #2b2220; color: var(--ash); }
.score-label { display: none; }

/* ── VHS-box posters ──────────────────────────────────────────────────── */
.poster-img { width: 100%; aspect-ratio: 2/3; object-fit: cover; background: var(--board-2); }
.poster-missing { display: grid; place-items: center; padding: 12px; text-align: center; font: 400 1.3rem var(--f-horror); color: var(--gore);
  background: repeating-linear-gradient(-45deg, #120a09 0 14px, #0b0606 14px 28px); }
.poster-missing.mini { width: 46px; aspect-ratio: 2/3; }
.poster-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 30px 22px; }
.poster-grid-sm { grid-template-columns: repeat(auto-fill, minmax(135px, 1fr)); }
.movie-card { text-decoration: none; display: block; }
.movie-card-poster, .vhs { position: relative; display: block; }
.movie-card-poster .poster-img, .vhs .poster-img {
  border: 5px solid #0d0d0d; outline: 1px solid #2a2a2a; box-shadow: 0 12px 26px rgba(0,0,0,.8), inset 0 0 0 1px #000;
  filter: saturate(.85) contrast(1.08);
}
.movie-card-poster::after, .vhs::after { /* worn plastic sheen */
  content: ""; position: absolute; inset: 5px; pointer-events: none;
  background: linear-gradient(115deg, rgba(255,255,255,.10) 0%, transparent 30%, transparent 70%, rgba(255,255,255,.05) 100%);
}
.movie-card-poster .score { position: absolute; top: -14px; right: -14px; z-index: 2; }
.movie-card:hover .poster-img, .vhs:hover .poster-img { animation: glitch .45s steps(2) 1; filter: saturate(1.1) contrast(1.15); outline-color: var(--blood); }
@keyframes glitch {
  0% { transform: translate(0); box-shadow: -4px 0 0 rgba(227,18,11,.8), 4px 0 0 rgba(0,220,255,.5); }
  25% { transform: translate(-3px, 1px); }
  50% { transform: translate(3px, -1px); box-shadow: 4px 0 0 rgba(227,18,11,.8), -4px 0 0 rgba(0,220,255,.5); }
  75% { transform: translate(-1px, 2px); }
  100% { transform: translate(0); box-shadow: 0 12px 26px rgba(0,0,0,.8); }
}
.movie-card-title { margin-top: 12px; font: 500 1.05rem/1.2 var(--f-caps); letter-spacing: .04em; text-transform: uppercase; }
.movie-card:hover .movie-card-title { color: var(--blood-hi); }
.movie-card-sub { font: 400 .82rem/1.35 var(--f-type); color: var(--bone-dim); margin-top: 3px; }
.vhs-sticker {
  position: absolute; z-index: 3; left: -10px; top: 18px; transform: rotate(-8deg);
  background: var(--blood); color: #fff; font: 600 .8rem/1 var(--f-caps); letter-spacing: .14em; text-transform: uppercase;
  padding: 7px 12px; box-shadow: 0 4px 12px rgba(0,0,0,.6);
}
.thumb { width: 110px; flex: none; border: 4px solid #0d0d0d; }
.thumb-sm { width: 56px; flex: none; }
.thumb-xs { width: 40px; }

.face-img { width: 100%; aspect-ratio: 2/3; object-fit: cover; object-position: top; background: var(--board-2); }
.face-missing { display: grid; place-items: center; font: 400 2.4rem var(--f-horror); color: var(--clot); background: radial-gradient(circle at 50% 40%, #1d1210, #0b0606); }
.cast-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(122px, 1fr)); gap: 24px 16px; }
.cast-grid-lg { grid-template-columns: repeat(auto-fill, minmax(145px, 1fr)); }
.person-card { text-decoration: none; }
.person-card .face-img { border: 4px solid #0d0d0d; outline: 1px solid #2a2a2a; filter: grayscale(.85) contrast(1.2) brightness(.9); transition: filter .25s, outline-color .2s; }
.person-card:hover .face-img { filter: grayscale(0) sepia(.25) saturate(1.3); outline-color: var(--blood); }
.person-card-name { margin-top: 9px; font: 500 .98rem/1.2 var(--f-caps); letter-spacing: .04em; text-transform: uppercase; }
.person-card-sub { font: 400 .8rem/1.3 var(--f-type); color: var(--bone-dim); }

/* ── Home: masthead ───────────────────────────────────────────────────── */
.masthead { position: relative; text-align: center; padding: 36px 16px 8px; overflow: hidden; }
.masthead-glow { position: absolute; left: 50%; top: 50%; width: 1100px; height: 420px; transform: translate(-50%, -50%); background: radial-gradient(ellipse at center, rgba(227,18,11,.35), transparent 65%); filter: blur(20px); animation: pulse 6s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: .65; } 50% { opacity: 1; } }
.masthead-banner { position: relative; width: min(1180px, 100%); height: auto; margin: 0 auto; filter: drop-shadow(0 18px 40px rgba(0,0,0,.9)); animation: rise 1.2s ease-out both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
.masthead-line { position: relative; font: 400 1.05rem var(--f-type); color: var(--bone-dim); letter-spacing: .06em; margin: 6px 0 0; }

/* ── Home: tonight's feature ──────────────────────────────────────────── */
.feature { position: relative; isolation: isolate; overflow: hidden; margin-top: 30px !important; padding: 56px 0; border-block: 1px solid rgba(227,18,11,.25); }
.feature::before { content: ""; position: absolute; inset: -20px; z-index: -2; background: var(--backdrop, none) center 25% / cover no-repeat; filter: grayscale(1) contrast(1.3) brightness(.45); }
.feature::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(5,3,3,.97), rgba(5,3,3,.75) 50%, rgba(5,3,3,.55)), linear-gradient(0deg, rgba(120,8,5,.45), transparent 60%); mix-blend-mode: normal; }
.feature-scratches { position: absolute; inset: 0; z-index: -1; opacity: .25; pointer-events: none;
  background: repeating-linear-gradient(90deg, transparent 0 140px, rgba(255,255,255,.18) 140px 141px, transparent 141px 320px, rgba(255,255,255,.12) 320px 321px);
  animation: scratches .3s steps(3) infinite; }
@keyframes scratches { 0% { background-position: 0 0; } 33% { background-position: 47px 0; } 66% { background-position: -83px 0; } 100% { background-position: 21px 0; } }
.feature-inner { display: flex; gap: 48px; align-items: center; }
.feature-poster { width: 270px; flex: none; transform: rotate(-3deg); }
.feature-text { flex: 1; min-width: 0; }
.feature-title { font-size: clamp(3rem, 6vw, 5.2rem); margin: 8px 0 14px; }
.feature-title a { text-decoration: none; color: inherit; }
.case-meta { display: flex; gap: 12px; flex-wrap: wrap; font: 400 .95rem var(--f-type); color: var(--bone-dim); }
.case-meta span + span::before { content: "✖"; margin-right: 12px; color: var(--blood); font-size: .7em; }
.feature-titlerow { display: flex; align-items: center; gap: 10px 26px; flex-wrap: wrap; margin: 8px 0 14px; }
.feature-titlerow .feature-title { margin: 0; }
.feature-quotes { display: flex; flex-direction: column; gap: 6px; margin: 26px 0 22px; max-width: 700px; }
.feature-quote { display: flex; align-items: flex-end; gap: 8px; text-decoration: none; color: inherit; max-width: 560px; }
.feature-quote:hover .bubble { box-shadow: inset 0 0 45px rgba(70, 30, 8, .65), inset 0 0 6px rgba(40, 15, 5, .8), 0 0 26px rgba(227,18,11,.35); }
.quote-right { flex-direction: row-reverse; align-self: flex-end; }
.feature-quote .bubble-compact { margin-bottom: 26px; }
.feature-quote .bubble-head { margin-bottom: 4px; gap: 10px; }
.feature-quote .bubble-headline { font-size: clamp(1.3rem, 2vw, 1.7rem); }
.quote-right .bubble { transform: rotate(.5deg); }
.feature-quote.quote-right .bubble::before { left: auto; right: -24px; clip-path: polygon(0 0, 100% 100%, 0 70%); }
.feature-quote.quote-right .bubble::after { right: auto; left: -12px; transform: rotate(-70deg) scale(.8); }
.feature-count { font: 400 .95rem var(--f-type); }
.feature-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.feature-score { display: flex; align-items: center; gap: 10px; font: 500 .95rem/1.05 var(--f-caps); letter-spacing: .16em; text-transform: uppercase; color: var(--bone-dim); }
.empty-crypt { text-align: center; padding: 40px 0; }

/* ── Home: gallery ────────────────────────────────────────────────────── */
.gallery { display: grid; grid-auto-flow: column; grid-auto-columns: 215px; gap: 26px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 18px 14px 22px; scrollbar-width: thin; scrollbar-color: var(--gore) transparent; }
.gallery-item { scroll-snap-align: start; text-decoration: none; }
.gallery-item:nth-child(odd) { transform: rotate(-1.2deg); }
.gallery-item:nth-child(even) { transform: rotate(1deg); }
.gallery-item > .score { position: absolute; top: -16px; right: -16px; z-index: 3; }
.gallery-caption { display: flex; flex-direction: column; margin-top: 12px; }
.gallery-title { font: 500 1.05rem/1.2 var(--f-caps); letter-spacing: .04em; text-transform: uppercase; }
.gallery-year { font: 400 .8rem var(--f-type); color: var(--bone-dim); }
.gallery-arrows { margin-left: auto; display: flex; gap: 8px; }
.arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--gore); background: #0b0606; color: var(--bone); font-size: 1.7rem; line-height: 1; cursor: pointer; }
.arrow:hover { background: var(--blood); color: #fff; }

/* ── Home: Body Count (toe tags) + sidebar ────────────────────────────── */
.home-columns { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 60px; }
.ranked { list-style: none; margin: 0; padding: 0; }
.ranked li + li { border-top: 1px dashed var(--line-strong); }
.ranked a { display: flex; align-items: center; gap: 18px; padding: 14px 8px; text-decoration: none; }
.ranked a:hover { background: linear-gradient(90deg, rgba(227,18,11,.12), transparent); }
.toe-tag {
  position: relative; flex: none; width: 66px; height: 40px; display: flex; align-items: center; justify-content: center; gap: 2px;
  background: #E8DCC0; color: var(--ink); font: 400 1.35rem/1 var(--f-type); transform: rotate(-6deg);
  clip-path: polygon(16px 0, 100% 0, 100% 100%, 16px 100%, 0 50%);
  box-shadow: inset 0 0 12px rgba(120,80,40,.35);
}
.toe-tag span { font-size: .62rem; margin-right: 2px; align-self: flex-start; margin-top: 9px; }
.toe-tag::before { content: ""; position: absolute; left: 9px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--void); }
.ranked li:nth-child(-n+3) .toe-tag { background: var(--blood); color: #fff; }
.ranked li:nth-child(even) .toe-tag { transform: rotate(5deg); }
.ranked-thumb { width: 48px; flex: none; border: 3px solid #0d0d0d; }
.ranked-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ranked-title { font: 500 1.2rem/1.2 var(--f-caps); letter-spacing: .03em; text-transform: uppercase; }
.ranked-sub { font: 400 .82rem var(--f-type); color: var(--bone-dim); }
.col-side .section-title { margin-top: 0; }
.col-side .section-title h2 { font-size: 2rem; }
.col-side .section-title + * { margin-bottom: 40px; }
.critic-strip { display: flex; flex-wrap: wrap; gap: 20px; }
.critic-chip { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 104px; text-align: center; text-decoration: none; font: 500 .95rem/1.2 var(--f-caps); letter-spacing: .04em; text-transform: uppercase; }
.critic-chip:hover { color: var(--blood-hi); }
.comment-feed { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.comment-feed a { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; background: rgba(20,10,9,.7); border-left: 3px solid var(--gore); text-decoration: none; }
.comment-feed a:hover { border-left-color: var(--blood-hi); background: rgba(60,8,6,.4); }
.feed-who { font: 400 .8rem var(--f-type); color: var(--bone-dim); }
.feed-who strong { color: var(--bone); font-weight: 400; }
.feed-body { font: italic 400 1.08rem/1.4 var(--f-read); }

/* ── Avatars + the Critics' Table ─────────────────────────────────────── */
.avatar { display: block; flex: none; object-fit: contain; object-position: bottom; }
.avatar.flip { transform: scaleX(-1); }
.avatar-xs { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: var(--board-2); border: 2px solid var(--gore); }
.avatar-sm { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: var(--board-2); border: 2px solid var(--gore); }
.avatar-md { width: 100px; height: 100px; }
.avatar-lg { width: 170px; height: 170px; }
.avatar-xl { width: 250px; height: 250px; }
.avatar-md, .avatar-lg, .avatar-xl { filter: drop-shadow(0 12px 18px rgba(0,0,0,.85)) drop-shadow(0 0 26px rgba(227,18,11,.35)); }
.avatar-initials { display: grid; place-items: center; border-radius: 50%; font-family: var(--f-horror); color: var(--blood); background: radial-gradient(circle at 45% 35%, #2a1412, #0a0505); box-shadow: inset 0 0 0 3px var(--gore), 0 0 24px rgba(227,18,11,.25); }
.avatar-initials.avatar-xs { font-size: 1rem; }
.avatar-initials.avatar-sm { font-size: 1.4rem; }
.avatar-initials.avatar-md { font-size: 2.4rem; }
.avatar-initials.avatar-lg { width: 150px; height: 150px; font-size: 3.6rem; align-self: center; }
.avatar-initials.avatar-xl { width: 220px; height: 220px; font-size: 5.4rem; }

.critics-table { position: relative; }
.critics-table::before { /* candlelight pooling behind the conversation */
  content: ""; position: absolute; inset: 60px -10% 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 50% 60% at 50% 50%, rgba(180,40,10,.16), transparent 70%);
  animation: candle 4s ease-in-out infinite;
}
@keyframes candle { 0%, 100% { opacity: .8; } 30% { opacity: 1; } 55% { opacity: .65; } 75% { opacity: .95; } }
.chat { display: flex; flex-direction: column; gap: 40px; }
.chat-row { display: flex; align-items: flex-end; gap: 22px; max-width: 1000px; }
.chat-right { flex-direction: row-reverse; margin-left: auto; }
.chat-who { display: flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none; width: 180px; flex: none; text-align: center; }
.chat-name { font: 400 1.6rem/1 var(--f-horror); color: var(--blood); text-shadow: 0 0 12px rgba(227,18,11,.4); }

/* Burned, blood-stained paper */
.bubble {
  position: relative; flex: 1; min-width: 0; color: var(--ink);
  padding: 26px 30px 20px; margin-bottom: 84px; border-radius: 4px 18px 6px 14px;
  background:
    radial-gradient(ellipse at 85% 15%, rgba(110, 60, 20, .25), transparent 40%),
    radial-gradient(ellipse at 10% 90%, rgba(110, 60, 20, .3), transparent 45%),
    radial-gradient(circle at 60% 60%, rgba(255,255,255,.18), transparent 60%),
    var(--paper);
  box-shadow: inset 0 0 45px rgba(70, 30, 8, .65), inset 0 0 6px rgba(40, 15, 5, .8), 0 22px 44px rgba(0,0,0,.7);
  transform: rotate(-.4deg);
}
.chat-right .bubble { transform: rotate(.5deg); }
.bubble::after { /* blood splatter on the corner */
  content: ""; position: absolute; width: 74px; height: 74px; top: -22px; right: -18px; opacity: .9;
  background: radial-gradient(circle at 45% 45%, var(--blood), var(--gore) 70%);
  -webkit-mask: var(--splat) center / contain no-repeat; mask: var(--splat) center / contain no-repeat;
  transform: rotate(25deg);
}
.chat-right .bubble::after { right: auto; left: -18px; transform: rotate(-70deg) scale(.8); }
.bubble::before { content: ""; position: absolute; bottom: 30px; width: 36px; height: 32px; background: var(--paper); }
.chat-left .bubble::before, .feature-quote .bubble::before { left: -24px; clip-path: polygon(100% 0, 0 100%, 100% 70%); background: #c9b78f; }
.chat-right .bubble::before { right: -24px; clip-path: polygon(0 0, 100% 100%, 0 70%); background: #c9b78f; }
.chat-nowho .bubble { margin-bottom: 0; }
.chat-nowho .bubble::before { display: none; }
.bubble-head { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.bubble-headline { font: 400 clamp(1.5rem, 2.4vw, 2.05rem)/1.1 var(--f-horror); color: var(--gore); letter-spacing: .02em; }
.bubble-movie { display: block; font: 400 .82rem var(--f-type); letter-spacing: .1em; text-transform: uppercase; color: #5b2a1c; text-decoration: none; margin-bottom: 4px; }
.bubble-body { font: 400 1.15rem/1.6 var(--f-type); color: #2a1610; }
.bubble-body p:last-child { margin-bottom: 0; }
.bubble-foot { margin-top: 14px; display: flex; gap: 8px; align-items: center; font: 400 .78rem var(--f-type); letter-spacing: .1em; text-transform: uppercase; color: #6d4c38; }
.bubble-by { font: 400 .95rem var(--f-type); color: #5b3a28; margin-top: 8px; }
.bubble-compact { margin-bottom: 34px; padding: 18px 22px; }
.bubble-compact::after { width: 52px; height: 52px; top: -16px; right: -12px; }
.bubble a { color: var(--gore); }
.bubble .score { filter: drop-shadow(0 2px 2px rgba(0,0,0,.3)); }

[data-clamp].is-clamped { max-height: var(--clamp-h, 16em); overflow: hidden; -webkit-mask: linear-gradient(#000 70%, transparent); mask: linear-gradient(#000 70%, transparent); }
.clamp-toggle { margin-top: 10px; background: none; border: 0; cursor: pointer; font: 400 .85rem var(--f-type); letter-spacing: .12em; text-transform: uppercase; color: var(--gore); padding: 0; text-decoration: underline; }
.bio .clamp-toggle, .contrib-body + .clamp-toggle { color: var(--blood-hi); }

/* ── Movie page ───────────────────────────────────────────────────────── */
.movie-hero { position: relative; isolation: isolate; overflow: hidden; padding: 64px 0 48px; border-bottom: 1px solid rgba(227,18,11,.25); }
.movie-hero::before { content: ""; position: absolute; inset: -20px; z-index: -2; background: var(--backdrop, none) center 20% / cover no-repeat; filter: grayscale(1) contrast(1.35) brightness(.5); }
.movie-hero .hero-shade { position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(5,3,3,.97), rgba(5,3,3,.75) 55%, rgba(5,3,3,.5)), linear-gradient(0deg, rgba(110,8,5,.5), transparent 55%); }
.movie-hero-inner { display: flex; gap: 46px; align-items: flex-start; }
.movie-poster { width: 290px; flex: none; transform: rotate(-2deg); }
.movie-head { flex: 1; min-width: 0; }
.movie-title { font-size: clamp(3rem, 6vw, 5rem); }
.movie-year { color: var(--bone); font-size: .55em; text-shadow: none; margin-left: .15em; }
.movie-meta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin: 16px 0 12px; font: 400 .98rem var(--f-type); color: var(--bone-dim); }
.cert { border: 1px solid var(--bone); padding: 2px 8px; color: var(--bone); }
.genre-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.genre-tags a { font: 500 .85rem var(--f-caps); letter-spacing: .14em; text-transform: uppercase; padding: 6px 12px; background: rgba(227,18,11,.16); border: 1px solid var(--gore); text-decoration: none; transform: rotate(-1deg); }
.genre-tags a:hover { background: var(--blood); color: #fff; }
.tagline { font: italic 400 1.5rem/1.35 var(--f-read); color: var(--bone); margin: 20px 0 8px; }
.credits-line { font: 400 1rem var(--f-type); color: var(--bone-dim); }
.credits-line a { color: var(--bone); }
.movie-score { display: flex; align-items: center; gap: 18px; margin: 24px 0; }
.movie-score .kicker { font-size: 1rem; }
.movie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.overview { margin-top: 44px; max-width: 840px; }
.overview p { font: 400 1.35rem/1.65 var(--f-read); }

.contrib-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 20px; }
.contrib-card { background: linear-gradient(#140c0b, #0b0606); border: 1px solid var(--line); border-left: 4px solid var(--gore); padding: 22px; box-shadow: var(--shadow); }
.contrib-who { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 500 1rem var(--f-caps); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; }
.contrib-head { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.contrib-head h3 { font: 400 1.5rem/1.1 var(--f-horror); color: var(--blood); }
.contrib-body { font: 400 1.1rem/1.6 var(--f-read); color: var(--bone); }

.crew-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px 30px; margin: 0; }
.crew-list dt { font: 400 .8rem var(--f-type); letter-spacing: .14em; text-transform: uppercase; color: var(--blood-hi); }
.crew-list dd { margin: 4px 0 0; font: 500 1.05rem var(--f-caps); letter-spacing: .04em; }
.crew-list a { text-decoration: none; }

.comment-form { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; max-width: 840px; margin-bottom: 26px; }
.comment-list { list-style: none; margin: 0; padding: 0; max-width: 840px; display: flex; flex-direction: column; }
.comment { display: flex; gap: 14px; padding: 20px 0; border-top: 1px dashed var(--line-strong); scroll-margin-top: 110px; }
.comment:target { background: linear-gradient(90deg, rgba(227,18,11,.15), transparent); }
.comment.is-hidden { opacity: .5; }
.comment-main { flex: 1; min-width: 0; }
.comment-meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font: 400 .85rem var(--f-type); color: var(--bone-dim); }
.comment-meta strong { color: var(--bone); font: 500 1rem var(--f-caps); letter-spacing: .05em; text-transform: uppercase; }
.comment-body { font: 400 1.15rem/1.55 var(--f-read); margin-top: 6px; }
.comment-body p:last-child { margin: 0; }
.comment-tools { display: flex; gap: 14px; margin-top: 6px; }

.trailer-modal { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.92); display: grid; place-items: center; padding: 24px; }
.trailer-modal[hidden] { display: none; }
.trailer-frame { width: min(1100px, 100%); aspect-ratio: 16/9; box-shadow: 0 0 90px rgba(227,18,11,.4); border: 2px solid var(--gore); }
.trailer-frame iframe { width: 100%; height: 100%; border: 0; }
.trailer-close { position: absolute; top: 16px; right: 22px; background: none; border: 0; color: var(--blood); font: 400 3rem var(--f-horror); cursor: pointer; }

/* ── Person (mugshot) + critic pages ──────────────────────────────────── */
.person-head { display: flex; gap: 44px; align-items: flex-start; margin-top: 0; }
.person-photo { width: 290px; flex: none; }
.mugshot { position: relative; padding: 14px 14px 52px; background:
    repeating-linear-gradient(0deg, transparent 0 23px, rgba(237,227,204,.14) 23px 24px), #151010;
  border: 1px solid var(--line-strong); box-shadow: var(--shadow); transform: rotate(-1.5deg); }
.mugshot .face-img { filter: grayscale(1) contrast(1.15); }
.mugshot-plate { position: absolute; left: 14px; right: 14px; bottom: 12px; background: #000; color: var(--bone); text-align: center; font: 400 .95rem/1 var(--f-type); letter-spacing: .1em; text-transform: uppercase; padding: 8px 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.person-info { flex: 1; min-width: 0; }
.person-info h1 { margin: 6px 0 20px; }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px 24px; margin: 0 0 24px; }
.facts dt { font: 400 .8rem var(--f-type); letter-spacing: .16em; text-transform: uppercase; color: var(--blood-hi); }
.facts dd { margin: 4px 0 0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font: 500 1.05rem var(--f-caps); letter-spacing: .03em; }
.facts dd .muted { font: 400 .9rem var(--f-type); }
.bio { font: 400 1.2rem/1.7 var(--f-read); color: var(--bone); max-width: 840px; }
.ext-links { display: flex; gap: 18px; margin-top: 16px; font: 500 .95rem var(--f-caps); letter-spacing: .14em; text-transform: uppercase; }
.admin-only { border: 2px dashed rgba(227,18,11,.5); padding: 24px; background: rgba(40,5,4,.25); }
.import-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 10px; }
.import-item { display: flex; gap: 12px; align-items: center; background: #0d0707; padding: 10px; border: 1px solid var(--line); }
.import-item img { width: 46px; }
.import-text { flex: 1; min-width: 0; line-height: 1.3; }
.import-text strong { font: 500 1.05rem var(--f-caps); letter-spacing: .03em; text-transform: uppercase; }

.critic-head { display: flex; gap: 36px; align-items: flex-end; margin-top: 0; }
.critic-head h1 { margin: 6px 0 10px; }
.critic-head .bio { margin-top: 16px; }
.critic-head .muted { display: flex; align-items: center; gap: 8px; font: 400 1rem var(--f-type); }
.critic-head + .section-title { margin-top: 48px; }
.chat-list { gap: 30px; }
.critic-review-row { display: flex; gap: 24px; align-items: flex-start; }
.critic-review-poster { width: 130px; flex: none; }
.critic-review-poster .poster-img { border: 4px solid #0d0d0d; }
.critic-review-row .chat-row { flex: 1; }
.critic-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 26px; margin-bottom: 44px; }
.critic-grid-sm { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.critic-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 26px 14px; background: linear-gradient(#140b0a, #090505); border: 1px solid var(--line); border-top: 3px solid var(--gore); text-decoration: none; }
.critic-card:hover { border-color: var(--blood); box-shadow: 0 0 30px rgba(227,18,11,.25); }
.critic-card-name { font: 400 1.8rem/1 var(--f-horror); color: var(--blood); }

/* ── Browse / filters / pager ─────────────────────────────────────────── */
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.filters input[type=search] { flex: 1 1 240px; width: auto; }
.filters select { width: auto; flex: 0 1 auto; }
.pager { display: flex; justify-content: center; gap: 24px; align-items: center; margin-top: 44px; font: 400 1rem var(--f-type); }
.pager a { color: var(--blood-hi); text-decoration: none; font: 500 1rem var(--f-caps); letter-spacing: .12em; text-transform: uppercase; }

/* ── Auth, account, review form ───────────────────────────────────────── */
.auth-wrap { display: grid; place-items: center; padding-top: 56px !important; }
.auth-card { width: min(460px, 100%); }
.auth-card h1 { font-size: 3rem; }
.account-grid { display: grid; gap: 22px; }
.account-avatar { display: flex; align-items: center; gap: 14px; }
.review-form-head { display: flex; gap: 20px; align-items: center; margin-bottom: 22px; }

/* ── Admin ────────────────────────────────────────────────────────────── */
.admin-nav { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 28px; border-bottom: 1px solid var(--gore); }
.admin-nav a { padding: 10px 14px; font: 500 1rem var(--f-caps); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: var(--bone-dim); }
.admin-nav a.active { color: var(--blood-hi); box-shadow: inset 0 -3px var(--blood); }
.stat-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); gap: 12px; margin-bottom: 26px; }
.stat { background: #0d0707; border: 1px solid var(--line); border-left: 3px solid var(--gore); padding: 16px; display: flex; flex-direction: column; text-decoration: none; font: 400 .85rem var(--f-type); color: var(--bone-dim); }
a.stat:hover { border-color: var(--blood); }
.stat-num { font: 400 2.6rem/1 var(--f-horror); color: var(--blood); }
.quick-import { flex-direction: row; align-items: flex-end; margin-bottom: 26px; }
.quick-import .field { flex: 1; }
.admin-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 22px; margin-bottom: 22px; align-items: start; }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font: 400 1rem var(--f-read); }
.table th { text-align: left; font: 400 .75rem var(--f-type); letter-spacing: .14em; text-transform: uppercase; color: var(--ash); padding: 10px; border-bottom: 1px solid var(--gore); }
.table td { padding: 10px; border-bottom: 1px dashed var(--line); vertical-align: middle; }
.table tr:hover td { background: rgba(227,18,11,.05); }
.row-off td { opacity: .5; }
.row-actions { text-align: right; white-space: nowrap; }
.row-actions > * { display: inline-block; vertical-align: middle; margin-left: 12px; }
.avatar-preview-stage { display: flex; gap: 24px; justify-content: center; padding: 16px; background: radial-gradient(ellipse at 50% 100%, rgba(227,18,11,.22), transparent 70%), #000; }
.preview-col { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.import-results { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.import-results li { display: flex; gap: 14px; align-items: center; background: #0d0707; padding: 12px; border-left: 4px solid #7FA35F; }
.import-results li.fail { border-left-color: var(--blood); }
.err { color: var(--blood-hi); font: 400 .95rem var(--f-type); margin-top: 4px; }
.warn { color: #E8B04B; }
.tabs-inline { display: flex; gap: 14px; margin-bottom: 14px; }
.tabs-inline a { font: 500 1rem var(--f-caps); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: var(--bone-dim); }
.tabs-inline a.active { color: var(--blood-hi); }

/* ── About + errors ───────────────────────────────────────────────────── */
.about-logo { width: min(540px, 100%); margin: 0 auto 10px; filter: drop-shadow(0 0 40px rgba(227,18,11,.3)); }
.about h1 { text-align: center; margin-bottom: 14px; }
.about .lede { text-align: center; }
.about h2.label { margin-top: 34px; }
.about p { font: 400 1.2rem/1.7 var(--f-read); }
.score-legend { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.score-legend li { display: flex; gap: 16px; align-items: center; font: 400 1.1rem var(--f-read); }
.error-page { text-align: center; padding-top: 80px !important; }
.error-code { font: 400 10rem/1 var(--f-horror); color: var(--blood); text-shadow: 0 0 50px rgba(227,18,11,.6); animation: flicker 4s infinite; }
.error-page h1 { margin-bottom: 14px; }

/* ── Footer ───────────────────────────────────────────────────────────── */
.footer { margin-top: auto; background: #000; border-top: 3px solid var(--gore); }
.footer-inner { width: min(var(--wrap), 100% - 32px); margin: 0 auto; padding: 36px 0 44px; display: grid; grid-template-columns: auto 1fr; gap: 8px 28px; align-items: center; }
.footer-brand img { height: 72px; width: auto; filter: drop-shadow(0 0 10px rgba(227,18,11,.45)); }
.footer-links { display: flex; gap: 20px; justify-self: end; flex-wrap: wrap; }
.footer-links a { font: 500 1rem var(--f-caps); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; color: var(--bone-dim); }
.footer-warn { grid-column: 1 / -1; margin: 18px 0 0; font: 400 .9rem var(--f-type); color: var(--blood-hi); letter-spacing: .08em; }
.tmdb-credit { grid-column: 1 / -1; font: 400 .78rem var(--f-type); color: var(--ash); margin: 4px 0 0; }
.tmdb-credit a { color: var(--bone-dim); }

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .navsearch input { width: 170px; }
  .navsearch input:focus { width: 200px; }
}
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .mainnav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; background: #050202; padding: 12px 16px 20px; border-bottom: 2px solid var(--gore); gap: 2px; }
  .mainnav.open { display: flex; }
  .navsearch { margin: 8px 0; }
  .navsearch input, .navsearch input:focus { width: 100%; }
  .nav-user { flex-wrap: wrap; }
  .usermenu-panel { position: static; box-shadow: none; margin-top: 6px; }
  .home-columns { grid-template-columns: 1fr; gap: 24px; }
  .feature-inner { flex-direction: column; align-items: flex-start; gap: 30px; }
  .feature-poster { width: 190px; }
  .movie-hero-inner, .person-head { flex-direction: column; }
  .movie-poster, .person-photo { width: 210px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { justify-self: start; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .brand img { height: 52px; }
  .topbar-inner { min-height: 62px; }
  .chat-row, .chat-right { flex-direction: column; align-items: stretch; margin-left: 0; gap: 0; }
  .chat-who { flex-direction: row; width: auto; gap: 12px; text-align: left; }
  .chat-right .chat-who { flex-direction: row-reverse; text-align: right; }
  .chat-who .avatar-lg { width: 100px; height: 100px; }
  .chat-who .avatar-initials.avatar-lg { width: 80px; height: 80px; font-size: 2.2rem; }
  .bubble { margin-bottom: 0; margin-top: 16px; padding: 20px; transform: none !important; }
  .chat-left .bubble::before { left: 36px; top: -20px; bottom: auto; width: 30px; height: 22px; clip-path: polygon(0 0, 100% 100%, 0 100%); }
  .chat-right .bubble::before { right: 36px; left: auto; top: -20px; bottom: auto; width: 30px; height: 22px; clip-path: polygon(100% 0, 100% 100%, 0 100%); }
  .feature-quote .avatar { width: 62px; height: 62px; }
  .feature-quote .bubble::before { display: none; }
  .feature-quote .bubble-compact { margin-bottom: 0; }
  .feature-quotes { gap: 14px; }
  .feature-titlerow .score-xl { width: 92px; height: 92px; font-size: 2.3rem; }
  .critic-review-row { flex-direction: column; }
  .critic-review-poster { width: 96px; }
  .critic-head { flex-direction: column; align-items: flex-start; }
  .gallery { grid-auto-columns: 160px; }
  .quick-import { flex-direction: column; align-items: stretch; }
  .contrib-grid, .import-list { grid-template-columns: 1fr; }
  .poster-grid { grid-template-columns: repeat(auto-fill, minmax(135px, 1fr)); gap: 24px 14px; }
  .toe-tag { width: 56px; height: 34px; font-size: 1.1rem; }
  .ranked-title { font-size: 1.05rem; }
  .tape { font-size: .85rem; }
}

/* Motion off for people who ask the OS for less of it */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
