:root {
  --bg: #141419; --ink: #f6f6f8; --mute: #a3a3ae; --line: rgba(255,255,255,.14);
  --card: #1f1f26; --accent: #ff4d6d; --accent2: #ffb64d;
  --safe-b: env(safe-area-inset-bottom, 0px); --safe-t: env(safe-area-inset-top, 0px);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; }
body { background: var(--bg); color: var(--ink); font: 15px/1.4 -apple-system, "Inter", "Segoe UI", system-ui, sans-serif; overflow: hidden; -webkit-font-smoothing: antialiased; overscroll-behavior: none; touch-action: manipulation; }

#edges { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
#board { position: fixed; inset: 0; z-index: 2; }

/* nodes */
.n { position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; will-change: transform; cursor: pointer;
  transition: width .45s cubic-bezier(.2,.9,.2,1), height .45s cubic-bezier(.2,.9,.2,1), opacity .4s, filter .4s; opacity: 0; }
.n.in { opacity: 1; }
.n img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; outline: 2px solid rgba(255,255,255,.85); outline-offset: -2px; box-shadow: 0 8px 22px rgba(0,0,0,.5); background: #222; }
.n .lbl { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); margin-top: 6px; white-space: nowrap; font-size: 11.5px; font-weight: 500; color: #fff;
  background: rgba(40,40,50,.95); backdrop-filter: blur(8px); padding: 3px 8px; border-radius: 999px; opacity: 0; transition: opacity .3s; pointer-events: none; letter-spacing: .1px; }
.n .lbl small { color: var(--mute); font-weight: 400; margin-left: 4px; }
.n.focus .lbl, .n.ring .lbl, .n:hover .lbl { opacity: 1; }
.n.focus { z-index: 50; }
.n.focus img { outline: 4px solid #fff; box-shadow: 0 20px 60px rgba(0,0,0,.7), 0 0 0 10px rgba(255,255,255,.06); }
.n.focus .lbl { font-size: 14px; font-weight: 600; padding: 5px 12px; margin-top: 10px; }
@media (max-width: 699px) { .n.focus .lbl { font-size: 13px; padding: 4px 10px; } .n .lbl { font-size: 11px; padding: 3px 7px; } }
.n.pair img { outline: 4px solid var(--accent); }
.n.ring { z-index: 20; }
.n.far { opacity: .55; filter: saturate(.6); z-index: 5; }
.n.far img { outline-width: 1px; box-shadow: none; }
.n.seed { opacity: .9; filter: none; }
.n.seed:hover { opacity: 1; filter: none; }
.n.set { z-index: 20; }
.n.set .lbl { opacity: 1; }

.n.set .lbl b { color: var(--accent2); margin-right: 5px; font-weight: 600; }
.n.quiet { opacity: .6; }
.n.quiet .lbl { opacity: 0; }

/* deck of scenes stacked behind a model */
.deck { position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%); width: 62%; height: 40%; pointer-events: none; opacity: 0; transition: opacity .3s, bottom .3s; z-index: -1; }
.deck i { position: absolute; inset: 0; border-radius: 4px; background: #2b2b33; border: 1px solid rgba(255,255,255,.18); box-shadow: 0 3px 8px rgba(0,0,0,.4); }
.deck i:nth-child(1) { transform: translateY(6px) scale(.9); opacity: .5; } .deck i:nth-child(2) { transform: translateY(3px) scale(.95); opacity: .75; }
.deck b { position: absolute; right: -6px; bottom: -4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--accent2); color: #111; font-size: 10.5px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.deck.on { opacity: 1; pointer-events: auto; cursor: pointer; bottom: -12px; }
.n.focus .deck.on { bottom: -18px; width: 70%; height: 46%; }
.n.focus .deck.on:hover i, .n.focus .deck.on:active i { background: #383843; }
.n.focus .deck.on ~ .lbl { margin-top: 26px; }

/* scene cards fanned at the top */
.n.card { border-radius: 10px; width: 160px; height: 90px; z-index: 40; }
.n.card img { border-radius: 10px; outline: 1.5px solid rgba(255,255,255,.7); box-shadow: 0 14px 30px rgba(0,0,0,.55); }
.n.card .cap { position: absolute; top: 100%; left: 0; right: 0; margin-top: 5px; font-size: 10.5px; line-height: 1.25; color: #d8d8df; max-height: 2.5em; overflow: hidden; text-align: center; }
.n.card:hover img { outline-color: #fff; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
@media (min-width: 700px) { .grid { grid-template-columns: 1fr 1fr 1fr; } }
.sc { cursor: pointer; }
.sc img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 9px; display: block; background: #222; }
.sc span { display: block; font-size: 11.5px; color: #d8d8df; margin-top: 5px; line-height: 1.25; max-height: 2.5em; overflow: hidden; }
.sc small { color: var(--mute); font-size: 10.5px; }

.n.hit img { outline-color: var(--accent2); }
.n:active { transform: scale(.94); }

/* header */
.top { position: fixed; top: 52px; left: 0; right: 0; padding: calc(10px + var(--safe-t)) 12px 8px; z-index: 30;
  background: linear-gradient(var(--bg) 40%, transparent); }
.ask { position: relative; max-width: 560px; margin: 0 auto; }
.ask input { width: 100%; height: 52px; padding: 0 44px 0 18px; border: 1px solid rgba(255,255,255,.22); border-radius: 16px; background: #26262e;
  font: inherit; font-size: 17px; color: var(--ink); outline: none; box-shadow: 0 10px 30px rgba(0,0,0,.35); -webkit-appearance: none; }
.ask input:focus { border-color: rgba(255,255,255,.2); }
.ask input::placeholder { color: #9a9aa6; }
.ask input::-webkit-search-cancel-button { display: none; }
.ask button { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border: 0; border-radius: 50%; background: transparent; color: #5e5e68; font-size: 24px; line-height: 1; cursor: pointer; }
.chips { max-width: 560px; margin: 10px auto 0; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 2px 24px 6px 0; scroll-padding-inline: 0 12px; -webkit-mask-image: linear-gradient(90deg, #000 88%, rgba(0,0,0,.25)); mask-image: linear-gradient(90deg, #000 88%, rgba(0,0,0,.25)); }
.chips::-webkit-scrollbar { display: none; }
.chips button { flex: none; border: 1px solid rgba(255,255,255,.16); background: rgba(40,40,48,.95); backdrop-filter: blur(8px); color: #e4e4ea; font: inherit; font-size: 12.5px; padding: 6px 11px; border-radius: 999px; cursor: pointer; white-space: nowrap; }
.chips button.on { background: #fff; color: #111; border-color: #fff; }
.chips button.jev::before { content: "✦ "; color: var(--accent2); }

.hint { position: fixed; left: 50%; transform: translateX(-50%); top: 190px; width: min(420px, calc(100vw - 40px)); text-align: center; color: #111; background: #fff; font-size: 14px; font-weight: 500; padding: 10px 16px; border-radius: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.4); z-index: 3; pointer-events: none; transition: opacity .4s; }
.hint.off { opacity: 0; }

/* sheet (scene → funnel) */
.sheet { position: fixed; inset: 0; z-index: 60; display: flex; }
.sheet[hidden] { display: none; }
.sheet { align-items: flex-end; justify-content: center; }
.sheet-bg { position: absolute; inset: 0; background: rgba(0,0,0,.55); backdrop-filter: blur(6px); }
.sheet-card { position: relative; width: 100%; max-width: 520px; background: var(--card); border-radius: 22px 22px 0 0; padding: 12px 18px calc(28px + var(--safe-b));
  box-shadow: 0 -20px 60px rgba(0,0,0,.6); animation: up .35s cubic-bezier(.2,.9,.2,1); max-height: 92vh; overflow-y: auto; }
@media (min-width: 700px) { .sheet { align-items: center; } .sheet-card { border-radius: 22px; padding-bottom: 20px; } }
@keyframes up { from { transform: translateY(40px); opacity: 0; } }
.grab { width: 36px; height: 4px; border-radius: 2px; background: #333; margin: 0 auto 12px; }
.sheet-card .thumb { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 14px; display: block; background: #222; }
.sheet-card .thumb-link { position: relative; display: block; border-radius: 14px; overflow: hidden; -webkit-tap-highlight-color: transparent; }
.sheet-card .thumb-link .play { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: rgba(0,0,0,.55); color: #fff; font-size: 22px; line-height: 56px; text-align: center; padding-left: 4px; box-sizing: border-box; backdrop-filter: blur(4px); opacity: .85; transition: opacity .15s, transform .15s; }
.sheet-card .thumb-link:hover .play, .sheet-card .thumb-link:active .play { opacity: 1; transform: scale(1.06); }
.sheet-card h2 { font-size: 18px; margin: 14px 0 4px; line-height: 1.25; }
.sheet-card .meta { color: var(--mute); font-size: 13px; }
.cast { display: flex; gap: 8px; margin: 12px 0; flex-wrap: wrap; }
.cast button { display: flex; align-items: center; gap: 7px; border: 1px solid var(--line); background: #1f1f26; color: var(--ink); font: inherit; font-size: 13px; padding: 5px 12px 5px 5px; border-radius: 999px; cursor: pointer; }
.cast img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; position: sticky; bottom: 0; background: var(--card); padding-top: 8px; }
.btn { border: 0; border-radius: 14px; padding: 14px; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.btn.primary { background: var(--accent); color: #fff; }
.btn.ghost { background: #26262e; color: var(--ink); }
.btn.wide { grid-column: 1 / -1; }
.plans { display: grid; gap: 8px; margin: 12px 0; }
.plan { display: flex; justify-content: space-between; align-items: center; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; cursor: pointer; }
.plan.on { border-color: var(--accent); background: rgba(255,77,109,.08); }
.plan b { display: block; font-size: 15px; }
.plan small { color: var(--mute); }
.plan .price { font-weight: 700; font-size: 16px; }
.field { display: grid; gap: 6px; margin: 10px 0; }
.field label { font-size: 12px; color: var(--mute); }
.field input { height: 46px; border: 1px solid var(--line); border-radius: 12px; background: #101014; color: var(--ink); font: inherit; font-size: 16px; padding: 0 14px; outline: none; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fine { font-size: 11.5px; color: var(--mute); text-align: center; margin-top: 10px; }
.fine a { color: #c9c9d2; }
.demo { display: inline-block; background: #2a2a33; color: var(--accent2); font-size: 11px; padding: 2px 8px; border-radius: 999px; margin-left: 6px; vertical-align: middle; }
.done { text-align: center; padding: 24px 0 8px; }
.done .big { font-size: 44px; }

@media (prefers-reduced-motion: reduce) { .n, .sheet-card { transition: none; animation: none; } }

.coach { max-width: 560px; margin: 6px auto 0; text-align: center; font-size: 13px; color: #cfcfd8; text-shadow: 0 1px 2px rgba(0,0,0,.8); line-height: 1.35; opacity: 0; transform: translateY(-4px); transition: opacity .4s, transform .4s; pointer-events: none; min-height: 18px; padding: 0 8px; }
.coach.on { opacity: 1; transform: none; }
.coach b { color: #fff; font-weight: 600; }
.chips button.ctx { border-color: rgba(255,182,77,.35); }
.chips button.ctx:first-child { background: #fff; color: #111; border-color: #fff; }

/* site nav (matches hotguysfuck.com: #161616, Barlow, white, red accent) */
.sitenav { position: fixed; top: 0; left: 0; right: 0; height: 52px; z-index: 12; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 0 14px; padding-top: var(--safe-t); background: #161616; border-bottom: 1px solid rgba(255,255,255,.08); font-family: Barlow, Inter, system-ui, sans-serif; }
.sitenav .logo img { height: 26px; display: block; }
.sitenav .links { display: flex; gap: 14px; overflow-x: auto; scrollbar-width: none; flex: 1; }
.sitenav .links::-webkit-scrollbar { display: none; }
.sitenav .links a { color: #f7f7f7; text-decoration: none; font-size: 13px; font-weight: 600; letter-spacing: .02em; white-space: nowrap; opacity: .85; }
.sitenav .links a.secret { color: #ff3b3b; opacity: 1; }
.sitenav .acct { display: flex; gap: 8px; align-items: center; }
.sitenav .signin { color: #f7f7f7; font-size: 13px; font-weight: 600; text-decoration: none; }
.sitenav .join { background: #e50914; color: #fff; font-size: 13px; font-weight: 700; padding: 7px 12px; border-radius: 6px; text-decoration: none; }
@media (max-width: 600px) { .sitenav .signin { display: none; } .sitenav .links a { font-size: 12px; } .sitenav .links a:not(.secret):not(:nth-child(-n+2)) { display: none; } .sitenav .links { gap: 12px; } .sitenav .join { padding: 6px 10px; } }
.sitenav .links { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
.sheet-card { padding-bottom: calc(18px + var(--safe-b)); }
.galgrid { padding-bottom: 8px; }
.n.held { z-index: 20; }
.n.held img { box-shadow: 0 0 0 3px #fff, 0 18px 40px rgba(0,0,0,.6); }
#board { touch-action: none; }

.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 2px; }
.tag { background: rgba(255,255,255,.08); color: #ddd; border: 0; border-radius: 999px; padding: 5px 10px; font-size: 12px; }
.badge.secret { display: inline-block; margin: 8px 0 0; color: #ff3b3b; font-weight: 700; font-size: 13px; }
.gal { margin: 12px 0 0; }
.galrow { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; margin-bottom: 8px; }
.galrow img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 6px; background: #222; }
.galgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; margin: 10px 0; max-height: 60vh; overflow-y: auto; }
.galgrid img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 8px; background: #222; }
.btn.small { padding: 8px 12px; font-size: 13px; width: 100%; }

/* latest-3 row on the idle stage */
.n.card.latest { z-index: 4; }
.n.card.latest::before { content: 'NEW'; position: absolute; top: 6px; left: 6px; z-index: 2; background: #e50914; color: #fff; font-size: 9px; font-weight: 800; letter-spacing: .08em; padding: 2px 5px; border-radius: 4px; }
.n.card.latest .cap { font-size: 10.5px; }
.galgrid img, .galrow img { cursor: zoom-in; }
/* lightbox */
#lb { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.96); display: none; align-items: center; justify-content: center; touch-action: pan-y; }
#lb.on { display: flex; }
#lb img { max-width: 100vw; max-height: 100vh; object-fit: contain; }
#lb .lbcap { position: absolute; bottom: calc(14px + var(--safe-b)); left: 50%; transform: translateX(-50%); color: #ccc; font-size: 13px; }
#lb button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; border-radius: 50%; width: 42px; height: 42px; font-size: 26px; line-height: 42px; text-align: center; padding: 0; }
#lb .lbx { top: calc(12px + var(--safe-t)); right: 12px; }
#lb .lbp { left: 8px; top: 50%; transform: translateY(-50%); }
#lb .lbn { right: 8px; top: 50%; transform: translateY(-50%); }

.n.card .play { position: absolute; left: 50%; top: calc(var(--h, 68px) / 2); transform: translate(-50%, -50%); width: 30px; height: 30px; border-radius: 50%; background: rgba(0,0,0,.55); backdrop-filter: blur(3px); border: 1.5px solid rgba(255,255,255,.7); pointer-events: none; }
.n.card .play::after { content: ''; position: absolute; left: 55%; top: 50%; transform: translate(-50%, -50%); border-left: 10px solid #fff; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.n.card .dur { position: absolute; right: 5px; bottom: calc(100% - var(--h, 68px) + 5px); background: rgba(0,0,0,.7); color: #fff; font-size: 9.5px; font-weight: 600; padding: 1px 5px; border-radius: 4px; pointer-events: none; }
#lb { background: rgba(0,0,0,.985); }
#lb button { background: rgba(0,0,0,.55); border: 1px solid rgba(255,255,255,.25); }
#lb .lbcap { bottom: calc(24px + var(--safe-b)); }

.n.card.overflow img { filter: brightness(.35) saturate(.6); }
.n.card.overflow .play, .n.card.overflow .dur { display: none; }
.n.card .ov { position: absolute; left: 0; top: 0; width: 100%; height: var(--h, 68px); display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; pointer-events: none; }
.n.card .ov b { font-size: 22px; font-weight: 700; line-height: 1; }
.n.card .ov span { font-size: 11px; opacity: .8; margin-top: 2px; }

/* carousel strip under the chips */
#strip { position: fixed; left: 0; right: 0; top: var(--strip-top, 160px); z-index: 11; opacity: 0; transform: translateY(-6px); transition: opacity .35s, transform .35s; pointer-events: none; }
#strip.on { opacity: 1; transform: none; pointer-events: auto; }
#strip[hidden] { display: none; }
#strip .sr { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 14px 6px; scroll-padding-inline: 14px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
#strip .sr::after { content: ''; flex: none; width: 4px; }
#strip .sr { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 22px), rgba(0,0,0,.25)); mask-image: linear-gradient(90deg, #000 calc(100% - 22px), rgba(0,0,0,.25)); }
#strip .sr::-webkit-scrollbar { display: none; }
#strip .st { flex: none; width: 156px; scroll-snap-align: start; cursor: pointer; }
@media (min-width: 700px) { #strip .st { width: 196px; } }
#strip .fr { position: relative; aspect-ratio: 16/9; border-radius: 10px; overflow: hidden; background: #222; box-shadow: 0 8px 22px rgba(0,0,0,.5); }
#strip .fr img { width: 100%; height: 100%; object-fit: cover; display: block; }
#strip .ranked .fr { box-shadow: 0 0 0 1px rgba(255,182,77,.55), 0 8px 22px rgba(0,0,0,.5); }
#strip .ranked .sub { color: var(--accent2); }
#strip .rk, #strip .nw, #strip .sc { position: absolute; left: 7px; top: 7px; z-index: 2; height: 20px; padding: 0 7px; border-radius: 6px; font-size: 11px; font-weight: 800; letter-spacing: .04em; display: flex; align-items: center; }
#strip .rk { background: #ffb64d; color: #111; padding: 0 8px; }
#strip .nw { background: #e50914; color: #fff; }
#strip .sc { background: rgba(0,0,0,.6); color: #fff; padding: 0 6px; }
#strip .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 32px; height: 32px; border-radius: 50%; background: rgba(0,0,0,.5); border: 1.5px solid rgba(255,255,255,.75); pointer-events: none; }
#strip .play::after { content: ''; position: absolute; left: 55%; top: 50%; transform: translate(-50%, -50%); border-left: 11px solid #fff; border-top: 6.5px solid transparent; border-bottom: 6.5px solid transparent; }
#strip .dur { position: absolute; right: 6px; bottom: 6px; background: rgba(0,0,0,.72); color: #fff; font-size: 10px; font-weight: 600; padding: 2px 6px; border-radius: 5px; font-variant-numeric: tabular-nums; }
#strip .cap { display: block; margin-top: 8px; font-size: 12.5px; font-weight: 600; line-height: 1.3; color: #f2f2f5; height: 2.5em; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; letter-spacing: -.01em; }
#strip .sub { display: block; margin-top: 4px; font-size: 11.5px; height: 1.3em; color: var(--mute); font-variant-numeric: tabular-nums; }
#strip .st.more .fr { display: flex; flex-direction: column; align-items: center; justify-content: center; background: rgba(255,255,255,.06); color: #fff; box-shadow: none; }
#strip .st.more b { font-size: 22px; font-weight: 700; }
#strip .st.more span { font-size: 11px; opacity: .8; }
/* one quiet info line under the row: reaction / Jev / counts */
#strip .info { margin: 12px 14px 0; padding: 9px 12px; border-left: 2px solid var(--accent2); background: linear-gradient(90deg, rgba(255,182,77,.10), rgba(255,182,77,.03)); border-radius: 0 8px 8px 0; font-size: 13px; line-height: 1.4; color: #e4e4ea; min-height: 0; }
#strip .info:empty { display: none; }
#strip .info b { color: #fff; font-weight: 700; }
.coach { display: none; }
#strip .info .tip { color: var(--mute); font-weight: 400; }
