/* 『선 넘었나?』 네온 누아르 연애 법정
   mobile first (390) / desktop (1440) */

:root {
  --bg: #09090D;
  --bg-2: #0C0C13;
  --ink: #F6EFF1;
  --muted: #9E96A8;
  --dim: #6B6478;
  --line: rgba(255, 255, 255, 0.08);
  --crimson: #FF2E54;
  --rose: #FFB3C1;
  --gold: #E7C6A3;
  --violet: #7A48D2;
  --ok: #7BE3B0;
  --amber: #FFC46B;
  --r-lg: 26px;
  --r-md: 18px;
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Noto Sans CJK KR", "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
  --mono: "SF Mono", "JetBrains Mono", Menlo, Consolas, "Noto Sans CJK KR", monospace;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  min-height: 100vh;
}
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul, ol, li { list-style: none; }
img, svg { display: block; }
::selection { background: rgba(255, 46, 84, 0.35); color: #fff; }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; }

.mono { font-family: var(--mono); letter-spacing: 0.04em; }
.grad {
  background: linear-gradient(100deg, #FFF0F3 4%, #FFA2B4 42%, #FF3E62 78%, #FF2E54 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.grad-soft {
  background: linear-gradient(100deg, #FFE3E8, #FF9DAF 55%, #FF5C7A);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- background layers ---------- */
#aurora {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
  opacity: 0.95;
}
.grain {
  position: fixed; inset: 0; z-index: 2; pointer-events: none;
  opacity: 0.055; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/></filter><rect width='180' height='180' filter='url(%23n)' opacity='0.6'/></svg>");
}
.vignette {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(120% 70% at 50% -10%, rgba(255, 46, 84, 0.10), transparent 60%),
    radial-gradient(100% 60% at 50% 110%, rgba(0, 0, 0, 0.7), transparent 55%),
    linear-gradient(180deg, transparent 40%, rgba(9, 9, 13, 0.55));
}

/* ---------- topbar ---------- */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: 64px; padding: 0 18px;
  display: flex; align-items: center; justify-content: space-between;
  background: linear-gradient(180deg, rgba(9, 9, 13, 0.82), rgba(9, 9, 13, 0.45));
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
}
.brand { display: flex; align-items: center; gap: 9px; }
.brand-mark { position: relative; width: 20px; height: 20px; display: block; color: var(--rose); filter: drop-shadow(0 0 7px rgba(255, 46, 84, 0.75)); }
.brand-mark svg { width: 20px; height: 20px; }
.brand-mark i {
  position: absolute; left: 3px; width: 3px; height: 15px; border-radius: 3px;
  background: linear-gradient(180deg, var(--rose), var(--crimson));
  box-shadow: 0 0 10px rgba(255, 46, 84, 0.8);
}
.brand-mark i:first-child { transform: rotate(0deg); left: 4px; top: 2px; }
.brand-mark i:last-child { left: 12px; top: 2px; height: 15px; opacity: 0.65; }
.brand-mark::after {
  content: ""; position: absolute; left: 1px; right: 1px; bottom: 2px;
  height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--rose), var(--crimson));
  box-shadow: 0 0 10px rgba(255, 46, 84, 0.6);
}
.brand-txt { font-size: 17px; font-weight: 800; letter-spacing: -0.03em; }
.brand-txt .q { color: var(--crimson); }
.top-right { display: flex; align-items: center; gap: 8px; }
.ghost-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 13px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.045);
  color: var(--ink); font-size: 12px; font-weight: 600;
  transition: 0.2s var(--ease);
}
.ghost-btn .ic { width: 13px; height: 13px; }
.ghost-btn:hover { border-color: rgba(255, 179, 193, 0.45); background: rgba(255, 46, 84, 0.1); }
.pill-pass {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.1em;
  color: var(--gold); border: 1px solid rgba(231, 198, 163, 0.35);
  padding: 5px 9px; border-radius: 999px; background: rgba(231, 198, 163, 0.08);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 15px 24px; border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14.5px; font-weight: 700; letter-spacing: -0.01em;
  color: var(--ink); white-space: nowrap;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), background 0.22s, border-color 0.22s;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary {
  background: linear-gradient(100deg, #FF2E54 0%, #FF5C7A 60%, #FF7E93 100%);
  color: #fff;
  box-shadow: 0 18px 44px -20px rgba(255, 46, 84, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 26px 60px -22px rgba(255, 46, 84, 1), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
.btn-primary:active { transform: translateY(0) scale(0.99); }
.btn-primary.is-done { background: rgba(255, 255, 255, 0.08); color: var(--muted); box-shadow: none; }
.btn-ghost {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.13);
}
.btn-ghost:hover { border-color: rgba(255, 179, 193, 0.4); background: rgba(255, 46, 84, 0.08); transform: translateY(-1px); }
.btn-gold {
  background: linear-gradient(100deg, #E7C6A3, #FFE7CE 60%, #E7C6A3);
  color: #1B1310; font-weight: 800;
  box-shadow: 0 18px 44px -22px rgba(231, 198, 163, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.btn-gold:hover { transform: translateY(-2px); }
.btn-demo {
  width: 100%; margin-top: 8px;
  background: transparent; border: 1px dashed rgba(255, 255, 255, 0.18);
  color: var(--muted); font-size: 12.5px; font-weight: 600; padding: 12px 18px;
}
.btn-demo.pulse { animation: demoPulse 1.6s infinite; border-color: rgba(255, 179, 193, 0.75); color: var(--rose); }
@keyframes demoPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 46, 84, 0); }
  50% { box-shadow: 0 0 0 5px rgba(255, 46, 84, 0.12); border-color: var(--crimson); color: #fff; }
}
.icon-btn {
  width: 38px; height: 38px; flex: none;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04);
  color: var(--ink); transition: 0.2s;
}
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn:hover { border-color: rgba(255, 179, 193, 0.4); background: rgba(255, 46, 84, 0.1); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.22em;
  color: rgba(255, 179, 193, 0.85); text-transform: uppercase;
}
.pulse-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--crimson);
  box-shadow: 0 0 0 0 rgba(255, 46, 84, 0.6);
  animation: dotPulse 2.2s infinite;
}
@keyframes dotPulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 46, 84, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(255, 46, 84, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 46, 84, 0); }
}
.glass {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.085);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  box-shadow: 0 30px 70px -46px #000, inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* ---------- view ---------- */
.view { position: relative; z-index: 3; }
.view-home { padding-bottom: 20px; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  max-width: 1180px; margin: 0 auto;
  padding: 108px 20px 30px;
  display: grid; gap: 34px;
}
.hero-copy { position: relative; z-index: 2; }
.hero-title {
  margin: 18px 0 0;
  font-size: clamp(46px, 13.4vw, 84px);
  line-height: 0.94;
  font-weight: 900;
  letter-spacing: -0.055em;
}
.hero-title .l1, .hero-title .l2 { display: block; }
.hero-title .l2 { letter-spacing: -0.06em; }
.hero-sub {
  margin-top: 20px; max-width: 430px;
  font-size: 14.5px; line-height: 1.75; color: rgba(246, 239, 241, 0.62);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.trust {
  display: flex; gap: 10px; margin-top: 34px;
  padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.trust li { flex: 1; }
.trust b { display: block; font-size: 19px; font-weight: 800; letter-spacing: -0.03em; }
.trust span { display: block; margin-top: 2px; font-family: var(--mono); font-size: 9px; letter-spacing: 0.12em; color: var(--dim); text-transform: uppercase; }

.hero-art { position: relative; min-height: 380px; display: grid; place-items: center; padding: 16px 0; }
.case-card {
  position: relative; z-index: 3;
  width: min(330px, 82vw);
  padding: 24px 24px 20px;
  border-radius: 24px;
  transform: rotate(-2.6deg);
  animation: cardFloat 7s ease-in-out infinite;
}
@keyframes cardFloat {
  0%, 100% { transform: rotate(-2.6deg) translateY(0); }
  50% { transform: rotate(-1.6deg) translateY(-9px); }
}
.case-top { display: flex; justify-content: space-between; align-items: center; font-size: 9px; letter-spacing: 0.18em; color: var(--dim); }
.case-live { display: inline-flex; align-items: center; gap: 5px; color: var(--rose); font-size: 9px; }
.case-live i { width: 5px; height: 5px; border-radius: 50%; background: var(--crimson); animation: dotPulse 1.8s infinite; }
.case-stamp {
  margin: 18px 0 32px;
  display: inline-block;
  font-size: 62px; font-weight: 900; letter-spacing: 0.02em;
  color: var(--crimson);
  padding: 0 14px 6px;
  border: 3px solid rgba(255, 46, 84, 0.8);
  border-radius: 10px;
  transform: rotate(-4deg);
  text-shadow: 0 0 28px rgba(255, 46, 84, 0.6);
  box-shadow: inset 0 0 34px rgba(255, 46, 84, 0.16), 0 18px 50px -26px rgba(255, 46, 84, 0.9);
}
.case-sub { font-size: 9px; color: var(--dim); letter-spacing: 0.2em; margin-bottom: 16px; }
.case-rows { display: grid; gap: 7px; }
.case-rows div { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 7px; border-bottom: 1px dashed rgba(255, 255, 255, 0.07); }
.case-rows span { font-size: 11px; color: var(--muted); }
.case-rows b { font-size: 13px; font-weight: 700; }
.case-note { margin-top: 14px; font-size: 12px; line-height: 1.7; color: rgba(255, 179, 193, 0.8); }
.case-foot { margin-top: 18px; font-size: 8px; line-height: 1.2; color: var(--dim); letter-spacing: 0.14em; }
.float-chip {
  position: absolute; z-index: 4;
  display: flex; align-items: center; gap: 6px;
  padding: 9px 13px; border-radius: 999px;
  font-size: 10.5px; color: var(--muted);
  white-space: nowrap;
}
.float-chip .mono { font-size: 8px; color: var(--dim); }
.float-chip b { color: var(--rose); font-weight: 700; }
.chip-a { top: -10px; left: 4px; animation: chipFloat 6s ease-in-out infinite; }
.chip-b { bottom: -10px; right: 4px; animation: chipFloat 7.5s ease-in-out infinite reverse; }
@keyframes chipFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.scan-orbit {
  position: absolute; width: 116%; aspect-ratio: 1; max-width: 520px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 46, 84, 0.16), transparent 42%),
    conic-gradient(from 0deg, transparent 0 55%, rgba(255, 179, 193, 0.28) 72%, transparent 80%);
  mask: radial-gradient(circle, transparent 62%, #000 63%);
  -webkit-mask: radial-gradient(circle, transparent 62%, #000 63%);
  animation: spin 22s linear infinite;
  opacity: 0.7;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- sections ---------- */
.section { max-width: 1180px; margin: 0 auto; padding: 54px 20px; }
.section-head { margin-bottom: 26px; }
.section-idx { font-size: 9.5px; letter-spacing: 0.22em; color: var(--crimson); margin-bottom: 11px; }
.section-head h2 {
  font-size: clamp(26px, 7vw, 38px); font-weight: 900; letter-spacing: -0.04em; line-height: 1.2;
}
.section-head p { margin-top: 10px; font-size: 13.5px; line-height: 1.7; color: var(--muted); max-width: 520px; }

/* ---------- product cards ---------- */
.free-grid { display: grid; gap: 14px; }
.prod {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  padding: 24px; border-radius: var(--r-lg);
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.prod::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(70% 60% at 50% 0%, rgba(255, 46, 84, 0.22), transparent 70%);
  opacity: 0; transition: opacity 0.35s;
}
.prod:hover { transform: translateY(-4px); border-color: rgba(255, 179, 193, 0.28); box-shadow: 0 40px 90px -50px rgba(255, 46, 84, 0.55); }
.prod:hover::after { opacity: 1; }
.prod-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.prod-icon {
  width: 50px; height: 50px; display: grid; place-items: center;
  font-size: 23px; border-radius: 16px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.badge {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.08em;
  padding: 6px 10px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  color: var(--muted); background: rgba(0, 0, 0, 0.2);
}
.badge-free { color: #0D1B12; background: linear-gradient(100deg, #7BE3B0, #B6F5D6); border-color: transparent; font-weight: 700; }
.prod h3 { font-size: 21px; font-weight: 800; letter-spacing: -0.035em; }
.prod-desc { margin-top: 9px; font-size: 12.5px; line-height: 1.72; color: var(--muted); }
.prod-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.prod-meta span {
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.06em; color: var(--dim);
  padding: 4px 8px; border-radius: 6px; background: rgba(255, 255, 255, 0.04);
}
.prod-go {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 20px;
  font-size: 12.5px; font-weight: 700; color: var(--rose);
}
.prod-go svg { width: 15px; height: 15px; transition: transform 0.25s var(--ease); }
.prod:hover .prod-go svg { transform: translateX(3px); }

.paid-list { display: grid; gap: 8px; }
.prod-row {
  display: grid; grid-template-columns: 22px 38px 1fr auto 16px;
  align-items: center; gap: 12px;
  padding: 14px 15px; border-radius: 18px;
  transition: 0.25s var(--ease);
}
.prod-row:hover { transform: translateX(3px); border-color: rgba(255, 179, 193, 0.26); background: linear-gradient(100deg, rgba(255, 46, 84, 0.07), rgba(255, 255, 255, 0.02)); }
.row-idx { font-size: 9px; color: var(--dim); }
.row-icon { font-size: 20px; display: grid; place-items: center; }
.row-main { display: flex; flex-direction: column; min-width: 0; }
.row-main b { font-size: 14.5px; font-weight: 700; letter-spacing: -0.02em; }
.row-main em { font-style: normal; font-size: 11px; color: var(--dim); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row-tags { display: none; }
.row-price { font-size: 14px; font-weight: 800; color: var(--ink); }
.row-price small { font-size: 9px; font-weight: 500; color: var(--dim); margin-left: 1px; }
.row-go svg { width: 14px; height: 14px; color: var(--dim); }

/* ---------- pass banner ---------- */
.pass-banner {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 26px;
  padding: 28px 24px; border-radius: 28px;
  border: 1px solid rgba(231, 198, 163, 0.28);
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(231, 198, 163, 0.16), transparent 60%),
    radial-gradient(60% 100% at 0% 100%, rgba(255, 46, 84, 0.16), transparent 60%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: 0.3s var(--ease);
}
.pass-banner:hover { transform: translateY(-3px); box-shadow: 0 50px 100px -60px rgba(231, 198, 163, 0.55); }
.pass-banner h2 { font-size: 26px; font-weight: 900; letter-spacing: -0.04em; margin-top: 6px; }
.pass-banner p { margin-top: 10px; font-size: 12.5px; line-height: 1.7; color: var(--muted); max-width: 460px; }
.pass-price { display: flex; align-items: baseline; gap: 10px; margin-top: 18px; }
.pass-price s { color: var(--dim); font-size: 12px; }
.pass-price b { font-size: 30px; font-weight: 900; color: var(--gold); letter-spacing: -0.03em; }
.pass-price b span { font-size: 13px; font-weight: 600; margin-left: 1px; }
.pass-price i { font-style: normal; font-family: var(--mono); font-size: 9px; letter-spacing: 0.08em; color: var(--gold); border: 1px solid rgba(231, 198, 163, 0.3); padding: 4px 7px; border-radius: 999px; }
.pass-side { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.pass-stack { display: flex; }
.pass-stack span {
  width: 34px; height: 34px; display: grid; place-items: center;
  border-radius: 50%; font-size: 14px;
  background: rgba(15, 13, 18, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin-left: -9px;
  box-shadow: 0 6px 16px -8px #000;
}
.pass-stack span:first-child { margin-left: 0; }
.pass-stack.big span { width: 44px; height: 44px; font-size: 18px; }
.pass-side .btn { padding: 13px 20px; font-size: 13.5px; }

/* ---------- steps / faq / foot ---------- */
.steps { display: grid; gap: 10px; }
.steps li { padding: 20px; border-radius: 18px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.025); }
.steps .mono { font-size: 9px; color: var(--crimson); letter-spacing: 0.2em; }
.steps b { display: block; margin-top: 8px; font-size: 18px; font-weight: 800; letter-spacing: -0.03em; }
.steps p { margin-top: 6px; font-size: 12px; line-height: 1.65; color: var(--muted); }
.faq { display: flex; flex-direction: column; gap: 8px; }
.qa { border-radius: 16px; overflow: hidden; }
.qa summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 16px 18px; font-size: 13.5px; font-weight: 600;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary i {
  flex: none; width: 8px; height: 8px;
  border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted);
  transform: rotate(45deg) translateY(-2px); transition: 0.25s;
}
.qa[open] summary i { transform: rotate(225deg) translateY(-2px); }
.qa-body { padding: 0 18px 18px; font-size: 12.5px; line-height: 1.8; color: var(--muted); }
.foot { max-width: 1180px; margin: 30px auto 0; padding: 32px 20px 46px; border-top: 1px solid rgba(255, 255, 255, 0.07); }
.foot-brand { display: flex; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.foot-brand .mono { font-size: 9px; letter-spacing: 0.16em; color: var(--dim); }
.foot ul { display: grid; gap: 7px; }
.foot li { font-size: 10.5px; line-height: 1.6; color: var(--dim); }
.foot-copy { margin-top: 20px; font-size: 8.5px; letter-spacing: 0.14em; color: rgba(107, 100, 120, 0.7); }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 26px; z-index: 200;
  transform: translate(-50%, 12px);
  max-width: min(420px, calc(100vw - 32px));
  padding: 13px 18px; border-radius: 14px;
  background: rgba(18, 16, 22, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 60px -24px #000;
  backdrop-filter: blur(14px);
  font-size: 12.5px; line-height: 1.5; color: var(--ink);
  opacity: 0; pointer-events: none;
  transition: 0.28s var(--ease);
}
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- quiz ---------- */
.view-quiz { min-height: 100vh; display: flex; align-items: flex-start; justify-content: center; padding: 86px 16px 34px; }
.quiz { width: 100%; max-width: 640px; }
.quiz-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.quiz-meta { display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 0; }
.qm-name { font-size: 12.5px; font-weight: 700; color: rgba(246, 239, 241, 0.9); }
.qm-count { font-size: 9.5px; letter-spacing: 0.16em; color: var(--dim); }
.progress { position: relative; height: 4px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); margin-bottom: 30px; }
.progress i {
  position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px;
  background: linear-gradient(90deg, #FF2E54, #FF8FA4);
  box-shadow: 0 0 14px rgba(255, 46, 84, 0.8);
  transition: width 0.45s var(--ease);
}
.progress span {
  position: absolute; right: 0; top: 9px;
  font-size: 8.5px; color: var(--dim); letter-spacing: 0.1em;
}
.q-eyebrow {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.18em;
  color: rgba(255, 179, 193, 0.8); text-transform: uppercase;
}
.q-eyebrow i { width: 18px; height: 1px; background: rgba(255, 179, 193, 0.4); }
.q-text {
  margin: 14px 0 26px;
  font-size: clamp(23px, 6.2vw, 32px); font-weight: 800;
  line-height: 1.36; letter-spacing: -0.035em;
  word-break: keep-all;
}
.opts { display: grid; gap: 9px; }
.opt {
  display: flex; align-items: center; gap: 13px;
  width: 100%; padding: 15px 15px; border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.032);
  color: var(--ink); text-align: left;
  font-size: 14.5px; line-height: 1.5; letter-spacing: -0.01em;
  transition: 0.22s var(--ease);
  word-break: keep-all;
}
.opt:hover { border-color: rgba(255, 179, 193, 0.4); background: rgba(255, 46, 84, 0.07); transform: translateY(-1px); }
.opt:active { transform: scale(0.988); }
.opt-key {
  flex: none; width: 26px; height: 26px;
  display: grid; place-items: center;
  border-radius: 8px; border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 9.5px; color: var(--muted);
  transition: 0.2s;
}
.opt-t { flex: 1; }
.opt-tick { flex: none; width: 20px; height: 20px; opacity: 0; transform: scale(0.5); transition: 0.22s var(--ease); }
.opt-tick svg { width: 20px; height: 20px; stroke: var(--rose); }
.opt-tick.pop { animation: tickPop 0.3s var(--ease); }
@keyframes tickPop { 0% { transform: scale(0.4); } 60% { transform: scale(1.18); } 100% { transform: scale(1); } }
.opt.is-on {
  border-color: rgba(255, 46, 84, 0.9);
  background: linear-gradient(100deg, rgba(255, 46, 84, 0.2), rgba(255, 46, 84, 0.04));
  box-shadow: 0 0 0 1px rgba(255, 46, 84, 0.35), 0 16px 40px -26px rgba(255, 46, 84, 1);
}
.opt.is-on .opt-key { border-color: rgba(255, 46, 84, 0.8); color: #fff; background: rgba(255, 46, 84, 0.25); }
.opt.is-on .opt-tick { opacity: 1; transform: scale(1); }
.quiz-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 24px; }
.prev-btn {
  padding: 9px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: transparent;
  color: var(--muted); font-size: 12px; transition: 0.2s;
}
.prev-btn:hover:not(:disabled) { color: var(--ink); border-color: rgba(255, 255, 255, 0.2); }
.prev-btn:disabled { opacity: 0.3; cursor: default; }
.save-note { font-size: 10px; color: var(--dim); letter-spacing: -0.01em; }

/* ---------- handover ---------- */
.handover { width: 100%; max-width: 460px; margin: 0 auto; padding-top: 6vh; }
.handover-card { padding: 34px 26px; border-radius: 26px; text-align: center; }
.ho-icon {
  width: 64px; height: 64px; margin: 0 auto 18px;
  display: grid; place-items: center; font-size: 30px;
  border-radius: 20px; background: rgba(255, 46, 84, 0.12);
  border: 1px solid rgba(255, 46, 84, 0.3);
}
.handover-card h2 { font-size: 24px; font-weight: 900; letter-spacing: -0.04em; margin: 10px 0 12px; }
.handover-card p { font-size: 13px; line-height: 1.75; color: var(--muted); }
.ho-steps { display: grid; gap: 6px; margin: 20px 0 24px; text-align: left; }
.ho-steps span {
  font-size: 12px; color: rgba(246, 239, 241, 0.75);
  padding: 10px 14px; border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-family: var(--mono); letter-spacing: 0.06em;
}
.handover-card .btn { width: 100%; }
.ho-fine { margin-top: 14px; font-size: 10px; color: var(--dim); line-height: 1.6; }

/* ---------- scan ---------- */
.view-scan { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 84px 18px 40px; }
.scan { width: 100%; max-width: 520px; text-align: center; }
.scan-top { display: flex; justify-content: space-between; align-items: center; font-size: 8.5px; letter-spacing: 0.16em; color: var(--dim); margin-bottom: 8px; }
.scan-live { display: inline-flex; align-items: center; gap: 5px; color: var(--crimson); }
.scan-live i { width: 5px; height: 5px; border-radius: 50%; background: var(--crimson); animation: dotPulse 1.6s infinite; }
.scan-orb { position: relative; width: min(290px, 70vw); aspect-ratio: 1; margin: 0 auto; }
#radar { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.95; }
.ring-svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: rgba(255, 255, 255, 0.07); stroke-width: 2; }
.ring-fg {
  fill: none; stroke: url(#ringg); stroke-width: 3.5; stroke-linecap: round;
  filter: drop-shadow(0 0 10px rgba(255, 46, 84, 0.8));
  transition: stroke-dashoffset 0.1s linear;
}
.orb-core {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 0;
}
.heart { width: 40px; height: 40px; fill: var(--crimson); filter: drop-shadow(0 0 18px rgba(255, 46, 84, 0.9)); animation: beat 1.15s ease-in-out infinite; }
@keyframes beat {
  0%, 100% { transform: scale(1); }
  14% { transform: scale(1.16); }
  28% { transform: scale(1); }
  42% { transform: scale(1.09); }
  56% { transform: scale(1); }
}
.clock { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; margin-top: 8px; line-height: 1; }
.clock-lb { font-size: 7.5px; letter-spacing: 0.3em; color: var(--dim); margin-top: 4px; }
.scan-head { margin-top: 20px; }
.scan-stage { font-size: 8.5px; letter-spacing: 0.24em; color: var(--crimson); }
.scan-head h2 { font-size: clamp(21px, 5.6vw, 27px); font-weight: 900; letter-spacing: -0.04em; margin: 8px 0 6px; }
.scan-head h2.swap { animation: swapIn 0.4s var(--ease); }
@keyframes swapIn { from { opacity: 0; transform: translateY(6px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
.scan-head p { font-size: 11.5px; color: var(--muted); }
.stages { margin-top: 22px; display: grid; gap: 3px; text-align: left; }
.stage {
  display: grid; grid-template-columns: 22px 1fr 74px 30px; align-items: center; gap: 9px;
  padding: 7px 0; opacity: 0.38; transition: opacity 0.3s;
}
.stage.on, .stage.done { opacity: 1; }
.st-no { font-size: 8px; color: var(--dim); }
.st-name { font-size: 11.5px; color: rgba(246, 239, 241, 0.85); letter-spacing: -0.01em; }
.stage.on .st-name { color: #fff; }
.st-bar { height: 2px; border-radius: 2px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.st-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #FF2E54, #FF8FA4); box-shadow: 0 0 8px rgba(255, 46, 84, 0.8); }
.stage.done .st-bar i { background: rgba(255, 179, 193, 0.55); box-shadow: none; }
.st-state { font-size: 8px; color: var(--dim); text-align: right; letter-spacing: 0.08em; }
.stage.on .st-state { color: var(--rose); }
.scan-log {
  margin-top: 18px; height: 96px; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 3px;
  text-align: left; font-size: 9.5px; color: rgba(246, 239, 241, 0.4);
  border-top: 1px solid rgba(255, 255, 255, 0.06); padding-top: 12px;
}
.log-line { display: flex; align-items: center; gap: 7px; animation: logIn 0.32s var(--ease); }
.log-line i { width: 3px; height: 3px; border-radius: 50%; background: var(--dim); flex: none; }
.log-line.sig { color: rgba(255, 179, 193, 0.85); }
.log-line.sig i { background: var(--crimson); }
@keyframes logIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.scan-done .heart { fill: var(--ok); filter: drop-shadow(0 0 22px rgba(123, 227, 176, 0.9)); animation: none; }
.scan-done .ring-fg { stroke: var(--ok); filter: drop-shadow(0 0 14px rgba(123, 227, 176, 0.8)); }

/* ---------- result ---------- */
.view-result { padding: 88px 15px 50px; }
.result { width: 100%; max-width: 660px; margin: 0 auto; }
.tone-red { --tone: #FF2E54; --tone-rgb: 255, 46, 84; }
.tone-amber { --tone: #FFC46B; --tone-rgb: 255, 196, 107; }
.tone-green { --tone: #7BE3B0; --tone-rgb: 123, 227, 176; }
.tone-pink { --tone: #FFB3C1; --tone-rgb: 255, 179, 193; }
.res-top { display: flex; justify-content: space-between; gap: 10px; font-size: 8px; letter-spacing: 0.14em; color: var(--dim); margin-bottom: 16px; }
.res-hero {
  position: relative; overflow: hidden;
  padding: 26px 22px 24px; border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.res-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(80% 60% at 20% 0%, rgba(var(--tone-rgb), 0.22), transparent 65%);
}
.res-hero > * { position: relative; }
.stamp-wrap { display: flex; align-items: flex-end; gap: 12px; }
.stamp {
  display: inline-block; white-space: nowrap;
  font-size: clamp(44px, 12.5vw, 66px); font-weight: 900; line-height: 1.05;
  letter-spacing: 0.01em; color: var(--tone);
  padding: 2px 14px 6px;
  border: 3px solid var(--tone); border-radius: 10px;
  transform: rotate(-5deg);
  text-shadow: 0 0 26px rgba(var(--tone-rgb), 0.5);
  box-shadow: inset 0 0 34px rgba(var(--tone-rgb), 0.16), 0 20px 50px -30px rgba(var(--tone-rgb), 0.9);
  animation: stampIn 0.5s var(--ease) both;
}
.stamp.is-long { font-size: clamp(20px, 6vw, 34px); padding: 8px 12px 10px; letter-spacing: -0.01em; }
.stamp.hit { animation: stampHit 0.45s var(--ease); }
@keyframes stampIn { from { opacity: 0; transform: rotate(-9deg) scale(1.25); } to { opacity: 1; transform: rotate(-5deg) scale(1); } }
@keyframes stampHit { 0% { transform: rotate(-5deg) scale(1); } 40% { transform: rotate(-3deg) scale(1.07); } 100% { transform: rotate(-5deg) scale(1); } }
.stamp-sub { font-size: 8.5px; letter-spacing: 0.16em; color: var(--dim); padding-bottom: 8px; }
.res-title { font-size: clamp(23px, 6vw, 31px); font-weight: 900; letter-spacing: -0.04em; line-height: 1.28; margin: 18px 0 10px; }
.res-lede { font-size: 14px; line-height: 1.8; color: rgba(246, 239, 241, 0.66); word-break: keep-all; }
.cnt-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 18px; }
.cnt {
  padding: 12px 9px; border-radius: 12px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.06);
  min-width: 0;
}
.cnt span { display: block; font-family: var(--mono); font-size: 7.5px; letter-spacing: 0.1em; color: var(--dim); text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cnt b { display: block; margin-top: 5px; font-size: 12.5px; font-weight: 800; letter-spacing: -0.02em; word-break: keep-all; }
.demo-badge {
  display: inline-block; margin-top: 12px;
  font-family: var(--mono); font-size: 8px; letter-spacing: 0.08em;
  color: var(--gold); border: 1px dashed rgba(231, 198, 163, 0.4);
  padding: 5px 9px; border-radius: 999px;
}
.preview-note { margin: 14px 0 0; text-align: center; font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.08em; color: var(--dim); }
.block {
  scroll-margin-top: 84px;
  margin-top: 10px; padding: 20px 18px; border-radius: 20px;
  background: rgba(255, 255, 255, 0.026);
  border: 1px solid rgba(255, 255, 255, 0.065);
}
.block-h { display: flex; align-items: center; gap: 8px; margin-bottom: 13px; }
.block-h span { font-family: var(--mono); font-size: 11px; color: var(--tone); opacity: 0.8; }
.block-h h3 { font-size: 13.5px; font-weight: 800; letter-spacing: -0.02em; }
.b-p { font-size: 13.5px; line-height: 1.85; color: rgba(246, 239, 241, 0.78); word-break: keep-all; }
.b-fine { font-size: 11.5px; line-height: 1.8; color: var(--dim); }
.b-p.dim { color: var(--dim); }
.b-note { margin-top: 10px; font-size: 10.5px; color: var(--dim); line-height: 1.6; }
.b-list { display: grid; gap: 11px; counter-reset: bl; }
.b-list li { display: flex; gap: 10px; font-size: 13px; line-height: 1.72; color: rgba(246, 239, 241, 0.8); word-break: keep-all; }
.b-list li i { flex: none; width: 5px; height: 5px; margin-top: 8px; border-radius: 50%; background: var(--tone); box-shadow: 0 0 8px rgba(var(--tone-rgb), 0.7); }
.b-list2 { display: grid; gap: 0; }
.b-list2 li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed rgba(255, 255, 255, 0.06); font-size: 12.5px; }
.b-list2 li:last-child { border-bottom: 0; }
.b-list2 b { font-weight: 700; color: rgba(246, 239, 241, 0.9); flex: none; }
.b-list2 span { color: var(--muted); text-align: right; }
.b-quote {
  position: relative; margin-bottom: 8px; padding: 13px 15px 13px 17px;
  border-left: 2px solid var(--tone); border-radius: 0 12px 12px 0;
  background: rgba(var(--tone-rgb), 0.06);
  font-size: 13.5px; line-height: 1.7; color: rgba(246, 239, 241, 0.9);
  word-break: keep-all;
}
.b-quote:last-child { margin-bottom: 0; }
.msg-stack { display: grid; gap: 8px; }
.msg-card { padding: 15px; border-radius: 14px; }
.msg-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.msg-tone { font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.16em; color: var(--rose); text-transform: uppercase; }
.copy-btn {
  font-size: 10.5px; padding: 5px 10px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.05);
  color: var(--muted); transition: 0.2s;
}
.copy-btn:hover { color: #fff; border-color: rgba(255, 179, 193, 0.5); }
.copy-btn.ok { color: var(--ok); border-color: rgba(123, 227, 176, 0.5); }
.msg-text { font-size: 14px; line-height: 1.8; color: rgba(246, 239, 241, 0.92); word-break: keep-all; }
.ban-stack { display: grid; gap: 7px; }
.ban-row { padding: 11px 13px; border-radius: 11px; background: rgba(255, 46, 84, 0.06); border: 1px solid rgba(255, 46, 84, 0.15); }
.ban-row b { display: block; font-size: 12.5px; color: #FF8FA4; font-weight: 700; }
.ban-row span { display: block; margin-top: 3px; font-size: 11px; line-height: 1.6; color: var(--muted); }
.react-stack { display: grid; gap: 7px; }
.react-row { padding: 12px 13px; border-radius: 11px; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.06); }
.rr-top { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; }
.rr-top i { width: 4px; height: 4px; border-radius: 50%; background: var(--rose); }
.react-row p { margin-top: 5px; font-size: 12px; line-height: 1.7; color: var(--muted); }
.area-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.area { padding: 12px; border-radius: 12px; background: rgba(0, 0, 0, 0.22); border: 1px solid rgba(255, 255, 255, 0.06); }
.area-top { display: flex; flex-direction: column; gap: 3px; }
.area-top span { font-size: 11px; color: rgba(246, 239, 241, 0.8); }
.area-top b { font-family: var(--mono); font-size: 9px; color: var(--muted); letter-spacing: 0.04em; }
.area-bar { height: 3px; border-radius: 2px; background: rgba(255, 255, 255, 0.08); margin-top: 9px; overflow: hidden; }
.area-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--tone), rgba(255, 255, 255, 0.75)); }
.plan-list { display: grid; gap: 8px; }
.plan-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; line-height: 1.7; color: rgba(246, 239, 241, 0.8); }
.day { flex: none; font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.06em; color: var(--rose); padding: 3px 6px; border-radius: 5px; border: 1px solid rgba(255, 255, 255, 0.12); margin-top: 1px; }
.clash-stack { display: grid; gap: 8px; }
.clash { padding: 14px; border-radius: 13px; }
.clash-name { font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.14em; color: var(--dim); }
.clash-sides { display: grid; grid-template-columns: 1fr 14px 1fr; align-items: center; gap: 6px; margin: 9px 0; }
.clash-sides span { font-size: 11.5px; padding: 7px 9px; border-radius: 8px; background: rgba(255, 255, 255, 0.05); line-height: 1.4; }
.clash-sides i { height: 1px; background: rgba(255, 255, 255, 0.16); }
.clash p { font-size: 11.5px; line-height: 1.7; color: var(--muted); }
.flip-stack { display: grid; gap: 7px; }
.flip {
  display: flex; align-items: flex-start; gap: 11px; width: 100%;
  padding: 12px 13px; border-radius: 12px; text-align: left;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03);
  color: var(--ink); transition: 0.22s;
}
.flip:hover { border-color: rgba(255, 179, 193, 0.35); }
.flip.on { border-color: rgba(255, 46, 84, 0.7); background: rgba(255, 46, 84, 0.09); }
.flip-sw { flex: none; position: relative; width: 34px; height: 20px; border-radius: 999px; background: rgba(255, 255, 255, 0.14); margin-top: 1px; transition: 0.22s; }
.flip-sw i { position: absolute; left: 3px; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform 0.22s var(--ease); }
.flip.on .flip-sw { background: var(--crimson); }
.flip.on .flip-sw i { transform: translateX(14px); }
.flip-txt b { display: block; font-size: 12.5px; font-weight: 700; }
.flip-txt em { display: block; margin-top: 2px; font-style: normal; font-size: 10.5px; color: var(--dim); }

/* ---------- lock ---------- */
.lock-zone { margin-top: 12px; }
.lock-list { padding: 16px 16px 8px; border-radius: 20px; }
.ll-head { font-size: 8px; letter-spacing: 0.16em; color: var(--dim); margin-bottom: 6px; }
.lock-list li {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 0; border-bottom: 1px dashed rgba(255, 255, 255, 0.07);
}
.lock-list li:last-child { border-bottom: 0; }
.lock-list li span { font-size: 9px; color: var(--dim); }
.lock-list li b { flex: 1; font-size: 12.5px; font-weight: 600; color: rgba(246, 239, 241, 0.62); }
.lock-list li i { display: flex; }
.lock-list li svg { width: 13px; height: 13px; stroke: rgba(255, 179, 193, 0.5); }
.lock-panel {
  margin-top: 10px; padding: 24px 20px 20px; border-radius: 22px; text-align: center;
  background: linear-gradient(170deg, rgba(24, 20, 28, 0.9), rgba(12, 11, 16, 0.96));
}
.lock-ic {
  width: 42px; height: 42px; margin: 0 auto 12px;
  display: grid; place-items: center; border-radius: 13px;
  border: 1px solid rgba(255, 179, 193, 0.3); background: rgba(255, 46, 84, 0.12);
}
.lock-ic svg { width: 19px; height: 19px; stroke: var(--rose); }
.lock-panel h3 { font-size: 19px; font-weight: 900; letter-spacing: -0.04em; margin: 0 0 6px; }
.lock-panel p { font-size: 12px; line-height: 1.7; color: var(--muted); max-width: 300px; margin: 0 auto; }
.lock-price { display: flex; align-items: baseline; justify-content: center; gap: 8px; margin: 15px 0 12px; }
.lock-price b { font-size: 24px; font-weight: 900; letter-spacing: -0.03em; }
.lock-price span { font-family: var(--mono); font-size: 8.5px; color: var(--dim); }
.lock-panel .btn { width: 100%; }
.lock-fine { display: block; margin-top: 9px; font-size: 9.5px; color: var(--dim); }

/* ---------- share card ---------- */
.card-sec { margin-top: 10px; padding: 20px 18px 22px; border-radius: 22px; background: rgba(255, 255, 255, 0.025); border: 1px solid rgba(255, 255, 255, 0.065); }
.card-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 16px; }
.card-head h3 { font-size: 17px; font-weight: 900; letter-spacing: -0.03em; margin-top: 6px; }
.card-head p { font-size: 11px; line-height: 1.6; color: var(--muted); margin-top: 4px; }
.card-head .btn { width: 100%; }
.card-stage { display: flex; justify-content: center; }
.card-preview {
  width: min(290px, 74vw); height: auto; border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 34px 80px -46px #000;
}
.res-actions { display: flex; flex-wrap: wrap; gap: 7px; justify-content: center; margin-top: 26px; }
.res-actions .btn { padding: 12px 18px; font-size: 12.5px; }
.res-foot { text-align: center; font-family: var(--mono); font-size: 8px; letter-spacing: 0.14em; color: rgba(107, 100, 120, 0.6); margin-top: 22px; }

/* ---------- modal ---------- */
.modal-wrap { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; }
.modal-back {
  position: absolute; inset: 0;
  background: rgba(5, 5, 8, 0.72);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  opacity: 0; transition: opacity 0.25s;
}
.modal {
  position: relative; width: min(430px, 100%);
  max-height: calc(100vh - 32px); overflow-y: auto;
  padding: 26px 22px 22px; border-radius: 24px;
  background: linear-gradient(165deg, rgba(26, 23, 32, 0.96), rgba(12, 11, 16, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 50px 120px -50px #000;
  opacity: 0; transform: translateY(14px) scale(0.98);
  transition: 0.3s var(--ease);
}
.modal-wrap.on .modal-back { opacity: 1; }
.modal-wrap.on .modal { opacity: 1; transform: none; }
.modal-x {
  position: absolute; top: 14px; right: 14px;
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.04);
  color: var(--muted); font-size: 18px; line-height: 1; display: grid; place-items: center;
}
.modal-x:hover { color: #fff; border-color: rgba(255, 255, 255, 0.24); }
.modal .eyebrow { font-size: 8px; }
.modal-title { font-size: 19px; font-weight: 900; letter-spacing: -0.035em; margin: 9px 0 4px; }
.modal-price { display: flex; align-items: baseline; gap: 8px; margin: 12px 0 4px; }
.modal-price b { font-size: 32px; font-weight: 900; letter-spacing: -0.04em; }
.modal-price b span { font-size: 14px; font-weight: 700; margin-left: 2px; }
.modal-price em { font-style: normal; font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.08em; color: var(--dim); }
.modal-list { display: grid; gap: 8px; margin: 16px 0; }
.modal-list li { display: flex; align-items: flex-start; gap: 8px; font-size: 12.5px; line-height: 1.5; color: rgba(246, 239, 241, 0.8); }
.modal-list svg { width: 13px; height: 13px; flex: none; margin-top: 3px; stroke: var(--rose); }
.notice { padding: 13px; border-radius: 12px; background: rgba(255, 196, 107, 0.06); border: 1px solid rgba(255, 196, 107, 0.18); margin-bottom: 14px; }
.notice b { display: block; font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.1em; color: var(--amber); margin-bottom: 5px; }
.notice p { font-size: 10.5px; line-height: 1.7; color: var(--muted); }
.modal .btn-primary { width: 100%; }
.pay-note { margin-top: 10px; font-size: 11.5px; line-height: 1.6; color: var(--rose); text-align: center; animation: swapIn 0.3s var(--ease); }
.modal-fine { margin-top: 12px; font-size: 9.5px; line-height: 1.65; color: var(--dim); text-align: center; }
.modal-p { font-size: 12.5px; line-height: 1.75; color: var(--muted); margin-top: 8px; }
.my-code {
  display: flex; align-items: center; gap: 10px; margin: 14px 0;
  padding: 13px 14px; border-radius: 12px;
  border: 1px dashed rgba(231, 198, 163, 0.4); background: rgba(231, 198, 163, 0.07);
}
.my-code span { font-size: 7.5px; letter-spacing: 0.12em; color: var(--gold); }
.my-code b { flex: 1; font-family: var(--mono); font-size: 14px; letter-spacing: 0.08em; }
.my-code button { font-size: 10px; color: var(--muted); background: none; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 999px; padding: 5px 9px; }
.code-field { display: flex; gap: 7px; margin: 14px 0 6px; }
.code-field input {
  flex: 1; min-width: 0; padding: 13px 14px; border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(0, 0, 0, 0.4);
  color: var(--ink); font-family: var(--mono); font-size: 14px; letter-spacing: 0.1em;
  text-transform: uppercase;
}
.code-field input::placeholder { color: rgba(107, 100, 120, 0.8); }
.code-field .btn { padding: 12px 16px; font-size: 12.5px; }

/* ---------- pass page ---------- */
.view-pass { padding: 96px 18px 40px; }
.pass-hero { max-width: 660px; margin: 0 auto; }
.pass-hero h1 { font-size: clamp(30px, 8.4vw, 46px); font-weight: 900; letter-spacing: -0.05em; line-height: 1.18; margin: 14px 0 12px; }
.pass-lede { font-size: 13.5px; line-height: 1.8; color: var(--muted); max-width: 480px; }
.pass-buy {
  margin-top: 24px; padding: 22px; border-radius: 26px;
  border-color: rgba(231, 198, 163, 0.26);
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(231, 198, 163, 0.14), transparent 60%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
}
.pb-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 9px; }
.pb-price s { font-size: 12px; color: var(--dim); }
.pb-price b { font-size: 34px; font-weight: 900; letter-spacing: -0.04em; color: var(--gold); }
.pb-price b span { font-size: 14px; font-weight: 700; }
.pb-price i { font-style: normal; font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.06em; color: var(--gold); border: 1px solid rgba(231, 198, 163, 0.3); padding: 4px 7px; border-radius: 999px; }
.pb-perks { display: grid; gap: 8px; margin-top: 16px; }
.pb-perks li { display: flex; gap: 8px; align-items: flex-start; font-size: 12px; line-height: 1.5; color: rgba(246, 239, 241, 0.78); }
.pb-perks svg { width: 13px; height: 13px; flex: none; margin-top: 3px; stroke: var(--gold); }
.pb-right { margin-top: 22px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.pb-right .btn { width: 100%; }
.pb-fine { font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.08em; color: var(--dim); }
.pass-grid { display: grid; gap: 7px; }
.pass-item { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; transition: 0.22s; }
.pass-item:hover { border-color: rgba(255, 179, 193, 0.28); transform: translateX(3px); }
.pi-icon { font-size: 20px; width: 34px; text-align: center; flex: none; }
.pass-item div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pass-item b { font-size: 13px; font-weight: 700; }
.pass-item em { font-style: normal; font-size: 10.5px; color: var(--dim); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pi-price { font-size: 11px; color: var(--muted); flex: none; }
.pass-code { display: flex; flex-direction: column; gap: 16px; padding: 22px; border-radius: 22px; }
.pass-code h3 { font-size: 18px; font-weight: 900; letter-spacing: -0.03em; margin-top: 7px; }
.pass-code p { font-size: 12px; line-height: 1.7; color: var(--muted); margin-top: 5px; }
.pass-code .btn { align-self: flex-start; }
.pass-code .my-code { margin: 0; }

/* ---------- desktop ---------- */
@media (min-width: 720px) {
  .topbar { height: 68px; padding: 0 28px; }
  .brand-txt { font-size: 18px; }
  .hero { padding: 132px 28px 40px; gap: 24px; }
  .hero-title { font-size: clamp(56px, 8.6vw, 92px); }
  .hero-sub { font-size: 15.5px; }
  .free-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .prod { padding: 28px; }
  .prod-lg { min-height: 330px; }
  .prod h3 { font-size: 24px; }
  .prod-desc { font-size: 13px; }
  .section { padding: 72px 28px; }
  .section-head h2 { font-size: clamp(30px, 3.4vw, 40px); }
  .section-head p { font-size: 14px; }
  .prod-row { grid-template-columns: 30px 44px 1fr auto 20px; padding: 17px 20px; gap: 14px; }
  .row-main b { font-size: 16px; }
  .row-main em { font-size: 11.5px; }
  .row-tags { display: flex; gap: 6px; margin-top: 7px; }
  .row-tags i { font-style: normal; font-family: var(--mono); font-size: 8px; letter-spacing: 0.04em; color: var(--dim); border: 1px solid rgba(255, 255, 255, 0.08); padding: 3px 6px; border-radius: 5px; }
  .row-price { font-size: 15px; }
  .pass-banner { flex-direction: row; align-items: center; justify-content: space-between; padding: 36px 34px; }
  .pass-banner h2 { font-size: 32px; }
  .pass-banner p { font-size: 13px; }
  .pass-side { flex-direction: column; align-items: flex-end; gap: 16px; }
  .pass-price b { font-size: 36px; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .steps li { padding: 24px; }
  .steps b { font-size: 20px; }
  .steps p { font-size: 12.5px; }
  .foot { padding: 40px 28px 56px; }
  .quiz { max-width: 660px; }
  .view-quiz { padding-top: 100px; }
  .opt { padding: 18px 18px; font-size: 15.5px; }
  .q-text { font-size: 34px; }
  .scan-orb { width: 320px; }
  .result { max-width: 700px; }
  .view-result { padding: 104px 24px 60px; }
  .res-hero { padding: 34px 32px 30px; }
  .block { padding: 24px 24px; }
  .cnt-row { gap: 8px; }
  .cnt b { font-size: 14px; }
  .cnt span { font-size: 8px; }
  .card-head { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .card-head .btn { width: auto; }
  .card-preview { width: 340px; }
  .area-grid { grid-template-columns: repeat(4, 1fr); }
  .view-pass { padding: 120px 28px 60px; }
  .pass-hero { max-width: 820px; }
  .pass-buy { display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; padding: 30px; align-items: center; }
  .pb-right { margin-top: 0; align-items: flex-end; }
  .pb-right .btn { width: auto; }
  .pass-grid { grid-template-columns: 1fr 1fr; }
  .pass-code { flex-direction: row; align-items: center; justify-content: space-between; }
  .my-code { margin: 0; }
}

@media (min-width: 1000px) {
  .hero { grid-template-columns: 1.02fr 0.98fr; align-items: center; padding: 150px 40px 60px; gap: 10px; min-height: 92vh; }
  .hero-copy { padding-right: 20px; }
  .hero-art { min-height: 520px; }
  .case-card { width: 360px; padding: 28px; }
  .case-stamp { font-size: 72px; }
  .float-chip { font-size: 11.5px; }
  .chip-a { left: 2%; }
  .chip-b { right: 2%; }
  .section { padding: 84px 40px; }
  .hero-title { font-size: 92px; }
  .view-quiz, .view-scan { padding-top: 110px; }
}

@media (max-width: 359px) {
  .hero-title { font-size: 42px; }
  .cnt-row { grid-template-columns: 1fr 1fr; }
  .cnt:last-child { grid-column: span 2; }
  .opt { font-size: 13.5px; padding: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}
.quiz-hint { margin-top: 34px; text-align: center; font-size: 10.5px; line-height: 1.8; color: rgba(107, 100, 120, 0.85); }
.block-h span { min-width: 16px; }

.prod-ghost {
  position: absolute; right: 18px; bottom: 4px;
  font-size: 78px; font-weight: 800; letter-spacing: -0.05em;
  color: rgba(255, 255, 255, 0.045);
  pointer-events: none; line-height: 1;
}
.prod-go { margin-top: auto; padding-top: 20px; }

@media (min-width: 1000px) {
  .hero { min-height: 84vh; padding: 142px 40px 64px; }
  .case-card { width: 420px; padding: 28px 30px 24px; }
  .case-stamp { font-size: 84px; }
  .case-rows b { font-size: 15px; }
  .case-rows span { font-size: 12.5px; }
  .case-note { font-size: 13.5px; }
  .case-sub { font-size: 10px; }
  .chip-a { left: 50%; top: -8px; margin-left: -252px; }
  .chip-b { right: 50%; bottom: -8px; margin-right: -252px; }
  .scan-orbit { max-width: 660px; }
  .prod-lg { min-height: 292px; }
  .prod-ghost { font-size: 92px; }
  .pass-banner { padding: 40px 40px; }
}

/* ============================================================
   v2 — 시네마틱 수사물 레이어 + 타격감 인터랙션
   ============================================================ */

/* 히어로: 공감 카피가 두 줄로 겹치지 않게 */
.hero-title { line-height: 1.04; font-size: clamp(38px, 10.6vw, 84px); letter-spacing: -0.048em; }
.hero-title .l2 { letter-spacing: -0.052em; }
@media (min-width: 720px) { .hero-title { font-size: clamp(52px, 7.4vw, 82px); line-height: 1.02; } }
@media (min-width: 1000px) { .hero-title { font-size: 84px; } }
@media (max-width: 359px) { .hero-title { font-size: 33px; } }

/* 신뢰 보조: 칩 */
.hero-fine {
  display: flex; align-items: center; gap: 9px; margin-top: 16px;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.06em; color: var(--dim);
}
.hero-fine span { white-space: nowrap; }
.hero-fine i { width: 3px; height: 3px; border-radius: 50%; background: rgba(255, 179, 193, 0.5); }
.trust {
  display: flex; flex-wrap: wrap; gap: 7px; margin-top: 26px;
  padding-top: 0; border-top: 0;
}
.trust li {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 11px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.03);
}
.trust li svg { width: 11px; height: 11px; stroke: var(--ok); }
.trust li span, .trust b { display: inline; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.05em; color: rgba(246, 239, 241, 0.62); font-weight: 500; }

/* 케이스 파일 질감 */
.case-card {
  background-image:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.02) 0 1px, transparent 1px 27px);
  background-blend-mode: overlay;
}
.case-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background:
    linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.045) 48%, transparent 56%),
    radial-gradient(70% 50% at 90% 10%, rgba(255, 46, 84, 0.12), transparent 60%);
}
.case-tape {
  position: absolute; top: -8px; left: 50%; transform: translateX(-50%) rotate(-1.6deg);
  width: 104px; height: 20px; border-radius: 2px;
  background: rgba(255, 179, 193, 0.16);
  border-left: 1px dashed rgba(255, 255, 255, 0.22);
  border-right: 1px dashed rgba(255, 255, 255, 0.22);
  box-shadow: 0 6px 16px -10px #000;
}
.case-conf {
  position: absolute; top: 46px; right: -6px; transform: rotate(7deg);
  font-size: 7.5px; letter-spacing: 0.22em; color: rgba(255, 46, 84, 0.5);
  border: 1px solid rgba(255, 46, 84, 0.3); padding: 3px 5px; border-radius: 3px;
}
.case-stamp-row { display: flex; align-items: center; gap: 12px; }
.case-stamp { margin: 14px 0 16px; font-size: 54px; }
.case-verdict { display: flex; flex-direction: column; gap: 5px; }
.case-verdict b { font-family: var(--mono); font-size: 9px; font-weight: 600; letter-spacing: 0.16em; color: rgba(255, 46, 84, 0.9); }
.case-verdict span { font-size: 8px; letter-spacing: 0.14em; color: var(--dim); }
.case-redact { display: grid; gap: 6px; margin: 10px 0 2px; }
.case-redact i { display: block; height: 6px; border-radius: 2px; background: rgba(0, 0, 0, 0.5); }
.case-redact i:nth-child(1) { width: 58%; }
.case-redact i:nth-child(2) { width: 34%; }
.case-redact i:nth-child(3) { width: 72%; }

/* 스캔: 타이틀 시퀀스 */
.view-scan { overflow: hidden; }
.scan { position: relative; z-index: 2; }
.cine-bar { position: fixed; left: 0; right: 0; height: 6.4vh; background: #000; z-index: 6; pointer-events: none; }
.cine-bar.top { top: 0; }
.cine-bar.bottom { bottom: 0; }
.scan::before {
  content: ""; position: fixed; inset: 0; z-index: 4; pointer-events: none;
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 3px);
  opacity: 0.5; mix-blend-mode: overlay;
  animation: filmFlicker 3.4s steps(3) infinite;
}
@keyframes filmFlicker {
  0%, 100% { opacity: 0.42; }
  33% { opacity: 0.6; }
  66% { opacity: 0.34; }
}
.scan-intro {
  position: fixed; inset: 0; z-index: 7; pointer-events: none;
  display: grid; place-content: center; gap: 12px; text-align: center;
  background: radial-gradient(62% 52% at 50% 50%, rgba(9, 9, 13, 0.72), rgba(7, 7, 11, 0.97));
  animation: introOut 1.5s var(--ease) forwards;
}
.scan-intro span { font-size: 9px; letter-spacing: 0.34em; color: rgba(255, 179, 193, 0.85); }
.scan-intro b {
  font-size: clamp(24px, 7vw, 34px); font-weight: 900; letter-spacing: -0.04em;
  text-shadow: 0 0 26px rgba(255, 46, 84, 0.45);
  animation: introTitle 1.5s var(--ease) both;
}
@keyframes introTitle {
  0% { letter-spacing: 0.14em; opacity: 0; filter: blur(8px); }
  45% { letter-spacing: -0.04em; opacity: 1; filter: blur(0); }
  100% { letter-spacing: -0.02em; opacity: 1; }
}
@keyframes introOut {
  0%, 58% { opacity: 1; visibility: visible; }
  100% { opacity: 0; visibility: hidden; }
}
.scan-orb::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 179, 193, 0.9), transparent);
  box-shadow: 0 0 18px 2px rgba(255, 46, 84, 0.55);
  animation: laserScan 2.6s linear infinite;
}
@keyframes laserScan {
  0% { transform: translateY(0); opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { transform: translateY(287px); opacity: 0; }
}
.scan-live { font-size: 8.5px; }

/* 결과: 사건 요약 + 스탬프 부제 + 조건 */
.res-case { margin-bottom: 14px; }
.rc-k { display: block; margin-bottom: 6px; font-size: 8px; letter-spacing: 0.22em; color: rgba(var(--tone-rgb), 0.85); }
.res-case p { font-size: 12px; line-height: 1.6; color: rgba(246, 239, 241, 0.66); word-break: keep-all; }
.res-case p + p { color: rgba(246, 239, 241, 0.44); font-size: 11.5px; }
.stamp-wrap { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.stamp-meta { display: flex; flex-direction: column; gap: 6px; padding-bottom: 10px; }
.stamp-meta b { font-family: var(--mono); font-size: 9.5px; font-weight: 600; letter-spacing: 0.14em; color: rgba(var(--tone-rgb), 0.95); }
.stamp-meta span { font-size: 8.5px; letter-spacing: 0.12em; color: var(--dim); }
.cond-line {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 13px;
  padding: 7px 12px 7px 10px; border-radius: 999px;
  border: 1px solid rgba(var(--tone-rgb), 0.42);
  background: rgba(var(--tone-rgb), 0.1);
  animation: condIn 0.45s 0.2s var(--ease) both;
}
.cond-line span { font-size: 8px; letter-spacing: 0.16em; color: rgba(var(--tone-rgb), 0.85); }
.cond-line b { font-size: 11.5px; font-weight: 800; letter-spacing: -0.01em; }
@keyframes condIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.stamp { animation: stampSlam 0.55s var(--ease) both; }
@keyframes stampSlam {
  0% { opacity: 0; transform: rotate(-9deg) scale(1.55); filter: blur(7px); }
  52% { opacity: 1; transform: rotate(-5deg) scale(0.955); filter: blur(0); }
  72% { transform: rotate(-6deg) scale(1.025); }
  100% { transform: rotate(-5deg) scale(1); }
}
.stamp.is-long { font-size: clamp(30px, 8.2vw, 46px); padding: 6px 12px 8px; letter-spacing: -0.01em; }
.stamp.is-xlong { font-size: clamp(21px, 6.2vw, 34px); padding: 8px 12px 10px; letter-spacing: -0.02em; }
.res-hero.landing { animation: heroThud 0.42s 0.3s var(--ease); }
@keyframes heroThud {
  0%, 100% { transform: translate(0, 0); }
  34% { transform: translate(1.5px, -1px); }
  68% { transform: translate(-1.5px, 1px); }
}
.res-hero.landing::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(38% 30% at 30% 22%, rgba(var(--tone-rgb), 0.3), transparent 70%);
  opacity: 0; animation: flashIn 0.7s 0.26s ease-out;
}
@keyframes flashIn { 0% { opacity: 1; } 100% { opacity: 0; } }

/* 카드 2종 */
.card-btns { display: grid; gap: 8px; width: 100%; }
.card-btns .btn { width: 100%; }
.ratio-tabs {
  display: inline-flex; gap: 4px; margin-bottom: 13px; padding: 4px;
  border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04);
}
.ratio-tab {
  border: 0; background: transparent; color: var(--muted);
  padding: 7px 14px; border-radius: 999px; font-size: 11px; font-weight: 600;
  transition: 0.2s;
}
.ratio-tab.on { background: rgba(255, 46, 84, 0.18); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 46, 84, 0.45); }
.card-preview { width: min(320px, 78vw); }
.card-preview.tall { width: min(258px, 60vw); }
.card-preview[hidden] { display: none; }

/* 선택지 타격감 */
.opt { position: relative; overflow: hidden; transform-origin: 50% 50%; }
.opt.is-on { animation: optSpring 0.4s var(--ease); }
@keyframes optSpring {
  0% { transform: scale(0.97); }
  55% { transform: scale(1.015); }
  100% { transform: scale(1); }
}
.neon-ripple {
  position: absolute; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%;
  pointer-events: none; mix-blend-mode: screen;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.9), rgba(255, 179, 193, 0.6) 26%, rgba(255, 46, 84, 0.35) 48%, transparent 70%);
  animation: rippleOut 0.58s var(--ease) forwards;
}
@keyframes rippleOut {
  0% { transform: scale(0.35); opacity: 1; }
  100% { transform: scale(18); opacity: 0; }
}
.opt.is-on::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -45%; width: 45%;
  pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: optSweep 0.6s var(--ease) forwards;
}
@keyframes optSweep { to { left: 118%; } }
.opt-tick.pop svg { animation: tickGlow 0.55s var(--ease); }
@keyframes tickGlow {
  0% { transform: scale(0.5); filter: drop-shadow(0 0 0 rgba(255, 179, 193, 0)); }
  55% { transform: scale(1.16); filter: drop-shadow(0 0 10px rgba(255, 179, 193, 0.95)); }
  100% { transform: scale(1); filter: none; }
}

/* 진행 바 스파크 */
.prog-spark {
  position: absolute; top: 50%; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px;
  border-radius: 50%; pointer-events: none; opacity: 0;
  background: #fff;
  box-shadow: 0 0 12px 3px rgba(255, 46, 84, 0.9), 0 0 26px 8px rgba(255, 179, 193, 0.55);
}
.prog-spark.pop { animation: progSpark 0.55s var(--ease); }
@keyframes progSpark {
  0% { opacity: 1; transform: scale(0.6); }
  55% { opacity: 1; transform: scale(1.7); }
  100% { opacity: 0; transform: scale(0.7); }
}

/* 판결 재타격 */
.verdict-flash {
  position: fixed; inset: 0; z-index: 90; pointer-events: none;
  background: radial-gradient(58% 46% at 50% 28%, rgba(255, 46, 84, 0.3), transparent 72%);
  animation: vflash 0.7s ease-out forwards;
}
@keyframes vflash { 0% { opacity: 1; } 100% { opacity: 0; } }
.flip.on .flip-sw { animation: switchKick 0.36s var(--ease); }
@keyframes switchKick {
  0% { transform: scale(0.92); }
  60% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

@media (min-width: 720px) {
  .card-head { align-items: flex-start; }
  .card-btns { width: auto; grid-auto-flow: column; }
  .card-btns .btn { width: auto; }
  .card-preview { width: 340px; }
  .card-preview.tall { width: 280px; }
}

/* ============================================================
   v2 — 잠금 실루엣 티저 / 단품 vs 패스 업셀 / 무료 결과 브릿지
   ============================================================ */

.lock-teasers { display: grid; gap: 8px; }
.block-teaser {
  position: relative; overflow: hidden;
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.012));
}
.block-teaser .block-h h3 { color: rgba(246, 239, 241, 0.66); }
.teaser-lock { margin-left: auto; display: flex; }
.teaser-lock svg { width: 14px; height: 14px; stroke: rgba(255, 179, 193, 0.55); }
.teaser-body {
  filter: blur(1.6px); opacity: 0.9;
  -webkit-mask-image: linear-gradient(180deg, #000 8%, #000 62%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 8%, #000 62%, transparent 100%);
}
.sil { display: grid; gap: 9px; }
.sil-rows span { display: flex; align-items: center; gap: 8px; }
.sil-rows span::before {
  content: ""; flex: none; width: 5px; height: 5px; border-radius: 50%;
  background: rgba(255, 179, 193, 0.4);
}
.sil i {
  display: block; height: 9px; border-radius: 4px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.05));
}
.sil-cards { gap: 8px; }
.sil-card {
  display: grid; gap: 8px; padding: 12px;
  border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.025);
}
.sil-areas { grid-template-columns: 1fr 1fr; gap: 7px; }
.sil-areas span {
  height: 52px; border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
}
.teaser-label {
  position: relative; display: flex; align-items: center; gap: 8px;
  margin-top: 12px; padding: 9px 11px; border-radius: 11px;
  border: 1px dashed rgba(255, 179, 193, 0.3);
  background: rgba(255, 46, 84, 0.055);
  font-size: 11.5px; line-height: 1.5; color: rgba(246, 239, 241, 0.72);
}
.teaser-label svg { flex: none; width: 12px; height: 12px; stroke: rgba(255, 179, 193, 0.8); }

.lock-zone { margin-top: 12px; }
.lock-panel { margin-top: 10px; padding: 24px 18px 18px; border-radius: 22px; text-align: center; background: linear-gradient(170deg, rgba(24, 20, 28, 0.92), rgba(12, 11, 16, 0.97)); }
.buy-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 16px 0 10px; }
.buy-opt {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 3px;
  padding: 14px 13px; border-radius: 14px; text-align: left; color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.035);
  transition: 0.22s var(--ease);
}
.buy-opt:hover { border-color: rgba(255, 179, 193, 0.4); transform: translateY(-1px); }
.buy-opt.is-best {
  border-color: rgba(231, 198, 163, 0.55);
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(231, 198, 163, 0.2), transparent 62%),
    rgba(231, 198, 163, 0.06);
  box-shadow: 0 18px 40px -28px rgba(231, 198, 163, 0.9);
}
.bo-k { font-size: 7.5px; letter-spacing: 0.16em; color: var(--dim); }
.buy-opt.is-best .bo-k { color: var(--gold); }
.buy-opt b { font-size: 20px; font-weight: 900; letter-spacing: -0.03em; }
.buy-opt b span { font-size: 10px; font-weight: 600; margin-left: 1px; }
.buy-opt.is-best b { color: var(--gold); }
.buy-opt em { font-style: normal; font-size: 9.5px; color: var(--muted); line-height: 1.4; }
.buy-opt u { text-decoration: none; margin-top: 2px; font-size: 9.5px; font-weight: 700; color: rgba(231, 198, 163, 0.95); }
.bo-tag {
  position: absolute; top: -8px; right: 8px; padding: 2px 7px; border-radius: 999px;
  font-size: 7px; letter-spacing: 0.14em; color: #1B1310; background: linear-gradient(100deg, #E7C6A3, #FFE7CE);
}

.bridge {
  margin-top: 12px; padding: 20px 18px 18px; border-radius: 22px;
  border: 1px solid rgba(255, 179, 193, 0.2);
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(255, 46, 84, 0.12), transparent 62%),
    rgba(255, 255, 255, 0.025);
}
.bridge-head span { display: block; font-size: 8px; letter-spacing: 0.2em; color: rgba(255, 179, 193, 0.8); }
.bridge-head b { display: block; margin-top: 8px; font-size: 16px; font-weight: 900; letter-spacing: -0.03em; line-height: 1.4; }
.bridge-head p { margin-top: 5px; font-size: 11.5px; line-height: 1.6; color: var(--muted); }
.bridge-list { display: grid; gap: 7px; margin-top: 14px; }
.bridge-row { display: flex; align-items: center; gap: 11px; padding: 12px 13px; border-radius: 14px; transition: 0.22s var(--ease); }
.bridge-row:hover { border-color: rgba(255, 179, 193, 0.32); transform: translateX(2px); }
.br-icon { font-size: 18px; flex: none; width: 26px; text-align: center; }
.br-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.br-main b { font-size: 12.5px; font-weight: 700; }
.br-main em { font-style: normal; font-size: 10px; color: var(--dim); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.br-price { font-size: 12px; font-weight: 800; flex: none; }
.br-price small { font-size: 8.5px; color: var(--dim); font-weight: 500; }
.br-go svg { width: 13px; height: 13px; color: var(--dim); }

.pay-upsell {
  margin-top: 12px; padding: 14px 13px; border-radius: 14px;
  border: 1px solid rgba(231, 198, 163, 0.35);
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(231, 198, 163, 0.16), transparent 62%),
    rgba(231, 198, 163, 0.05);
}
.pu-head { display: flex; align-items: center; gap: 8px; }
.pu-head span { font-size: 7.5px; letter-spacing: 0.16em; color: var(--gold); }
.pu-head b { font-size: 12.5px; font-weight: 800; }
.pay-upsell p { margin-top: 6px; font-size: 10.5px; line-height: 1.65; color: var(--muted); }
.pu-math { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin: 9px 0 10px; font-size: 9.5px; color: var(--dim); }
.pu-math s { color: var(--dim); }
.pu-math span { color: rgba(246, 239, 241, 0.6); }
.pu-math b { font-family: var(--font); font-size: 15px; font-weight: 900; color: var(--gold); letter-spacing: -0.02em; }
.pay-upsell .btn { width: 100%; padding: 11px 16px; font-size: 12px; }
.pay-upsell .btn svg { width: 14px; height: 14px; }
.pass-math { display: flex; align-items: baseline; gap: 9px; margin: 2px 0 8px; font-size: 9.5px; color: var(--dim); }
.pass-math b { font-family: var(--font); font-size: 15px; font-weight: 900; color: var(--gold); }
.pass-math em { font-style: normal; font-size: 8.5px; color: var(--gold); border: 1px solid rgba(231, 198, 163, 0.35); padding: 2px 6px; border-radius: 999px; }

@media (min-width: 720px) {
  .buy-compare { gap: 12px; }
  .buy-opt { padding: 16px 16px; }
  .buy-opt b { font-size: 24px; }
}

/* ============================================================
   v2 — 연애 배심원단
   ============================================================ */

.hero-jury {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-top: 16px; padding: 12px 14px; border-radius: 16px;
  border: 1px solid rgba(255, 179, 193, 0.22);
  background:
    radial-gradient(90% 140% at 100% 0%, rgba(255, 46, 84, 0.16), transparent 60%),
    rgba(255, 255, 255, 0.035);
  transition: 0.24s var(--ease);
}
.hero-jury:hover { border-color: rgba(255, 179, 193, 0.5); transform: translateY(-1px); }
.hj-k { display: inline-flex; align-items: center; gap: 6px; width: 100%; font-size: 7.5px; letter-spacing: 0.2em; color: rgba(255, 179, 193, 0.85); }
.hj-k i { width: 5px; height: 5px; border-radius: 50%; background: var(--crimson); animation: dotPulse 1.8s infinite; }
.hero-jury b { flex: 1; font-size: 12.5px; font-weight: 800; letter-spacing: -0.02em; }
.hj-go { display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; font-weight: 700; color: var(--rose); white-space: nowrap; }
.hj-go svg { width: 13px; height: 13px; }
.prod-wide { grid-column: 1 / -1; }
.prod-flag {
  display: inline-block; vertical-align: middle; margin-left: 6px;
  font-style: normal; font-size: 7px; letter-spacing: 0.14em;
  padding: 3px 6px; border-radius: 999px; color: #1B1310;
  background: linear-gradient(100deg, #E7C6A3, #FFE7CE);
}

.view-jury { padding: 88px 15px 44px; }
.jury-wrap { width: 100%; max-width: 700px; margin: 0 auto; }
.jury-hero { margin-bottom: 22px; }
.jury-hero h1 { margin: 14px 0 12px; font-size: clamp(29px, 8.4vw, 42px); font-weight: 900; letter-spacing: -0.05em; line-height: 1.12; }
.jury-hero p { font-size: 13px; line-height: 1.8; color: var(--muted); max-width: 470px; }
.jury-stat { display: flex; align-items: baseline; gap: 9px; margin-top: 16px; }
.jury-stat b { font-size: 24px; font-weight: 900; letter-spacing: -0.03em; color: var(--rose); }
.jury-stat b span { font-size: 12px; color: var(--dim); margin-left: 3px; }
.jury-stat em { font-style: normal; font-size: 10px; letter-spacing: 0.08em; color: var(--dim); }

.jury-list { display: grid; gap: 7px; }
.jury-row {
  display: grid; grid-template-columns: 22px 1fr auto 14px; align-items: center; gap: 10px;
  padding: 14px 13px; border-radius: 16px; transition: 0.22s var(--ease);
}
.jury-row:hover { transform: translateX(2px); border-color: rgba(255, 179, 193, 0.32); }
.jr-no { font-size: 9px; color: var(--dim); }
.jr-main { min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.jr-main b { font-size: 13px; font-weight: 700; line-height: 1.45; letter-spacing: -0.02em; }
.jr-tags { font-size: 9.5px; color: var(--dim); letter-spacing: 0.02em; }
.jr-count { font-size: 9px; color: var(--dim); white-space: nowrap; }
.jr-my {
  font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.04em;
  padding: 4px 7px; border-radius: 999px; white-space: nowrap;
  color: var(--tone); border: 1px solid rgba(var(--tone-rgb), 0.45); background: rgba(var(--tone-rgb), 0.1);
}
.jr-go svg { width: 13px; height: 13px; color: var(--dim); }
.jury-fine { margin-top: 22px; text-align: center; font-size: 8px; letter-spacing: 0.1em; color: rgba(107, 100, 120, 0.85); }

.view-jury.case { padding-top: 82px; }
.jc-top { display: flex; justify-content: space-between; gap: 10px; font-size: 8px; letter-spacing: 0.14em; color: var(--dim); margin-bottom: 12px; }
.jc-top a { color: var(--muted); }
.jc-file { position: relative; overflow: hidden; padding: 22px 20px; border-radius: 22px; }
.jc-file::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(70% 50% at 100% 0%, rgba(255, 46, 84, 0.16), transparent 62%);
}
.jc-k { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.jc-k span { font-size: 8.5px; letter-spacing: 0.2em; color: rgba(255, 179, 193, 0.85); }
.jc-k em { font-style: normal; font-size: 8px; letter-spacing: 0.1em; color: var(--dim); }
.jc-file h1 { position: relative; margin: 12px 0 10px; font-size: clamp(21px, 6vw, 27px); font-weight: 900; letter-spacing: -0.04em; line-height: 1.38; }
.jc-file > p { position: relative; font-size: 13px; line-height: 1.85; color: rgba(246, 239, 241, 0.78); word-break: keep-all; }
.jc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.jc-tags span { font-size: 9.5px; color: var(--rose); border: 1px solid rgba(255, 179, 193, 0.24); background: rgba(255, 46, 84, 0.07); padding: 4px 8px; border-radius: 999px; }

.jc-vote { margin-top: 12px; }
.jc-vote-h { font-size: 8px; letter-spacing: 0.18em; color: var(--dim); margin-bottom: 9px; text-align: center; }
.jc-btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.jc-btn {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  padding: 16px 8px 14px; border-radius: 16px; color: var(--ink);
  border: 1px solid rgba(var(--tone-rgb), 0.3);
  background: linear-gradient(165deg, rgba(var(--tone-rgb), 0.14), rgba(255, 255, 255, 0.02));
  transition: 0.22s var(--ease);
}
.jc-btn:hover { transform: translateY(-2px); border-color: rgba(var(--tone-rgb), 0.6); box-shadow: 0 18px 40px -28px rgba(var(--tone-rgb), 0.9); }
.jc-btn:active { transform: scale(0.97); }
.jc-btn b { font-size: 15px; font-weight: 900; letter-spacing: -0.03em; color: var(--tone); }
.jcb-k { font-size: 7px; letter-spacing: 0.12em; color: rgba(var(--tone-rgb), 0.6); }
.jc-btn.on {
  border-color: rgba(var(--tone-rgb), 0.9);
  background: linear-gradient(165deg, rgba(var(--tone-rgb), 0.28), rgba(var(--tone-rgb), 0.08));
  box-shadow: 0 0 0 1px rgba(var(--tone-rgb), 0.4), 0 22px 50px -30px rgba(var(--tone-rgb), 1);
}
.jc-btn.on::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -40%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  animation: optSweep 0.6s var(--ease) forwards;
}
.jcb-my { position: absolute; top: 6px; right: 7px; font-style: normal; font-size: 7px; letter-spacing: 0.06em; color: rgba(var(--tone-rgb), 0.9); }

.jc-result { margin-top: 12px; padding: 18px 16px; border-radius: 20px; animation: swapIn 0.4s var(--ease); }
.jc-result.pop { animation: swapIn 0.4s var(--ease); }
.jr-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.jr-head span { font-size: 8px; letter-spacing: 0.18em; color: var(--dim); }
.jr-head b { font-size: 13px; font-weight: 800; }
.jury-bars { display: grid; gap: 11px; }
.jb-top { display: flex; justify-content: space-between; align-items: baseline; font-size: 11px; }
.jb-top span { color: rgba(246, 239, 241, 0.75); }
.jb-top b { font-size: 11px; font-weight: 800; color: var(--tone); }
.jb-track { margin-top: 5px; height: 7px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.jb-track i {
  display: block; height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, rgba(var(--tone-rgb), 0.55), rgba(var(--tone-rgb), 1));
  box-shadow: 0 0 12px rgba(var(--tone-rgb), 0.6);
  transform-origin: left center;
  transform: scaleX(var(--v));
  animation: barGrow 0.8s var(--ease) both;
}
@keyframes barGrow { from { transform: scaleX(0); } }
.jr-mine { margin-top: 12px; font-size: 11px; line-height: 1.6; color: var(--muted); }
.jc-logic { display: grid; gap: 8px; margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.07); }
.jl { padding: 11px 12px; border-radius: 12px; border: 1px solid rgba(var(--tone-rgb), 0.22); background: rgba(var(--tone-rgb), 0.06); }
.jl span { font-size: 8px; letter-spacing: 0.14em; color: rgba(var(--tone-rgb), 0.85); }
.jl p { margin-top: 6px; font-size: 12px; line-height: 1.7; color: rgba(246, 239, 241, 0.82); word-break: keep-all; }
.jc-hint { margin-top: 12px; padding: 18px; border-radius: 18px; text-align: center; font-size: 11.5px; color: var(--dim); }
.jc-next { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 22px; }
.jc-next .btn { padding: 11px 16px; font-size: 12px; }

@media (min-width: 720px) {
  .view-jury { padding: 108px 24px 60px; }
  .jury-wrap { max-width: 760px; }
  .jury-row { padding: 16px 18px; }
  .jr-main b { font-size: 14.5px; }
  .jc-btns { gap: 10px; }
  .jc-btn { padding: 20px 10px 16px; }
  .jc-btn b { font-size: 18px; }
  .jc-file { padding: 28px 26px; }
  .jury-bars { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .jc-logic { grid-template-columns: 1fr 1fr; }
}

/* v2 — 고정 헤더 아래로 앵커 정렬 */
#products, .section { scroll-margin-top: 84px; }

/* v2 — 히어로 카피가 길어져 데스크톱 폭에 맞춤 */
.hero-title { word-break: keep-all; }
@media (min-width: 720px) { .hero-title { font-size: clamp(46px, 6.2vw, 62px); } }
@media (min-width: 1000px) { .hero-title { font-size: 60px; } }
.case-stamp { margin-right: 6px; }
@media (min-width: 1000px) {
  .free-grid { grid-template-columns: repeat(3, 1fr); }
  .prod { padding: 24px; }
  .prod h3 { font-size: 21px; }
  .prod-desc { font-size: 12.5px; }
  .prod-lg { min-height: 320px; }
  .prod-ghost { font-size: 84px; }
}
.prod-wide { grid-column: auto; }

/* ==========================================================
   v3 : 내 사건 파일 · 다차원 판독 · 실시간 콘솔 · 미션 · 블랙박스 · 소환장 · 무기함
   ========================================================== */
.hdr-badge {
  display: inline-block; margin-left: 4px; min-width: 15px; height: 15px;
  padding: 0 4px; border-radius: 999px; background: var(--crimson);
  color: #fff; font-style: normal; font-size: 9px; font-weight: 800;
  line-height: 15px; text-align: center;
}

/* ---------- 3장 사건 파일 ---------- */
.deck-sec {
  scroll-margin-top: 84px;
  margin-top: 10px; padding: 20px 16px 20px; border-radius: 22px;
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(255, 179, 193, 0.16);
  position: relative; overflow: hidden;
}
.deck-sec::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(70% 40% at 80% 0%, rgba(var(--tone-rgb, 255, 46, 84), 0.16), transparent 70%);
}
.deck-sec > * { position: relative; }
.deck-head .eyebrow { font-size: 7.5px; letter-spacing: 0.18em; color: var(--rose); opacity: 0.9; }
.deck-head h3 { margin-top: 7px; font-size: 19px; font-weight: 900; letter-spacing: -0.035em; }
.deck-head p { margin-top: 5px; font-size: 11px; line-height: 1.65; color: var(--muted); word-break: keep-all; }
.deck-tabs { display: flex; gap: 6px; margin: 15px 0 10px; }
.deck-tab {
  flex: 1; padding: 8px 4px; border-radius: 10px; font-size: 10.5px; font-weight: 700;
  color: var(--muted); background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07); transition: 0.2s;
}
.deck-tab.on {
  color: #fff; background: rgba(255, 46, 84, 0.16);
  border-color: rgba(255, 46, 84, 0.5); box-shadow: 0 0 20px -8px rgba(255, 46, 84, 0.9);
}
.deck-rail {
  display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; scrollbar-width: none; border-radius: 16px;
}
.deck-rail::-webkit-scrollbar { display: none; }
.deck-slide {
  flex: 0 0 100%; scroll-snap-align: center; scroll-snap-stop: always;
  border-radius: 14px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 60px -40px #000;
  background: #07070B;
}
.deck-slide canvas { display: block; width: 100%; height: auto; }
.deck-dots { display: flex; gap: 5px; justify-content: center; margin: 11px 0 3px; }
.deck-dots i { width: 5px; height: 5px; border-radius: 50%; background: rgba(255, 255, 255, 0.2); transition: 0.2s; }
.deck-dots i.on { width: 14px; border-radius: 3px; background: var(--crimson); }
.deck-btns { display: grid; gap: 7px; margin-top: 12px; }
.deck-btns .btn { width: 100%; }
.deck-fine { margin-top: 9px; text-align: center; font-family: var(--mono); font-size: 8px; letter-spacing: 0.06em; color: var(--dim); line-height: 1.6; }
.deck-lock { position: relative; margin-top: 14px; border-radius: 16px; overflow: hidden; }
.dl-slides { display: flex; gap: 8px; }
.dl-slides span {
  flex: 1; height: 132px; border-radius: 10px;
  background: linear-gradient(150deg, rgba(255, 179, 193, 0.16), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.08);
  filter: blur(2px); opacity: 0.7;
}
.dl-label {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 7px; text-align: center;
  background: radial-gradient(60% 60% at 50% 50%, rgba(6, 6, 10, 0.6), rgba(6, 6, 10, 0.9));
}
.dl-label svg { width: 18px; height: 18px; stroke: var(--rose); }
.dl-label b { font-size: 11.5px; font-weight: 700; color: rgba(246, 239, 241, 0.8); }

/* ---------- 다차원 축 ---------- */
.axis-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.axis {
  padding: 11px 11px 12px; border-radius: 12px;
  background: rgba(0, 0, 0, 0.24); border: 1px solid rgba(255, 255, 255, 0.06);
}
.axis.hot { border-color: rgba(var(--tone-rgb), 0.4); background: rgba(var(--tone-rgb), 0.07); }
.axis-top { display: flex; flex-direction: column; gap: 3px; }
.axis-top span { font-size: 12px; font-weight: 700; color: rgba(246, 239, 241, 0.9); }
.axis-top span em { margin-left: 5px; font-style: normal; font-size: 7.5px; letter-spacing: 0.1em; color: var(--dim); }
.axis-top b { font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.03em; color: var(--muted); font-weight: 500; }
.axis-dots { display: flex; gap: 4px; margin-top: 9px; }
.axis-dots i { flex: 1; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, 0.09); }
.axis-dots i.on { background: linear-gradient(90deg, var(--tone), rgba(255, 255, 255, 0.8)); box-shadow: 0 0 8px rgba(var(--tone-rgb), 0.6); }
.axis-cross {
  margin-top: 12px; padding: 12px 13px; border-radius: 12px;
  background: rgba(var(--tone-rgb), 0.05); border-left: 2px solid var(--tone);
  font-size: 12.5px; line-height: 1.75; color: rgba(246, 239, 241, 0.86);
}

/* ---------- 변명 3개 + 말려들지 않는 답장 ---------- */
.exc-stack { display: grid; gap: 9px; }
.exc {
  border-radius: 14px; overflow: hidden;
  background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.07);
}
.exc-top { padding: 13px 14px 11px; background: rgba(255, 46, 84, 0.05); }
.exc-top span { font-family: var(--mono); font-size: 7.5px; letter-spacing: 0.16em; color: var(--dim); }
.exc-top p { margin-top: 5px; font-size: 13.5px; font-weight: 800; line-height: 1.55; color: #FF8FA4; word-break: keep-all; }
.exc-back { padding: 11px 14px 13px; border-top: 1px dashed rgba(255, 255, 255, 0.08); }
.exc-back-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.exc-back-h span { font-family: var(--mono); font-size: 7.5px; letter-spacing: 0.12em; color: var(--rose); }
.exc-back p { margin-top: 7px; font-size: 13px; line-height: 1.75; color: rgba(246, 239, 241, 0.9); word-break: keep-all; }

/* ---------- 확인 한 줄 + 반응표 ---------- */
.trap-q {
  padding: 14px; border-radius: 13px;
  background: rgba(var(--tone-rgb), 0.08); border: 1px solid rgba(var(--tone-rgb), 0.35);
}
.trap-q span { font-family: var(--mono); font-size: 7.5px; letter-spacing: 0.14em; color: var(--tone); }
.trap-q p { margin: 7px 0 9px; font-size: 14.5px; font-weight: 700; line-height: 1.65; color: #fff; word-break: keep-all; }
.trap-table { margin-top: 10px; display: grid; gap: 6px; }
.trap-h { display: grid; grid-template-columns: 1fr 1.2fr 1.2fr; gap: 6px; font-family: var(--mono); font-size: 7.5px; letter-spacing: 0.06em; color: var(--dim); padding: 0 2px; }
.trap-row {
  display: grid; grid-template-columns: 1fr 1.2fr 1.2fr; gap: 6px; align-items: start;
  padding: 10px 11px; border-radius: 10px;
  background: rgba(255, 255, 255, 0.025); border: 1px solid rgba(255, 255, 255, 0.055);
}
.trap-row b { font-size: 11px; font-weight: 700; color: rgba(246, 239, 241, 0.92); line-height: 1.5; }
.trap-row span { font-size: 10.5px; line-height: 1.55; color: var(--muted); }
.trap-row em { font-style: normal; font-size: 10.5px; line-height: 1.55; color: rgba(var(--tone-rgb), 0.92); }

/* ---------- 실시간 대응 콘솔 ---------- */
.console-h span { font-family: var(--mono); font-size: 7.5px; letter-spacing: 0.16em; color: var(--rose); }
.console-h b { display: block; margin-top: 6px; font-size: 13.5px; font-weight: 800; }
.console-h p { margin-top: 4px; font-size: 10.5px; line-height: 1.6; color: var(--dim); }
.console-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 12px; }
.cs-btn {
  padding: 10px 9px; border-radius: 10px; text-align: left;
  font-size: 10.5px; line-height: 1.45; font-weight: 600; color: var(--muted);
  background: rgba(255, 255, 255, 0.035); border: 1px solid rgba(255, 255, 255, 0.07);
  transition: 0.18s;
}
.cs-btn:hover { border-color: rgba(255, 179, 193, 0.4); color: #fff; }
.cs-btn.on {
  color: #fff; background: rgba(255, 46, 84, 0.16);
  border-color: rgba(255, 46, 84, 0.55);
  box-shadow: 0 10px 24px -16px rgba(255, 46, 84, 1);
}
.console-out { margin-top: 10px; }
.console-empty {
  padding: 18px 12px; border-radius: 12px; text-align: center;
  font-size: 10.5px; line-height: 1.6; color: var(--dim);
  border: 1px dashed rgba(255, 255, 255, 0.12);
}
.co-card {
  padding: 14px; border-radius: 14px;
  background: linear-gradient(160deg, rgba(255, 46, 84, 0.12), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 46, 84, 0.4);
  animation: coIn 0.35s var(--ease) both;
}
@keyframes coIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.co-top {
  display: inline-block; padding: 4px 8px; border-radius: 5px;
  font-size: 7.5px; letter-spacing: 0.16em; color: #fff;
  background: var(--crimson); box-shadow: 0 0 18px -4px rgba(255, 46, 84, 0.9);
}
.co-msg { margin-top: 11px; }
.co-k { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.co-k span { font-family: var(--mono); font-size: 7.5px; letter-spacing: 0.12em; color: var(--rose); }
.co-msg p { margin-top: 7px; font-size: 14px; font-weight: 600; line-height: 1.75; color: #fff; word-break: keep-all; }
.co-why, .co-again { margin-top: 11px; padding-top: 10px; border-top: 1px dashed rgba(255, 255, 255, 0.1); }
.co-why span, .co-again span { font-family: var(--mono); font-size: 7.5px; letter-spacing: 0.12em; color: var(--dim); }
.co-why p, .co-again p { margin-top: 5px; font-size: 11.5px; line-height: 1.7; color: var(--muted); word-break: keep-all; }
.co-again p { color: rgba(246, 239, 241, 0.82); }

/* ---------- 3단계 미션 ---------- */
.ms-head { display: flex; align-items: center; justify-content: space-between; }
.ms-head span { font-family: var(--mono); font-size: 7.5px; letter-spacing: 0.16em; color: var(--rose); }
.ms-head b { font-family: var(--mono); font-size: 10px; color: #fff; }
.ms-bar { height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.08); margin: 9px 0 13px; overflow: hidden; }
.ms-bar i { display: block; height: 100%; border-radius: 2px; background: linear-gradient(90deg, var(--crimson), var(--rose)); transition: width 0.4s var(--ease); box-shadow: 0 0 12px rgba(255, 46, 84, 0.7); }
.ms-list { display: grid; gap: 8px; }
.ms-item {
  display: flex; gap: 10px; padding: 12px; border-radius: 13px;
  background: rgba(255, 255, 255, 0.025); border: 1px solid rgba(255, 255, 255, 0.06);
  transition: 0.2s;
}
.ms-item.done { border-color: rgba(123, 227, 176, 0.4); background: rgba(123, 227, 176, 0.06); }
.ms-item.sealed { opacity: 0.55; }
.ms-check {
  flex: none; width: 26px; height: 26px; border-radius: 8px; margin-top: 1px;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18); background: rgba(0, 0, 0, 0.25);
  color: transparent; transition: 0.2s;
}
.ms-check svg { width: 14px; height: 14px; }
.ms-item.done .ms-check { background: var(--ok); border-color: var(--ok); color: #06251A; box-shadow: 0 0 18px -4px rgba(123, 227, 176, 0.9); }
.ms-body { flex: 1; min-width: 0; }
.ms-body > span { font-family: var(--mono); font-size: 7.5px; letter-spacing: 0.14em; color: var(--dim); }
.ms-body > b { display: block; margin-top: 3px; font-size: 12.5px; font-weight: 800; }
.ms-line { margin-top: 6px; font-size: 12px; line-height: 1.7; color: rgba(246, 239, 241, 0.9); word-break: keep-all; }
.ms-line .copy-btn { margin-left: 6px; vertical-align: middle; }
.ms-line.dim { color: var(--dim); font-size: 11px; }
.ms-watch { margin-top: 5px; font-size: 10.5px; line-height: 1.6; color: var(--muted); }

/* ---------- 7일 블랙박스 ---------- */
.tk-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 11px; }
.tk-head span { font-family: var(--mono); font-size: 7.5px; letter-spacing: 0.16em; color: var(--rose); }
.tk-head b { font-family: var(--mono); font-size: 10px; color: #fff; }
.tk-list { display: grid; gap: 5px; }
.tk-row {
  display: grid; grid-template-columns: 26px 34px 1fr; align-items: center; gap: 8px;
  padding: 7px 9px; border-radius: 10px;
  background: rgba(255, 255, 255, 0.022); border: 1px solid rgba(255, 255, 255, 0.05);
}
.tk-row.on { border-color: rgba(var(--tone-rgb), 0.32); }
.tk-day { font-size: 9px; color: var(--rose); }
.tk-date { font-size: 8px; color: var(--dim); }
.tk-btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.tk-btn {
  padding: 7px 2px; border-radius: 7px; font-size: 9.5px; font-weight: 600;
  color: var(--dim); background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06); transition: 0.15s;
}
.tk-btn.v2.on { color: #06251A; background: var(--ok); border-color: var(--ok); }
.tk-btn.v1.on { color: #1A1406; background: var(--amber); border-color: var(--amber); }
.tk-btn.v0.on { color: #fff; background: var(--crimson); border-color: var(--crimson); }
.tk-sum { margin-top: 11px; padding: 11px 12px; border-radius: 11px; background: rgba(var(--tone-rgb), 0.05); border-left: 2px solid var(--tone); }
.tk-sum span { font-family: var(--mono); font-size: 7.5px; letter-spacing: 0.12em; color: var(--tone); }
.tk-sum p { margin-top: 5px; font-size: 11.5px; line-height: 1.7; color: rgba(246, 239, 241, 0.86); word-break: keep-all; }

/* ---------- 소환장 카드(결과 안) ---------- */
.summon-card {
  padding: 16px; border-radius: 15px;
  background: linear-gradient(165deg, rgba(231, 198, 163, 0.1), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(231, 198, 163, 0.32);
}
.sc-top { display: flex; flex-direction: column; gap: 5px; }
.sc-top span { font-family: var(--mono); font-size: 7.5px; letter-spacing: 0.18em; color: var(--gold); }
.sc-top b { font-size: 14px; font-weight: 800; letter-spacing: -0.02em; }
.sc-lede { margin-top: 8px; font-size: 11.5px; line-height: 1.7; color: var(--muted); word-break: keep-all; }
.sc-url {
  margin: 11px 0 10px; padding: 9px 10px; border-radius: 9px;
  font-size: 8.5px; line-height: 1.4; color: rgba(231, 198, 163, 0.85);
  background: rgba(0, 0, 0, 0.35); border: 1px solid rgba(231, 198, 163, 0.18);
  word-break: break-all; max-height: 52px; overflow: hidden;
}
.summon-card .btn { width: 100%; }
.sc-open { display: block; margin-top: 9px; text-align: center; font-size: 10px; color: var(--dim); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 소환장 페이지 ---------- */
.view-summon { padding: 92px 15px 50px; }
.summon-page { max-width: 560px; margin: 0 auto; }
.sm-top { display: flex; justify-content: space-between; font-size: 8px; letter-spacing: 0.14em; color: var(--dim); margin-bottom: 14px; }
.sm-card { position: relative; padding: 26px 20px 22px; border-radius: 24px; border-color: rgba(231, 198, 163, 0.3); overflow: hidden; }
.sm-tape { position: absolute; top: -10px; left: 50%; width: 120px; height: 24px; transform: translateX(-50%) rotate(-2deg); background: rgba(231, 198, 163, 0.16); border: 1px solid rgba(231, 198, 163, 0.22); }
.sm-k { font-family: var(--mono); font-size: 9px; letter-spacing: 0.3em; color: var(--gold); }
.sm-card h1 { margin-top: 10px; font-size: 21px; font-weight: 900; line-height: 1.4; letter-spacing: -0.03em; word-break: keep-all; }
.sm-card > p { margin-top: 8px; font-size: 12.5px; line-height: 1.7; color: rgba(246, 239, 241, 0.7); word-break: keep-all; }
.sm-stamp {
  display: inline-block; margin-top: 16px; padding: 4px 14px 6px;
  font-size: 30px; font-weight: 900; color: var(--crimson);
  border: 3px solid var(--crimson); border-radius: 9px; transform: rotate(-4deg);
  text-shadow: 0 0 20px rgba(255, 46, 84, 0.5);
}
.sm-q { margin-top: 18px; font-size: 11.5px; line-height: 1.7; color: var(--muted); }
.sm-appeals { display: grid; gap: 7px; margin-top: 12px; }
.sm-appeal {
  padding: 12px 13px; border-radius: 12px; text-align: left;
  background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08);
  transition: 0.2s;
}
.sm-appeal b { display: block; font-size: 12.5px; font-weight: 700; }
.sm-appeal span { display: block; margin-top: 3px; font-size: 10.5px; line-height: 1.6; color: var(--dim); }
.sm-appeal.on { border-color: rgba(231, 198, 163, 0.6); background: rgba(231, 198, 163, 0.1); }
.sm-appeal.on span { color: rgba(231, 198, 163, 0.9); }
.sm-result { margin-top: 12px; padding: 22px 20px; border-radius: 22px; text-align: center; animation: coIn 0.4s var(--ease) both; }
.sm-r-k { font-family: var(--mono); font-size: 8px; letter-spacing: 0.2em; color: var(--ok); }
.sm-r-stamp { margin: 12px 0 8px; font-size: 40px; font-weight: 900; color: var(--amber); letter-spacing: -0.03em; text-shadow: 0 0 26px rgba(255, 196, 107, 0.5); }
.sm-result > p { font-size: 12px; line-height: 1.75; color: var(--muted); word-break: keep-all; }
.sm-r-copy { margin: 14px 0 12px; padding: 12px; border-radius: 12px; background: rgba(0, 0, 0, 0.3); text-align: left; }
.sm-r-copy span { font-family: var(--mono); font-size: 7.5px; letter-spacing: 0.12em; color: var(--dim); }
.sm-r-copy p { margin-top: 6px; font-size: 12.5px; line-height: 1.7; color: rgba(246, 239, 241, 0.9); word-break: keep-all; }
.sm-fine { margin-top: 10px; font-size: 9.5px; line-height: 1.6; color: var(--dim); }
.sm-foot { display: flex; gap: 7px; justify-content: center; margin-top: 18px; flex-wrap: wrap; }
.sm-tiny { margin-top: 20px; text-align: center; font-size: 8px; letter-spacing: 0.1em; color: rgba(107, 100, 120, 0.7); }

/* ---------- 더블 블라인드 ---------- */
.view-reveal { padding: 96px 16px 50px; }
.reveal { max-width: 560px; margin: 0 auto; text-align: center; }
.rv-top { display: flex; justify-content: space-between; font-size: 8px; letter-spacing: 0.14em; color: var(--dim); }
.rv-title { margin-top: 22px; font-size: clamp(28px, 8vw, 38px); font-weight: 900; line-height: 1.25; letter-spacing: -0.04em; }
.rv-lede { margin: 12px auto 0; max-width: 380px; font-size: 12.5px; line-height: 1.8; color: var(--muted); word-break: keep-all; }
.rv-sealed { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 24px; }
.rv-pack {
  padding: 20px 12px; border-radius: 18px;
  background: linear-gradient(165deg, rgba(255, 46, 84, 0.12), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 46, 84, 0.32);
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  transition: 0.4s var(--ease);
}
.rv-pack span { font-family: var(--mono); font-size: 8px; letter-spacing: 0.16em; color: var(--rose); }
.rv-pack b { font-size: 11.5px; font-weight: 700; }
.rv-pack i svg { width: 18px; height: 18px; stroke: rgba(255, 179, 193, 0.7); }
.rv-sealed.open .rv-pack { opacity: 0.4; transform: scale(0.96); }
.rv-grid { margin-top: 16px; display: grid; gap: 7px; animation: coIn 0.5s var(--ease) both; }
.rv-row { padding: 10px 11px; border-radius: 11px; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.06); text-align: left; }
.rv-name { font-size: 8px; letter-spacing: 0.1em; color: var(--dim); }
.rv-sides { display: grid; grid-template-columns: 1fr 12px 1fr; gap: 6px; align-items: center; margin-top: 6px; }
.rv-sides span { font-size: 11px; padding: 6px 8px; border-radius: 7px; background: rgba(255, 255, 255, 0.045); line-height: 1.4; word-break: keep-all; }
.rv-sides i { height: 1px; background: rgba(255, 255, 255, 0.16); }
.rv-go { width: 100%; margin-top: 18px; }
.rv-fine { margin-top: 10px; font-size: 9.5px; color: var(--dim); }
.rv-scan {
  position: fixed; inset: 0; z-index: 90; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(255, 46, 84, 0.14), transparent);
  animation: rvScan 1.5s linear infinite;
}
@keyframes rvScan { 0% { transform: translateY(-100%); } 100% { transform: translateY(100%); } }

/* ---------- 결제 직후 언락 ---------- */
.grant-screen {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;
  background: rgba(4, 4, 7, 0.82); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; transition: opacity 0.16s;
}
.grant-screen.on { opacity: 1; }
.grant-screen.out { opacity: 0; }
.grant-box { position: relative; text-align: center; padding: 30px 40px; overflow: hidden; }
.grant-box span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.32em; color: var(--ok); }
.grant-box b { display: block; margin-top: 10px; font-size: 18px; font-weight: 900; letter-spacing: -0.02em; }
.grant-box i {
  display: block; height: 2px; margin-top: 14px;
  background: linear-gradient(90deg, transparent, var(--ok), transparent);
  box-shadow: 0 0 18px var(--ok);
  animation: grantLine 0.5s var(--ease) both;
}
@keyframes grantLine { from { transform: scaleX(0); opacity: 0; } to { transform: scaleX(1); opacity: 1; } }

/* ---------- 무기함 · 보관함 ---------- */
.modal-drawer { width: min(460px, 100%); }
.ar-tabs { display: flex; gap: 6px; margin: 14px 0 12px; }
.ar-tab {
  flex: 1; padding: 9px 6px; border-radius: 10px; font-size: 11.5px; font-weight: 700;
  color: var(--muted); background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.ar-tab.on { color: #fff; background: rgba(255, 46, 84, 0.16); border-color: rgba(255, 46, 84, 0.5); }
.ar-lead { padding: 13px; border-radius: 12px; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.06); }
.ar-lead span { font-family: var(--mono); font-size: 7.5px; letter-spacing: 0.16em; color: var(--rose); }
.ar-lead b { display: block; margin-top: 5px; font-size: 14px; font-weight: 800; }
.ar-lead p { margin-top: 4px; font-size: 10.5px; line-height: 1.6; color: var(--dim); }
.ar-list { display: grid; gap: 6px; margin-top: 10px; }
.ar-row { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 12px; }
.ar-icon { font-size: 17px; }
.ar-main { flex: 1; min-width: 0; }
.ar-main b { display: block; font-size: 12px; font-weight: 700; }
.ar-main em { display: block; margin-top: 2px; font-style: normal; font-size: 9.5px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ar-state { font-family: var(--mono); font-size: 8px; letter-spacing: 0.08em; color: var(--dim); padding: 4px 7px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.1); }
.ar-state.on { color: var(--ok); border-color: rgba(123, 227, 176, 0.45); }
.ar-panel .btn { width: 100%; margin-top: 11px; }
.arch-note { font-size: 10.5px; line-height: 1.6; color: var(--dim); margin-bottom: 10px; }
.arch-list { display: grid; gap: 6px; max-height: 46vh; overflow-y: auto; }
.arch-row {
  display: flex; align-items: center; gap: 9px; width: 100%; text-align: left;
  padding: 10px 11px; border-radius: 11px;
  background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--ink); transition: 0.18s;
}
.arch-row:hover { border-color: rgba(255, 179, 193, 0.4); }
.ar-date { font-size: 8.5px; color: var(--dim); flex: none; }
.ar-stamp { font-size: 10.5px; font-weight: 800; color: var(--rose); flex: none; }
.ar-lock { font-size: 7px; color: var(--dim); border: 1px solid rgba(255, 255, 255, 0.12); padding: 2px 4px; border-radius: 4px; }
.arch-empty { padding: 26px 14px; text-align: center; border: 1px dashed rgba(255, 255, 255, 0.12); border-radius: 13px; }
.arch-empty b { font-size: 12.5px; }
.arch-empty p { margin-top: 5px; font-size: 10.5px; color: var(--dim); }
.arch-clear {
  width: 100%; margin-top: 12px; padding: 11px; border-radius: 11px;
  font-size: 11.5px; color: var(--dim);
  background: transparent; border: 1px solid rgba(255, 255, 255, 0.12);
}
.arch-clear.armed { color: #fff; background: rgba(255, 46, 84, 0.16); border-color: rgba(255, 46, 84, 0.5); }

@media (min-width: 900px) {
  .view-summon, .view-reveal { padding-top: 110px; }
  .deck-sec { padding: 24px 22px 24px; }
  .deck-rail { gap: 14px; }
  .deck-slide { flex-basis: 100%; }
  .deck-btns { grid-template-columns: 1.4fr 1fr; }
  .deck-btns .btn { width: auto; }
  .console-btns { grid-template-columns: repeat(3, 1fr); }
  .axis-grid { grid-template-columns: repeat(4, 1fr); }
  .rv-sealed { grid-template-columns: 1fr 1fr; }
}

/* ---------- v3 5단계 서사 ---------- */
.stagebar {
  display: flex; align-items: center; flex-wrap: wrap; gap: 4px;
  padding: 9px 11px; margin-bottom: 12px; border-radius: 11px;
  background: rgba(255, 255, 255, 0.028); border: 1px solid rgba(255, 255, 255, 0.06);
}
.sb { display: inline-flex; align-items: center; gap: 4px; opacity: 0.42; }
.sb i { font-style: normal; font-size: 7px; letter-spacing: 0.08em; color: var(--dim); }
.sb em { font-style: normal; font-size: 8.5px; color: var(--muted); white-space: nowrap; }
.sb.done { opacity: 0.7; }
.sb.done i, .sb.done em { color: rgba(255, 179, 193, 0.8); }
.sb.on { opacity: 1; }
.sb.on i { color: var(--crimson); font-weight: 700; }
.sb.on em { color: #fff; font-weight: 700; }
.sb-line { flex: 1 1 4px; min-width: 4px; height: 1px; background: rgba(255, 255, 255, 0.1); }
.sb-note {
  flex: 1 0 100%; margin-top: 6px; font-style: normal; text-decoration: none;
  font-size: 7.5px; letter-spacing: 0.1em; color: rgba(255, 179, 193, 0.75);
}
.quiz > .stagebar, .scan > .stagebar { margin: 0 0 12px; }
.stage-map {
  display: grid; grid-template-columns: 1fr 1fr; gap: 7px;
  max-width: 1080px; margin: 26px auto 0; padding: 0 18px;
}
.stg {
  padding: 12px 12px 13px; border-radius: 13px;
  background: rgba(255, 255, 255, 0.025); border: 1px solid rgba(255, 255, 255, 0.06);
}
.stg span { font-family: var(--mono); font-size: 7px; letter-spacing: 0.14em; color: var(--dim); }
.stg b { display: block; margin-top: 4px; font-size: 12.5px; font-weight: 800; letter-spacing: -0.02em; }
.stg em { display: block; margin-top: 3px; font-style: normal; font-size: 9.5px; line-height: 1.5; color: var(--dim); }
.stg.on { border-color: rgba(255, 46, 84, 0.4); background: rgba(255, 46, 84, 0.07); }
.stg.on span { color: var(--rose); }
.bridge-stage { border-color: rgba(255, 46, 84, 0.28); }
.tk-lead { margin: -2px 0 10px; font-size: 10px; line-height: 1.6; color: var(--dim); }

@media (min-width: 900px) {
  .stage-map { grid-template-columns: repeat(5, 1fr); }
  .stagebar { max-width: 660px; margin-left: auto; margin-right: auto; }
  .view-scan .stagebar { max-width: 660px; }
}

/* ---------- 연말 특가 정적 배지 ---------- */
.price-badge {
  display: flex; flex-direction: column; gap: 1px; margin-top: 8px;
  padding: 7px 8px; border-radius: 8px;
  font-size: 8.5px; letter-spacing: 0.02em; line-height: 1.35;
  color: #FFE3B8; background: rgba(231, 198, 163, 0.12);
  border: 1px solid rgba(231, 198, 163, 0.42);
}
.price-badge i { font-style: normal; font-size: 7.5px; color: rgba(231, 198, 163, 0.72); }
.buy-opt .price-badge { text-align: left; }
.modal .price-badge { margin-top: 10px; font-size: 10px; }
.modal .price-badge i { font-size: 8.5px; }

/* ---------- topbar: 무기함 버튼이 늘어도 한 줄 유지 ---------- */
.topbar { gap: 8px; }
.brand { flex: none; }
.brand-txt { white-space: nowrap; }
.top-right { flex: none; }
.ghost-btn { white-space: nowrap; padding: 8px 10px; }
@media (max-width: 430px) {
  .brand-mark { display: none; }
  .brand-txt { font-size: 15px; }
  .ghost-btn { padding: 7px 9px; gap: 4px; font-size: 11px; }
  .ghost-btn .ic { width: 12px; height: 12px; }
  .pill-pass { display: none; }
  .top-right { gap: 6px; }
  .hdr-badge { min-width: 13px; height: 13px; line-height: 13px; font-size: 8px; padding: 0 3px; }
}
