:root {
  --bg: #0b0b10;
  --surface: #15151d;
  --surface-2: #1d1d27;
  --line: #2a2a36;
  --text: #f3f1ec;
  --muted: #a3a1ad;
  --accent: #ff3d5a;
  --gold: #f5c26b;
  --radius: 12px;
  --gutter: clamp(16px, 4vw, 48px);
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body {
  font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  overflow-x: hidden;
}
a { color: inherit; }
img { display: block; max-width: 100%; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  padding: 14px var(--gutter);
  background: rgba(11, 11, 16, .88); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.logo { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.logo img { height: 28px; width: auto; }
.footer-logo { display: inline-block; margin-bottom: 16px; }
.footer-logo img { height: 24px; width: auto; opacity: .9; }
@media (max-width: 600px) { .logo img { height: 26px; } }
.logo-ai { color: var(--bg); background: var(--gold); padding: 1px 6px; border-radius: 6px; margin-right: 2px; }
.nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.nav::-webkit-scrollbar { display: none; }
.nav a { text-decoration: none; color: var(--muted); padding: 6px 10px; border-radius: 8px; font-weight: 600; font-size: 15px; white-space: nowrap; }
.nav a:hover { color: var(--text); background: var(--surface-2); }
.nav-search { color: var(--text) !important; border: 1px solid var(--line); }

/* Hero (Netflix-style billboard) */
.hero {
  position: relative; min-height: min(78vh, 760px); display: flex; align-items: flex-end;
  padding: 0 var(--gutter) clamp(40px, 8vh, 90px); overflow: hidden; isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; z-index: -2; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, var(--bg) 0%, rgba(11,11,16,.6) 28%, rgba(11,11,16,0) 60%),
    linear-gradient(to right, rgba(11,11,16,.92) 0%, rgba(11,11,16,.55) 38%, rgba(11,11,16,0) 70%);
}
.hero-inner { max-width: 620px; }
.hero h1 { font-size: clamp(34px, 6vw, 64px); line-height: 1.02; letter-spacing: -.03em; margin: 6px 0 12px; }
.hero-title { font-size: clamp(40px, 7.5vw, 84px) !important; font-weight: 900; text-shadow: 0 4px 30px rgba(0,0,0,.5); }
.hero-sub { color: #e2dfe8; font-size: clamp(15px, 1.8vw, 19px); margin: 0 0 22px; text-shadow: 0 2px 12px rgba(0,0,0,.6);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-play { background: #fff; color: #000; }
.hero .btn-ghost { background: rgba(109,109,110,.7); border: 0; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 700; color: var(--gold); margin: 0; }
.rows { margin-top: -40px; position: relative; z-index: 1; }

.btn {
  display: inline-block; background: var(--accent); color: #fff; text-decoration: none;
  font-weight: 700; padding: 12px 20px; border-radius: 10px;
}
.btn:hover { filter: brightness(1.1); }
.btn-ghost { background: transparent; border: 1px solid var(--line); }

/* Rows */
.row { padding: 28px 0 8px; }
.row-head { display: flex; align-items: baseline; justify-content: space-between; padding: 0 var(--gutter); }
.row-head h2 { font-size: 21px; margin: 0 0 10px; letter-spacing: -.01em; }
.row-head h2 a { text-decoration: none; }
.row-head .chev { color: var(--accent); opacity: 0; transition: opacity .15s, margin .15s; }
.row:hover .chev { opacity: 1; margin-left: 4px; }
.see-all { color: var(--muted); font-size: 14px; text-decoration: none; }
.see-all:hover { color: var(--text); }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 280px); gap: 14px;
  overflow-x: auto; overflow-y: visible; padding: 10px var(--gutter) 22px; scroll-snap-type: x proximity;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: thin;
}
.rail > .card { scroll-snap-align: start; }
.rail-tall { grid-auto-columns: minmax(150px, 180px); }

/* Cards */
.card { text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s ease, border-color .2s, box-shadow .2s; }
.card:hover, .card:focus-visible { transform: scale(1.05); border-color: #55556a; box-shadow: 0 14px 34px rgba(0,0,0,.55); z-index: 2; position: relative; }
.card-media { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-tall .card-media { aspect-ratio: 9 / 16; }
.card-tall .card-body { padding: 8px 10px 10px; }
.card-tall .card-title { font-size: 14px; }
.grid-tall { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.badge { position: absolute; left: 8px; top: 8px; background: rgba(0,0,0,.72); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 7px; border-radius: 6px; }
.card-body { padding: 10px 12px 12px; }
.card-title { font-size: 15px; line-height: 1.3; margin: 0 0 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-meta { color: var(--muted); font-size: 13px; margin: 0; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; padding: 8px var(--gutter) 40px; }

/* Page heads */
.page-head { padding: 36px var(--gutter) 12px; max-width: 900px; }
.page-head h1 { font-size: clamp(30px, 5vw, 46px); letter-spacing: -.02em; margin: 0 0 6px; }
.page-head p { color: var(--muted); margin: 0 0 6px; }
.count { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; }
.prose p, .prose h2 { color: var(--text); }
.prose p { color: #d6d3dc; max-width: 68ch; }
.empty { padding: 48px var(--gutter); color: var(--muted); text-align: center; }
.empty a { color: var(--gold); }

/* Watch page */
.watch { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 32px; padding: 28px var(--gutter); align-items: start; }
.player { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius); overflow: hidden; }
.player-portrait { aspect-ratio: 9 / 16; max-height: 78vh; margin: 0 auto; width: auto; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.play { all: unset; cursor: pointer; position: absolute; inset: 0; display: block; }
.play img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.play-icon { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: var(--accent); box-shadow: 0 10px 30px rgba(0,0,0,.5); }
.play-icon::after { content: ""; position: absolute; left: 30px; top: 22px; border-style: solid; border-width: 16px 0 16px 26px; border-color: transparent transparent transparent #fff; }
.play:hover .play-icon, .play:focus-visible .play-icon { transform: scale(1.06); }
.watch-info h1 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.1; letter-spacing: -.02em; margin: 6px 0 8px; }
.by { color: var(--muted); margin: 0 0 14px; }
.by a { color: var(--gold); }
.desc { color: #d6d3dc; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 20px; }
.tag { font-size: 13px; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); text-decoration: none; }
.tag-tool { color: var(--gold); }

/* Search */
.search input {
  width: 100%; max-width: 640px; font: inherit; color: var(--text);
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; margin-top: 12px;
}
.search input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 28px var(--gutter) 40px; color: var(--muted); font-size: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 16px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--text); }
.fine { margin: 6px 0; }
.fine a { color: var(--gold); }

/* Header: nav, search box, account */
.nav a[aria-current] { color: var(--text); background: var(--surface-2); }
.nav-searchbox { margin-left: auto; flex: 0 1 240px; min-width: 140px; }
.nav-searchbox input { width: 100%; font: inherit; font-size: 14px; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; }
.nav-searchbox input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.nav-account { text-decoration: none; font-weight: 700; font-size: 14px; padding: 7px 14px; border-radius: 999px; background: var(--accent); color: #fff; white-space: nowrap; }
/* Genre tabs */
.tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px var(--gutter) 4px; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a { text-decoration: none; white-space: nowrap; font-weight: 700; font-size: 14px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); background: var(--surface); }
.tabs a:hover { color: var(--text); }
.tabs a[aria-selected="true"] { color: var(--bg); background: var(--gold); border-color: var(--gold); }
/* Header: submit link */
.nav-upload { color: var(--gold) !important; }

/* Forms (upload, DMCA, admin) */
.form { display: grid; gap: 18px; max-width: 760px; padding: 8px var(--gutter) 48px; }
.form-inline { display: flex; gap: 10px; flex-wrap: wrap; padding: 0 var(--gutter) 20px; max-width: none; }
.field { display: grid; gap: 6px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label, .field legend { font-weight: 700; font-size: 14px; }
.req { color: var(--accent); }
.hint { color: var(--muted); font-size: 13px; margin: 0; font-weight: 400; }
.form input:not([type=checkbox]):not([type=radio]), .form textarea, .a-note {
  width: 100%; font: inherit; color: var(--text); background: var(--surface); border: 1px solid var(--line);
  border-radius: 10px; padding: 12px 14px;
}
.form-inline input { width: auto; flex: 1 1 260px; }
.form input:focus, .form textarea:focus, .a-note:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.form input[type=file] { padding: 10px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.check { display: inline-flex; align-items: flex-start; gap: 8px; font-weight: 400; font-size: 14px; cursor: pointer; }
.checks .check { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-2); }
.checks .check:has(input:checked) { border-color: var(--accent); }
.check input { accent-color: var(--accent); margin-top: 3px; }
.check-terms { color: #d6d3dc; line-height: 1.45; }
.check-terms a, .form-msg a { color: var(--gold); }
.form .btn { justify-self: start; border: 0; cursor: pointer; font: inherit; font-weight: 700; }
.btn[disabled] { opacity: .5; cursor: wait; }
button.btn { border: 0; cursor: pointer; font: inherit; font-weight: 700; }
button.btn-ghost { border: 1px solid var(--line); color: var(--text); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin: 0; font-weight: 600; }
.form-msg.ok { color: #7ee0a1; }
.form-msg.err { color: var(--accent); }
.progress .bar { height: 8px; background: var(--surface-2); border-radius: 999px; overflow: hidden; }
.progress .bar span { display: block; height: 100%; width: 0; background: var(--accent); transition: width .2s; }
.u-preview { width: 100%; max-height: 320px; background: #000; border-radius: var(--radius); margin-top: 6px; }

/* Show pages (Horrorville) */
.hero-show { min-height: min(62vh, 620px); }
.subnav { display: flex; gap: 6px; flex-wrap: wrap; padding: 18px var(--gutter) 0; }
.subnav a { text-decoration: none; color: var(--muted); font-weight: 700; font-size: 15px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); }
.subnav a:hover { color: var(--text); }
.subnav a[aria-current] { color: var(--bg); background: var(--gold); border-color: var(--gold); }
.show-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 40px; padding: 8px var(--gutter) 24px; align-items: start; }
.show-main { padding: 8px var(--gutter) 24px; max-width: 900px; }
.show-layout .show-main { padding: 0; }
.show-main h2 { font-size: 24px; letter-spacing: -.01em; margin: 32px 0 10px; }
.show-side { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; position: sticky; top: 84px; margin-top: 32px; }
.show-side h2, .show-side h3 { font-size: 16px; margin: 18px 0 8px; }
.show-side h2:first-child { margin-top: 0; }
.show-side a:not(.btn) { color: var(--gold); }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0; font-size: 14px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }
.plain { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; color: #d6d3dc; }
.episode-guide { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.episode-guide a { display: grid; grid-template-columns: 180px 1fr; gap: 16px; align-items: center; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; transition: border-color .2s; }
.episode-guide a:hover { border-color: #55556a; }
.episode-guide li.is-current a { border-color: var(--accent); }
.episode-guide img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; }
.episode-guide h3 { margin: 2px 0 4px; font-size: 16px; }
.episode-guide p { margin: 0; color: #d6d3dc; font-size: 14px; }
.episode-guide .ep-num { color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.faq dt { font-weight: 700; margin-top: 14px; }
.faq dd { margin: 4px 0 0; color: #d6d3dc; }
.char-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; padding: 20px var(--gutter); }
.char { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.char h2 { margin: 0; font-size: 22px; }
.char-role { color: var(--gold); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin: 4px 0 10px; }
.char p:last-child { color: #d6d3dc; margin: 0; }
.ep-nav { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.eyebrow a { color: inherit; }
.agent { font-style: normal; line-height: 1.6; }
.footer-legal { border-top: 1px solid var(--line); padding-top: 14px; }
.player video { position: absolute; inset: 0; width: 100%; height: 100%; background: #000; }

/* Admin */
.a-bar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }
.admin #a-body { padding: 0 var(--gutter) 40px; }
.a-item { display: grid; grid-template-columns: minmax(0, 360px) 1fr; gap: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin-bottom: 14px; }
.a-notice { grid-template-columns: 1fr; }
.a-media video { width: 100%; border-radius: 8px; background: #000; }
.a-info h2 { margin: 0 0 4px; font-size: 20px; }
.a-info p { margin: 6px 0; }
.a-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.a-actions .a-note { flex: 1 1 220px; width: auto; }
.a-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin-bottom: 16px; }
.a-stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.a-stat strong { display: block; font-size: 28px; }
.a-stat span { color: var(--muted); font-size: 13px; }
.a-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.a-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; margin-bottom: 14px; }
.a-card h3 { margin: 0 0 8px; font-size: 15px; }
.a-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.a-table td, .a-table th { padding: 5px 6px; border-top: 1px solid var(--line); text-align: left; }
.a-num { text-align: right !important; font-variant-numeric: tabular-nums; width: 1%; white-space: nowrap; }
.a-barcell { width: 30%; }
.a-barcell span { display: block; height: 6px; border-radius: 999px; background: var(--accent); }

@media (max-width: 820px) {
  .watch { grid-template-columns: 1fr; gap: 20px; padding-top: 16px; }
  .site-header { gap: 10px; }
  .rail { grid-auto-columns: 72%; }
  .rail-tall { grid-auto-columns: 42%; }
  .grid-tall { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
  .hero { min-height: 70vh; }
  .rows { margin-top: -20px; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
  .field-row, .show-layout, .a-item { grid-template-columns: 1fr; }
  .site-header { position: static; }
  .nav-account { order: 1; margin-left: auto; }
  .nav-searchbox { order: 2; flex: 1 1 100%; margin-left: 0; }
  .nav { order: 3; width: 100%; }
  .show-side { position: static; margin-top: 0; }
  .episode-guide a { grid-template-columns: 120px 1fr; gap: 12px; }
}
.notfound .search input { margin: 18px auto 14px; display: block; }
.nf-links { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.about .lead { font-size: 19px; color: var(--text); max-width: 62ch; }
.about h1 { max-width: 16ch; }
.how { padding-left: 20px; display: grid; gap: 10px; color: #d6d3dc; max-width: 68ch; }
.how a, .about p a:not(.btn) { color: var(--gold); }
/* Accounts */
.auth-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; padding: 8px var(--gutter) 48px; max-width: 900px; }
.auth-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; max-width: none; }
.auth-card h2 { margin: 0; font-size: 20px; }
.auth-card .hint a { color: var(--gold); }
.acct-signout { padding: 8px var(--gutter) 40px; }
.user-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin: 0 0 16px; }
.ua-list[aria-pressed="true"] { border-color: var(--gold); color: var(--gold); }
.stars { display: inline-flex; gap: 2px; }
.stars button { all: unset; cursor: pointer; font-size: 24px; line-height: 1; color: #4a4a5a; padding: 2px; }
.stars button.on, .stars:hover button { color: var(--gold); }
.stars button:hover ~ button { color: #4a4a5a; }
.stars button:focus-visible { outline: 2px solid var(--accent); border-radius: 4px; }
.ua-avg { color: var(--muted); font-size: 14px; }

/* ---------- Community (Phase 1) ---------- */
.muted { color: var(--muted); }
.page-pad { padding: 40px var(--gutter); }
.linkish { background: none; border: 0; padding: 0; font: inherit; font-size: 13px; font-weight: 600; color: var(--muted); cursor: pointer; text-decoration: none; }
.linkish:hover { color: var(--text); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; background: var(--surface-2); flex: none; }
.avatar-lg { width: 72px; height: 72px; }
.avatar-xl { width: 112px; height: 112px; border: 3px solid var(--line); }
.seg { display: inline-flex; gap: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.seg button { background: none; border: 0; color: var(--muted); font: inherit; font-size: 14px; font-weight: 700; padding: 6px 14px; border-radius: 999px; cursor: pointer; }
.seg button[aria-selected="true"] { background: var(--surface-2); color: var(--text); }

.discussion { padding: 8px var(--gutter) 28px; max-width: 900px; }
.disc-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 8px 0 14px; }
.disc-head h2 { margin: 0; font-size: 22px; }

.composer { display: flex; gap: 12px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; margin: 0 0 18px; }
.composer-body { flex: 1; min-width: 0; display: grid; gap: 10px; }
.composer textarea, .composer input[name=handle] { width: 100%; font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; resize: vertical; }
.composer textarea:focus, .composer input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.composer-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.composer-actions .btn { margin-left: auto; border: 0; cursor: pointer; font: inherit; font-weight: 700; padding: 8px 18px; }
.composer-actions .form-msg { font-size: 13px; }
.composer-preview { display: flex; align-items: center; gap: 12px; }
.composer-preview img { max-height: 120px; border-radius: 8px; }
.composer-compact { padding: 10px; margin: 8px 0 4px; background: var(--bg); }
.composer-note { margin: 0 0 18px; }
.handle-pick { display: block; }
.handle-pick p { margin: 0 0 10px; }
.composer-row { display: flex; gap: 8px; align-items: center; }
.composer-row .at { color: var(--muted); font-weight: 700; }
.composer-row input { flex: 1; }
.composer-row .btn { border: 0; cursor: pointer; font: inherit; font-weight: 700; padding: 9px 16px; }
.file-btn { cursor: pointer; }

.item { display: flex; gap: 10px; padding: 12px 0 4px; border-top: 1px solid var(--line); }
.children .item { border-top: 0; padding-top: 8px; }
.children { margin-left: 4px; padding-left: 14px; border-left: 2px solid var(--line); }
.children:empty { display: none; }
.children.flat { margin-left: 0; padding-left: 0; border-left: 0; }
.item.is-focus > .item-main > .item-body { background: rgba(245, 194, 107, .08); border-radius: 8px; box-shadow: 0 0 0 6px rgba(245, 194, 107, .08); }
.item.is-low > .item-main > .item-body, .item.is-low > .item-main > .children { display: none; }
.vote { display: flex; flex-direction: column; align-items: center; gap: 2px; width: 34px; flex: none; }
.vote button { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 14px; line-height: 1; padding: 4px 6px; border-radius: 6px; }
.vote button:hover:not(:disabled) { background: var(--surface-2); color: var(--text); }
.vote .up.on { color: var(--accent); }
.vote .down.on { color: #7aa2ff; }
.vote .score { font-weight: 800; font-size: 14px; }
.item-main { flex: 1; min-width: 0; }
.item-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; }
.who { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; min-width: 0; }
.who .avatar { width: 26px; height: 26px; }
.who-name { font-weight: 700; }
.who-handle, .when, .ctx { color: var(--muted); font-size: 13px; text-decoration: none; }
.when:hover { color: var(--text); }
.ctx a { color: var(--gold); text-decoration: none; }
.item-body { margin: 6px 0 4px; overflow-wrap: anywhere; color: #e4e1ea; }
.item-body a { color: var(--gold); }
.item-img { margin-top: 8px; max-height: 420px; max-width: 100%; border-radius: 10px; border: 1px solid var(--line); }
.item-foot { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin: 2px 0 6px; }
.report-box, .del-box { font-size: 13px; color: var(--muted); display: inline-flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.report-box select { font: inherit; font-size: 13px; background: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: 6px; padding: 3px 6px; }
.held { display: inline-block; font-size: 12px; font-weight: 700; color: var(--bg); background: var(--gold); border-radius: 6px; padding: 2px 8px; margin: 6px 0 0; }

.community-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; padding: 8px var(--gutter) 40px; align-items: start; }
.community-main { min-width: 0; max-width: 820px; }
.feed-tabs { margin: 0 0 8px; }
.feed .item { padding: 14px 0 6px; }
.feed-more { text-align: center; }
.rules { position: sticky; top: 90px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.rules h2 { font-size: 16px; margin: 0 0 8px; }
.rules .fine { font-size: 13px; color: var(--muted); margin: 12px 0 0; }
.rules ol { margin: 0; padding-left: 20px; color: #d6d3dc; font-size: 14px; display: grid; gap: 6px; }
.back { margin: 16px 0 4px; }
.back a { color: var(--muted); text-decoration: none; font-weight: 600; }
.post-thread .item { border-top: 0; }
.post-thread .item-body { font-size: 18px; }
.replies-h { font-size: 18px; margin: 18px 0 12px; }

.profile-head { display: flex; gap: 24px; align-items: flex-start; padding: 36px var(--gutter) 8px; flex-wrap: wrap; }
.profile-head h1 { margin: 0; font-size: clamp(26px, 4vw, 38px); }
.profile-head .bio { max-width: 60ch; color: #d6d3dc; margin: 8px 0; }
.profile-head .stats { display: flex; gap: 18px; color: var(--muted); font-size: 14px; flex-wrap: wrap; margin: 6px 0 12px; }
.profile-head .stats strong { color: var(--text); }

.profile-form { padding-bottom: 24px; }
.profile-form h2 { margin: 0; }
.avatar-edit { display: flex; gap: 16px; align-items: center; }
.avatar-edit .hint { margin: 6px 0 0; }
.profile-form textarea { resize: vertical; }

.community-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 300px); gap: 14px; overflow-x: auto; padding: 10px var(--gutter) 22px; scrollbar-width: none; }
.community-rail::-webkit-scrollbar { display: none; }
.cpost { display: flex; flex-direction: column; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; text-decoration: none; min-height: 150px; transition: border-color .2s, transform .2s; }
.cpost:hover { border-color: #55556a; transform: translateY(-2px); }
.cpost-head { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); font-weight: 600; }
.cpost-head .avatar { width: 24px; height: 24px; }
.cpost-score { margin-left: auto; color: var(--accent); }
.cpost-body { color: #e4e1ea; font-size: 15px; line-height: 1.45; flex: 1; }
.cpost-ctx { color: var(--gold); font-size: 13px; }

@media (max-width: 900px) {
  .community-layout { grid-template-columns: 1fr; }
  .rules { position: static; order: -1; }
}
@media (max-width: 600px) {
  .composer > .avatar { display: none; }
  .children { padding-left: 10px; }
  .profile-head { gap: 16px; }
  .avatar-xl { width: 84px; height: 84px; }
  .rules { display: none; }
}
.a-quote { margin: 8px 0; padding: 10px 14px; border-left: 3px solid var(--gold); background: var(--bg); border-radius: 0 8px 8px 0; white-space: pre-wrap; overflow-wrap: anywhere; }

/* Creator watermark over the Horrorville banner */
.hero-wm { position: absolute; right: var(--gutter); bottom: clamp(24px, 5vh, 48px); display: flex; flex-direction: column; align-items: flex-end; gap: 6px; pointer-events: none; opacity: .92; }
.hero-wm img { height: 22px; width: auto; filter: drop-shadow(0 2px 6px rgba(0,0,0,.7)); }
.hero-wm span { font-size: 13px; font-weight: 700; color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.9); letter-spacing: .02em; }
@media (max-width: 820px) { .hero-wm { bottom: 12px; } .hero-wm img { height: 18px; } .hero-wm span { font-size: 12px; } }

/* Platform view counts */
.stats-line { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: baseline; margin: -6px 0 14px; color: var(--muted); font-size: 14px; }
.stats-line strong { color: var(--text); font-weight: 800; }
.stats-src { font-size: 12px; }
.card-views { margin: 4px 0 0; font-size: 12px; color: var(--muted); font-weight: 600; }

/* Top comments from YouTube */
.yt-comments { padding: 4px var(--gutter) 28px; max-width: 900px; }
.ytc-list { list-style: none; margin: 0; padding: 0; }
.ytc { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.ytc > div { min-width: 0; }
.ytc-head { margin: 0; font-size: 14px; font-weight: 700; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.ytc-head a { text-decoration: none; }
.ytc-head span { color: var(--muted); font-weight: 400; font-size: 13px; }
.ytc-text { margin: 4px 0; color: #e4e1ea; overflow-wrap: anywhere; }
.ytc-meta { margin: 0; color: var(--muted); font-size: 13px; display: flex; gap: 14px; }
.ytc-meta:empty { display: none; }
.ytc-more summary { cursor: pointer; color: var(--gold); font-weight: 700; font-size: 14px; padding: 10px 0; }

/* Series cards: one card per series */
.ep-count { position: absolute; right: 8px; bottom: 8px; background: rgba(0,0,0,.78); font-size: 11px; font-weight: 700; padding: 3px 7px; border-radius: 6px; }
.card-series .card-body { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-cta { align-self: flex-start; margin-top: auto; background: var(--accent); color: #fff; font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 8px; white-space: nowrap; }
.card-series:hover .card-cta, .card-series:focus-visible .card-cta { filter: brightness(1.1); }
.card-tall .card-cta { font-size: 12px; padding: 5px 10px; }

/* Series page player. The logo and Up Next sit in a bar under the player, never on top of it. */
.series-player { min-width: 0; scroll-margin-top: 80px; }
.player-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; padding: 8px 2px 0; }
.player-wm { display: inline-flex; flex: none; opacity: 1; }
.player-wm img { height: 24px; width: auto; display: block; }
.upnext { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; margin-left: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 6px 8px 6px 12px; font-size: 13px; max-width: 100%; }
.upnext[hidden] { display: none; }
.un-label { color: var(--gold); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: 11px; }
.un-title { max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.un-count { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--accent); font-weight: 800; font-variant-numeric: tabular-nums; }
.un-btn, .un-cancel { font: inherit; font-weight: 700; cursor: pointer; border-radius: 8px; padding: 6px 12px; }
.un-btn { background: var(--accent); color: #fff; border: 0; }
.un-cancel { background: transparent; color: var(--text); border: 1px solid var(--line); }
.un-cancel:hover { border-color: #55556a; }
.now-playing { margin: 10px 2px 0; color: var(--muted); font-size: 14px; }
.now-playing strong { color: var(--text); }
.series-info h1, .series-info h2 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.1; letter-spacing: -.02em; margin: 6px 0 8px; }
.series-info .eyebrow a { color: inherit; text-decoration: none; }
.series-eps a { cursor: pointer; }
.series-eps li.is-current a { border-color: var(--accent); box-shadow: inset 3px 0 0 var(--accent); }
@media (max-width: 820px) {
  .player-wm img { height: 20px; }
  .un-title { max-width: 150px; }
}
@media (max-width: 520px) { .un-title { display: none; } }

/* Movie mode: the player (or the whole series player, with its Up Next bar) goes full screen on play.
   Standard and Safari selectors are kept in separate rules so one unknown selector can't cancel the other. */
.player:fullscreen { width: 100vw; height: 100vh; max-height: none; aspect-ratio: auto; border-radius: 0; margin: 0; background: #000; }
.player:-webkit-full-screen { width: 100vw; height: 100vh; max-height: none; aspect-ratio: auto; border-radius: 0; margin: 0; background: #000; }
.series-player:fullscreen { display: flex; flex-direction: column; width: 100vw; height: 100vh; padding: 0 16px 10px; box-sizing: border-box; background: #000; }
.series-player:-webkit-full-screen { display: flex; flex-direction: column; width: 100vw; height: 100vh; padding: 0 16px 10px; box-sizing: border-box; background: #000; }
.series-player:fullscreen .player { flex: 1; height: auto; max-height: none; aspect-ratio: auto; border-radius: 0; margin: 0 -16px; width: calc(100% + 32px); }
.series-player:-webkit-full-screen .player { flex: 1; height: auto; max-height: none; aspect-ratio: auto; border-radius: 0; margin: 0 -16px; width: calc(100% + 32px); }
.series-player:fullscreen .now-playing { margin: 6px 2px 0; }
.series-player:-webkit-full-screen .now-playing { margin: 6px 2px 0; }

/* Home billboard preview (Horrorville episode 1), beside the text, never under it */
.hero-preview-wrap { position: absolute; right: var(--gutter); bottom: calc(clamp(24px, 5vh, 48px) + 60px); width: min(44vw, 660px); z-index: 1; }
.hero-preview { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius); overflow: hidden; box-shadow: 0 18px 50px rgba(0,0,0,.6); cursor: pointer; }
.hero-preview img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.hero-preview iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.hero-preview-cap { margin: 8px 2px 0; font-size: 13px; font-weight: 700; }
.hero-preview-cap a { color: #fff; text-decoration: none; text-shadow: 0 1px 6px rgba(0,0,0,.8); }
.hero-preview-cap a:hover { text-decoration: underline; }
.hero:has(.hero-preview-wrap) .hero-inner { max-width: min(620px, 46vw); }
@media (max-width: 820px) {
  .hero:has(.hero-preview-wrap) { flex-direction: column; align-items: stretch; justify-content: flex-end; }
  .hero:has(.hero-preview-wrap) .hero-inner { max-width: none; }
  .hero-preview-wrap { position: static; width: 100%; margin-top: 18px; }
}

/* Theater: a film clicked from any list plays over the page, full screen */
html.theater-open { overflow: hidden; }
.theater { position: fixed; inset: 0; z-index: 1000; background: #000; display: flex; flex-direction: column; }
.theater-bar { flex: none; display: flex; align-items: center; gap: 12px; padding: 8px 14px; color: #fff; }
.theater-close { font: inherit; font-size: 20px; line-height: 1; background: none; border: 0; color: #fff; cursor: pointer; padding: 6px 8px; border-radius: 8px; }
.theater-close:hover { background: rgba(255,255,255,.12); }
.theater-title { flex: 1; min-width: 0; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.theater-more { color: #cfcdd6; font-size: 14px; white-space: nowrap; text-decoration: none; }
.theater-more:hover { color: #fff; text-decoration: underline; }
.theater-stage { flex: 1; min-height: 0; position: relative; }
.theater-stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Home genre bar */
.genre-nav { position: relative; z-index: 2; padding-top: 6px; padding-bottom: 6px; }

/* Browse by genre page */
.genre-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; padding: 8px var(--gutter) 40px; }
.genre-tile { display: block; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .2s, transform .2s; }
.genre-tile:hover { border-color: #55556a; transform: translateY(-2px); }
.genre-posters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; background: #000; }
.genre-posters img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.genre-tile h2 { margin: 12px 14px 2px; font-size: 20px; }
.genre-tile p { margin: 0 14px 14px; color: var(--muted); font-size: 14px; }
/* Header: keep everything on one line on laptops; the nav scrolls sideways if it ever runs out of room */
@media (min-width: 821px) { .nav { flex: 1 1 0; min-width: 0; } }
@media (min-width: 821px) and (max-width: 1400px) { .nav a { padding: 6px 8px; font-size: 14px; } .site-header { gap: 14px; } .nav-searchbox { flex-basis: 200px; } }

/* SEO landing pages */
.ranked { counter-reset: rank; }
.ranked > .card { counter-increment: rank; position: relative; }
.ranked > .card::before { content: counter(rank); position: absolute; z-index: 2; right: 8px; top: 8px; min-width: 30px; height: 30px; padding: 0 6px; border-radius: 999px; background: var(--gold); color: var(--bg); font-weight: 900; font-size: 14px; display: grid; place-items: center; }
.creator-list { list-style: none; margin: 0; padding: 8px var(--gutter) 40px; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.creator-list a { display: flex; gap: 12px; align-items: center; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px; }
.creator-list a:hover { border-color: #55556a; }
.creator-list img { width: 120px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; flex: none; }
.creator-list span { display: flex; flex-direction: column; min-width: 0; }
.creator-list strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.creator-list small { color: var(--muted); }
.seo-intro { padding: 24px var(--gutter) 8px; max-width: 900px; color: #cfcdd6; font-size: 15px; }
.seo-intro h2 { color: var(--text); font-size: 22px; margin: 0 0 8px; }
.seo-intro a { color: var(--text); }
.page-head .eyebrow a { color: inherit; text-decoration: none; }
/* About this film, guides, badge */
.about-film { padding-top: 4px; }
.about-film h2 { margin-top: 8px; }
.about-film .facts { margin-top: 10px; }
.guide h2 { margin-top: 28px; }
.guide-links { margin-top: 28px; display: flex; gap: 10px; flex-wrap: wrap; }
.guide-list { list-style: none; padding: 0; display: grid; gap: 12px; }
.guide-list a { display: block; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.guide-list a:hover { border-color: #55556a; }
.guide-list strong { display: block; font-size: 18px; margin-bottom: 4px; }
.guide-list span { color: var(--muted); font-size: 14px; }
.badge-box { border-top: 1px solid var(--line); margin-top: 12px; }
.badge-code { width: 100%; font: 12px/1.4 ui-monospace, Menlo, monospace; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 10px; resize: vertical; }
a.tag-tool { text-decoration: none; }

/* AI Film Festivals */
.fest-nav { margin: 0 var(--gutter) 8px; }
.fest-section { padding: 8px var(--gutter) 24px; }
.fest-section h2 { font-size: 22px; margin: 18px 0 14px; }
.fest-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 18px; }
.fest-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; scroll-margin-top: 90px; }
.fest-card:target { border-color: var(--gold); }
.fest-media { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--surface-2); }
.fest-media img { width: 100%; height: 100%; object-fit: cover; }
.fest-ph { height: 100%; display: flex; align-items: center; justify-content: center; padding: 16px; text-align: center; background: radial-gradient(circle at 50% 40%, #2a2130, #0f0f15 70%); }
.fest-ph span { color: var(--gold); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; font-size: 14px; border: 1px solid rgba(245,194,107,.5); border-radius: 999px; padding: 6px 14px; }
.badge-win { background: var(--gold); color: #1a1406; }
.fest-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.fest-body h3 { margin: 0; font-size: 18px; line-height: 1.25; }
.fest-body h3 a { text-decoration: none; }
.fest-meta { margin: 0; color: var(--muted); font-size: 14px; }
.fest-log { margin: 2px 0; font-size: 14px; }
.fest-links { margin: auto 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 14px; }
.fest-links .fine { margin: 0; color: var(--muted); font-size: 12px; }
.fest-body .tags { margin: 4px 0; }
.laurels { list-style: none; margin: 2px 0; padding: 0; display: grid; gap: 4px; font-size: 14px; }
.laurels li { padding-left: 22px; position: relative; }
.laurels li::before { content: "🏆"; position: absolute; left: 0; top: 0; font-size: 13px; }
.laurel-award { font-weight: 700; color: var(--gold); }
.laurel-fest { color: var(--text); }
.laurel-src { color: var(--muted); font-size: 12px; }
.tag-fest { background: rgba(245,194,107,.14); color: var(--gold); border-color: rgba(245,194,107,.4); }
.watch-laurels { margin: 10px 0 14px; padding: 12px 14px; border: 1px solid rgba(245,194,107,.35); border-radius: var(--radius); background: rgba(245,194,107,.05); }
.watch-laurels .eyebrow a { text-decoration: none; }
.btn-sm { padding: 7px 14px; font-size: 14px; }
.fest-note { padding-top: 8px; }

/* Daily News */
.news-wrap { padding: 0 var(--gutter) 32px; max-width: 900px; }
.news-day h2 { font-size: 20px; margin: 26px 0 12px; color: var(--gold); }
.news-item { border-top: 1px solid var(--line); padding: 14px 0; }
.news-item h3 { margin: 0 0 4px; font-size: 18px; line-height: 1.3; }
.news-item h3 a { text-decoration: none; }
.news-item h3 a:hover { text-decoration: underline; }
.news-meta { margin: 0 0 6px; color: var(--muted); font-size: 13px; }
.news-outlet { color: var(--text); font-weight: 600; }
.news-summary { margin: 0 0 6px; font-size: 15px; }
.news-links { margin: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; }

/* Free-watch allowance wall */
.gate { position: fixed; inset: 0; z-index: 1000; background: rgba(5,5,8,.86); display: flex; align-items: center; justify-content: center; padding: 16px; }
.gate-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; max-width: 440px; width: 100%; padding: 28px 24px; text-align: center; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.gate-card h2 { margin: 6px 0 8px; font-size: 24px; line-height: 1.2; }
.gate-card p { margin: 0 0 12px; }
.gate-actions .btn { width: 100%; justify-content: center; }
.gate-login { color: var(--muted); font-size: 15px; }
.gate-login a { color: var(--gold); }
.gate-close { color: var(--muted); font-size: 14px; background: none; border: 0; cursor: pointer; }
html.gate-open { overflow: hidden; }

/* Community landing */
.community-hero .hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 14px; }
.community-hero .hero-ctas .fine { margin: 0; color: var(--muted); }
.community-hero .hero-ctas .fine a { color: var(--gold); }
.today-news { margin: 0 var(--gutter) 18px; padding: 14px 18px; border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: var(--radius); background: var(--surface); }
.today-news h2 { margin: 4px 0; font-size: 19px; line-height: 1.3; }
.today-news h2 a, .today-news .eyebrow a { text-decoration: none; }
.today-news .fine { margin: 0; color: var(--muted); }
.clip-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 16px; padding: 0 var(--gutter); }
.clip-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.clip-media { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--surface-2); }
.clip-media img { width: 100%; height: 100%; object-fit: cover; }
.clip-play { position: absolute; inset: 0; margin: auto; width: 54px; height: 54px; border-radius: 50%; background: rgba(0,0,0,.6); display: flex; align-items: center; justify-content: center; font-size: 20px; padding-left: 4px; }
.clip-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.clip-body h3 { margin: 0; font-size: 16px; line-height: 1.3; }
.clip-body h3 a { text-decoration: none; }
.clip-body .card-meta, .clip-log { margin: 0; font-size: 14px; }
.clip-log { color: var(--muted); }
.clip-body .btn { margin-top: auto; align-self: flex-start; }
.community-talk { padding-top: 24px; }
.community-talk h2 { margin: 0; font-size: 22px; }

/* ---------- 2026 redesign: header, cards, home sections ---------- */
.nav-toggle { display: none; }
.nav-extra { display: none; }
@media (min-width: 821px) {
  .site-header { flex-wrap: nowrap; }
  .nav-searchbox { order: 2; flex: 1 1 260px; max-width: 420px; margin-left: 0; }
  .nav { order: 3; }
  .nav-account { order: 4; }
}
@media (max-width: 820px) {
  .site-header { position: sticky; top: 0; display: grid; grid-template-columns: auto 1fr auto; gap: 10px 12px; padding: 10px 16px; }
  .nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 4px; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); cursor: pointer; padding: 0 10px; }
  .nav-toggle span { display: block; height: 2px; background: var(--text); border-radius: 2px; transition: transform .2s, opacity .2s; }
  html.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  html.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  html.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .logo { justify-self: start; }
  .nav-account { order: 0; margin-left: 0; justify-self: end; }
  .nav-searchbox { grid-column: 1 / -1; order: 0; flex: none; width: 100%; margin: 0; }
  .nav { grid-column: 1 / -1; display: none; flex-direction: column; width: 100%; gap: 2px; padding: 6px 0 4px; border-top: 1px solid var(--line); overflow: visible; }
  html.nav-open .nav { display: flex; }
  .nav a, .nav a.nav-extra { display: block; padding: 11px 6px; font-size: 16px; border-radius: 8px; white-space: normal; }
}
/* Card: still, title, creator · genre, logline, tool chip, Watch */
.card-log { color: var(--muted); font-size: 13px; line-height: 1.35; margin: 4px 0 0; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.card-foot { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 8px 0 0; font-size: 12px; }
.card-foot .card-views { margin: 0; }
.card-watch { margin-left: auto; color: var(--text); font-weight: 700; font-size: 12px; background: rgba(255,255,255,.08); border: 1px solid var(--line); padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.card:hover .card-watch, .card:focus-visible .card-watch { background: var(--accent); border-color: var(--accent); color: #fff; }
.chip { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .02em; color: var(--gold); border: 1px solid rgba(245,194,107,.35); padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.badge-pick { left: auto; right: 8px; background: var(--gold); color: #1a1406; }
.score { position: absolute; right: 8px; bottom: 8px; background: rgba(0,0,0,.78); color: var(--gold); font-weight: 800; font-size: 12px; padding: 3px 7px; border-radius: 6px; }
.score::before { content: "★ "; }
.card-tall .card-foot { margin-top: 6px; }
.score-line { margin: 6px 0; font-size: 14px; color: var(--muted); }
.score-line strong { color: var(--gold); font-size: 16px; }
.badge-inline { display: inline-block; background: var(--gold); color: #1a1406; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 2px 8px; border-radius: 6px; margin-left: 6px; }
.verified { color: #6fd08c; font-size: .7em; font-weight: 700; white-space: nowrap; vertical-align: middle; }
h1 .verified { font-size: 16px; }
/* Home sections */
.home-sec { padding: 8px var(--gutter) 22px; }
.home-sec .row-head { padding: 0; }
.row-sub { color: var(--muted); font-size: 14px; }
.home-divider { margin: 28px var(--gutter) 4px; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.home-genres { grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); padding: 0; }
.home-genres h3 { margin: 8px 0 2px; font-size: 17px; }
.picks-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 16px; }
.pick { display: flex; flex-direction: column; gap: 6px; }
.pick-note { margin: 0; font-size: 13px; color: var(--muted); }
.pick-note strong { color: var(--gold); }
.tool-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.tool-chip { display: flex; flex-direction: column; gap: 2px; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 16px; min-width: 120px; }
.tool-chip strong { font-size: 16px; }
.tool-chip span { font-size: 12px; color: var(--muted); }
.tool-chip:hover { border-color: var(--gold); }
.fest-banner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 20px; align-items: center; text-decoration: none; background: linear-gradient(120deg, #1d1624, var(--surface)); border: 1px solid rgba(245,194,107,.35); border-radius: 16px; padding: 18px; }
.fest-banner-posters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.fest-banner-posters img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; }
.fest-banner-text h2 { margin: 4px 0 6px; font-size: 24px; }
.fest-banner-text p { margin: 0 0 12px; color: var(--muted); }
@media (max-width: 700px) { .fest-banner { grid-template-columns: 1fr; } }
.creator-chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 10px; }
.creator-chip { display: flex; align-items: center; gap: 12px; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 8px; }
.creator-chip img { width: 96px; height: 54px; object-fit: cover; border-radius: 8px; flex: none; }
.creator-chip strong { display: block; font-size: 15px; }
.creator-chip em { display: block; font-style: normal; font-size: 12px; color: var(--muted); }
.creator-chip:hover { border-color: #55556a; }
.news-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.news-list li { display: flex; flex-direction: column; gap: 2px; padding: 10px 0; border-top: 1px solid var(--line); }
.news-list a { font-weight: 700; text-decoration: none; font-size: 16px; line-height: 1.3; }
.news-list a:hover { text-decoration: underline; }
.news-list span { font-size: 13px; color: var(--muted); }
.hero-tools { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 14px; }
.trending .rail.ranked > .card { counter-increment: rank; position: relative; }
@media (min-width: 1100px) { .picks-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.home-genres { grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); gap: 12px; }
.home-genres .genre-posters { grid-template-columns: 1fr; }
.home-genres .genre-posters img:nth-child(n+2) { display: none; }
.home-genres .genre-posters img { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; }
.home-genres .genre-tile { padding-bottom: 10px; }
.home-genres h3 { font-size: 16px; }
.home-genres p { margin: 0; font-size: 12px; }
@media (max-width: 820px) {
  .nav-toggle { grid-row: 1; grid-column: 1; }
  .logo { grid-row: 1; grid-column: 2; }
  .nav-account { grid-row: 1; grid-column: 3; }
  .nav-searchbox { grid-row: 2; }
  .nav { grid-row: 3; }
}
.home-genres .genre-tile h3, .home-genres .genre-tile p { padding: 0 10px; }
@media (max-width: 700px) { .picks-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 72%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; } .pick { scroll-snap-align: start; } }
/* Home without the billboard: Trending (Horrorville #1) comes first */
.home-h1 { margin: 22px var(--gutter) 0; font-size: 15px; font-weight: 600; letter-spacing: .02em; color: var(--muted); }
.rows.rows-top { margin-top: 6px; }
/* Netflix-style billboard */
.nf-hero { position: relative; margin: 14px var(--gutter) 10px; border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 7.2; min-height: 380px; max-height: 78vh; background: #000; isolation: isolate; }
.nf-media, .nf-video, .nf-shade { position: absolute; inset: 0; }
.nf-video { overflow: hidden; pointer-events: none; }
/* Fill the card edge to edge (cover), whatever its shape */
.nf-video iframe { position: absolute; top: 50%; left: 50%; width: max(100%, calc(100% * 16 / 9 * 7.2 / 16 * 16 / 7.2)); height: max(100%, 56.25vw); min-width: 100%; min-height: 100%; transform: translate(-50%, -50%) scale(1.02); border: 0; aspect-ratio: 16 / 9; }
.nf-shade { background: linear-gradient(90deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.45) 32%, rgba(0,0,0,0) 60%), linear-gradient(0deg, rgba(0,0,0,.65) 0%, rgba(0,0,0,0) 38%); z-index: 1; pointer-events: none; }
.nf-info { position: absolute; left: clamp(20px, 3.2vw, 48px); bottom: clamp(20px, 4vw, 44px); z-index: 2; max-width: min(560px, 60%); }
.nf-title { margin: 0 0 12px; font: 900 clamp(46px, 7.4vw, 118px)/.86 Impact, "Anton", "Oswald", "Arial Narrow", sans-serif; text-transform: uppercase; letter-spacing: -.01em; color: #fff; text-shadow: 0 4px 30px rgba(0,0,0,.55); }
.nf-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0 0 10px; font-weight: 700; font-size: clamp(13px, 1.2vw, 17px); color: #fff; }
.nf-meta span + span::before { content: "•"; margin-right: 10px; color: rgba(255,255,255,.6); font-weight: 400; }
.nf-sub { margin: 0 0 18px; font-size: clamp(14px, 1.25vw, 18px); color: rgba(255,255,255,.88); max-width: 480px; }
.nf-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.nf-play, .nf-more { display: inline-flex; align-items: center; gap: 10px; padding: 12px 26px; border-radius: 999px; font-weight: 800; font-size: clamp(15px, 1.3vw, 19px); text-decoration: none; }
.nf-play { background: #fff; color: #000; }
.nf-play span { font-size: .95em; }
.nf-play:hover { background: rgba(255,255,255,.82); }
.nf-more { background: rgba(109,109,110,.72); color: #fff; }
.nf-more:hover { background: rgba(109,109,110,.5); }
.nf-mute { position: absolute; top: 18px; right: 18px; z-index: 3; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.55); background: rgba(0,0,0,.35); color: #fff; display: grid; place-items: center; cursor: pointer; }
.nf-mute:hover { background: rgba(0,0,0,.6); }
.nf-mute .nf-wave { display: none; }
.nf-hero.is-sound .nf-mute .nf-wave { display: inline; }
.nf-hero.is-sound .nf-mute .nf-x { display: none; }
.nf-badges { position: absolute; right: 18px; bottom: clamp(20px, 4vw, 44px); z-index: 2; display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.nf-badge { background: rgba(40,40,40,.78); border: 1px solid rgba(255,255,255,.18); color: #fff; font-size: 13px; font-weight: 600; padding: 6px 10px; border-radius: 6px; backdrop-filter: blur(6px); }
.nf-badge-link { text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s; }
.nf-badge-link:hover { background: rgba(70,70,70,.9); border-color: rgba(255,255,255,.5); }
.nf-badge b { background: var(--accent); color: #fff; font-size: 11px; padding: 1px 5px; border-radius: 3px; margin-right: 4px; }
@media (max-width: 820px) {
  .nf-hero { aspect-ratio: auto; height: 72vh; min-height: 420px; max-height: 640px; margin: 10px 12px; border-radius: 14px; }
  .nf-info { max-width: calc(100% - 40px); }
  .nf-shade { background: linear-gradient(0deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.35) 50%, rgba(0,0,0,0) 75%); }
  .nf-badges { top: 18px; left: 18px; right: auto; bottom: auto; justify-content: flex-start; }
  .nf-video iframe { width: 177.78vh; height: 100%; }
}

/* Hover preview (Netflix style) */
.hover-pop { position: absolute; z-index: 40; background: var(--surface, #181820); border: 1px solid #55556a; border-radius: 12px; overflow: hidden; box-shadow: 0 22px 60px rgba(0,0,0,.7); transform: scale(.72); opacity: 0; transform-origin: center 35%; transition: transform .22s ease, opacity .18s ease; }
.hover-pop.is-open { transform: scale(1); opacity: 1; }
.hp-media { position: relative; background: #000; overflow: hidden; cursor: pointer; }
.hp-media iframe { pointer-events: none; }
.hp-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hp-media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; opacity: 0; transition: opacity .5s ease; }
.hp-media iframe.is-on { opacity: 1; }
.hp-body { padding: 12px 14px 14px; }
.hp-title { margin: 0 0 4px; font-size: 16px; line-height: 1.25; color: var(--text, #fff); }
.hp-meta { margin: 0; color: var(--muted, #aaa); font-size: 13px; }
.hp-log { margin: 6px 0 0; color: var(--muted, #aaa); font-size: 13px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hp-actions { display: flex; gap: 8px; margin-top: 10px; }
.hp-watch { background: #fff; color: #000; border: 0; border-radius: 999px; padding: 7px 16px; font-weight: 800; font-size: 13px; cursor: pointer; }
.hp-watch:hover { background: rgba(255,255,255,.82); }
.hp-more { color: #fff; text-decoration: none; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: 6px 14px; font-weight: 700; font-size: 13px; }
.hp-more:hover { border-color: #fff; }
.hover-pop-tall .hp-title { font-size: 14px; }
@media (hover: hover) and (pointer: fine) { .card:hover, .card:focus-visible { transform: scale(1.03); } }

/* Gothic frame around the Horrorville billboard */
.nf-frame { position: relative; margin: 18px var(--gutter) 14px; padding: 18px; border-radius: 6px; background: #0b0907 url(/assets/gothic-band.svg) repeat; background-size: 18px 18px;
  box-shadow: inset 0 0 0 1px #5c3f0e, inset 0 0 0 3px #0b0907, inset 0 0 0 4.5px #d9ab45, 0 0 0 1px #3a2a0a, 0 0 0 3px #0b0907, 0 0 0 4.5px #9c6f1f, 0 22px 60px rgba(0,0,0,.7); }
.nf-frame .nf-hero { margin: 0; border-radius: 2px; box-shadow: 0 0 0 1.5px #d9ab45, 0 0 0 4px #0b0907, 0 0 0 5px #6e4d12; }
.gf { position: absolute; z-index: 5; width: clamp(80px, 10vw, 150px); aspect-ratio: 1; background: url(/assets/gothic-corner.svg) center / contain no-repeat; pointer-events: none; filter: drop-shadow(0 3px 6px rgba(0,0,0,.6)); }
.gf-tl { top: 4px; left: 4px; }
.gf-tr { top: 4px; right: 4px; transform: scaleX(-1); }
.gf-bl { bottom: 4px; left: 4px; transform: scaleY(-1); }
.gf-br { bottom: 4px; right: 4px; transform: scale(-1, -1); }
.gf-crest { position: absolute; z-index: 5; left: 50%; width: clamp(120px, 14vw, 210px); aspect-ratio: 160 / 60; background: url(/assets/gothic-crest.svg) center / contain no-repeat; pointer-events: none; filter: drop-shadow(0 3px 6px rgba(0,0,0,.6)); }
.gf-top { top: -4px; transform: translateX(-50%); }
.gf-bottom { bottom: -4px; transform: translateX(-50%) scaleY(-1); }
.nf-frame .nf-info { left: clamp(56px, 6vw, 96px); bottom: clamp(40px, 5vw, 64px); }
.nf-frame .nf-mute { top: clamp(40px, 4.5vw, 64px); right: clamp(40px, 4.5vw, 64px); }
.nf-frame .nf-badges { right: clamp(56px, 6vw, 96px); bottom: clamp(40px, 5vw, 64px); }
@media (max-width: 820px) {
  .nf-frame { margin: 10px 8px; padding: 11px; background-size: 11px 11px; }
  .nf-frame .nf-hero { margin: 0; border-radius: 2px; }
  .gf { width: 58px; }
  .gf-crest { width: 110px; }
  .nf-frame .nf-info { left: 22px; bottom: 34px; max-width: calc(100% - 44px); }
  .nf-frame .nf-badges { top: 40px; left: 40px; right: auto; bottom: auto; }
  .nf-frame .nf-mute { top: 40px; right: 30px; }
}

/* Horrorville "Starring" credit */
.nf-star { margin: 0 0 10px; font-size: clamp(13px, 1.15vw, 16px); font-weight: 700; letter-spacing: .02em; color: #f1d27a; text-shadow: 0 2px 10px rgba(0,0,0,.7); }
.card-star { margin: 0; font-size: 12px; font-weight: 600; color: #d9ab45; line-height: 1.3; }
.hero-star { margin: 0 0 8px; font-weight: 700; color: #f1d27a; text-shadow: 0 2px 10px rgba(0,0,0,.7); }
.hv-star { margin: 4px 0 8px; font-weight: 700; color: #d9ab45; }
.nf-spider { position: fixed; left: 0; top: 0; z-index: 55; pointer-events: none; }
.bat-flock { position: fixed; inset: 0; z-index: 60; pointer-events: none; }

/* Share this website */
.nav-share { display: inline-flex; align-items: center; gap: 6px; font: inherit; font-weight: 700; font-size: 14px; padding: 6px 13px; border-radius: 999px; border: 1px solid rgba(217,171,69,.6); background: transparent; color: #f1d27a; cursor: pointer; white-space: nowrap; }
.nav-share:hover { background: rgba(217,171,69,.12); border-color: #d9ab45; }
@media (min-width: 821px) { .nav-share { order: 4; margin-left: 4px; } .nav-account { order: 5; } }
@media (max-width: 820px) {
  .site-header { grid-template-columns: auto 1fr auto auto; }
  .nav-share { grid-row: 1; grid-column: 3; padding: 0; width: 38px; height: 38px; justify-content: center; }
  .nav-share span { display: none; }
  .nav-account { grid-column: 4; }
}
.footer-share { color: inherit; font: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.share-menu { position: absolute; z-index: 80; width: 300px; max-width: calc(100vw - 24px); background: #16131a; border: 1px solid rgba(217,171,69,.45); border-radius: 12px; padding: 14px; box-shadow: 0 18px 48px rgba(0,0,0,.6); }
.share-title { margin: 0 0 10px; font-weight: 800; color: #f1d27a; }
.share-copy { display: flex; gap: 6px; }
.share-copy input { flex: 1; min-width: 0; background: #0b0a0d; border: 1px solid var(--line); border-radius: 8px; color: var(--text); padding: 7px 9px; font-size: 13px; }
.share-copy button { background: #d9ab45; color: #111; border: 0; border-radius: 8px; padding: 7px 12px; font-weight: 800; cursor: pointer; white-space: nowrap; }
.share-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.share-links a { flex: 1 1 auto; text-align: center; text-decoration: none; color: var(--text); border: 1px solid var(--line); border-radius: 999px; padding: 6px 10px; font-size: 13px; font-weight: 700; }
.share-links a:hover { border-color: #d9ab45; color: #f1d27a; }
/* Admin → Members */
.a-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin-bottom: 12px; }
.a-big { font-size: 34px; font-weight: 800; margin: 4px 0 0; color: #f1d27a; }
.a-photo { max-height: 220px; border-radius: 8px; }
/* Squash the spiders: score pill + floating points */
.spider-tally { position: fixed; left: 16px; bottom: 16px; z-index: 60; background: rgba(12,20,8,.9); border: 1px solid #6bd12a; color: #d9ffb3; font-weight: 700; font-size: 14px; padding: 8px 14px; border-radius: 999px; box-shadow: 0 8px 24px rgba(0,0,0,.5); pointer-events: none; }
.spider-tally b { color: #b6ff5a; }
.spider-tally.bump { animation: tally-bump .35s ease; }
@keyframes tally-bump { 50% { transform: scale(1.12); } }
.spider-plus { position: fixed; z-index: 61; transform: translate(-50%, -50%); color: #b6ff5a; font: 900 22px/1 Impact, "Arial Narrow", sans-serif; text-shadow: 0 2px 8px #000; pointer-events: none; animation: plus-up 1.1s ease-out forwards; }
@keyframes plus-up { to { transform: translate(-50%, -160%); opacity: 0; } }
.spider-hit { color: #ffd166; font-size: 17px; }
/* /play: Escape from Horrorville game page */
.gm-hero { position: relative; margin: 14px var(--gutter) 0; border-radius: 18px; overflow: hidden; min-height: 520px; display: flex; align-items: flex-end; background: #050405; border: 1px solid rgba(217,171,69,.35); }
.gm-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; filter: saturate(.8) contrast(1.1); }
.gm-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.55) 45%, rgba(0,0,0,.2) 100%), radial-gradient(ellipse at 30% 100%, rgba(120,0,10,.35), transparent 60%); }
.gm-hero-in { position: relative; z-index: 1; padding: clamp(22px, 4vw, 48px); max-width: 720px; }
.gm-kicker { margin: 0 0 8px; color: #f1d27a; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: 13px; }
.gm-title { margin: 0 0 14px; font: 900 clamp(44px, 8vw, 104px)/.88 Impact, "Anton", "Arial Narrow", sans-serif; text-transform: uppercase; color: #fff; text-shadow: 0 4px 30px rgba(0,0,0,.6); }
.gm-title span { color: #e0102a; text-shadow: 0 0 24px rgba(224,16,42,.55); }
.gm-tag { margin: 0 0 20px; font-size: clamp(15px, 1.4vw, 19px); color: rgba(255,255,255,.9); max-width: 600px; }
.gm-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin: 0 0 12px; }
.gm-play, .gm-how { display: inline-flex; align-items: center; gap: 8px; padding: 13px 28px; border-radius: 999px; font-weight: 900; font-size: 18px; text-decoration: none; }
.gm-play { background: #e0102a; color: #fff; box-shadow: 0 0 24px rgba(224,16,42,.45); }
.gm-play:hover { background: #ff2a44; }
.gm-how { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.3); }
.gm-how:hover { background: rgba(255,255,255,.2); }
.gm-plays { margin: 0; color: #d9ffb3; font-weight: 700; font-size: 14px; }
.gm-note { margin: 10px 0 0; padding: 10px 14px; border-radius: 10px; background: rgba(224,16,42,.15); border: 1px solid rgba(224,16,42,.5); color: #ffd5da; font-weight: 600; }
.gm-sec { margin: 34px var(--gutter) 0; }
.gm-sec h2 { font: 900 clamp(26px, 3.2vw, 38px)/1 Impact, "Anton", "Arial Narrow", sans-serif; text-transform: uppercase; letter-spacing: .02em; color: #f1d27a; margin: 0 0 14px; }
.gm-sec > p { max-width: 820px; color: var(--text); font-size: 17px; line-height: 1.6; }
.gm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.gm-group { grid-column: 1 / -1; margin: 10px 0 0; font-size: 15px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.gm-card { display: grid; grid-template-columns: 120px 1fr; gap: 12px; align-items: center; padding: 12px; border-radius: 14px; background: linear-gradient(180deg, #17131a, #0e0c10); border: 1px solid rgba(217,171,69,.25); }
.gm-card canvas { width: 120px; height: 140px; border-radius: 10px; background: radial-gradient(ellipse at 50% 85%, rgba(255,240,200,.14), rgba(0,0,0,0) 65%), #07060a; }
.gm-card h4 { margin: 0 0 4px; font-size: 18px; color: #fff; }
.gm-card p { margin: 0 0 8px; color: var(--muted); font-size: 14px; line-height: 1.45; }
.gm-card dl { display: grid; grid-template-columns: auto 1fr; gap: 3px 10px; margin: 0; font-size: 13px; }
.gm-card dt { color: var(--muted); }
.gm-card dd { margin: 0; color: #fff; }
.gm-boss { border-color: rgba(224,16,42,.7); box-shadow: 0 0 24px rgba(224,16,42,.25); }
.gm-pips { display: inline-flex; gap: 3px; vertical-align: middle; }
.gm-pips i { width: 14px; height: 6px; border-radius: 3px; background: #2a2630; }
.gm-pips i.on { background: #e0102a; }
.gm-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.gm-list li { display: grid; grid-template-columns: 40px 1fr; grid-template-rows: auto auto; column-gap: 10px; padding: 12px; border-radius: 12px; background: #131016; border: 1px solid var(--line); }
.gm-list .gm-ico { grid-row: span 2; font-size: 28px; line-height: 40px; text-align: center; }
.gm-list b { color: #fff; }
.gm-list li > span:last-child { color: var(--muted); font-size: 14px; }
.gm-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.gm-box { padding: 16px; border-radius: 14px; background: #131016; border: 1px solid var(--line); }
.gm-box h3 { margin: 0 0 8px; color: #fff; }
.gm-box ul { margin: 0; padding-left: 18px; color: var(--text); line-height: 1.7; }
.gm-box p { margin: 0; color: var(--text); line-height: 1.6; }
.gm-join { padding: 22px; border-radius: 16px; background: radial-gradient(ellipse at 20% 0%, rgba(224,16,42,.25), transparent 60%), #120e14; border: 1px solid rgba(224,16,42,.4); margin-bottom: 30px; }
@media (max-width: 600px) { .gm-hero { min-height: 480px; } .gm-card { grid-template-columns: 96px 1fr; } .gm-card canvas { width: 96px; height: 116px; } }
/* Escape from Horrorville: the game (full screen over /play) */
html.hvg-open, html.hvg-open body { overflow: hidden; }
.hvg { position: fixed; inset: 0; z-index: 200; background: #050407; color: #fff; user-select: none; -webkit-user-select: none; touch-action: none; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; }
.hvg[hidden] { display: none; }
.hvg-cv { position: absolute; inset: 0; display: block; }
.hvg-hud { position: absolute; inset: 0; pointer-events: none; }
.hvg-tl { position: absolute; left: 14px; top: 12px; }
.hvg-hp { font-size: 24px; color: #ff3a4a; letter-spacing: 2px; text-shadow: 0 2px 6px #000; }
.hvg-terror { margin-top: 4px; font-size: 20px; letter-spacing: 2px; color: #777; text-shadow: 0 2px 6px #000; }
.hvg-terror.hot { animation: hvg-pulse .6s infinite alternate; }
@keyframes hvg-pulse { to { filter: drop-shadow(0 0 6px #f00); transform: scale(1.06); } }
.hvg-tr { position: absolute; right: 14px; top: 56px; text-align: right; font-weight: 800; text-shadow: 0 2px 6px #000; }
.hvg-score { font: 900 28px/1 Impact, "Arial Narrow", sans-serif; color: #f1d27a; }
.hvg-keys { font-size: 18px; margin-top: 4px; }
.hvg-time { font-size: 14px; color: #bbb; margin-top: 2px; }
.hvg-compass { position: absolute; left: 50%; top: 10px; transform: translateX(-50%); width: 64px; text-align: center; }
.hvg-needle { width: 44px; height: 44px; margin: 0 auto; border-radius: 50%; border: 2px solid rgba(241,210,122,.8); background: radial-gradient(circle, rgba(0,0,0,.7), rgba(0,0,0,.4)); position: relative; }
.hvg-needle::before { content: ""; position: absolute; left: 50%; top: 4px; width: 0; height: 0; margin-left: -7px; border-left: 7px solid transparent; border-right: 7px solid transparent; border-bottom: 18px solid #e0102a; }
.hvg-needle::after { content: ""; position: absolute; left: 50%; bottom: 4px; width: 0; height: 0; margin-left: -5px; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 14px solid #ccc; }
.hvg-cdist { display: block; margin-top: 3px; font-size: 11px; font-weight: 800; color: #f1d27a; text-shadow: 0 1px 4px #000; white-space: nowrap; }
.hvg-bl { position: absolute; left: 14px; bottom: 14px; font-weight: 700; text-shadow: 0 2px 6px #000; }
.hvg-weapon { font-size: 16px; margin-bottom: 6px; }
.hvg-battwrap { display: flex; align-items: center; gap: 6px; }
.hvg-battbar { width: 110px; height: 8px; border-radius: 4px; background: rgba(255,255,255,.15); overflow: hidden; }
.hvg-batt { display: block; height: 100%; width: 100%; background: #f1d27a; }
.hvg-batt.low { background: #e0102a; animation: hvg-pulse .5s infinite alternate; }
.hvg-garlic { margin-top: 6px; color: #e8e0b0; }
.hvg-msg { position: absolute; left: 50%; top: 22%; transform: translateX(-50%); max-width: 90%; padding: 10px 18px; border-radius: 12px; background: rgba(0,0,0,.65); border: 1px solid rgba(241,210,122,.4); font-weight: 800; font-size: 17px; text-align: center; opacity: 0; transition: opacity .25s; }
.hvg-msg.on { opacity: 1; }
.hvg-top { position: absolute; right: 12px; top: 10px; display: flex; gap: 6px; pointer-events: auto; }
.hvg-top button { width: 38px; height: 38px; border-radius: 10px; border: 1px solid rgba(255,255,255,.25); background: rgba(0,0,0,.5); color: #fff; font-size: 16px; cursor: pointer; }
.hvg-touch { display: none; }
.hvg.is-touch .hvg-touch { display: block; }
.hvg-joy { position: absolute; left: 30px; bottom: 40px; width: 120px; height: 120px; border-radius: 50%; border: 2px solid rgba(255,255,255,.2); background: rgba(255,255,255,.05); pointer-events: none; opacity: .5; }
.hvg-joy.on { opacity: 1; }
.hvg-knob { position: absolute; left: 35px; top: 35px; width: 50px; height: 50px; border-radius: 50%; background: rgba(255,255,255,.3); }
.hvg-b { position: absolute; width: 74px; height: 74px; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); background: rgba(224,16,42,.45); color: #fff; font-size: 30px; }
.hvg-b-atk { right: 24px; bottom: 40px; width: 88px; height: 88px; }
.hvg-b-car { right: 124px; bottom: 30px; background: rgba(40,90,200,.5); }
.hvg-b-wpn { right: 30px; bottom: 140px; width: 58px; height: 58px; font-size: 22px; background: rgba(0,0,0,.45); }
.hvg-b[hidden] { display: none; }
.hvg.is-touch .hvg-bl { bottom: auto; top: 90px; }
.hvg-screen { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; background: radial-gradient(ellipse at 50% 40%, rgba(90,0,12,.55), rgba(0,0,0,.92) 70%); overflow-y: auto; }
.hvg-screen[hidden] { display: none; }
.hvg-screen h2 { margin: 0 0 12px; font: 900 clamp(34px, 6vw, 64px)/.95 Impact, "Anton", "Arial Narrow", sans-serif; text-transform: uppercase; }
.hvg-screen h2 span { color: #e0102a; text-shadow: 0 0 20px rgba(224,16,42,.6); }
.hvg-lead { max-width: 560px; font-size: 17px; line-height: 1.5; color: rgba(255,255,255,.9); margin: 0 0 12px; }
.hvg-tips { list-style: none; padding: 0; margin: 0 0 12px; color: #ccc; font-size: 14px; line-height: 1.8; }
.hvg-left { color: #d9ffb3; font-weight: 700; margin: 4px 0 12px; }
.hvg-btns { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.hvg-go, .hvg-quit { padding: 13px 26px; border-radius: 999px; font-weight: 900; font-size: 17px; cursor: pointer; text-decoration: none; border: 0; }
.hvg-go { background: #e0102a; color: #fff; box-shadow: 0 0 22px rgba(224,16,42,.5); }
.hvg-quit { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.3); }
.hvg-stats { display: flex; gap: 14px; margin: 6px 0 12px; flex-wrap: wrap; justify-content: center; }
.hvg-stats div { min-width: 86px; padding: 10px; border-radius: 12px; background: rgba(0,0,0,.5); border: 1px solid rgba(255,255,255,.15); }
.hvg-stats b { display: block; font: 900 26px/1 Impact, "Arial Narrow", sans-serif; color: #f1d27a; }
.hvg-stats span { font-size: 12px; color: #aaa; }
.hvg-rank { margin: 0 0 8px; color: #ddd; }
/* Exit full screen strip (app.js fsChange): shown only while our player is full screen, above the film, never over it */
.fs-exit { display: none; }
:fullscreen > .fs-exit, :-webkit-full-screen > .fs-exit { display: flex; align-items: center; gap: 6px; height: 48px; padding: 0 16px; margin: 0; background: #000; color: #fff; border: 0; font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; text-align: left; width: 100%; box-sizing: border-box; flex: none; }
:fullscreen > .fs-exit:hover, :-webkit-full-screen > .fs-exit:hover { background: #1b1b22; }
.player:fullscreen > .fs-exit { position: absolute; top: 0; left: 0; right: 0; z-index: 2; }
.player:-webkit-full-screen > .fs-exit { position: absolute; top: 0; left: 0; right: 0; z-index: 2; }
.player:fullscreen > iframe, .player:fullscreen > video { top: 48px; height: calc(100% - 48px); }
.player:-webkit-full-screen > iframe, .player:-webkit-full-screen > video { top: 48px; height: calc(100% - 48px); }
.series-player:fullscreen > .fs-exit, .series-player:-webkit-full-screen > .fs-exit { margin: 0 -16px; width: calc(100% + 32px); }
/* Creators: profile pages (/creators/<slug>), featured tiles (home row + /creators) */
.creator-profile { display: flex; gap: 24px; align-items: flex-start; padding: 28px var(--gutter) 8px; }
.creator-avatar { width: 128px; height: 128px; border-radius: 50%; object-fit: cover; flex: none; border: 3px solid #d4af37; background: var(--surface); }
.creator-info { min-width: 0; }
.creator-info h1 { margin: 2px 0 2px; font-size: clamp(26px, 4vw, 40px); line-height: 1.1; }
.creator-handle { margin: 0; color: var(--muted); font-size: 15px; }
.creator-stats { margin: 6px 0 0; font-weight: 700; font-size: 14px; }
.creator-bio { margin: 10px 0 0; max-width: 680px; line-height: 1.5; }
.creator-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.creator-sec h2 { margin: 22px var(--gutter) 10px; font-size: 22px; }
.creator-sec .grid { padding-top: 0; }
.creator-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px; padding: 0 var(--gutter); }
.creator-rail { padding: 0; display: flex; overflow-x: auto; scrollbar-width: none; gap: 14px; }
.creator-rail::-webkit-scrollbar { display: none; }
.creator-rail .creator-tile { flex: 0 0 140px; }
.creator-tile { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; text-decoration: none; padding: 10px 6px; border-radius: 14px; }
.creator-tile:hover { background: var(--surface); }
.creator-tile img { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; border: 2px solid var(--line); margin-bottom: 4px; background: var(--surface); }
.creator-tile:hover img { border-color: #d4af37; }
.creator-tile strong { font-size: 14px; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.creator-tile em { font-style: normal; font-size: 12px; color: var(--muted); }
@media (max-width: 600px) { .creator-profile { flex-direction: column; align-items: center; text-align: center; gap: 14px; } .creator-avatar { width: 104px; height: 104px; } .creator-links { justify-content: center; } .creator-bio { margin-left: auto; margin-right: auto; } }
/* Header with the Creators link: the nav keeps its full width and the search box gives way */
@media (min-width: 821px) { .nav { flex: 0 0 auto; } .nav-searchbox { flex: 1 1 160px; min-width: 110px; } }
@media (min-width: 821px) and (max-width: 1180px) { .nav a { padding: 6px 6px; font-size: 13px; } .site-header { gap: 10px; } }
@media (min-width: 821px) and (max-width: 1080px) { .nav { flex: 0 1 auto; min-width: 0; overflow-x: auto; scrollbar-width: none; } .nav::-webkit-scrollbar { display: none; } }
/* Share this film (watch pages) */
.watch-share { margin: 10px 0 0; }
