@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: #f1efea; --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: the map + the size card */
.stage { margin-top: 22px; position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 360px; grid-template-rows: minmax(0, 1fr) auto; background: #fff; border-radius: 22px; overflow: hidden; padding: 0 !important; max-width: calc(1440px - 72px); box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 24px 60px -34px rgba(40,50,60,.45); }
.map { position: relative; grid-column: 1; grid-row: 1; min-height: 600px; background: #d7e5ec; touch-action: none; }
#cv { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; } #cv.on { cursor: move; } #cv.drag { cursor: grabbing; }
.hint { position: absolute; left: 18px; top: 14px; font: 600 12.5px var(--kr); color: #42606e; background: rgba(255,255,255,.72); padding: 6px 11px; border-radius: 99px; pointer-events: none; transition: opacity .4s; } .hint.off { opacity: 0; }
.zoom { position: absolute; right: 14px; top: 14px; display: flex; flex-direction: column; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,.12); } .zoom button { width: 36px; height: 34px; border: 0; background: #fff; font: 600 18px var(--sans); cursor: pointer; } .zoom button + button { border-top: 1px solid var(--line); } .zoom button:hover { background: #f3f3f3; }
.card { grid-column: 2; grid-row: 1 / span 2; border-left: 1px solid var(--line); padding: 24px 24px 20px; display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
.nm { display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap; } .nm .dot { width: 14px; height: 14px; border-radius: 4px; background: var(--c, #ccc); align-self: center; flex-shrink: 0; } .nm b { font: 800 30px/1.1 var(--kr); letter-spacing: -.04em; word-break: keep-all; } .nm span { font: 500 13px var(--sans); color: var(--mute); }
.big { margin-top: 14px; display: flex; align-items: baseline; gap: 5px; flex-wrap: wrap; } .big span { font: 800 40px/1 var(--sans); letter-spacing: -.045em; font-variant-numeric: tabular-nums; } .big i { font: 700 16px var(--sans); font-style: normal; color: #4d4943; } .big em { font: 600 11.5px var(--kr); font-style: normal; color: #a8653a; background: #fbeee2; padding: 3px 7px; border-radius: 99px; margin-left: 4px; } .big em:empty { display: none; }
.kor { margin-top: 8px; font: 700 15px var(--kr); color: #4d4943; } .kor b { color: var(--ink); }
.now, .app, .sim { margin: 12px 0 0; font-size: 14px; line-height: 1.5; color: #4d4943; word-break: keep-all; } .now b, .app b { color: var(--ink); font-weight: 800; } .app b.up { color: #d6354f; } .app b.dn { color: #1f7fb8; } .sim { font-size: 13px; color: var(--mute); }
.none { margin: 18px 0 0; } .none p { margin: 0 0 8px; font: 800 26px/1.2 var(--kr); letter-spacing: -.04em; } .none span { color: var(--mute); font-size: 14px; }
.list { margin-top: auto; padding-top: 18px; min-height: 0; } .list h4 { margin: 0 0 8px; font: 700 12px var(--kr); color: var(--mute); letter-spacing: .02em; }
.list ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.list li { display: grid; grid-template-columns: 10px 92px 1fr 64px 22px; align-items: center; gap: 8px; font-size: 13px; padding: 4px 6px; border-radius: 8px; cursor: pointer; } .list li.on { background: #f3f1ec; }
.list li > i { width: 10px; height: 10px; border-radius: 3px; background: var(--c); } .list li b { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .list li u { display: block; height: 8px; border-radius: 4px; background: var(--c); opacity: .8; text-decoration: none; min-width: 2px; } .list li em { font: 600 12px var(--sans); font-style: normal; text-align: right; color: #4d4943; font-variant-numeric: tabular-nums; white-space: nowrap; }
.list li button { border: 0; background: none; color: var(--mute); cursor: pointer; font-size: 13px; padding: 0; width: 22px; height: 22px; border-radius: 6px; } .list li button:hover { background: #e9e6df; color: var(--ink); }
.bar { grid-column: 1; grid-row: 2; display: flex; align-items: center; gap: 8px; padding: 12px 16px 14px; flex-wrap: wrap; border-top: 1px solid var(--line); }
.bar .sp { flex: 1; }
.find { display: flex; gap: 6px; } .find input { width: 190px; border: 1px solid #d9d5cc; border-radius: 99px; padding: 9px 14px; font: 500 14px var(--kr); background: #fff; outline: none; } .find input:focus { border-color: #8a857c; }
.chips { display: flex; gap: 5px; flex-wrap: wrap; } .chip { border: 0; border-radius: 99px; padding: 7px 11px; font: 600 13px var(--kr); background: #f1efea; cursor: pointer; white-space: nowrap; } .chip:hover { background: #e6e2da; } .chip.on { background: var(--c); color: #fff; }
.pill { border: 0; border-radius: 99px; padding: 9px 15px; font: 700 14px var(--kr); background: #f1efea; color: var(--ink); cursor: pointer; transition: background .15s, transform .1s; white-space: nowrap; } .pill:hover { background: #e6e2da; } .pill:active { transform: scale(.97); }
.pill.hot { background: var(--ink); color: #fff; } .pill.hot:hover { background: #33333a; } .pill.ghost { background: none; box-shadow: inset 0 0 0 1px #d9d5cc; } .pill:disabled { opacity: .35; cursor: default; }
@media (max-width: 900px) {
  .top, .intro, .how, .foot { padding-left: 16px; padding-right: 16px; } h1 .q { font-size: 28px; } 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; }
  .map { grid-row: 1; min-height: 0; height: 56vh; max-height: 520px; } .hint { left: 10px; top: 10px; right: 56px; font-size: 11.5px; white-space: normal; } .zoom { right: 10px; top: 10px; }
  .bar { grid-row: 2; padding: 10px 10px 12px; gap: 6px; } .bar .sp { display: none; } .find { width: 100%; } .find input { flex: 1; width: auto; min-width: 0; } .pill { padding: 8px 12px; font-size: 13px; } .chip { padding: 6px 10px; font-size: 12.5px; }
  .card { grid-column: 1; grid-row: 3; border-left: 0; border-top: 1px solid var(--line); padding: 18px 16px; }
  .nm b { font-size: 25px; } .big span { font-size: 34px; } .list li { grid-template-columns: 10px 84px 1fr 60px 22px; }
  .how { grid-template-columns: 1fr; gap: 18px; padding-top: 28px; }
}
/* film: the stage fills the frame */
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 .map { min-height: 0; }
.film .find { display: none; }
.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 - 112px); grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto auto; }
.tall .map { grid-row: 1; height: auto; max-height: none; } .tall .bar { grid-row: 2; grid-column: 1; padding: 8px 10px 10px; gap: 6px; } .tall .bar .sp { display: none; } .tall .pill { padding: 8px 12px; font-size: 13px; } .tall .chip { padding: 6px 10px; font-size: 12.5px; }
.tall .card { grid-column: 1; grid-row: 3; border-left: 0; border-top: 1px solid var(--line); padding: 14px 16px; } .tall .list { display: none; } .tall .nm b { font-size: 23px; } .tall .big { margin-top: 8px; } .tall .big span { font-size: 30px; } .tall .now, .tall .app { margin-top: 7px; font-size: 13px; } .tall .sim { display: none; } .tall .hint { font-size: 11px; left: 10px; top: 10px; right: auto; }
.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: #111; 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; }
