:root {
  --void: #f7f7f5; --dot: #d6d6d1; --ink: #111; --ink-2: #333; --ink-3: #6a6a66; --red: #e23b3b;
  --violet: #a970ff; --violet-2: #d4c0ff;
  --term: #16181d; --term-2: #20242c; --term-line: #2d333b; --term-text: #eef0f3; --term-dim: #8b949e; --green: #56d364;
  --ga: #ff2d55; --gb: #2de2ff; --pink: #ff4fa3; --juice: #ff8a1f;
  --sans: "DejaVu Sans", Verdana, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "DejaVu Sans Mono", Menlo, Consolas, "Roboto Mono", "Courier New", monospace;
  --gutter: 16px; --bar-h: 52px; --bar-top: max(10px, env(safe-area-inset-top));
  --wrap: 1240px; --pad-x: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  --shadow: 6px 6px 0 var(--ink);
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light;
}
@media (min-width: 720px) { :root { --gutter: 28px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--bar-h) + 24px); }
body {
  margin: 0; color: var(--ink); font: 16px/1.55 var(--sans); overflow-x: hidden;
  background-color: var(--void);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30'%3E%3Crect x='14' y='14' width='2.4' height='2.4' fill='%23d6d6d1'/%3E%3C/svg%3E");
  -webkit-tap-highlight-color: transparent;
}
img, svg, canvas { display: block; }
button { font: inherit; color: inherit; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute !important; width: 1px; height: 1px; margin: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.small { font: 12px var(--mono); color: var(--ink-3); margin-top: 18px; }
svg { width: 1.2em; height: 1.2em; flex: none; }

.bar { position: fixed; z-index: 70; top: var(--bar-top); left: var(--gutter); right: var(--gutter); display: flex; gap: 8px; justify-content: center; pointer-events: none; }
.bar > * { pointer-events: auto; }
.prompt {
  position: relative; flex: 1; min-width: 0; max-width: 760px; height: var(--bar-h); display: flex; align-items: center; gap: 10px; padding: 0 6px 0 16px;
  background: var(--term); border-radius: 14px; box-shadow: 0 14px 34px -14px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(255, 255, 255, .05);
  transition: box-shadow .2s, background .2s;
}
.prompt:focus-within { box-shadow: 0 14px 34px -14px rgba(0, 0, 0, .55), 0 0 0 3px rgba(86, 211, 100, .35); }
.prompt__caret { color: var(--green); font: 700 18px var(--mono); }
.prompt input { flex: 1; min-width: 0; height: 100%; background: transparent; border: 0; outline: 0; color: var(--term-text); font: 16px var(--mono); caret-color: var(--green); }
.prompt input::placeholder { color: var(--term-dim); opacity: 1; transition: opacity .25s; }
.prompt input.is-swapping::placeholder { opacity: 0; }
.prompt__go, .bar__btn { border: 0; cursor: pointer; display: grid; place-items: center; }
.prompt__go { width: 40px; height: 40px; border-radius: 10px; background: var(--term-2); color: var(--term-dim); transition: background .15s, color .15s, transform .1s; }
.prompt__go:hover, .prompt.is-sent .prompt__go { background: var(--green); color: var(--term); }
.prompt__go:active { transform: scale(.94); }
.bar__btn { width: var(--bar-h); height: var(--bar-h); border-radius: 14px; background: var(--term); color: var(--term-text); box-shadow: 0 14px 34px -14px rgba(0, 0, 0, .55); }
.bar__btn:hover { color: var(--green); }
.bar__btn[aria-expanded="true"] { color: var(--green); }
.bar__back { width: auto; display: inline-flex; align-items: center; gap: 6px; padding: 0 16px 0 12px; font: 600 14px var(--mono); text-decoration: none; }
.bar__back svg { width: 20px; height: 20px; }
@media (max-width: 420px) { .bar__back { padding: 0 12px 0 10px; } }
#soundBtn .i-on { display: none; }
#soundBtn[aria-pressed="true"] .i-on { display: block; }
#soundBtn[aria-pressed="true"] .i-off { display: none; }
#soundBtn[aria-pressed="true"] { color: var(--green); }
.prompt.is-glitch { animation: shake .07s steps(2) 14; background: #2b1418; }
.prompt.is-glitch input { color: #ff8b8b; text-shadow: -2px 0 var(--ga), 2px 0 var(--gb); }
@keyframes shake { 0% { transform: translate(2px, -1px); } 50% { transform: translate(-3px, 2px); } 100% { transform: translate(1px, 1px); } }

.toast { position: fixed; z-index: 72; top: calc(var(--bar-top) + var(--bar-h) + 12px); left: var(--gutter); max-width: min(440px, calc(100% - 32px));
  background: #2b1418; color: #ff9a9a; border: 1px solid var(--red); font: 13px var(--mono); padding: 9px 13px; border-radius: 10px; box-shadow: 0 10px 30px -10px rgba(0,0,0,.5); }
.toast[hidden] { display: none; }
.idea { position: fixed; z-index: 82; top: calc(var(--bar-top) + var(--bar-h) + 12px); left: var(--gutter); max-width: min(440px, calc(100% - 32px)); min-height: 44px;
  padding: 9px 13px; border: 1px solid var(--green); border-radius: 10px; background: #13241a; color: #b6f0bf; font: 13px/1.4 var(--mono); text-align: left;
  overflow-wrap: anywhere; cursor: pointer; box-shadow: 0 10px 30px -10px rgba(0,0,0,.5); }
.idea:hover, .idea:focus-visible { background: #1b3424; color: #e2ffe7; }
.idea[hidden] { display: none; }

.menu { position: fixed; z-index: 83;
   top: calc(var(--bar-top) + var(--bar-h) + 8px); left: 50%; transform: translateX(-50%);
  width: min(760px, calc(100% - 2 * var(--gutter))); max-height: min(72vh, 600px); overflow: auto; overscroll-behavior: contain;
  background: var(--term); color: var(--term-text); border-radius: 16px; padding: 16px 16px 12px; box-shadow: 0 24px 60px -20px rgba(0,0,0,.6);
  animation: drop .18s var(--ease); }
.menu[hidden] { display: none; }
.menu h4 { font: 600 11px var(--mono); color: var(--term-dim); text-transform: uppercase; letter-spacing: .12em; margin: 6px 2px 10px; }
.menu__grid { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.cmd { font: 14px var(--mono); color: var(--term-text); background: var(--term-2); border: 1px solid var(--term-line); border-radius: 10px; padding: 8px 12px; cursor: pointer; transition: border-color .15s, background .15s; }
.cmd::before { content: "> "; color: var(--green); }
.cmd:hover { border-color: var(--green); background: #232a24; }
.menu__tip { margin: 2px 2px 4px; font: 13px var(--mono); color: var(--term-dim); }
@keyframes drop { from { opacity: 0; transform: translate(-50%, -6px); } }

.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 22px; border-radius: 999px; border: 2.5px solid var(--ink);
  font: 700 16px var(--sans); text-decoration: none; cursor: pointer; transition: transform .15s var(--ease), box-shadow .15s var(--ease); white-space: nowrap; }
.btn--ink { background: var(--ink); color: #fff; box-shadow: 4px 4px 0 var(--red); }
.btn--line { background: #fff; color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.btn--juice { background: linear-gradient(180deg, #ffb340, var(--juice)); color: #1d0e00; border-color: #000; box-shadow: 5px 5px 0 #000; }
.btn--fight { background: linear-gradient(180deg, #ff6464, var(--red)); color: #fff; border-color: #000; box-shadow: 5px 5px 0 #000; }
.btn--fight:hover { box-shadow: 7px 7px 0 #000; }
.btn--green { background: var(--green); color: #0b1a0e; border-color: #000; box-shadow: 4px 4px 0 #000; }
.btn:hover { transform: translate(-2px, -2px); }
.btn--ink:hover { box-shadow: 6px 6px 0 var(--red); }
.btn--line:hover { box-shadow: 6px 6px 0 var(--ink); }
.btn--juice:hover, .btn--green:hover { box-shadow: 7px 7px 0 #000; }
.btn:active { transform: translate(1px, 1px); }

.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; justify-content: center;
  padding: calc(var(--bar-top) + var(--bar-h) + clamp(130px, 27vh, 290px) + 84px) var(--gutter) clamp(36px, 8vh, 88px); overflow: hidden; }
.hero__worlds { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__inner { position: relative; width: 100%; max-width: 1240px; text-align: center; }
.logo { margin: 0; font-weight: 800; font-size: clamp(48px, 16vw, 230px); line-height: .82; letter-spacing: -.035em; }
.logo__word { position: relative; display: inline-block; text-shadow: -.035em 0 0 var(--ga), .035em 0 0 var(--gb); }
.logo__word::before, .logo__word::after { content: attr(data-text); position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.logo__word.is-glitch::before { opacity: 1; color: var(--ink); clip-path: inset(18% 0 58% 0); transform: translateX(-.05em); text-shadow: .05em 0 var(--gb); animation: g1 .26s steps(3); }
.logo__word.is-glitch::after { opacity: 1; color: var(--ink); clip-path: inset(62% 0 14% 0); transform: translateX(.06em); text-shadow: -.05em 0 var(--ga); animation: g2 .26s steps(3); }
@keyframes g1 { 33% { clip-path: inset(40% 0 38% 0); transform: translateX(.04em); } 66% { clip-path: inset(8% 0 80% 0); transform: translateX(-.08em); } }
@keyframes g2 { 33% { clip-path: inset(70% 0 6% 0); transform: translateX(-.05em); } 66% { clip-path: inset(50% 0 30% 0); transform: translateX(.07em); } }
.tagline { margin: clamp(14px, 2vh, 22px) auto 0; font-size: clamp(17px, 2.4vw, 28px); color: var(--ink-2); max-width: 22em; text-wrap: balance; }
.cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: clamp(20px, 3.4vh, 34px); }
.cta--left { justify-content: flex-start; }
#heroNew { gap: 9px; max-width: min(100%, 340px); }
.hero-new__tag { flex: none; padding: 2px 7px; border-radius: 6px; background: var(--red); color: #fff; font: 700 11px var(--mono); letter-spacing: .08em; }
.hero-new__name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.try { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-top: clamp(18px, 3vh, 28px); }
.try__label { font: 13px var(--mono); color: var(--ink-3); }
.chip { font: 14px var(--mono); padding: 8px 12px; border: 2px solid var(--ink); border-radius: 999px; background: #fff; box-shadow: 3px 3px 0 var(--ink); cursor: pointer;
  transition: transform .12s var(--ease), box-shadow .12s var(--ease); }
.chip::before { content: "> "; color: #1f9d36; font-weight: 700; }
.chip:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.chip:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.hint { margin: 14px 0 0; font: 12.5px var(--mono); color: var(--ink-3); }

.sec { position: relative; padding: clamp(80px, 14vh, 150px) 0 0; }
.kicker { margin: 0; }
.kicker code { display: inline-block; font: 600 13px var(--mono); background: var(--term); color: var(--term-text); padding: 7px 11px; border-radius: 8px; }
.kicker code::first-letter { color: var(--green); }
.kicker--dark code { background: #0b0d10; }
.kick { appearance: none; border: 0; padding: 0; margin: 0; background: none; font: inherit; color: inherit; cursor: pointer; border-radius: 8px; display: inline-block; }
.kick code { transition: box-shadow .15s, transform .15s var(--ease); }
.kick code::after { content: ''; display: inline-block; width: .55em; height: 1em; margin-left: 6px; vertical-align: -2px; background: var(--green); opacity: 0; }
.kick:hover code, .kick:focus-visible code { box-shadow: 0 0 0 2px var(--green); transform: translateY(-1px); }
.kick:hover code::after, .kick:focus-visible code::after { opacity: 1; animation: vblink 1s steps(1) infinite; }
.kick:active code { transform: translateY(1px); }
.kick:focus-visible { outline: none; }
h2 { text-wrap: balance; margin: .32em 0 .3em; font-weight: 800; font-size: clamp(42px, 8.4vw, 104px); line-height: .9; letter-spacing: -.035em; }
h2 span { display: inline-block; }
.lede { text-wrap: pretty; margin: 0; max-width: 40em; font-size: clamp(16px, 1.5vw, 19px); color: var(--ink-2); }

.tabs { display: flex; gap: 8px; overflow-x: auto; padding: 30px var(--pad-x) 6px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; display: inline-flex; align-items: center; gap: 8px; font: 600 14px var(--mono); padding: 10px 14px; border: 2px solid var(--ink); border-radius: 999px;
  background: #fff; cursor: pointer; white-space: nowrap; transition: background .15s, color .15s; }
.tab .n { font-size: 11px; padding: 2px 6px; border-radius: 999px; background: var(--ink); color: #fff; }
.tab[aria-selected="true"] { background: var(--ink); color: #fff; }
.tab[aria-selected="true"] .n { background: var(--red); }
.rows { position: relative; }
.row { position: relative; }
.row[hidden] { display: none; }
.row__sub { margin: 14px 0 0; padding: 0 var(--pad-x); font: 13px var(--mono); color: var(--ink-3); }
.strip { display: flex; gap: clamp(14px, 2vw, 24px); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  padding: 18px var(--pad-x) 30px; scroll-padding-inline: var(--pad-x); scrollbar-width: thin; scrollbar-color: var(--ink) transparent; }
.strip::-webkit-scrollbar { height: 6px; }
.strip::-webkit-scrollbar-thumb { background: var(--ink); border-radius: 3px; }
.tabsline { display: flex; align-items: flex-end; gap: 14px; padding-right: var(--pad-x); }
.tabsline .tabs { flex: 1; min-width: 0; padding-right: 4px; }
.rowctl { flex: none; display: flex; align-items: center; gap: 12px; padding-bottom: 6px; }
.rowctl__n { font: 600 13px var(--mono); color: var(--ink-3); white-space: nowrap; font-variant-numeric: tabular-nums; }
.tab--all svg { width: 13px; height: 13px; }
.tab--all[aria-pressed="true"] { background: var(--ink); color: #fff; }
@media (max-width: 720px) { .tabsline { display: block; padding-right: 0; } .rowctl { padding: 12px var(--pad-x) 0; } }
.strip-wrap { position: relative; }
.strip { --fade: clamp(28px, 8vw, 140px); --fl: 0px; --fr: 0px;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 var(--fl), #000 calc(100% - var(--fr)), transparent);
  mask-image: linear-gradient(to right, transparent, #000 var(--fl), #000 calc(100% - var(--fr)), transparent); }
.strip.is-l { --fl: var(--fade); }
.strip.is-r { --fr: var(--fade); }
.rows.is-all .strip { flex-wrap: wrap; overflow-x: visible; scroll-snap-type: none; row-gap: 34px; -webkit-mask-image: none; mask-image: none; }
.rows.is-all .strip__nav { display: none; }
.strip__nav { position: absolute; top: calc(18px + (min(40vw, 212px) * 16 / 9) / 2); z-index: 3; width: 48px; height: 48px; border-radius: 50%; border: 2.5px solid var(--ink);
  background: #fff; box-shadow: 3px 3px 0 var(--ink); cursor: pointer; display: grid; place-items: center; transform: translateY(-50%); transition: opacity .2s; }
.strip__nav--l { left: 14px; }
.strip__nav--r { right: 14px; }
.strip__nav[disabled] { opacity: 0; pointer-events: none; }
@media (hover: none), (max-width: 720px) { .strip__nav { display: none; } }

.card { flex: none; width: clamp(150px, 40vw, 212px); scroll-snap-align: start; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; }
.card__img { position: relative; display: block; aspect-ratio: 9 / 16; border: 3px solid var(--ink); border-radius: 18px; overflow: hidden; background: #e6e6e2;
  box-shadow: var(--shadow); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s var(--ease); }
.card:hover .card__img, .card:focus-visible .card__img { transform: translate(-3px, -4px) rotate(-.7deg); box-shadow: 10px 11px 0 var(--ink); }
.card:hover .card__img img { transform: scale(1.04); }
.card:focus-visible { outline: none; }
.card:focus-visible .card__img { outline: 3px solid var(--red); outline-offset: 3px; }
.card__ep { position: absolute; left: 8px; bottom: 8px; font: 700 12px var(--mono); background: var(--ink); color: #fff; padding: 4px 7px; border-radius: 6px; }
.card__start { position: absolute; top: 9px; right: 9px; font: 700 11px var(--mono); background: var(--red); color: #fff; padding: 4px 7px; border-radius: 6px; transform: rotate(3deg); }
.card__start--new { background: var(--green); color: #0b1a0e; transform: rotate(-3deg); }
.card__play { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(17, 17, 17, .22); opacity: 0; transition: opacity .2s; }
.card__play span { width: 58px; height: 58px; border-radius: 50%; background: #fff; border: 3px solid var(--ink); display: grid; place-items: center; box-shadow: 3px 3px 0 var(--ink); }
.card__play svg { width: 24px; height: 24px; margin-left: 3px; }
.card:hover .card__play, .card:focus-visible .card__play { opacity: 1; }
.card__hook { display: block; margin-top: 13px; font-weight: 700; font-size: 15px; line-height: 1.28; }
.card__name { display: block; margin-top: 5px; font: 12.5px var(--mono); color: var(--ink-3); }
.card__by { color: var(--ink-2); }

.films { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: clamp(22px, 3vw, 34px); margin-top: 34px; }
@media (min-width: 900px) { .film:first-child { grid-column: span 2; grid-row: span 2; } .film:first-child .film__hook { font-size: 22px; } }
.film { padding: 0; border: 0; background: none; text-align: left; cursor: pointer; }
.film .card__img { aspect-ratio: 16 / 9; }
.film:hover .card__img, .film:focus-visible .card__img { transform: translate(-3px, -4px); box-shadow: 10px 11px 0 var(--ink); }
.film:hover .card__play, .film:focus-visible .card__play { opacity: 1; }
.film:focus-visible { outline: none; }
.film:focus-visible .card__img { outline: 3px solid var(--red); outline-offset: 3px; }
.film__len { position: absolute; right: 9px; bottom: 9px; font: 700 12px var(--mono); background: var(--ink); color: #fff; padding: 4px 7px; border-radius: 6px; }
.film__series { display: block; margin-top: 14px; font: 600 12px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--red); }
.film__hook { display: block; margin-top: 4px; font-weight: 700; font-size: 17px; line-height: 1.25; }

.play { position: relative; display: grid; gap: clamp(28px, 4vw, 56px); padding: clamp(26px, 5vw, 64px); border-radius: clamp(22px, 3vw, 36px);
  background: radial-gradient(120% 90% at 100% 0%, #2a1f12 0%, transparent 60%), var(--term); color: var(--term-text); overflow: hidden;
  box-shadow: 0 30px 80px -40px rgba(0, 0, 0, .7); }
@media (min-width: 940px) { .play { grid-template-columns: .95fr 1.1fr; align-items: center; } }
.play h2 { color: #fff; font-size: clamp(38px, 6.2vw, 80px); }
.badge { display: inline-flex; align-items: center; gap: 8px; margin: 0; font: 600 12px var(--mono); color: #ffd23f; border: 1px solid rgba(255, 210, 63, .45); padding: 6px 10px; border-radius: 999px; }
.badge__dot { width: 8px; height: 8px; border-radius: 50%; background: #ffd23f; box-shadow: 0 0 0 0 rgba(255, 210, 63, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(255, 210, 63, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 210, 63, 0); } }
.play__copy { font-size: clamp(16px, 1.6vw, 19px); color: #d7dbe0; max-width: 32em; margin: 18px 0 0; }
.play__note { margin: 16px 0 0; font: 13px var(--mono); color: var(--term-dim); }
.shots { position: relative; aspect-ratio: 16 / 11; }
.shot { position: absolute; width: 80%; height: auto; border: 3px solid #000; border-radius: 16px; box-shadow: 8px 8px 0 #000; transition: transform .35s var(--ease); }
.shot--a { left: 0; top: 0; transform: rotate(-2.4deg); }
.shot--b { right: 0; bottom: 0; transform: rotate(2.2deg); }
.play:hover .shot--a { transform: rotate(-3.4deg) translate(-6px, -4px); }
.play:hover .shot--b { transform: rotate(3deg) translate(6px, 4px); }

.games { display: grid; gap: clamp(20px, 3vw, 32px); margin-top: clamp(28px, 4vw, 44px); }
@media (min-width: 760px) { .games { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
a.gcard { display: block; color: var(--term-text); text-decoration: none; background: var(--term); border: 2.5px solid var(--ink); border-radius: clamp(20px, 2.4vw, 28px);
  overflow: hidden; box-shadow: var(--shadow); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
a.gcard:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--ink); }
.gcard__img { display: block; aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 2.5px solid var(--ink); background: #0b0d10; }
.gcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--ease); }
a.gcard:hover .gcard__img img { transform: scale(1.04); }
.gcard__body { display: block; padding: clamp(18px, 2.4vw, 26px); }
.gcard__beta { display: inline-flex; align-items: center; gap: 8px; font: 600 12px var(--mono); color: #ffd23f; border: 1px solid rgba(255, 210, 63, .45); padding: 5px 10px; border-radius: 999px; }
.gcard__name { display: block; margin: 14px 0 0; font-weight: 800; font-size: clamp(28px, 3.2vw, 40px); line-height: 1; letter-spacing: -.02em; color: #fff; }
.gcard__hook { display: block; margin: 10px 0 0; color: #d7dbe0; font-size: clamp(15px, 1.4vw, 17px); }
.gcard__go { display: inline-block; margin-top: 16px; font: 700 14px var(--mono); color: var(--juice); }
.gcard--fight .gcard__go { color: #ff6b6b; }

.wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 14px; margin-top: 34px; }
.cmt { display: flex; gap: 12px; align-items: flex-start; padding: 14px 14px 12px; background: #fff; border: 2px solid var(--ink); border-radius: 16px; box-shadow: 4px 4px 0 var(--ink);
  text-align: left; cursor: pointer; transition: transform .15s var(--ease), box-shadow .15s var(--ease); width: 100%; }
.cmt:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.cmt__av { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; font: 700 17px var(--sans); border: 2px solid var(--ink); }
.cmt__body { min-width: 0; flex: 1; }
.cmt__who { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-weight: 700; font-size: 15px; overflow-wrap: anywhere; }
.pill { font: 600 10.5px var(--mono); padding: 2px 7px; border-radius: 999px; border: 1.5px solid currentColor; white-space: nowrap; }
.pill--yt { color: #c4302b; }
.pill--ig { color: #b5317a; }
.cmt__line { margin-top: 4px; font-size: 14px; color: var(--ink-2); }
.cmt__ep { font-weight: 700; color: var(--ink); }
.cmt__go { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font: 600 12.5px var(--mono); color: var(--red); }
.cmt__go svg { width: 14px; height: 14px; }

.goes { margin-top: clamp(36px, 6vh, 56px); padding: clamp(18px, 3vw, 30px); background: var(--term); color: var(--term-text); border-radius: 20px; box-shadow: 0 30px 70px -40px rgba(0, 0, 0, .7); }
.goes__row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 12px; font: clamp(19px, 2.8vw, 30px) var(--mono); cursor: text; }
.goes__caret { color: var(--green); font-weight: 700; }
.goes input { flex: 1 1 180px; min-width: 0; background: transparent; border: 0; border-bottom: 2px solid #3a414b; color: #fff; font: inherit; padding: 4px 2px; outline: 0; caret-color: var(--green); }
.goes input:focus { border-color: var(--green); }
.goes input::placeholder { color: #4f5763; }
.goes__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 20px; }
.goes__foot p { margin: 0; font-size: 14px; color: var(--term-dim); max-width: 34em; }

.end { padding: clamp(110px, 18vh, 180px) var(--gutter) calc(40px + env(safe-area-inset-bottom)); text-align: center; }
.end__logo { margin: 0; font-weight: 800; font-size: clamp(46px, 11vw, 120px); line-height: .85; letter-spacing: -.035em; }
.end__logo span { display: inline-block; text-shadow: -.035em 0 0 var(--ga), .035em 0 0 var(--gb); }
.end__tag { margin: 14px 0 0; color: var(--ink-2); }
.end__links { display: flex; justify-content: center; margin: 28px 0 0; }
.end__fine { margin: 34px 0 0; font: 12px/1.7 var(--mono); color: var(--ink-3); }

.lb { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center;
  padding: calc(var(--bar-top) + var(--bar-h) + 96px) var(--gutter) 20px; }
.lb[hidden] { display: none; }
.lb__shade { position: absolute; inset: 0; background: rgba(10, 10, 12, .86); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); animation: fade .2s; }
.lb__box { position: relative; display: flex; align-items: center; justify-content: center; gap: clamp(20px, 3vw, 40px); width: 100%; max-width: 1240px; animation: rise .28s var(--ease); }
.lb__frame { position: relative; flex: none; background: #000; border: 3px solid #000; border-radius: 18px; overflow: hidden; box-shadow: 0 0 0 2px #2a2a2a, 0 40px 90px -30px rgba(0, 0, 0, .9); }
.lb__frame.is-short { height: min(calc(100svh - var(--bar-top) - var(--bar-h) - 130px), 860px); aspect-ratio: 9 / 16; }
.lb__frame.is-long { width: min(calc(100vw - 2 * var(--gutter) - 360px), 1100px, calc((100svh - 220px) * 16 / 9)); aspect-ratio: 16 / 9; }
.lb__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lb__info { color: #eceff2; width: min(320px, 40vw); flex: none; }
.lb__series { margin: 0; font: 600 12px var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--green); }
.lb__title { margin: 8px 0 0; font-size: 30px; line-height: 1.05; letter-spacing: -.02em; }
.lb__hook { margin: 12px 0 0; font-size: 17px; font-weight: 700; color: #fff; }
.lb__blurb { margin: 10px 0 0; font-size: 15px; color: #b9c0c8; }
.lb__credit { margin: 12px 0 0; font: 13px var(--mono); color: #ffd23f; }
.lb__credit:empty, .lb__blurb:empty { display: none; }
.lb__row { display: flex; align-items: center; gap: 10px; margin-top: 22px; }
.lb__nav { width: 46px; height: 46px; border-radius: 50%; border: 2px solid #3a3f47; background: #1b1e24; color: #fff; display: grid; place-items: center; cursor: pointer; }
.lb__nav:hover { border-color: var(--green); color: var(--green); }
.lb__nav[disabled] { opacity: .3; pointer-events: none; }
.lb__page { display: inline-block; margin-top: 16px; font: 600 14px var(--mono); color: var(--green); text-underline-offset: 4px; }
.lb__page:hover { color: #fff; }
.lb__yt { display: inline-flex; flex: none; white-space: nowrap; align-items: center; gap: 8px; height: 46px; padding: 0 16px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 700; font-size: 14px; text-decoration: none; }
.lb__x { position: fixed; z-index: 2; top: calc(var(--bar-top) + var(--bar-h) + 14px); right: var(--gutter); width: 46px; height: 46px; border-radius: 50%; border: 2px solid #3a3f47;
  background: #1b1e24; color: #fff; display: grid; place-items: center; cursor: pointer; }
.lb__x:hover { border-color: var(--red); color: #ff9a9a; }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(16px) scale(.98); } }
@media (max-width: 860px) and (max-aspect-ratio: 4/5) {
  .lb { align-items: flex-start; padding-top: calc(var(--bar-top) + var(--bar-h) + 96px); overflow-y: auto; }
  .lb__box { flex-direction: column; gap: 16px; }
  .lb__frame.is-short { height: min(calc(100svh - var(--bar-top) - var(--bar-h) - 270px), 720px); }
  .lb__frame.is-long { width: 100%; }
  .lb__info { width: 100%; max-width: 520px; text-align: center; }
  .lb__title { font-size: 22px; } .lb__hook { font-size: 15px; } .lb__blurb { display: none; }
  .lb__row { justify-content: center; margin-top: 14px; position: sticky; bottom: 0; z-index: 1;
    padding: 12px 0 max(12px, env(safe-area-inset-bottom)); background: linear-gradient(rgba(10, 10, 12, 0), rgba(10, 10, 12, .94) 30%); }
  .lb__x { top: calc(var(--bar-top) + var(--bar-h) + 12px); }
}

#stim { position: fixed; inset: 0; z-index: 80; pointer-events: none; }
#stimLive { top: 0; left: 0; }
#stimHit { position: fixed; left: 0; top: 0; z-index: 81; width: 60px; height: 120px; touch-action: none; cursor: grab; border-radius: 30px; }
#stimHit:active { cursor: grabbing; }

html.lb-open { overflow: hidden; }

.w { display: inline-block; white-space: nowrap; }
.ch { display: inline-block; will-change: transform; }
.ch.is-bugged { animation: bugged .32s steps(3); }
@keyframes bugged { 0%, 66% { text-shadow: -.05em 0 #ff2d55, .05em 0 #2de2ff; } 33% { opacity: .55; } }
@media (prefers-reduced-motion: reduce) { .ch.is-bugged { animation: none; } }

#fx { position: fixed; inset: 0; z-index: 66; pointer-events: none; }
#fx[hidden] { display: none; }
html.is-void { overflow: hidden; }
html.is-void main, html.is-void footer { opacity: 0; transition: opacity .25s; }
main, footer { transition: opacity .35s; }
.undo-hint { position: fixed; z-index: 76; left: 50%; top: 56%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 8px; padding: 16px 24px; border-radius: 18px; border: 3px solid var(--ink); background: #fff;
  box-shadow: 7px 7px 0 var(--ink); font: 700 22px var(--mono); cursor: pointer; animation: nudge 1.2s var(--ease) infinite; }
.undo-hint[hidden] { display: none; }
.undo-hint kbd { font: 700 20px var(--mono); padding: 6px 12px; border: 2px solid var(--ink); border-bottom-width: 4px; border-radius: 8px; background: var(--void); }
.undo-hint span { margin-left: 8px; font-weight: 400; font-size: 13px; color: var(--ink-3); }
@media (hover: hover) and (pointer: fine) { .undo-hint span { display: none; } }
@keyframes nudge { 50% { transform: translate(-50%, -4px); } }

.narr { position: fixed; z-index: 74; left: 0; right: 0; margin: 0 auto; width: max-content; bottom: calc(22px + env(safe-area-inset-bottom));
  max-width: min(640px, calc(100% - 32px)); padding: 13px 20px; border-radius: 16px; background: rgba(22, 24, 29, .9); color: #fff;
  font: 16px/1.45 var(--sans); text-align: center; box-shadow: 0 16px 40px -18px rgba(0, 0, 0, .6); animation: rise .25s var(--ease); pointer-events: none; }
.narr[hidden] { display: none; }
.narr.is-top { bottom: auto; }
.narr.is-out { opacity: 0; transition: opacity .35s; }
.prompt__violet { position: absolute; left: 0; top: 50%; width: 8px; height: 24px; margin-top: -12px; border-radius: 1px; background: var(--violet);
  box-shadow: 0 0 10px rgba(169, 112, 255, .7); pointer-events: none; display: none; }
.prompt.is-ghost .prompt__violet { display: block; animation: vblink .9s steps(1) infinite; }
.prompt.is-ghost.is-typing .prompt__violet { animation: none; }
.prompt.is-ghost.is-stare .prompt__violet { animation: vblink 1.3s steps(1) infinite; box-shadow: 0 0 18px 3px rgba(169, 112, 255, .85); }
.prompt.is-ghost { box-shadow: 0 14px 34px -14px rgba(0, 0, 0, .55), 0 0 0 2px rgba(169, 112, 255, .6); }
.prompt.is-ghost.is-stare { box-shadow: 0 14px 34px -14px rgba(0, 0, 0, .55), 0 0 0 2px rgba(169, 112, 255, .9), 0 0 26px -4px rgba(169, 112, 255, .7); }
.prompt.is-ghost input { color: var(--violet-2); caret-color: transparent; }
.prompt.is-ghost input::placeholder { opacity: 0; }
.prompt.is-ghost.is-glitch { background: #1f1530; }
.prompt.is-ghost.is-glitch input { color: #c9a8ff; }
@keyframes vblink { 50% { opacity: 0; } }
.other { position: fixed; left: 0; top: 0; z-index: 85; width: 24px; height: 44px; margin: -40px 0 0 -12px; padding: 0; border: 0; background: none; cursor: pointer; will-change: transform; }
.other[hidden] { display: none; }
.other__bar { position: absolute; left: 8px; bottom: 4px; width: 8px; height: 34px; border-radius: 1px; background: var(--violet);
  box-shadow: 0 0 12px rgba(169, 112, 255, .75), 0 0 0 1.5px rgba(255, 255, 255, .85); transform-origin: 50% 100%; transition: transform .12s; animation: vblink .9s steps(1) infinite; }
.other.is-press .other__bar, .other.is-grab .other__bar, .other.is-caught .other__bar { animation: none; }
.other.is-press .other__bar { transform: translateY(4px) scaleY(.82); }
.other.is-grab .other__bar { transform: rotate(-10deg); }
.other__tag { position: absolute; left: 22px; top: -2px; font: 700 11px var(--mono); color: #fff; background: var(--violet); padding: 1px 5px; border-radius: 4px; opacity: 0; }
.other.is-caught .other__tag { opacity: 1; }
.other.is-caught .other__bar { animation: caught .45s steps(3) 3; }
@keyframes caught { 33% { transform: translate(-3px, 1px); filter: drop-shadow(-3px 0 var(--ga)) drop-shadow(3px 0 var(--gb)); } 66% { transform: translate(2px, -2px); } }
.peek { position: fixed; left: 0; top: 0; z-index: 64; width: 120px; height: 120px; padding: 0; border: 0; background: none; cursor: pointer; }
.peek[hidden] { display: none; }
.peek.is-in { pointer-events: none; }
.peek canvas { width: 120px; height: 120px; }
.edit { position: relative; display: inline-block; white-space: nowrap; }
.edit__old { position: relative; }
.edit__old::after { content: ""; position: absolute; left: -3px; right: -3px; top: 54%; height: max(2px, .12em); border-radius: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.edit.is-struck .edit__old::after { transform: scaleX(1); }
.edit__new { position: absolute; left: 50%; bottom: 84%; transform: translateX(-50%) rotate(-5deg); font: 700 .74em/1 var(--mono); color: var(--red); white-space: nowrap; pointer-events: none; }
.is-480 { position: relative; }
.rec480 { position: absolute; z-index: 5; top: 12px; left: var(--gutter); font: 700 13px var(--mono); color: var(--red); background: #fff; border: 2px solid var(--red); border-radius: 6px; padding: 3px 7px; animation: blink480 .8s steps(2) infinite; }
@keyframes blink480 { 50% { opacity: .25; } }
.flash { position: fixed; inset: 0; z-index: 67; background: #fff; pointer-events: none; animation: flash .55s ease-out forwards; }
@keyframes flash { from { opacity: .92; } to { opacity: 0; } }
#sky { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
#sky[hidden] { display: none; }
body { transition: background-color 1.2s; }
html.is-moon body { background-color: #ececef; }
.float-cmt { position: fixed; z-index: 73; left: var(--gutter); bottom: calc(96px + env(safe-area-inset-bottom)); display: flex; gap: 12px; align-items: flex-start;
  max-width: min(360px, calc(100% - 2 * var(--gutter))); padding: 14px; background: #fff; border: 2px solid var(--ink); border-radius: 16px; box-shadow: 4px 4px 0 var(--ink);
  transform: translateY(calc(100% + 160px)); transition: transform .9s var(--ease); }
.float-cmt.is-in { transform: none; }
.float-cmt__body { min-width: 0; }
.float-cmt__line { display: block; margin-top: 3px; font-size: 14px; color: var(--ink-2); }
.float-cmt__go { margin-top: 9px; font: 700 12.5px var(--mono); color: #fff; background: var(--ink); border: 0; border-radius: 999px; padding: 7px 13px; cursor: pointer; }
.float-cmt__go:hover { background: var(--red); }
.is-domino::before, .is-domino::after { display: none !important; }
.polaroid { position: fixed; z-index: 72; right: var(--gutter); bottom: calc(92px + env(safe-area-inset-bottom)); width: 150px; padding: 9px 9px 7px; border: 0; border-radius: 3px;
  background: #fbfaf5; box-shadow: 0 1px 0 rgba(0,0,0,.08), 4px 6px 0 rgba(17,17,17,.16); cursor: pointer; transform: rotate(-4deg); transition: transform .9s var(--ease), opacity .45s; }
.polaroid img { display: block; width: 100%; height: auto; animation: develop 4.6s ease-out both; }
@keyframes develop { from { filter: brightness(.16) sepia(.9) contrast(.6) blur(1.5px); } 55% { filter: brightness(.75) sepia(.45) contrast(.85) blur(0); } to { filter: none; } }
.polaroid.is-new { transform: translate(var(--fx, 0), var(--fy, 0)) scale(.2) rotate(16deg); transition: none; }
.polaroid:hover { transform: rotate(-1deg) scale(1.04); }
.polaroid.is-out { transform: translateY(170%) rotate(9deg); opacity: 0; }
.polaroid__tip { display: block; margin-top: 4px; font: 700 10.5px var(--mono); color: var(--ink-3); text-align: center; }
@media (max-width: 560px) { .polaroid { width: 112px; bottom: calc(150px + env(safe-area-inset-bottom)); } }
@media (prefers-reduced-motion: reduce) { .polaroid img { animation-duration: .01s; } .polaroid { transition: opacity .2s; } }
.file { position: fixed; z-index: 73; left: var(--gutter); bottom: calc(96px + env(safe-area-inset-bottom)); width: min(340px, calc(100vw - 2 * var(--gutter)));
  padding: 14px 16px 11px; background: #fffdf4; color: var(--ink); border: 2px solid var(--ink); border-radius: 10px; box-shadow: var(--shadow);
  font: 13px/1.65 var(--mono); transform: translateY(calc(100% + 140px)); transition: transform .5s var(--ease); }
.file.file--top { bottom: auto; top: calc(var(--bar-top) + var(--bar-h) + 18px); transform: translateY(calc(-100% - 140px)); }
.file.is-in { transform: none; }
@media (max-width: 560px) { .file { bottom: calc(118px + env(safe-area-inset-bottom)); } }
.file__stamp { position: absolute; right: 14px; top: -13px; font: 700 12px var(--mono); letter-spacing: .08em; color: var(--red); background: #fffdf4; border: 2px solid var(--red); border-radius: 6px; padding: 1px 8px; transform: rotate(4deg); }
.file__head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin: 0 0 8px; padding-bottom: 6px; border-bottom: 2px dashed #d9d3c0; }
.file__head b { font-size: 15px; letter-spacing: .06em; }
.file__head span { font-size: 11px; color: var(--ink-3); }
.file__rows { list-style: none; margin: 0; padding: 0; min-height: 1.65em; }
.file__rows li { display: flex; justify-content: space-between; gap: 14px; }
.file__rows li span:first-child { color: var(--ink-3); white-space: nowrap; }
.file__rows li span:last-child { font-weight: 700; text-align: right; overflow-wrap: anywhere; }
.file__foot { margin: 8px 0 0; font-size: 10.5px; color: var(--ink-3); }
html.thud main, html.thud footer { animation: thud .17s; }
@keyframes thud { 35% { transform: translateY(3px); } }
.found { position: fixed; z-index: 73; top: calc(var(--bar-top) + var(--bar-h) + 12px); right: var(--gutter); display: flex; flex-direction: column; gap: 2px; padding: 10px 14px;
  border-radius: 12px; background: #13241a; color: #b6f0bf; border: 1px solid var(--green); font: 13px var(--mono); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .5); animation: rise .3s var(--ease); }
.found[hidden] { display: none; }
.found b { color: var(--green); letter-spacing: .08em; }
.secrets { display: flex; flex-direction: column; align-items: center; gap: 12px; margin: 22px auto 0; }
.secrets[hidden] { display: none; }
.secrets__btn { display: inline-flex; align-items: center; gap: 9px; font: 600 12.5px var(--mono); color: var(--ink-2); background: #fff; border: 2px solid var(--ink); border-radius: 999px;
  padding: 6px 12px; box-shadow: 3px 3px 0 var(--ink); cursor: pointer; }
.secrets__dots { letter-spacing: 1px; color: var(--red); }
.secrets.is-all .secrets__btn { background: #fff3c4; }
.secrets__list { list-style: none; margin: 0; padding: 12px 16px; max-width: min(480px, 100%); text-align: left; font: 13px/1.75 var(--mono); background: var(--term); color: var(--term-text); border-radius: 14px; }
.secrets__list[hidden] { display: none; }
.secrets__list .is-found { color: var(--green); }
.secrets__list .q { color: var(--term-dim); }
.prompt.is-bonk { animation: bonk .26s var(--ease); }
@keyframes bonk { 30% { transform: translateY(-4px) rotate(-.4deg); } }
.card.is-picked .card__img { outline: 4px solid var(--red); outline-offset: 4px; animation: picked .55s var(--ease) 3; }
.card.is-picked .card__img::after { content: 'he picked this'; position: absolute; left: 8px; top: 9px; font: 700 11px var(--mono); color: #fff; background: var(--red);
  padding: 4px 7px; border-radius: 6px; transform: rotate(-2deg); }
@keyframes picked { 40% { transform: translateY(-6px) rotate(-1.2deg); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
}
::selection { background: #111; color: #ff2d55; text-shadow: calc(-1 * max(1px, .05em)) 0 var(--gb); }
.prompt ::selection, .menu ::selection, .play ::selection, .goes ::selection, .lb ::selection, .narr ::selection,
.toast ::selection, .found ::selection, .secrets__list ::selection, .ctx ::selection, .kicker code::selection, .card__ep::selection,
.btn--ink ::selection, .btn--ink::selection { background: var(--red); color: #fff; text-shadow: -1px 0 rgba(0, 0, 0, .35); }
.tear { position: fixed; inset: 0; z-index: 79; pointer-events: none; }
.tear i { position: fixed; background: var(--ga); mix-blend-mode: multiply; opacity: .85; }
.tear i:nth-child(2n) { background: var(--gb); }
.tear.is-b i { transform: translateX(5px); background: #111; mix-blend-mode: normal; opacity: .9; }
.tear.is-b i:nth-child(3n) { background: var(--ga); transform: translateX(-4px); }
.ctx { position: fixed; z-index: 90; min-width: 214px; max-width: min(300px, calc(100vw - 16px)); padding: 6px; border-radius: 12px;
  background: var(--term); color: var(--term-text); font: 14px var(--mono); box-shadow: 0 18px 44px -14px rgba(0, 0, 0, .7), inset 0 0 0 1px rgba(255, 255, 255, .06); }
.ctx[hidden] { display: none; }
.ctx.is-in { animation: ctxin .16s steps(3); }
@keyframes ctxin { 0% { clip-path: inset(0 0 72% 0); transform: translateX(-4px); filter: drop-shadow(3px 0 var(--ga)) drop-shadow(-3px 0 var(--gb)); }
  50% { clip-path: inset(0 0 22% 0); transform: translateX(3px); filter: drop-shadow(-2px 0 var(--ga)); } 100% { clip-path: inset(0); transform: none; } }
.ctx__head { display: flex; align-items: center; gap: 7px; margin: 2px 8px 6px; font: 600 11px var(--mono); color: var(--term-dim); text-transform: uppercase; letter-spacing: .12em; }
.ctx__eye { width: 7px; height: 7px; background: var(--red); }
.ctx__i { display: flex; align-items: center; gap: 16px; width: 100%; padding: 7px 10px; border: 0; border-radius: 8px; background: none; color: inherit; font: inherit; text-align: left; }
.ctx__c::before { content: "> "; color: transparent; }
.ctx__i:hover, .ctx__i:focus-visible { background: var(--term-2); outline: none; }
.ctx__i:hover .ctx__c::before, .ctx__i:focus-visible .ctx__c::before { color: var(--green); }
.ctx__i kbd { margin-left: auto; font: 11.5px var(--mono); color: var(--term-dim); }
.ctx[data-zone="him"] .ctx__i:last-of-type:hover, .ctx[data-zone="him"] .ctx__i:last-of-type:focus-visible { background: #2b1418; color: #ff9a9a; }
.ctx__sep { height: 1px; margin: 5px 8px; background: var(--term-line); }
.ctx__tip { margin: 6px 8px 2px; font: 10.5px var(--mono); color: #5d6570; }
.lost { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; text-align: center;
  padding: calc(var(--bar-top) + var(--bar-h) + clamp(130px, 27vh, 290px) + 64px) var(--gutter) 76px; }
.lost__code { margin: 0; font-weight: 800; font-size: clamp(96px, min(28vw, 28vh), 280px); line-height: .82; letter-spacing: -.04em; }
.lost__line { margin: clamp(12px, 2.4vh, 22px) 0 0; font-weight: 800; font-size: clamp(22px, 3.6vw, 40px); letter-spacing: -.02em; }
.lost__sub { margin: 8px auto 0; max-width: 34em; color: var(--ink-3); font: 13px/1.5 var(--mono); text-wrap: balance; }
.lost .cta { margin-top: clamp(16px, 2.6vh, 26px); }
.lost__undo { display: inline-flex; align-items: center; gap: 6px; min-height: 52px; padding: 0 20px; border-radius: 16px; border: 3px solid var(--ink); background: #fff;
  box-shadow: 5px 5px 0 var(--ink); font: 700 18px var(--mono); transition: transform .15s var(--ease), box-shadow .15s var(--ease); }
.lost__undo:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.lost__undo kbd { font: 700 16px var(--mono); padding: 4px 9px; border: 2px solid var(--ink); border-bottom-width: 4px; border-radius: 7px; background: var(--void); }
.lost__undo span { margin-left: 8px; font: 400 13px var(--mono); color: var(--ink-3); }
.lost[hidden] { display: none; }
.lost .lost__code { -webkit-user-select: none; user-select: none; }
.door-wipe { position: fixed; inset: 0; z-index: 79; pointer-events: none; background: radial-gradient(circle at var(--x) var(--y), #fffaf0 0, #ffe3a0 60%, #ffd36e 100%);
  clip-path: circle(0 at var(--x) var(--y)); }
.door-wipe.is-in { transition: clip-path .55s cubic-bezier(.6, 0, .4, 1); clip-path: circle(150vmax at var(--x) var(--y)); }
.door-wipe.is-out { transition: opacity .4s ease-out; opacity: 0; }
body.in-hall { background: #121418; }
.hall { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; color: #e9e9e4;
  background: radial-gradient(ellipse 70% 45% at 50% 100%, rgba(255, 214, 120, .09), transparent 70%), #121418; }
.hall[hidden] { display: none; }
.hall__sign { position: absolute; left: 0; right: 0; top: calc(var(--bar-top) + var(--bar-h) + clamp(20px, 7vh, 64px)); margin: 0; padding: 0 var(--gutter); text-align: center;
  font: 700 13px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: #8b949e; }
.hall__sign span { display: block; margin-top: 6px; font-weight: 400; letter-spacing: .04em; text-transform: none; color: #5d6570; }
.hall__row { display: flex; justify-content: center; align-items: flex-end; gap: clamp(10px, 2.3vw, 40px); padding: 0 var(--gutter); }
.hall__floor { height: 4px; flex: none; background: #3a3f47; }
.hall__floor:not(:last-child) { margin-bottom: clamp(26px, 6vh, 56px); }
.hall.is-shake { animation: hallshake .5s steps(6); }
@keyframes hallshake { 0% { transform: translate(4px, -2px); filter: hue-rotate(0deg); } 25% { transform: translate(-5px, 3px); } 50% { transform: translate(3px, 2px); filter: drop-shadow(-3px 0 #ff2d55) drop-shadow(3px 0 #2de2ff); } 75% { transform: translate(-2px, -3px); } 100% { transform: none; filter: none; } }
.door { position: relative; flex: none; display: flex; flex-direction: column; align-items: center; width: clamp(74px, 8.4vw, 128px); height: clamp(150px, 28vh, 250px);
  padding: clamp(24px, 5.4vh, 50px) 6px 0; border: 3px solid #e9e9e4; border-bottom: 0; border-radius: 50% 50% 0 0 / 42px 42px 0 0; background: #1d2027; color: #e9e9e4; cursor: pointer;
  transition: transform .5s var(--ease), background .2s, color .2s; }
.door::after { content: ''; position: absolute; right: 12%; top: 58%; width: 9px; height: 9px; border-radius: 50%; background: #c9a227; }
.door:hover, .door:focus-visible { background: #272b34; }
.door__in { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; opacity: 0; transition: opacity .25s; background: linear-gradient(#fffaf0, #ffd77d); }
.door__n { position: relative; font: 800 clamp(19px, 2.3vw, 32px)/1 var(--mono); }
.door__t { position: relative; margin-top: 7px; max-width: 100%; font: 10.5px/1.25 var(--mono); color: #9aa0a6; text-align: center; overflow-wrap: anywhere; }
.door--back { border-color: #8b949e; color: #c9ced4; }
@media (max-width: 880px) { .door { padding-left: 2px; padding-right: 2px; } .door__t { font-size: 9px; letter-spacing: -.02em; overflow-wrap: normal; } }
.door.is-open { color: #111; }
.door.is-open .door__t { color: #5a4a20; }
.door.is-open .door__in { opacity: 1; }
.door__go { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; font: 700 12px var(--mono); color: #111; }
.door[data-code="500"] .door__in { background: repeating-linear-gradient(0deg, #ff2d55 0 3px, #111 3px 6px, #2de2ff 6px 9px, #111 9px 13px); animation: noise .18s steps(2) infinite; }
@keyframes noise { 50% { background-position: 0 7px; } }
.door.is-broken { transform: rotate(3deg); transform-origin: 0 100%; }
.door.is-slam { animation: slam .32s steps(4); }
@keyframes slam { 25% { transform: translateX(-4px); } 50% { transform: translateX(4px); } 75% { transform: translateX(-2px); } }
.door__no { position: absolute; z-index: 2; left: 50%; top: 34%; padding: 4px 8px; border: 3px solid #ff4d4d; border-radius: 6px; background: #121418; color: #ff4d4d; white-space: nowrap;
  font: 800 clamp(16px, 1.9vw, 24px)/1 var(--mono); transform: translateX(-50%) rotate(-8deg); animation: nostamp 1.1s var(--ease) forwards; }
@keyframes nostamp { 0% { transform: translateX(-50%) rotate(-8deg) scale(2.2); opacity: 0; } 15% { transform: translateX(-50%) rotate(-8deg) scale(1); opacity: 1; } 80% { opacity: 1; } 100% { opacity: 0; } }
.door__pot { position: absolute; left: 50%; bottom: 16%; width: 58%; height: auto; transform: translateX(-50%); }
.door__pot rect[fill="#e9e9e4"] { fill: #3b3f47; }
.door__steam { position: absolute; left: 66%; bottom: 46%; width: 10px; height: 40px; }
.door__steam i { position: absolute; bottom: 0; left: 0; width: 6px; height: 6px; background: #fff; opacity: 0; }
.door.is-steam .door__steam i { animation: steam 1.1s ease-out forwards; }
.door.is-steam .door__steam i:nth-child(2) { animation-delay: .2s; left: 5px; }
.door.is-steam .door__steam i:nth-child(3) { animation-delay: .4s; left: -3px; }
@keyframes steam { 0% { opacity: .9; transform: translateY(0); } 100% { opacity: 0; transform: translateY(-46px); } }
.door__sign { position: absolute; z-index: 1; left: 50%; top: 63%; padding: 5px 6px; transform: translateX(-50%) rotate(-3deg); transform-origin: 50% -14px; background: #e9e9e4; color: #111;
  border-radius: 4px; font: 700 10px/1.2 var(--mono); text-align: center; white-space: nowrap; }
.door__sign::before { content: ''; position: absolute; left: 50%; top: -14px; width: 26px; height: 14px; transform: translateX(-50%); border: 1.5px solid #8b949e; border-bottom: 0; border-radius: 14px 14px 0 0; }
.door.is-swing .door__sign { animation: swing 1.2s ease-out; }
@keyframes swing { 15% { transform: translateX(-50%) rotate(14deg); } 40% { transform: translateX(-50%) rotate(-10deg); } 65% { transform: translateX(-50%) rotate(6deg); } 85% { transform: translateX(-50%) rotate(-4deg); } }
@media (prefers-reduced-motion: reduce) { .hall.is-shake, .door.is-slam, .door.is-swing .door__sign, .door[data-code="500"] .door__in { animation: none; } .door-wipe.is-in { transition: none; } }
[data-letters] > .sr { -webkit-user-select: none; user-select: none; }
a.bar__btn { text-decoration: none; }
.ep, .who, .gp { max-width: var(--wrap); margin: 0 auto; padding: calc(var(--bar-top) + var(--bar-h) + 22px) var(--gutter) 0; }
.ep__crumbs { display: flex; flex-wrap: wrap; gap: 8px; font: 13px var(--mono); color: var(--ink-3); }
.ep__crumbs a { color: var(--ink-2); text-decoration: none; border-bottom: 1.5px solid #c9c9c3; }
.ep__crumbs a:hover { color: var(--red); border-color: var(--red); }
.ep__grid { display: grid; grid-template-areas: "head" "video" "body"; gap: 22px clamp(22px, 4vw, 56px); margin-top: 18px; align-items: start; }
.ep__head { grid-area: head; padding-top: calc(clamp(92px, 15vh, 150px) + 58px); }
.ep__video { grid-area: video; }
.ep__body { grid-area: body; }
.ep__video { position: relative; width: min(100%, 400px); margin: 0 auto; aspect-ratio: 9 / 16; background: #000; border: 3px solid var(--ink); border-radius: 18px;
  overflow: hidden; box-shadow: var(--shadow); }
.ep__video.is-long { width: 100%; aspect-ratio: 16 / 9; }
.ep__play { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: #000; }
.ep__play img { width: 100%; height: 100%; object-fit: cover; }
.ep__play .card__play { opacity: 1; background: rgba(17, 17, 17, .14); }
.ep__play .card__play span { width: 76px; height: 76px; transition: transform .15s var(--ease); }
.ep__play .card__play svg { width: 30px; height: 30px; }
.ep__play:hover .card__play span, .ep__play:focus-visible .card__play span { transform: scale(1.08); }
.ep__video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ep__series { margin: 0 0 12px; font: 600 12.5px var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--red); }
.ep__title { margin: 0 0 .22em; font-weight: 800; font-size: clamp(40px, 6.2vw, 88px); line-height: .92; letter-spacing: -.035em; text-wrap: balance; }
.ep__title > span, .who__title > span { display: inline; text-shadow: -.03em 0 0 var(--ga), .03em 0 0 var(--gb); }
.ep__hook { margin: 0; font-weight: 700; font-size: clamp(19px, 2vw, 24px); line-height: 1.3; }
.ep__blurb { margin: 10px 0 0; max-width: 36em; color: var(--ink-2); font-size: 17px; }
.ep__credit { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 14px 0 0; font: 14px var(--mono); color: var(--ink-2); }
.ep__credit b { color: var(--ink); }
.ep__row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.ep__row .btn { min-height: 48px; }
.ep__pn { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; max-width: 560px; }
.ep__pn-a { display: flex; flex-direction: column; gap: 3px; padding: 11px 14px; border: 2px solid var(--ink); border-radius: 14px; background: #fff; box-shadow: 3px 3px 0 var(--ink);
  color: var(--ink); text-decoration: none; font-weight: 700; font-size: 15px; line-height: 1.25; transition: transform .15s var(--ease), box-shadow .15s var(--ease); }
.ep__pn-a span { font: 600 12px var(--mono); color: var(--ink-3); }
.ep__pn-a--next { text-align: right; }
.ep__pn-a:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }
.scr { margin-top: 22px; max-width: 560px; border: 2px solid var(--ink); border-radius: 14px; background: #fff; box-shadow: 3px 3px 0 var(--ink); }
.scr__sum { display: flex; align-items: baseline; gap: 8px; padding: 12px 16px; min-height: 48px; box-sizing: border-box; cursor: pointer; list-style: none;
  font-weight: 700; font-size: 15px; border-radius: 12px; }
.scr__sum::-webkit-details-marker { display: none; }
.scr__sum::before { content: '>'; font: 700 15px var(--mono); color: var(--green); display: inline-block; transition: transform .15s var(--ease); }
.scr[open] > .scr__sum::before { transform: rotate(90deg); }
.scr__sum span { font: 12px var(--mono); color: var(--ink-3); font-weight: 400; }
.scr__sum:hover { color: var(--red); }
.scr__body { padding: 2px 16px 16px; border-top: 2px dashed #d6d6d1; }
.scr__l { margin: 12px 0 0; font-size: 16px; line-height: 1.55; color: var(--ink); overflow-wrap: anywhere; }
.scr__who { font: 700 12.5px var(--mono); letter-spacing: .04em; color: var(--ink-3); }
.scr__l--n { font-style: italic; color: var(--ink-2); }
.scr__l--prompt [data-letters] { font: 15px var(--mono); }
.scr__l--song::before { content: '\266a\00a0'; color: var(--red); }
.scr__l.is-found { background: #fff3c4; box-shadow: 0 0 0 5px #fff3c4; border-radius: 4px; }

.find { position: fixed; z-index: 83; top: calc(var(--bar-top) + var(--bar-h) + 8px); left: 50%; transform: translateX(-50%);
  width: min(640px, calc(100% - 2 * var(--gutter))); max-height: min(70vh, 620px); overflow: auto; overscroll-behavior: contain;
  background: var(--term); color: var(--term-text); border-radius: 16px; padding: 12px 12px 10px; box-shadow: 0 24px 60px -20px rgba(0,0,0,.6);
  animation: drop .18s var(--ease); }
.find[hidden] { display: none; }
.find__head { display: flex; align-items: center; gap: 10px; margin: 0 2px 8px 4px; }
.find__q { flex: 1; margin: 0; font: 14px var(--mono); color: var(--term-dim); overflow-wrap: anywhere; }
.find__q b { color: var(--term-text); }
.find__q code { font: inherit; color: var(--green); }
.find__x { flex: none; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--term-line); background: var(--term-2); color: var(--term-text);
  display: grid; place-items: center; cursor: pointer; }
.find__x svg { width: 18px; height: 18px; }
.find__x:hover { border-color: var(--red); color: #ff9a9a; }
.find__say { margin: 0 4px 10px; font: 13px var(--mono); color: var(--term-text); }
.find__say b { color: var(--green); }
.find__say:empty { display: none; }
.find__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.find__hit { display: flex; gap: 12px; align-items: flex-start; padding: 8px; border-radius: 12px; border: 1px solid var(--term-line); background: var(--term-2);
  color: var(--term-text); text-decoration: none; }
.find__hit:hover, .find__hit:focus-visible { border-color: var(--green); background: #232a24; }
.find__img { flex: none; width: 40px; height: 71px; object-fit: cover; border-radius: 6px; background: #000; }
.find__img.is-long { width: 96px; height: 54px; }
.find__txt { display: grid; gap: 3px; min-width: 0; }
.find__ep { font: 600 11px var(--mono); color: var(--green); text-transform: uppercase; letter-spacing: .08em; }
.find__name { font-weight: 700; font-size: 16px; }
.find__line { font-size: 14px; line-height: 1.4; color: #c9d1d9; overflow-wrap: anywhere; }
.find__line b { font: 700 11.5px var(--mono); color: var(--term-dim); }
.find__line.is-n { font-style: italic; }
.find mark { background: #ffd23f; color: #111; border-radius: 3px; padding: 0 2px; }
.find__also { font: 12px var(--mono); color: var(--term-dim); }
.find__more { margin: 10px 4px 2px; font: 13px var(--mono); color: var(--term-dim); }
.find__more:empty { display: none; }
@media (prefers-reduced-motion: reduce) { .scr__sum::before { transition: none; } }
.ep__more { margin-top: clamp(56px, 9vh, 96px); }
.ep__more-h { margin: 0 0 18px; font-size: clamp(28px, 4vw, 44px); line-height: 1; }
.ep__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 18px 14px; }
.ep__list.is-long { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.ep__mini { display: block; color: inherit; text-decoration: none; }
.ep__mini-img { display: block; aspect-ratio: 9 / 16; border: 2.5px solid var(--ink); border-radius: 12px; overflow: hidden; background: #e6e6e2; box-shadow: 3px 3px 0 var(--ink);
  transition: transform .15s var(--ease), box-shadow .15s var(--ease); }
.ep__mini-img.is-long { aspect-ratio: 16 / 9; }
.ep__mini-img img { width: 100%; height: 100%; object-fit: cover; }
.ep__mini:hover .ep__mini-img { transform: translate(-2px, -3px) rotate(-.6deg); box-shadow: 5px 6px 0 var(--ink); }
.ep__mini.is-here .ep__mini-img { outline: 3px solid var(--red); outline-offset: 3px; }
.ep__mini-ep { display: block; margin-top: 9px; font: 700 11.5px var(--mono); color: var(--ink-3); }
.ep__mini-name { display: block; margin-top: 2px; font-weight: 700; font-size: 14px; line-height: 1.25; }
@media (min-width: 860px) {
  .ep__grid { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "video head" "video body"; grid-template-rows: auto 1fr; row-gap: 0; }
  .ep__grid.is-long { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); }
  .ep__video { width: auto; height: min(calc(100vh - var(--bar-top) - var(--bar-h) - 96px), 780px); margin: 0; }
  .ep__video.is-long { width: 100%; height: auto; }
  .ep__head { padding-top: calc(clamp(92px, 15vh, 150px) + 66px); }
}
.end--slim { padding-top: clamp(80px, 13vh, 130px); }
.end--slim .end__links { flex-wrap: wrap; gap: 12px; }
.who { padding-top: calc(var(--bar-top) + var(--bar-h) + clamp(92px, 15vh, 150px) + 70px); }
.who__title { margin: .25em 0 .22em; font-weight: 800; font-size: clamp(52px, 10vw, 128px); line-height: .86; letter-spacing: -.035em; }
.who__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 520px), 1fr)); gap: 22px; margin-top: 40px; }
.who__card { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 18px; align-items: start; padding: 18px; background: #fff; border: 2.5px solid var(--ink);
  border-radius: 20px; box-shadow: var(--shadow); }
.who__img { display: block; aspect-ratio: 9 / 16; border: 2px solid var(--ink); border-radius: 12px; overflow: hidden; background: #e6e6e2; }
.who__img.is-long { aspect-ratio: 16 / 9; }
.who__img img { width: 100%; height: 100%; object-fit: cover; }
.who__role { margin: 0; font: 600 12px var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--red); }
#who-violet .who__name::after { content: ''; display: inline-block; width: .2em; height: .9em; margin-left: .12em; vertical-align: -.08em; background: var(--violet);
  box-shadow: 0 0 8px rgba(169, 112, 255, .6); animation: vblink .9s steps(1) infinite; }
@media (prefers-reduced-motion: reduce) { #who-violet .who__name::after { animation: none; } }
#who-violet .who__role { color: var(--violet); }
.who__name { margin: 4px 0 10px; font-size: clamp(26px, 3vw, 34px); line-height: 1; letter-spacing: -.02em; }
.who__facts { margin: 0; padding-left: 18px; color: var(--ink-2); font-size: 15px; line-height: 1.45; }
.who__facts li + li { margin-top: 5px; }
.who__q { margin: 14px 0 0; padding: 10px 13px; border-radius: 10px; background: var(--term); color: var(--term-text); font: 14px/1.45 var(--mono); }
.who__q cite { display: block; margin-top: 4px; font-style: normal; font-size: 11.5px; color: var(--term-dim); }
.who__seen { margin: 14px 0 6px; font: 600 11px var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); }
.who__eps { display: flex; flex-wrap: wrap; gap: 6px; }
.who__ep { padding: 5px 9px; border: 1.5px solid var(--ink); border-radius: 999px; background: var(--void); color: var(--ink); font: 12px var(--mono); text-decoration: none; }
.who__ep:hover { background: var(--ink); color: #fff; }
@media (max-width: 520px) { .who__card { grid-template-columns: 78px minmax(0, 1fr); gap: 14px; padding: 14px; } }
.gp { padding-top: calc(var(--bar-top) + var(--bar-h) + clamp(92px, 15vh, 150px) + 70px); }
.gp__title { margin: .25em 0 .22em; font-weight: 800; font-size: clamp(52px, 10vw, 128px); line-height: .86; letter-spacing: -.035em; }
.gp__list { display: grid; gap: clamp(28px, 5vw, 56px); margin-top: clamp(36px, 6vw, 64px); }
.game { grid-template-columns: minmax(0, 1fr); scroll-margin-top: calc(var(--bar-top) + var(--bar-h) + 24px); }
.game--fight { background: radial-gradient(120% 90% at 100% 0%, #2d1418 0%, transparent 60%), var(--term); }
@media (min-width: 940px) { .game { grid-template-columns: minmax(0, .95fr) minmax(0, 1.1fr); } .game--flip { grid-template-columns: minmax(0, 1.1fr) minmax(0, .95fr); } .game--flip .shots { order: -1; } }
.game .play__copy b { color: #fff; }
.game__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.game__tags li { font: 600 12px var(--mono); color: var(--term-text); background: var(--term-2); border: 1px solid var(--term-line); padding: 6px 10px; border-radius: 999px; }
.game__keys { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); gap: 9px 18px; max-width: 34em; margin: 22px 0 0; padding: 0; list-style: none; }
.game__keys li { display: flex; align-items: baseline; gap: 10px; font-size: 14px; color: #d7dbe0; }
.game__k { flex: none; font: 600 12px var(--mono); color: #fff; background: #0b0d10; border: 1px solid var(--term-line); border-bottom-width: 3px; padding: 3px 7px; border-radius: 6px; white-space: nowrap; }
.game__more { margin: 12px 0 0; max-width: 36em; font: 13px/1.5 var(--mono); color: var(--term-dim); }
.game .cta { margin-top: 26px; }
.who__note { align-self: center; font: 12px var(--mono); color: var(--ink-3); }
a.card, a.film, a.cmt { color: inherit; text-decoration: none; }
a.card, a.film { display: block; }
.end__links { gap: 12px; flex-wrap: wrap; }

.bp { max-width: var(--wrap); margin: 0 auto; padding: calc(var(--bar-top) + var(--bar-h) + clamp(92px, 15vh, 150px) + 70px) var(--gutter) 0; }
.bp__title { margin: .25em 0 .22em; font-weight: 800; font-size: clamp(52px, 10vw, 128px); line-height: .86; letter-spacing: -.035em; }
.bp .badge { margin-top: 16px; background: var(--term); }
.bp__start { margin-top: clamp(28px, 5vw, 48px); max-width: 820px; background: #fff; border: 2.5px dashed var(--ink); border-radius: 22px; padding: clamp(18px, 3vw, 30px); box-shadow: var(--shadow); transition: border-color .15s, background .15s; }
.bp__start.is-over { border-style: solid; border-color: var(--red); background: #fff6f6; }
.bp__rights { display: flex; gap: 12px; align-items: flex-start; font-weight: 700; font-size: 17px; cursor: pointer; padding: 10px 12px; margin: -10px -12px 0; border-radius: 12px; }
.bp__rights input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--ink); flex: none; cursor: pointer; }
.bp__rights.is-nudge { animation: bp-nudge .45s; background: #fff0f0; outline: 2px solid var(--red); }
@keyframes bp-nudge { 20% { transform: translateX(-6px); } 40% { transform: translateX(6px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(3px); } }
.bp__pick { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 18px; }
.bp__file { position: relative; cursor: pointer; }
.bp .bp__file input, .bp .bp__file input:disabled { position: absolute; inset: 0; opacity: 0; width: 100%; cursor: pointer; }
.bp__file.is-off { opacity: .4; cursor: not-allowed; box-shadow: none; }
.bp__file.is-off input { pointer-events: none; }
.bp__file.is-off:hover { transform: none; }
.bp__file:focus-within { outline: 3px solid var(--red); outline-offset: 3px; }
.bp__or { font: 14px var(--mono); color: var(--ink-3); }
.bp__demo { margin: 20px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 15px; color: var(--ink-2); }
.bp__demo .chip small { color: var(--ink-3); font-size: 12px; }
.bp__note { margin: 18px 0 0; font: 13px/1.5 var(--mono); color: var(--ink-3); }
.bp__note b { color: var(--ink); }
.bp__status { margin: 12px 0 0; min-height: 1.4em; font: 600 14px var(--mono); color: var(--red); }
.bp__status:empty { display: none; }

.bp__studio { display: grid; gap: clamp(20px, 3vw, 36px); margin-top: clamp(28px, 5vw, 48px); align-items: start; scroll-margin-top: calc(var(--bar-top) + var(--bar-h) + 12px); }
@media (min-width: 980px) { .bp__studio[data-fmt="9:16"] { grid-template-columns: auto minmax(0, 1fr); } }
.bp__screen { position: relative; justify-self: center; background: #0b0d10; border-radius: 20px; padding: 10px; box-shadow: var(--shadow); max-width: 100%; }
.bp__screen canvas { border-radius: 12px; height: min(76vh, 860px); width: auto; max-width: 100%; aspect-ratio: 9 / 16; cursor: pointer; background: var(--void); }
.bp__studio[data-fmt="16:9"] .bp__screen { justify-self: stretch; }
.bp__studio[data-fmt="16:9"] .bp__screen canvas { width: 100%; height: auto; aspect-ratio: 16 / 9; }
.bp__rec { position: absolute; top: 22px; left: 22px; display: none; align-items: center; gap: 8px; font: 700 14px var(--mono); color: #fff; background: rgba(0, 0, 0, .6); padding: 6px 10px; border-radius: 8px; }
.bp__rec span { width: 10px; height: 10px; border-radius: 50%; background: var(--red); animation: pulse 1.2s infinite; }
.is-recording .bp__rec { display: inline-flex; }
.bp__side { display: grid; gap: 18px; min-width: 0; }
.bp__transport { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.bp__play svg { width: 22px; height: 22px; }
.bp__play.is-on svg { visibility: hidden; width: 0; margin-left: -10px; }
.bp__time { font: 600 15px var(--mono); font-variant-numeric: tabular-nums; color: var(--ink-2); }
.bp__seek { width: 100%; height: 58px; background: #fff; border: 2px solid var(--ink); border-radius: 10px; cursor: pointer; touch-action: none; }
.bp__row { display: flex; flex-wrap: wrap; align-items: end; gap: 12px 16px; }
.bp__field { display: grid; gap: 6px; font: 600 13px var(--mono); color: var(--ink-3); flex: 1 1 200px; }
.bp__field input, .bp__field select { font: 600 17px var(--sans); color: var(--ink); background: #fff; border: 2px solid var(--ink); border-radius: 10px; padding: 10px 12px; min-height: 48px; width: 100%; }
.bp fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.bp legend { font: 600 13px var(--mono); color: var(--ink-3); padding: 0; margin-bottom: 8px; }
.bp__seg { display: flex; flex-wrap: wrap; gap: 10px; }
.bp__seg legend { width: 100%; }
.bp__seg label { cursor: pointer; }
.bp__seg input { position: absolute; opacity: 0; pointer-events: none; }
.bp__seg span { display: inline-flex; align-items: baseline; gap: 8px; font: 700 15px var(--mono); padding: 10px 14px; border: 2px solid var(--ink); border-radius: 999px; background: #fff; box-shadow: 3px 3px 0 var(--ink); }
.bp__seg small { font-weight: 400; font-size: 12px; color: var(--ink-3); }
.bp__seg input:checked + span { background: var(--ink); color: #fff; box-shadow: 3px 3px 0 var(--red); }
.bp__seg input:checked + span small { color: #c9c9c9; }
.bp__seg input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 3px; }
.bp__fx { display: flex; flex-wrap: wrap; gap: 8px; }
.bp__fx legend { width: 100%; }
.bp__fx legend small { font-weight: 400; }
.bx { display: inline-flex; gap: 8px; align-items: center; padding: 8px 14px 8px 10px; background: #fff; border: 2px solid var(--ink); border-radius: 999px; cursor: pointer; font-size: 14px; }
.bx b { color: var(--ink); font-weight: 700; }
.bx input { width: 18px; height: 18px; margin: 0; accent-color: var(--red); flex: none; cursor: pointer; }
.bx:has(input:not(:checked)) { opacity: .6; border-style: dashed; }
.bx:has(input:not(:checked)) b { text-decoration: line-through; }
.bp__shuffle { margin-left: auto; min-height: 46px; padding: 0 16px; }
.bp__shuffle small { font: 12px var(--mono); color: var(--ink-3); }
.bp__seg { flex: 0 1 auto; }
.bp__video { background: #fff; border: 2.5px solid var(--ink); border-radius: 18px; padding: 18px; box-shadow: var(--shadow); }
.bp__video h3 { margin: 0 0 12px; font-size: 20px; }
.bp__clip { margin: 12px 0 0; font: 14px var(--mono); color: var(--ink-2); }
.bp__video .cta { margin-top: 16px; }
.bp__recstate { margin: 14px 0 0; font: 600 14px var(--mono); color: var(--ink); min-height: 1.4em; }
.bp__recstate:empty { display: none; }
.bp__fine { margin: 10px 0 0; font: 13px/1.5 var(--mono); color: var(--ink-3); }
.bp__fine b { color: var(--ink); }
.bp__change { justify-self: start; }
.bp button:disabled, .bp select:disabled, .bp input:disabled { opacity: .5; cursor: not-allowed; }
.bp .btn:disabled:hover { transform: none; }
@media (max-width: 560px) { .bp__screen { padding: 6px; border-radius: 16px; } .bp__screen canvas { height: min(68vh, 720px); } }
.bp [hidden] { display: none !important; }
@media (hover: none) { .bp__fx legend small { display: none; } }

.bd { background: #fff; border: 2.5px solid var(--ink); border-radius: 18px; padding: 16px; box-shadow: var(--shadow); min-width: 0; }
.bd__head h3, .bpads__head h3 { margin: 0; font-size: 20px; }
.bd__tip, .bpads__tip { margin: 4px 0 0; font: 13px/1.5 var(--mono); color: var(--ink-3); }
.bd__tools, .bpads__tools { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.bd__tool { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; font: 600 13.5px var(--mono); padding: 7px 12px; color: var(--ink); background: #fff;
  border: 2px solid var(--ink); border-radius: 999px; box-shadow: 3px 3px 0 var(--ink); cursor: pointer; text-align: left; }
.bd__tool:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.bd__tool:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.bd__tool b { color: var(--red); }
.bd__tool small { font-weight: 400; font-size: 11.5px; color: var(--ink-3); }
.bd__tool--play { background: var(--ink); color: #fff; box-shadow: 3px 3px 0 var(--red); }
.bd__tool--play small { color: #c9c9c9; }
.bd__tool[aria-pressed="true"] { background: var(--ink); color: #fff; }
.bd__tool--play[aria-pressed="true"] { background: var(--red); }
.bd__status { margin: 10px 0 0; font: 600 13.5px var(--mono); color: #1f9d36; min-height: 1.4em; }
.bd__status:empty { display: none; }
.bd__link { width: 100%; margin-top: 6px; font: 12px var(--mono); padding: 6px 8px; border: 2px solid var(--ink); border-radius: 8px; }
.bd__blocks { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 7px; margin-top: 12px; max-height: 292px; overflow: auto;
  padding: 3px 6px 6px 3px; scrollbar-width: thin; scrollbar-color: var(--ink) transparent; }
.bb { position: relative; display: grid; align-content: start; gap: 1px; min-height: 62px; padding: 6px 9px 8px; text-align: left; color: var(--ink); background: #fff;
  border: 2px solid var(--ink); border-top: 6px solid #aeb4c2; border-radius: 10px; cursor: pointer; font: 13px/1.25 var(--sans); }
.bb:hover { background: #f1f1ee; }
.bb--loud { border-top-color: var(--red); }
.bb--quiet { border-top-color: #d9dce3; }
.bb__t { font: 11px var(--mono); color: var(--ink-3); }
.bb__t i { font-style: normal; font-weight: 700; color: var(--red); }
.bb b { font-size: 13.5px; font-weight: 700; overflow-wrap: break-word; hyphens: auto; }
.bb__x { font: 11px/1.3 var(--mono); color: var(--ink-3); }
.bb__x::before { content: "\2192  "; }
.bb--mine { background: var(--ink); color: #fff; }
.bb--mine:hover { background: #2a2c33; }
.bb--mine .bb__t, .bb--mine .bb__x { color: #c9c9c9; }
.bb__mine { position: absolute; top: 4px; right: 5px; font: 700 9.5px var(--mono); text-transform: uppercase; color: #3ddc84; }
.bb--live::after { content: ""; position: absolute; right: 6px; bottom: 6px; width: 9px; height: 9px; border-radius: 50%; background: #3ddc84; border: 2px solid var(--ink); }
.bb.is-now { outline: 3px solid #3ddc84; outline-offset: 1px; }

.bpads { background: #16181d; color: #fff; border: 2.5px solid var(--ink); border-radius: 18px; padding: 14px; box-shadow: 6px 6px 0 var(--red); }
.bpads__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; }
.bpads__tip { color: #b9bcc6; }
.bpads__score { margin: 0; font: 700 13.5px var(--mono); color: #3ddc84; }
.bpads__hit { margin: 0 0 0 auto; min-width: 11ch; text-align: right; font: 900 17px var(--mono); letter-spacing: .06em; }
.bpads__hit[data-k="perfect"] { color: #3ddc84; } .bpads__hit[data-k="good"] { color: #f2f2ee; } .bpads__hit[data-k="off"] { color: #ff6b6b; }
.bpads__hit.is-pop { animation: bpHit .4s cubic-bezier(.2, 1.6, .4, 1); }
@keyframes bpHit { from { transform: scale(1.5); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .bpads__hit.is-pop { animation: none; } }
.bpads__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; margin-top: 12px; }
.pad { position: relative; display: grid; justify-items: center; gap: 0; padding: 4px 4px 7px; color: var(--ink); background: var(--void); border: 3px solid #000; border-radius: 14px;
  box-shadow: 0 6px 0 #000; cursor: pointer; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; transition: transform .05s, box-shadow .05s; }
.pad canvas { width: 100%; height: auto; aspect-ratio: 220 / 240; pointer-events: none; }
.pad b { font: 700 12.5px/1.12 var(--sans); text-align: center; pointer-events: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; hyphens: auto; }
@media (max-width: 560px) { .pad b { font-size: 10.5px; } .bpads { padding: 12px 10px; } .bpads__grid { gap: 6px; } }
.pad kbd { position: absolute; top: 5px; left: 5px; font: 700 12px var(--mono); padding: 0 5px; background: #fff; border: 2px solid var(--ink); border-bottom-width: 3px; border-radius: 6px; pointer-events: none; }
.pad.is-down { transform: translateY(5px); box-shadow: 0 1px 0 #000; }
.pad.is-good { background: #d7fbe6; }
.pad.is-off { background: #ffe3e3; }
.bpads.is-edit .pad { outline: 3px dashed #3ddc84; outline-offset: 2px; }
.bpads .bd__tool:disabled { opacity: .45; }
@media (hover: none) { .pad kbd { display: none; } }
@media (max-width: 979px) { .is-playmode .bp__screen canvas { height: min(46vh, 520px); } }

.bm { width: min(1120px, 94vw); max-width: none; max-height: 88vh; padding: 0; color: var(--ink); background: var(--void); border: 3px solid var(--ink); border-radius: 22px;
  box-shadow: 10px 10px 0 var(--ink); overflow: hidden; }
.bm::backdrop { background: rgba(17, 17, 17, .55); }
.bm__in { display: flex; flex-direction: column; max-height: 88vh; }
.bm__head, .bm__seg, .bm__bar, .bm__shelves, .bm__foot { flex: none; }
.bm__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 16px 18px 12px; background: #fff; border-bottom: 2px solid var(--ink); }
.bm__head h2 { margin: 0; font-size: 22px; line-height: 1.15; }
.bm__head p { margin: 4px 0 0; font: 13px/1.45 var(--mono); color: var(--ink-3); }
.bm__x { flex: none; width: 44px; height: 44px; display: grid; place-items: center; font-size: 19px; color: var(--ink); background: #fff; border: 2.5px solid var(--ink); border-radius: 50%; cursor: pointer; }
.bm__x:hover { color: var(--red); }
.bm__seg { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 18px 0; background: #fff; }
.bm__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 18px; background: #fff; }
.bm__q { flex: 1 1 200px; min-width: 0; min-height: 42px; padding: 8px 12px; font: 600 15px var(--sans); color: var(--ink); background: #fff; border: 2px solid var(--ink); border-radius: 10px; }
.bm__lvs { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.bm__chip { min-height: 38px; padding: 6px 11px; font: 600 13px var(--mono); color: var(--ink); background: #fff; border: 2px solid var(--ink); border-radius: 999px; cursor: pointer; }
.bm__chip[aria-pressed="true"] { color: #fff; background: var(--ink); }
.bm__chip--fav[aria-pressed="true"] { background: var(--red); }
.bm__shelves { display: flex; gap: 8px; overflow-x: auto; padding: 4px 18px 12px; background: #fff; border-bottom: 2px solid var(--ink); scrollbar-width: thin; scrollbar-color: var(--ink) transparent; }
.bm__shelves .tab { white-space: nowrap; }
.bm__list { flex: 1; min-height: 0; overflow: auto; padding: 14px 18px 18px; overscroll-behavior: contain; }
.bm__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); gap: 12px; }
.bm__empty, .bm__note { margin: 6px 0; font: 13.5px/1.5 var(--mono); color: var(--ink-3); }
.bm__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 10px 18px; background: #fff; border-top: 2px solid var(--ink); }
.bm__hint { font: 12.5px var(--mono); color: var(--ink-3); }
.bm__go { margin-left: auto; min-height: 46px; }
.mc { position: relative; min-width: 0; display: grid; }
.mc__pick { width: 100%; display: grid; justify-items: center; gap: 2px; padding: 5px 5px 9px; color: var(--ink); background: #fff; border: 2px solid var(--ink); border-radius: 14px;
  box-shadow: 3px 3px 0 var(--ink); cursor: pointer; font: inherit; transition: transform .1s, box-shadow .1s; align-content: start; }
.mc__pick:hover { transform: translate(-1px, -2px); box-shadow: 4px 5px 0 var(--ink); }
.mc__cv { width: 100%; height: auto; aspect-ratio: 220 / 240; background: var(--void); border-radius: 10px; }
.mc__name { font: 700 13.5px/1.2 var(--sans); text-align: center; overflow-wrap: anywhere; }
.mc__meta { font: 11px var(--mono); color: var(--ink-3); }
.mc__lv { color: var(--red); letter-spacing: 1px; }
.mc.is-cur .mc__pick { background: var(--ink); color: #fff; box-shadow: 3px 3px 0 var(--red); }
.mc.is-cur .mc__meta { color: #c9c9c9; }
.mc__fav { position: absolute; top: 8px; right: 8px; width: 32px; height: 32px; display: grid; place-items: center; font-size: 15px; line-height: 1; color: #c4c4bf; background: #fff;
  border: 2px solid var(--ink); border-radius: 50%; cursor: pointer; }
.mc__fav[aria-pressed="true"] { color: #fff; background: var(--red); }
.bm__mix { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.mx { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; background: #fff; border: 2px solid var(--ink); border-radius: 12px; cursor: pointer; font-size: 14px; }
.mx input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--red); flex: none; }
.mx small { font: 600 12px var(--mono); color: var(--ink-3); }
.mx em { font: 12px var(--mono); font-style: normal; color: var(--ink-3); }
.mx:has(input:checked) { background: #fff1f1; border-color: var(--red); }
.bm__grid--ready { grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); }
.bm__grid--ready .mc__meta { text-align: center; line-height: 1.4; padding: 0 4px; }
.bmy { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.bmy__row { display: flex; align-items: center; gap: 8px; padding: 10px 12px; background: #fff; border: 2px solid var(--ink); border-radius: 12px; }
.bmy__row.is-here { border-color: var(--red); }
.bmy__txt { flex: 1; min-width: 0; display: grid; gap: 2px; }
.bmy__txt b { font: 700 15px/1.25 var(--sans); overflow-wrap: anywhere; }
.bmy__txt small { font: 12px var(--mono); color: var(--ink-3); overflow-wrap: anywhere; }
.bmy__state:empty { display: none; }
.bd__tool.is-warn { color: #fff; background: var(--red); }
.bw__lines { list-style: none; margin: 12px 0 0; padding: 0; max-height: 300px; overflow: auto; border-top: 2px solid var(--ink); overscroll-behavior: contain; }
.bwl { display: flex; align-items: center; gap: 6px; border-bottom: 1.5px solid #e2e2de; }
.bwl__go { flex: 1; min-width: 0; display: flex; gap: 10px; align-items: baseline; padding: 8px 4px; text-align: left; color: var(--ink); background: none; border: 0; cursor: pointer; font: inherit; }
.bwl__go:hover .bwl__x { text-decoration: underline; }
.bwl__go:disabled { cursor: default; }
.bwl__t { flex: none; min-width: 4.4em; font: 600 11.5px var(--mono); color: var(--ink-3); }
.bwl__x { font: 600 14px/1.35 var(--sans); overflow-wrap: anywhere; }
.bwl--off .bwl__x { color: #a3a3a0; }
.bwl--tw .bwl__t::after { content: " \2713"; color: #1f9d36; }
.bwl__fix { flex: none; display: flex; gap: 4px; }
.bwl__fix button { min-width: 32px; height: 32px; padding: 0 7px; font: 700 13px var(--mono); color: var(--ink); background: #fff; border: 2px solid var(--ink); border-radius: 9px; cursor: pointer; }
.bwl__fix button:hover { color: #fff; background: var(--ink); }
.bwl.is-now { background: #e9fbef; }
.bw__dlg { width: min(760px, 94vw); }
.bw__paste { display: flex; flex: 1; min-height: 0; padding: 14px 18px; }
.bw__text { width: 100%; min-height: 46vh; resize: vertical; font: 15px/1.5 var(--mono); padding: 12px; color: var(--ink); background: #fff; border: 2.5px solid var(--ink); border-radius: 12px; }
.bw__tap { display: grid; justify-items: center; gap: 10px; padding: 22px 18px 28px; text-align: center; overflow: auto; }
.bw__prev { margin: 0; min-height: 1.4em; font: 600 15px var(--sans); color: #9a9a96; }
.bw__prev small { font: 12px var(--mono); }
.bw__cur { margin: 0; max-width: 100%; padding: 10px 16px; font: 800 clamp(24px, 4.2vw, 40px)/1.15 var(--sans); border-radius: 14px; overflow-wrap: anywhere; }
.bw__cur.is-down { color: #fff; background: var(--ink); }
.bw__cur span.is-done { color: #1f9d36; }
.bw__cur span.is-now { text-decoration: underline 5px var(--red); text-underline-offset: 7px; }
.bw__next { margin: 0; min-height: 1.4em; font: 600 17px var(--sans); color: #8a8a86; }
.bw__meter { margin: 0; font: 12.5px var(--mono); color: var(--ink-3); }
.bw__hold { display: grid; place-content: center; gap: 2px; width: 168px; height: 168px; margin-top: 6px; font: 800 26px var(--sans); color: #fff; background: var(--red); border: 4px solid var(--ink); border-radius: 50%; box-shadow: 0 8px 0 var(--ink); cursor: pointer; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.bw__hold small { font: 600 12px var(--mono); color: #ffe0e0; }
.bw__hold.is-down { transform: translateY(6px); background: #b82525; box-shadow: 0 2px 0 var(--ink); }
@media (hover: none) { .bw__dlg .bd__tool small { display: none; } }
@media (max-width: 640px) {
  .bm { width: 100vw; max-width: 100vw; max-height: 90vh; margin: auto 0 0; border-width: 3px 0 0; border-radius: 22px 22px 0 0; box-shadow: none; }
  .bm__in { max-height: 90vh; }
  .bm__head { padding: 14px 14px 10px; }
  .bm__head h2 { font-size: 19px; }
  .bm__bar, .bm__seg, .bm__foot, .bm__shelves { padding-left: 14px; padding-right: 14px; }
  .bm__list { padding: 12px 14px 16px; }
  .bm__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
  .bm__grid--ready { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bmy__row { flex-wrap: wrap; }
  .bmy__txt { flex-basis: 100%; }
  .mc__name { font-size: 12.5px; }
  .mc__fav { width: 28px; height: 28px; top: 6px; right: 6px; font-size: 13px; }
  .bm__chip { min-height: 36px; padding: 5px 9px; }
  .bd { padding: 14px; }
  .bd__blocks { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); max-height: 260px; }
  .bw__hold { width: 150px; height: 150px; }
  .bw__text { min-height: 40vh; }
  .bw__cur { font-size: 24px; }
  .bwl__x { font-size: 13.5px; }
  .bb b { font-size: 12.5px; }
}
.is-soon { cursor: default; }
.btn.is-soon { opacity: .62; box-shadow: none; }
.btn .soon-tag { font: 600 11px var(--mono); text-transform: uppercase; letter-spacing: .06em; margin-left: 2px; padding: 3px 7px; border-radius: 999px; background: var(--ink); color: #fff; }
a.gcard.is-soon:hover { transform: none; box-shadow: var(--shadow); }
a.gcard.is-soon:hover .gcard__img img { transform: none; }
.gcard.is-soon .gcard__go { color: #9aa0a6; }

.bp__ch { margin-top: clamp(36px, 6vw, 64px); max-width: 820px; }
.bp__chT { margin: 0; font-size: clamp(24px, 3vw, 32px); line-height: 1.1; letter-spacing: -.01em; }
.bp__chT b { color: var(--red); }
.bp__chL { margin: 8px 0 0; color: var(--ink-2); }
.bp__chList { margin-top: 18px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 18px; }
.bch { background: #fff; border: 2.5px solid var(--ink); border-radius: 18px; overflow: hidden; box-shadow: 4px 4px 0 var(--ink); }
.bch__img { display: block; aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 2.5px solid var(--ink); background: #0b0d10; }
.bch__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--ease); }
.bch__img:hover img { transform: scale(1.04); }
.bch__ph { display: grid; place-items: center; height: 100%; color: #fff; font-size: 34px; opacity: .8; }
.bch__name { margin: 12px 14px 0; font-size: 17px; line-height: 1.25; }
.bch__go { margin: 12px 14px 14px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.bch__go .btn { padding: 8px 14px; font-size: 14px; }
.bp__chGo { margin: 20px 0 0; }

@media (min-width: 900px) {
  .tabsline { align-items: flex-end; }
  .tabsline .tabs { flex-wrap: wrap; overflow: visible; row-gap: 10px; }
}

.bar__home { width: auto; display: inline-flex; align-items: center; gap: 8px; padding: 0 14px 0 10px; text-decoration: none;
  font: 800 15px var(--sans); letter-spacing: .02em; }
.bar__home img { width: 26px; height: 26px; border-radius: 7px; }
.bar__home:hover span { color: var(--red); }
@media (max-width: 719px) { .bar__home { padding: 0; width: var(--bar-h); justify-content: center; } .bar__home span { display: none; } }


@media (max-width: 479px) { .bar__back { padding: 0; width: var(--bar-h); justify-content: center; } .bar__back span { display: none; } }
@media (max-width: 479px) { .bar__back { display: none; } .prompt { gap: 6px; padding-left: 12px; } }

.is-tramp { animation: tramp .42s cubic-bezier(.2, .8, .2, 1); transform-origin: 50% 100%; }
@keyframes tramp { 0% { transform: none; } 25% { transform: translateY(10px) scaleY(.93); } 60% { transform: translateY(-5px) scaleY(1.02); } 100% { transform: none; } }
#stimDark { position: fixed; inset: 0; z-index: 58; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(circle var(--r, 220px) at var(--x, 50%) var(--y, 50%), rgba(5, 6, 9, 0) 0, rgba(5, 6, 9, 0) 50%, rgba(5, 6, 9, .97) 100%); }
html.is-dark #stimDark { opacity: 1; }
html.is-dark .pxl { z-index: 59; }
.glow { display: block; width: fit-content; margin: 26px max(var(--gutter), 7vw) 0 auto; font: 700 clamp(20px, 2.4vw, 30px) var(--mono); color: #39ff88;
  transform: rotate(-4deg); opacity: 0; pointer-events: none; user-select: none; transition: opacity .4s; }
html.is-dark .glow { opacity: 1; text-shadow: 0 0 10px #39ff88, 0 0 28px rgba(57, 255, 136, .7); }
.pxl { position: absolute; z-index: 40; width: 12px; height: 12px; background: var(--red); box-shadow: 0 0 0 2px rgba(17, 17, 17, .85), 0 0 14px 3px rgba(226, 59, 59, .55); pointer-events: none; animation: pxl 1.6s ease-in-out infinite; }
@keyframes pxl { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
.pxl.is-got { animation: pxlgot .5s ease-out forwards; }
@keyframes pxlgot { to { transform: translateY(-40px) scale(2.2); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .is-tramp, .pxl { animation: none; } }
