/* ============================================================
   Chat Recap 2026 — Balgyeon Studio
   ============================================================ */
:root {
  --bg: #0b0a10;
  --bg-2: #12101a;
  --panel: rgba(255, 255, 255, .045);
  --panel-2: rgba(255, 255, 255, .07);
  --line: rgba(255, 255, 255, .11);
  --line-soft: rgba(255, 255, 255, .07);
  --ink: #f7f4ee;
  --soft: #a09aae;
  --dim: #6f6a7d;
  --lime: #d8ff5e;
  --lime-ink: #16200a;
  --violet: #9d8cff;
  --coral: #ff7a59;
  --cream: #f4efe3;
  --radius: 20px;
  --serif: 'Playfair Display', 'Noto Serif KR', Georgia, serif;
  --sans: 'Inter', 'Noto Sans KR', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

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

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background:
    radial-gradient(900px 620px at 50% -12%, rgba(124, 92, 255, .30) 0%, rgba(124, 92, 255, 0) 62%),
    radial-gradient(700px 520px at 108% 26%, rgba(216, 255, 94, .10) 0%, rgba(216, 255, 94, 0) 60%),
    radial-gradient(600px 500px at -10% 78%, rgba(255, 122, 89, .10) 0%, rgba(255, 122, 89, 0) 60%),
    var(--bg);
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .28;
  background-image: radial-gradient(rgba(255, 255, 255, .16) .7px, transparent .7px);
  background-size: 3px 3px;
  z-index: 0;
}

body.no-scroll { overflow: hidden; }

.app {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0 auto;
  padding: 0 18px 36px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ---------- top bar ---------- */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 2px 8px;
  position: sticky;
  top: 0;
  z-index: 30;
  background: linear-gradient(var(--bg) 55%, rgba(11, 10, 16, 0));
}

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.brand-mark {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--lime);
  color: #10160a;
  flex: none;
  box-shadow: 0 0 0 1px rgba(216, 255, 94, .35), 0 10px 24px -12px rgba(216, 255, 94, .6);
}
.brand-text {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  line-height: 1.25;
  color: var(--ink);
}
.brand-text span { color: var(--lime); }

.top-actions { display: flex; align-items: center; gap: 8px; }

.lang-toggle {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px;
  background: rgba(255, 255, 255, .04);
}
.lang-btn {
  border: 0; background: transparent;
  font: inherit; font-size: 11px; font-weight: 700;
  letter-spacing: .06em;
  padding: 5px 9px; border-radius: 999px;
  color: var(--soft); cursor: pointer;
  transition: background .2s, color .2s;
}
.lang-btn.is-on { background: var(--ink); color: #12101a; }

.ghost-mini {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .04);
  color: var(--ink);
  font: inherit; font-size: 11px; font-weight: 600;
  padding: 6px 11px; border-radius: 999px; cursor: pointer;
  transition: background .2s, border-color .2s;
}
.ghost-mini:hover { background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .2); }

/* ---------- screens ---------- */
.screen { display: none; }
.screen.is-active { display: block; animation: rise .5s cubic-bezier(.2, .7, .3, 1) both; }
@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

/* ---------- hero ---------- */
.hero { padding: 22px 2px 4px; }

.eyebrow {
  margin: 0 0 14px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--lime);
}

.display {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(40px, 12.4vw, 58px);
  line-height: 1.02;
  letter-spacing: -.02em;
  margin: 0 0 16px;
}
.display em {
  font-style: italic;
  color: var(--lime);
  font-weight: 500;
}

.hero-sub {
  margin: 0;
  color: var(--soft);
  font-size: 14.5px;
  line-height: 1.62;
  max-width: 46ch;
}

/* ---------- mock card ---------- */
.mock {
  position: relative;
  margin: 26px 0 22px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 12px;
  padding: 4px 0 6px;
}
.mock::after {
  content: '';
  position: absolute;
  inset: 8% 12% auto 12%;
  height: 60%;
  background: radial-gradient(closest-side, rgba(157, 140, 255, .35), rgba(157, 140, 255, 0));
  filter: blur(24px);
  z-index: 0;
}
.mock-card {
  position: relative;
  z-index: 1;
  width: 208px;
  aspect-ratio: 9 / 16;
  border-radius: 18px;
  padding: 18px 16px;
  background:
    radial-gradient(120% 80% at 20% 0%, rgba(157, 140, 255, .55), rgba(157, 140, 255, 0) 55%),
    radial-gradient(120% 90% at 100% 100%, rgba(255, 122, 89, .35), rgba(255, 122, 89, 0) 55%),
    linear-gradient(160deg, #1d1036 0%, #120d22 60%, #0b0a10 100%);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .12);
  display: flex;
  flex-direction: column;
  transform: rotate(-3deg);
  overflow: hidden;
}
.mock-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .10) .8px, transparent .8px);
  background-size: 4px 4px;
  pointer-events: none;
}
.mock-label {
  font-size: 7px;
  letter-spacing: .24em;
  font-weight: 700;
  color: var(--lime);
}
.mock-names {
  font-family: var(--serif);
  font-size: 15px;
  margin: 10px 0 0;
}
.mock-big {
  font-family: var(--serif);
  font-style: italic;
  font-size: 42px;
  line-height: .95;
  color: var(--lime);
  margin: auto 0 0;
  letter-spacing: -.03em;
}
.mock-cap {
  margin: 7px 0 0;
  font-size: 8.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--soft);
}
.mock-foot {
  display: flex;
  gap: 5px;
  font-size: 8px;
  color: var(--soft);
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-top: 8px;
  margin-top: 12px;
}
.mock-chips {
  position: absolute;
  right: -4px;
  bottom: 18px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}
.mock-chip {
  font-size: 10px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(244, 239, 227, .96);
  color: #17130f;
  box-shadow: 0 10px 20px -12px rgba(0, 0, 0, .9);
}
.mock-chip:nth-child(2) { background: var(--lime); }
.mock-chip:nth-child(3) { background: rgba(255, 255, 255, .14); color: var(--ink); border: 1px solid var(--line); }

/* ---------- buttons ---------- */
.actions { display: flex; flex-direction: column; gap: 10px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 14.5px;
  font-weight: 600;
  padding: 15px 22px;
  cursor: pointer;
  text-decoration: none;
  transition: transform .16s ease, background .2s, box-shadow .2s, opacity .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.985); }

.btn-primary {
  background: var(--lime);
  color: var(--lime-ink);
  box-shadow: 0 18px 40px -20px rgba(216, 255, 94, .85);
}
.btn-primary:hover { background: #e4ff86; }

.btn-ghost {
  background: rgba(255, 255, 255, .05);
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 13px 16px;
  font-size: 13px;
}
.btn-ghost:hover { background: rgba(255, 255, 255, .09); }

.btn-small { padding: 9px 16px; font-size: 12.5px; }
.btn-block { width: 100%; }

.demo-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

.trust {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--soft);
  font-size: 11.5px;
  line-height: 1.5;
  margin: 16px 2px 0;
}
.trust svg { color: var(--lime); flex: none; margin-top: 1px; }

/* ---------- steps ---------- */
.steps {
  margin: 26px 0 6px;
  border-top: 1px solid var(--line-soft);
}
.step {
  display: flex;
  gap: 14px;
  padding: 13px 2px;
  border-bottom: 1px solid var(--line-soft);
  align-items: baseline;
}
.step-n {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: var(--lime);
  min-width: 18px;
}
.step p { margin: 0; font-size: 13px; color: var(--soft); line-height: 1.55; }

.link-btn {
  border: 0;
  background: none;
  color: var(--soft);
  font: inherit;
  font-size: 12.5px;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, .25);
  cursor: pointer;
  padding: 0;
}
.link-btn:hover { color: var(--ink); }

#btnHow2 { margin: 16px 0 4px; align-self: flex-start; }

/* ---------- promo ---------- */
.promo { margin-top: 30px; }
.promo-start { margin-top: 34px; }
.promo-title {
  margin: 0 0 10px;
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--dim);
  font-weight: 700;
}
.promo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.promo-card {
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, .035);
  border-radius: 14px;
  padding: 11px 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
  color: var(--ink);
  min-height: 74px;
  justify-content: space-between;
  transition: background .2s, transform .2s;
}
.promo-card:hover { background: rgba(255, 255, 255, .07); transform: translateY(-1px); }
.promo-k { font-family: var(--serif); font-size: 18px; color: var(--lime); font-style: italic; }
.promo-t { font-size: 9.5px; color: var(--soft); line-height: 1.25; }

.promo-wide {
  display: block;
  position: relative;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 16px 44px 16px 18px;
  background: linear-gradient(120deg, rgba(157, 140, 255, .16), rgba(255, 122, 89, .08));
  text-decoration: none;
  color: var(--ink);
  margin-bottom: 9px;
}
.promo-wide-t { display: block; font-size: 14px; font-weight: 600; }
.promo-wide-s { display: block; font-size: 11.5px; color: var(--soft); margin-top: 3px; line-height: 1.45; }
.promo-arrow {
  position: absolute;
  right: 16px; top: 50%;
  transform: translateY(-50%);
  color: var(--lime);
  font-size: 18px;
}

/* ---------- loading ---------- */
.loading {
  min-height: 62vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.loader { display: flex; gap: 7px; }
.loader span {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--lime);
  animation: bob 1s infinite ease-in-out;
}
.loader span:nth-child(2) { animation-delay: .15s; background: var(--violet); }
.loader span:nth-child(3) { animation-delay: .3s; background: var(--coral); }
@keyframes bob {
  0%, 100% { transform: translateY(0); opacity: .5; }
  50% { transform: translateY(-9px); opacity: 1; }
}
.loading-text { color: var(--soft); font-size: 13px; letter-spacing: .04em; margin: 0; }

/* ---------- result ---------- */
.result-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 2px 4px;
}
.result-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 8.4vw, 38px);
  line-height: 1.08;
  margin: 0 0 6px;
  letter-spacing: -.015em;
}
.result-range { margin: 0; font-size: 12px; color: var(--dim); }
.result-head .eyebrow { margin-bottom: 8px; }

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 18px 0 8px;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  overflow: hidden;
  background: var(--line-soft);
}
.stat {
  background: rgba(15, 13, 22, .92);
  padding: 13px 8px;
  text-align: center;
}
.stat-num {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(19px, 5.6vw, 24px);
  line-height: 1.1;
  color: var(--ink);
}
.stat-lbl {
  margin: 5px 0 0;
  font-size: 9px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--dim);
}

.block {
  border-top: 1px solid var(--line-soft);
  padding: 22px 2px 6px;
  margin-top: 14px;
}
.block-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}
.block-head h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -.01em;
}
.block-note { font-size: 11px; color: var(--dim); }

/* words */
.word-list { display: flex; flex-direction: column; }
.word-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, .08);
}
.word-row:last-child { border-bottom: 0; }
.word-rank {
  font-family: var(--serif);
  font-style: italic;
  font-size: 12px;
  color: var(--lime);
  width: 16px;
  flex: none;
}
.word-text {
  font-family: var(--serif);
  font-size: clamp(22px, 6.6vw, 28px);
  line-height: 1.1;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.word-count { font-size: 11.5px; color: var(--dim); flex: none; }

/* hours */
.hours {
  display: grid;
  grid-template-columns: repeat(24, 1fr);
  align-items: end;
  gap: 3px;
  height: 76px;
  padding-top: 4px;
}
.hours span {
  display: block;
  border-radius: 3px 3px 1px 1px;
  background: rgba(255, 255, 255, .16);
  min-height: 2px;
  transition: height .5s cubic-bezier(.2, .8, .3, 1);
}
.hours span.is-peak { background: var(--lime); box-shadow: 0 0 18px -4px rgba(216, 255, 94, .7); }
.hours-axis {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: var(--dim);
  margin-top: 6px;
}
.hours-note { margin: 10px 0 0; line-height: 1.5; }

/* quote */
.quote-block {
  margin-top: 22px;
  padding: 22px 18px 20px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background:
    radial-gradient(120% 100% at 0% 0%, rgba(157, 140, 255, .16), rgba(157, 140, 255, 0) 60%),
    rgba(255, 255, 255, .03);
  position: relative;
}
.quote-block::before {
  content: '“';
  position: absolute;
  top: 2px; left: 14px;
  font-family: var(--serif);
  font-size: 54px;
  color: var(--lime);
  opacity: .5;
  line-height: 1;
}
.quote-text {
  font-family: var(--serif);
  font-size: clamp(17px, 4.8vw, 21px);
  line-height: 1.5;
  margin: 14px 0 12px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.quote-meta { margin: 0; font-size: 11.5px; color: var(--soft); letter-spacing: .02em; }

/* cards */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.card-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: #000;
  padding: 0;
  cursor: pointer;
  aspect-ratio: 9 / 16;
  display: block;
  width: 100%;
  transition: transform .2s, border-color .2s;
}
.card-item:hover { transform: translateY(-2px); border-color: rgba(216, 255, 94, .5); }
.card-item canvas { display: block; width: 100%; height: 100%; object-fit: cover; }
.card-item .card-badge {
  position: absolute;
  left: 8px; bottom: 8px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(11, 10, 16, .82);
  color: var(--ink);
  border: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.card-item.is-locked .card-badge { color: var(--lime); }
.card-item.is-locked canvas { filter: blur(5px) saturate(.7) brightness(.62); }
.card-lock {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: radial-gradient(60% 40% at 50% 50%, rgba(11, 10, 16, .35), rgba(11, 10, 16, .1));
}
.card-lock svg { color: var(--lime); filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .8)); }
.cards-hint { margin: 10px 0 0; line-height: 1.5; }

/* unlock */
.unlock-card {
  margin: 26px 0 4px;
  padding: 22px 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(216, 255, 94, .30);
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(216, 255, 94, .14), rgba(216, 255, 94, 0) 60%),
    rgba(20, 18, 12, .7);
}
.unlock-card.is-done { border-color: var(--line-soft); background: rgba(255, 255, 255, .04); }
.unlock-kicker {
  margin: 0 0 6px;
  font-size: 9.5px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--lime);
  font-weight: 700;
}
.unlock-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  margin: 0 0 12px;
  letter-spacing: -.01em;
}
.unlock-list { margin: 0 0 16px; padding: 0; list-style: none; }
.unlock-list li {
  position: relative;
  padding-left: 20px;
  font-size: 12.5px;
  color: var(--soft);
  margin-bottom: 7px;
  line-height: 1.5;
}
.unlock-list li::before {
  content: '';
  position: absolute;
  left: 2px; top: 7px;
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--lime);
  transform: rotate(45deg);
}
.price-was { margin-left: 8px; font-size: 12px; opacity: .55; text-decoration: line-through; }
.micro { font-size: 10.5px; color: var(--dim); line-height: 1.5; margin: 10px 0 0; }

/* report */
.report-block { position: relative; }
.report-block.is-locked .report-body { filter: blur(6px); opacity: .45; pointer-events: none; user-select: none; }
.report-lock {
  position: absolute;
  inset: 46px 0 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  padding: 20px;
}
.report-block.is-locked .report-lock { display: flex; }
.report-lock p { margin: 0; font-size: 12.5px; color: var(--soft); }

.badge {
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
  border: 1px solid rgba(216, 255, 94, .5);
  color: var(--lime);
  padding: 3px 8px;
  border-radius: 999px;
}

.report-body { display: flex; flex-direction: column; gap: 12px; }
.rep-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.rep-card {
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  padding: 13px 14px;
  background: rgba(255, 255, 255, .028);
}
.rep-card.wide { grid-column: 1 / -1; }
.rep-lbl {
  margin: 0 0 6px;
  font-size: 9.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--dim);
}
.rep-val {
  margin: 0;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.2;
  color: var(--ink);
}
.rep-val small { font-family: var(--sans); font-size: 10.5px; color: var(--soft); display: block; margin-top: 4px; line-height: 1.45; letter-spacing: 0; }
.rep-person { display: flex; flex-direction: column; gap: 8px; }
.rep-person-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 8px;
}
.rep-person-name { font-size: 13px; font-weight: 600; }
.rep-person-tag {
  font-size: 10px; color: var(--lime);
  border: 1px solid rgba(216, 255, 94, .35);
  border-radius: 999px; padding: 2px 7px;
  white-space: nowrap;
}
.rep-person-stats { font-size: 11px; color: var(--soft); line-height: 1.6; }
.score-wrap { display: flex; align-items: center; gap: 14px; }
.score-num {
  font-family: var(--serif);
  font-size: 42px;
  line-height: 1;
  color: var(--lime);
}
.score-bar {
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  overflow: hidden;
}
.score-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--violet), var(--lime)); border-radius: 999px; }
.score-note { font-size: 10.5px; color: var(--soft); margin: 8px 0 0; line-height: 1.5; }

/* ad */
.ad-wrap {
  margin: 26px 0 0;
  min-height: 100px;
  border-radius: 14px;
  overflow: hidden;
}

/* ---------- footer ---------- */
footer {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
}
.foot-links { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.foot-links a, .foot-links button { font-size: 11px; color: var(--dim); text-decoration: none; }
.foot-links a:hover, .foot-links button:hover { color: var(--soft); }
.foot-note { margin: 10px 0 0; font-size: 10.5px; color: rgba(255, 255, 255, .22); }

/* ---------- sheets ---------- */
.sheet {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
}
.sheet.is-open { display: block; }
.sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 3, 8, .72);
  backdrop-filter: blur(6px);
  animation: fade .25s ease both;
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.sheet-panel {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  max-width: 560px;
  margin: 0 auto;
  max-height: 88vh;
  overflow-y: auto;
  background: #14121c;
  border-radius: 24px 24px 0 0;
  border-top: 1px solid var(--line);
  padding: 26px 20px calc(26px + env(safe-area-inset-bottom));
  animation: slideUp .32s cubic-bezier(.2, .8, .3, 1) both;
}
@keyframes slideUp { from { transform: translateY(30px); opacity: .4; } to { transform: none; opacity: 1; } }
.sheet-close {
  position: absolute;
  right: 14px; top: 12px;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .05);
  color: var(--ink);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
.sheet-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 26px;
  margin: 0 0 12px;
  letter-spacing: -.01em;
  padding-right: 34px;
}
.sheet-body { margin: 0 0 16px; font-size: 13px; color: var(--soft); line-height: 1.65; }
.sheet-body p { margin: 0 0 11px; }
.sheet-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--serif);
  font-size: 34px;
  margin: 4px 0 14px;
  color: var(--lime);
}
.sheet-price s { font-size: 16px; color: var(--dim); }
.sheet-list { margin: 18px 0 0; padding: 0; list-style: none; }
.sheet-list li {
  position: relative;
  padding-left: 18px;
  font-size: 12px;
  color: var(--soft);
  margin-bottom: 7px;
  line-height: 1.5;
}
.sheet-list li::before {
  content: '';
  position: absolute;
  left: 2px; top: 7px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--lime);
}
.how-block { margin-bottom: 16px; border-left: 2px solid rgba(216, 255, 94, .35); padding-left: 12px; }
.how-block h4 { margin: 0 0 5px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.how-block p { margin: 0; font-size: 12.5px; color: var(--soft); line-height: 1.6; }

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  background: rgba(4, 3, 8, .92);
  backdrop-filter: blur(8px);
  padding: 18px 16px calc(18px + env(safe-area-inset-bottom));
  overflow-y: auto;
}
.lightbox.is-open { display: block; }
.lightbox-inner {
  max-width: 420px;
  margin: 0 auto;
  padding-top: 26px;
}
.lightbox img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .95);
}
.lightbox-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
}
.lightbox-bar span { font-size: 12px; color: var(--soft); }
.lightbox-close {
  position: fixed;
  right: 16px; top: 14px;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .08);
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}
#lightboxHint { text-align: center; }

/* ---------- toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translate(-50%, 20px);
  background: rgba(20, 18, 28, .96);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 12.5px;
  padding: 11px 16px;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s, transform .25s;
  z-index: 100;
  max-width: calc(100vw - 32px);
  text-align: center;
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .9);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- small screens ---------- */
@media (max-width: 360px) {
  .stat-row { grid-template-columns: 1fr 1fr; }
  .promo-grid { grid-template-columns: 1fr 1fr; }
  .mock-card { width: 184px; }
}
@media (min-width: 700px) {
  .app { padding-bottom: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
