/* RayTierney+: a Disney+-style movie night for grown-ups. Calm motion only: fades and gentle lifts. */
:root {
  --bg: #090b16;
  --panel: #131833;
  --panel-2: #1c2244;
  --text: #f9f9f9;
  --soft: #cacaca;
  --muted: #8f98b2;
  --line: rgba(249,249,249,.12);
  --blue: #0072d2;
  --blue-2: #0483ee;
  --glow: #1fd1f9;
  --pad: calc(3.5vw + 5px);
  --ease: cubic-bezier(.25,.46,.45,.94);
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; }
body {
  color: var(--text); font-family: "Inter", "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif; min-height: 100dvh;
  background-color: var(--bg);
  background-image: radial-gradient(1400px 700px at 50% -260px, rgba(25,90,210,.38), rgba(9,11,22,0) 70%), linear-gradient(180deg, #0e1532 0%, #0a0d1d 38%, var(--bg) 100%);
  background-attachment: fixed; -webkit-font-smoothing: antialiased; overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
img { display: block; }
button { font: inherit; color: inherit; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 26px;
  border-radius: 5px; border: 0; cursor: pointer; font-size: 15px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase;
  transition: background .2s var(--ease), border-color .2s var(--ease), opacity .2s; white-space: nowrap;
}
.btn:disabled { opacity: .4; cursor: not-allowed; }
.btn.light { background: #f9f9f9; color: #0a0d1d; }
.btn.light:hover:not(:disabled) { background: #c6c6c6; }
.btn.ghost { background: rgba(0,0,0,.35); color: #f9f9f9; border: 1px solid rgba(249,249,249,.85); }
.btn.ghost:hover:not(:disabled) { background: rgba(249,249,249,.12); }
.btn.blue { background: var(--blue); color: #fff; }
.btn.blue:hover:not(:disabled) { background: var(--blue-2); }
.btn .ic { font-size: 20px; letter-spacing: 0; font-weight: 500; }
.round {
  width: 46px; height: 46px; border-radius: 50%; display: inline-grid; place-items: center; flex: none; cursor: pointer;
  border: 2px solid #f9f9f9; background: rgba(0,0,0,.55); color: #fff; font-size: 22px; line-height: 1; transition: background .2s;
}
.round:hover { background: rgba(249,249,249,.15); }
.round.on { background: #f9f9f9; color: #0a0d1d; }
.sep { color: #6b7391; margin: 0 .55em; }
.cert { border: 1px solid rgba(249,249,249,.45); border-radius: 3px; padding: 0 .4em; font-size: .9em; }
.svc { display: inline-flex; align-items: center; gap: 7px; color: var(--soft); font-size: 13px; }
.svc img { width: 20px; height: 20px; border-radius: 4px; }
.rb { display: inline-flex; align-items: center; gap: 6px; background: rgba(6,9,22,.78); border: 1px solid rgba(249,249,249,.14); backdrop-filter: blur(6px); border-radius: 999px; padding: 3px 10px 3px 8px; font-size: 12px; color: #f9f9f9; white-space: nowrap; }
.rb i { font-style: normal; font-weight: 700; color: var(--glow); letter-spacing: .4px; }
.rb b { color: #ffd76a; font-weight: 600; letter-spacing: 1px; }
.rb .heart { color: #ff6b8b; }

/* ---------- Top bar ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 20; height: 72px; display: flex; align-items: center; gap: 36px; padding: 0 36px; transition: background .4s var(--ease); }
.nav.solid { background: rgba(9,11,22,.97); box-shadow: 0 1px 0 var(--line); }
.brand img { height: 46px; width: auto; }
.menu { display: flex; align-items: center; gap: 30px; }
.menu a, .menu button { background: none; border: 0; cursor: pointer; display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: 1.42px; text-transform: uppercase; position: relative; padding: 2px 0; }
.menu .mi { font-size: 17px; letter-spacing: 0; }
.menu .lbl { position: relative; }
.menu .lbl::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: #f9f9f9; border-radius: 0 0 4px 4px; opacity: 0; transform: scaleX(0); transition: transform .25s var(--ease), opacity .25s; transform-origin: left center; }
.menu a:hover .lbl::after, .menu button:hover .lbl::after, .menu .on .lbl::after { opacity: 1; transform: scaleX(1); }
.picks-n { background: var(--blue); border-radius: 999px; font-size: 11px; padding: 1px 7px; letter-spacing: 0; }
.nav .right { margin-left: auto; color: var(--muted); font-size: 13px; }

/* ---------- Hero carousel ---------- */
.home { padding-top: 84px; }
.hero { position: relative; margin: 0 var(--pad); aspect-ratio: 1440/480; min-height: 300px; max-height: 62vh; width: calc(100% - 2 * var(--pad)); }
.slide { position: absolute; inset: 0; border-radius: 6px; overflow: hidden; opacity: 0; visibility: hidden; transition: opacity 1s var(--ease), visibility 1s;
  box-shadow: rgba(0,0,0,.69) 0 26px 30px -10px, rgba(0,0,0,.73) 0 16px 10px -10px; border: 4px solid transparent; }
.slide.on { opacity: 1; visibility: visible; }
.slide > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,8,20,.92) 0%, rgba(6,8,20,.65) 32%, rgba(6,8,20,.1) 62%, rgba(6,8,20,0) 100%); }
.slide .info { position: absolute; z-index: 1; left: 4%; top: 50%; transform: translateY(-50%); width: min(42%, 560px); }
.slide .kick { font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--glow); margin-bottom: 14px; }
.slide .tlogo { max-width: 100%; max-height: 9vw; min-height: 50px; object-fit: contain; object-position: left center; margin-bottom: 16px; filter: drop-shadow(0 3px 12px rgba(0,0,0,.5)); }
.slide .ttext { font-size: clamp(30px, 3.6vw, 58px); font-weight: 800; line-height: 1.02; margin: 0 0 14px; letter-spacing: -.5px; }
.slide .meta { color: var(--soft); font-size: 14px; margin-bottom: 12px; }
.slide .quote { font-size: 15px; line-height: 1.5; color: #e7e9f2; margin: 0 0 18px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.slide .quote::before { content: "“"; } .slide .quote::after { content: "”"; }
.slide .acts { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.hero .arrow { position: absolute; top: 0; bottom: 0; z-index: 3; width: var(--pad); border: 0; background: none; cursor: pointer; font-size: 36px; color: #f9f9f9; opacity: 0; transition: opacity .25s; }
.hero:hover .arrow { opacity: .9; }
.hero .arrow.prev { right: 100%; } .hero .arrow.next { left: 100%; }
.dots { position: absolute; z-index: 3; right: 26px; bottom: 18px; display: flex; gap: 8px; }
.dots button { width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0; background: rgba(249,249,249,.35); cursor: pointer; transition: background .3s, transform .3s; }
.dots button.on { background: #f9f9f9; transform: scale(1.15); }

/* ---------- Collection tiles (the brand row) ---------- */
.collections { display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: 24px; margin: 34px var(--pad) 10px; }
.coll {
  position: relative; aspect-ratio: 16/9; border-radius: 10px; overflow: hidden; cursor: pointer; border: 3px solid rgba(249,249,249,.1);
  background: var(--panel); box-shadow: rgba(0,0,0,.69) 0 26px 30px -10px, rgba(0,0,0,.73) 0 16px 10px -10px;
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease); padding: 0; text-align: left;
}
.coll img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; filter: saturate(.85); transition: opacity .35s var(--ease); }
.coll::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(14,25,70,.55), rgba(6,8,20,.85)); }
.coll span { position: absolute; z-index: 1; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 10px; }
.coll small { font-size: 11px; font-weight: 700; letter-spacing: 2.2px; text-transform: uppercase; color: var(--glow); margin-bottom: 4px; }
.coll b { font-size: clamp(14px, 1.35vw, 22px); font-weight: 800; letter-spacing: .3px; }
.coll:hover { transform: scale(1.05); border-color: rgba(249,249,249,.8); box-shadow: rgba(0,0,0,.8) 0 40px 58px -16px, rgba(0,0,0,.72) 0 30px 22px -10px; }
.coll:hover img { opacity: .7; }

/* ---------- Rows ---------- */
.rows { padding: 18px 0 40px; }
.row { margin: 0 0 18px; position: relative; }
.row h2 { font-size: clamp(16px, 1.3vw, 21px); font-weight: 600; margin: 0 var(--pad) 2px; letter-spacing: .2px; }
.row h2 .ray-mark { color: var(--glow); font-size: .7em; letter-spacing: 1.6px; text-transform: uppercase; margin-left: 10px; font-weight: 700; vertical-align: 2px; }
.slider { position: relative; padding: 0 var(--pad); }
.viewport { overflow-x: clip; overflow-y: visible; padding: 14px 0 22px; }
.track { display: flex; gap: 20px; transition: transform .8s var(--ease); }
.handle { position: absolute; top: 14px; bottom: 22px; width: var(--pad); z-index: 3; border: 0; background: none; color: #f9f9f9; font-size: 34px; cursor: pointer; opacity: 0; transition: opacity .25s; }
.handle.prev { left: 0; } .handle.next { right: 0; }
.row:hover .handle:not([hidden]) { opacity: .9; }
.tile {
  --w: calc((100vw - 2 * var(--pad) - 4 * 20px) / 5);
  flex: 0 0 var(--w); width: var(--w); aspect-ratio: 16/9; position: relative; border-radius: 6px; overflow: hidden; cursor: pointer;
  border: 3px solid rgba(249,249,249,.08); background: var(--panel); padding: 0; text-align: left;
  box-shadow: rgba(0,0,0,.69) 0 26px 30px -10px, rgba(0,0,0,.73) 0 16px 10px -10px;
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.tile:hover, .tile:focus-visible { transform: scale(1.05); border-color: rgba(249,249,249,.85); box-shadow: rgba(0,0,0,.8) 0 40px 58px -16px, rgba(0,0,0,.72) 0 30px 22px -10px; outline: 0; z-index: 2; }
.tile > img.bd { width: 100%; height: 100%; object-fit: cover; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.55)); pointer-events: none; }
.tile .tl { position: absolute; z-index: 1; left: 7%; bottom: 11%; width: 56%; max-height: 40%; object-fit: contain; object-position: left bottom; filter: drop-shadow(0 2px 6px rgba(0,0,0,.7)); }
.tile .tt { position: absolute; z-index: 1; left: 7%; right: 7%; bottom: 10%; font-weight: 800; font-size: clamp(13px, 1.15vw, 19px); line-height: 1.1; text-shadow: 0 2px 8px rgba(0,0,0,.9); }
.tile .rb { position: absolute; z-index: 1; right: 8px; top: 8px; font-size: 11px; padding: 2px 8px 2px 7px; }
.tile .picked { position: absolute; z-index: 1; left: 8px; top: 8px; width: 26px; height: 26px; border-radius: 50%; background: #f9f9f9; color: #0a0d1d; display: none; place-items: center; font-size: 14px; font-weight: 800; }
.tile.is-picked { border-color: var(--glow); }
.tile.is-picked .picked { display: grid; }

/* Numbered Top 10 tiles */
.tile.t10 { aspect-ratio: auto; height: calc(var(--w) * .78); display: flex; justify-content: flex-end; background: none; border: 0; box-shadow: none; overflow: visible; }
.tile.t10::after { display: none; }
.tile.t10:hover { border: 0; box-shadow: none; }
.tile.t10 svg.num { flex: 1; min-width: 0; height: 100%; }
.tile.t10 .pst { height: 100%; aspect-ratio: 2/3; flex: none; position: relative; border-radius: 6px; overflow: hidden; border: 3px solid rgba(249,249,249,.08);
  box-shadow: rgba(0,0,0,.69) 0 26px 30px -10px; transition: border-color .25s var(--ease); }
.tile.t10:hover .pst { border-color: rgba(249,249,249,.85); }
.tile.t10.is-picked .pst { border-color: var(--glow); }
.tile.t10 .pst img { width: 100%; height: 100%; object-fit: cover; }
.tile.t10 .rb { top: auto; bottom: 8px; right: 6px; }

.empty { color: var(--muted); padding: 0 var(--pad) 24px; font-size: 16px; }
.skel-row { display: flex; gap: 20px; padding: 14px var(--pad) 40px; overflow: hidden; }
.skel { flex: 0 0 calc((100vw - 2 * var(--pad) - 4 * 20px) / 5); aspect-ratio: 16/9; border-radius: 6px; background: linear-gradient(90deg, #121735 0%, #1b2246 50%, #121735 100%); background-size: 200% 100%; animation: shimmer 1.6s infinite linear; }
@keyframes shimmer { to { background-position: -200% 0; } }
.foot { color: #6b7391; font-size: 12px; line-height: 1.7; padding: 20px var(--pad) 120px; }

/* ---------- Search & collections pages ---------- */
.searchbar { position: sticky; top: 72px; z-index: 10; background: #4b4e5a; }
.searchbar input { width: 100%; height: 76px; border: 0; outline: 0; background: none; color: #f9f9f9; font: inherit; font-size: clamp(18px, 1.8vw, 28px); padding: 0 var(--pad); }
.searchbar input::placeholder { color: #c8cad4; }
.page { padding: 0 0 40px; }
.page h3 { margin: 28px var(--pad) 4px; font-size: 18px; font-weight: 600; }
.page h3 small { color: var(--muted); font-weight: 400; margin-left: 8px; }
.grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 26px 20px; padding: 14px var(--pad) 10px; }
.grid .tile { width: auto; flex: none; }
.coll-head { padding: 100px var(--pad) 0; }
.coll-head h1 { font-size: clamp(28px, 3vw, 48px); margin: 0 0 6px; font-weight: 800; }
.coll-head p { color: var(--muted); margin: 0; }

/* ---------- Details ---------- */
.detail { position: fixed; inset: 0; z-index: 40; overflow-y: auto; background: var(--bg); opacity: 0; transition: opacity .45s var(--ease); }
.detail.on { opacity: 1; }
.dbg { position: fixed; inset: 0; background: center/cover no-repeat; opacity: .9; }
.dbg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9,11,22,.97) 0%, rgba(9,11,22,.82) 38%, rgba(9,11,22,.25) 70%, rgba(9,11,22,.15) 100%), linear-gradient(0deg, var(--bg) 0%, rgba(9,11,22,0) 45%); }
.dwrap { position: relative; z-index: 1; padding: 110px var(--pad) 60px; }
.dclose { position: fixed; z-index: 2; top: 18px; left: 22px; background: rgba(0,0,0,.45); border: 1px solid rgba(249,249,249,.4); color: #fff; border-radius: 999px; padding: 9px 16px; cursor: pointer; font-size: 13px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; }
.dclose:hover { background: rgba(249,249,249,.15); }
.dmain { max-width: 640px; min-height: calc(100vh - 220px); display: flex; flex-direction: column; justify-content: flex-end; }
.dmain .tl { max-width: 72%; max-height: 170px; object-fit: contain; object-position: left bottom; margin-bottom: 22px; filter: drop-shadow(0 3px 12px rgba(0,0,0,.6)); }
.dmain .tt { font-size: clamp(36px, 4.2vw, 64px); font-weight: 800; line-height: 1; margin: 0 0 18px; }
.dmain .meta { color: var(--soft); font-size: 15px; margin-bottom: 20px; }
.dmain .acts { display: flex; gap: 14px; align-items: center; margin-bottom: 24px; flex-wrap: wrap; }
.dmain .ov { font-size: 17px; line-height: 1.6; margin: 0 0 22px; color: #eceef6; }
.take { border-left: 3px solid var(--glow); padding: 4px 0 4px 18px; margin: 0 0 22px; }
.take .who { font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--glow); display: flex; gap: 10px; align-items: center; }
.take .who b { color: #ffd76a; letter-spacing: 1px; font-size: 15px; }
.take p { font-size: 16px; line-height: 1.6; margin: 10px 0 0; color: #f0f1f7; white-space: pre-line; font-style: italic; }
.dmain .cast { color: var(--muted); font-size: 14px; line-height: 1.6; }
.dmain .cast b { color: var(--soft); font-weight: 500; }
.dmore { margin-top: 40px; }
.dmore h3 { font-size: 13px; letter-spacing: 1.6px; text-transform: uppercase; margin: 0 0 4px; font-weight: 700; border-bottom: 2px solid #f9f9f9; display: inline-block; padding-bottom: 8px; }
.dmore .grid { padding: 18px 0 0; }

/* ---------- My Picks tray ---------- */
.tray {
  position: fixed; inset: auto 0 0; z-index: 25; display: flex; align-items: center; gap: 18px; padding: 14px var(--pad) calc(14px + env(safe-area-inset-bottom));
  background: rgba(9,11,22,.96); backdrop-filter: blur(10px); border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform .45s var(--ease);
}
.tray.on { transform: none; }
.tray .lbl { font-size: 13px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; white-space: nowrap; }
.tray .lbl small { display: block; color: var(--muted); font-weight: 500; letter-spacing: 0; text-transform: none; font-size: 12px; margin-top: 2px; }
.tray .chosen { display: flex; gap: 8px; overflow-x: auto; flex: 1; min-width: 0; scrollbar-width: none; }
.tray .chosen button { flex: none; width: 104px; aspect-ratio: 16/9; border: 2px solid rgba(249,249,249,.15); padding: 0; border-radius: 5px; overflow: hidden; cursor: pointer; position: relative; background: var(--panel); }
.tray .chosen img { width: 100%; height: 100%; object-fit: cover; }
.tray .chosen button::after { content: "✕"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 16px; background: rgba(0,0,0,.6); opacity: 0; transition: opacity .2s; }
.tray .chosen button:hover::after { opacity: 1; }
.tray input { font: inherit; font-size: 15px; color: #fff; background: rgba(249,249,249,.08); border: 1px solid rgba(249,249,249,.25); border-radius: 5px; padding: 0 14px; height: 48px; width: 200px; outline: none; }
.tray input:focus { border-color: #f9f9f9; }
.tray .btn { height: 48px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) { .tile, .skel { --w: calc((100vw - 2 * var(--pad) - 3 * 20px) / 4); flex-basis: var(--w); } .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 800px) { .tile, .skel { --w: calc((100vw - 2 * var(--pad) - 2 * 16px) / 3); flex-basis: var(--w); } .track, .skel-row { gap: 16px; } .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .collections { gap: 12px; } }
@media (hover: none), (max-width: 640px) {
  .viewport { overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; scroll-padding-inline: var(--pad); margin: 0 calc(-1 * var(--pad)); padding-left: var(--pad); padding-right: var(--pad); }
  .viewport::-webkit-scrollbar { display: none; }
  .track { transform: none !important; }
  .tile { scroll-snap-align: start; }
  .tile:hover { transform: none; }
  .handle, .hero .arrow { display: none; }
}
@media (max-width: 640px) {
  :root { --pad: 16px; }
  .nav { height: 60px; padding: 0 16px; gap: 18px; }
  .brand img { height: 40px; }
  .menu { gap: 18px; }
  .menu .lbl { display: none; }
  .menu .mi { font-size: 20px; }
  .nav .right { display: none; }
  .home { padding-top: 68px; }
  .hero { aspect-ratio: 4/5; max-height: none; }
  .slide::after { background: linear-gradient(0deg, rgba(6,8,20,.95) 0%, rgba(6,8,20,.6) 45%, rgba(6,8,20,0) 75%); }
  .slide .info { left: 18px; right: 18px; top: auto; bottom: 22px; transform: none; width: auto; }
  .slide .tlogo { max-height: 70px; }
  .slide .quote { font-size: 14px; }
  .slide .acts .btn { flex: 1; padding: 0 14px; height: 46px; font-size: 13px; }
  .dots { right: 50%; transform: translateX(50%); bottom: 8px; }
  .collections { grid-template-columns: repeat(var(--n, 5), minmax(120px, 1fr)); overflow-x: auto; margin: 22px 0 0; padding: 4px 16px 18px; scrollbar-width: none; }
  .coll b { font-size: 14px; }
  .tile, .skel { --w: 62vw; flex-basis: var(--w); }
  .track, .skel-row { gap: 12px; }
  .tile.t10 { height: calc(var(--w) * .8); }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 10px; }
  .searchbar { top: 60px; }
  .searchbar input { height: 58px; }
  .dwrap { padding: 80px 16px 40px; }
  .dmain { min-height: calc(100vh - 160px); }
  .dmain .tl { max-width: 80%; max-height: 100px; }
  .dbg::after { background: linear-gradient(0deg, var(--bg) 0%, rgba(9,11,22,.9) 50%, rgba(9,11,22,.3) 100%); }
  .tray { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); }
  .tray .chosen { grid-column: 1 / -1; order: -1; }
  .tray .chosen button { width: 84px; }
  .tray .lbl { display: none; }
  .tray input { width: 100%; min-width: 0; }
}

/* ---------- Voting screen ---------- */
.wrap { max-width: 640px; margin: 0 auto; padding: 18px 16px 40px; }
header.top { display: flex; align-items: center; gap: 16px; }
header.top .brand img { height: 44px; }
.tag { margin: 0; font-size: 22px; font-weight: 700; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sub-line { color: var(--muted); font-size: 14px; margin: 8px 0 0; }
.sub-line b { color: #f9f9f9; letter-spacing: 2px; }
.step { font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--glow); margin: 26px 0 12px; }
input.name { width: 100%; font: inherit; font-size: 19px; height: 56px; padding: 0 18px; border-radius: 5px; border: 1px solid rgba(249,249,249,.25); background: rgba(249,249,249,.07); color: #fff; outline: none; }
input.name:focus { border-color: #f9f9f9; }
.choices { display: grid; grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); gap: 18px 14px; }
.choice { appearance: none; border: 0; padding: 0; background: none; color: #f9f9f9; cursor: pointer; text-align: left; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.choice .art { position: relative; aspect-ratio: 16/9; border-radius: 6px; overflow: hidden; background: var(--panel); border: 3px solid rgba(249,249,249,.08);
  box-shadow: rgba(0,0,0,.69) 0 20px 26px -12px; transition: transform .25s var(--ease), border-color .25s var(--ease); }
.choice .art img.bd { width: 100%; height: 100%; object-fit: cover; }
.choice .art .tl { position: absolute; left: 7%; bottom: 10%; width: 58%; max-height: 42%; object-fit: contain; object-position: left bottom; filter: drop-shadow(0 2px 6px rgba(0,0,0,.75)); z-index: 1; }
.choice .art .tt { position: absolute; left: 7%; right: 7%; bottom: 9%; font-weight: 800; font-size: 18px; text-shadow: 0 2px 8px rgba(0,0,0,.9); z-index: 1; }
.choice .art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.55)); }
.choice .art .rb { position: absolute; right: 8px; top: 8px; z-index: 1; }
.choice:hover .art { border-color: rgba(249,249,249,.6); }
.choice[aria-pressed="true"] .art { border-color: #f9f9f9; transform: scale(1.03); }
.choice[aria-pressed="true"] .art::before { content: "✓"; position: absolute; z-index: 2; left: 8px; top: 8px; width: 28px; height: 28px; border-radius: 50%; background: #f9f9f9; color: #0a0d1d; display: grid; place-items: center; font-weight: 800; }
.choice .cname { font-weight: 700; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.choice .cmeta { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.agree { width: 100%; margin-top: 26px; height: 58px; font: inherit; font-size: 15px; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase; color: #fff; background: var(--blue); border: 0; border-radius: 5px; cursor: pointer; transition: background .2s, opacity .2s; }
.agree:hover:not(:disabled) { background: var(--blue-2); }
.agree:disabled { opacity: .4; cursor: not-allowed; }
.hint { margin-top: 10px; font-size: 14px; min-height: 1.3em; color: var(--muted); }
.wrap > .link { display: block; text-align: center; margin-top: 16px; font-size: 13px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; border: 1px solid rgba(249,249,249,.5); border-radius: 5px; padding: 15px; }
.lost { text-align: center; padding: 20vh 16px; }
.lost h1 { font-size: 34px; margin: 0 0 10px; }
.lost p { color: var(--muted); margin: 0 0 24px; }

/* "Your vote is in": a calm card, no confetti. */
.voted { position: fixed; inset: 0; z-index: 50; display: none; align-items: center; justify-content: center; padding: 24px 16px; background: rgba(5,7,16,.92); backdrop-filter: blur(10px); }
.voted.on { display: flex; animation: fade .5s var(--ease) both; }
.vcard { width: min(520px, 100%); text-align: center; animation: lift .7s var(--ease) .1s both; }
.vcard .art { position: relative; aspect-ratio: 16/9; border-radius: 8px; overflow: hidden; border: 3px solid rgba(249,249,249,.85); box-shadow: 0 30px 60px -20px rgba(0,0,0,.9), 0 0 80px -20px rgba(31,209,249,.35); margin-bottom: 26px; }
.vcard .art img.bd { width: 100%; height: 100%; object-fit: cover; }
.vcard .art .tl { position: absolute; left: 7%; bottom: 10%; width: 55%; max-height: 40%; object-fit: contain; object-position: left bottom; }
.vcard .art .tt { position: absolute; left: 7%; bottom: 9%; font-weight: 800; font-size: 24px; }
.vcard .kick { font-size: 12px; font-weight: 700; letter-spacing: 2.4px; text-transform: uppercase; color: var(--glow); }
.vcard h1 { font-size: clamp(28px, 4vw, 44px); margin: 8px 0 6px; font-weight: 800; }
.vcard p { color: var(--soft); margin: 0 0 26px; }
.vcard .acts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes lift { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }

/* ---------- Results page ---------- */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0; }
.stat { background: rgba(249,249,249,.05); border: 1px solid var(--line); border-radius: 6px; padding: 12px; min-width: 0; }
.stat b { display: block; font-size: 30px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stat span { font-size: 11px; color: var(--muted); font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; }
.bars { display: grid; gap: 10px; --bh: 46px; }
.vbar { display: grid; grid-template-columns: calc(var(--bh) * 16 / 9) 1fr 44px; align-items: center; gap: 12px; }
.vbar img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 4px; }
.vbar .track2 { background: rgba(249,249,249,.07); height: var(--bh); border-radius: 4px; overflow: hidden; position: relative; }
.vbar .fill { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, #0a4fb8, var(--blue-2) 70%, var(--glow)); transition: width .9s var(--ease); }
.vbar .lbl { position: absolute; left: 14px; right: 10px; top: 50%; transform: translateY(-50%); font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vbar .count { font-size: 26px; font-weight: 800; text-align: center; }
.guests { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.guest { background: rgba(249,249,249,.07); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; font-size: 13px; }
.err { margin-top: 10px; min-height: 1.3em; color: var(--muted); }
.stage { position: fixed; inset: 0; z-index: 50; background: #000; display: none; overflow: hidden; }
.stage.on { display: block; }
.stage .sbg { position: absolute; inset: 0; background: center/cover no-repeat; opacity: 0; transform: scale(1.04); transition: opacity 2.2s var(--ease), transform 9s linear; }
.stage .sbg.on { opacity: 1; transform: scale(1); }
.stage .sbg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.55) 40%, rgba(0,0,0,.1) 75%), linear-gradient(0deg, rgba(0,0,0,.7) 0%, rgba(0,0,0,0) 40%); }
#stageBody { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: center; padding: 0 var(--pad); }
.drum { align-self: center; font-size: clamp(22px, 2.4vw, 36px); font-weight: 300; letter-spacing: 6px; text-transform: uppercase; color: #dfe6ff; animation: breathe 2.4s var(--ease) both; }
@keyframes breathe { 0% { opacity: 0; letter-spacing: 2px; } 35% { opacity: 1; } 80% { opacity: 1; } 100% { opacity: 0; letter-spacing: 10px; } }
.win { max-width: min(680px, 92vw); animation: lift 1.4s var(--ease) .6s both; }
.win .kick { font-size: clamp(12px, 1vw, 15px); font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--glow); }
.win .tl { max-width: 100%; max-height: 24vh; object-fit: contain; object-position: left bottom; margin: 14px 0 20px; filter: drop-shadow(0 4px 16px rgba(0,0,0,.6)); }
.win .tt { font-size: clamp(44px, 6vw, 96px); font-weight: 800; line-height: 1; margin: 12px 0 18px; }
.win .meta { color: var(--soft); font-size: clamp(14px, 1.2vw, 18px); margin-bottom: 14px; }
.win p { font-size: clamp(15px, 1.3vw, 20px); margin: 8px 0; color: #eceef6; }
.win .btn { margin-top: 24px; }

/* ---------- TV / laptop voting + results: one screen, no scrolling ---------- */
.side { display: none; }
@media (min-width: 900px) and (min-aspect-ratio: 5/4) {
  :root { --u: min(1vh, 0.56vw); }
  body.fit { overflow: hidden; }
  .tv { display: grid; grid-template-columns: minmax(0, 1fr); height: 100dvh; padding: calc(3 * var(--u)) 4vw; gap: 3vw; }
  .tv .wrap { height: 100%; max-width: none; width: 100%; margin: 0; padding: 0; display: flex; flex-direction: column; min-height: 0; }
  header.top { gap: calc(2.4 * var(--u)); }
  header.top .brand img { height: calc(8 * var(--u)); }
  .tag { font-size: calc(3.4 * var(--u)); }
  .sub-line { font-size: calc(1.9 * var(--u)); margin-top: calc(.8 * var(--u)); }
  form#cast { flex: 1; min-height: 0; display: flex; flex-direction: column; }
  .step { font-size: calc(1.6 * var(--u)); margin: calc(2.4 * var(--u)) 0 calc(1.2 * var(--u)); }
  input.name { font-size: calc(2.6 * var(--u)); height: calc(6.4 * var(--u)); max-width: calc(80 * var(--u)); }
  .choices { flex: 1; min-height: 0; gap: calc(2.4 * var(--u)) calc(2 * var(--u)); align-content: stretch; justify-content: start;
    grid-template-rows: repeat(var(--tvrows), minmax(0, 1fr));
    grid-template-columns: repeat(var(--tvcols), minmax(0, calc(((100dvh - 46 * var(--u)) / var(--tvrows) - 6.4 * var(--u)) * 1.7778))); }
  .choice { container-type: inline-size; min-height: 0; gap: calc(.8 * var(--u)); }
  .choice .art { aspect-ratio: auto; flex: 1 1 auto; min-height: 0; max-height: 80cqw; }
  .choice .art .tt { font-size: calc(3 * var(--u)); }
  .choice .cname { font-size: calc(2.1 * var(--u)); flex: none; }
  .choice .cmeta { font-size: calc(1.5 * var(--u)); flex: none; }
  .agree { height: calc(6.6 * var(--u)); font-size: calc(1.9 * var(--u)); margin-top: calc(2.4 * var(--u)); max-width: calc(80 * var(--u)); flex: none; }
  .hint { font-size: calc(1.8 * var(--u)); min-height: calc(2.4 * var(--u)); flex: none; }
  .tv .wrap > .link { display: none; }
  .vcard { width: min(52vw, calc(90 * var(--u))); }
  .vcard h1 { font-size: calc(5.6 * var(--u)); }
  .vcard p { font-size: calc(2.2 * var(--u)); }
  .stats { gap: calc(1.6 * var(--u)); margin: calc(2.4 * var(--u)) 0; max-width: calc(120 * var(--u)); }
  .stat { padding: calc(1.4 * var(--u)) calc(2 * var(--u)); }
  .stat b { font-size: calc(4.6 * var(--u)); }
  .stat span { font-size: calc(1.4 * var(--u)); }
  .bars { gap: calc(1.2 * var(--u)); max-width: calc(140 * var(--u)); --bh: calc(var(--bhu, 7) * var(--u)); }
  .vbar { gap: calc(1.8 * var(--u)); grid-template-columns: calc(var(--bh) * 16 / 9) 1fr calc(8 * var(--u)); }
  .vbar .lbl { font-size: calc(var(--bh) * .32); left: calc(2 * var(--u)); }
  .vbar .count { font-size: calc(var(--bh) * .6); }
  .guests { flex: 1; min-height: 0; overflow: hidden; align-content: flex-start; margin-top: calc(2 * var(--u)); gap: calc(.8 * var(--u)); }
  .guest { font-size: calc(1.7 * var(--u)); padding: calc(.5 * var(--u)) calc(1.4 * var(--u)); }
  .reveal { max-width: calc(80 * var(--u)); }
}
@media (min-width: 1100px) and (min-aspect-ratio: 5/4) {
  .tv { grid-template-columns: minmax(0, 1fr) auto; }
  .side { display: flex; flex-direction: column; gap: calc(2 * var(--u)); width: clamp(220px, calc(34 * var(--u)), 380px); min-height: 0; }
  .qr-card, .tally-card { background: rgba(19,24,51,.85); border: 1px solid var(--line); border-radius: calc(1 * var(--u)); padding: calc(2.2 * var(--u)); color: #f9f9f9; display: block; box-shadow: rgba(0,0,0,.6) 0 20px 30px -12px; }
  .qr-card { text-align: center; }
  .qr-title, .tally-title { font-size: calc(1.5 * var(--u)); font-weight: 700; letter-spacing: calc(.24 * var(--u)); text-transform: uppercase; color: var(--glow); margin-bottom: calc(1.4 * var(--u)); }
  .qr { background: #fff; border-radius: calc(.6 * var(--u)); padding: calc(.6 * var(--u)); width: 78%; margin: 0 auto; }
  .qr svg { width: 100%; height: auto; display: block; }
  .qr-sub { font-size: calc(1.9 * var(--u)); font-weight: 600; margin-top: calc(1.4 * var(--u)); }
  .qr-url { font-size: calc(1.5 * var(--u)); margin-top: calc(.6 * var(--u)); color: var(--muted); }
  .qr-url b { color: #f9f9f9; letter-spacing: 2px; }
  .tally-card { flex: 0 1 auto; min-height: 0; overflow: hidden; transition: border-color .25s; }
  .tally-card:hover { border-color: rgba(249,249,249,.5); }
  .trow { display: flex; align-items: center; gap: calc(1.2 * var(--u)); padding: calc(.5 * var(--u)) 0; font-size: calc(1.7 * var(--u)); font-weight: 600; }
  .trow img { width: calc(6.4 * var(--u)); aspect-ratio: 16/9; object-fit: cover; border-radius: calc(.4 * var(--u)); }
  .trow .tname { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .trow b { font-size: calc(2.6 * var(--u)); font-weight: 800; min-width: calc(3 * var(--u)); text-align: right; }
  .trow.total { border-top: 1px solid var(--line); margin-top: calc(.8 * var(--u)); padding-top: calc(1.2 * var(--u)); color: var(--muted); }
  .tally-go { margin-top: calc(1.4 * var(--u)); font-size: calc(1.5 * var(--u)); font-weight: 700; letter-spacing: calc(.2 * var(--u)); text-transform: uppercase; text-align: center; border: 1px solid rgba(249,249,249,.6); border-radius: calc(.5 * var(--u)); padding: calc(1 * var(--u)); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- How it works ---------- */
.howto { position: fixed; inset: 0; z-index: 45; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(5,7,16,.8); backdrop-filter: blur(8px); opacity: 0; transition: opacity .35s var(--ease); }
.howto.on { opacity: 1; }
.howcard { position: relative; width: min(560px, 100%); max-height: calc(100dvh - 40px); overflow-y: auto; background: linear-gradient(180deg, #161c3d, #0f1430); border: 1px solid rgba(249,249,249,.12); border-radius: 10px; padding: 34px 34px 28px; box-shadow: 0 40px 80px -20px rgba(0,0,0,.85); transform: translateY(10px); transition: transform .45s var(--ease); }
.howto.on .howcard { transform: none; }
.howcard .kick { font-size: 12px; font-weight: 700; letter-spacing: 2.4px; text-transform: uppercase; color: var(--glow); }
.howcard h2 { font-size: 30px; font-weight: 800; margin: 6px 0 22px; }
.howcard ol { list-style: none; margin: 0 0 26px; padding: 0; counter-reset: s; display: grid; gap: 16px; }
.howcard li { counter-increment: s; display: grid; grid-template-columns: 38px 1fr; column-gap: 14px; }
.howcard li::before { content: counter(s); grid-row: span 2; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(249,249,249,.45); display: grid; place-items: center; font-weight: 700; font-size: 15px; }
.howcard li b { font-size: 17px; }
.howcard li span { color: var(--soft); font-size: 15px; line-height: 1.5; margin-top: 2px; }
.howcard em { font-style: normal; color: #f9f9f9; font-weight: 600; }
.howcard .got { width: 100%; }
.hclose { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(249,249,249,.25); background: none; color: #fff; cursor: pointer; font-size: 16px; }
.hclose:hover { background: rgba(249,249,249,.1); }
@media (max-width: 640px) { .howcard { padding: 28px 20px 22px; } .howcard h2 { font-size: 26px; } }

/* Banner swipes: the new slide drifts in from the side you swiped toward. */
.hero { touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.slide.in-r .info, .slide.in-r > img { animation: slideInR .9s var(--ease) both; }
.slide.in-l .info, .slide.in-l > img { animation: slideInL .9s var(--ease) both; }
.slide.in-r .info { animation-name: infoInR; } .slide.in-l .info { animation-name: infoInL; }
@keyframes slideInR { from { transform: translateX(3%) scale(1.02); } to { transform: none; } }
@keyframes slideInL { from { transform: translateX(-3%) scale(1.02); } to { transform: none; } }
@keyframes infoInR { from { opacity: 0; transform: translate(24px, -50%); } to { opacity: 1; transform: translate(0, -50%); } }
@keyframes infoInL { from { opacity: 0; transform: translate(-24px, -50%); } to { opacity: 1; transform: translate(0, -50%); } }
@media (max-width: 640px) {
  @keyframes infoInR { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
  @keyframes infoInL { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
}
.slide:not(.on) .info { opacity: 0; transition: opacity .2s; }

/* Info icon: a lowercase "i" in a circle (the ⓘ glyph renders as a capital I in some fonts). */
.info-i { display: inline-grid; place-items: center; width: 1.15em; height: 1.15em; border: .11em solid currentColor; border-radius: 50%; font-family: Georgia, "Times New Roman", serif; font-style: normal; font-weight: 700; font-size: 1em; line-height: 1; text-transform: none; letter-spacing: 0; padding-top: .04em; }

/* ---------- About ---------- */
.howcard.about { width: min(720px, 100%); }
.flow { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.flow span { background: rgba(249,249,249,.07); border: 1px solid rgba(249,249,249,.16); border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 600; }
.flow i { font-style: normal; color: var(--glow); }
.about-steps { display: grid; gap: 16px; margin-bottom: 18px; }
.about-steps b { font-size: 16px; }
.about-steps p { margin: 6px 0 0; color: var(--soft); font-size: 15px; line-height: 1.6; }
.about-steps a { color: var(--glow); text-decoration: underline; text-underline-offset: 2px; }
.about-steps em { font-style: normal; color: #f9f9f9; }
.howcard .fine { color: var(--muted); font-size: 12px; line-height: 1.6; margin: 0 0 18px; }

/* Quick add: a ＋ on every tile, so you can add without opening Details. */
.qadd { position: absolute; z-index: 2; right: 8px; bottom: 8px; width: 34px; height: 34px; font-size: 18px; border-width: 2px; background: rgba(6,9,22,.72); opacity: 0; transform: scale(.9); transition: opacity .2s var(--ease), transform .2s var(--ease), background .2s; }
.tile:hover .qadd, .tile:focus-visible .qadd, .qadd.on { opacity: 1; transform: none; }
.qadd:hover { background: rgba(249,249,249,.2); }
.qadd.on { background: #f9f9f9; color: #0a0d1d; }
.tile.t10 .qadd { right: 6px; bottom: auto; top: 6px; }
@media (hover: none) { .qadd { opacity: 1; transform: none; width: 32px; height: 32px; font-size: 17px; } }
.tile .picked, .tile.is-picked .picked { display: none; }

/* Share link on the vote screen */
.share-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.share-row .sub-line { margin: 0; }
.btn.share { height: 40px; padding: 0 16px; font-size: 12px; letter-spacing: 1.4px; }
@media (max-width: 640px) { .btn.share { width: 100%; height: 46px; margin-top: 4px; } }
@media (min-width: 900px) and (min-aspect-ratio: 5/4) { .share-row { margin-top: calc(.8 * var(--u)); } .btn.share { height: calc(4.8 * var(--u)); font-size: calc(1.4 * var(--u)); padding: 0 calc(2 * var(--u)); } }

/* ---------- Search bar in the top bar ---------- */
.navsearch { position: relative; display: flex; align-items: center; flex: 0 1 320px; min-width: 0; height: 40px; border-radius: 999px; background: rgba(249,249,249,.08); border: 1px solid rgba(249,249,249,.22); transition: border-color .2s, background .2s; }
.navsearch:focus-within { border-color: rgba(249,249,249,.8); background: rgba(9,11,22,.9); }
.navsearch .sicon { padding: 0 6px 0 14px; font-size: 17px; color: var(--soft); }
.navsearch input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; color: #f9f9f9; font: inherit; font-size: 14px; letter-spacing: .2px; }
.navsearch input::placeholder { color: #9aa3bd; }
.navsearch input::-webkit-search-cancel-button { display: none; }
.navsearch .sclear { border: 0; background: none; color: var(--soft); cursor: pointer; padding: 0 14px 0 8px; font-size: 14px; }
.search-head { padding: 100px var(--pad) 0; }
.search-head h2 { margin: 0; font-size: clamp(22px, 2vw, 32px); font-weight: 700; }
@media (max-width: 1100px) { .nav { gap: 22px; } .nav .right { display: none; } }
@media (max-width: 640px) {
  .navsearch { flex: 1 1 auto; height: 38px; }
  .navsearch .sicon { padding-left: 11px; }
  .nav { gap: 12px; }
  .menu { gap: 14px; }
  .search-head { padding-top: 78px; }
}
.navsearch svg.sicon { flex: none; box-sizing: content-box; padding: 0 8px 0 14px; color: var(--soft); }

/* Top-bar icons: one size and stroke for all of them */
.menu .nicon, .navsearch svg.sicon { width: 20px; height: 20px; flex: none; display: block; }
.menu a, .menu button { line-height: 1; }
@media (max-width: 640px) { .menu .nicon { width: 22px; height: 22px; } }

/* ---------- Ray's Films ---------- */
.lib-head { padding: 100px var(--pad) 0; }
.lib-head h1 { font-size: clamp(28px, 3vw, 44px); font-weight: 800; margin: 0 0 16px; }
.tabs { display: flex; gap: 6px; margin-bottom: 16px; flex-wrap: wrap; }
.tabs button { border: 1px solid rgba(249,249,249,.22); background: none; color: var(--soft); border-radius: 999px; padding: 8px 18px; font-size: 13px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; cursor: pointer; transition: all .2s; }
.tabs button:hover { border-color: rgba(249,249,249,.6); color: #f9f9f9; }
.tabs button[aria-selected="true"] { background: #f9f9f9; color: #0a0d1d; border-color: #f9f9f9; }
.filters { display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: flex-end; }
.filters label { display: flex; flex-direction: column; gap: 5px; font-size: 11px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted); }
.filters select { appearance: none; -webkit-appearance: none; background: rgba(249,249,249,.07) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23cacaca' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 12px center; border: 1px solid rgba(249,249,249,.2); color: #f9f9f9; border-radius: 6px; padding: 9px 34px 9px 12px; font: inherit; font-size: 14px; letter-spacing: 0; text-transform: none; font-weight: 500; cursor: pointer; }
.filters select:focus { outline: none; border-color: rgba(249,249,249,.8); }
.filters select option { background: #131833; }
.filters .chk { flex-direction: row; align-items: center; gap: 8px; height: 40px; font-size: 13px; letter-spacing: .3px; text-transform: none; color: var(--soft); cursor: pointer; }
.filters .chk input { width: 16px; height: 16px; accent-color: #0483ee; }
.filters .reset { background: none; border: 0; color: var(--glow); font-size: 13px; font-weight: 600; cursor: pointer; height: 40px; padding: 0 4px; }
.lib-count { color: var(--muted); font-size: 14px; margin: 16px 0 0; }
.lib-grid { align-items: start; }
.rcard { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.rcard .tile { width: auto; }
.rsnip { margin: 0; font-size: 13px; line-height: 1.5; color: var(--soft); font-style: italic; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.lib-more { display: flex; justify-content: center; padding: 26px 0 120px; }
@media (max-width: 640px) {
  .lib-head { padding-top: 78px; }
  .filters { display: grid; grid-template-columns: 1fr 1fr; }
  .filters select { width: 100%; }
}

/* ---------- Add a movie (vote screen) ---------- */
.step-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.addmovie { background: none; border: 1px solid rgba(31,209,249,.55); color: var(--glow); border-radius: 999px; padding: 5px 12px; font: inherit; font-size: 12px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; cursor: pointer; transition: background .2s; }
.addmovie:hover { background: rgba(31,209,249,.12); }
.cmeta .added { color: var(--glow); }
.addcard { width: min(620px, 100%); }
.addsearch { flex: none; width: 100%; height: 48px; margin-bottom: 10px; }
.addsearch input { font-size: 16px; }
.addnote { color: var(--muted); font-size: 13px; margin: 0 0 10px; }
.addlist { display: grid; gap: 8px; max-height: min(52vh, 460px); overflow-y: auto; }
.addrow { display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 8px; border-radius: 8px; background: rgba(249,249,249,.04); }
.addrow img { width: 112px; aspect-ratio: 16/9; object-fit: cover; border-radius: 5px; }
.addrow .ainfo { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.addrow .ainfo b { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.addrow .ainfo span { font-size: 12px; color: var(--muted); display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.addgo { height: 38px; padding: 0 14px; font-size: 12px; }
@media (max-width: 640px) { .addrow { grid-template-columns: 84px minmax(0, 1fr); } .addrow img { width: 84px; } .addgo { grid-column: 1 / -1; width: 100%; } }
@media (min-width: 900px) and (min-aspect-ratio: 5/4) { .addmovie { font-size: calc(1.3 * var(--u)); padding: calc(.5 * var(--u)) calc(1.4 * var(--u)); letter-spacing: calc(.12 * var(--u)); } }

/* Row titles open the row's own page */
.row h2 .rowlink { display: inline-flex; align-items: baseline; gap: 12px; color: inherit; }
.row h2 .more { font-size: .62em; color: var(--glow); font-weight: 600; letter-spacing: .4px; opacity: 0; transform: translateX(-6px); transition: opacity .25s var(--ease), transform .25s var(--ease); }
.row:hover h2 .more, .row h2 .rowlink:focus-visible .more { opacity: 1; transform: none; }
@media (hover: none) { .row h2 .more { opacity: 1; transform: none; } }

/* "Make your own": links to the open-source template on GitHub */
#mMake .lbl { color: var(--glow); }
#mMake .nicon { color: var(--glow); }
@media (max-width: 640px) { #mHome { display: none; } }

/* Keep top-bar labels on one line; the tagline only shows on very wide screens */
.menu .lbl { white-space: nowrap; }
@media (max-width: 1600px) { .nav .right { display: none; } }
@media (max-width: 1250px) { .menu { gap: 20px; } .navsearch { flex-basis: 240px; } }
@media (max-width: 1060px) and (min-width: 641px) { .menu .lbl { display: none; } .menu .nicon { width: 22px; height: 22px; } }

/* ---------- Everyone picks ---------- */
.modes { display: inline-flex; border: 1px solid rgba(249,249,249,.25); border-radius: 999px; padding: 3px; gap: 2px; flex: none; }
.modes button { border: 0; background: none; color: var(--soft); border-radius: 999px; padding: 7px 12px; font-size: 12px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; cursor: pointer; white-space: nowrap; }
.modes button[aria-checked="true"] { background: #f9f9f9; color: #0a0d1d; }
.pitch-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 18px var(--pad) 0; padding: 14px 18px; border-radius: 10px; border: 1px dashed rgba(31,209,249,.35); background: rgba(31,209,249,.05); color: var(--soft); font-size: 15px; }
.pitch-cta b { color: #f9f9f9; }
.pitch-cta .btn { height: 42px; padding: 0 18px; font-size: 13px; flex: none; }
@media (max-width: 640px) {
  .pitch-cta { flex-direction: column; align-items: stretch; text-align: center; }
  .modes { grid-column: 1 / -1; justify-self: start; }
}
.choice.pitched { cursor: default; }
.choice.pitched:hover .art { border-color: rgba(249,249,249,.08); }
.shufflebtn { width: 100%; margin-top: 10px; }
@media (min-width: 900px) and (min-aspect-ratio: 5/4) { .shufflebtn { max-width: calc(80 * var(--u)); height: calc(6.6 * var(--u)); font-size: calc(1.9 * var(--u)); flex: none; } }
.shuffle { position: fixed; inset: 0; z-index: 55; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px; background: rgba(5,7,16,.95); backdrop-filter: blur(10px); opacity: 0; transition: opacity .45s var(--ease); }
.shuffle.on { opacity: 1; }
.sh-kick { font-size: 12px; font-weight: 700; letter-spacing: 2.4px; text-transform: uppercase; color: var(--glow); }
.shuffle h2 { margin: 0 0 12px; font-size: clamp(26px, 3.4vw, 48px); font-weight: 800; text-align: center; }
.reel { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 14px; width: min(1100px, 100%); }
.reel .rt { display: flex; flex-direction: column; gap: 8px; transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reel .rt .art { position: relative; aspect-ratio: 16/9; border-radius: 6px; overflow: hidden; border: 3px solid rgba(249,249,249,.08); transition: border-color .12s, box-shadow .12s; }
.reel .rt .art img.bd { width: 100%; height: 100%; object-fit: cover; }
.reel .rt .art .tl { position: absolute; left: 7%; bottom: 10%; width: 56%; max-height: 40%; object-fit: contain; object-position: left bottom; }
.reel .rt .art .tt { position: absolute; left: 7%; bottom: 9%; font-weight: 800; }
.reel .rt span { font-size: 13px; font-weight: 600; color: var(--soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.reel .rt.hot .art { border-color: #f9f9f9; box-shadow: 0 0 40px -6px rgba(31,209,249,.6); }
.reel .rt.kept .art { border-color: var(--glow); box-shadow: 0 0 50px -8px rgba(31,209,249,.7); }
.reel .rt.kept { transform: scale(1.04); }
.reel .rt.out { opacity: .18; transform: scale(.96); }
@media (max-width: 640px) { .reel { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
.howalt { margin: -8px 0 22px; padding: 12px 14px; border-radius: 8px; background: rgba(31,209,249,.06); border: 1px solid rgba(31,209,249,.2); font-size: 14px; line-height: 1.55; color: var(--soft); }
.howalt b { color: #f9f9f9; }
.howalt em { font-style: normal; color: #f9f9f9; font-weight: 600; }
