/* Elsee 웹 — 앱 디자인 토큰(Elsee/Room/Theme.swift) 그대로: 하늘 종이 #E9F2FF · 파랑 #2F6BFF · 남색 잉크 #0F1B2D · 반경 16/28 */
:root {
  --bg: #E9F2FF; --surface: #fff; --text: #0F1B2D;
  --accent: #2F6BFF; --a100: #EAF1FF; --a200: #D6E4FF; --a700: #1B44BF; --a800: #153393;
  --g100: #E6F5FE; --g200: #C9EAFD; --g700: #1268A8; --g800: #0E4F80;
  --n100: #F4F8FF; --n200: #E6EEFA; --n300: #D3DEEF; --n400: #B7C5DC; --n500: #8E9DB5; --n600: #66758E; --n700: #47546B; --n800: #2B3548; --n900: #141C2B;
  --gold: #E8C07A; --ink: rgba(20, 50, 110, 0.10);
  --r-md: 16px; --r-lg: 28px;
  --head: "Do Hyeon", "Noto Sans KR", system-ui, sans-serif;
  --body: "Noto Sans KR", "Apple SD Gothic Neo", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { color-scheme: light; }
body::before { content: ""; position: fixed; left: 0; right: 0; top: 0; height: 560px; z-index: -1;
  background: radial-gradient(900px 440px at 50% -140px, #CBDEFF, rgba(203, 222, 255, 0) 70%); }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: var(--a700); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, .brand span, .foot-brand { font-family: var(--head); font-weight: 400; letter-spacing: -0.01em; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
html, body { overflow-x: hidden; }
img { max-width: 100%; }   /* 어떤 이미지도 칸 밖으로 못 나간다 */   /* 모바일에서 한 요소가 넘쳐도 페이지가 옆으로 밀리지 않게 */
.nav .short { display: none; }       /* 좁은 화면에서만 짧은 라벨로 바뀐다 */
.row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.muted { color: var(--n600); }
.small { font-size: 13px; }

/* 헤더 */
.top { position: sticky; top: 0; z-index: 10; background: rgba(233, 242, 255, 0.85); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid rgba(20, 50, 110, 0.08); }
.top .row { height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--a700); font-size: 26px; }
.brand-mark { width: 38px; height: 38px; border-radius: 11px; display: block; box-shadow: 0 2px 6px var(--ink); border: 1px solid rgba(20, 50, 110, .07); }
.nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a { padding: 9px 15px; border-radius: 999px; color: var(--n700); font-weight: 600; font-size: 14.5px; transition: background .15s; }
.nav a:hover { background: var(--n100); text-decoration: none; }
.nav a.active { background: var(--accent); color: #fff; font-weight: 700; box-shadow: 0 4px 12px rgba(47, 107, 255, .28); }

/* 공용 조각 */
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; border-radius: 999px; font-family: var(--head); font-size: 17px; background: var(--accent); color: #fff; box-shadow: 0 2px 5px var(--ink); transition: transform .15s; }
.pill:hover { text-decoration: none; transform: translateY(-1px); }
.pill.ghost { background: #fff; color: var(--n700); border: 1.5px solid var(--n400); box-shadow: none; }
.pill.soon { background: var(--n200); color: var(--n600); box-shadow: none; cursor: default; }
.chip { display: inline-flex; align-items: center; padding: 7px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 700; background: #fff; color: var(--a700); border: 1px solid var(--a200); box-shadow: 0 2px 6px rgba(20, 50, 110, .06); }
.card { background: var(--surface); border-radius: var(--r-lg); padding: 28px; border: 1px solid rgba(20, 50, 110, .06);
  box-shadow: 0 1px 2px rgba(20, 50, 110, .05), 0 10px 26px rgba(20, 50, 110, .06); }
.card h3 { font-size: 21px; margin: 0 0 8px; }
.card p { margin: 0; font-size: 15px; line-height: 1.75; }
.grid { display: grid; gap: 18px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
section { margin: 88px 0; }
main.wrap > section:first-child { margin-top: 0; }
.section-title { font-size: 34px; margin: 0 0 8px; }
.section-sub { color: var(--n600); margin: 0 0 26px; font-size: 16.5px; max-width: 44em; }

/* 히어로 */
.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 32px; align-items: center; padding: 56px 0 24px; }
.hero h1 { font-size: 56px; line-height: 1.14; margin: 14px 0 18px; letter-spacing: -.02em; color: var(--text); }
.hero h1 em { font-style: normal; color: var(--a700); }
.hero p.lead { font-size: 18.5px; line-height: 1.75; color: var(--n700); margin: 0 0 28px; max-width: 30em; }
.hero .cta { display: flex; gap: 10px; flex-wrap: wrap; }
.hero .note { margin-top: 14px; font-size: 13px; color: var(--n600); }
.hero .hero-note { grid-column: 1 / -1; margin-top: 18px; text-align: center; }
.hero .meta { margin: 12px 0 0; font-size: 13px; color: var(--n600); letter-spacing: .01em; }
.stage { position: relative; width: min(100%, 300px); aspect-ratio: 9 / 16; justify-self: center;
  border-radius: 30px; overflow: hidden; background: #0F1B2D; border: 4px solid #0F1B2D;
  box-shadow: 0 24px 60px rgba(20, 50, 110, .22); }
.stage video { width: 100%; height: 100%; object-fit: cover; display: block; }
.stage button { position: absolute; right: 10px; bottom: 10px; width: 38px; height: 38px; border: 0;
  border-radius: 50%; cursor: pointer; font-size: 16px; line-height: 1; color: #fff;
  background: rgba(15, 27, 45, .62); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.45);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.stage button:hover { background: rgba(15, 27, 45, .75); }

/* 기능 카드 */
.feature { transition: transform .16s ease, box-shadow .16s ease; }
.feature:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(20, 50, 110, .06), 0 18px 38px rgba(20, 50, 110, .10); }
.feature .icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--a100); color: var(--a700); margin-bottom: 16px; }
.feature .icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 22px; margin: 0 0 8px; }
.feature p { margin: 0; color: var(--n700); font-size: 15.5px; line-height: 1.75; }

/* 안전 */
.safety { background: var(--n900); color: #F5EAD8; border-radius: var(--r-lg); padding: 44px 40px; box-shadow: 0 20px 50px rgba(20, 50, 110, .22); }
.safety h2 { color: #fff; margin: 0 0 6px; font-size: 32px; }
.safety p.sub { color: rgba(245, 234, 216, .78); margin: 0 0 26px; font-size: 16px; }
.safety ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 34px; }
/* **block 이어야 한다** — flex/grid 로 두면 문장 속 <strong> 이 별도 칸이 되어 한 줄이 토막 난다 (사용자 2026-09-11 "가독성 너무 떨어지잖아") */
.safety li { display: block; position: relative; padding-left: 28px; font-size: 15.5px; line-height: 1.75; }
.safety li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--gold); font-weight: 700; }
.safety li strong { color: #fff; }

/* 문서 (약관·처리방침) */
.doc { display: grid; grid-template-columns: 240px 1fr; gap: 32px; align-items: start; margin-top: 36px; }
.toc { position: sticky; top: 84px; background: #fff; border-radius: var(--r-md); padding: 16px 18px; box-shadow: 0 2px 6px var(--ink); font-size: 13px; max-height: calc(100vh - 110px); overflow: auto; }
.toc summary { list-style: none; cursor: pointer; margin: 0 0 8px; font-weight: 700; color: var(--n600); font-size: 12px; letter-spacing: .04em; display: flex; justify-content: space-between; }
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after { content: "▾"; color: var(--a700); }
.toc[open] summary::after { content: "▴"; }
.toc ul { list-style: none; margin: 0; padding: 0; }
.toc li { margin: 6px 0; }
.toc a { color: var(--n700); }
.prose { background: #fff; border-radius: var(--r-lg); padding: 40px 44px; box-shadow: 0 2px 6px var(--ink); }
.prose h1 { font-size: 34px; margin: 0 0 6px; }
.prose h1 + p { color: var(--n600); font-size: 14px; margin-top: 0; }
.prose h2 { font-size: 22px; margin: 34px 0 10px; padding-top: 10px; border-top: 1px solid var(--n200); scroll-margin-top: 84px; }
.prose h3 { font-size: 16.5px; margin: 22px 0 6px; color: var(--n800); }
.prose p, .prose li { font-size: 15px; color: var(--n800); }
.prose ul { padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose strong { color: var(--text); }

/* 지원 페이지 */
.faq details { background: #fff; border-radius: var(--r-md); padding: 4px 20px; box-shadow: 0 2px 6px var(--ink); margin: 10px 0; }
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::after { content: "＋"; color: var(--a700); font-size: 20px; }
.faq details[open] summary::after { content: "－"; }
.faq details > *:not(summary) { color: var(--n800); font-size: 15px; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: s; position: relative; padding: 14px 0 14px 52px; border-bottom: 1px solid var(--n200); }
.steps li:last-child { border-bottom: 0; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 12px; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-family: var(--head); font-size: 17px; }
.kv { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.kv th { text-align: left; color: var(--n600); font-weight: 600; padding: 10px 12px 10px 0; width: 180px; vertical-align: top; border-bottom: 1px solid var(--n200); }
.kv td { padding: 10px 0; border-bottom: 1px solid var(--n200); }
.callout { background: var(--a100); border-radius: var(--r-md); padding: 14px 18px; font-size: 14.5px; color: var(--a800); }
.callout.warn { background: #FFF4E5; color: #7A4A00; }

/* 푸터 */
.foot { margin-top: 80px; padding: 40px 0 28px; border-top: 1px solid rgba(20, 50, 110, 0.08); }
.foot-grid { display: grid; grid-template-columns: 1.2fr 0.8fr 1.4fr; gap: 28px; }
.foot-brand { font-size: 26px; color: var(--a700); margin: 0 0 6px; }
.foot-title { font-weight: 700; font-size: 13px; color: var(--n600); letter-spacing: .04em; margin: 4px 0 10px; }
.foot-links { list-style: none; padding: 0; margin: 0; }
.foot-links li { margin: 6px 0; font-size: 14.5px; }
.biz { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin: 0; font-size: 13px; }
.biz dt { color: var(--n600); }
.biz dd { margin: 0; color: var(--n800); }
.copy { margin: 28px 0 0; font-size: 12.5px; color: var(--n500); }



/* ── 폰 (광고 트래픽의 대부분) ─────────────────────────────────────────── */


/* 아주 좁은 폰 (iPhone SE 375 / 320) */


/* ── App Store 배지 — 광고 랜딩의 유일한 목표 ───────────────────────────── */
.store-badge { display: inline-flex; align-items: center; gap: 10px; padding: 11px 20px 11px 16px; border-radius: 14px;
  background: #0F1B2D; color: #fff; box-shadow: 0 6px 18px rgba(15, 27, 45, .28); transition: transform .15s, box-shadow .15s; }
.store-badge:hover { text-decoration: none; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(15, 27, 45, .34); }
.store-badge svg { width: 26px; height: 26px; fill: #fff; flex: 0 0 auto; }
.store-badge span { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.store-badge small { font-size: 11px; opacity: .8; }
.store-badge strong { font-family: var(--head); font-size: 19px; font-weight: 400; letter-spacing: .01em; }
.store-badge.big { padding: 14px 26px 14px 20px; }
.store-badge.big svg { width: 30px; height: 30px; }
.store-badge.big strong { font-size: 22px; }

.pill.tiny { padding: 8px 15px; font-size: 14.5px; box-shadow: 0 2px 6px rgba(47, 107, 255, .3); }
.head-cta { flex: 0 0 auto; }
.soon-android { color: var(--n600); border-color: var(--n300); font-size: 14.5px; padding: 11px 18px; cursor: default; }

/* ── 스크린샷 갤러리 ──────────────────────────────────────────────────── */
.shots-sec { overflow: hidden; }
.shots { display: flex; gap: 14px; overflow-x: auto; padding: 4px 0 14px; scroll-snap-type: x mandatory;
  scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.shots::-webkit-scrollbar { display: none; }
.shots img { width: 208px; height: auto; flex: 0 0 auto; border-radius: 18px; scroll-snap-align: center;
  border: 1px solid rgba(20, 50, 110, .10); box-shadow: 0 8px 22px var(--ink); background: #fff; }

/* ── 마지막 전환 블록 ─────────────────────────────────────────────────── */
.last-cta { text-align: center; padding: 40px 22px 48px; margin: 8px 0 40px; border-radius: var(--r-lg);
  background: linear-gradient(160deg, #6FA3FF, #2457E6); color: #fff; }
.last-cta h2 { font-family: var(--head); font-size: 30px; margin: 0 0 8px; }
.last-cta p { margin: 0 0 20px; opacity: .92; }
.last-cta .store-badge { background: #fff; color: var(--text); }
.last-cta .store-badge svg { fill: var(--text); }

/* ── 푸터 전환 블록 ──────────────────────────────────────────────────── */
.foot-cta { text-align: center; padding: 26px 0 30px; border-bottom: 1px solid rgba(20, 50, 110, .09); margin-bottom: 26px; }
.foot-cta-t { font-family: var(--head); font-size: 20px; margin: 0 0 14px; color: var(--text); }
.foot-cta .muted.small { margin-top: 12px; }

/* 영상 재생 버튼 (모바일은 탭해야 받는다) */
#ad-play { position: absolute; inset: 0; margin: auto; width: 62px; height: 62px; border: 0; border-radius: 50%;
  background: rgba(15, 27, 45, .62); color: #fff; font-size: 22px; cursor: pointer; display: grid; place-items: center;
  backdrop-filter: blur(2px); }
#ad-play:hover { background: rgba(15, 27, 45, .78); }


/* ══════════════════════════════════════════════════════════════════════
   랜딩 — 화려하게. 라이브러리 0, CSS 애니메이션만 (저가 폰에서도 60fps)
   ══════════════════════════════════════════════════════════════════════ */

/* 움직임을 싫어하는 사람은 전부 끈다 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* ── 오로라 배경 (히어로 뒤에서 아주 느리게 흐른다) ───────────────────── */
.aurora { position: absolute; inset: -20% -10% auto -10%; height: 128%; z-index: -1; overflow: hidden; pointer-events: none; }
.aurora i { position: absolute; display: block; border-radius: 50%; filter: blur(70px); opacity: .55; }
.aurora i:nth-child(1) { width: 46vw; height: 46vw; left: -6vw; top: -4vw;  background: #6FA3FF; animation: drift1 19s ease-in-out infinite; }
.aurora i:nth-child(2) { width: 38vw; height: 38vw; right: -4vw; top: 8vw;  background: #1E9BF0; animation: drift2 23s ease-in-out infinite; }
.aurora i:nth-child(3) { width: 30vw; height: 30vw; left: 38vw; top: 30vw;  background: #C9B7FF; opacity: .4; animation: drift1 27s ease-in-out infinite reverse; }
@keyframes drift1 { 0%,100% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(5vw,4vw,0) scale(1.12); } }
@keyframes drift2 { 0%,100% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(-6vw,6vw,0) scale(.9); } }

/* ── 스크롤 등장 ─────────────────────────────────────────────────────── */
/* **JS 가 있을 때만** 숨긴다 — 스크립트가 죽거나 옵저버가 놓쳐도 글은 보여야 한다 */
.js .rise { opacity: 0; transform: translateY(18px); transition: opacity .6s cubic-bezier(.2,.7,.3,1), transform .6s cubic-bezier(.2,.7,.3,1); }
.js .rise.in { opacity: 1; transform: none; }
.rise.d1 { transition-delay: .08s } .rise.d2 { transition-delay: .16s } .rise.d3 { transition-delay: .24s } .rise.d4 { transition-delay: .32s }

/* ── 히어로 ──────────────────────────────────────────────────────────── */
.hero { position: relative; }
.hero h1 .grad { background: linear-gradient(100deg, #2457E6, #1E9BF0 45%, #8B6BFF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.chip.live { background: #fff; box-shadow: 0 4px 14px var(--ink); }
.chip.live b { color: #E5484D; font-weight: 700; }
.chip.live .dot { width: 7px; height: 7px; border-radius: 50%; background: #E5484D; display: inline-block; margin-right: 6px; animation: blip 1.6s ease-in-out infinite; }
@keyframes blip { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.7); } }

/* 폰 목업 + 주변에 떠 있는 스크린샷 카드 */
.showcase { position: relative; justify-self: center; width: min(100%, 300px); }
.showcase .phone { position: relative; width: 100%; aspect-ratio: 9/16; border-radius: 34px; overflow: hidden;
  background: #0F1B2D; border: 5px solid #16223a; box-shadow: 0 28px 60px rgba(15,27,45,.32), 0 4px 14px rgba(15,27,45,.2);
  animation: bob 7s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-9px) } }
.showcase video { width: 100%; height: 100%; object-fit: cover; display: block; }
.showcase .float { position: absolute; width: 104px; height: auto; border-radius: 15px; box-shadow: 0 14px 34px rgba(15,27,45,.28);
  border: 2px solid #fff; background: #fff; }
.showcase .float.a { left: -46px; top: 16%;  animation: bob 6s ease-in-out infinite .6s; }
.showcase .float.b { right: -42px; bottom: 14%; animation: bob 8s ease-in-out infinite 1.2s; }

#ad-play { position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.92); color: #0F1B2D; font-size: 20px; cursor: pointer; display: grid; place-items: center;
  box-shadow: 0 8px 22px rgba(15,27,45,.3); }
#ad-play::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid rgba(255,255,255,.7); animation: ring 2.2s ease-out infinite; }
@keyframes ring { 0% { transform: scale(.86); opacity: .9 } 100% { transform: scale(1.5); opacity: 0 } }


/* ── 스크린샷 띠 (무한 흐름) ─────────────────────────────────────────── */
.strip { overflow: hidden; margin: 0 -20px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.strip-run { display: flex; gap: 16px; width: max-content; animation: run 38s linear infinite; }
.strip:hover .strip-run { animation-play-state: paused; }
.strip img { width: 186px; height: auto; border-radius: 20px; box-shadow: 0 14px 34px var(--ink); border: 1px solid rgba(20,50,110,.08); background:#fff; display:block; }
@keyframes run { from { transform: translateX(0) } to { transform: translateX(-50%) } }

/* ── 게임 카드 ───────────────────────────────────────────────────────── */
.games { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.game { position: relative; overflow: hidden; border-radius: var(--r-lg); padding: 26px 22px 24px; color: #fff; min-height: 196px;
  display: flex; flex-direction: column; justify-content: flex-end; transition: transform .2s, box-shadow .2s; }
.game:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(15,27,45,.24); }
.game.liar   { background: linear-gradient(150deg, #FF9A4D, #E8622B 60%, #B33C13); }
.game.mafia  { background: linear-gradient(150deg, #5A6BFF, #2B2F7A 60%, #14163F); }
.game.whoami { background: linear-gradient(150deg, #3FD8B6, #12A98C 60%, #07715E); }
.game .emoji { position: absolute; right: 12px; top: 6px; font-size: 62px; opacity: .22; line-height: 1; }
.game h3 { font-family: var(--head); font-size: 22px; margin: 0 0 6px; color: #fff; }
.game p { margin: 0; font-size: 14px; opacity: .93; line-height: 1.6; }
.game .who { display: inline-block; margin-bottom: 10px; font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: 999px;
  background: rgba(255,255,255,.22); backdrop-filter: blur(4px); width: fit-content; }

/* ── 기능 × 스크린샷 (좌우 번갈아) ───────────────────────────────────── */
.alt { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: center; margin: 46px 0; }
.alt:nth-child(even) .alt-img { order: -1; }
.alt-img { justify-self: center; }
.alt-img img { width: min(100%, 236px); height: auto; border-radius: 22px; box-shadow: 0 18px 44px var(--ink); border: 1px solid rgba(20,50,110,.08); }
.alt h3 { font-family: var(--head); font-size: 26px; margin: 8px 0 10px; }
.alt p { color: var(--n700); line-height: 1.75; margin: 0; }
.alt .tag { font-size: 12.5px; font-weight: 700; color: var(--a700); background: var(--a100); padding: 5px 12px; border-radius: 999px; display: inline-block; }
.alt ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.alt li { position: relative; padding-left: 22px; color: var(--n700); font-size: 15px; }
.alt li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* ── 모바일 하단 고정 CTA (전환의 핵심) ──────────────────────────────── */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: none; gap: 10px; align-items: center;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.93);
  backdrop-filter: blur(14px); border-top: 1px solid rgba(20,50,110,.1); box-shadow: 0 -6px 22px rgba(20,50,110,.08);
  transform: translateY(110%); transition: transform .3s cubic-bezier(.2,.7,.3,1); }
.dock.on { transform: none; }
.dock img { width: 38px; height: 38px; border-radius: 11px; flex: 0 0 auto; }
.dock .t { flex: 1 1 auto; min-width: 0; line-height: 1.25; }
.dock .t b { display: block; font-family: var(--head); font-size: 15px; color: var(--text); }
.dock .t span { font-size: 11.5px; color: var(--n600); }
.dock .store-badge { padding: 9px 15px 9px 12px; flex: 0 0 auto; }
.dock .store-badge small { display: none; }
.dock .store-badge strong { font-size: 15px; }
.dock .store-badge svg { width: 19px; height: 19px; }

/* ── 마지막 CTA 강화 ─────────────────────────────────────────────────── */
.last-cta { position: relative; overflow: hidden; }
.last-cta::before { content: ""; position: absolute; inset: -40%; background:
  radial-gradient(circle at 20% 20%, rgba(255,255,255,.28), transparent 42%),
  radial-gradient(circle at 80% 70%, rgba(255,255,255,.22), transparent 44%); animation: drift1 16s ease-in-out infinite; }
.last-cta > * { position: relative; }

/* ── 반응형은 항상 파일 끝에 — 앞에 두면 뒤의 기본 규칙이 같은 특이도로 이겨 버린다 ── */

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 28px; }
  .hero h1 { font-size: 40px; }
  .stage { width: min(100%, 320px); }
  .hero .cta .pill { flex: 1 1 auto; justify-content: center; }
  .grid.cols-3, .grid.cols-2 { grid-template-columns: 1fr; }
  .safety { padding: 28px 22px; }
  .safety ul { grid-template-columns: 1fr; }
  .section-title { font-size: 27px; }
  .doc { grid-template-columns: 1fr; }
  .toc { position: static; max-height: none; }
  .toc summary { margin: 0; }
  .toc[open] summary { margin-bottom: 8px; }
  .prose { padding: 26px 20px; }
  .foot-grid { grid-template-columns: 1fr; }
  .nav a { padding: 8px 10px; font-size: 13.5px; }
  /* `padding: 10px 0` 은 **좌우 패딩까지 0 으로 덮어** `.wrap` 의 16px 를 지웠다 —
     로고와 메뉴가 화면 끝에 딱 붙었다 (사용자 2026-09-25). 위아래만 건드린다 */
  .top .row { height: auto; padding-top: 10px; padding-bottom: 10px; gap: 10px; }
  .shots img { width: 178px; }
  .games { grid-template-columns: 1fr; }
  .alt { grid-template-columns: 1fr; gap: 20px; margin: 34px 0; }
  .alt .alt-img, .alt:nth-child(even) .alt-img { order: -1; }
}

/* ── 태블릿·작은 창 (561~860) ─────────────────────────────────────────
   한 칸 배치로 떨어지는데 제목은 `<br>` 로 줄이 강제돼 **오른쪽이 텅 비어 보였다**.
   이 구간만 줄바꿈을 풀고 가운데로 모은다 (사용자 2026-09-25). */
@media (min-width: 561px) and (max-width: 860px) {
  .hero { text-align: center; justify-items: center; padding-top: 22px; }
  .hero h1 { font-size: clamp(52px, calc(56px + (100vw - 560px) * 0.02), 62px); text-wrap: balance; max-width: 13em; line-height: 1.16; }
  /* `<br>` 는 **숨기면 안 된다** — 줄바꿈만 사라지고 공백이 안 생겨 낱말이 붙는다
     ("장이면,나", "바타가식탁에"). 줄은 그대로 두고 글자만 키워서 채운다 */
  .hero .cta .pill { flex: 0 0 auto; }                  /* 860 블록의 늘리기를 되돌린다 */
  .hero .lead { text-align: center; max-width: 33em; margin-left: auto; margin-right: auto; }
  .hero .cta { justify-content: center; }
  .hero .note { max-width: 40em; margin-left: auto; margin-right: auto; }
  .showcase { margin-top: 10px; }

  /* 본문도 같은 이유로 한쪽에 쏠린다 — 글 칸에 최대 폭을 주고 가운데로 */
  .alt { text-align: center; justify-items: center; }
  .alt ul { display: inline-grid; text-align: left; }
  .alt p, .alt h3 { max-width: 34em; margin-left: auto; margin-right: auto; }
  .games { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .game { min-height: 178px; padding: 20px 16px 18px; }
  .game h3 { font-size: 19px; }
  .game p { font-size: 13px; }
  .grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
  .safety ul { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 16px; }

  /* 헤더 — 로고 + 짧은 메뉴. **「앱 받기」는 숨긴다**: 히어로에 큰 버튼이 있고
     스크롤하면 하단 고정 CTA 가 올라온다. 셋을 한 줄에 우겨 넣으니 넘쳐서
     **좌우 여백이 0 이 되고 글자가 서로 붙었다** (사용자 2026-09-25) */
  .top .row { flex-wrap: nowrap; gap: 10px; justify-content: flex-start; }
  .head-cta { display: none; }
  .brand { font-size: 21px; gap: 7px; flex: 0 0 auto; }
  .brand-mark { width: 30px; height: 30px; border-radius: 9px; }
  .nav { flex: 1 1 auto; min-width: 0; gap: 6px; justify-content: flex-end; }
  .nav .full { display: none; }
  .nav .short { display: inline; }
  .nav a { padding: 11px 13px; font-size: 13.5px; white-space: nowrap; }   /* 탭 영역 44px */

  section { margin: 52px 0; }
  .hero { padding-top: 14px; gap: 20px; }
  /* **글자가 폭을 따라 큰다** — 고정 30px 이면 폰보다 넓은 창(460~560)에서 줄이 짧아
     오른쪽이 텅 비어 보였다 (사용자 2026-09-25 "우측이 너무 비어있잖아") */
  /* 390px 에서 30px(제목 3줄) → 560px 에서 45px. vw 만 쓰면 한쪽이 반드시 깨진다 */
  /* 실측: Do Hyeon 은 좁아서 30px 이면 390px 폰에서도 글칸의 55% 밖에 안 찬다.
     390 → 42px(78%), 560 → 56px(69%) 로 **선형**으로 키운다. vw 만 쓰면 한쪽이 반드시 깨진다 */
  .hero h1 { font-size: clamp(36px, calc(42px + (100vw - 390px) * 0.0824), 56px); line-height: 1.16; margin: 10px 0 14px; }
  .hero p.lead { font-size: clamp(15px, 3.6vw, 19px); line-height: 1.66; margin-bottom: 20px; }
  .chip { font-size: clamp(12.5px, 2.9vw, 15px); }
  .hero .note { font-size: clamp(12.5px, 2.8vw, 14.5px); }
  .store-badge strong { font-size: clamp(19px, 4.6vw, 23px); }
  .showcase { width: min(100%, clamp(244px, 58vw, 320px)); }
  .hero .note { font-size: 12.5px; }
  .chip { font-size: 12.5px; }
  .cta { gap: 8px; }
  /* 다운로드가 주인공 — 안드로이드 안내는 그 아래 한 줄로 물러난다 */
  .cta { flex-direction: column; align-items: stretch; }
  .hero .cta .store-badge { justify-content: center; padding: 14px 20px; }
  .pill.soon-android { justify-content: center; font-size: 13.5px; padding: 9px 16px; background: transparent; border-style: dashed; }
  .stage { width: min(100%, 260px); }

  .section-title { font-size: 23px; }
  .section-sub { font-size: 14.5px; }
  .shots img { width: 152px; border-radius: 15px; }
  .card { padding: 20px 18px; }
  .safety { padding: 24px 18px; }
  .last-cta { padding: 32px 18px 38px; }
  .last-cta h2 { font-size: 25px; }
  .biz dt, .biz dd { font-size: 13px; }
  .dock { display: flex; }
  body { padding-bottom: 76px; }         /* 고정 CTA 가 푸터를 가리지 않게 */
  .showcase { width: min(100%, 244px); }
  .showcase .float { width: clamp(84px, 20vw, 112px); }
  .showcase .float.a { left: -30px; }
  .showcase .float.b { right: -28px; }
  .strip img { width: 148px; border-radius: 16px; }
  .game { min-height: 168px; padding: 22px 18px 20px; }
  .alt-img img { width: min(100%, 200px); }
  .alt h3 { font-size: 22px; }
  .foot-links a { display: inline-block; padding: 7px 0; }   /* 손가락이 닿는 높이로 */
}

@media (max-width: 380px) {
  /* 제목 크기는 위 유동 규칙(36~56px)이 알아서 줄인다 — 여기서 덮으면 그게 죽는다 */
  .nav a { padding: 10px 8px; font-size: 12.5px; }
  .brand { font-size: 19px; }
  .brand-mark { width: 27px; height: 27px; }
}
