@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: #eef0ea; --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; }
/* stage */
.stage { margin-top: 22px; display: grid; grid-template-columns: minmax(0, 1fr) 400px; background: #fbfaf5; border-radius: 22px; overflow: hidden; padding: 0 !important; max-width: calc(1440px - 72px); box-shadow: 0 24px 60px -34px rgba(20,40,50,.45), 0 0 0 1px rgba(0,0,0,.05); }
.mapwrap { position: relative; min-height: 640px; background: #dfe9ec; touch-action: manipulation; }
#map { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: crosshair; }
.prog { position: absolute; left: 16px; top: 14px; font: 700 13px var(--kr); color: #34495e; background: rgba(251,250,245,.86); padding: 5px 11px; border-radius: 99px; pointer-events: none; }
.side { display: flex; flex-direction: column; gap: 14px; padding: 20px 22px; border-left: 1px solid var(--line); min-width: 0; }
.pick { display: flex; align-items: flex-start; gap: 10px; } .lab { font: 700 12.5px var(--kr); color: var(--mute); width: 28px; flex-shrink: 0; padding-top: 7px; }
.chips { display: flex; gap: 4px; flex-wrap: wrap; } .chip { border: 0; border-radius: 99px; padding: 6px 10px; font: 700 13px var(--kr); background: #eceae2; color: #3d3a34; cursor: pointer; white-space: nowrap; } .chip:hover { background: #e2dfd5; } .chip.on { background: #161618; color: #fff; }
.seg { display: inline-flex; background: #eceae2; border-radius: 99px; padding: 3px; } .seg button { border: 0; background: none; border-radius: 99px; padding: 6px 14px; font: 700 13px var(--kr); cursor: pointer; color: #5b574f; } .seg button.on { background: #fff; color: #161618; box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.ask { background: #fff7d6; border-radius: 16px; padding: 14px 16px; display: flex; flex-direction: column; justify-content: center; } .kick { margin: 0 0 2px; font: 700 12.5px var(--kr); color: #8a6d12; } .qn { display: block; font: 800 30px/1.15 var(--kr); letter-spacing: -.04em; word-break: keep-all; } .qn small { font: 700 15px var(--kr); color: #8a857c; letter-spacing: -.02em; margin-left: 6px; }
.opts { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 10px; } .opts:empty { display: none; } .opts button { border: 0; border-radius: 12px; padding: 10px 8px; background: #fff; font: 800 16px var(--kr); cursor: pointer; box-shadow: 0 0 0 1px rgba(0,0,0,.08); } .opts button:hover { background: #fffbe9; } .opts button.ok { background: #bfe3d6; } .opts button.no { background: #f6c9b8; } .opts button:disabled { cursor: default; }
.res { border-radius: 16px; padding: 14px 16px; background: #e5f3ee; } .res.miss { background: #fbe6de; } .verdict { display: block; font: 800 19px/1.3 var(--kr); letter-spacing: -.03em; word-break: keep-all; } .facts { margin: 6px 0 10px; font-size: 13.5px; color: #4d4943; word-break: keep-all; }
.pill { border: 0; border-radius: 99px; padding: 9px 16px; font: 800 14px var(--kr); background: #161618; color: #fff; cursor: pointer; }
.score { display: flex; align-items: center; gap: 10px; font: 700 13px var(--kr); color: #4d4943; } .bar { flex: 1; height: 8px; border-radius: 9px; background: #eceae2; overflow: hidden; display: flex; } .bar i { display: block; height: 100%; transition: width .3s; } #barOk { background: #2a9d7f; } #barNo { background: #e4572e; }
.link { border: 0; background: none; font: 700 13px var(--kr); color: #34495e; text-decoration: underline; cursor: pointer; padding: 0; }
.log { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; align-content: flex-start; overflow: auto; min-height: 0; } .log li { font: 700 12px var(--kr); padding: 3px 8px; border-radius: 99px; background: #e5f3ee; color: #1d6b56; } .log li.no { background: #fbe6de; color: #b23a18; }
/* phone */
@media (max-width: 760px) {
  .top, .intro, .how, .foot { padding-left: 18px; padding-right: 18px; } h1 .q { font-size: 29px; } h1 em { font-size: 20px; }
  .stage { margin: 16px 10px 0 !important; display: flex; flex-direction: column; gap: 10px; border-radius: 18px; padding: 12px 0 14px !important; }
  .side { display: contents; } .side > * { margin: 0 12px; } .lab { display: none; }
  .pick { order: 1; } .ask, .res { order: 2; } .mapwrap { order: 3; margin: 0 12px; border-radius: 14px; overflow: hidden; min-height: 0; height: 56vh; max-height: 520px; } .score { order: 4; } .log { order: 5; }
  .stage.shown .ask { display: none; } .ask, .res { padding: 10px 14px; } .qn { font-size: 24px; } .facts { margin: 4px 0 8px; font-size: 13px; }
  .chip { padding: 5px 9px; font-size: 12.5px; } .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 .mapwrap { min-height: 0; }
.tall h1 em { display: none; } .tall h1 .q { font-size: 27px; }
.tall .stage { margin: 10px 10px 0 !important; height: calc(100vh - 82px); display: flex; flex-direction: column; gap: 9px; padding: 12px 0 12px !important; }
.tall .side { display: contents; } .tall .side > * { margin: 0 12px; } .tall .lab { display: none; } .tall .chip { padding: 5px 9px; font-size: 12.5px; }
.tall .pick { order: 1; } .tall .ask, .tall .res { order: 2; height: 118px; padding: 10px 14px; flex-shrink: 0; } .tall .mapwrap { order: 3; flex: 1; margin: 0 12px; border-radius: 14px; overflow: hidden; } .tall .score { order: 4; } .tall .log { display: none; }
.tall .stage.shown .ask { display: none; } .tall .qn { font-size: 26px; } .tall .facts { margin: 4px 0 6px; font-size: 12.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } .tall .res .pill { padding: 7px 14px; font-size: 13px; }
.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: #161618; color: #fff; 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; }
