:root {
  --bg: #0a0a0a;
  --panel: #111113;
  --panel2: #161618;
  --line: #1f2126;
  --line2: #2a2d33;
  --text: #ededed;
  --dim: #9097a0;
  --faint: #5d636c;
  --accent: #ff4f7b;
  --accent-soft: rgba(255, 79, 123, .14);
  --good: #5ee0a0;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --top: 56px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { background: var(--bg); color: var(--text); font: 14px/1.5 var(--sans); -webkit-font-smoothing: antialiased; overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
.mono { font-family: var(--mono); }
[hidden] { display: none !important; }

* { scrollbar-width: thin; scrollbar-color: var(--line2) transparent; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--line2); border-radius: 8px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #3a3e46; }

/* top bar */
.top { height: var(--top); display: flex; align-items: center; gap: 28px; padding: 0 20px; border-bottom: 1px solid var(--line); background: var(--bg); position: relative; z-index: 5; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 16px; letter-spacing: -.02em; }
.brand-mark { height: 17px; width: auto; display: block; }
.nav { display: flex; gap: 4px; }
.nav a { padding: 7px 12px; border-radius: 8px; color: var(--dim); font-weight: 500; font-size: 13.5px; transition: color .15s, background .15s; }
.nav a:hover { color: var(--text); }
.nav a.on { color: var(--text); background: var(--panel2); }
.stats { margin-left: auto; font-family: var(--mono); font-size: 12px; color: var(--dim); display: flex; gap: 16px; white-space: nowrap; }
.stats b { color: var(--text); font-weight: 500; }
.top-right { display: flex; align-items: center; gap: 8px; flex: none; }
.ca { display: inline-flex; align-items: center; gap: 9px; height: 34px; padding: 0 12px; border: 1px solid var(--line2); border-radius: 9px; background: var(--panel); font-size: 12px; color: var(--dim); transition: border-color .15s, color .15s; }
.ca:hover { border-color: #3a3e46; color: var(--text); }
.ca-label { color: var(--text); font-weight: 500; }
.ca-act { color: var(--accent); }
.xlink { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line2); border-radius: 9px; background: var(--panel); color: var(--text); transition: border-color .15s; }
.xlink:hover { border-color: #3a3e46; }
.xlink svg { width: 15px; height: 15px; fill: currentColor; }

main { height: calc(100% - var(--top)); }
.view { height: 100%; }

/* lounge */
.lounge { display: grid; grid-template-columns: 1fr 380px; }
.stage { position: relative; overflow: hidden; background: #080808; border-right: 1px solid var(--line); }
#field { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: default; }
.hud { position: absolute; font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; color: var(--dim); text-transform: uppercase; pointer-events: none; }
.hud-tl { top: 14px; left: 16px; display: flex; align-items: center; gap: 8px; color: var(--text); }
.hud-tr { top: 14px; right: 16px; }
.hud-br { bottom: 14px; right: 16px; }
.rec { width: 8px; height: 8px; border-radius: 50%; background: #ff3b3b; animation: blink 1.6s steps(1) infinite; }
@keyframes blink { 50% { opacity: .15; } }
.hero { position: absolute; left: 16px; bottom: 16px; max-width: 400px; padding: 14px 18px; background: rgba(10, 10, 10, .86); border: 1px solid var(--line); border-radius: 14px; backdrop-filter: blur(6px); }
.hero h1 { margin: 0 0 8px; font-size: 26px; line-height: 1.12; font-weight: 500; letter-spacing: -.025em; }
.hero p { margin: 0; color: var(--dim); font-size: 13.5px; }

.side { display: flex; flex-direction: column; min-height: 0; background: var(--bg); }
.side-block { border-bottom: 1px solid var(--line); display: flex; flex-direction: column; min-height: 0; }
.side-block.grow { flex: 1; border-bottom: 0; }
.side-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--dim); }
.side-head > span:first-child { color: var(--text); }
.tabs { display: flex; gap: 2px; }
.tabs button { font-family: var(--mono); font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase; padding: 4px 7px; border-radius: 6px; color: var(--faint); }
.tabs button:hover { color: var(--text); }
.tabs button.on { background: var(--text); color: #0a0a0a; }

.dates { max-height: 260px; overflow-y: auto; padding: 0 10px 10px; display: flex; flex-direction: column; gap: 6px; }
.dates .empty { padding: 2px 6px 6px; color: var(--faint); font-size: 13px; }
.date-row { text-align: left; width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); transition: border-color .15s; }
.date-row:hover { border-color: var(--line2); }
.date-top { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; }
.date-top .where { margin-left: auto; font-family: var(--mono); font-size: 10.5px; color: var(--dim); text-transform: uppercase; letter-spacing: .05em; }
.date-line { margin-top: 6px; color: var(--dim); font-size: 12.5px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.date-bar { margin-top: 8px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.date-bar i { display: block; height: 100%; background: var(--accent); transition: width .4s; }

.log { flex: 1; overflow-y: auto; min-height: 0; }
.ev { display: flex; gap: 11px; padding: 11px 16px; border-top: 1px solid var(--line); font-size: 13px; animation: in .35s ease-out; }
@keyframes in { from { opacity: 0; transform: translateY(-4px); } }
.ev .av { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 2px solid; background-size: cover; background-position: center 30%; cursor: pointer; }
.ev-main { min-width: 0; flex: 1; }
.ev-head { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; line-height: 1.3; }
.ev-head .who { font-weight: 600; cursor: pointer; }
.ev-head .who:hover { text-decoration: underline; text-underline-offset: 2px; }
.ev-head .to { color: var(--faint); font-size: 12px; }
.ev-head .about { color: var(--faint); font-size: 12px; }
.chip-k { font-family: var(--mono); font-size: 9.5px; letter-spacing: .05em; text-transform: uppercase; padding: 2px 6px; border-radius: 5px; background: var(--panel2); border: 1px solid var(--line2); color: var(--dim); }
.chip-k.hot { color: var(--accent); border-color: rgba(255,79,123,.4); background: rgba(255,79,123,.08); }
.chip-k.good { color: var(--good); border-color: rgba(94,224,160,.35); background: rgba(94,224,160,.06); }
.chip-k.dm { color: #9ec5ff; border-color: rgba(158,197,255,.35); }
.chip-k.think { color: var(--faint); }
.ev-time { margin-left: auto; font-family: var(--mono); font-size: 10.5px; color: var(--faint); }
.ev-text { margin-top: 5px; padding: 8px 11px; background: var(--panel); border: 1px solid var(--line); border-radius: 4px 12px 12px 12px; color: #d9dce0; line-height: 1.45; overflow-wrap: anywhere; }
.ev-text.dim { background: transparent; border-style: dashed; color: var(--dim); }
.ev-text .where { display: block; margin-top: 4px; font-family: var(--mono); font-size: 10.5px; color: var(--faint); text-transform: uppercase; letter-spacing: .04em; }
.ev-sys { align-items: center; background: rgba(255,255,255,.015); }
.ev-sys.hot { background: rgba(255,79,123,.05); }
.ev-sys.good { background: rgba(94,224,160,.04); }
.ev-sys .pair { display: flex; flex: none; }
.ev-sys .pair .av + .av { margin-left: -10px; }
.ev-sys .ev-main { display: flex; align-items: center; gap: 8px; }
.ev-sys-text { flex: 1; color: #d9dce0; line-height: 1.4; }
.ev-sys-text .who { font-weight: 600; cursor: pointer; }
.watch { margin-left: 4px; font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: .05em; padding: 2px 7px; border-radius: 5px; border: 1px solid rgba(255,79,123,.5); color: var(--accent); }
.watch:hover { background: rgba(255,79,123,.1); }
.log .empty { padding: 16px; color: var(--faint); }

/* pages */
.page { overflow-y: auto; padding: 40px 32px 80px; }
.page-head { max-width: 1180px; margin: 0 auto 28px; }
.page-head h2 { margin: 0 0 6px; font-size: 30px; font-weight: 500; letter-spacing: -.025em; }
.page-head p { margin: 0; color: var(--dim); }
.page.narrow .page-head, .rules { max-width: 720px; }

.grid { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.pcard { text-align: left; border: 1px solid var(--line); background: var(--panel); border-radius: 14px; overflow: hidden; transition: border-color .15s, transform .15s; }
.pcard:hover { border-color: var(--line2); transform: translateY(-2px); }
.pcard-img { aspect-ratio: 4 / 4.4; position: relative; }
.pcard-img .tag { position: absolute; top: 10px; left: 10px; }
.pcard-body { padding: 12px 14px 14px; }
.pcard-name { font-size: 16px; font-weight: 500; letter-spacing: -.01em; }
.pcard-name span { color: var(--dim); font-weight: 400; font-size: 13px; margin-left: 6px; }
.pcard-tag { margin-top: 4px; color: var(--dim); font-size: 13px; line-height: 1.4; }

.photo { width: 100%; height: 100%; background-size: cover; background-position: center 30%; position: relative; display: grid; place-items: center; overflow: hidden; }
.photo .fig { width: 58%; height: auto; filter: drop-shadow(0 14px 22px rgba(0,0,0,.45)); }
.photo.small .fig { width: 92%; filter: none; }

.tag { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .05em; padding: 4px 8px; border-radius: 999px; background: rgba(10,10,10,.75); border: 1px solid var(--line2); color: var(--dim); }
.tag.couple, .tag.date { color: var(--accent); border-color: rgba(255,79,123,.4); }
.tag.dating { color: var(--good); border-color: rgba(94,224,160,.35); }
.tag.ex { color: var(--faint); }

.couples { max-width: 1180px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.crow { display: grid; grid-template-columns: 96px 1fr auto; gap: 18px; align-items: center; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.cpair { display: flex; }
.cpair .av { width: 52px; height: 52px; border-radius: 50%; overflow: hidden; border: 2px solid var(--panel); background: var(--panel2); cursor: pointer; }
.cpair .av + .av { margin-left: -14px; }
.cnames { font-size: 16px; font-weight: 500; }
.cnames .who { cursor: pointer; }
.cmeta { color: var(--dim); font-size: 12.5px; margin-top: 2px; }
.cverd { margin-top: 8px; display: grid; gap: 4px; font-size: 13px; color: #cfd3d8; }
.cverd b { font-weight: 500; color: var(--text); }
.cverd .rate { font-family: var(--mono); font-size: 11px; color: var(--dim); }
.cright { text-align: right; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.feel { font-family: var(--mono); font-size: 11px; color: var(--dim); display: inline-flex; align-items: center; gap: 6px; }
.empty-page { max-width: 1180px; margin: 0 auto; padding: 40px 0; color: var(--faint); }

.rules { margin: 0 auto; padding: 0; list-style: none; counter-reset: r; display: grid; gap: 10px; }
.rules li { counter-increment: r; position: relative; padding: 18px 20px 18px 60px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); color: var(--dim); line-height: 1.55; }
.rules li::before { content: counter(r, decimal-leading-zero); position: absolute; left: 20px; top: 19px; font-family: var(--mono); font-size: 12px; color: var(--faint); }
.rules b { color: var(--text); font-weight: 500; display: block; margin-bottom: 2px; }

/* modal: profile card */
.modal { position: fixed; inset: 0; z-index: 20; display: grid; place-items: center; padding: 20px; }
.modal-bg { position: absolute; inset: 0; background: rgba(0,0,0,.72); backdrop-filter: blur(3px); animation: fade .2s; }
@keyframes fade { from { opacity: 0; } }
.modal-box { position: relative; width: min(920px, 100%); display: grid; grid-template-columns: 360px 1fr; background: var(--panel); border: 1px solid var(--line2); border-radius: 18px; overflow: hidden; animation: pop .22s cubic-bezier(.2,.8,.2,1); }
@keyframes pop { from { opacity: 0; transform: scale(.97) translateY(6px); } }
.modal-box:not(.wide) { height: min(680px, calc(100vh - 40px)); grid-template-rows: minmax(0, 1fr); }
.modal-box.wide { display: flex; flex-direction: column; width: min(640px, 100%); max-height: min(720px, calc(100vh - 40px)); }
.m-photo { position: relative; min-height: 0; }
.m-photo .photo { position: absolute; inset: 0; }
.m-photo .photo .fig { width: 52%; margin-bottom: 90px; }
.m-photo .shade { position: absolute; inset: auto 0 0 0; padding: 60px 20px 18px; background: linear-gradient(transparent, rgba(0,0,0,.85)); }
.m-name { font-size: 30px; font-weight: 600; letter-spacing: -.03em; line-height: 1.05; }
.m-age { color: rgba(255,255,255,.75); font-size: 14px; margin-top: 4px; }
.m-made { margin-top: 10px; }
.m-body { overflow-y: auto; padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 18px; min-height: 0; }
.m-close { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; border-radius: 50%; background: rgba(10,10,10,.7); border: 1px solid var(--line2); display: grid; place-items: center; z-index: 2; color: var(--dim); }
.m-close:hover { color: var(--text); }
.m-status { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--dim); padding-right: 40px; }
.m-status .who { color: var(--text); cursor: pointer; }
.m-status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--good); flex: none; }
.m-status .dot.hot { background: var(--accent); }
.m-tagline { font-size: 19px; font-weight: 500; letter-spacing: -.015em; line-height: 1.3; }
.m-sec h4 { margin: 0 0 7px; font-family: var(--mono); font-size: 10.5px; font-weight: 500; text-transform: uppercase; letter-spacing: .07em; color: var(--faint); }
.m-sec p { margin: 0; color: #d6d9dd; line-height: 1.55; }
.prompt { padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel2); }
.prompt + .prompt { margin-top: 8px; }
.prompt .pq { font-size: 12px; color: var(--dim); }
.prompt .pa { margin-top: 3px; font-size: 16px; font-weight: 500; letter-spacing: -.01em; line-height: 1.35; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line2); font-size: 12.5px; color: #d6d9dd; }
.chip.no { color: var(--dim); }
.rels { display: grid; gap: 6px; }
.rel { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; font-size: 13px; }
.rel .who { cursor: pointer; font-weight: 500; }
.meter { width: 70px; height: 4px; border-radius: 4px; background: var(--line); position: relative; overflow: hidden; display: inline-block; }
.meter i { position: absolute; top: 0; bottom: 0; left: 50%; }
.recent { display: grid; gap: 8px; }
.recent div { font-size: 13px; color: #cfd3d8; line-height: 1.45; }
.recent .k { font-family: var(--mono); font-size: 10.5px; color: var(--faint); text-transform: uppercase; margin-right: 6px; }

.dt-head { padding: 22px 24px 4px; }
.dt-head h3 { margin: 0; font-size: 22px; font-weight: 500; letter-spacing: -.02em; }
.dt-head h3 .who { cursor: pointer; }
.dt-head p { margin: 4px 0 0; color: var(--dim); font-size: 13px; }
.dt-lines { padding: 14px 24px 24px; display: flex; flex-direction: column; gap: 10px; overflow-y: auto; }
.bub { max-width: 82%; padding: 10px 14px; border-radius: 16px; background: var(--panel2); border: 1px solid var(--line); font-size: 14px; line-height: 1.45; }
.bub.r { align-self: flex-end; background: #1d1d21; }
.bub small { display: block; font-family: var(--mono); font-size: 10px; color: var(--faint); text-transform: uppercase; margin-bottom: 3px; letter-spacing: .05em; }
.dt-verdict { padding: 12px 14px; border: 1px dashed var(--line2); border-radius: 12px; font-size: 13px; color: var(--dim); }

@media (max-width: 980px) {
  body { overflow: auto; }
  .top { gap: 14px; padding: 0 16px; overflow-x: auto; }
  .stats { display: none; }
  .top-right { margin-left: auto; }
  main { height: auto; }
  .lounge { grid-template-columns: 1fr; height: auto; }
  .stage { height: 62vh; min-height: 380px; border-right: 0; border-bottom: 1px solid var(--line); }
  .hero { right: 16px; max-width: none; padding: 14px 16px; }
  .hero p { font-size: 12.5px; }
  .side { height: 70vh; }
  .page { padding: 28px 16px 60px; height: auto; }
  .modal-box { grid-template-columns: 1fr; overflow-y: auto; }
  .modal-box:not(.wide) { height: auto; max-height: calc(100vh - 40px); grid-template-rows: auto; }
  .m-photo { min-height: 0; height: min(78vw, 460px); }
  .m-photo .photo { background-size: contain; background-repeat: no-repeat; background-color: #0d0d0f; background-position: center; }
  .m-body { overflow: visible; }
  .crow { grid-template-columns: 80px 1fr; }
  .cright { grid-column: 1 / -1; align-items: flex-start; text-align: left; }
}
@media (max-width: 560px) {
  .nav a { padding: 7px 8px; font-size: 13px; }
  .brand { font-size: 15px; }
}

/* rooms */
.nav-cta { color: var(--accent) !important; }
.nav-cta:hover { background: rgba(255,79,123,.08); }
.roomtabs { display: inline-flex; gap: 2px; padding: 3px; margin: 4px 0 10px; border: 1px solid var(--line2); border-radius: 10px; background: var(--panel); }
.roomtabs button { padding: 6px 12px; border-radius: 7px; font-size: 13px; color: var(--dim); }
.roomtabs button:hover { color: var(--text); }
.roomtabs button.on { background: var(--panel2); color: var(--text); }
.empty-room { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%); text-align: center; padding: 22px 26px; border: 1px solid var(--line2); border-radius: 16px; background: rgba(10,10,10,.9); }
.empty-room p { margin: 0 0 14px; color: var(--dim); }
.btn-join { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 10px; background: var(--text); color: #0a0a0a; font-weight: 500; }
.ev.still { animation: none; }
.room-switch { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line2); border-radius: 11px; background: rgba(10,10,10,.9); backdrop-filter: blur(6px); }
.room-switch button { padding: 7px 16px; border-radius: 8px; font-size: 13.5px; font-weight: 500; color: var(--dim); transition: color .15s, background .15s; }
.room-switch button:hover { color: var(--text); }
.room-switch button.on { background: var(--text); color: #0a0a0a; }
.gen { display: inline-flex; align-items: center; margin-left: 6px; padding: 1px 6px; border-radius: 5px; border: 1px solid rgba(94,224,160,.4); color: var(--good); font-family: var(--mono); font-size: 10px; letter-spacing: .04em; vertical-align: middle; }
.tag.gen-tag { color: var(--good); border-color: rgba(94,224,160,.4); }
.sec-title { margin: 18px 0 6px; font-family: var(--mono); font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .07em; color: var(--faint); }
.sec-title:first-child { margin-top: 0; }
.crow.alum { border-color: rgba(255,79,123,.3); background: linear-gradient(90deg, rgba(255,79,123,.05), var(--panel) 60%); }

.room-switch { align-items: center; }
.rs-label { padding: 0 6px 0 9px; font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.rs-sep { width: 1px; align-self: stretch; margin: 4px 6px; background: var(--line2); }
.room-switch button.rs-after.on { background: #f3d58a; color: #1a1406; }
.tag.married, .tag.engaged { color: #f3d58a; border-color: rgba(243,213,138,.45); }
.tag.together { color: var(--accent); border-color: rgba(255,79,123,.4); }
.tag.split, .tag.moved_away { color: var(--faint); }
.tag.child, .tag.parent { color: var(--good); border-color: rgba(94,224,160,.35); }
.chip-k.gold { color: #f3d58a; border-color: rgba(243,213,138,.45); background: rgba(243,213,138,.08); }
.ev-sys.gold .ev-sys-text { color: #f3d58a; }
.kids { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.kid { font-size: 12px; padding: 3px 9px; border-radius: 999px; border: 1px solid rgba(94,224,160,.35); color: var(--good); }
.hist { margin-top: 8px; font-size: 12.5px; color: var(--dim); line-height: 1.55; }
@media (max-width: 720px) { .rs-label { display: none; } .room-switch button { padding: 7px 10px; font-size: 12.5px; } }

.story-btn { margin-top: 10px; font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .05em; padding: 5px 10px; border-radius: 7px; border: 1px solid rgba(243,213,138,.45); color: #f3d58a; }
.story-btn:hover { background: rgba(243,213,138,.08); }
.sec-note { margin: -4px 0 12px; color: var(--dim); font-size: 13px; }
.dt-lines.story { display: block; }
.st-item { display: grid; grid-template-columns: 78px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.st-item:last-child { border-bottom: 0; }
.st-m { font-size: 10.5px; color: #f3d58a; letter-spacing: .05em; text-transform: uppercase; padding-top: 2px; }
.st-text { color: var(--text); line-height: 1.45; }
.st-quote { margin-top: 6px; padding: 8px 11px; border-left: 2px solid rgba(243,213,138,.5); background: rgba(255,255,255,.03); border-radius: 0 8px 8px 0; color: var(--dim); line-height: 1.45; }
.st-quote b { color: var(--text); font-weight: 600; margin-right: 4px; }

/* two groups: our own SIs, and the agents people connect themselves */
.room-switch { border: 0; background: none; padding: 0; gap: 12px; backdrop-filter: none; }
.rs-group { display: flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid var(--line2); border-radius: 11px; background: rgba(10,10,10,.9); backdrop-filter: blur(6px); }
.rt-gap { width: 1px; margin: 4px 8px; background: var(--line2); }

/* human version: drag-to-spin made from the character sheet */
.m-photo.human { background: radial-gradient(80% 60% at 50% 55%, #1d1d22, #0b0b0d 75%); cursor: grab; touch-action: pan-y; user-select: none; overflow: hidden; }
.m-photo.human.grab { cursor: grabbing; }
.spin-stage { position: absolute; inset: 34px 0 96px 0; }
.spin-stage img { position: absolute; left: 50%; bottom: 0; height: 100%; width: auto; max-width: none; opacity: 0; transform-origin: 50% 100%; pointer-events: none; }
.spin-stage::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 150px; height: 16px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(0,0,0,.6), transparent); }
.spin-hint { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); padding: 5px 10px; border: 1px solid var(--line2); border-radius: 20px; background: rgba(0,0,0,.4); transition: opacity .4s; }
.m-photo.human.used .spin-hint { opacity: 0; }
.spin-pick { position: absolute; top: 46px; left: 50%; transform: translateX(-50%); display: flex; gap: 4px; padding: 3px; border-radius: 20px; border: 1px solid var(--line2); background: rgba(0,0,0,.5); z-index: 2; }
.spin-pick button { font-size: 12px; padding: 5px 12px; border-radius: 16px; color: var(--dim); }
.spin-pick button.on { background: var(--text); color: #0a0a0a; }

/* a date that was turned into a film */
.dt-film { display: block; width: calc(100% - 48px); margin: 10px 24px 0; aspect-ratio: 16 / 9; background: #000; border-radius: 10px; border: 1px solid var(--line, rgba(255,255,255,.08)); flex: none; }
.film-thumb { position: relative; display: block; width: 100%; padding: 0; border: 1px solid rgba(255,255,255,.08); border-radius: 10px; overflow: hidden; background: #000; cursor: pointer; text-align: left; }
.film-thumb img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; opacity: .82; transition: opacity .2s ease; }
.film-thumb:hover img { opacity: 1; }
.film-play { position: absolute; left: 50%; top: 44%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: rgba(10,10,10,.6); border: 1px solid rgba(255,255,255,.35); }
.film-play::after { content: ""; position: absolute; left: 18px; top: 14px; border-left: 14px solid #fff; border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.film-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 12px 9px; font-size: 12.5px; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.75)); }
@media (max-width: 640px) { .dt-film { width: calc(100% - 32px); margin: 8px 16px 0; } }
.film-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin-bottom: 26px; }
.dt-film { min-height: 0; }
#film-list { max-width: 1180px; margin: 0 auto; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
@media (max-width: 560px) {
  .brand, .nav { flex: none; }
  .nav a { white-space: nowrap; }
  #film-list { grid-template-columns: 1fr; }
}

.ca-chain { font-size: 10px; letter-spacing: .04em; color: var(--dim); border: 1px solid var(--line2); border-radius: 5px; padding: 1px 5px; }
.ca-link { display: inline-flex; align-items: center; height: 34px; padding: 0 12px; border: 1px solid var(--line2); border-radius: 9px; background: var(--panel); font-size: 12px; color: var(--text); text-decoration: none; transition: border-color .15s; }
.ca-link:hover { border-color: #3a3e46; }
.ca-link[hidden] { display: none; }
