/* =====================================================================
 * 명운당 · 무료 테스트 — 스타일
 * 기존 /styles.css 의 전통 팔레트·타이포그래피를 그대로 따릅니다.
 * (본 파일은 독립 스타일시트이며 기존 페이지에 영향을 주지 않습니다)
 * ===================================================================== */

:root {
  /* 전통 한국 팔레트 — /styles.css 와 동일 */
  --bg-0: #0b0a10;
  --bg-1: #14111a;
  --bg-2: #1d1826;
  --bg-3: #26202e;
  --line: #2f2838;
  --line-strong: #4a3f5a;

  --gold: #c9a961;
  --gold-bright: #e4c786;
  --gold-deep: #8a6d33;
  --gold-shadow: rgba(201, 169, 97, 0.15);

  --cinnabar: #a8321e;
  --cinnabar-light: #c74b36;

  --jade: #6b8a72;
  --paper: #f5eddc;
  --paper-dim: #e8dcc2;

  --text-1: #f0e8d8;
  --text-2: #c8bfa8;
  --text-3: #8a8275;
  --text-dim: #5a5548;

  --font-display: 'Nanum Myeongjo', 'Noto Serif KR', serif;
  --font-body: 'Noto Serif KR', 'Gowun Batang', serif;
  --font-accent: 'Gowun Batang', 'Nanum Myeongjo', serif;
  --font-latin: 'Cormorant Garamond', 'Times New Roman', serif;

  --radius: 2px;
  --radius-lg: 6px;

  --ease: cubic-bezier(.23, .6, .25, 1);
  --ease-out: cubic-bezier(.16, .84, .3, 1);

  /* 오행 — 전통 안료 기준 (단청·청자·금박) */
  --el-mok:  #6b8a72;   /* 木 · 청자 옥색 */
  --el-hwa:  #c74b36;   /* 火 · 주사 */
  --el-to:   #c9a961;   /* 土 · 금박 */
  --el-geum: #a9b3c4;   /* 金 · 백동 */
  --el-su:   #4a6b8a;   /* 水 · 청람 */
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  background: var(--bg-1);
  color: var(--text-1);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-wrap: anywhere;

  /* 한지 결 — 아주 옅은 노이즈 대신 은은한 광원 */
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(201,169,97,.07), transparent 70%);
  background-repeat: no-repeat;
  background-attachment: fixed;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font-family: inherit; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ── 레이아웃 ────────────────────────────────────────────────── */
.wrap {
  max-width: 560px;
  margin: 0 auto;
  padding: 0 22px 72px;
}

/* ── 헤더 (기존 site-header 언어를 따름) ─────────────────────── */
.topbar {
  border-bottom: 1px solid var(--line);
  background: rgba(11, 10, 16, .72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 40;
}

.topbar-inner {
  max-width: 560px;
  margin: 0 auto;
  padding: 13px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--gold);
}

.brand-mark { width: 26px; height: 26px; flex: none; }

.brand-text { display: flex; flex-direction: column; line-height: 1.15; }

.brand-hanja {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .16em;
  color: var(--gold);
}

.brand-han {
  font-family: var(--font-accent);
  font-size: 10.5px;
  letter-spacing: .3em;
  color: var(--text-3);
}

.topbar-note {
  font-family: var(--font-latin);
  font-style: italic;
  font-size: 12.5px;
  letter-spacing: .18em;
  color: var(--text-3);
  text-transform: uppercase;
  white-space: nowrap;
}

/* ── 단계 전환 ───────────────────────────────────────────────── */
.step { display: none; }
.step.is-active { display: block; animation: rise .6s var(--ease-out) both; }

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

/* ── 공통 제목 언어 ──────────────────────────────────────────── */
.kicker {
  display: inline-block;
  font-family: var(--font-latin);
  font-style: italic;
  font-size: 12.5px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
}

.rule {
  width: 46px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 0 0 1.4rem;
}

/* ── 히어로 ─────────────────────────────────────────────────── */
.hero { padding: 42px 0 8px; }

h1.hero-title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.85rem, 7.4vw, 2.5rem);
  line-height: 1.32;
  letter-spacing: -.02em;
  color: var(--paper);
}

h1.hero-title em {
  font-style: normal;
  color: var(--gold-bright);
}

.hero-sub {
  margin: 0 0 32px;
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.9;
}

/* 오행 기둥 — 히어로 시각 요소 */
.hero-art {
  position: relative;
  height: 150px;
  margin: 0 0 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, var(--bg-2), var(--bg-1));
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 14px;
  padding: 0 0 30px;
}

.hero-art::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, transparent 0 39px, rgba(201,169,97,.04) 39px 40px);
  pointer-events: none;
}

.hero-art i {
  display: block;
  width: 18px;
  border-radius: 1px;
  transform-origin: bottom;
  animation: pillar 3.4s var(--ease) infinite;
  opacity: .9;
}
.hero-art i:nth-child(1) { height: 44px; background: var(--el-mok);  animation-delay: 0s; }
.hero-art i:nth-child(2) { height: 72px; background: var(--el-hwa);  animation-delay: .22s; }
.hero-art i:nth-child(3) { height: 56px; background: var(--el-to);   animation-delay: .44s; }
.hero-art i:nth-child(4) { height: 86px; background: var(--el-geum); animation-delay: .66s; }
.hero-art i:nth-child(5) { height: 62px; background: var(--el-su);   animation-delay: .88s; }

@keyframes pillar {
  0%, 100% { transform: scaleY(.8);  opacity: .68; }
  50%      { transform: scaleY(1);   opacity: 1; }
}

.hero-art-label {
  position: absolute;
  left: 0; right: 0; bottom: 11px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: .55em;
  color: var(--text-dim);
  text-indent: .55em;
}

/* ── 버튼 (기존 .btn 언어를 따름) ───────────────────────────── */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .02em;
  padding: 17px 24px;
  min-height: 56px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: all .35s var(--ease-out);
}

.btn-primary {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: var(--bg-0);
  box-shadow:
    0 1px 0 rgba(255,255,255,.25) inset,
    0 10px 30px -10px rgba(201,169,97,.4);
}
.btn-primary:hover {
  background: linear-gradient(180deg, #f0d599, var(--gold-bright));
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255,255,255,.3) inset,
    0 18px 40px -10px rgba(201,169,97,.55);
}

.btn-ghost {
  background: transparent;
  color: var(--text-1);
  border-color: var(--line-strong);
}
.btn-ghost:hover {
  background: var(--bg-3);
  border-color: var(--gold-deep);
  color: var(--gold-bright);
}

.btn-sm {
  padding: 13px 16px;
  font-size: 14px;
  min-height: 50px;
}

.btn:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.hint {
  margin: 14px 0 0;
  text-align: center;
  font-size: 13px;
  color: var(--text-3);
  letter-spacing: .02em;
}

/* ── 신뢰 요약 ──────────────────────────────────────────────── */
.facts {
  list-style: none;
  margin: 34px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 13px;
}
.facts li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14.5px;
  color: var(--text-2);
  line-height: 1.75;
}
.facts li::before {
  content: '·';
  flex: none;
  color: var(--gold);
  font-size: 22px;
  line-height: 1.1;
}

/* ── 패널 / 폼 ──────────────────────────────────────────────── */
.panel {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  margin-top: 34px;
}

.panel-title {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--paper);
}
.panel-desc {
  margin: 0 0 26px;
  font-size: 14px;
  color: var(--text-3);
}

.field { margin-bottom: 24px; }

.field > label,
.field-label {
  display: block;
  font-family: var(--font-accent);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
  margin-bottom: 10px;
  color: var(--text-1);
}

.opt {
  font-weight: 400;
  color: var(--text-dim);
  font-size: 12.5px;
  letter-spacing: .04em;
  margin-left: 5px;
}

input[type="date"],
select {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 15px 14px;
  font-size: 16px; /* iOS 확대 방지 */
  font-family: var(--font-body);
  color: var(--text-1);
  background: var(--bg-1);
  min-height: 54px;
  appearance: none;
  transition: border-color .3s var(--ease-out);
}

input[type="date"]:focus,
select:focus { border-color: var(--gold); }

/* 다크 배경에서 날짜 피커 아이콘 보정 */
input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(78%) sepia(24%) saturate(560%) hue-rotate(2deg) brightness(92%);
  cursor: pointer;
}

select {
  background-image:
    linear-gradient(45deg, transparent 50%, var(--gold) 50%),
    linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 19px) 24px, calc(100% - 13px) 24px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}

/* 성별 선택 */
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }

.seg label {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 15px;
  font-family: var(--font-accent);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--text-2);
  cursor: pointer;
  background: var(--bg-1);
  min-height: 54px;
  transition: all .3s var(--ease-out);
}

.seg input:checked + label {
  border-color: var(--gold);
  background: var(--gold-shadow);
  color: var(--gold-bright);
}
.seg input:focus-visible + label { outline: 2px solid var(--gold); outline-offset: 3px; }

.check {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 14px;
  color: var(--text-2);
  cursor: pointer;
  padding: 8px 0 0;
  min-height: 44px;
}
.check input { width: 19px; height: 19px; accent-color: var(--gold); flex: none; }

.form-error {
  margin: 0 0 18px;
  padding: 12px 14px;
  border-left: 2px solid var(--cinnabar-light);
  background: rgba(199, 75, 54, .1);
  font-size: 14px;
  color: #e8a99c;
}
.form-error:empty { display: none; padding: 0; border: 0; }

.privacy-note {
  margin: 20px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--text-dim);
  line-height: 1.8;
}

/* ── 분석 로딩 ──────────────────────────────────────────────── */
.loading {
  min-height: 64vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* 태극 회전 — 브랜드 마크와 같은 형태 */
.loading-ring {
  width: 78px; height: 78px;
  margin-bottom: 32px;
  color: var(--gold);
  animation: spin 2.4s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.loading-text {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--paper);
  min-height: 30px;
  margin: 0;
}

.loading-bar {
  width: 176px; height: 1px;
  background: var(--line-strong);
  margin-top: 26px;
  overflow: hidden;
}
.loading-bar i {
  display: block; height: 100%; width: 0%;
  background: var(--gold);
  transition: width .45s linear;
}

/* ── 결과 카드 ──────────────────────────────────────────────── */
.result-card {
  position: relative;
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 36px 24px 30px;
  overflow: hidden;
  margin-top: 30px;
}

/* 상단 금박 선 */
.result-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* 시그니처: 일간 한자 낙관 */
.result-han {
  position: absolute;
  right: -8px; top: -34px;
  font-family: var(--font-display);
  font-size: 156px;
  line-height: 1;
  font-weight: 800;
  color: var(--gold);
  opacity: .075;
  pointer-events: none;
  user-select: none;
}

.result-kicker {
  font-family: var(--font-latin);
  font-style: italic;
  font-size: 12.5px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 14px;
}

.result-name {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 6.6vw, 2.05rem);
  line-height: 1.34;
  letter-spacing: -.02em;
  font-weight: 800;
  color: var(--paper);
}

.result-quote {
  margin: 0 0 20px;
  font-size: 15.5px;
  color: var(--text-2);
  line-height: 1.88;
}

.result-myeongri {
  display: inline-block;
  font-family: var(--font-accent);
  font-size: 12.5px;
  letter-spacing: .05em;
  color: var(--gold);
  border: 1px solid var(--gold-deep);
  border-radius: var(--radius);
  padding: 6px 13px;
  margin-bottom: 28px;
}

/* 재물 감각 점수 */
.score {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  padding: 22px 0;
  margin-bottom: 8px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.score-label {
  width: 100%;
  font-family: var(--font-latin);
  font-style: italic;
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 8px;
}
.score-num {
  font-family: var(--font-display);
  font-size: 46px;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--gold-bright);
  line-height: 1;
}
.score-max { font-size: 15px; color: var(--text-dim); }
.score-grade {
  margin-left: auto;
  font-size: 15px;
  letter-spacing: .14em;
  color: var(--gold);
}

/* 능력치 */
.stats { display: grid; gap: 15px; margin-top: 24px; }

.stat-row {
  display: grid;
  grid-template-columns: 82px 1fr 32px;
  align-items: center;
  gap: 12px;
}
.stat-name {
  font-family: var(--font-accent);
  font-size: 13.5px;
  letter-spacing: .04em;
  color: var(--text-2);
}
.stat-track {
  height: 4px;
  background: var(--bg-3);
  overflow: hidden;
}
.stat-fill {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright));
  transition: width 1.1s var(--ease-out);
}
.stat-val {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  text-align: right;
  color: var(--gold);
}

/* 오행 분포 */
.ohaeng { margin-top: 30px; }
.ohaeng-label {
  font-family: var(--font-latin);
  font-style: italic;
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 11px;
}
.ohaeng-bar {
  display: flex;
  height: 10px;
  overflow: hidden;
  background: var(--bg-3);
  border-radius: 1px;
}
.ohaeng-bar i {
  display: block;
  height: 100%;
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14);
}
.ohaeng-bar i + i { border-left: 1px solid rgba(11,10,16,.55); }

.ohaeng-legend {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(84px, 1fr));
  gap: 11px 8px;
  margin-top: 15px;
}
.ohaeng-legend span {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  letter-spacing: .02em;
  color: var(--text-2);
  white-space: nowrap;
}
.ohaeng-legend b {
  width: 10px;
  height: 10px;
  flex: none;
  display: inline-block;
  border-radius: 1px;
  box-shadow: 0 0 0 1px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.2);
}
.ohaeng-legend em {
  font-family: var(--font-display);
  font-style: normal;
  font-size: 13px;
  color: var(--text-3);
  margin-right: 2px;
}

/* 시간 미상 안내 */
.notice {
  margin-top: 24px;
  border-left: 2px solid var(--gold-deep);
  background: var(--gold-shadow);
  padding: 14px 16px;
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.78;
}

/* ── 결과 섹션 ──────────────────────────────────────────────── */
.sec { margin-top: 42px; }

.sec-title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--paper);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.keywords { display: flex; flex-wrap: wrap; gap: 9px; }
.keywords span {
  font-family: var(--font-accent);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--gold-bright);
  background: var(--gold-shadow);
  border: 1px solid var(--gold-deep);
  border-radius: var(--radius);
  padding: 9px 16px;
}

/* 남들이 보는 나 vs 실제 나 */
.versus { display: grid; gap: 12px; }

.vs-card {
  border: 1px solid var(--line);
  background: var(--bg-2);
  border-radius: var(--radius);
  padding: 17px 18px;
}
.vs-card.is-real {
  border-color: var(--gold-deep);
  background: linear-gradient(180deg, var(--bg-2), rgba(201,169,97,.05));
}

.vs-tag {
  font-family: var(--font-latin);
  font-style: italic;
  font-size: 11.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-3);
  margin: 0 0 7px;
}
.vs-card.is-real .vs-tag { color: var(--gold); }
.vs-text { font-size: 15px; line-height: 1.78; margin: 0; color: var(--text-1); }

.prose {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  font-size: 15px;
  line-height: 1.92;
  color: var(--text-2);
  margin: 0;
}

/* 한 줄 총평 — 낙관 인장 느낌 */
.verdict {
  margin-top: 42px;
  border: 1px solid var(--gold-deep);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(201,169,97,.08), transparent);
  padding: 32px 24px;
  text-align: center;
}
.verdict-label {
  font-family: var(--font-latin);
  font-style: italic;
  font-size: 12px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 14px;
}
.verdict-text {
  margin: 0;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.72;
  letter-spacing: -.01em;
  color: var(--paper);
}

/* ── 공유 ───────────────────────────────────────────────────── */
.share { margin-top: 42px; }
.share-lead {
  text-align: center;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--paper);
  margin: 0 0 6px;
}
.share-sub {
  text-align: center;
  font-size: 13px;
  color: var(--text-3);
  margin: 0 0 20px;
}
.share-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.share-grid .btn-wide { grid-column: 1 / -1; }

.btn-kakao {
  background: #FEE500;
  color: #191600;
  border-color: #FEE500;
  font-weight: 700;
}
.btn-kakao:hover { background: #F5DC00; border-color: #F5DC00; color: #191600; }

.toast {
  position: fixed;
  left: 50%; bottom: 30px;
  transform: translate(-50%, 14px);
  background: var(--bg-3);
  border: 1px solid var(--gold-deep);
  color: var(--paper);
  font-size: 14px;
  padding: 13px 22px;
  border-radius: var(--radius);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease-out), transform .3s var(--ease-out);
  z-index: 60;
  max-width: 88vw;
  text-align: center;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ── 유료 잠금 ──────────────────────────────────────────────── */
.paywall { margin-top: 54px; }

.paywall-lead {
  font-size: 14px;
  color: var(--text-3);
  margin: 0 0 8px;
  line-height: 1.8;
}
.paywall-title {
  margin: 0 0 26px;
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.46;
  color: var(--paper);
}

.lock-group + .lock-group { margin-top: 24px; }

.lock-group-title {
  font-family: var(--font-latin);
  font-style: italic;
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.locks { display: grid; gap: 9px; }

.lock {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 15px 16px;
}
.lock-ico {
  flex: none;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-dim);
  letter-spacing: .04em;
}
.lock-name {
  font-family: var(--font-accent);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
  margin: 0 0 3px;
  color: var(--text-1);
}
.lock-desc { font-size: 13px; color: var(--text-3); margin: 0; line-height: 1.7; }

.lock.is-star {
  border-color: var(--gold-deep);
  background: linear-gradient(180deg, var(--bg-2), rgba(201,169,97,.05));
}
.lock.is-star .lock-ico { color: var(--gold); }
.lock.is-star .lock-name { color: var(--gold-bright); }

.price-box {
  margin-top: 30px;
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--gold-deep);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  text-align: center;
}
.price-vol {
  font-family: var(--font-accent);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--gold);
  margin: 0 0 18px;
}
.price-line {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 11px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}
.price-was {
  font-size: 16px;
  color: var(--text-dim);
  text-decoration: line-through;
}
.price-now {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--paper);
}
.price-tag {
  font-family: var(--font-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--bg-0);
  background: var(--gold);
  border-radius: var(--radius);
  padding: 4px 10px;
}
.price-meta { font-size: 12.5px; color: var(--text-dim); margin: 0 0 24px; }

/* ── 교차 링크 ──────────────────────────────────────────────── */
.cross {
  margin-top: 42px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
  text-align: center;
}
.cross p { margin: 0 0 12px; font-size: 14.5px; color: var(--text-2); }
.cross a {
  display: inline-block;
  font-family: var(--font-accent);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--gold-bright);
  text-decoration: none;
  border-bottom: 1px solid var(--gold-deep);
  padding-bottom: 3px;
  transition: border-color .3s var(--ease-out);
}
.cross a:hover { border-color: var(--gold-bright); }

.restart {
  display: block;
  width: 100%;
  margin-top: 26px;
  background: none;
  border: 0;
  color: var(--text-3);
  font-family: var(--font-body);
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
  padding: 14px;
  min-height: 44px;
}
.restart:hover { color: var(--gold); }

/* ── 공유 진입 배너 ─────────────────────────────────────────── */
.friend {
  border: 1px solid var(--gold-deep);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(201,169,97,.09), transparent);
  padding: 24px;
  margin-top: 34px;
  text-align: center;
}
.friend-label {
  font-family: var(--font-latin);
  font-style: italic;
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 10px;
}
.friend-type {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--paper);
}
.friend-ask { margin: 0; font-size: 14.5px; color: var(--text-2); }

/* ── 정적 본문 / FAQ ────────────────────────────────────────── */
.static {
  margin-top: 58px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.static h2 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--paper);
  margin: 0 0 16px;
}
.static p {
  font-size: 14.5px;
  color: var(--text-2);
  line-height: 1.98;
  margin: 0 0 16px;
}

.faq { margin-top: 42px; }

.faq details {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 9px;
  overflow: hidden;
  transition: border-color .3s var(--ease-out);
}
.faq details[open] { border-color: var(--gold-deep); }

.faq summary {
  cursor: pointer;
  padding: 17px 18px;
  font-family: var(--font-accent);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--text-1);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  min-height: 54px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  color: var(--gold);
  font-weight: 400;
  font-size: 19px;
  flex: none;
}
.faq details[open] summary::after { content: '−'; }
.faq .faq-a {
  padding: 0 18px 18px;
  font-size: 14.5px;
  color: var(--text-2);
  line-height: 1.92;
  margin: 0;
}

/* ── 푸터 ───────────────────────────────────────────────────── */
.foot {
  margin-top: 58px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 12.5px;
  color: var(--text-dim);
  line-height: 1.9;
}
.foot a { color: var(--text-3); text-decoration: none; }
.foot a:hover { color: var(--gold); }
.foot nav {
  margin-bottom: 14px;
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
  font-family: var(--font-accent);
  letter-spacing: .04em;
}
.foot-mark {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: .3em;
  color: var(--gold-deep);
  margin-bottom: 12px;
}

/* ── 캔버스 (이미지 저장용) ─────────────────────────────────── */
#shot { position: fixed; left: -99999px; top: 0; }

/* ── 접근성 ─────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
