@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: #f1ece4; --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 */
.stage { margin-top: 22px; display: grid; grid-template-columns: minmax(0, 1fr) 380px; background: #1d1712; color: #f1e6d3; border-radius: 22px; overflow: hidden; padding: 0 !important; max-width: calc(1440px - 72px); box-shadow: 0 24px 60px -30px rgba(40,20,5,.6); }
.main { display: flex; flex-direction: column; gap: 12px; padding: 18px 20px 16px; min-width: 0; }
.pick { display: flex; align-items: center; gap: 12px; } .lab { font: 700 12.5px var(--kr); color: #b9a68a; width: 30px; flex-shrink: 0; }
.chips { display: flex; gap: 4px; flex-wrap: wrap; } .chip { border: 0; border-radius: 99px; padding: 7px 11px; font: 700 13.5px var(--kr); background: rgba(255,255,255,.07); color: #e6d8bf; cursor: pointer; white-space: nowrap; } .chip:hover { background: rgba(255,255,255,.13); } .chip.on { background: #f1e6d3; color: #1d1712; } .chip small { font-weight: 500; opacity: .6; margin-left: 4px; font-size: 11.5px; }
.neckwrap { position: relative; height: 236px; border-radius: 14px; overflow: hidden; touch-action: none; background: #120e0b; }
#neck { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: ns-resize; }
.now { position: absolute; left: 14px; top: 8px; font: 600 12.5px var(--kr); color: #cdb995; pointer-events: none; text-shadow: 0 1px 4px #000; } .now b { color: #fff; font-size: 15px; }
.cards { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 8px; }
.cc { border: 0; background: rgba(255,255,255,.05); border-radius: 12px; padding: 8px 6px 6px; color: inherit; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 0; transition: background .15s; }
.cc:hover { background: rgba(255,255,255,.09); } .cc.on { background: rgba(255,138,61,.18); box-shadow: inset 0 0 0 2px #ff8a3d; }
.cc b { font: 800 19px var(--kr); letter-spacing: -.02em; } .cc span { font: 500 11.5px var(--kr); color: #b9a68a; } .cc canvas { width: 100%; max-width: 104px; aspect-ratio: 1 / 1.08; display: block; }
.bar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; } .sp { flex: 1; } .pat { font: 600 13px var(--kr); color: #b9a68a; letter-spacing: .04em; }
.bpm { display: flex; align-items: center; gap: 8px; font: 600 13px Inter, var(--kr); color: #cdb995; } .bpm input { width: 150px; accent-color: #ff8a3d; } .bpm b { color: #fff; font-variant-numeric: tabular-nums; min-width: 26px; text-align: right; }
.beats { display: flex; gap: 6px; } .beats i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.14); } .beats i.on { background: #ff8a3d; box-shadow: 0 0 8px #ff8a3d; }
.pill { border: 0; border-radius: 99px; padding: 10px 17px; font: 700 14.5px var(--kr); background: rgba(255,255,255,.1); color: #f1e6d3; cursor: pointer; white-space: nowrap; transition: background .15s, transform .1s; } .pill:active { transform: scale(.97); }
.pill.hot { background: #ff8a3d; color: #1d1005; } .pill.hot:hover { background: #ff9d5a; } .pill.hot.on { background: #f1e6d3; }
.card { background: rgba(255,255,255,.035); border-left: 1px solid rgba(255,255,255,.07); padding: 22px 20px 18px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.kick { margin: 0; font: 700 12.5px var(--kr); color: #ff8a3d; letter-spacing: .04em; } .verdict { font: 800 19px/1.38 var(--kr); letter-spacing: -.03em; word-break: keep-all; }
.ln { margin: 0; font-size: 14px; line-height: 1.5; color: #e0d1b6; word-break: keep-all; } .ln b { color: #fff; } .dim { color: #9c8b72; font-size: 12.5px; }
.capos { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 3px; }
.capos li { display: grid; grid-template-columns: 76px 62px minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 7px 9px; border-radius: 10px; cursor: pointer; font-size: 13.5px; }
.capos li:hover { background: rgba(255,255,255,.06); } .capos li.on { background: rgba(255,138,61,.16); box-shadow: inset 0 0 0 1.5px #ff8a3d; }
.capos li b { font-weight: 800; } .capos li .sk { color: #cdb995; font-size: 12.5px; } .capos li .cs { color: #f1e6d3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.capos li em { font: 700 11.5px var(--kr); font-style: normal; padding: 3px 7px; border-radius: 99px; background: rgba(255,255,255,.08); color: #e0d1b6; white-space: nowrap; } .capos li em.ok { background: rgba(120,220,140,.16); color: #9fe3ac; } .capos li .best { color: #ff8a3d; margin-right: 3px; }
@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); border-radius: 18px; }
  .main { padding: 14px 12px 12px; gap: 10px; } .pick { align-items: flex-start; gap: 8px; } .lab { padding-top: 7px; width: 26px; } .chip { padding: 6px 9px; font-size: 12.5px; }
  .neckwrap { height: 200px; } .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; } .cc b { font-size: 16px; }
  .bpm input { width: 110px; } .pat { display: none; }
  .card { border-left: 0; border-top: 1px solid rgba(255,255,255,.07); padding: 18px 14px; } .verdict { font-size: 17px; }
  .capos li { grid-template-columns: 82px 52px minmax(0, 1fr) auto; gap: 6px; padding: 7px 6px; font-size: 13px; }
  .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 .main { justify-content: space-between; } .film .neckwrap { flex: 1; height: auto; min-height: 0; }
.tall .top, .tall .intro { padding-left: 12px; padding-right: 12px; } .tall h1 .q { font-size: 21px; } .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; }
.tall .main { padding: 12px 10px 10px; gap: 9px; } .tall .pick { align-items: flex-start; gap: 6px; } .tall .lab { padding-top: 6px; width: 26px; } .tall .chip { padding: 6px 8px; font-size: 12.5px; }
.tall .pat { display: none; } .tall .bpm input { width: 110px; } .tall .card { border-left: 0; border-top: 1px solid rgba(255,255,255,.07); padding: 12px 14px 12px; gap: 6px; } .tall .verdict { font-size: 16px; } .tall .capos li { padding: 5px 6px; font-size: 12.5px; grid-template-columns: 68px 56px minmax(0, 1fr) auto; } .tall .neckwrap { min-height: 210px; } .tall .cc canvas { max-width: 64px; } .tall .cc { padding: 5px 4px 4px; } .tall .card .dim { display: none; } .tall .capos li:nth-child(n+5) { display: none; }
.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; }
.capos li > :first-child { white-space: nowrap; } .tall .capos li { grid-template-columns: 84px 54px minmax(0, 1fr) auto; }
