/* 게임 사이트 — 게임 그림·실제 게임 화면이 주인공(DESIGN.md). 색 코드는 :root에만. CSS로 그림을 그리지 않는다. 하위 쪽 문서 모양은 doc.css. */
@font-face { font-family: "Surround"; src: url("fonts/surround.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "ZenMaru"; src: url("fonts/zenmaru-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "PretendardB"; src: url("fonts/pretendard-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --paper: #fbf3e4; --paper-2: #f4e4c8; --paper-3: #e4cca4; --white: #fffdf7;
  --ink: #4a2c1a; --ink-soft: #77573f;
  --sky: #d5edf6;
  --wood: #c98a4f; --wood-2: #9c6136; --wood-deep: #6f4024; --wood-dark: #5c3319;
  --water: #9be6ec; --water-2: #55c6d5; --water-deep: #2b98ad;
  --yuzu: #ffb52e; --yuzu-deep: #e98a00; --ribbon: #ef7090; --seal: #c8463a;
  --night: #1b2147; --night-2: #2b3470; --moon: #fff7ea; --moon-soft: #d2cee4;
  --shadow: rgb(74 44 26 / .16); --shadow-2: rgb(74 44 26 / .3); --night-shade: rgb(16 20 46 / .82);
  --hi: rgb(255 255 255 / .55); --hi-2: rgb(255 255 255 / .85); --glass: rgb(255 253 247 / .86);

  --font-display: "Surround", "PretendardB", "Pretendard Variable", sans-serif;
  --font-body: "Pretendard Variable", "Pretendard", -apple-system, "Apple SD Gothic Neo", sans-serif;
  --s1: 4px; --s2: 8px; --s3: 16px; --s4: 24px; --s5: 40px; --s6: 64px; --s7: 120px;
  --wrap: 1180px; --gutter: max(16px, 4vw);
  --fs-hero: clamp(54px, 8.2vw, 118px); --fs-h2: clamp(34px, 4.6vw, 58px); --fs-h3: 22px; --fs-body: 17px; --fs-small: 14px;
  --line-w: 2.5px; --drop: 0 5px 0 var(--ink); --drop-sm: 0 3px 0 var(--ink); --ctl-h: 44px; --r-sm: 12px; --r-md: 24px; --r-pill: 999px;
  --ease: cubic-bezier(.2, .8, .2, 1); --pop: cubic-bezier(.34, 1.56, .64, 1);
}
:root:lang(ja) {
  --font-display: "ZenMaru", "Hiragino Maru Gothic ProN", sans-serif;
  --font-body: "Hiragino Maru Gothic ProN", "ZenMaru", "Hiragino Sans", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 500 var(--fs-body)/1.7 var(--font-body); overflow-x: hidden; overflow-wrap: break-word; }
:lang(ko) body, body:lang(ko) { word-break: keep-all; }
:lang(ja) body { line-break: strict; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--yuzu-deep); outline-offset: 3px; border-radius: var(--r-sm); }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--s3); top: -60px; z-index: 30; padding: var(--s2) var(--s3); background: var(--yuzu); color: var(--ink); border-radius: var(--r-sm); }
.skip:focus { top: var(--s3); }
[hidden] { display: none !important; }

.eyebrow { display: inline-flex; align-items: center; gap: var(--s2); margin: 0 0 var(--s3); font: 700 var(--fs-small)/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--wood-2); }
.eyebrow::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--yuzu); box-shadow: 0 0 0 2px var(--ink); }
.h2 { margin: 0 0 var(--s4); font: 700 var(--fs-h2)/1.1 var(--font-display); letter-spacing: -.01em; text-wrap: balance; }
.body { margin: 0; max-width: 32em; color: var(--ink-soft); }
.center .body { margin-inline: auto; }

/* ── 머리줄(떠 있는 알약) ───────────────────────── */
.nav { position: fixed; z-index: 20; top: calc(12px + env(safe-area-inset-top)); left: 50%; translate: -50% 0; width: min(var(--wrap), 100% - 2 * var(--gutter)); display: flex; align-items: center; gap: var(--s4); padding: 6px 6px 6px 10px; border-radius: var(--r-pill); background: var(--glass); border: var(--line-w) solid var(--ink); box-shadow: 0 4px 0 var(--ink); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.brand { white-space: nowrap; display: flex; align-items: center; gap: var(--s2); text-decoration: none; font: 700 18px/1 var(--font-display); }
.brand img { width: 36px; height: 36px; }
.nav-links { display: flex; gap: var(--s1); margin-left: auto; }
.nav-links a { padding: 8px 14px; border-radius: var(--r-pill); text-decoration: none; font-size: 15px; font-weight: 700; color: var(--ink-soft); transition: background .2s, color .2s; }
.nav-links a:hover { background: var(--paper-2); color: var(--ink); }
.lang { display: flex; padding: 3px; border-radius: var(--r-pill); background: var(--paper-2); }
.lang button { min-width: 44px; height: 36px; border: 0; border-radius: var(--r-pill); background: none; cursor: pointer; font-size: 13px; font-weight: 800; color: var(--ink-soft); transition: background .2s, color .2s; }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.nav-cta { display: inline-flex; align-items: center; min-height: var(--ctl-h); padding: 0 18px; border-radius: var(--r-pill); background: var(--yuzu); border: var(--line-w) solid var(--ink); box-shadow: var(--drop-sm); text-decoration: none; white-space: nowrap; font: 700 15px/1 var(--font-display); transition: transform .15s; }
.nav-cta:hover { transform: translateY(-2px); }
.on-dark { color: var(--moon) !important; }
.eyebrow.on-dark::before { box-shadow: 0 0 0 2px var(--moon); }

/* ── 단추 ───────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 30px; border-radius: var(--r-pill); border: var(--line-w) solid var(--ink); box-shadow: var(--drop); cursor: pointer; text-decoration: none; font: 700 20px/1 var(--font-display); color: var(--ink); transition: transform .15s var(--ease), box-shadow .15s var(--ease); }
.btn:hover { transform: translateY(-3px); box-shadow: 0 7px 0 var(--ink); }
.btn:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--ink); }
.btn svg { width: 22px; height: 22px; fill: currentColor; }
.btn-yuzu { background: var(--yuzu); }
.btn-white { background: var(--white); }
.round { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; border: var(--line-w) solid var(--ink); background: var(--white); box-shadow: var(--drop-sm); cursor: pointer; transition: background .2s, transform .15s; }
.round:hover { background: var(--yuzu); }
.round:active { transform: translateY(3px); box-shadow: none; }
.round svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* ── 폰 틀(실제 게임 화면) ───────────────────────── */
.phone { position: relative; aspect-ratio: 540 / 1170; padding: 7px; border-radius: 34px; background: var(--ink); box-shadow: 0 0 0 2px var(--wood-dark), 0 26px 50px var(--shadow-2); }
.phone img, .phone video { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 27px; background: var(--paper-2); }
.phone-video { aspect-ratio: 9 / 16; }

/* ── 첫 화면: 게임 대표 그림 꽉 채움 ───────────────────────── */
.hero { position: relative; min-height: 100svh; display: grid; padding: 104px var(--gutter) 96px; overflow: hidden; isolation: isolate; background: var(--night); }
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; animation: zoom 18s ease-out both; }
.hero-bg::after { content: ""; position: absolute; inset: -2px 0; background: linear-gradient(180deg, transparent 60%, var(--night-shade) 100%); }
.hero-inner { display: flex; flex-direction: column; justify-content: space-between; align-items: center; gap: var(--s5); text-align: center; }
.hero-top, .hero-bottom { display: grid; justify-items: center; }
.badge { margin: 0 0 var(--s3); padding: 8px 18px; border-radius: var(--r-pill); background: var(--glass); border: var(--line-w) solid var(--ink); font-size: var(--fs-small); font-weight: 800; animation: up .8s var(--ease) both; }
.logo { position: relative; width: min(500px, 80vw, 52svh); container-type: inline-size; animation: pop .9s .1s var(--pop) both; filter: drop-shadow(0 10px 0 var(--shadow-2)); }
.logo-name { position: absolute; left: 50%; top: 69%; translate: -50% -50%; width: 66%; margin: 0; font: 700 8cqw/1.02 var(--font-display); white-space: nowrap; color: var(--ink); letter-spacing: -.01em; }
.tagline { margin: var(--s4) 0; font: 700 clamp(26px, 3.4vw, 42px)/1.2 var(--font-display); color: var(--white); -webkit-text-stroke: 7px var(--ink); paint-order: stroke fill; animation: up .8s .2s var(--ease) both; }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s3); animation: up .8s .3s var(--ease) both; }
.scroll-cue { position: absolute; bottom: 22px; left: 50%; translate: -50% 0; width: 30px; height: 48px; border-radius: var(--r-pill); border: 2px solid var(--moon); }
.scroll-cue span { position: absolute; left: 50%; top: 10px; width: 6px; height: 10px; translate: -50% 0; border-radius: var(--r-pill); background: var(--moon); animation: cue 1.8s ease-in-out infinite; }

/* ── 게임 소개 ───────────────────────── */
section { position: relative; }
.about, .videos, .gallery, .cast, .story, .rules { padding: var(--s7) 0; }
.about-grid { display: grid; grid-template-columns: minmax(240px, 360px) 1fr; gap: var(--s6); align-items: center; }
.how { display: grid; gap: var(--s4); margin: var(--s5) 0 0; padding: 0; list-style: none; }
.how li { display: grid; grid-template-columns: 72px 1fr; gap: var(--s3); align-items: center; }
.how img { width: 72px; height: 72px; object-fit: contain; }
.how h3, .vows h3, .cast-card h3 { margin: 0 0 4px; font: 700 var(--fs-h3)/1.25 var(--font-display); }
.how p, .vows p, .cast-card p { margin: 0; color: var(--ink-soft); }

/* ── 플레이 영상 ───────────────────────── */
.videos { background: var(--paper-2); }
.clips { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); margin: var(--s5) auto 0; padding: 0; list-style: none; }
.clips li { display: grid; gap: var(--s3); justify-items: center; }
.clips .phone { width: min(300px, 100%); }
.clips p, .track p { margin: 0; text-align: center; font-weight: 800; }

/* ── 게임 화면 넘겨 보기 ───────────────────────── */
.gallery-head { display: flex; justify-content: space-between; align-items: end; gap: var(--s4); }
.arrows { display: flex; gap: var(--s2); }
.track { --pad: max(var(--gutter), (100% - var(--wrap)) / 2); display: flex; gap: var(--s4); margin: var(--s5) 0 0; padding: var(--s3) var(--pad) var(--s4); scroll-padding-inline: var(--pad); list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.track::-webkit-scrollbar { display: none; }
.track > li { flex: none; width: 250px; display: grid; gap: var(--s3); align-content: start; scroll-snap-align: start; }

/* ── 가게 네 곳: 왕국 지도 그림 위 ───────────────────────── */
.shops { padding: var(--s7) 0; overflow: hidden; isolation: isolate; background: var(--night); }
.shops-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.shops::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--night-shade), transparent 45%, var(--night-shade)); }
.shop-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s4); margin: var(--s5) 0 0; padding: 0; list-style: none; }
.shop-cards li { position: relative; aspect-ratio: 3 / 4; border-radius: var(--r-md); overflow: hidden; border: var(--line-w) solid var(--ink); box-shadow: var(--drop); background: var(--paper); }
.shop-cards img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.shop-cards span { position: absolute; top: 12px; left: 12px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--yuzu); border: 2px solid var(--ink); font: 700 20px/1 var(--font-display); }
.shop-cards b { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 14px; background: linear-gradient(transparent, var(--night-shade)); color: var(--moon); font: 700 18px/1.25 var(--font-display); }

/* ── 미니게임 ───────────────────────── */
.climb { padding: var(--s7) 0; background: linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%); overflow: hidden; }
.climb-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: var(--s6); align-items: center; }
.climb-phones { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); align-items: center; }
.climb-phones .phone:nth-child(2) { scale: 1.12; z-index: 1; }

/* ── 손님·도우미 ───────────────────────── */
.cast-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); margin-top: var(--s5); }
.cast-card { display: grid; grid-template-columns: 150px 1fr; gap: var(--s4); align-items: center; padding: var(--s4); border-radius: var(--r-md); background: var(--white); border: var(--line-w) solid var(--ink); box-shadow: var(--drop); }
.cast-card img { width: 150px; height: 170px; object-fit: contain; }
.row-block { margin-top: var(--s6); }
.row-title { margin: 0 0 var(--s3); font: 700 26px/1.2 var(--font-display); }
.lineup { display: flex; justify-content: space-between; align-items: end; gap: var(--s2); margin: 0; padding: var(--s4) var(--s4) 0; list-style: none; border-radius: var(--r-md); background: var(--paper-2); border-bottom: 14px solid var(--water-2); }
.lineup li { flex: 1; display: grid; justify-items: center; gap: 4px; }
.lineup img { width: 100%; max-width: 120px; transition: transform .3s var(--pop); }
.lineup li:hover img { transform: translateY(-10px) rotate(-3deg); }
.lineup .small img { max-width: 70px; }
.lineup span { padding-bottom: var(--s2); font-weight: 800; font-size: var(--fs-small); }
.row-note { margin: var(--s3) 0 0; color: var(--ink-soft); }

/* ── 이야기 ───────────────────────── */
.story { background: var(--paper-2); }
.reel > li { width: min(380px, 78vw); }
.frame { margin: 0; border-radius: var(--r-md); overflow: hidden; background: var(--white); border: var(--line-w) solid var(--ink); box-shadow: var(--drop); }
.frame img { aspect-ratio: 1; object-fit: cover; }
.frame p { margin: 0; padding: var(--s3) var(--s4) var(--s4); text-align: left; font-weight: 600; }
.frame b { display: block; color: var(--wood-2); font-size: var(--fs-small); }
.frame b:empty { display: none; }

/* ── 약속 ───────────────────────── */
.vows { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); margin-top: var(--s5); padding: 0; list-style: none; }
.vows li { padding: var(--s4); border-radius: var(--r-md); background: var(--white); border: var(--line-w) solid var(--ink); box-shadow: var(--drop); }
.vows img { width: 64px; height: 64px; object-fit: contain; margin-bottom: var(--s3); }

/* ── 소원 램프 ───────────────────────── */
.wish { padding: var(--s7) 0; background: radial-gradient(60% 70% at 25% 40%, var(--night-2) 0%, var(--night) 70%); overflow: hidden; }
.wish-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: var(--s6); align-items: center; }
.wish-msg:empty { display: none; }
.genie { position: relative; margin: 0; display: grid; justify-items: center; }
.genie img { width: min(440px, 100%); filter: drop-shadow(0 0 40px var(--hi)); animation: float 5s ease-in-out infinite; }
.bubble { position: relative; z-index: 1; margin: 0 0 -10px; padding: 14px 22px; border-radius: var(--r-md); background: var(--white); border: var(--line-w) solid var(--ink); box-shadow: var(--drop); font: 700 19px/1.4 var(--font-display); text-align: center; }
.bubble::after { content: ""; position: absolute; left: 50%; bottom: -14px; translate: -50% 0; border: 12px solid transparent; border-top-color: var(--ink); border-bottom: 0; }
.wish-box { display: grid; gap: var(--s3); margin-top: var(--s5); padding: var(--s4); border-radius: var(--r-md); background: var(--white); border: var(--line-w) solid var(--ink); box-shadow: var(--drop); }
.kinds { display: flex; flex-wrap: wrap; gap: var(--s2); margin: 0; padding: 0; border: 0; }
.kinds label { cursor: pointer; }
.kinds input { position: absolute; opacity: 0; pointer-events: none; }
.kinds span { display: inline-flex; align-items: center; min-height: var(--ctl-h); padding: 0 18px; border-radius: var(--r-pill); border: var(--line-w) solid var(--ink); background: var(--paper); font-weight: 800; font-size: var(--fs-small); transition: background .2s; }
.kinds input:checked + span { background: var(--yuzu); box-shadow: var(--drop-sm); }
.kinds input:focus-visible + span { outline: 3px solid var(--yuzu-deep); outline-offset: 2px; }
.wish-box textarea { width: 100%; min-height: 120px; padding: 14px 16px; border-radius: var(--r-sm); border: var(--line-w) solid var(--ink); background: var(--paper); font: 600 var(--fs-body)/1.6 var(--font-body); color: var(--ink); resize: vertical; }
.wish-box textarea:focus { outline: none; background: var(--white); box-shadow: 0 0 0 3px var(--yuzu); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.wish-row { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); }
.count { color: var(--ink-soft); font-size: var(--fs-small); font-weight: 700; }
.wish-box .btn:disabled { opacity: .55; cursor: wait; transform: none; }
.wish-msg { margin: 0; min-height: 1.4em; font-weight: 800; }
.wish-msg.ok { color: var(--water-deep); }
.wish-msg.err { color: var(--seal); }
.wish-note { margin: 0; color: var(--ink-soft); font-size: 13px; }
.granted { margin-top: var(--s6); }
.granted-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--s3); margin: 0; padding: 0; list-style: none; }
.granted-list li { padding: var(--s4); border-radius: var(--r-md); background: var(--white); border: var(--line-w) solid var(--ink); box-shadow: var(--drop); }
.granted-list li b { display: block; font: 700 18px/1.4 var(--font-display); }
.granted-list li span { display: block; margin-top: 6px; color: var(--wood-2); font-weight: 800; font-size: var(--fs-small); }
.granted-list .empty { grid-column: 1 / -1; background: none; border: var(--line-w) dashed var(--moon-soft); box-shadow: none; color: var(--moon-soft); text-align: center; font-weight: 700; }

/* ── 소식 받기 ───────────────────────── */
.news { padding: var(--s7) 0; overflow: hidden; isolation: isolate; background: var(--night); text-align: center; }
.news-art { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.news::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--night-shade); }
.news .body { margin-inline: auto; }
.goals { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); max-width: 860px; margin: var(--s5) auto 0; padding: 0; list-style: none; }
.goals li { display: grid; gap: 6px; padding: var(--s4) var(--s3); border-radius: var(--r-md); background: var(--white); border: var(--line-w) solid var(--ink); box-shadow: var(--drop); }
.goals b { font: 700 34px/1 var(--font-display); color: var(--yuzu-deep); }
.goals span { font-weight: 800; }
.goals-note { margin: var(--s3) 0 0; color: var(--moon-soft); font-size: var(--fs-small); }
.socials { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s2); margin: var(--s5) 0 0; padding: 0; list-style: none; }
.socials li, .socials a { display: inline-flex; align-items: center; gap: 8px; min-height: var(--ctl-h); padding: 0 20px; border-radius: var(--r-pill); background: var(--white); border: var(--line-w) solid var(--ink); box-shadow: var(--drop-sm); text-decoration: none; font-weight: 800; }
.socials li.soon { background: var(--glass); color: var(--ink-soft); }
.socials li.soon::after { content: attr(data-soon); font-size: 12px; font-weight: 700; }
.socials li:has(a) { padding: 0; border: 0; box-shadow: none; background: none; }
.handle { margin: var(--s3) 0 0; font: 700 22px/1 var(--font-display); color: var(--yuzu); }

/* ── 영상 창 ───────────────────────── */
.player { padding: 0; border: 0; background: none; width: min(420px, 92vw); overflow: visible; }
.player:focus-visible { outline: none; }
.player::backdrop { background: var(--night-shade); }
.player video { display: block; width: 100%; border-radius: var(--r-md); border: var(--line-w) solid var(--ink); background: var(--night); }
.player .close { position: absolute; top: -20px; right: -20px; }

/* ── 바닥 ───────────────────────── */
.foot { background: var(--night); color: var(--moon); padding: var(--s5) 0 calc(var(--s5) + env(safe-area-inset-bottom)); }
.foot-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s3); align-items: center; }
.foot-links { display: flex; flex-wrap: wrap; gap: var(--s4); }
.foot-links a { font-size: var(--fs-small); font-weight: 700; text-decoration: none; }
.foot-links a:hover { color: var(--yuzu); }
.fine { margin: 0; font-size: 12.5px; color: var(--moon-soft); }

/* ── 나타나기 ───────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@keyframes up { from { opacity: 0; transform: translateY(24px); } }
@keyframes pop { from { opacity: 0; transform: scale(.9) translateY(30px); } }
@keyframes zoom { from { transform: scale(1.08); } }
@keyframes float { 50% { translate: 0 -12px; } }
@keyframes cue { 50% { translate: -50% 12px; opacity: .3; } }

@media (max-width: 900px) {
  :root { --s7: 88px; }
  .nav { gap: var(--s2); }
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; padding: 9px 14px; }
  .about-grid, .climb-grid, .wish-grid, .cast-grid { grid-template-columns: 1fr; gap: var(--s5); }
  .about-grid .phone { width: min(280px, 72vw); margin-inline: auto; order: 2; }
  .clips { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: var(--s4); width: 100%; padding: 0 var(--gutter); scrollbar-width: none; }
  .clips::-webkit-scrollbar { display: none; }
  .clips li { flex: none; width: 64vw; max-width: 280px; scroll-snap-align: center; }
  .track > li { width: 62vw; max-width: 250px; }
  .shop-cards { grid-template-columns: 1fr 1fr; gap: var(--s3); }
  .cast-card { grid-template-columns: 96px 1fr; }
  .cast-card img { width: 96px; height: 120px; }
  .lineup { flex-wrap: wrap; justify-content: center; padding: var(--s3) var(--s2) 0; }
  .lineup li { flex: 0 0 22%; }
  .lineup.staff li { flex: 0 0 30%; }
  .lineup.staff img { max-width: 88px; }
  .vows, .goals { grid-template-columns: 1fr; }
  .arrows { display: none; }
  .hero { padding-bottom: 84px; }
  .bubble { font-size: 16px; padding: 12px 16px; }
  .genie img { width: min(300px, 80vw); }
  .hero-inner { justify-content: flex-end; gap: var(--s3); }  /* 폰 세로 그림은 왕·할머니가 위쪽 — 간판은 아래로 */
  .logo { width: min(340px, 80vw); }
  .tagline { margin: var(--s3) 0; font-size: 26px; -webkit-text-stroke-width: 6px; }
  .hero-cta .btn { min-height: 52px; padding: 0 20px; font-size: 17px; }
}
@media (max-width: 420px) {
  .lang button { min-width: 36px; }
  .brand span { display: none; }
  .btn { min-height: 54px; padding: 0 22px; font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
