/* 탭탭! 스카이라인 홈페이지 — 시안 A '노선도'(2026-11-27 사용자 선택). 게임과 같은 종이·먹·도시 강조색 하나.
   각진 선과 완전한 원만, 그림자·둥근 상자·그러데이션 없음. 다크 모드에서도 종이·먹 그대로(게임의 낮 화면과 같은 첫인상) */
:root { --paper: #F1EEE4; --sky: #EEEADF; --ink: #1F2329; --mut: #77746B; --body: #3B3F46; --line: #D9D4C5; --ac: #D8432F; --night: #1F2227;
  --f: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Noto Sans KR", "Hiragino Sans", "Noto Sans JP", system-ui, sans-serif;
  --fn: Outfit, "Pretendard Variable", -apple-system, "Apple SD Gothic Neo", "Hiragino Sans", system-ui, sans-serif;
  color-scheme: light; }
* { box-sizing: border-box; }
html { background: var(--paper); scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 500 16px/1.6 var(--f); word-break: keep-all; overflow-wrap: anywhere; -webkit-font-smoothing: antialiased; }
body[data-lang="en"] { word-break: normal; overflow-wrap: break-word; }
body[data-lang="ja"] { word-break: normal; line-break: strict; overflow-wrap: anywhere; }
a { color: inherit; }
img { max-width: 100%; }
figure { margin: 0; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.k { font: 700 11px/1 var(--fn); letter-spacing: 0.16em; text-transform: uppercase; }
.k em { font-style: normal; color: var(--ac); }
.num { font-family: var(--fn); font-feature-settings: "tnum"; }

/* 맨 위 */
.top { position: sticky; top: 0; z-index: 5; background: var(--paper); border-bottom: 2px solid var(--ink); }
.top .wrap { display: flex; align-items: center; gap: 18px; height: 58px; }
.brand { font: 800 13px/1 var(--fn); letter-spacing: 0.18em; text-decoration: none; white-space: nowrap; }
.nav { display: flex; gap: 20px; margin-left: auto; font-size: 14px; font-weight: 700; }
.nav a { text-decoration: none; }
.lang { display: flex; border: 2px solid var(--ink); font: 700 12px/1 var(--fn); }
.lang a { padding: 6px 8px; text-decoration: none; }
.lang a.on { background: var(--ink); color: var(--paper); }
.playtop { background: var(--ink); color: var(--paper); text-decoration: none; font-weight: 800; font-size: 14px; padding: 9px 14px; white-space: nowrap; }
@media (max-width: 760px) { .nav { display: none; } .lang { margin-left: auto; } .playtop { display: none; } }

/* 첫 화면 */
.hero { padding: 56px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(36px, 6vw, 64px); line-height: 1.12; letter-spacing: -0.02em; font-weight: 800; margin: 18px 0 18px; }
body[data-lang="en"] .hero h1 { letter-spacing: -0.03em; }
body[data-lang="ja"] .hero h1 { font-size: clamp(28px, 7.4vw, 50px); } /* 「ランドマークを建てよう」가 한 줄에(「う」만 떨어지지 않게) */
.hero h1 b { color: var(--ac); font-weight: 800; }
.lead { font-size: 18px; color: var(--body); max-width: 30em; margin: 0 0 28px; }
.cta { display: grid; gap: 12px; max-width: 460px; }
.go { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--ink); color: var(--paper); text-decoration: none; padding: 18px 20px; font-size: 19px; font-weight: 800; }
.go small { display: block; font-size: 13px; font-weight: 600; opacity: 0.75; margin-top: 2px; }
.go svg { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 2.2; flex: none; }
.stores { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.store { border: 2px solid var(--ink); padding: 12px 14px; text-decoration: none; display: flex; align-items: center; gap: 10px; }
.store[aria-disabled="true"] { cursor: default; }
.store .dev { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; }
.store b { display: block; font-size: 15px; line-height: 1.2; }
.store small { display: block; font-size: 12px; color: var(--mut); font-weight: 700; white-space: nowrap; }
.store.live small { color: var(--ac); }
.free { font-size: 13px; color: var(--mut); margin: 4px 0 0; }
.shot { justify-self: center; width: min(330px, 100%); }
.phone { border: 6px solid var(--ink); background: var(--ink); }
.phone img { display: block; width: 100%; height: auto; }
.shot figcaption { font-size: 13px; color: var(--mut); text-align: center; margin-top: 10px; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; gap: 36px; } .hero { padding-top: 32px; } }
@media (max-width: 420px) { .store { padding: 11px 10px; gap: 8px; } .store .dev { display: none; } .store small { font-size: 11px; } }

/* 오늘의 도시 띠 */
.today { border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.today .wrap { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 28px; padding-top: 18px; padding-bottom: 18px; }
.today .city { font-size: 24px; font-weight: 800; }
.today .stat { font-size: 14px; color: var(--mut); font-weight: 700; }
.today .stat b { color: var(--ink); font: 800 20px/1 var(--fn); margin-left: 6px; }

/* 섹션 */
.section { padding: 72px 0 0; }
.sh { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; }
.sh i { width: 18px; height: 18px; border: 4px solid var(--ink); border-radius: 50%; flex: none; }
.sh h2 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.2; margin: 0; letter-spacing: -0.01em; }
.sh .k { margin-left: auto; color: var(--mut); }
@media (max-width: 760px) { .sh .k { display: none; } }

/* 15개 도시 노선 */
.metro { overflow-x: auto; padding-bottom: 8px; -webkit-overflow-scrolling: touch; }
.line { position: relative; display: grid; grid-template-columns: repeat(15, minmax(72px, 1fr)); min-width: 1080px; padding-top: 6px; }
body[data-lang="ja"] .line { grid-template-columns: repeat(15, minmax(86px, 1fr)); min-width: 1290px; } /* 가타카나 도시 이름은 줄을 나누지 않는다(넘치면 옆으로 넘기기) */
.line::before { content: ""; position: absolute; left: 36px; right: 36px; top: 16px; height: 6px; background: var(--ink); }
.st { position: relative; text-align: center; padding: 0 2px; }
.st i { display: block; width: 26px; height: 26px; margin: 0 auto 10px; border: 5px solid var(--ink); border-radius: 50%; background: var(--paper); }
.st.img i { background: var(--c); border-color: var(--c); }
.st b { display: block; font-size: 14px; }
body[data-lang="ja"] .st b { white-space: nowrap; }
.st small { display: block; font-size: 11px; color: var(--mut); line-height: 1.35; margin-top: 2px; }
.isles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.isle { background: var(--sky); border-top: 6px solid var(--c); }
.isle.night { background: var(--night); color: var(--paper); }
.isle img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.isle figcaption { padding: 14px 16px 18px; }
.isle b { font-size: 18px; }
.isle small { display: block; font-size: 13px; opacity: 0.7; }
@media (max-width: 760px) { .isles { grid-template-columns: 1fr; } }

/* 하는 법 */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--ink); }
.step { padding: 24px 22px 8px 0; }
.step + .step { padding-left: 22px; border-left: 2px solid var(--line); }
.step .no { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--paper); font: 800 16px/34px var(--fn); text-align: center; }
.step h3 { font-size: 20px; margin: 14px 0 6px; }
.step p { margin: 0; color: var(--body); font-size: 15px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } .step + .step { padding-left: 0; border-left: 0; border-top: 2px solid var(--line); } }

/* 두 가지 놀이 */
.modes { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.mode { border: 2px solid var(--ink); padding: 26px; display: grid; grid-template-columns: 1fr 120px; gap: 18px; align-items: start; }
.mode h3 { font-size: 24px; margin: 10px 0 8px; }
.mode p { margin: 0 0 14px; font-size: 15px; color: var(--body); }
.mode ul { margin: 0; padding: 0; list-style: none; font-size: 14px; font-weight: 700; }
.mode li { padding: 6px 0; border-top: 1px solid var(--line); }
.mode img { width: 120px; height: auto; border: 4px solid var(--ink); display: block; }
.mode.dark { background: var(--ink); color: var(--paper); }
.mode.dark p { color: #C9C5BA; } .mode.dark li { border-color: #3A3F47; } .mode.dark img { border-color: var(--paper); }
@media (max-width: 860px) { .modes { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .mode { grid-template-columns: 1fr; } .mode img { width: 150px; } }

/* 그 도시의 지금 */
.nowtext { max-width: 34em; color: var(--body); margin: -8px 0 26px; }
.now { display: grid; grid-template-columns: 1fr 1fr; border: 2px solid var(--ink); }
.now figure:first-child { background: var(--sky); border-right: 2px solid var(--ink); }
.now figure:last-child { background: var(--night); color: var(--paper); }
.now img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.now figcaption { padding: 12px 16px; font: 700 13px/1.3 var(--fn); letter-spacing: 0.08em; }
@media (max-width: 600px) { .now { grid-template-columns: 1fr; } .now figure:first-child { border-right: 0; border-bottom: 2px solid var(--ink); } }
.reel { margin-top: 28px; border-left: 6px solid var(--ac); padding: 4px 0 4px 16px; }
.reel h3 { margin: 0 0 4px; font-size: 20px; }
.reel p { margin: 0; color: var(--body); }

/* 마지막 부름 */
.final { background: var(--ink); color: var(--paper); padding: 64px 0; margin-top: 72px; }
.final .wrap { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; }
.final .k { color: #B9B5AA; }
.final h2 { font-size: clamp(28px, 4vw, 44px); line-height: 1.15; margin: 10px 0 0; }
.final .cta { min-width: min(380px, 100%); }
.final .go { background: var(--ac); }
.final .store { border-color: var(--paper); } .final .store small { color: #B9B5AA; } .final .store.live small { color: #F1EEE4; }
@media (max-width: 760px) { .final .wrap { grid-template-columns: 1fr; } }
footer { padding: 28px 0 40px; font-size: 13px; color: var(--mut); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer a { text-decoration: none; font-weight: 700; color: var(--ink); }
