/* 1분 탐정 — 랜딩(lp.html · ko/en/ja/zh.html) 전용 스타일. 2026-11-14 「シネマ(영화 포스터)」.
   스토어 등록정보의 「웹사이트」로 들어오는 첫 화면 = 앱 홍보 페이지.
   토큰·글꼴·그레인·기본 버튼은 css/cinema.css(먼저 불러옴) 것을 쓴다: --c-* 색, --f-title/--f-ui/--f-num, --r-*, .btn--primary/.btn--ghost, .c-eyebrow/.c-dot, .c-num, .c-tag.
   여기서는 랜딩 배치만. 새 색은 만들지 않는다(Google Play 배지 검정·로고 4색만 예외). */

:root {
  --f-sym: 'Noto Sans Symbols 2', 'Noto Sans Symbols'; /* cinema.css body 가 쓰는 변수(앱은 app.css 가 정의) — 없으면 글꼴 선언이 통째로 무효 */
  --pad: 20px;
  --wrap: 1200px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}
@media (min-width: 768px) { :root { --pad: 40px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 16px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; min-height: 100vh;
  background: var(--c-bg); color: var(--c-text);
  font-size: 15px; line-height: 1.75; letter-spacing: .02em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, figure, ol, ul, dl, dd { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--c-gold); outline-offset: 3px; border-radius: 6px; }
/* 'a|b|c' 어절 덩어리(lp.js setPhrases) — 낱말 중간에서 꺾이지 않게 */
.ph { display: inline-block; max-width: 100%; }
html[lang='ko'] h1, html[lang='ko'] h2, html[lang='ko'] h3, html[lang='ko'] p, html[lang='ko'] summary { word-break: keep-all; }
html[lang='en'] h1, html[lang='en'] h2, html[lang='en'] h3 { text-wrap: balance; }

/* 번역 대기: 머리 스크립트가 붙인 i18n-pending 동안 원문(ja) 글자를 가린다. data-boot = 인라인 스크립트가 미리 넣은 글자 */
html.i18n-pending [data-i18n]:not([data-boot]),
html.i18n-pending [data-i18n-html]:not([data-boot]),
html.i18n-pending [data-legal] { visibility: hidden; }

/* ───────── 공통 버튼(cinema.css .btn 기본형 + 랜딩 배치) ───────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 24px; border: 0; border-radius: var(--r-pill);
  font-size: 15.5px; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s var(--ease-out), filter .2s, background-color .2s, box-shadow .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }
.btn .ico { width: 18px; height: 18px; flex: none; }
.btn.is-off { opacity: .45; pointer-events: none; }

/* Google Play 배지(공식 배지 모양: 검정 바탕·회색 테두리·작은 줄 + 큰 「Google Play」) */
.store-btn {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 56px; padding: 0 22px 0 16px; border-radius: 12px;
  background: #000; color: #fff; text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .38), 0 12px 30px rgba(0, 0, 0, .45);
  transition: box-shadow .2s, transform .15s var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.store-btn:active { transform: scale(.97); }
.store-ico { width: 24px; height: 26px; flex: none; }
.store-txt { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.store-txt small { font-size: 11px; font-weight: 500; letter-spacing: .04em; color: rgba(255, 255, 255, .86); }
.store-txt b { font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 21px; font-weight: 600; letter-spacing: -.01em; }
@media (hover: hover) and (pointer: fine) {
  .store-btn:hover { box-shadow: inset 0 0 0 1px var(--c-gold), 0 12px 34px rgba(232, 170, 60, .25); }
}
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.cta-row--center { justify-content: center; }
.web-btn { min-height: 56px; }
@media (max-width: 480px) {
  .store-btn { gap: 10px; padding: 0 16px 0 12px; }
  .store-txt b { font-size: 19px; }
  .web-btn { padding: 0 18px; font-size: 14.5px; letter-spacing: .04em; }
  .cta-row { gap: 10px; }
}

/* ───────── 상단 ───────── */
.top {
  position: absolute; z-index: 20; top: 0; left: 0; right: 0;
  display: flex; align-items: center; gap: 12px;
  max-width: calc(var(--wrap) + var(--pad) * 2); margin: 0 auto;
  padding: max(10px, env(safe-area-inset-top)) var(--pad) 0;
}
.mark { display: inline-flex; align-items: baseline; gap: 2px; min-height: 44px; padding-top: 8px; text-decoration: none; font-family: var(--f-title), serif; font-weight: 800; font-size: 20px; letter-spacing: .1em; line-height: 1.15; }
.mark-1 { font-family: var(--f-num); font-weight: 500; font-size: 1.2em; color: var(--c-gold); letter-spacing: 0; }
html[lang='en'] .mark { letter-spacing: .02em; font-size: 18px; }
.top-nav { display: none; margin-left: auto; gap: 4px; }
.top-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; font-size: 13.5px; font-weight: 500; letter-spacing: .08em; color: var(--c-text2); text-decoration: none; border-radius: var(--r-pill); }
.top-nav a:hover { color: var(--c-text); }
.lang { display: flex; margin-left: auto; padding: 3px; border-radius: var(--r-pill); background: rgba(11, 10, 9, .55); box-shadow: inset 0 0 0 1px var(--c-line2); }
.lang button {
  min-width: 44px; min-height: 44px; padding: 0 9px; border: 0; border-radius: var(--r-pill); background: none; cursor: pointer;
  font-size: 12.5px; font-weight: 700; letter-spacing: .04em; color: var(--c-text2);
}
.lang button[aria-pressed='true'] { background: var(--c-surface2); color: var(--c-gold-hi); box-shadow: inset 0 0 0 1px rgba(232, 181, 77, .35); }
@media (min-width: 1000px) {
  .top-nav { display: flex; }
  .lang { margin-left: 8px; }
}
@media (max-width: 400px) {
  .top { gap: 8px; }
  .lang { padding: 2px; }
  .lang button { min-width: 44px; padding: 0 5px; font-size: 12px; letter-spacing: 0; }
  .mark { font-size: 18px; letter-spacing: .06em; }
  html[lang='en'] .mark { font-size: 15px; line-height: 1.05; } /* 좁으면 「1 Minute / Detective」 두 줄로 */
}
html[lang='en'] .mark, html[lang='en'] .foot-mark { gap: .3em; }

/* ───────── 1. 히어로 ───────── */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 680px;
  display: flex; align-items: flex-end;
  padding: 0 var(--pad) 40px;
}
@supports (min-height: 100svh) { .hero { min-height: max(680px, min(100svh, 860px)); } }
.hero-art { position: absolute; inset: 0 0 auto; height: 76%; z-index: -2; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; }
@media (min-width: 600px) and (max-width: 959px) { .hero-art { height: 100%; } }
.hero::before { /* 시안 S1: 위는 살짝, 아래는 바탕색으로 녹이고, 왼쪽은 글자 자리로 어둡게 */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(11, 10, 9, .7) 0%, rgba(11, 10, 9, 0) 14%, rgba(11, 10, 9, 0) 40%, rgba(11, 10, 9, .8) 62%, var(--c-bg) 76%),
    linear-gradient(90deg, rgba(11, 10, 9, .6) 0%, rgba(11, 10, 9, 0) 70%);
}
.hero-credit {
  position: absolute; z-index: 2; right: var(--pad); top: 108px;
  writing-mode: vertical-rl; font-family: var(--f-title), serif; font-size: 12px; font-weight: 700; letter-spacing: .5em; color: rgba(255, 217, 138, .75);
}
.hero-credit::before { content: ""; display: inline-block; width: 1px; height: 28px; margin-bottom: 12px; background: rgba(255, 217, 138, .5); }
.hero-copy { position: relative; width: 100%; max-width: var(--wrap); margin: 0 auto; }
.hero-kicker { margin-bottom: 14px; }
.hero h1 {
  font-family: var(--f-title), var(--f-sym), serif; font-weight: 800;
  font-size: clamp(32px, 9.4vw, 76px); line-height: 1.18; letter-spacing: .06em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .6);
}
html[lang='en'] .hero h1 { letter-spacing: .01em; line-height: 1.1; }
.hero-sub { margin-top: 16px; max-width: 34em; font-size: 15px; line-height: 1.85; color: var(--c-text2); }
.hero .cta-row { margin-top: 26px; }
.hero-note { margin-top: 12px; font-size: 12.5px; letter-spacing: .06em; color: var(--c-text2); }
.stats { display: none; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--c-line); max-width: 460px; }
.stats > div { flex: 1; display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 2px; padding-right: 12px; }
.stats > div + div { padding-left: 16px; border-left: 1px solid var(--c-line); }
.stats dd { font-size: 30px; line-height: 1; color: var(--c-gold-hi); letter-spacing: .02em; }
@media (min-width: 600px) { .stats { display: flex; } }
.stats dt { font-size: 11.5px; font-weight: 500; letter-spacing: .06em; color: var(--c-text2); line-height: 1.4; }

@media (min-width: 960px) {
  .hero { align-items: center; padding-top: 110px; padding-bottom: 80px; min-height: max(720px, min(100vh, 900px)); }
  /* 넓은 화면: 하나는 오른쪽 큰 그림, 왼쪽 끝으로 갈수록 바탕에 녹는다 */
  .hero-art { left: auto; width: min(62%, 980px); height: 100%; }
  .hero-art img { object-position: 50% 22%; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 34%); mask-image: linear-gradient(90deg, transparent 0%, #000 34%); }
  .hero::before {
    background:
      radial-gradient(900px 600px at 72% 10%, rgba(232, 160, 60, .10), transparent 60%),
      linear-gradient(180deg, rgba(11, 10, 9, .55) 0%, rgba(11, 10, 9, 0) 18%, rgba(11, 10, 9, 0) 70%, var(--c-bg) 100%),
      linear-gradient(90deg, var(--c-bg) 0%, rgba(11, 10, 9, .85) 34%, rgba(11, 10, 9, 0) 62%);
  }
  .hero-copy > * { max-width: 600px; }
  .hero-copy > h1 { max-width: 760px; font-size: clamp(48px, 4.7vw, 68px); }
  .hero-credit { top: 140px; font-size: 13px; right: calc(var(--pad) + 8px); }
  .hero-sub { font-size: 16.5px; }
}

/* ───────── 구역 공통 ───────── */
main > section { position: relative; padding: 76px 0; }
@media (min-width: 960px) { main > section { padding: 120px 0; } }
.sec-head { max-width: calc(var(--wrap) + var(--pad) * 2); margin: 0 auto 28px; padding: 0 var(--pad); }
.sec-head h2 {
  margin-top: 12px; font-family: var(--f-title), var(--f-sym), serif; font-weight: 800;
  font-size: clamp(26px, 6.6vw, 48px); line-height: 1.25; letter-spacing: .06em;
}
html[lang='en'] .sec-head h2 { letter-spacing: .01em; }
.sec-head > p:not(.c-eyebrow) { margin-top: 12px; max-width: 38em; font-size: 15px; color: var(--c-text2); }
@media (min-width: 960px) { .sec-head { margin-bottom: 40px; } .sec-head > p:not(.c-eyebrow) { font-size: 16px; } }
.sec-head--left { padding: 0; margin: 0 0 28px; }

/* ───────── 2. 사건 파일: 오늘의 사건 + 포스터 줄 ───────── */
.today {
  position: relative; isolation: isolate; overflow: hidden;
  max-width: var(--wrap); margin: 0 var(--pad); min-height: 440px;
  display: flex; align-items: flex-end;
  border-radius: 20px; background: var(--c-surface);
  box-shadow: inset 0 0 0 1px var(--c-line2), var(--shadow-card);
}
@media (min-width: 1280px) { .today { margin: 0 auto; } }
.today-frame { position: absolute; inset: 0; z-index: -1; }
.today-thumb, .today-thumb > * { position: absolute; inset: 0; width: 100%; height: 100%; }
.today-thumb img { object-fit: cover; transition: transform 1.2s var(--ease-out); }
.today::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(11, 10, 9, .1) 0%, rgba(11, 10, 9, .25) 35%, rgba(11, 10, 9, .92) 78%, rgba(11, 10, 9, .97) 100%);
}
.today-body { position: relative; width: 100%; padding: 22px 20px; pointer-events: none; }
.today-body a { pointer-events: auto; }
.datestamp { margin-left: 2px; padding-left: 10px; border-left: 1px solid var(--c-line2); color: var(--c-text2); letter-spacing: .12em; font-weight: 400; }
.today-no { margin-top: 8px; font-size: 56px; font-weight: 600; line-height: .95; color: transparent; -webkit-text-stroke: 1px rgba(255, 217, 138, .75); }
.today-no:empty { display: none; }
.today-title { margin-top: 6px; font-family: var(--f-title), var(--f-sym), serif; font-weight: 800; font-size: clamp(24px, 6.4vw, 38px); line-height: 1.3; letter-spacing: .05em; text-shadow: 0 2px 18px rgba(0, 0, 0, .7); }
.today-meta { margin-top: 8px; font-size: 13px; color: var(--c-text2); letter-spacing: .04em; }
.today-cta { margin-top: 18px; }
@media (min-width: 768px) {
  .today { min-height: 480px; align-items: center; }
  .today::after { background: linear-gradient(90deg, rgba(11, 10, 9, .94) 0%, rgba(11, 10, 9, .78) 34%, rgba(11, 10, 9, 0) 72%), linear-gradient(0deg, rgba(11, 10, 9, .5), transparent 40%); }
  .today-body { max-width: 540px; padding: 40px 44px; }
  .today-no { font-size: 76px; }
}
@media (hover: hover) and (pointer: fine) { .today:hover .today-thumb img { transform: scale(1.03); } }

/* 포스터 줄(가로 스크롤 — 스크롤 부모 안이라 화면 밖 글자 검사에서 빠짐) */
.rail { position: relative; max-width: calc(var(--wrap) + var(--pad) * 2); margin: 28px auto 0; }
.posters {
  display: grid; grid-auto-flow: column; grid-auto-columns: 152px; gap: 14px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  padding: 4px var(--pad) 14px; scroll-padding-inline: var(--pad);
  scrollbar-width: thin; scrollbar-color: rgba(255, 232, 196, .22) transparent;
}
.posters > li { scroll-snap-align: start; min-width: 0; }
@media (min-width: 768px) { .posters { grid-auto-columns: 190px; gap: 18px; } }
@media (min-width: 1200px) { .posters { grid-auto-columns: calc((min(100vw, 1280px) - 80px - 90px) / 6); } }
.poster { display: block; text-decoration: none; color: var(--c-text); -webkit-tap-highlight-color: transparent; }
.poster-art {
  position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 5;
  border-radius: var(--r-card); background: var(--c-surface);
  box-shadow: inset 0 0 0 1px var(--c-line), var(--shadow-card);
}
.poster-art > img, .poster-art > .glyph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.poster-art::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); background: linear-gradient(180deg, rgba(0, 0, 0, .35) 0%, transparent 26%, transparent 70%, rgba(0, 0, 0, .45) 100%); pointer-events: none; }
.poster-no { position: absolute; z-index: 1; left: 10px; top: 6px; font-size: 24px; font-weight: 600; color: #fff; text-shadow: 0 2px 10px rgba(0, 0, 0, .8); }
.poster-no:empty { display: none; }
.poster-time { position: absolute; z-index: 1; right: 8px; top: 9px; padding: 3px 7px; border-radius: 6px; font-size: 10.5px; font-weight: 700; letter-spacing: .04em; color: var(--c-text); background: rgba(0, 0, 0, .55); border: 1px solid rgba(255, 255, 255, .14); white-space: nowrap; line-height: 1.3; }
.poster-flag { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 22px 10px 9px; font-size: 11px; font-weight: 700; letter-spacing: .08em; line-height: 1.3; color: var(--c-gold-hi); background: linear-gradient(0deg, rgba(0, 0, 0, .85), transparent); }
.poster-flag--done { color: var(--c-green); }
.poster-t { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin-top: 10px; font-family: var(--f-title), var(--f-sym), serif; font-weight: 700; font-size: 14.5px; line-height: 1.45; letter-spacing: .03em; }
.poster-s { display: block; margin-top: 3px; font-size: 11.5px; color: var(--c-text2); letter-spacing: .06em; }
.poster-from { display: inline-block; margin-top: 6px; padding: 3px 8px; border-radius: 6px; font-size: 11px; font-weight: 700; color: var(--c-on-gold); background: var(--g-gold); }
.poster.is-from .poster-art { box-shadow: inset 0 0 0 2px var(--c-amber), var(--shadow-card); }
.posters--video .poster-art { aspect-ratio: 3 / 4; }
@media (hover: hover) and (pointer: fine) {
  .poster:hover .poster-art > img { transform: scale(1.05); }
  .poster:hover .poster-art { box-shadow: inset 0 0 0 1px rgba(232, 181, 77, .55), var(--shadow-card); }
}
/* 그림이 없을 때 글자 판(lp.js thumb) */
.glyph { display: grid; place-content: center; gap: 4px; text-align: center; background: radial-gradient(120% 90% at 50% 0%, rgba(232, 181, 77, .16), var(--c-surface)); color: var(--c-text2); }
.glyph-no { font-family: var(--f-num); font-size: 26px; color: var(--c-gold-hi); line-height: 1; }
.glyph-lv { font-size: 10px; letter-spacing: .12em; }

/* ───────── 3. 플레이 소개(실제 화면) ───────── */
.how { display: grid; gap: 48px; max-width: calc(var(--wrap) + var(--pad) * 2); margin: 0 auto; padding-left: var(--pad) !important; padding-right: var(--pad) !important; }
.how::before { /* 뒤에 깔린 은은한 금빛 스포트라이트 */
  content: ""; position: absolute; z-index: -1; left: 50%; top: 40px; width: min(720px, 100%); height: 620px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(232, 160, 60, .12), transparent); pointer-events: none;
}
.how-phones { position: relative; width: min(100%, 400px); margin: 0 auto; aspect-ratio: 400 / 540; }
.phone {
  position: absolute; overflow: hidden; width: 58%; aspect-ratio: 540 / 1169;
  border-radius: 28px; background: #000;
  box-shadow: 0 0 0 6px #17130f, 0 0 0 7px rgba(255, 226, 180, .22), 0 30px 60px rgba(0, 0, 0, .65);
}
.phone img { width: 100%; height: 100%; object-fit: cover; }
.phone--front { left: 3%; bottom: 2%; z-index: 2; }
.phone--back { right: 3%; top: 2%; transform: rotate(4deg); }
.phone--back img { filter: brightness(.82); }
.steps { display: grid; gap: 26px; }
.steps li { position: relative; padding-top: 14px; border-top: 1px solid var(--c-line); }
.step-no { display: block; font-size: 13px; letter-spacing: .12em; color: var(--c-gold); }
.steps h3 { margin-top: 6px; font-family: var(--f-title), var(--f-sym), serif; font-weight: 800; font-size: 19px; line-height: 1.35; letter-spacing: .06em; }
html[lang='en'] .steps h3 { letter-spacing: .01em; }
.steps p { margin-top: 6px; font-size: 14px; line-height: 1.75; color: var(--c-text2); }
@media (min-width: 600px) { .steps { grid-template-columns: 1fr 1fr; column-gap: 28px; } }
@media (min-width: 960px) {
  .how { grid-template-columns: minmax(380px, 480px) 1fr; align-items: center; gap: 80px; }
  .how-phones { width: 100%; }
  .how::before { left: 24%; }
  .steps { row-gap: 34px; }
}

/* ───────── 4. 레벨: 레벨 포스터(탭) + 20칸 + 확대경 ───────── */
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: var(--wrap); margin: 0 var(--pad); }
@media (min-width: 760px) { .tabs { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
@media (min-width: 1280px) { .tabs, .lv-panel { margin-left: auto !important; margin-right: auto !important; } }
.tab {
  position: relative; isolation: isolate; overflow: hidden; aspect-ratio: 4 / 5;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 4px;
  padding: 14px; border: 0; border-radius: var(--r-card); cursor: pointer; text-align: left;
  background: var(--c-surface); box-shadow: inset 0 0 0 1px var(--c-line), var(--shadow-card);
  transition: box-shadow .2s, transform .2s var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.tab-art, .tab-art > * { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.tab-art img { object-fit: cover; transition: transform .6s var(--ease-out), filter .3s; filter: saturate(.85) brightness(.8); }
.tab::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, .25) 0%, transparent 30%, rgba(11, 10, 9, .55) 58%, rgba(11, 10, 9, .95) 100%); }
.tab-time { position: absolute; top: 12px; left: 12px; }
.tab-name { font-family: var(--f-title), var(--f-sym), serif; font-weight: 800; font-size: clamp(24px, 7vw, 34px); line-height: 1.1; letter-spacing: .08em; color: var(--c-text); }
html[lang='en'] .tab-name { font-size: clamp(18px, 5vw, 27px); letter-spacing: .01em; }
.tab-count { font-size: 13px; line-height: 1.3; color: var(--c-text2); }
.tab[aria-selected='true'] { box-shadow: inset 0 0 0 2px var(--c-amber), 0 12px 30px rgba(243, 154, 43, .18); }
.tab[aria-selected='true'] .tab-art img { filter: none; transform: scale(1.04); }
.tab[aria-selected='true'] .tab-time { background: var(--c-amber); color: #1d1203; border-color: transparent; }
@media (hover: hover) and (pointer: fine) { .tab:hover .tab-art img { filter: none; } }

.lv-panel {
  max-width: var(--wrap); margin: 16px var(--pad) 0; padding: 18px;
  border-radius: 18px; background: var(--c-bg2); box-shadow: inset 0 0 0 1px var(--c-line);
}
.lv-desc { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; margin-bottom: 14px; }
.lv-desc .sheet-line { font-size: 14px; color: var(--c-text); }
.lv-desc .sheet-count { font-family: var(--f-num); font-size: 13px; letter-spacing: .06em; color: var(--c-gold-hi); white-space: nowrap; }
.cells { display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; }
@media (min-width: 760px) { .cells { grid-template-columns: repeat(10, 1fr); gap: 10px; } }
.cells li { min-width: 0; }
.cell {
  position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; min-height: 44px; padding: 0; border: 0; overflow: hidden; cursor: pointer;
  border-radius: 9px; background: var(--c-surface); box-shadow: inset 0 0 0 1px var(--c-line);
  -webkit-tap-highlight-color: transparent;
}
.cell-pic, .cell-pic > * { position: absolute; inset: 0; width: 100%; height: 100%; }
.cell-pic img { object-fit: cover; }
.cell::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .7), transparent 50%); pointer-events: none; }
.cell:not(.is-ready) { background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .03) 0 6px, transparent 6px 12px), var(--c-surface); }
.cell:not(.is-ready)::after { background: none; }
.cell-no { position: absolute; z-index: 1; left: 6px; bottom: 3px; font-family: var(--f-num); font-size: 12.5px; line-height: 1.3; color: #fff; text-shadow: 0 1px 6px #000; }
.cell:not(.is-ready) .cell-no { color: var(--c-text3); text-shadow: none; }
.cell-done { position: absolute; z-index: 1; right: 4px; top: 4px; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; font-size: 11px; font-weight: 700; line-height: 1; color: #08130b; background: var(--c-green); }
.cell-paid { position: absolute; z-index: 1; right: 4px; top: 4px; padding: 1px 5px; border-radius: 5px; font-size: 9.5px; font-weight: 700; line-height: 1.4; color: var(--c-on-gold); background: var(--g-gold); }
.cell-paid--ticket { padding: 2px; border-radius: 50%; line-height: 0; }
.cell-paid--ticket svg { width: 14px; height: 14px; fill: none; stroke: var(--c-on-gold); stroke-width: 2; }
.cell.is-paid .cell-pic img { filter: grayscale(.6) brightness(.7); }
.cell[aria-pressed='true'] { box-shadow: inset 0 0 0 2px var(--c-gold-hi), 0 0 0 1px var(--c-gold); }
@media (hover: hover) and (pointer: fine) { .cell.is-ready:hover { box-shadow: inset 0 0 0 1px rgba(232, 181, 77, .6); } }

.loupe { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--c-line); }
.loupe-text { min-width: 0; flex: 1 1 220px; }
.loupe-no { font-size: 12px; font-weight: 700; letter-spacing: .16em; color: var(--c-gold); }
.loupe-title { margin-top: 2px; font-family: var(--f-title), var(--f-sym), serif; font-weight: 800; font-size: 20px; line-height: 1.35; letter-spacing: .04em; }
.loupe-meta { margin-top: 2px; font-size: 12.5px; color: var(--c-text2); }
.loupe-cta { flex: 0 0 auto; min-width: 150px; }
@media (max-width: 480px) { .loupe-cta { flex: 1 1 100%; } }

/* ───────── 5. 영상 줄 ───────── */
main > .videos { padding-top: 0; }

/* ───────── 6. 코인 ───────── */
.coins { display: grid; gap: 28px; max-width: calc(var(--wrap) + var(--pad) * 2); margin: 0 auto; padding-left: var(--pad) !important; padding-right: var(--pad) !important; }
.coins-art { position: relative; width: min(64vw, 280px); margin: 0 auto; }
.coins-art::before { content: ""; position: absolute; inset: -20%; z-index: -1; background: radial-gradient(closest-side, rgba(232, 170, 60, .28), transparent); }
.coins-art img { width: 100%; height: auto; -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent 100%); mask-image: radial-gradient(closest-side, #000 72%, transparent 100%); } /* 그림 네모 가장자리를 바탕에 녹임 */
.coin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.coin-card {
  display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 16px 14px;
  border-radius: 16px; background: var(--c-surface); border: 1px solid var(--c-line);
}
.coin-card--gold { background: linear-gradient(180deg, rgba(232, 181, 77, .14), rgba(232, 181, 77, .04)); border-color: rgba(232, 181, 77, .38); }
.coin-k { font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--c-gold); }
.coin-n { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px; }
.coin-n b { font-size: 40px; line-height: 1.05; font-weight: 500; color: var(--c-gold-hi); }
.coin-n span { font-size: 13px; font-weight: 700; color: var(--c-text2); }
.coin-n--pack { gap: 2px 5px; }
.coin-n--pack b { font-size: 25px; }
@media (max-width: 480px) { .coin-n--pack b { font-size: 21px; } .coin-n--pack { gap: 2px 3px; } }
.coin-n--pack i { font-style: normal; color: var(--c-text3); }
.coin-d { font-size: 12.5px; line-height: 1.6; color: var(--c-text2); }
.coin-use { margin-top: 16px; font-size: 13.5px; color: var(--c-text2); }
.coin-use b { font-size: 17px; font-weight: 500; color: var(--c-gold-hi); margin: 0 2px; }
.coin-use-note { font-size: 12px; }
@media (max-width: 370px) { .coin-n--pack b { font-size: 19px; } .coin-n b { font-size: 34px; } }
@media (min-width: 760px) { .coin-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 960px) {
  .coins { grid-template-columns: minmax(300px, 420px) 1fr; align-items: center; gap: 72px; }
  .coins-art { width: 100%; }
  .coin-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .coin-card { padding: 20px; }
}

/* ───────── 7. FAQ ───────── */
.faq-list { max-width: 860px; margin: 0 var(--pad); border-top: 1px solid var(--c-line); }
@media (min-width: 940px) { .faq-list { margin: 0 auto; } .faq .sec-head { max-width: 940px; } }
.faq details { border-bottom: 1px solid var(--c-line); }
.faq summary {
  position: relative; display: flex; align-items: center; min-height: 60px; padding: 14px 44px 14px 0;
  font-size: 16px; font-weight: 700; letter-spacing: .03em; line-height: 1.5; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 14px; height: 1.5px; background: var(--c-gold); transition: transform .25s var(--ease-out); }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq details p { padding: 0 8px 20px 0; font-size: 14.5px; line-height: 1.85; color: var(--c-text2); max-width: 46em; }

/* ───────── 8. 마지막 설치 + 새 방 ───────── */
.notify { text-align: center; padding-left: var(--pad) !important; padding-right: var(--pad) !important; overflow: hidden; }
.notify::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(600px 380px at 50% 30%, rgba(232, 160, 60, .14), transparent 70%), linear-gradient(180deg, transparent, var(--c-bg2) 60%, var(--c-bg)); pointer-events: none; }
.notify-hana { width: 148px; height: 148px; margin: 0 auto 22px; border-radius: 50%; overflow: hidden; background: radial-gradient(circle at 50% 35%, #3a2a16, #15100b 70%); box-shadow: 0 0 0 2px rgba(232, 181, 77, .6), 0 0 0 7px rgba(232, 181, 77, .1), 0 20px 50px rgba(232, 160, 60, .2); }
.notify-hana img { width: 100%; height: 100%; object-fit: cover; }
.notify h2 { font-family: var(--f-title), var(--f-sym), serif; font-weight: 800; font-size: clamp(25px, 6vw, 44px); line-height: 1.3; letter-spacing: .06em; }
.notify-body > p { max-width: 32em; margin: 12px auto 0; color: var(--c-text2); }
.notify .cta-row { margin-top: 28px; }
.btn-channel { margin-top: 16px; background: transparent; box-shadow: inset 0 0 0 1px var(--c-line2); color: var(--c-text); }
.ch-tag { padding: 2px 8px; border-radius: 6px; font-size: 12px; font-weight: 700; }
.form { max-width: 440px; margin: 22px auto 0; text-align: left; }
.form label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 700; color: var(--c-text2); }
.form-row { display: flex; gap: 8px; }
.form input { flex: 1; min-width: 0; min-height: 52px; padding: 0 16px; border: 0; border-radius: var(--r-pill); font: inherit; color: var(--c-text); background: var(--c-surface); box-shadow: inset 0 0 0 1px var(--c-line2); }
.form input[aria-invalid='true'] { box-shadow: inset 0 0 0 1px var(--c-red); }
.help { margin-top: 8px; font-size: 12px; color: var(--c-text2); }
.error { margin-top: 8px; font-size: 12.5px; color: var(--c-red); }
.done { margin-top: 18px; color: var(--c-gold-hi); }

/* ───────── 바닥 ───────── */
.foot { padding: 48px var(--pad) calc(110px + env(safe-area-inset-bottom)); text-align: center; border-top: 1px solid var(--c-line); font-size: 12.5px; color: var(--c-text2); }
@media (min-width: 960px) { .foot { padding-bottom: 56px; } }
.foot-mark { display: inline-flex; align-items: baseline; gap: 2px; margin-bottom: 10px; font-family: var(--f-title), serif; font-weight: 800; font-size: 18px; letter-spacing: .1em; color: var(--c-text); }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 4px; margin-top: 14px; }
.foot-legal a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; color: var(--c-text2); text-decoration: underline; text-decoration-color: var(--c-line2); text-underline-offset: 4px; }
.foot-legal a:hover { color: var(--c-text); }
.foot-copy { margin-top: 10px; color: var(--c-text3); font-family: var(--f-num); letter-spacing: .08em; }

/* ───────── 아래 고정 설치 버튼(휴대폰) ───────── */
.dock {
  position: fixed; z-index: 30; left: 0; right: 0; bottom: 0;
  display: flex; justify-content: center;
  padding: 26px var(--pad) calc(14px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, transparent, rgba(11, 10, 9, .9) 45%);
  transform: translateY(110%); transition: transform .35s var(--ease-out);
  pointer-events: none;
}
.dock.show { transform: none; }
.dock.show .store-btn { pointer-events: auto; }
.store-btn--dock { width: 100%; max-width: 380px; justify-content: center; }
@media (min-width: 960px) { .dock { display: none; } }

/* ───────── 알림 · 셔터 ───────── */
.toast {
  position: fixed; z-index: 40; left: 50%; bottom: calc(100px + env(safe-area-inset-bottom));
  max-width: min(90vw, 420px); padding: 12px 18px; font-size: 14px; text-align: center;
  transform: translate(-50%, 16px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .3s var(--ease-out);
}
.toast:empty { display: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.flash { position: fixed; inset: 0; z-index: 50; opacity: 0; pointer-events: none; }
.flash.on { animation: flash .5s var(--ease-out); }
@keyframes flash { 0% { opacity: .55; } 100% { opacity: 0; } }

/* ───────── 움직임 ───────── */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); transition-delay: calc(min(var(--i, 0), 6) * 60ms); }
  .reveal.in { opacity: 1; transform: none; }
  .hero-copy > * { animation: rise .9s var(--ease-out) both; }
  .hero-copy > :nth-child(2) { animation-delay: .08s; }
  .hero-copy > :nth-child(3) { animation-delay: .16s; }
  .hero-copy > :nth-child(n+4) { animation-delay: .24s; }
  .hero-art img { animation: settle 2.4s var(--ease-out) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
@keyframes settle { from { opacity: 0; transform: scale(1.06); } }
@media (prefers-reduced-motion: reduce) {
  .flash { display: none; }
  .dock, .toast, .btn, .store-btn { transition: none; }
}
