/*
 * 그날하늘 v4 — 내가 태어난 날, 하늘은 어땠을까요?
 * 다큐멘터리처럼: 하늘 장면(픽셀 캔버스)이 주인공, 글은 자막처럼 조용하게.
 * 색은 하늘 장면 팔레트(sky.js)에서만 가져와요. 그라디언트·흐림·글로우 없음.
 */
:root {
  /* 하늘 장면 팔레트와 같은 값 */
  --night-0: #080A14;   /* 바탕(영상 하늘과 같은 무채색 남흑) */
  --night-1: #0B0E2A;   /* 면 */
  --night-2: #121640;   /* 눌림·선택 */
  --night-3: #1B2156;
  --night-4: #262E6E;   /* 선 */
  --night-5: #36408A;

  --ink: #E8ECF8;       /* 본문 16.9:1 */
  --ink-2: #A9B2D6;     /* 보조 9.5:1 */
  --ink-3: #8C95C0;     /* 이름표 6.8:1 */
  --moon: #F3EBC8;      /* 주 버튼 바탕, 달 */
  --sun: #FFC94D;       /* 해 */
  --asc: #FF8FB3;       /* 동쪽 지평선(의미 색 전용) */
  --err: #FF7A5C;       /* 입력 오류(동쪽 지평선 핑크와 분리) */
  --planet: #9FE7D8;
  --lamp: #FFB060;

  --font-title: "Gowun Batang", "Noto Serif KR", "AppleMyungjo", serif;           /* 제목·별자리 이름 */
  --font-body: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  --font-pix: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif; /* 자료·숫자(픽셀 글꼴은 뺐어요) */

  --fs-hero: clamp(2.125rem, 1.4rem + 3.6vw, 4rem);   /* 34 → 64 */
  --fs-h1: clamp(1.625rem, 1.35rem + 1.3vw, 2.375rem);
  --fs-sign: clamp(2.75rem, 2.2rem + 2.6vw, 4.25rem);
  --fs-lead: 1.0625rem;
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-label: 0.8125rem;
  --lh-body: 1.75;

  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 72px;
  --r: 2px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --t-fast: 140ms; --t-base: 240ms;
  --h-button: 56px; --h-field: 52px; --h-touch: 44px;
  --w-read: 36rem; --w-page: 72rem;
  --gutter: clamp(16px, 4vw, 40px);
  --focus: 0 0 0 2px var(--night-0), 0 0 0 4px var(--moon);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--night-0); }
body { margin: 0; background: var(--night-0); color: var(--ink); font-family: var(--font-body); font-size: var(--fs-body); line-height: var(--lh-body); word-break: keep-all; overflow-wrap: break-word; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p, dl, dd, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus { outline: none; }
:focus-visible { box-shadow: var(--focus); border-radius: 2px; }
[tabindex="-1"]:focus, [tabindex="-1"]:focus-visible { box-shadow: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: var(--s-3); top: -80px; z-index: 30; background: var(--moon); color: var(--night-0); padding: var(--s-2) var(--s-3); }
.skip-link:focus { top: var(--s-3); }
.nb { white-space: nowrap; }
.label { display: block; font-family: var(--font-pix); font-size: 12px; color: var(--ink-3); line-height: 1.5; letter-spacing: .02em; }

/* ── 틀 ─────────────────────────────────────── */
.screen { width: 100%; max-width: calc(var(--w-page) + var(--gutter) * 2); margin: 0 auto; padding: var(--s-2) var(--gutter) var(--s-7); min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.screen--read { max-width: calc(var(--w-read) + var(--gutter) * 2); }
.screen > main { flex: 1; display: flex; flex-direction: column; }
.topbar { position: relative; z-index: 2; display: flex; align-items: center; gap: var(--s-3); min-height: 56px; margin-bottom: var(--s-4); }
.topbar__end { margin-left: auto; display: flex; align-items: center; gap: var(--s-3); white-space: nowrap; }
.logo { display: inline-flex; width: 92px; color: var(--ink); text-decoration: none; padding: 4px 0; }
.logo svg { width: 100%; height: auto; }
.textlink { display: inline-flex; align-items: center; gap: 6px; min-height: var(--h-touch); padding: 0 2px; background: none; border: 0; cursor: pointer; color: var(--ink-2); font-size: var(--fs-small); text-decoration: underline; text-decoration-color: var(--night-5); text-underline-offset: 4px; }
.textlink:hover { color: var(--ink); text-decoration-color: currentColor; }

/* ── 버튼: 달빛 한 가지 ───────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2); min-height: var(--h-button); padding: 0 var(--s-6); border: 1px solid var(--moon); border-radius: var(--r); background: var(--moon); color: var(--night-0); font-weight: 600; font-size: var(--fs-lead); letter-spacing: -.01em; text-decoration: none; cursor: pointer; transition: background-color var(--t-fast), color var(--t-fast); -webkit-tap-highlight-color: transparent; }
.btn::after { content: ""; width: 7px; height: 7px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); margin-left: 4px; transition: transform var(--t-base) var(--ease); }
.btn:hover { background: #fff; }
.btn:hover::after { transform: translateX(3px) rotate(45deg); }
.btn--block { width: 100%; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--night-5); }
.btn--ghost:hover { background: var(--night-2); }
.btn--ghost::after { display: none; }
.btn:disabled, .btn[aria-busy="true"] { opacity: .7; cursor: progress; }

/* ── 하늘 무대 (캔버스) ───────────────────────── */
.stage, .hero__stage { position: relative; overflow: hidden; background: var(--night-0); }
.stage__cv { position: absolute; inset: 0; width: 100%; height: 100%; }   /* 23차: 픽셀 확대(pixelated) 제거 — 폰에서 계단처럼 깨져 보였어요 */
/* 자막(로어서드): 픽셀 글꼴, 한 줄 */
.lower { display: inline-flex; align-items: center; gap: var(--s-2); font-family: var(--font-pix); font-size: 12px; line-height: 1.5; color: var(--ink); letter-spacing: .02em; }
.lower--stage { position: absolute; left: var(--s-3); bottom: var(--s-3); right: var(--s-3); z-index: 1; flex-wrap: wrap; text-shadow: 1px 1px 0 var(--night-0); }
.lower__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--sun); }
@keyframes blink { 50% { opacity: 0; } }
.kind { display: inline-flex; align-items: center; padding: 1px 6px; border: 1px solid currentColor; font-family: var(--font-pix); font-size: 11px; line-height: 1.4; background: var(--night-0); color: var(--ink); text-shadow: none; }
.kind--diagram { border-style: dashed; color: var(--ink-2); }

/* ── 0. 첫 화면: 영상의 첫 장면(스토리와 같은 고정 비율 화면) ─────── */
.film--home { --fw: min(100vw, (100svh - 170px) * 9 / 16); }
@media (min-aspect-ratio: 1 / 1) { .film--home { --fw: min(100vw - 48px, (100svh - 170px) * 16 / 9, 1440px); } }
.film--home:is(.v-c, .v-d, .v-e, .v-f) { --fw: min(100vw, (100svh - 84px) * 9 / 16); }   /* C: 버튼이 장면 안이라 아래 띠가 없어요 */
@media (min-aspect-ratio: 1 / 1) { .film--home:is(.v-c, .v-d, .v-e, .v-f) { --fw: min(100vw - 48px, (100svh - 96px) * 16 / 9, 1440px); } }
.hero { position: relative; }
.hero__stage { position: absolute; inset: 0; }
.hero__now { position: absolute; left: 6%; top: 5.5%; margin: 0; z-index: 1; font-family: var(--font-body); font-size: max(11px, 3cqw); color: #A9B2D6; letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.hero__copy { position: absolute; left: 8%; right: 8%; bottom: 8%; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.hero__title { margin: 0; font-family: var(--font-title); font-weight: 700; font-size: 8cqw; line-height: 1.22; letter-spacing: -.03em; white-space: pre-line; word-break: keep-all; outline: none; }
.hero__lead { margin: 0; font-size: max(13px, 3.8cqw); line-height: 1.55; color: var(--ink-2); }
.hero__nav { align-items: center; }
.hero__nav .btn { white-space: nowrap; flex: none; }
.hero__note { margin: 0; font-size: 12px; color: #8C95C0; }
.colophon { width: var(--fw); margin: 0; padding: 0 var(--gutter) calc(16px + env(safe-area-inset-bottom)); font-size: 11px; letter-spacing: .04em; color: #5E6796; text-align: center; font-variant-numeric: tabular-nums; }
@media (min-aspect-ratio: 1 / 1) {
  .hero__now { font-size: max(11px, .95cqw); left: 4%; top: 6%; }
  .hero__copy { bottom: 9%; gap: 12px; }
  .hero__title { font-size: max(30px, 3.6cqw); }
  .hero__lead { font-size: max(14px, 1.25cqw); }
}
/* 인트로: 지구에서 물러난 뒤 지금 → 제목 → 설명 → 버튼 순서로 */
.film--home .film__stage { transition: opacity 300ms ease-out; }
.is-intro .hero__now, .is-intro .hero__title, .is-intro .hero__lead, .is-intro .hero__nav, .is-intro .colophon { opacity: 0; }
/* A: 해 뜨고 물러난 뒤 제목(아래) · B: 지구에 머물며 제목이 위쪽에 바로 */
.is-intro.go.v-a .hero__now { animation: rise 500ms ease-out 2.4s both; }
.is-intro.go.v-a .hero__title { animation: rise 600ms ease-out 2.0s both; }
.is-intro.go.v-a .hero__lead { animation: rise 500ms ease-out 2.5s both; }
.is-intro.go.v-a .hero__nav, .is-intro.go.v-a .colophon { animation: rise 400ms ease-out 3.0s both; }
.is-intro.go.v-b .hero__now { animation: rise 500ms ease-out .9s both; }
.is-intro.go.v-b .hero__title { animation: rise 600ms ease-out 1.0s both; }
.is-intro.go.v-b .hero__lead { animation: rise 500ms ease-out 1.5s both; }
.is-intro.go.v-b .hero__nav, .is-intro.go.v-b .colophon { animation: rise 400ms ease-out 2.0s both; }
.is-intro.skip .hero__now, .is-intro.skip .hero__title, .is-intro.skip .hero__lead, .is-intro.skip .hero__nav, .is-intro.skip .colophon { animation: none; opacity: 1; }
.is-intro.go:is(.v-c, .v-d, .v-e, .v-f) .hero__now { animation: rise 500ms ease-out 2.0s both; }
.is-intro.go:is(.v-c, .v-d, .v-e, .v-f) .hero__title { animation: rise 600ms ease-out 1.2s both; }
.is-intro.go:is(.v-c, .v-d, .v-e, .v-f) .hero__lead { animation: rise 500ms ease-out 1.6s both; }
.is-intro.go:is(.v-c, .v-d, .v-e, .v-f) .hero__nav { animation: rise 300ms ease-out 2.2s both; }
.is-intro.go.v-f .hero__title { animation-delay: 1.5s; } .is-intro.go.v-f .hero__lead { animation-delay: 1.8s; } .is-intro.go.v-f .hero__nav { animation-delay: 2.3s; }
.v-b .hero__copy, .v-c .hero__copy, .v-d .hero__copy, .v-e .hero__copy, .v-f .hero__copy { bottom: auto; top: 17%; }
.v-c .hero__copy { top: 20%; }
.v-d .hero__copy, .v-e .hero__copy { top: 11%; }
.v-d .hero__title, .v-e .hero__title { font-size: 7.2cqw; }
.v-f .hero__copy { top: 14%; }
.v-b .hero__now { top: auto; bottom: 4%; left: 6%; }
/* C: 버튼은 장면 안, 지구 밤 면 위 가운데 */
.hero__cta { position: absolute; left: 6%; right: 6%; bottom: 6.5%; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.hero__cta .hero__note { margin: 0; font-size: 12px; color: rgba(169, 178, 214, .75); letter-spacing: .01em; text-align: center; }
.btn--hero { min-height: 52px; padding: 0 28px; gap: 8px; font-size: 16px; font-weight: 600; transition: background-color 150ms, border-color 150ms, color 150ms, transform 100ms; }
.btn--hero::after { display: none; }
.btn--hero:active { transform: scale(.98); }
.btn--hero:focus-visible { outline: 2px solid #FFC94D; outline-offset: 3px; }
.btn--fill { background: #EDE3C4; border-color: #EDE3C4; color: #05060C; border-radius: 2px; }
.btn--fill:hover { background: #F6EDD0; border-color: #F6EDD0; }
.btn__ico { width: 16px; height: 16px; flex: none; transition: transform 200ms ease; }
.btn--fill:hover .btn__ico { transform: rotate(-30deg); }
.btn--line { background: rgba(9, 11, 18, .4); border: 1px solid rgba(242, 239, 232, .5); color: #F2EFE8; border-radius: 26px; }
.btn--line:hover { background: rgba(9, 11, 18, .4); border-color: #FFC94D; }
.btn--line:active { background: rgba(255, 201, 77, .14); }
.btn__dot { width: 6px; height: 6px; border-radius: 50%; background: #FFC94D; flex: none; box-shadow: 0 0 0 0 rgba(255, 201, 77, .25); transition: box-shadow 150ms; }
.btn--line:hover .btn__dot { box-shadow: 0 0 0 4px rgba(255, 201, 77, .25); }
.leaving .hero__copy, .leaving .hero__cta, .leaving .hero__now { opacity: 0 !important; transition: opacity 300ms ease; animation: none !important; }
@media (min-aspect-ratio: 1 / 1) { .v-b .hero__copy { top: 16%; } .v-c .hero__copy { top: 18%; } .v-c .hero__cta { bottom: auto; top: 47%; }   /* PC: 제목·부제·버튼이 한 축으로 */
    .v-d .hero__copy, .v-e .hero__copy { left: 7%; right: auto; width: 38%; top: 30%; align-items: flex-start; text-align: left; }   /* PC D·E: 왼쪽 단에 글, 오른쪽에 그림 */
    .v-d .hero__title, .v-e .hero__title { font-size: max(30px, 3.4cqw); }
    .v-d .hero__cta, .v-e .hero__cta { left: 7%; right: auto; top: 60%; bottom: auto; align-items: flex-start; }
    .v-d .hero__cta .hero__note, .v-e .hero__cta .hero__note { text-align: left; } .btn--hero { font-size: 17px; } }
.abtest { display: inline-flex; margin-right: 14px; border: 1px solid rgba(232, 236, 248, .2); border-radius: 14px; overflow: hidden; }
.abtest button { min-width: 28px; min-height: 28px; border: 0; background: transparent; color: #8C95C0; font: inherit; font-size: 12px; cursor: pointer; }
.abtest button[aria-pressed="true"] { background: rgba(232, 236, 248, .14); color: var(--ink); }
@keyframes rise { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .is-intro .hero__now, .is-intro .hero__title, .is-intro .hero__lead, .is-intro .hero__nav, .is-intro .colophon { animation: none; } }

/* ── 1. 입력 ─────────────────────────────────── */
.pagehead { margin-bottom: var(--s-6); }
.pagehead .label { margin-bottom: var(--s-2); }
.h1 { font-family: var(--font-title); font-weight: 700; font-size: var(--fs-h1); line-height: 1.3; letter-spacing: -.015em; }
.sub { margin-top: var(--s-2); color: var(--ink-2); }
.form { display: flex; flex-direction: column; }
.group { border: 0; margin: 0; padding: var(--s-5) 0; min-width: 0; display: grid; gap: var(--s-3); border-top: 1px solid var(--night-4); }
.group > legend { float: left; width: 100%; padding: 0; display: flex; align-items: baseline; gap: var(--s-3); }
.group > legend + * { clear: both; }
.group__no { font-family: var(--font-pix); font-size: 12px; color: var(--ink-3); }
.group__t { font-family: var(--font-title); font-weight: 700; font-size: 1.25rem; }
.group__opt { font-size: var(--fs-small); color: var(--ink-3); margin-left: auto; }
.seg { display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; width: 100%; max-width: 15rem; border: 1px solid var(--night-5); }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label { display: flex; align-items: center; justify-content: center; min-height: var(--h-touch); cursor: pointer; color: var(--ink-2); }
.seg label + input + label { border-left: 1px solid var(--night-5); }
.seg input:checked + label { background: var(--moon); color: var(--night-0); font-weight: 600; }
.seg input:focus-visible + label { box-shadow: inset 0 0 0 3px var(--moon); }
.fields { display: flex; gap: var(--s-2); align-items: flex-end; flex-wrap: wrap; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > span { font-size: var(--fs-label); color: var(--ink-2); }
.field--y { flex: 1.5 1 6.5rem; }
.field--m, .field--d { flex: 1 1 4.25rem; }
.field--grow { flex: 1 1 9rem; }
.control { width: 100%; min-height: var(--h-field); padding: 0 var(--s-3); border: 1px solid var(--night-5); border-radius: var(--r); background: var(--night-1); color: var(--ink); font-size: 1.125rem; font-variant-numeric: tabular-nums; appearance: none; -webkit-appearance: none; transition: border-color var(--t-fast); }
.control:hover { border-color: var(--ink-3); }
select.control { font-size: var(--fs-body); padding-right: 34px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23A9B2D6' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
select.control option { background: var(--night-1); color: var(--ink); }
.control::placeholder { color: var(--ink-3); opacity: 1; font-size: var(--fs-body); }
.control:focus-visible { border-color: var(--moon); box-shadow: 0 0 0 1px var(--moon); }
.control[aria-invalid="true"] { border-color: var(--err); }
.control:disabled { border-style: dashed; color: var(--ink-3); background: transparent; cursor: not-allowed; }
.check { display: inline-flex; align-items: center; gap: 10px; min-height: var(--h-touch); cursor: pointer; align-self: flex-start; }
.check input { width: 20px; height: 20px; margin: 0; accent-color: var(--moon); flex: none; }
.hint { font-size: var(--fs-small); color: var(--ink-2); line-height: 1.65; }
.error { display: flex; gap: 8px; align-items: flex-start; font-size: var(--fs-small); color: var(--err); line-height: 1.6; }
.error::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: .6em; border-radius: 50%; background: currentColor; }
.submitrow { padding-top: var(--s-5); border-top: 1px solid var(--night-4); display: flex; flex-direction: column; gap: var(--s-3); }
.privacy { font-size: var(--fs-small); color: var(--ink-2); line-height: 1.6; display: flex; gap: 10px; }
.privacy svg { flex: none; margin-top: 3px; }

/* ── 2. 하늘 맞추기 ─────────────────────────── */
.steps { display: flex; gap: 4px; }
.steps i { width: 14px; height: 3px; background: var(--night-4); }
.steps i.on { background: var(--moon); }
.stepnum { font-family: var(--font-pix); font-size: 12px; color: var(--ink-2); }
.screen--stage { padding-top: var(--s-2); }
.screen > main.story { display: grid; gap: var(--s-5); align-content: start; }
.story__art { margin: 0 calc(var(--gutter) * -1); }
.stage { height: 56vh; height: 56svh; min-height: 300px; max-height: 620px; }
.found { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--night-4); }
.found > div { padding: var(--s-2) var(--gutter); min-width: 0; }
.found > div + div { border-left: 1px solid var(--night-4); padding-left: var(--s-4); }
.found b { display: block; font-family: var(--font-title); font-weight: 700; font-size: 1.25rem; min-height: 1.6em; }
.found .empty { font-family: var(--font-body); font-weight: 400; font-size: var(--fs-small); color: var(--ink-3); }
.found .flash { animation: flash 900ms steps(6, end); }
@keyframes flash { 0%, 33%, 66% { color: var(--asc); } 17%, 50%, 100% { color: var(--ink); } }
.story__text .h1 { margin-top: var(--s-2); }
.story__body { margin-top: var(--s-4); display: flex; flex-direction: column; gap: var(--s-3); font-size: var(--fs-lead); color: var(--ink-2); max-width: 32em; }
.story__body strong { color: var(--ink); }
.story__body .result { display: flex; align-items: baseline; gap: var(--s-3); padding: var(--s-2) 0; border-top: 1px solid var(--night-4); border-bottom: 1px solid var(--night-4); }
.story__body .result .label { flex: none; }
.story__body .result strong { font-family: var(--font-title); font-size: 1.5rem; }
.story__alt { margin-top: var(--s-2); }
.navrow { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: var(--s-4); margin-top: var(--s-5); }
.navrow--single { grid-template-columns: 1fr; }
@media (min-width: 900px) {
  .screen > main.story { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: var(--s-7); align-items: start; }
  .story__art { margin: 0; position: sticky; top: var(--s-4); }
  .stage { height: 72vh; max-height: 760px; }
  .found > div:first-child { padding-left: 0; }
  .story__text { padding-top: var(--s-4); }
  .navrow { grid-template-columns: auto minmax(0, 18rem); justify-content: space-between; }
  .navrow--single { grid-template-columns: minmax(0, 18rem); justify-content: end; }
}

/* ── 3. 결과 ─────────────────────────────────── */
.tabs { display: flex; margin-bottom: var(--s-4); overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--night-4); }
.tabs::-webkit-scrollbar { display: none; }
.tabs a { flex: 1 0 auto; display: flex; flex-direction: column; padding: var(--s-2) var(--s-3) var(--s-2) 0; min-height: var(--h-touch); text-decoration: none; color: var(--ink-3); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs a + a { padding-left: var(--s-3); }
.tabs .t { font-family: var(--font-pix); font-size: 11px; }
.tabs b { font-size: var(--fs-small); font-weight: 600; }
.tabs a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--moon); }
.tabs a:hover { color: var(--ink); }
.result { --tone: var(--sun); }
.result--asc { --tone: var(--asc); }
.result--moon { --tone: var(--moon); }
.result__grid { display: grid; gap: var(--s-5); }
.result__stage { margin: 0 calc(var(--gutter) * -1); }
.stage--card { height: 46vh; height: 46svh; min-height: 260px; max-height: 520px; }
.result__body { display: flex; flex-direction: column; gap: var(--s-4); }
.eyebrow { font-size: var(--fs-small); color: var(--ink-2); }
.eyebrow b { color: var(--tone); font-weight: 600; }
.sign { font-family: var(--font-title); font-weight: 700; font-size: var(--fs-sign); line-height: 1.1; letter-spacing: -.02em; margin-top: calc(var(--s-3) * -1); }
.sign--two { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 var(--s-3); font-size: clamp(2.125rem, 1.8rem + 1.6vw, 3rem); }
.sign--two small { font-family: var(--font-body); font-weight: 400; font-size: var(--fs-body); color: var(--ink-3); }
.sign--miss { font-size: var(--fs-h1); line-height: 1.35; margin-top: 0; }
.headline { font-family: var(--font-title); font-size: clamp(1.25rem, 1.1rem + .7vw, 1.625rem); line-height: 1.45; text-wrap: balance; }
.dataline { font-family: var(--font-pix); font-size: 12px; color: var(--tone); letter-spacing: .02em; line-height: 1.6; }
.lead { color: var(--ink-2); }
.choices { display: grid; gap: var(--s-3); }
.choices p { display: grid; gap: 2px; }
.choice__when { font-family: var(--font-pix); font-size: 12px; color: var(--tone); }
.side__h { margin-top: var(--s-3); font-family: var(--font-title); font-size: 1.25rem; }
.notice { padding: var(--s-3) var(--s-4); border-left: 2px solid var(--asc); background: var(--night-1); font-size: var(--fs-small); line-height: 1.7; color: var(--ink-2); }
.notice__k { font-family: var(--font-pix); font-size: 12px; color: var(--asc); margin-bottom: 4px; }
.traits { display: grid; border-top: 1px solid var(--night-4); }
.trait { display: grid; grid-template-columns: 5.25rem 1fr; gap: var(--s-3); padding: var(--s-3) 0; border-bottom: 1px solid var(--night-3); }
.trait dt { font-family: var(--font-pix); font-size: 12px; padding-top: 4px; }
.trait dt.good { color: var(--tone); }
.trait dt.weak { color: var(--ink-3); }
.trait dd { color: var(--ink); }
.more { border-bottom: 1px solid var(--night-3); }
.more summary { cursor: pointer; min-height: 52px; display: flex; align-items: center; gap: var(--s-2); font-weight: 600; list-style: none; }
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: "+"; margin-left: auto; font-family: var(--font-pix); color: var(--ink-3); }
.more[open] summary::after { content: "−"; }
.more p, .more dl { padding-bottom: var(--s-4); line-height: 1.8; color: var(--ink-2); }
.basis dl { display: grid; gap: 4px; font-size: var(--fs-small); }
.basis dt { font-family: var(--font-pix); font-size: 12px; color: var(--ink-3); margin-top: var(--s-2); }
.next { margin-top: var(--s-7); display: grid; gap: var(--s-3); max-width: var(--w-read); }
.next__q > span { font-family: var(--font-pix); font-size: 12px; color: var(--ink-3); }
.next__q b { display: block; font-family: var(--font-title); font-size: 1.25rem; line-height: 1.4; }
.next__row { display: grid; grid-template-columns: auto 1fr; gap: var(--s-4); align-items: center; }
@media (min-width: 900px) {
  .result__grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: var(--s-7); align-items: start; }
  .result__stage { margin: 0; position: sticky; top: var(--s-4); }
  .stage--card { height: 70vh; max-height: 700px; }
  .next { margin-left: auto; width: 100%; }
}

/* ── 4. 행성 지도 ───────────────────────────── */
.mapwrap { display: grid; gap: var(--s-6); }
.mappage { border: 1px solid var(--night-4); background: var(--night-1); }
.mappage .draw svg { width: 100%; height: auto; max-width: 560px; margin: 0 auto; }
.draw__cap { display: flex; flex-wrap: wrap; align-items: center; gap: 4px var(--s-3); padding: var(--s-2) var(--s-3); border-top: 1px solid var(--night-4); font-family: var(--font-pix); font-size: 12px; color: var(--ink-2); }
.sky-bg { fill: url(#hatch-sky); }
.sky-line { fill: none; stroke: var(--ink-2); }
.sky-dim { fill: none; stroke: var(--night-5); }
.sky-text { fill: var(--ink); font-family: var(--font-body); }
.sky-text--dim { fill: var(--ink-3); }
.sky-data { fill: var(--ink-3); font-family: var(--font-body); }
.sky-hand { fill: var(--ink); font-family: var(--font-pix); paint-order: stroke; stroke: var(--night-1); stroke-width: 3px; }
.mk:hover circle { stroke-width: 2.6; }
.legend { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); margin-top: var(--s-3); font-size: var(--fs-label); color: var(--ink-2); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { display: inline-block; width: 18px; height: 10px; background: var(--night-3); border: 1px solid var(--ink-2); }
.legend i.ring { background: var(--night-1); border-radius: 50%; width: 13px; height: 13px; }
.legend i.dash { background: transparent; border: 0; border-top: 1px dashed var(--night-5); height: 0; }
.legend i.dash--red { border-top-color: var(--err); }
.legend i.line { background: transparent; border: 0; border-top: 2px solid var(--ink); height: 0; }
.mapnote { padding: var(--s-3) var(--s-4); border-left: 2px solid var(--asc); background: var(--night-1); font-size: var(--fs-small); line-height: 1.7; color: var(--ink-2); margin-bottom: var(--s-5); }
.sect { margin-top: var(--s-6); }
.sect:first-child { margin-top: 0; }
.sect__h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px var(--s-3); padding-bottom: var(--s-2); border-bottom: 1px solid var(--night-4); }
.sect__h h2 { font-family: var(--font-title); font-weight: 700; font-size: 1.25rem; }
.sect__h p { font-size: var(--fs-label); color: var(--ink-3); }
.row { border-bottom: 1px solid var(--night-3); }
.row__btn { width: 100%; display: grid; grid-template-columns: 34px minmax(0, 1fr) auto 18px; gap: var(--s-3); align-items: center; padding: var(--s-3) 0; min-height: 62px; background: none; border: 0; text-align: left; cursor: pointer; color: var(--ink); }
.row__btn--noicon { grid-template-columns: minmax(0, 1fr) auto 18px; }
.row__ico { width: 34px; height: 34px; color: var(--ink); }
.row__name { font-weight: 600; }
.row__role { font-size: var(--fs-label); color: var(--ink-3); margin-left: 6px; }
.row__line { display: block; font-size: var(--fs-small); color: var(--ink-2); line-height: 1.5; }
.row__pos { font-family: var(--font-pix); font-size: 12px; text-align: right; white-space: nowrap; }
.row__pos small { display: block; color: var(--ink-3); font-size: 11px; }
.row__chev { width: 18px; height: 18px; color: var(--ink-3); transition: transform var(--t-base) var(--ease); }
.row__btn[aria-expanded="true"] .row__chev { transform: rotate(180deg); }
.row__btn[aria-expanded="true"] { box-shadow: inset 2px 0 0 var(--moon); padding-left: 10px; }
.tag { display: inline-block; font-family: var(--font-pix); font-size: 11px; padding: 0 5px; border: 1px solid currentColor; line-height: 16px; margin-left: 6px; vertical-align: 1px; }
.tag--retro { color: var(--ink-2); }
.tag--flow { color: var(--planet); }
.tag--tension { color: var(--err); }
.tag--conj { color: var(--ink-2); }
.detail { padding: var(--s-2) 0 var(--s-5) 46px; display: grid; gap: var(--s-4); }
.facet { border-left: 1px solid var(--night-5); padding-left: var(--s-4); }
.facet .label { margin-bottom: 2px; }
.facet__h { font-weight: 600; line-height: 1.45; }
.facet dl { margin-top: var(--s-2); display: grid; grid-template-columns: auto 1fr; gap: 6px var(--s-3); font-size: var(--fs-small); }
.facet dt { color: var(--ink-3); }
.facet p { font-size: var(--fs-small); line-height: 1.75; margin-top: var(--s-2); color: var(--ink-2); }
.facet .note { color: var(--ink-3); font-size: var(--fs-small); }
.facet ul li { padding: 6px 0; border-top: 1px solid var(--night-3); font-size: var(--fs-small); }
.facet ul li:first-child { border-top: 0; }
@media (min-width: 900px) {
  .mapwrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-7); align-items: start; }
  .mapfig { position: sticky; top: var(--s-4); }
}

/* ── 5. 저장 ───────────────────────────────────── */
dialog.sheet { width: min(94vw, 32rem); max-height: 94vh; padding: var(--s-5); border: 1px solid var(--night-5); background: var(--night-1); color: var(--ink); }
dialog.sheet::backdrop { background: rgba(6, 7, 26, .8); }
dialog.sheet .h1 { font-size: 1.5rem; }
.sheet__img { width: 100%; max-height: 50vh; object-fit: contain; background: var(--night-0); border: 1px solid var(--night-4); margin-top: var(--s-3); }
.sheet__actions { display: grid; gap: var(--s-2); margin-top: var(--s-4); }
.sheet__status { min-height: 1.5em; font-size: var(--fs-small); color: var(--ink-2); margin-top: var(--s-3); }
.pick { display: grid; border: 1px solid var(--night-5); margin: var(--s-3) 0 0; }
.pick label { display: grid; grid-template-columns: 20px 1fr; gap: var(--s-3); padding: var(--s-3); cursor: pointer; }
.pick label:has(input:checked) { background: var(--night-2); }
.pick label + label { border-top: 1px solid var(--night-4); }
.pick input { margin: 3px 0 0; accent-color: var(--moon); width: 18px; height: 18px; }
.pick b { display: block; font-weight: 600; }
.pick label > span > span { font-size: var(--fs-small); color: var(--ink-2); }
.textresult { margin-top: var(--s-3); padding: var(--s-3); background: var(--night-0); border: 1px solid var(--night-4); font-size: var(--fs-small); white-space: pre-wrap; font-family: var(--font-body); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; transition-duration: 1ms !important; }
}
@media (forced-colors: active) {
  .btn, .seg input:checked + label { border: 2px solid CanvasText; }
  .stage, .hero__stage { border: 1px solid CanvasText; }
}

/* ── 문구 편집 모드 (편집 권한이 있는 사람에게만 보여요) ── */
.ed { --sheet: #0B0E1C; position: fixed; z-index: 50; right: 16px; bottom: 16px; font-family: var(--font-body); font-size: 13px; line-height: 1.5; color: var(--ink); }
.ed button, .ed select { font: inherit; color: inherit; }
.ed__pill { min-height: 40px; padding: 0 16px; border: 1px solid var(--ink); background: var(--sheet); font-weight: 600; cursor: pointer; box-shadow: none; }
.ed__panel { width: 300px; padding: 14px 16px 16px; background: var(--sheet); border: 1px solid var(--ink); box-shadow: none; }
.ed__head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 10px; margin-bottom: 10px; border-bottom: 1px solid var(--night-4); }
.ed__head b { font-size: 14px; }
.ed__quit { border: 0; background: none; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 6px 0; }
.ed__row { display: grid; grid-template-columns: 40px 1fr; align-items: center; gap: 8px; margin-bottom: 8px; }
.ed__row > label, .ed__row > span:first-child { color: var(--ink-3); font-weight: 600; }
.ed__select { height: 34px; padding: 0 8px; border: 1px solid var(--night-4); background: var(--night-0); }
.ed__seg { display: flex; border: 1px solid var(--night-4); }
.ed__seg label { flex: 1; display: flex; align-items: center; justify-content: center; gap: 4px; height: 32px; cursor: pointer; }
.ed__seg label + label { border-left: 1px solid var(--night-4); }
.ed__seg input { position: absolute; opacity: 0; pointer-events: none; }
.ed__seg label:has(input:checked) { background: var(--plate); color: #fff; }
.ed__seg label:has(input:focus-visible) { outline: 2px solid var(--sun); outline-offset: -2px; }
.ed__hint { margin: 4px 0 8px; color: var(--ink-2); font-size: 12px; line-height: 1.55; }
.ed__status { min-height: 1.5em; margin: 0 0 10px; font-size: 12px; color: var(--plate); font-weight: 600; }
.ed__actions { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
.ed__actions button { height: 36px; border: 1px solid var(--ink); background: var(--night-0); cursor: pointer; }
.ed__actions button:disabled { opacity: .4; cursor: default; }
.ed__actions .ed__save { background: var(--plate); border-color: var(--plate); color: #fff; font-weight: 700; }
@media (max-width: 520px) {
  .ed { left: 0; right: 0; bottom: 0; }
  .ed__pill { position: absolute; right: 12px; bottom: 12px; }
  .ed__panel { width: auto; border-width: 1px 0 0; box-shadow: 0 -2px 12px rgba(21,23,30,.12); padding-bottom: calc(14px + env(safe-area-inset-bottom)); }
  .ed__hint { display: none; }
}
body.editing { padding-bottom: 300px; }
body.editing .cp { outline: 1px dashed rgba(30, 58, 110, .45); outline-offset: 2px; cursor: text; }
body.editing .cp.is-changed { outline-color: var(--sun); }
body.editing .cp:focus { outline: 2px solid var(--plate); background: rgba(227, 150, 47, .12); }
body.editing .plate .cp, body.editing .btn .cp { outline-color: rgba(233, 238, 247, .6); }
body.editing .plate .cp:focus, body.editing .btn .cp:focus { outline-color: #fff; background: rgba(255, 255, 255, .14); }
body.editing .cv { padding: 0 3px; background: rgba(30, 58, 110, .12); border-radius: 3px; cursor: default; user-select: none; }
body.editing .plate .cv, body.editing .btn .cv { background: rgba(255, 255, 255, .18); }

dialog.edlist { width: min(96vw, 44rem); }
.edlist__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.edlist__head h2 { font-family: var(--font-display); font-size: 1.375rem; line-height: 1.3; }
.edlist .hint { margin: 8px 0 12px; }
.edlist #edl-q { width: 100%; margin-bottom: 8px; }
.edlist__group h3 { margin: 24px 0 8px; font-size: 13px; font-weight: 700; color: var(--ink-3); }
.edlist__item { padding: 10px 0; border-top: 1px solid var(--night-4); }
.edlist__meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.edlist__meta code { font-family: var(--font-data); font-size: 11.5px; color: var(--ink-3); }
.edlist__item.is-changed .edlist__meta code { color: var(--sun-ink); }
.edlist__reset { border: 0; background: none; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; color: var(--ink-2); cursor: pointer; }
.edlist textarea { width: 100%; min-height: 40px; resize: vertical; padding: 8px 10px; font: inherit; font-size: 15px; line-height: 1.6; height: auto; overflow: hidden; }

/* ── 하늘 맞추기: 고정 비율 영상 화면(모바일 9:16, 넓은 화면 16:9) + 다큐멘터리 자막 ───────────── */
.film { --fw: min(100vw, (100svh - 140px) * 9 / 16); position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; align-items: center; background: #000; }
@media (min-aspect-ratio: 1 / 1) { .film { --fw: min(100vw - 48px, (100svh - 140px) * 16 / 9, 1440px); } }
.film > .topbar { width: var(--fw); padding: 10px var(--gutter) 8px; margin: 0; }
.film__skip { font-size: 13px; color: #8C95C0; text-decoration: none; }
.film__frame { position: relative; width: var(--fw); aspect-ratio: 9 / 16; overflow: hidden; background: #06070F; container-type: inline-size; cursor: pointer; }
@media (min-aspect-ratio: 1 / 1) { .film__frame { aspect-ratio: 16 / 9; } }
.film__stage { position: absolute; inset: 0; }
.film__progress { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: rgba(232, 236, 248, .12); }
.film__progress i { display: block; height: 100%; background: rgba(242, 239, 232, .7); }
/* 장 제목: 다큐의 챕터 표시처럼 왼쪽 위에 잠깐 */
.film__slug { position: absolute; left: 6%; top: 5.5%; margin: 0; font-family: var(--font-body); font-weight: 600; font-size: max(12px, 3.3cqw); letter-spacing: .02em; color: #A9B2D6; animation: slug 3.2s var(--ease) both; outline: none; }
@keyframes slug { 0% { opacity: 0; } 12% { opacity: 1; } 75% { opacity: 1; } 100% { opacity: 0; } }
/* 자막: 바닥만 어둡게(스크림), 그림자·박스 없이 */
.film__scrim { position: absolute; left: 0; right: 0; bottom: 0; height: 34%; background: linear-gradient(to top, rgba(3, 4, 10, .88) 0%, rgba(3, 4, 10, .6) 45%, rgba(3, 4, 10, 0) 100%); pointer-events: none; }
.film__subs { position: absolute; left: 8%; right: 8%; bottom: 10%; display: grid; justify-items: center; text-align: center; }
.film__line { grid-area: 1 / 1; align-self: end; margin: 0; font-family: var(--font-body); font-weight: 500; font-size: 4.6cqw; line-height: 1.5; letter-spacing: -.01em; color: #F2EFE8; white-space: pre-line; word-break: keep-all; text-shadow: 0 0 12px rgba(3, 4, 10, .5); font-variant-numeric: tabular-nums; opacity: 0; transition: opacity 150ms ease-in; }
.film__line.on { opacity: 1; transition: opacity 240ms ease-out 230ms; } /* 앞 자막이 사라지고 잠깐 쉰 뒤 다음 자막 — 겹치지 않게, 움직이지 않게 */
.film__subs:has(.stay) { display: flex; flex-direction: column; gap: 6px; }
.film__line.stay { position: static; font-size: 3.8cqw; }
/* 출처: 방송의 자료 표기처럼 오른쪽 아래 구석에 작게 */
.film__src { position: absolute; right: 5%; bottom: 3%; margin: 0; font-size: max(10px, 2.6cqw); color: #8C95C0; opacity: .75; font-variant-numeric: tabular-nums; }
/* 조작은 영상 밖 여백에 */
.film__nav { width: var(--fw); display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); }
.film__nav .btn { min-width: 8.5rem; }
.btn--film { background: transparent; color: var(--ink); border: 1px solid rgba(232, 236, 248, .35); box-shadow: none; }
.btn--film:hover { border-color: rgba(232, 236, 248, .7); }
@media (min-aspect-ratio: 1 / 1) {
  .film__slug { font-size: max(12px, 1.1cqw); top: 6%; left: 4%; }
  .film__line { font-size: max(16px, 1.9cqw); }
  .film__line.stay { font-size: max(14px, 1.5cqw); }
  .film__subs { bottom: 9%; left: 12%; right: 12%; }
  .film__src { font-size: max(10px, .85cqw); right: 3%; }
}

/* 문구 편집 도구가 있을 때 본문 마지막 줄이 가려지지 않게 */
body:has(.ed) { padding-bottom: 72px; }

/* ── 1. 출생 정보 입력: 한 화면에 한 질문 ───────────── */
.ask { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; max-width: none; padding: 0; background: var(--night-0); }
.ask__sky { position: fixed; inset: 0; width: 100%; height: 100%; opacity: .55; pointer-events: none; }
.ask > .topbar { position: relative; width: 100%; max-width: 34rem; margin: 0 auto; padding: var(--s-2) var(--gutter); }
.ask__dots { display: flex; gap: 6px; }
.ask__dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(232, 236, 248, .2); }
.ask__dots i.on { background: var(--moon); }
.ask__main { position: relative; flex: 1; width: 100%; max-width: 34rem; margin: 0 auto; padding: 0 var(--gutter); display: flex; }
.ask__form { flex: 1; display: flex; flex-direction: column; }
.q { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 22px; padding: 4vh 0 8vh; } /* 질문을 화면 정중앙, 가운데 정렬로 */
.q .sentence, .q .chips, .q .cal { justify-content: center; }
.q .blank--place, .q .places { width: 100%; max-width: 22rem; }
.q .blank--place .control { text-align: center; }
.q .places li { justify-content: center; }
.q[hidden] { display: none; }
.q__h { margin: 0; font-family: var(--font-title); font-weight: 700; font-size: clamp(1.75rem, 1.4rem + 1.6vw, 2.25rem); line-height: 1.3; letter-spacing: -.02em; outline: none; }
/* 양력·음력: 면 없이 글자 토글 */
.cal { display: flex; gap: 14px; font-size: 14px; }
.cal input { position: absolute; opacity: 0; pointer-events: none; }
.cal label { min-height: 32px; display: inline-flex; align-items: center; color: #6E7699; cursor: pointer; border-bottom: 1px solid transparent; }
.cal input:checked + label { color: var(--ink); border-bottom-color: var(--moon); }
.cal input:focus-visible + label { box-shadow: var(--focus); }
/* 빈칸: 박스 없이 밑줄, 숫자는 크게 */
.sentence { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.blank { display: inline-flex; align-items: baseline; gap: 6px; }
.blank > span { font-size: 1rem; color: var(--ink-2); }
.ask .control { min-height: 52px; padding: 0 2px; border: 0; border-bottom: 1px solid rgba(232, 236, 248, .28); border-radius: 0; background: transparent; font-family: var(--font-body); font-weight: 600; font-size: 1.75rem; letter-spacing: .01em; text-align: center; transition: border-color var(--t-fast); }
.ask .control:focus-visible { border-bottom-color: var(--moon); box-shadow: 0 1px 0 0 var(--moon); outline: none; }
.ask .control[aria-invalid="true"] { border-bottom: 2px solid var(--err); }
.blank--y .control { width: 4.2ch; } .blank--md .control { width: 2.6ch; }
.blank--time .control { width: 9.5rem; text-align: center; color-scheme: dark; }
.blank--place { display: flex; } .blank--place .control { width: 100%; text-align: left; font-size: 1.375rem; font-weight: 500; }
.blank--place .control::placeholder { font-size: 1rem; font-weight: 400; color: #5E6796; }
.tick { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; font-size: 15px; color: var(--ink-2); cursor: pointer; }
.tick input { width: 18px; height: 18px; margin: 0; accent-color: var(--moon); }
/* 칩: 면 없이 테두리만, 고르면 테두리·글자만 밝게 */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 0 16px; border: 1px solid rgba(232, 236, 248, .18); border-radius: 22px; background: transparent; color: var(--ink-2); font: inherit; font-size: 15px; cursor: pointer; transition: border-color var(--t-fast), color var(--t-fast); }
.chip:hover { border-color: rgba(232, 236, 248, .4); }
.chip.on { border: 1.5px solid var(--moon); color: var(--ink); font-weight: 600; }
.chips--hour { min-height: 0; }
.chips--hour .chip { min-width: 6.2rem; }
.tpane { display: flex; flex-direction: column; gap: 14px; }
.tpane[hidden] { display: none; }
.note { margin: 0; font-size: 13px; line-height: 1.6; color: #8C95C0; }
.note--on { font-size: 15px; color: var(--ink-2); }
.places { list-style: none; margin: -14px 0 0; padding: 4px 0; border: 1px solid rgba(232, 236, 248, .14); background: rgba(11, 14, 28, .96); }
.places li { min-height: 44px; display: flex; align-items: center; gap: 6px; padding: 0 14px; cursor: pointer; color: var(--ink-2); }
.places li:hover, .places li:focus { background: rgba(232, 236, 248, .06); color: var(--ink); outline: none; }
.places li b { color: var(--ink); font-weight: 600; } .places li span { color: #6E7699; font-size: 13px; }
.places li.none { cursor: default; color: #8C95C0; font-size: 14px; }
.ask__foot { margin-top: auto; padding: var(--s-6) 0 calc(var(--s-4) + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 12px; position: sticky; bottom: 0; background: linear-gradient(to top, var(--night-0) 70%, rgba(8, 10, 20, 0)); }
.ask__sum { margin: 0; min-height: 1.4em; font-size: 13px; color: #8C95C0; font-variant-numeric: tabular-nums; }
.ask__nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ask__nav .btn { min-width: 9rem; min-height: 52px; }
.ask__nav button.textlink { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.ask .privacy { font-size: 12px; color: #6E7699; }

/* ── 13차: 첫 화면 D — 화면 전체를 채우고(액자 없음), 글자 체계 정리 ───────── */
.film--full { --fw: 100vw; }
.film--full > .topbar { position: absolute; top: 0; left: 0; right: 0; width: auto; z-index: 5; padding: 10px 24px 8px; }
.film--full .film__frame { width: 100vw; height: 100vh; height: 100svh; aspect-ratio: auto; }
.film--full .film__scrim { display: none; }
.v-d .hero__copy { left: 24px; right: 24px; top: clamp(80px, 12svh, 104px); bottom: auto; gap: 20px; }
.v-d .hero__title { font-size: 30px; line-height: 1.3; letter-spacing: -.025em; color: #EDE9E0; }
.v-d .hero__lead { font-size: 15px; line-height: 1.6; letter-spacing: -.01em; color: #B9C0DC; white-space: pre-line; }
.v-d .hero__cta { left: 24px; right: 24px; bottom: calc(48px + env(safe-area-inset-bottom)); top: auto; }
.v-d .btn--hero { min-height: 54px; padding: 0 32px; font-size: 17px; letter-spacing: -.01em; border-radius: 27px; border-color: rgba(242, 239, 232, .45); }
@media (max-height: 700px) and (max-aspect-ratio: 1 / 1) {
  .v-d .hero__copy { top: 72px; }
  .v-d .hero__title { font-size: 27px; }
  .v-d .hero__lead { font-size: 14px; }
  .v-d .hero__cta { bottom: calc(28px + env(safe-area-inset-bottom)); }
  .v-d .btn--hero { min-height: 50px; }
}
@media (min-aspect-ratio: 1 / 1) {
  .film--full > .topbar { padding: 14px 40px 8px; }
  .v-d .hero__copy { left: 120px; right: auto; width: 460px; top: calc(50% - 145px); align-items: flex-start; text-align: left; gap: 24px; }
  .v-d .hero__title { font-size: clamp(40px, 3.6vw, 56px); line-height: 1.22; }
  .v-d .hero__lead { font-size: 17px; }
  .v-d .hero__cta { left: 120px; right: auto; top: calc(50% + 90px); bottom: auto; align-items: flex-start; }
  .v-d .btn--hero { min-height: 56px; }
}
/* 14차: 지구 아래 캡션 — 선·이름표 없이 다큐 자막처럼 */
.hero__cap { position: absolute; z-index: 1; margin: 0; transform: translateX(-50%); white-space: nowrap; font-family: var(--font-body); font-weight: 400; font-size: 13px; line-height: 1.5; letter-spacing: 0; color: rgba(216, 220, 235, .72); pointer-events: none; }
.is-intro .hero__cap { opacity: 0; }
.is-intro.go .hero__cap { animation: rise 400ms ease-out 1.7s both; }
.is-intro.skip .hero__cap { animation: none; opacity: 1; }
.leaving .hero__cap { opacity: 0 !important; transition: opacity 300ms ease; animation: none !important; }
@media (max-height: 700px) and (max-aspect-ratio: 1 / 1) { .hero__cap { display: none; } }
@media (min-aspect-ratio: 1 / 1) { .hero__cap { font-size: 14px; } }
/* 15차: D 글자 타이밍 — 해가 오르는 동안 제목이 함께(그림과 한 막), 투명도만 */
.is-intro.go.v-d .hero__title { animation: rise 700ms cubic-bezier(.22, .61, .36, 1) calc(var(--d0, 0s) + .9s) both; }
.is-intro.go.v-d .hero__lead { animation: rise 600ms cubic-bezier(.22, .61, .36, 1) calc(var(--d0, 0s) + 1.2s) both; }
.is-intro.go.v-d .hero__cap { animation: rise 400ms cubic-bezier(.22, .61, .36, 1) calc(var(--d0, 0s) + 1.55s) both; }
.is-intro.go.v-d .hero__nav { animation: rise 400ms cubic-bezier(.22, .61, .36, 1) calc(var(--d0, 0s) + 1.8s) both; }
.v-d.leaving .hero__copy, .v-d.leaving .hero__cap { transition-duration: 350ms; transition-timing-function: cubic-bezier(.25, .1, .25, 1); }
.v-d.leaving .hero__cta { transition-duration: 250ms; }
/* 18차: 첫 화면에서 넘어올 때 — 하늘은 그대로, 질문·입력·버튼만 차례로(투명도만) */
/* 25차: 점이 자리 잡는 동안 질문 → 양력·음력 → 입력칸 → 버튼이 차례로(투명도 + 4px만) */
@keyframes riseUp { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.ask--enter .q > *, .ask--enter .ask__foot, .ask--enter .ask__dots { animation: riseUp 520ms cubic-bezier(.25, .1, .25, 1) both; }
.ask--enter .q > :nth-child(2) { animation-delay: .12s; }
.ask--enter .q > :nth-child(3) { animation-delay: .24s; }
.ask--enter .q > :nth-child(n+4) { animation-delay: .32s; }
.ask--enter .ask__foot { animation-delay: .4s; }
.ask--enter .ask__dots { animation-delay: .2s; }
@media (prefers-reduced-motion: reduce) { .ask--enter > *, .ask--enter .ask__dots { animation: none; } }
/* 19차: 입력 화면 오른쪽 위의 창백한 푸른 점(첫 화면 지구가 물러난 자리) */
.ask__dot { position: fixed; left: 72%; top: 24%; width: 3px; height: 3px; margin: -1.5px 0 0 -1.5px; border-radius: 50%; background: #7FB2FF; opacity: .85; pointer-events: none; }
.ask__dot::after { content: ""; position: absolute; left: 4.4px; top: -2.6px; width: 2px; height: 2px; border-radius: 50%; background: #FFC94D; opacity: .9; }
/* ── 20차: 입력 화면 정리 ───────────────────────── */
.q { justify-content: flex-start; gap: 24px; padding: clamp(84px, 21svh, 190px) 0 calc(140px + var(--kb, 0px)); }   /* 질문은 파란 점 아래, 키보드가 올라와도 칸이 보이게 위쪽에 */
.q__h { font-size: 30px; line-height: 1.3; letter-spacing: -.025em; color: #EDE9E0; }
.q__rec { margin: 0 0 -12px; font-size: 13px; color: #A9B2D6; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.cal { gap: 20px; font-size: 15px; }
.cal label { min-height: 44px; }
.cal input:checked + label { border-bottom-width: 1.5px; border-bottom-color: #F2E9C9; }
.sentence { gap: 8px 20px; margin-top: 8px; }
.blank { gap: 6px; }
.blank > span { font-size: 15px; color: #A9B2D6; }
.ask .control { font-weight: 500; font-size: 34px; letter-spacing: -.01em; font-variant-numeric: tabular-nums; color: #F2EFE8; min-height: 52px; border-bottom: 1px solid rgba(242, 239, 232, .28); }
.ask .control:not(:placeholder-shown) { border-bottom-color: rgba(242, 239, 232, .5); }
.ask .control:focus-visible, .ask .control:focus { border-bottom-color: #F2E9C9; box-shadow: 0 .5px 0 0 #F2E9C9; outline: none; }
.ask .control[aria-invalid="true"] { border-bottom: 1.5px solid var(--err); }
.blank--y .control { width: 92px; } .blank--md .control { width: 52px; }
.q__safe { margin: 0; font-size: 12px; color: #8C95C0; opacity: .85; }
.ask__foot { position: fixed; left: 0; right: 0; bottom: var(--kb, 0px); z-index: 3; margin: 0; padding: 12px 24px calc(28px + env(safe-area-inset-bottom)); background: none; display: block; transition: bottom 200ms ease-out; }
.ask__nav { justify-content: center; gap: 16px; max-width: 34rem; margin: 0 auto; position: relative; }
.ask__nav .ask__back { position: absolute; left: 0; top: 50%; transform: translateY(-50%); }
.ask__nav .btn { min-width: 0; }
.btn--step { min-width: 200px !important; justify-content: center; }
.btn--step .btn__dot { width: 0; margin-right: -8px; opacity: 0; transition: opacity 200ms, width 200ms, margin 200ms; }
.btn--step:not(.is-ready) { border-color: rgba(242, 239, 232, .22); color: rgba(242, 239, 232, .4); }
.btn--step.is-ready { border-color: rgba(242, 239, 232, .6); }
.btn--step.is-ready .btn__dot { width: 6px; margin-right: 0; opacity: 1; }
.ask__back { min-height: 44px; min-width: 64px; padding: 0 8px; background: none; border: 0; font: inherit; font-size: 15px; color: #A9B2D6; cursor: pointer; }
.ask__back:hover { color: var(--ink); }
.ask__back:focus-visible { outline: 2px solid #FFC94D; outline-offset: 2px; border-radius: 4px; }
@media (max-height: 700px) and (max-aspect-ratio: 1 / 1) { .q { padding-top: calc(24svh + 40px); gap: 20px; } .q__h { font-size: 27px; } .ask .control { font-size: 30px; } .ask__foot { padding-bottom: calc(18px + env(safe-area-inset-bottom)); } }
@media (min-aspect-ratio: 1 / 1) {
  .q { padding: 22svh 0 24px; flex: 0 0 auto; }
  .q__h { font-size: 36px; }
  .ask .control { font-size: 40px; } .blank--y .control { width: 108px; } .blank--md .control { width: 60px; }
  .ask__foot { position: static; padding: 16px 0 48px; }
}

/* 21차: 시각 칸 가운데, 곳은 검색 한 칸으로 */
.q .tpane { width: 100%; align-items: center; text-align: center; }
.q .blank--time { display: inline-flex; justify-content: center; }
.ask .blank--time .control { width: 5.6em; padding-left: 0; padding-right: 0; text-align: center; }
.ask .blank--time .control::-webkit-datetime-edit { padding: 0; }
.ask .blank--time .control::-webkit-calendar-picker-indicator { opacity: .45; margin-left: 6px; width: 18px; height: 18px; cursor: pointer; }

/* ── 22차: 첫 화면의 톤으로 나머지 화면 — 장면은 끝까지, 버튼은 선 알약 하나, 표·배지·띠 없이 ───────── */
/* 영상 */
.film--story { background: var(--night-0); }
.film--story .topbar__end { gap: 14px; }
.film--story .film__skip { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; color: #A9B2D6; text-decoration: none; }
.film--story .film__scrim { display: block; height: 44%; background: linear-gradient(to top, rgba(5, 7, 15, .9) 0%, rgba(5, 7, 15, .62) 50%, rgba(5, 7, 15, 0) 100%); }
.film--story .film__subs { left: 24px; right: 24px; bottom: calc(150px + env(safe-area-inset-bottom)); }
.film--story .film__line { font-weight: 400; font-size: 18px; line-height: 1.6; letter-spacing: -.01em; color: #F2EFE8; }
.film--story .film__line.stay { font-size: 15px; }
.film--story .film__src { left: 24px; right: 24px; bottom: calc(112px + env(safe-area-inset-bottom)); text-align: center; font-size: 12px; line-height: 1.5; color: rgba(169, 178, 214, .72); opacity: 1; }
.film--story .film__nav { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; width: auto; justify-content: center; padding: 0 24px calc(32px + env(safe-area-inset-bottom)); }
.film--story .film__nav .btn { min-width: 200px; }
.film__back { position: absolute; left: 24px; bottom: calc(32px + env(safe-area-inset-bottom)); height: 54px; display: inline-flex; align-items: center; padding: 0 4px; font-size: 15px; color: #A9B2D6; text-decoration: none; }
.film__back:hover { color: var(--ink); }
.film__back--end { left: auto; right: 24px; }
@media (max-width: 380px) { .film--story .film__nav .btn { min-width: 168px; } }
@media (max-height: 700px) and (max-aspect-ratio: 1 / 1) {
  .film--story .film__subs { bottom: calc(128px + env(safe-area-inset-bottom)); }
  .film--story .film__line { font-size: 16px; }
  .film--story .film__src { bottom: calc(96px + env(safe-area-inset-bottom)); }
  .film--story .film__nav { padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
  .film__back { bottom: calc(20px + env(safe-area-inset-bottom)); }
}
@media (min-aspect-ratio: 1 / 1) {
  .film--story .film__subs { left: 50%; right: auto; width: min(720px, 80vw); transform: translateX(-50%); bottom: 150px; }
  .film--story .film__line { font-size: 22px; }
  .film--story .film__line.stay { font-size: 17px; }
  .film--story .film__src { bottom: 118px; font-size: 13px; }
  .film--story .film__nav { padding-bottom: 40px; }
  .film__back { left: 40px; bottom: 40px; } .film__back--end { right: 40px; left: auto; }
}

/* 결과: 위는 장면, 아래로 글이 이어져요 */
.res { position: relative; min-height: 100vh; min-height: 100svh; background: var(--night-0); --tone: var(--sun); }
.res--asc { --tone: var(--asc); }
.res--moon { --tone: var(--moon); }
.res > .topbar { position: absolute; top: 0; left: 0; right: 0; z-index: 5; margin: 0; padding: 8px 24px; }
.res--map > .topbar { position: relative; max-width: 34rem; margin: 0 auto; }
.res__dots { display: flex; }
.res__dots a { width: 16px; height: 44px; display: flex; align-items: center; justify-content: center; }
.res__dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(232, 236, 248, .22); transition: background-color 150ms; }
.res__dots a:hover i { background: rgba(232, 236, 248, .5); }
.res__dots a[aria-current] i { background: var(--moon); }
.res__link { display: inline-flex; align-items: center; min-height: 44px; margin-left: 10px; font-size: 14px; color: #A9B2D6; text-decoration: none; }
.res__link:hover { color: var(--ink); }
.res__stage { position: relative; height: 62vh; height: 62svh; min-height: 380px; max-height: 640px; }
.res__stage .stage--card { position: absolute; inset: 0; height: auto; min-height: 0; max-height: none; }
.res__stage::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 200px; background: linear-gradient(to bottom, rgba(8, 10, 20, 0), rgba(8, 10, 20, .75) 55%, var(--night-0)); pointer-events: none; }
.res__main { position: relative; z-index: 2; max-width: 34rem; margin: -112px auto 0; padding: 0 24px calc(48px + env(safe-area-inset-bottom)); }
.res__body { display: flex; flex-direction: column; align-items: center; text-align: center; }
.res .eyebrow { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 10px; font-size: 13px; line-height: 1.5; color: #A9B2D6; }
.res .eyebrow b { color: var(--tone); font-weight: 500; }
.res .sign { margin: 8px 0 0; font-family: var(--font-title); font-weight: 700; font-size: 44px; line-height: 1.15; letter-spacing: -.03em; color: #EDE9E0; }
.res .sign--two { justify-content: center; font-size: 36px; }
.res .sign--miss { font-size: 26px; line-height: 1.35; }
.res .headline { margin-top: 12px; font-family: var(--font-title); font-weight: 400; font-size: 20px; line-height: 1.45; letter-spacing: -.015em; color: #D6DAEC; }
.res .dataline { margin-top: 12px; font-family: var(--font-body); font-size: 13px; line-height: 1.6; letter-spacing: 0; color: var(--tone); opacity: .9; font-variant-numeric: tabular-nums; }
.res .lead { margin-top: 16px; font-size: 16px; line-height: 1.75; color: #C9CEE4; text-align: left; }
.res .lead + p { margin-top: 32px; }
.res .notice { width: 100%; margin-top: 32px; padding: 0 0 0 14px; border-left: 1px solid var(--tone); background: none; text-align: left; font-size: 15px; line-height: 1.7; color: #C9CEE4; }
.res .notice__k { font-family: var(--font-body); font-size: 13px; color: var(--tone); margin-bottom: 2px; }
.res .traits { width: 100%; margin-top: 40px; display: grid; gap: 24px; border: 0; text-align: left; }
.res .trait { display: block; padding: 0; border: 0; font-size: 16px; line-height: 1.75; letter-spacing: -.01em; color: #D9DDF0; }
.trait__k { display: block; margin-bottom: 4px; font-size: 13px; line-height: 1.5; color: #8C95C0; }
.trait__k.good { color: var(--tone); }
.res .choices { width: 100%; margin-top: 32px; text-align: left; gap: 16px; }
.res .choice__when { font-family: var(--font-body); font-size: 13px; }
.res .side__h { width: 100%; margin-top: 48px; text-align: left; font-size: 20px; }
.res .side__h + .traits { margin-top: 16px; }
.res .more { width: 100%; margin-top: 16px; border: 0; text-align: left; }
.res .more summary { display: inline-flex; min-height: 44px; font-weight: 400; font-size: 15px; color: #A9B2D6; }
.res .more summary::after { content: "↓"; margin-left: 6px; font-family: var(--font-body); color: inherit; }
.res .more[open] summary::after { content: "↑"; }
.res .more p { padding: 4px 0 0; font-size: 16px; line-height: 1.75; color: #C9CEE4; }
.res .basis { margin-top: 32px; }
.res .basis summary { font-size: 13px; color: #8C95C0; min-height: 36px; }
.res .basis dl { padding: 4px 0 0; font-size: 14px; line-height: 1.7; color: #A9B2D6; }
.res .basis dt { font-family: var(--font-body); font-size: 13px; color: #8C95C0; }
.res .hint { width: 100%; margin-top: 16px; text-align: left; font-size: 13px; color: #8C95C0; }
.res__src { margin: 24px 0 0; font-size: 12px; line-height: 1.5; color: #6E7699; }
.res .next { max-width: none; margin-top: 64px; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.res .next__q { margin: 0; font-family: var(--font-title); font-weight: 700; font-size: 22px; line-height: 1.4; letter-spacing: -.02em; color: #EDE9E0; text-align: center; text-wrap: balance; }
.next__back { display: inline-flex; align-items: center; min-height: 44px; margin-top: -12px; font-size: 15px; color: #A9B2D6; text-decoration: none; background: none; border: 0; cursor: pointer; }
.next__back:hover { color: var(--ink); }
.res .btn--line { color: #F2EFE8; }
@media (max-height: 700px) and (max-aspect-ratio: 1 / 1) { .res__stage { height: 56svh; min-height: 330px; } .res .sign { font-size: 40px; } }
@media (min-aspect-ratio: 1 / 1) {
  .res > .topbar { padding: 14px 40px; }
  .res__stage { position: fixed; top: 0; right: 0; width: 60vw; height: 100vh; min-height: 0; max-height: none; }
  .res__stage::after { top: 0; bottom: 0; left: -1px; right: auto; width: 34%; height: auto; background: linear-gradient(to right, var(--night-0), rgba(8, 10, 20, 0)); }
  .res__main { max-width: 460px; margin: 0 0 0 max(40px, 9vw); padding: 128px 0 72px; }
  .res__body { align-items: flex-start; text-align: left; }
  .res .eyebrow { justify-content: flex-start; }
  .res .sign { font-size: 56px; }
  .res .sign--two { justify-content: flex-start; font-size: 44px; }
  .res .headline { font-size: 24px; }
  .res .trait, .res .more p { font-size: 17px; }
  .res .next { align-items: flex-start; }
  .res .next__q { text-align: left; font-size: 24px; }
}

/* 행성 지도 */
.res__sky { position: fixed; inset: 0; width: 100%; height: 100%; opacity: .45; pointer-events: none; }
.res--map > .topbar, .res__main--map { position: relative; z-index: 1; }
.res__main--map { margin: 0 auto; padding-top: 32px; }
.maphead { text-align: center; }
.maphead__h { margin: 0; font-family: var(--font-title); font-weight: 700; font-size: 30px; line-height: 1.3; letter-spacing: -.025em; color: #EDE9E0; white-space: pre-line; outline: none; }
.maphead__sub { margin-top: 16px; font-size: 15px; line-height: 1.6; color: #A9B2D6; white-space: pre-line; }
.mapfig { margin: 24px -8px 0; }
.mapfig .draw svg { width: 100%; height: auto; max-width: 560px; margin: 0 auto; }
.mapfig .sky-text, .mapfig .sky-hand { stroke: var(--night-0); }
.mapfig__cap { margin-top: 12px; padding: 0 8px; font-size: 13px; line-height: 1.6; color: #8C95C0; text-align: center; }
.maplist { margin-top: 40px; }
.res .mapnote { margin: 0 0 32px; padding: 0 0 0 14px; border-left: 1px solid var(--asc); background: none; font-size: 15px; color: #C9CEE4; }
.res .sect { margin-top: 48px; }
.res .sect:first-child { margin-top: 0; }
.res .sect__h { display: block; padding: 0 0 8px; border: 0; }
.res .sect__h h2 { font-family: var(--font-title); font-weight: 700; font-size: 22px; line-height: 1.4; letter-spacing: -.02em; color: #EDE9E0; }
.res .sect__h p { margin-top: 4px; font-size: 13px; color: #8C95C0; }
.res .row { border: 0; }
.res .row__btn { grid-template-columns: 28px minmax(0, 1fr) 16px; gap: 16px; min-height: 60px; padding: 12px 0; }
.res .row__btn--noicon { grid-template-columns: minmax(0, 1fr) 16px; }
.res .row__btn[aria-expanded="true"] { box-shadow: none; padding-left: 0; }
.res .row__ico { width: 28px; height: 28px; }
.res .row__name { font-weight: 500; font-size: 16px; }
.res .row__role, .row__rel { margin-left: 8px; font-size: 13px; color: #8C95C0; }
.row__rel--flow, .row__rel--conj { color: #A9B2D6; }
.row__rel--tension { color: #F29A86; }
.res .row__line { margin-top: 2px; font-size: 15px; line-height: 1.55; color: #A9B2D6; }
.res .row__chev { width: 16px; height: 16px; color: #6E7699; }
.res .detail { padding: 0 0 24px 44px; gap: 20px; }
.res .row__btn--noicon + .detail { padding-left: 0; }
.detail__pos { margin: 0; }
.detail__pos .row__pos { text-align: left; font-family: var(--font-body); font-size: 13px; color: #8C95C0; }
.detail__pos .row__pos small { display: inline; margin-left: 8px; font-size: 13px; }
.res .facet { border: 0; padding: 0; }
.res .facet .label { font-size: 13px; color: var(--tone, #8C95C0); letter-spacing: 0; }
.res .facet__h { font-weight: 500; font-size: 16px; }
.res .facet p, .res .facet dl { font-size: 15px; color: #C9CEE4; }
.res .facet ul li { border: 0; padding: 4px 0; font-size: 15px; }
.res .facet .tag { border: 0; padding: 0; font-family: var(--font-body); font-size: 13px; }
.sect--gen summary { list-style: none; display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; color: #A9B2D6; cursor: pointer; }
.sect--gen summary::-webkit-details-marker { display: none; }
.sect--gen summary::after { content: "↓"; margin-left: 6px; }
.sect--gen[open] summary::after { content: "↑"; }
.sect__d { margin: 4px 0 8px; font-size: 13px; line-height: 1.6; color: #8C95C0; }
.res .next--map { margin-top: 64px; gap: 20px; }
.res .next--map .next__back { margin-top: -8px; }
@media (min-aspect-ratio: 1 / 1) {
  .res--map > .topbar { max-width: 1120px; padding: 14px 40px; }
  .res__main--map { max-width: 1120px; padding: 40px 40px 72px; }
  .res--map .mapwrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 72px; align-items: start; }
  .res--map .maphead { grid-column: 1; text-align: left; }
  .res--map .mapfig { grid-column: 1; margin: 24px 0 0; position: sticky; top: 24px; }
  .res--map .mapfig__cap { text-align: left; }
  .res--map .maplist { grid-column: 2; grid-row: 1 / span 2; margin-top: 8px; }
  .res--map .maphead__h { font-size: 40px; }
}
.res .next__q > span { font: inherit; color: inherit; letter-spacing: inherit; }
.res .more + .basis, .res .traits + .basis { margin-top: 8px; }
.res .sky-bg { fill: rgba(232, 236, 248, .035); }
.res .sky-line { stroke: rgba(169, 178, 214, .55); }
.res .sky-dim { stroke: rgba(169, 178, 214, .25); }
@media (min-aspect-ratio: 1 / 1) { .res--map .mapwrap { grid-template-rows: auto 1fr; } }
.film__totime { color: #D6DAEC; text-decoration: underline; text-decoration-color: rgba(169, 178, 214, .5); text-underline-offset: 4px; font-size: 14px; display: inline-flex; min-height: 32px; align-items: center; }
@media (max-height: 700px) and (max-aspect-ratio: 1 / 1) { .res .sign--miss { font-size: 24px; } .res .sign--two { font-size: 32px; } }
/* 23차: 영상은 다 본 뒤에 '다음'이 나타나요 */
.film--story .film__nav .btn { transition: opacity 500ms cubic-bezier(.22, .61, .36, 1), visibility 0s; }
.film--story .film__nav .btn.is-wait { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0s, visibility 0s; }

/* 23차: 저장 창 — 박스·표 없이, 미리보기와 고르기 두 줄, 선 알약 버튼 하나 */
dialog.sheet { width: min(100vw, 30rem); max-width: 100vw; max-height: 100dvh; margin: auto auto 0; padding: 0; border: 0; border-top: 1px solid rgba(232, 236, 248, .14); border-radius: 18px 18px 0 0; background: #0A0C17; color: var(--ink); overflow-y: auto; }
dialog.sheet::backdrop { background: rgba(3, 4, 10, .78); }
.sheet__in { padding: 20px 24px calc(20px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; align-items: center; text-align: center; }
.sheet__h { margin: 0 0 16px; font-family: var(--font-title); font-weight: 700; font-size: 22px; line-height: 1.35; letter-spacing: -.02em; color: #EDE9E0; }
#save-body { width: 100%; display: flex; flex-direction: column; align-items: center; }
.sheet__img { width: auto; max-width: 100%; max-height: 46dvh; margin: 0; border: 0; border-radius: 10px; background: var(--night-0); object-fit: contain; }
.sheet__ph { display: flex; align-items: center; justify-content: center; height: 46dvh; max-height: 420px; aspect-ratio: 9 / 16; border-radius: 10px; background: rgba(232, 236, 248, .04); }
.sheet__ph--feed { aspect-ratio: 4 / 5; }
.sheet__status { margin: 10px 0 0; min-height: 0; font-size: 12px; line-height: 1.55; color: #8C95C0; }
.sheet__opts { margin-top: 12px; display: flex; flex-direction: column; align-items: center; gap: 0; }
.sheet__opts .cal { font-size: 14px; gap: 18px; }
.sheet__actions { margin-top: 16px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.sheet__actions .btn { min-width: 220px; }
.sheet__hint { margin: 0; font-size: 13px; line-height: 1.6; color: #A9B2D6; }
.sheet__close { margin-top: 4px; }
@media (min-aspect-ratio: 1 / 1) { dialog.sheet { margin: auto; border-radius: 18px; border: 1px solid rgba(232, 236, 248, .12); } .sheet__img { max-height: 54vh; } .sheet__ph { height: 54vh; max-height: 520px; } }

/* 23차: 화면 사이 전환 — 입력 → 영상 → 결과가 한 하늘에서 이어지게(투명도만) */
.ask--leave > :not(.ask__sky):not(.ask__dot) { opacity: 0; transition: opacity 320ms ease-in; }
.ask--leave .ask__dot { transform: scale(2.2); opacity: 1; transition: transform 420ms cubic-bezier(.4, 0, .2, 1); }
/* 10-14: 캔버스 전체를 0에서 띄우면 하늘이 검게 꺼졌다 켜져서 뺐어요(행성만 캔버스 안에서 나타나요) */
.film--enter > .topbar { animation: rise 500ms ease-out .5s both; }
.film--enter .film__subs, .film--enter .film__src { animation: rise 400ms ease-out .3s both; }
.film--leave .film__frame, .film--leave > .topbar, .film--leave .film__nav { opacity: 0; transition: opacity 340ms ease-in; }
.res--enter .res__stage { animation: rise 800ms cubic-bezier(.22, .61, .36, 1) both; }
.res--enter .res__main, .res--enter > .topbar { animation: rise 600ms cubic-bezier(.22, .61, .36, 1) .35s both; }
@media (prefers-reduced-motion: reduce) { .film--enter *, .res--enter *, .film--enter > *, .res--enter > * { animation: none !important; } }
.res .sky-band { fill: #C9CEE4; font-weight: 500; }
.res .sky-band { stroke: none; }
.film__line.stay { align-self: center; }

/* 25차: 여러 문장 안내는 문장마다 줄을 바꿔요 */
.mapfig__cap, .sect__d, .res .note, .note, .error, .q__safe, .places li.none, .res .lead, .res .hint, .sheet__status, .sheet__hint, .mapnote, .hint { white-space: pre-line; }
/* 25차: 시각은 숫자 두 칸(시·분) + 말로 한 번 더 */
.note--words { min-height: 1.6em; font-size: 14px; color: #D6DAEC; }
/* 25차: 키패드가 떴을 때 — 로고·점·앞 답 줄을 접고, 질문·입력칸을 위로, 버튼은 입력칸 바로 아래 */
.ask--kb > .topbar, .ask--kb .ask__dot, .ask--kb .q__rec, .ask--kb .q__safe { display: none; }
.ask--kb .q { padding: 20px 0 8px; gap: 14px; flex: 0 0 auto; }
.ask--kb .q__h { font-size: 24px; }
.ask--kb .cal label { min-height: 36px; }
.ask--kb .ask__foot { position: static; padding: 4px 0 16px; transition: none; }
.ask--kb .ask__main { flex: 0 0 auto; }
/* 25차: 결과·행성 지도 풀이도 문장마다 줄바꿈 */
.res .trait, .res .more p, .res .notice p, .res .basis dd, .res .facet p, .res .facet dd, .res .facet__h, .res .facet li, .res .headline, .res .choices p { white-space: pre-line; }
/* 22차 로고: 고운바탕 윤곽 + '하'의 ㅇ을 지구로. 높이로 맞춰요 */
.logo { width: auto; }
.logo svg { width: auto; height: 24px; margin: -2px 0; }   /* 10-14: TILT 세리프 로고(운영자: 조금 더 작게 30 → 24px) */
@media (min-aspect-ratio: 1 / 1) { .logo svg { height: 26px; } }

/* ── 25차: 용어·자막 정리, 카드 저장, 지도 정리 ───────── */
.res .dataline { white-space: pre-line; }
.next__save { display: inline-flex; align-items: center; min-height: 44px; margin-top: -12px; padding: 0; font: inherit; font-size: 15px; color: #DCD7C8; text-decoration: underline; text-decoration-color: rgba(255, 201, 77, .55); text-underline-offset: 5px; background: none; border: 0; cursor: pointer; }
.next__save:hover { color: var(--ink); }
.next__save + .next__back { margin-top: -18px; }
.res .mapnote--end { margin: 28px 0 0; padding: 0; border: 0; font-size: 12px; color: rgba(169, 178, 214, .7); text-align: center; }
.tag--tension, .row__rel--tension { color: #E3A595; }

/* ── 25차: 세 별자리 장면 ───────────────────── */
.res--trio .res__body { text-align: center; }
.trio__eye { justify-content: center; }
.trio__h { margin: 8px 0 0; font-family: var(--font-title); font-weight: 700; font-size: 30px; line-height: 1.4; letter-spacing: -.02em; color: #EDE9E0; white-space: pre-line; text-wrap: balance; }
.trio__list { list-style: none; margin: 32px 0 0; padding: 0; text-align: left; }
.trio__row { display: grid; grid-template-columns: 40px 1fr auto; align-items: baseline; gap: 8px; padding: 15px 0; border-top: 1px solid rgba(169, 178, 214, .14); }
.trio__row:last-child { border-bottom: 1px solid rgba(169, 178, 214, .14); }
.trio__row b { font-weight: 500; font-size: 14px; }
.trio__row--sun b { color: #FFC94D; } .trio__row--asc b { color: #FF8FB3; } .trio__row--moon b { color: #F3EBC8; }
.trio__nm { font-family: var(--font-title); font-weight: 700; font-size: 22px; color: #EDE9E0; letter-spacing: -.01em; }
.trio__nm--miss { font-family: var(--font-body); font-weight: 400; font-size: 16px; color: #8C95C0; }
.trio__rl { font-size: 14px; color: #A9B2D6; text-align: right; }
.trio__note { margin: 20px 0 0; font-size: 14px; line-height: 1.6; color: #A9B2D6; text-align: left; }
.trio__note a { color: #EDE9E0; text-underline-offset: 4px; }
.next--trio .next__map { display: inline-flex; align-items: center; min-height: 44px; margin-top: -8px; font-size: 16px; color: #DCD7C8; text-decoration: underline; text-decoration-color: rgba(255, 201, 77, .55); text-underline-offset: 5px; }
.next--trio .next__back { margin-top: -16px; }
.res--trio .next { margin-top: 48px; }
.res .next__q { white-space: pre-line; }
.trio__row { grid-template-columns: 44px 112px 1fr; }
.trio__rl { text-align: left; }
@media (min-aspect-ratio: 1 / 1) { .res--trio .res__body { text-align: left; } .res--trio .trio__eye { justify-content: flex-start; } .trio__h { text-wrap: wrap; } }
@media (min-aspect-ratio: 1 / 1) { .res--trio .res__stage::after { width: 14%; } }

/* ═══ v6 ═════════════════════════════════════════════════════ */
/* 공유로 들어온 사람에게 제목 위 한 줄 */
.hero__from { margin: 0 0 12px; font-size: 13px; line-height: 1.5; color: #A9B2D6; }
/* 영상: '다음'은 처음부터 흐리게 보이고 누를 수 있어요. 끝나면 또렷하게 */
.film--story .film__nav .btn.is-wait { opacity: .38; visibility: visible; pointer-events: auto; transition: opacity 400ms ease; }
.film--story .film__nav .btn { transition: opacity 400ms ease; }
/* 포스터 입구: 글자 버튼 하나(박스·배지 없이) */
.next__poster { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; color: #C9C3B2; text-decoration: underline; text-decoration-color: rgba(237, 233, 224, .3); text-underline-offset: 5px; }
.next__poster:hover { color: var(--ink); }
.next--trio .next__poster, .next--map .next__poster { margin-top: -14px; }
.sheet__poster { margin-top: 4px; font-size: 14px; }
.q__rec--gift { margin: 0 0 4px; color: #F3EBC8; }
.mapnote--end a { color: inherit; text-underline-offset: 4px; }

/* 포스터(준비 중) 화면 */
.res--poster > .topbar { position: relative; z-index: 1; max-width: 34rem; margin: 0 auto; }
.poster { position: relative; z-index: 1; max-width: 34rem; margin: 0 auto; padding: 16px 24px calc(56px + env(safe-area-inset-bottom)); display: grid; gap: 28px; }
.poster__head { display: grid; gap: 12px; text-align: center; }
.res--poster .eyebrow { --tone: #FFC94D; margin: 0; }
.poster__h { margin: 0; font-family: var(--font-title); font-weight: 700; font-size: clamp(28px, 7.4vw, 40px); line-height: 1.25; letter-spacing: -.02em; white-space: pre-line; outline: none; }
.poster__lead { margin: 0; font-size: 15px; line-height: 1.65; color: #A9B2D6; white-space: pre-line; }
.poster__fig { margin: 0 auto; width: min(100%, 420px); box-shadow: 0 18px 48px rgba(0, 0, 0, .45); }
.poster__fig svg { display: block; width: 100%; height: auto; }
.poster__opts { display: grid; gap: 18px; justify-items: center; }
.poster__opts .cal { justify-content: center; }
.poster__text { width: 100%; display: grid; gap: 8px; font-size: 14px; color: #A9B2D6; }
.poster__text .control { min-height: 48px; font-size: 16px; text-align: center; }
.poster__warn { margin: -10px 0 0; font-size: 13px; color: #FF8FB3; text-align: center; }
.poster__diff { display: grid; gap: 6px; font-size: 15px; line-height: 1.6; color: #C9CEE4; }
.poster__diff p { margin: 0; }
.poster__dk { font-size: 13px; color: #8C95C0; margin-bottom: 4px !important; }
.poster__buy { display: grid; gap: 8px; text-align: center; padding-top: 4px; }
.poster__price { margin: 0; font-family: var(--font-title); font-weight: 700; font-size: 22px; color: #EDE9E0; }
.poster__state { margin: 0; font-size: 14px; line-height: 1.65; color: #A9B2D6; white-space: pre-line; }
.next--poster { margin-top: 0; justify-items: center; max-width: none; }
.next--poster .next__map { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; color: #DCD7C8; text-decoration: underline; text-decoration-color: rgba(255, 201, 77, .55); text-underline-offset: 5px; }
.next--poster .next__back { margin-top: -10px; }
.poster__fine { margin: 0; font-size: 12px; line-height: 1.6; color: #8C95C0; text-align: center; }
.poster__fine a { color: inherit; text-underline-offset: 3px; }
@media (min-width: 900px) {
  .res--poster > .topbar { max-width: 1040px; padding: 14px 40px; }
  .poster { max-width: 1040px; padding: 24px 40px 72px; grid-template-columns: minmax(0, 460px) minmax(0, 1fr); column-gap: 72px; align-items: start; }
  .poster__fig { grid-column: 1; grid-row: 1 / span 7; position: sticky; top: 24px; width: 100%; }
  .poster > :not(.poster__fig) { grid-column: 2; }
  .poster__head, .poster__buy, .poster__fine { text-align: left; }
  .poster__opts, .next--poster { justify-items: start; }
  .poster__opts .cal { justify-content: flex-start; }
  .poster__text .control { text-align: left; }
  .poster__warn { text-align: left; }
}
/* 공유 한 줄은 제목과 함께 떠올라요(인트로 중엔 먼저 보이지 않게) */
.is-intro .hero__from { opacity: 0; }
.is-intro.go.v-d .hero__from { animation: rise 700ms cubic-bezier(.22, .61, .36, 1) calc(var(--d0, 0s) + .8s) both; }
.is-intro.skip .hero__from { animation: none; opacity: 1; }
@media (prefers-reduced-motion: reduce) { .is-intro .hero__from { animation: none; opacity: 1; } }

/* 카드 안 '영상으로 보기' — 원리 설명은 궁금한 사람만 */
.res .explain { margin: 20px 0 0; }
.res .explain a { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; color: #C9C3B2; text-decoration: underline; text-decoration-color: rgba(237, 233, 224, .3); text-underline-offset: 5px; }
.res .explain a:hover { color: var(--ink); }

/* ═══ 10-14 결과 카드 아래쪽 정리 ═══
   본문(잘하는 쪽·놓치기 쉬운 쪽)은 왼쪽 정렬 한 줄기로, '더 알아보기' 세 줄(조금 더 읽기 · 영상으로 보기 · 어떻게 계산했나요)은
   같은 크기·같은 높이의 목록으로, 다음 질문과 버튼은 띄워서 따로 */
.res .traits { margin-top: 36px; gap: 22px; }
.res .trait { font-size: 16px; line-height: 1.7; }
.trait__k { font-size: 13px; margin-bottom: 6px; letter-spacing: .01em; }
.res .dig { width: 100%; margin: 0; border: 0; border-top: 1px solid rgba(169, 178, 214, .16); text-align: left; }
.res .traits + .dig { margin-top: 32px; }
.res .basis { border-bottom: 1px solid rgba(169, 178, 214, .16); }
.res .more.dig + .basis, .res .dig--film + .basis, .res .traits + .basis { margin-top: 0; }
.res .dig > summary, .res a.dig { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 54px; font-size: 15px; font-weight: 400; line-height: 1.4; color: #C9CEE4; text-decoration: none; cursor: pointer; }
.res .dig > summary::after { content: none; }
.res .dig .dig__ico { flex: none; width: 18px; height: 18px; color: #8C95C0; transition: transform 200ms ease; }
.res .dig[open] .dig__ico { transform: rotate(180deg); }
.res .dig:hover > summary, .res a.dig:hover { color: #EDE9E0; }
.res .dig__go { flex: none; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--tone); }
.res .dig__go::after { content: ""; width: 0; height: 0; border-left: 6px solid currentColor; border-top: 4px solid transparent; border-bottom: 4px solid transparent; }
.res .more.dig p, .res .basis dl { padding: 0 0 20px; }
.res .more.dig p { font-size: 15px; line-height: 1.75; color: #C9CEE4; }
.res .basis summary { font-size: 15px; min-height: 54px; color: #C9CEE4; }
.res .basis dl { font-size: 14px; }
.res .next { margin-top: 72px; gap: 20px; }
.res .next__q { font-size: 20px; line-height: 1.45; max-width: 18em; }
.res .next .btn { min-width: 200px; }
.eyebrow__n { color: #8C95C0; font-variant-numeric: tabular-nums; letter-spacing: .04em; }
@media (min-aspect-ratio: 1 / 1) { .res .next__q { font-size: 22px; } .res .trait { font-size: 17px; } }

/* 세 칸 찾기: 위쪽 빈칸 세 개 */
.slots { position: absolute; z-index: 2; left: 50%; top: calc(64px + env(safe-area-inset-top)); transform: translateX(-50%); width: min(92%, 420px); margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.slot { display: grid; gap: 4px; justify-items: center; text-align: center; padding: 10px 4px 8px; border-top: 1px solid rgba(169, 178, 214, .22); }
.slot__k { font-size: 12px; color: #8C95C0; letter-spacing: .01em; }
.slot__v { font-family: var(--font-title); font-weight: 700; font-size: 17px; line-height: 1.3; color: transparent; position: relative; min-height: 1.3em; transition: color 500ms ease; word-break: keep-all; }
.slot__v::before { content: "?"; position: absolute; left: 50%; transform: translateX(-50%); color: rgba(169, 178, 214, .45); font-family: var(--font-body); font-weight: 400; transition: opacity 300ms ease; }
.slot.on .slot__v::before { opacity: 0; }
.slot--sun.on { border-top-color: #FFC94D; } .slot--sun.on .slot__v { color: #FFC94D; }
.slot--asc.on { border-top-color: #FF8FB3; } .slot--asc.on .slot__v { color: #FF8FB3; }
.slot--moon.on { border-top-color: #F3EBC8; } .slot--moon.on .slot__v { color: #F3EBC8; }
.slot.on .slot__k { color: #C9CEE4; }
@media (prefers-reduced-motion: reduce) { .slot__v, .slot__v::before { transition: none; } }

/* 10-14 모션 진단: 찾기 장면 빈칸 셋은 카메라가 자리 잡을 즈음 차례로 떠올라요 */
.slots .slot { opacity: 0; transform: translateY(8px); transition: opacity 600ms cubic-bezier(.22, .61, .36, 1), transform 600ms cubic-bezier(.22, .61, .36, 1), border-color 500ms ease; }
.slots.in .slot { opacity: 1; transform: none; }
.slots.in .slot:nth-child(2) { transition-delay: 120ms, 120ms, 0ms; }
.slots.in .slot:nth-child(3) { transition-delay: 240ms, 240ms, 0ms; }
@media (prefers-reduced-motion: reduce) { .slots .slot { transition: none; } }

/* 흐린 '다음'은 장면이 열리고 1.2초 뒤에 나타나요 */
@keyframes waitIn { from { opacity: 0; } to { opacity: .38; } }
.film--story .film__nav .btn.is-wait { animation: waitIn 400ms ease 1.2s both; }
@media (prefers-reduced-motion: reduce) { .film--story .film__nav .btn.is-wait { animation: none; } }

/* 10-14 운영자: 행성 목록 줄 다시 — 위에 작은 이름표(행성 · 무엇을 말하나), 아래에 '나에 대한 한 줄'을 크게.
   아이콘은 이름표 줄에 맞춰 위로, 줄 사이엔 가는 선 */
.res .row + .row { border-top: 1px solid rgba(201,205,224,.08); }
.res .row__btn { align-items: start; padding: 16px 0; min-height: 0; }
.res .row__ico { margin-top: 1px; }
.res .row__chev { align-self: center; }
.row__txt { display: block; min-width: 0; }
.row__top { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; row-gap: 2px; }
.res .row__name { font-size: 14px; font-weight: 600; color: #C9CDE0; letter-spacing: -.01em; }
.res .row__role, .res .row__rel { margin-left: 0; font-size: 13px; color: #8C95C0; }
.res .row__role--retro { padding: 1px 7px; border: 1px solid rgba(140,149,192,.35); border-radius: 999px; font-size: 11.5px; }
.res .row__line { margin-top: 6px; font-size: 16.5px; line-height: 1.45; color: #EDE9E0; font-weight: 500; letter-spacing: -.01em; }
.facet__term { display: block; margin-top: 4px; font-size: 12px; color: #6E7699; font-weight: 400; }

/* 10-14 운영자: 세 별자리 아래 '다른 행성' — 상자 대신 목록이 이어지다 흐려져요(수성·금성·화성), 끝에 지도로 가는 한 줄 */
.peek { display: block; align-self: stretch; margin-top: 0; text-align: center; }
.res--trio .trio__list { align-self: stretch; }
.trio__list--peek { margin-top: 0; -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.55) 45%, rgba(0,0,0,.08) 100%); mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.55) 45%, rgba(0,0,0,.08) 100%); }
.trio__list--peek .trio__row:first-child { border-top: 0; }
.trio__list--peek .trio__row:last-child { border-bottom: 0; }
.trio__row--peek b { color: #A9B2D6; }
.trio__row--peek .trio__nm { font-size: 19px; color: #C9CDE0; }
.peek__go { display: inline-block; margin-top: 6px; padding: 10px 0 4px; font-size: 15px; color: #EDE9E0; text-decoration: none; border-bottom: 1px solid rgba(237,233,224,.35); transition: border-color var(--t-base) var(--ease); }
.peek__go:hover, .peek__go:focus-visible { border-color: #FFC94D; }
/* 10-14 운영자: 세 별자리 목록에 그림 아이콘 — 해·지평선·달·수성… 모두 '하늘에 있던 것'으로 맞춰요 */
.trio__row { grid-template-columns: 26px 46px 112px 1fr; align-items: center; column-gap: 10px; }
.trio__row .row__ico { width: 26px; height: 26px; margin: 0; }
.trio__row--asc .row__ico { color: #FF8FB3; }
/* 10-14 운영자: 행성 이름 옆에 그 행성의 별자리 */
.res .row__sign { font-size: 14px; font-weight: 600; color: #FFC94D; letter-spacing: -.01em; }
.res .row__sign + .row__role::before { content: '·'; margin-right: 8px; color: #59607F; }

/* 10-14: '자세히 보기' 장면 문단 — 소제목 대신 문장 앞 작은 이름표, 문단 사이 숨 */
.res .dig .dig__body { padding: 4px 0 20px; }
.res .more.dig .dig__p { margin: 0 0 16px; padding: 0; font-size: 15.5px; line-height: 1.8; color: #D8D9E6; white-space: normal; }
.res .more.dig .dig__p:last-child { margin-bottom: 0; }
.res .dig .dig__k { display: block; margin-bottom: 4px; font-size: 13px; font-weight: 600; color: #8C95C0; letter-spacing: .01em; }

.res .dig[open] > summary::after { content: none; }   /* 펼쳤을 때 화살표가 둘 생기던 것(더 읽기 공통 ↑) */

/* 10-14: 두 행성이 만나면 — 번호 · 역할명 · 행성 이름 · 장면 문단 */
.res .row__btn--pair { grid-template-columns: 26px minmax(0, 1fr) 16px; }
.pairno { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; border: 1.3px solid currentColor; font-size: 11.5px; font-weight: 700; }
.pairno--conj { color: #FFC94D; } .pairno--flow { color: #B9C2EA; } .pairno--tension { color: #FF8FB3; }
.row__rel--conj { color: #FFC94D !important; } .row__rel--flow { color: #B9C2EA !important; } .row__rel--tension { color: #FF8FB3 !important; }
.res .row__sub { display: block; margin-top: 2px; font-size: 12.5px; color: #6E7699; }
.pairdetail { padding: 2px 0 22px; }
.pairdetail__lead { margin: 0 0 16px; font-size: 14px; color: #A9B2D6; }
.pairdetail .dig__p { margin: 0 0 16px; font-size: 15.5px; line-height: 1.8; color: #D8D9E6; }
.pairdetail .dig__k { display: block; margin-bottom: 4px; font-size: 13px; font-weight: 600; color: #8C95C0; }
.pairdetail .facet__term { margin-top: 4px; }
.pairmini { list-style: none; margin: 6px 0 0; padding: 0; }
.pairmini li { margin: 0 0 12px; line-height: 1.6; }
.pairmini b { font-weight: 600; }
.pairmini .tag { margin-left: 8px; font-size: 13px; }
.pairmini small { display: block; font-size: 12.5px; color: #6E7699; }
.pairmini__go { margin-top: 2px; padding: 4px 0; background: none; border: 0; font: inherit; font-size: 13.5px; color: #C9CDE0; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(201,205,224,.4); cursor: pointer; }
.tag--conj { color: #FFC94D; } .tag--flow { color: #B9C2EA; } .tag--tension { color: #FF8FB3; }
.pairmini__h { display: block; margin-top: 2px; color: #D8D9E6; }
/* 10-14: 행성 지도 펼침 안 이름표+문단(카드 '자세히 보기'와 같은 모양) */
.facet .dig__body { padding: 2px 0 6px; }
.facet .dig__p { margin: 0 0 14px; font-size: 15px; line-height: 1.8; color: #D8D9E6; white-space: normal; }
.facet .dig__k { display: block; margin-bottom: 3px; font-size: 13px; font-weight: 600; color: #8C95C0; }

/* 10-14: 반전 줄 — 앞 자막이 사라지고 한 박자 쉰 뒤, 조금 크고 따뜻한 색으로 */
.film--story .film__line--turn { font-size: 22px; font-weight: 500; color: #FFE3A3; letter-spacing: -.02em; }
.film--story .film__line--turn.on { transition: opacity 520ms ease-out 760ms; }
@media (min-width: 900px) { .film--story .film__line--turn { font-size: 27px; } }
.film--story .film__line--turn.stay { font-size: 17px; }
.res__dots .res__sep { width: 1px; height: 10px; margin: auto 6px; background: rgba(232, 236, 248, .2); }
.res__dots .res__x i { width: 7px; height: 7px; background: none; box-shadow: inset 0 0 0 1.3px rgba(232, 236, 248, .35); }
.res__dots .res__x:hover i { background: none; box-shadow: inset 0 0 0 1.3px rgba(232, 236, 248, .6); }
.res__dots .res__x[aria-current] i { background: none; box-shadow: inset 0 0 0 1.6px var(--moon); }

/* 10-14: 작은 글씨 대비 — 약점 라벨은 무기와 같은 밝기, 위쪽 '1 / 3' 줄과 지도 설명은 13.5px·밝게 */
.trait__k { color: #C3C9E4; }
.res .eyebrow { font-size: 13.5px; color: #C3C9E4; }
.mapfig__cap { font-size: 13.5px; color: #B4BBD9; }
.sect__d { color: #B4BBD9; }
/* 10-14: 세 별자리를 엮은 한 문장 */
.trio__line { margin: 14px auto 2px; max-width: 22em; font-size: 16.5px; line-height: 1.65; color: #E4E0D6; text-wrap: pretty; }
/* 10-14: 다른 행성 미리보기 위 머리말 — 잠긴 게 아니라 '더 있다'로 읽히게 */
.peek__h { margin: 22px 0 2px; font-size: 13.5px; color: #A9B2D6; letter-spacing: -.005em; }
.trio__list--peek { -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.7) 50%, rgba(0,0,0,.28) 100%); mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.7) 50%, rgba(0,0,0,.28) 100%); }
/* 10-14: 마지막 한 줄 — 첫 화면 질문에 답해요 */
.next__close { margin: 0 0 4px; font-family: var(--font-title); font-weight: 700; font-size: 19px; line-height: 1.55; letter-spacing: -.02em; color: #EDE9E0; text-align: center; text-wrap: balance; }
.next__close br + * , .next__close .cp { color: inherit; }
@media (min-aspect-ratio: 1 / 1) { .res--trio .next__close { text-align: left; } }
/* 10-14 운영자: 영상이 끝날 때까지 '다음'은 흐리게 보이기만 하고 눌리지 않아요(건너뛰려면 '결과 바로 보기') */
.film--story .film__nav .btn.is-wait { pointer-events: none; cursor: default; }

/* v7 깊은 풀이(준비 중) — 잠금은 자물쇠 아이콘 대신 '무엇이 들어 있는지'를 먼저 보여 줘요 */
.res .lock { margin-top: 18px; padding: 16px 0 4px; border-top: 1px dotted rgba(169, 178, 214, .35); }
.res .lock__k { margin: 0 0 8px; font-size: 13px; color: var(--tone, #8C95C0); }
.res .lock__list { margin: 0; padding: 0; list-style: none; }
.res .lock__list li { position: relative; padding: 3px 0 3px 14px; font-size: 15px; line-height: 1.65; color: #C9CEE4; border: 0; }
.res .lock__list li::before { content: ''; position: absolute; left: 2px; top: .8em; width: 5px; height: 5px; border-radius: 50%; background: #FFC94D; opacity: .7; }
.res .lock__state { margin: 12px 0 0; font-size: 13px; line-height: 1.6; color: #8C95C0; }
.res .lock__btn { margin-top: 10px; padding: 9px 16px; border: 1px solid rgba(255, 201, 77, .55); border-radius: 999px; background: transparent; color: #FFE3A3; font: inherit; font-size: 14px; cursor: pointer; }
.res .lock__btn:hover, .res .lock__btn:focus-visible { background: rgba(255, 201, 77, .12); outline: none; }
.res .lock__thanks { margin: 10px 0 0; font-size: 14px; line-height: 1.65; color: #FFE3A3; white-space: pre-line; }

/* v7 포스터 판매·파일 받기 */
.poster__files { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 14px; }
.poster__out { margin-top: 12px; }
.poster__out .poster__file { width: 100%; max-width: 360px; display: block; margin: 8px 0; border-radius: 4px; }
.poster__dl { color: #FFE3A3; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.poster__buy .btn { margin-top: 14px; }
