@font-face { font-family: 'Gothic A1'; src: url(fonts/gothica1-400.woff2) format('woff2'); font-weight: 400 500; font-display: block; }
@font-face { font-family: 'Gothic A1'; src: url(fonts/gothica1-700.woff2) format('woff2'); font-weight: 600 700; font-display: block; }
@font-face { font-family: 'Gothic A1'; src: url(fonts/gothica1-800.woff2) format('woff2'); font-weight: 800 900; font-display: block; }
@font-face { font-family: Inter; src: url(fonts/inter.woff2) format('woff2'); font-weight: 100 900; font-display: block; }
@font-face { font-family: Serif; src: url(fonts/instrument-italic.woff2) format('woff2'); font-style: italic; font-display: block; }
@font-face { font-family: Mono; src: url(fonts/geistmono.woff2) format('woff2'); font-weight: 100 900; font-display: block; }
:root { --bg: #eeeceb; --ink: #161618; --mute: #8a857c; --line: rgba(0,0,0,.09); --sans: Inter, 'Gothic A1', system-ui, sans-serif; --kr: 'Gothic A1', Inter, system-ui, sans-serif; --mono: Mono, ui-monospace, monospace; }
* { box-sizing: border-box; }
html { background: var(--bg); }
body { margin: 0; color: var(--ink); font: 400 15px/1.5 var(--kr); -webkit-font-smoothing: antialiased; }
a { color: inherit; } [hidden] { display: none !important; } button, input { font: inherit; color: inherit; }
.top, .intro, .stage, .how, .foot { max-width: 1440px; margin: 0 auto; padding-left: 36px; padding-right: 36px; }
.top { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; padding-bottom: 2px; }
.brand { display: flex; align-items: center; gap: 9px; } .brand b { font: 800 18px var(--kr); letter-spacing: -.03em; } .brand i { font: 500 12px var(--mono); color: var(--mute); font-style: normal; }
.gh { font: 600 14px var(--sans); text-decoration: none; }
.intro { padding-top: 18px; }
h1 { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 18px; word-break: keep-all; }
h1 .q { font: 800 42px/1.08 var(--kr); letter-spacing: -.045em; } h1 em { font: italic 400 27px/1.1 Serif, serif; letter-spacing: -.02em; color: #4d4943; }
.lede { margin: 10px 0 0; max-width: 880px; color: #4d4943; word-break: keep-all; }
.how { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; padding-top: 40px; } .how h3 { margin: 0 0 6px; font: 800 15px var(--kr); } .how p { margin: 0; font-size: 14px; color: #4d4943; word-break: keep-all; }
.foot { padding-top: 26px; padding-bottom: 90px; font: 400 12.5px var(--sans); color: var(--mute); }
.toast { position: fixed; left: 50%; top: 22px; transform: translate(-50%, -20px); opacity: 0; background: var(--ink); color: #fff; font: 600 13.5px var(--kr); padding: 9px 16px; border-radius: 99px; transition: .25s; pointer-events: none; z-index: 60; white-space: nowrap; } .toast.on { opacity: 1; transform: translate(-50%, 0); }
/* stage: chart + card */
.stage { margin-top: 22px; position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 360px; grid-template-rows: minmax(0, 1fr) auto; background: #111418; color: #e9ecef; border-radius: 22px; overflow: hidden; padding: 0 !important; max-width: calc(1440px - 72px); box-shadow: 0 24px 60px -30px rgba(10,14,20,.6); }
.chart { position: relative; grid-column: 1; grid-row: 1; min-height: 560px; touch-action: none; }
#cv { position: absolute; inset: 0; width: 100%; height: 100%; display: block; } #cv.on { cursor: pointer; } #cv.grab { cursor: grab; } #cv.drag { cursor: grabbing; }
.yr { position: absolute; right: 26px; bottom: 54px; font: 800 120px/1 Inter, var(--kr); letter-spacing: -.05em; color: rgba(255,255,255,.07); pointer-events: none; font-variant-numeric: tabular-nums; }
.leg { position: absolute; right: 22px; top: 12px; max-width: 80%; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 2px 10px; font: 500 11.5px var(--kr); color: #a3aab4; pointer-events: none; } .leg span { display: flex; align-items: center; gap: 4px; white-space: nowrap; } .leg i { width: 8px; height: 8px; border-radius: 50%; }
.card { grid-column: 2; grid-row: 1 / span 2; background: rgba(255,255,255,.035); border-left: 1px solid rgba(255,255,255,.07); padding: 24px 22px 18px; display: flex; flex-direction: column; gap: 14px; min-height: 0; overflow: hidden; }
.kick { margin: 0 0 6px; font: 700 12.5px var(--kr); color: #ffd25a; letter-spacing: .04em; } .qq { display: block; font: 800 22px/1.3 var(--kr); letter-spacing: -.035em; word-break: keep-all; }
.wide { width: 100%; margin-top: 16px; padding: 12px 15px !important; font-size: 15px !important; }
.nm { display: flex; align-items: center; gap: 9px; } .nm .dot { width: 13px; height: 13px; border-radius: 50%; background: var(--c, #fff); flex-shrink: 0; } .nm b { font: 800 27px/1.15 var(--kr); letter-spacing: -.035em; word-break: keep-all; flex: 1; }
.sub { margin: 6px 0 0; font-size: 13px; color: #a3aab4; } .big { margin-top: 12px; font: 800 17px/1.4 var(--kr); color: #ffd25a; word-break: keep-all; font-variant-numeric: tabular-nums; } .big:empty { display: none; }
.ln { margin: 9px 0 0; font-size: 14px; line-height: 1.5; color: #cdd2d9; word-break: keep-all; font-variant-numeric: tabular-nums; } .ln b { color: #fff; font-weight: 700; } .ln:empty { display: none; } .lt { color: #9fe3ff; } .gs { color: #ffb4c0; } .dim { color: #8d96a1; font-size: 13px; }
.bar { grid-column: 1; grid-row: 2; display: flex; flex-direction: column; gap: 8px; padding: 12px 16px 14px; border-top: 1px solid rgba(255,255,255,.07); }
.time { display: flex; align-items: center; gap: 12px; } #slider { flex: 1; accent-color: #ffd25a; height: 28px; cursor: pointer; min-width: 0; } .ylab { font: 800 18px Inter, var(--kr); font-variant-numeric: tabular-nums; min-width: 48px; text-align: right; }
.row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; } .row .sp { flex: 1; }
.chips { display: flex; gap: 4px; flex-wrap: wrap; } .chip { border: 0; border-radius: 99px; padding: 7px 11px; font: 600 13px var(--kr); background: rgba(255,255,255,.08); color: #cdd2d9; cursor: pointer; white-space: nowrap; } .chip:hover { background: rgba(255,255,255,.14); } .chip.on { background: #e9ecef; color: #111418; }
.pill { border: 0; border-radius: 99px; padding: 9px 15px; font: 700 14px var(--kr); background: rgba(255,255,255,.1); color: #e9ecef; cursor: pointer; transition: background .15s, transform .1s; white-space: nowrap; } .pill:hover { background: rgba(255,255,255,.17); } .pill:active { transform: scale(.97); }
.pill.hot { background: #ffd25a; color: #1a1406; } .pill.hot:hover { background: #ffdd80; } .pill.ghost { background: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); padding: 7px 12px; font-size: 13px; }
.pill:disabled { opacity: .35; cursor: default; }
@media (max-width: 900px) {
  .top, .intro, .how, .foot { padding-left: 16px; padding-right: 16px; } h1 .q { font-size: 27px; } h1 em { font-size: 19px; } .lede { font-size: 14px; }
  .stage { margin: 16px 10px 0 !important; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto; border-radius: 18px; }
  .chart { grid-row: 1; min-height: 0; height: 56vh; max-height: 520px; } .yr { font-size: 64px; right: 14px; bottom: 40px; } .leg { left: 12px; right: 10px; top: 10px; justify-content: flex-start; max-width: none; font-size: 10.5px; gap: 0 8px; }
  .bar { grid-row: 3; padding: 10px 10px 12px; border-top: 1px solid rgba(255,255,255,.07); } .row .sp { display: none; } .pill { padding: 8px 12px; font-size: 13px; } .chip { padding: 6px 9px; font-size: 12.5px; }
  .card { grid-column: 1; grid-row: 2; border-left: 0; border-top: 1px solid rgba(255,255,255,.07); padding: 18px 16px; } .nm b { font-size: 23px; } .qq { font-size: 19px; }
  .how { grid-template-columns: 1fr; gap: 18px; padding-top: 28px; }
}
/* film */
body.film { overflow: hidden; } .film .lede, .film .how, .film .foot { display: none; }
.film .top { padding-top: 10px; } .film .intro { padding-top: 4px; } .film h1 .q { font-size: 30px; } .film h1 em { font-size: 20px; }
.film .top, .film .intro { padding-left: 24px; padding-right: 24px; } .film .stage { margin: 12px 24px 0 !important; height: calc(100vh - 104px); } .film .chart { min-height: 0; }
.tall .top, .tall .intro { padding-left: 12px; padding-right: 12px; } .tall h1 .q { font-size: 23px; } .tall h1 em { display: none; }
.tall .stage { margin: 10px 10px 0 !important; height: calc(100vh - 100px); grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto auto; }
.tall .chart { grid-row: 1; height: auto; max-height: none; } .tall .yr { font-size: 72px; right: 16px; bottom: 40px; } .tall .leg { left: 12px; right: 10px; top: 10px; justify-content: flex-start; max-width: none; font-size: 11px; gap: 0 8px; } .tall .bar { grid-row: 3; grid-column: 1; padding: 8px 10px 10px; } .tall .row .sp { display: none; } .tall .pill { padding: 8px 12px; font-size: 13px; } .tall .chip { padding: 6px 9px; font-size: 12.5px; }
.tall .card { grid-column: 1; grid-row: 2; border-left: 0; border-top: 1px solid rgba(255,255,255,.07); padding: 12px 16px 14px; gap: 0; height: 226px; overflow: hidden; } .tall .nm b { font-size: 22px; } .tall .ln { margin-top: 5px; font-size: 13px; } .tall .sub { margin-top: 3px; } .tall .big { margin-top: 6px; } .tall .qq { font-size: 18px; } .tall .wide { margin-top: 10px; }
.cur { position: fixed; left: 0; top: 0; z-index: 80; pointer-events: none; width: 0; height: 0; } .cur svg { position: absolute; left: -8px; top: -3px; filter: drop-shadow(0 2px 3px rgba(0,0,0,.35)); } .cur path { fill: #fff; stroke: #111; stroke-width: 1.3; stroke-linejoin: round; } .cur .closed { display: none; } .cur.down .open { display: none; } .cur.down .closed { display: block; }
.cur i { position: absolute; left: 22px; top: 26px; background: #fff; color: #111; font: 700 13px var(--kr); padding: 5px 10px; border-radius: 99px; white-space: nowrap; font-style: normal; } .cur i:empty { display: none; } .cur.flip i { left: auto; right: 14px; } .cur.up i { top: -34px; }
