/* 젤리 서울 러너 — 영화 · 잡지 같은 편집 디자인. 둥근 상자 · 카드 · 알약 단추 없이: 꽉 찬 장면, 큰 세리프, 얇은 가로줄, 각진 단추 */
:root {
  --bg: #07090f; --fg: #f3eee6; --mute: rgba(243, 238, 230, .64); --dim: rgba(243, 238, 230, .4); --line: rgba(243, 238, 230, .16); --gold: #e7c18b;
  --ko: 'Gowun Batang', serif; --en: 'Gowun Batang', serif; --mono: 'Gowun Dodum', sans-serif; --sans: 'Gowun Dodum', system-ui, sans-serif;
  --pad: clamp(20px, 5vw, 72px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
h1, h2, h3, p, li, td { word-break: keep-all; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--sans); font-weight: 300; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
.hidden { display: none !important; }
.lab { margin: 0; font-family: var(--sans); font-size: 14px; letter-spacing: .04em; color: var(--gold); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 32px; border-radius: 999px; background: linear-gradient(110deg, #ffd9c7 0%, #f6cfe0 50%, #dcd3ff 100%); color: #1c2133; font-family: var(--sans); font-weight: 500; font-size: 15px; letter-spacing: .04em; box-shadow: 0 10px 30px rgba(246, 207, 224, .25); transition: filter .25s, transform .25s, box-shadow .25s; }
.btn::after { content: '→'; transition: transform .25s; } .btn:hover { filter: brightness(1.05) saturate(1.1); box-shadow: 0 14px 38px rgba(220, 211, 255, .4); } .btn:hover::after { transform: translateX(4px); }
.btn.disabled { opacity: .3; pointer-events: none; }
.link { font-size: 14px; color: var(--mute); border-bottom: 1px solid var(--line); padding-bottom: 3px; transition: color .2s, border-color .2s; } .link:hover { color: var(--fg); border-color: var(--fg); }

/* 불러오기 */
.loader { position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; background: var(--bg); transition: opacity 1.2s ease, visibility 1.2s; }
.loader.done { opacity: 0; visibility: hidden; }
.ld-t { font-family: var(--ko); font-weight: 700; font-size: 26px; letter-spacing: .06em; }
.ld-bar { width: 180px; height: 1px; background: var(--line); overflow: hidden; } .ld-bar i { display: block; height: 100%; width: 0; background: var(--gold); transition: width .4s; }
.ld-s { font-family: var(--mono); font-size: 11px; letter-spacing: .2em; color: var(--dim); }

/* 위 막대 */
.bar { position: fixed; z-index: 20; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; padding: 24px var(--pad); mix-blend-mode: normal; pointer-events: none; }
.bar > * { pointer-events: auto; }
.mark { font-family: var(--ko); font-weight: 700; font-size: 17px; letter-spacing: .04em; }
.bar nav { display: flex; gap: clamp(16px, 2.6vw, 36px); font-size: 13px; color: var(--mute); } .bar nav a:hover { color: var(--fg); } .bar nav .go { color: var(--fg); }

/* ---------- 장면 (첫 화면부터 실시간 3D) ---------- */
.film { position: relative; height: calc(var(--n, 6) * 120vh + 140vh); }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: #05070c; }
.frames, .frames .f { position: absolute; inset: 0; }
.frames .f { background-size: cover; background-position: center; opacity: 0; will-change: transform, opacity; transform-origin: 60% 45%; }
#gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; }
.shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(5, 7, 12, .78) 0%, rgba(5, 7, 12, .28) 34%, rgba(5, 7, 12, 0) 50%, rgba(5, 7, 12, .5) 66%, rgba(5, 7, 12, .86) 100%), linear-gradient(180deg, rgba(5, 7, 12, .55) 0%, rgba(5, 7, 12, 0) 18%, rgba(5, 7, 12, 0) 72%, rgba(5, 7, 12, .7) 100%); }

/* 첫 화면 겹침: 왼쪽 제목 · 오른쪽 출발 */
.intro { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 1fr) min(380px, 34vw); gap: 40px; padding: calc(88px + 4vh) var(--pad) 70px; will-change: opacity, transform; }
.title { align-self: end; }
.title h1 { margin: 18px 0 0; font-family: var(--ko); font-weight: 700; font-size: clamp(50px, 8.4vw, 124px); line-height: 1.08; letter-spacing: -.01em; text-shadow: 0 10px 50px rgba(0, 0, 0, .4); }
.title .lead { margin: 26px 0 0; font-size: clamp(15px, 1.5vw, 19px); line-height: 1.8; color: rgba(243, 238, 230, .86); }
.title .meta { margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 6px 26px; font-size: 14px; letter-spacing: .02em; color: rgba(243, 238, 230, .7); }
.title .meta span:first-child { color: #ffd3e4; }
.start { align-self: start; display: flex; flex-direction: column; gap: 14px; }
.start .lab span { color: var(--dim); margin-left: 6px; letter-spacing: .1em; }
.resume { display: flex; flex-direction: column; gap: 3px; padding: 12px 0; border-top: 1px solid var(--gold); border-bottom: 1px solid var(--line); } .resume span { font-weight: 500; color: var(--gold); } .resume small { font-size: 12px; color: var(--mute); }
.resume span::after { content: '  →'; }
.hoods { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; column-gap: 22px; border-top: 1px solid var(--line); }
.hoods a { display: flex; align-items: baseline; gap: 10px; padding: 10px 0 9px; border-bottom: 1px solid var(--line); font-size: 14.5px; transition: color .2s, padding .25s; }
.hoods a i { font-style: normal; font-family: var(--mono); font-size: 10px; color: var(--dim); min-width: 18px; }
.hoods a em { margin-left: auto; font-style: normal; font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em; color: var(--gold); }
.hoods a:hover { color: var(--gold); padding-left: 6px; }
.start .acts { display: flex; flex-direction: column; align-items: stretch; gap: 14px; margin-top: 6px; } .start .acts .link { align-self: flex-start; }
.acct { display: flex; flex-direction: column; gap: 8px; font-size: 12px; color: var(--dim); } #g-btn { min-height: 0; }

/* 장 이야기 */
.chaps { position: absolute; inset: 0; pointer-events: none; }
.chap { position: absolute; left: var(--pad); bottom: clamp(80px, 14vh, 150px); max-width: min(620px, 86vw); opacity: 0; will-change: transform, opacity; }
.chap .lab b { color: #ffd3e4; font-weight: 400; margin-right: 12px; } .chap .lab span { color: rgba(243, 238, 230, .8); }
.chap h3 { margin: 16px 0 0; font-family: var(--ko); font-weight: 700; font-size: clamp(46px, 7.4vw, 112px); line-height: 1.04; letter-spacing: -.02em; text-shadow: 0 10px 50px rgba(0, 0, 0, .45); }
.chap p { margin: 22px 0 0; max-width: 480px; font-size: clamp(15px, 1.5vw, 18px); line-height: 1.85; color: rgba(243, 238, 230, .88); text-shadow: 0 2px 16px rgba(0, 0, 0, .6); }
.chap .co { margin-top: 16px; font-family: var(--mono); font-size: 11px; letter-spacing: .16em; color: var(--dim); }
.end { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px; text-align: center; opacity: 0; pointer-events: none; color: #1c2133;
  background: radial-gradient(42vw 34vw at 14% 18%, rgba(255, 196, 170, .6), transparent 70%), radial-gradient(40vw 32vw at 86% 26%, rgba(199, 184, 255, .55), transparent 70%), radial-gradient(46vw 36vw at 30% 82%, rgba(170, 232, 214, .45), transparent 70%), radial-gradient(44vw 34vw at 80% 78%, rgba(255, 186, 214, .5), transparent 70%), #fbf6f1; }
.end.on { pointer-events: auto; }
.end h2 { margin: 0; font-family: var(--ko); font-weight: 700; font-size: clamp(40px, 6vw, 88px); line-height: 1.12; color: #1c2133; }
.prog { position: absolute; left: var(--pad); right: var(--pad); bottom: 34px; height: 1px; background: var(--line); }
.prog i { position: absolute; left: 0; top: 0; height: 1px; width: 0; background: var(--gold); }
.prog span { position: absolute; right: 0; top: 10px; font-size: 12px; letter-spacing: .08em; color: var(--mute); }
.cue { position: absolute; left: 50%; bottom: 52px; margin: 0; transform: translateX(-50%); font-size: 13px; letter-spacing: .06em; color: var(--mute); animation: cue 2.4s ease-in-out infinite; }
@keyframes cue { 50% { transform: translate(-50%, 6px); } }

/* ---------- 만든 이야기 (두 단 편집) ---------- */
main section { content-visibility: auto; contain-intrinsic-size: 1px 1200px; }
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.1fr); gap: clamp(30px, 6vw, 110px); padding: clamp(100px, 14vw, 180px) var(--pad); border-top: 1px solid var(--line); }
.story .side { position: sticky; top: 110px; align-self: start; }
.story h2 { margin: 18px 0 0; font-family: var(--ko); font-weight: 700; font-size: clamp(34px, 4.4vw, 60px); line-height: 1.15; }
.why { display: grid; gap: 22px; padding-bottom: 60px; border-bottom: 1px solid var(--line); }
.why p { margin: 0; font-size: clamp(16px, 1.6vw, 20px); line-height: 1.85; color: var(--mute); } .why b { color: var(--fg); font-weight: 500; }
.story h3 { margin: 70px 0 26px; font-family: var(--ko); font-weight: 700; font-size: clamp(22px, 2.4vw, 30px); }
.api { width: 100%; border-collapse: collapse; }
.api tr { border-top: 1px solid var(--line); } .api tr:last-child { border-bottom: 1px solid var(--line); }
.api th, .api td { padding: 18px 16px 18px 0; text-align: left; vertical-align: top; font-weight: 300; font-size: 14px; line-height: 1.7; }
.api th { width: 20%; font-size: 13px; color: var(--gold); padding-top: 19px; }
.api td:nth-child(2) { width: 32%; } .api td:nth-child(2) b { display: block; font-weight: 500; color: var(--fg); } .api code { font-family: var(--mono); font-size: 12px; color: var(--dim); }
.api td:last-child { color: var(--mute); } .api em { font-style: normal; font-size: 12px; color: var(--gold); margin-left: 6px; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: st; display: grid; grid-template-columns: 1fr 1fr; column-gap: 46px; }
.steps li { counter-increment: st; padding: 24px 0 26px; border-top: 1px solid var(--line); font-size: 14.5px; line-height: 1.85; color: var(--mute); }
.steps li::before { content: counter(st, decimal-leading-zero); display: block; margin-bottom: 10px; font-family: var(--ko); font-weight: 700; font-size: 26px; line-height: 1; color: var(--gold); }
.steps li b { display: block; margin-bottom: 6px; color: var(--fg); font-weight: 500; font-size: 16px; }

/* 숫자 줄 */
.facts { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts div { padding: clamp(40px, 6vw, 80px) var(--pad); display: flex; flex-direction: column; gap: 14px; } .facts div + div { border-left: 1px solid var(--line); }
.facts b { font-family: var(--ko); font-weight: 700; font-size: clamp(40px, 4.6vw, 76px); line-height: 1; color: var(--fg); } .facts span { font-size: 13px; line-height: 1.6; color: var(--mute); }

/* 마지막 */
.last { padding: clamp(110px, 16vw, 220px) var(--pad); text-align: center; }
.last h2 { margin: 0 0 44px; font-family: var(--ko); font-weight: 700; font-size: clamp(38px, 6vw, 84px); line-height: 1.1; }
.last .acts { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; padding: 30px var(--pad) 40px; border-top: 1px solid var(--line); font-size: 11.5px; color: var(--dim); } .foot span:first-child { font-family: var(--ko); font-weight: 700; color: var(--mute); }

/* 서울 지도 (화면 가득) */
.mapbox { position: fixed; inset: 0; z-index: 50; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, 1fr); align-items: center; gap: 40px; padding: 90px var(--pad) 40px; background: var(--bg); }
#seoul { width: 100%; max-height: calc(100vh - 140px); object-fit: contain; cursor: crosshair; }
.map-ui { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; } .map-ui h3 { margin: 6px 0 0; font-family: var(--ko); font-weight: 800; font-size: clamp(30px, 3.6vw, 48px); } .map-ui p { margin: 0; color: var(--mute); line-height: 1.7; font-size: 14.5px; }

@media (max-width: 900px) {
  .bar nav a:not(.go):not(.home) { display: none; } .bar nav .home span { display: none; }
  .intro { grid-template-columns: 1fr; gap: 26px; padding-top: 86px; overflow-y: auto; align-content: start; }
  .title { align-self: start; } .title .meta span:nth-child(3) { display: none; }
  .start { padding-bottom: 60px; }
  .story, .mapbox { grid-template-columns: 1fr; } .story .side { position: static; }
  .steps { grid-template-columns: 1fr; } .facts { grid-template-columns: 1fr 1fr; } .facts div:nth-child(2n + 1) { border-left: 0; } .facts div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .api th { display: block; width: auto; padding: 16px 0 0; } .api td { display: block; width: auto !important; padding: 4px 0; } .api td:last-child { padding-bottom: 16px; }
  .chap { bottom: 70px; }
}
@media (prefers-reduced-motion: reduce) { .cue { animation: none; } }
@media (max-width: 900px) { .cue { display: none; } }

/* ---------- 아래: 파스텔 빛 번짐 (밝은 바탕 · 짙은 남색 글자) ---------- */
main, .foot { --fg: #1c2133; --mute: rgba(28, 33, 51, .66); --dim: rgba(28, 33, 51, .42); --line: rgba(28, 33, 51, .14); --gold: #b9783e; color: var(--fg); }
main { position: relative; background:
  radial-gradient(42vw 34vw at 12% 8%, rgba(255, 196, 170, .55), transparent 70%),
  radial-gradient(40vw 32vw at 88% 22%, rgba(199, 184, 255, .5), transparent 70%),
  radial-gradient(46vw 36vw at 30% 52%, rgba(170, 232, 214, .42), transparent 70%),
  radial-gradient(44vw 34vw at 82% 70%, rgba(255, 186, 214, .48), transparent 70%),
  radial-gradient(48vw 36vw at 20% 92%, rgba(255, 226, 168, .5), transparent 70%),
  #fbf6f1; }
/* 장면(어둠)에서 아래(빛)로 부드럽게 */
/* (장면 → 아래 사이의 어두운 그라데이션은 없앴다: 바로 파스텔) */
main .story { border-top: 0; position: relative; }

.foot { background: #f6efe8; }

/* 장면을 지나 밝은 아래로 오면 위 막대 글자도 짙게 */
.bar { transition: color .4s, background .4s; }
body.light .bar { color: #1c2133; background: linear-gradient(180deg, rgba(251, 246, 241, .92), rgba(251, 246, 241, 0)); }
body.light .bar nav { color: rgba(28, 33, 51, .62); } body.light .bar nav a:hover, body.light .bar nav .go { color: #1c2133; }

/* 첫 화면 오른쪽 출발: 배경 판 없이 장면 위에 바로 — 흰 글자 · 은은한 그림자 · 얇은 빛줄 · 분홍빛 강조 */
.start { padding: 0; color: #fff; text-shadow: 0 2px 14px rgba(10, 6, 24, .7); }
.start .lab { color: #ffd3e4; font-size: 15px; }
.start .lab span { color: rgba(255, 255, 255, .6); font-size: 12px; }
.start .hoods { border: 0; grid-template-columns: 1fr 1fr; column-gap: 26px; }
.start .hoods a { position: relative; gap: 10px; align-items: center; padding: 11px 2px 10px; border: 0; color: #fff; font-size: 15.5px; transition: color .2s, transform .2s, text-shadow .2s; }
.start .hoods a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, rgba(255, 211, 228, .5), rgba(185, 166, 255, .18) 70%, transparent); }
.start .hoods a i { min-width: 0; font-size: 17px; font-style: normal; color: inherit; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .4)); }
.start .hoods a span { white-space: nowrap; }
.start .hoods a em { margin-left: auto; font-style: normal; font-size: 12px; color: #ffd3e4; }
.start .hoods a:hover { padding-left: 2px; color: #ffd3e4; transform: translateX(5px); text-shadow: 0 0 18px rgba(245, 156, 194, .85), 0 2px 14px rgba(10, 6, 24, .7); }
.start .hoods a:hover::after { background: linear-gradient(90deg, #f59cc2, #b9a6ff 70%, transparent); }
.start .resume { padding: 10px 2px; border: 0; border-bottom: 1px solid rgba(255, 211, 228, .55); } .start .resume span { color: #ffd3e4; } .start .resume small { color: rgba(255, 255, 255, .72); }
.start .btn { height: 54px; margin-top: 8px; border-radius: 999px; background: linear-gradient(110deg, #ffb89e 0%, #f59cc2 52%, #b9a6ff 100%); color: #261832; font-size: 17px; text-shadow: none; box-shadow: 0 10px 34px rgba(245, 156, 194, .5), inset 0 1px 0 rgba(255, 255, 255, .5); }
.start .btn:hover { filter: brightness(1.06); transform: translateY(-1px); }
.start .link { align-self: flex-start; color: rgba(255, 255, 255, .88); border-bottom-color: rgba(255, 255, 255, .35); } .start .link:hover { color: #fff; border-color: #fff; }
.start .acct { color: rgba(255, 255, 255, .65); }
/* 불러오기: 파스텔 빛 번짐 바탕 · 도는 파스텔 고리 */
.loader { color: #1c2133; background: radial-gradient(42vw 34vw at 18% 20%, rgba(255, 196, 170, .7), transparent 70%), radial-gradient(40vw 32vw at 84% 26%, rgba(199, 184, 255, .65), transparent 70%), radial-gradient(46vw 36vw at 28% 84%, rgba(170, 232, 214, .55), transparent 70%), radial-gradient(44vw 34vw at 82% 80%, rgba(255, 186, 214, .6), transparent 70%), #fbf6f1; }
.loader .ld-t { color: #1c2133; } .loader .ld-s { color: rgba(28, 33, 51, .55); } .loader .ld-bar { background: rgba(28, 33, 51, .12); } .loader .ld-bar i { background: linear-gradient(90deg, #ffb89e, #f59cc2, #b9a6ff); }
.spin { width: 54px; height: 54px; border-radius: 50%; background: conic-gradient(from 0deg, rgba(255, 184, 158, 0), #ffb89e 30%, #f59cc2 60%, #b9a6ff 95%); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px)); mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px)); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* 불러오기 표시: 서울 스카이라인(63빌딩 · 남산과 N서울타워 · 롯데월드타워 · 한강 다리)이 그려졌다 지워지고, 해가 남산 위를 돈다 */
.skyline { width: 220px; height: 84px; overflow: visible; }
.skyline .line { fill: none; stroke: url(#skg); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: sky-draw 2.6s cubic-bezier(.6, 0, .3, 1) infinite; }
@keyframes sky-draw { 0% { stroke-dashoffset: 1; } 55% { stroke-dashoffset: 0; } 75% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.skyline .sun { fill: #ffb89e; offset-path: path('M70 60 A 42 42 0 0 1 154 60'); offset-rotate: 0deg; animation: sky-sun 2.6s ease-in-out infinite alternate; }
@keyframes sky-sun { from { offset-distance: 0%; fill: #ffb89e; } to { offset-distance: 100%; fill: #b9a6ff; } }
@media (prefers-reduced-motion: reduce) { .skyline .line { animation: none; stroke-dashoffset: 0; } .skyline .sun { animation: none; } }
.api code { font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size: 11.5px; letter-spacing: 0; }

/* ===== 밤하늘로 (파스텔 취소): 아래 섹션 · 마지막 장 · 불러오기 ===== */
main, .foot { --fg: #f3eee6; --mute: rgba(243, 238, 230, .66); --dim: rgba(243, 238, 230, .42); --line: rgba(243, 238, 230, .14); --gold: #f2cf8a; color: var(--fg); }
main { background:
  radial-gradient(1.2px 1.2px at 12% 18%, rgba(255, 255, 255, .8), transparent 60%), radial-gradient(1px 1px at 38% 42%, rgba(255, 255, 255, .6), transparent 60%), radial-gradient(1.4px 1.4px at 72% 12%, rgba(255, 236, 190, .85), transparent 60%), radial-gradient(1px 1px at 88% 58%, rgba(255, 255, 255, .55), transparent 60%), radial-gradient(1.2px 1.2px at 22% 76%, rgba(255, 255, 255, .6), transparent 60%), radial-gradient(1px 1px at 60% 88%, rgba(255, 236, 190, .6), transparent 60%),
  linear-gradient(180deg, #0a1024 0%, #0e1533 30%, #10173a 55%, #0c1230 80%, #080b1c 100%);
  background-size: 520px 520px, 610px 610px, 470px 470px, 690px 690px, 560px 560px, 640px 640px, 100% 100%; }
.foot { background: #070a18; }
.end { color: var(--fg); background: radial-gradient(1.2px 1.2px at 12% 18%, rgba(255, 255, 255, .8), transparent 60%), radial-gradient(1px 1px at 38% 42%, rgba(255, 255, 255, .6), transparent 60%), radial-gradient(1.4px 1.4px at 72% 12%, rgba(255, 236, 190, .85), transparent 60%), radial-gradient(1px 1px at 88% 58%, rgba(255, 255, 255, .55), transparent 60%), linear-gradient(180deg, rgba(10, 16, 36, .62) 0%, rgba(10, 16, 36, .92) 40%, #0a1024 72%, #0a1024 100%); background-size: 520px 520px, 610px 610px, 470px 470px, 690px 690px, 100% 100%; } /* 아래 섹션이 시작하는 남색으로 끝난다 (밤하늘이 그대로 이어지게) */
.end h2 { color: #f3eee6; }
body.light .bar { color: #f3eee6; background: linear-gradient(180deg, rgba(7, 10, 24, .9), rgba(7, 10, 24, 0)); } body.light .bar nav { color: rgba(243, 238, 230, .64); } body.light .bar nav a:hover, body.light .bar nav .go { color: #f3eee6; }
.loader { color: #f3eee6; background: radial-gradient(1.2px 1.2px at 15% 25%, rgba(255, 255, 255, .8), transparent 60%), radial-gradient(1px 1px at 65% 15%, rgba(255, 255, 255, .6), transparent 60%), radial-gradient(1.3px 1.3px at 40% 70%, rgba(255, 236, 190, .7), transparent 60%), radial-gradient(1px 1px at 85% 55%, rgba(255, 255, 255, .55), transparent 60%), radial-gradient(ellipse at 50% 110%, rgba(80, 60, 140, .4), transparent 60%), linear-gradient(180deg, #05070c, #0d1434 70%, #111a40);
  background-size: 300px 300px, 360px 360px, 420px 420px, 480px 480px, 100% 100%, 100% 100%; }
.loader .ld-t { color: #f3eee6; } .loader .ld-s { color: rgba(243, 238, 230, .55); } .loader .ld-bar { background: rgba(243, 238, 230, .12); } .loader .ld-bar i { background: #ffd98a; box-shadow: 0 0 8px #ffd98a; }
/* 별자리 스카이라인: 노란 선이 이어 그려지고, 꼭짓점 별이 반짝인다 */
.skyline .line { stroke: #ffd98a; stroke-width: 1.4; filter: drop-shadow(0 0 3px rgba(255, 217, 138, .9)); }
.skyline .sun { display: none; }
.skyline .st { fill: #fff3c8; filter: drop-shadow(0 0 4px #ffd98a); animation: twinkle 1.8s ease-in-out infinite; }
.skyline .st:nth-child(3n) { animation-delay: .4s; } .skyline .st:nth-child(3n + 1) { animation-delay: .9s; } .skyline .st:nth-child(4n) { animation-delay: 1.3s; }
@keyframes twinkle { 0%, 100% { opacity: .35; transform: scale(.7); } 50% { opacity: 1; transform: scale(1.15); } }
.skyline .st { transform-box: fill-box; transform-origin: center; }

/* 밤하늘 위 단추(마지막 · 마지막 장): 빛나는 별빛 노랑, 빛무리가 천천히 숨 쉰다 */
.last .btn, .end .btn { background: radial-gradient(120% 160% at 30% 20%, #fff4c9 0%, #ffe08a 45%, #ffc95a 100%); color: #1d1630; box-shadow: 0 0 22px rgba(255, 214, 120, .55), 0 0 60px rgba(255, 214, 120, .22), inset 0 1px 0 rgba(255, 255, 255, .7); animation: starglow 2.8s ease-in-out infinite; }
.last .btn:hover, .end .btn:hover { filter: brightness(1.05); box-shadow: 0 0 30px rgba(255, 220, 130, .8), 0 0 80px rgba(255, 214, 120, .35), inset 0 1px 0 rgba(255, 255, 255, .7); }
@keyframes starglow { 50% { box-shadow: 0 0 30px rgba(255, 214, 120, .75), 0 0 80px rgba(255, 214, 120, .32), inset 0 1px 0 rgba(255, 255, 255, .7); } }
.last .link { color: rgba(255, 236, 190, .85); border-bottom-color: rgba(255, 236, 190, .35); }
@media (prefers-reduced-motion: reduce) { .last .btn, .end .btn { animation: none; } }

/* 지역 28곳: 첫 화면에서 스크롤 없이 모두 보이게 세 줄로 촘촘히 */
.intro { grid-template-columns: minmax(0, 1fr) min(470px, 40vw); }
.start .hoods { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 14px; }
.start .hoods a { gap: 7px; padding: 6px 2px 5px; font-size: 13.5px; }
.start .hoods a i { font-size: 14px; }
.start .hoods a span { overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 720px) { .intro { grid-template-columns: 1fr; } .start .hoods { grid-template-columns: repeat(2, minmax(0, 1fr)); } .start .hoods a { padding: 9px 2px 8px; font-size: 14.5px; } }

/* ---------- 새로 생긴 곳: 올림픽공원 ---------- */
.bar nav .op-nav { display: inline-flex; align-items: center; gap: 6px; color: var(--fg); padding: 6px 12px; margin: -6px 0; border-radius: 999px; border: 1px solid rgba(231, 193, 139, .55); background: rgba(231, 193, 139, .12); }
.bar nav .op-nav i { font-style: normal; font-size: 9.5px; letter-spacing: .12em; padding: 1px 6px; border-radius: 999px; background: var(--gold); color: #1a1408; }
.bar nav .op-nav:hover { background: rgba(231, 193, 139, .24); }
.op-cta { position: relative; display: grid; gap: 3px; padding: 14px 16px 13px 18px; border-radius: 16px; border: 1px solid rgba(231, 193, 139, .6); background: linear-gradient(120deg, rgba(231, 193, 139, .2), rgba(246, 207, 224, .12)); box-shadow: 0 12px 34px rgba(0, 0, 0, .35); transition: transform .25s, background .25s, box-shadow .25s; }
.op-cta b { font-family: var(--ko); font-size: 19px; color: var(--fg); }
.op-cta b::after { content: ' →'; color: var(--gold); transition: margin .25s; }
.op-cta small { font-size: 12.5px; line-height: 1.5; color: var(--mute); }
.op-cta:hover { transform: translateY(-2px); background: linear-gradient(120deg, rgba(231, 193, 139, .3), rgba(246, 207, 224, .18)); box-shadow: 0 18px 44px rgba(231, 193, 139, .22); }
.op-badge { justify-self: start; font-family: var(--mono); font-size: 10px; letter-spacing: .14em; padding: 2px 8px; border-radius: 999px; background: var(--gold); color: #1a1408; }
.op-cta::before { content: ''; position: absolute; right: 14px; top: 14px; width: 8px; height: 8px; border-radius: 50%; background: #ff8fb1; box-shadow: 0 0 0 0 rgba(255, 143, 177, .6); animation: opPing 2s infinite; }
@keyframes opPing { 70% { box-shadow: 0 0 0 10px rgba(255, 143, 177, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 143, 177, 0); } }
.opk { position: relative; z-index: 1; padding: clamp(80px, 12vh, 140px) var(--pad); background: linear-gradient(180deg, var(--bg), #0d1120 40%, var(--bg)); border-top: 1px solid var(--line); }
.opk-head { max-width: 760px; }
.opk-head h2 { margin: 14px 0 0; font-family: var(--ko); font-weight: 700; font-size: clamp(36px, 5vw, 66px); line-height: 1.12; }
.opk-lead { margin: 20px 0 0; font-size: 16.5px; line-height: 1.85; color: var(--mute); } .opk-lead b { color: var(--fg); font-weight: 500; }
.opk-head .acts { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 28px; }
.opk-hero { margin: 48px 0 0; } .opk-hero img { display: block; width: 100%; height: auto; border-radius: 22px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.opk-hero figcaption { margin-top: 12px; font-size: 13px; color: var(--dim); }
.opk-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.opk-grid article { display: flex; flex-direction: column; gap: 8px; padding: 20px; border-radius: 18px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); }
.opk-grid article img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; margin-bottom: 6px; }
.opk-grid .n { margin: 0; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: var(--gold); }
.opk-grid h3 { margin: 0; font-family: var(--ko); font-size: 21px; }
.opk-grid article > p:not(.n) { margin: 0; font-size: 14px; line-height: 1.75; color: var(--mute); }
.opk-grid dl { margin: auto 0 0; padding-top: 12px; display: flex; gap: 24px; } .opk-grid dl div { display: flex; flex-direction: column-reverse; } .opk-grid dt { font-size: 11.5px; color: var(--dim); } .opk-grid dd { margin: 0; font-family: var(--ko); font-size: 26px; font-weight: 700; color: var(--gold); }
.last .acts { flex-wrap: wrap; }
@media (max-width: 1100px) { .opk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .bar nav .op-nav i { display: none; } .opk-grid { grid-template-columns: 1fr; } .opk-head .acts { gap: 16px; } }
