:root {
  --bg: #111315; --bg2: #16191c; --card: #1c2024; --line: #2a2f35;
  --text: #ffffff; --muted: #a3abb4; --lime: #c8f26a; --lime-ink: #142000;
  --warn: #f2c96a; --off: #7d858e; --bad: #ff8a7a; --r: 18px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; background: radial-gradient(120% 60% at 50% -10%, #1d2226 0%, var(--bg) 60%) fixed, var(--bg);
  color: var(--text); font: 16px/1.5 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, sans-serif;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}
a { color: var(--lime); }
.top, .wrap, .foot { max-width: 560px; margin: 0 auto; padding: 0 16px; }
.top { padding-top: 20px; padding-bottom: 8px; }
.logo { color: var(--text); text-decoration: none; font-weight: 700; letter-spacing: -.01em; font-size: 18px; display: inline-flex; align-items: center; gap: 10px; }
.dot { width: 12px; height: 12px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 18px rgba(200,242,106,.55); }
.hero { padding: 28px 0 12px; }
h1 { font-size: 28px; line-height: 1.15; letter-spacing: -.02em; margin: 0 0 10px; }
.hero h1 { font-size: 34px; }
h2 { font-size: 20px; margin: 0 0 6px; } h3 { font-size: 17px; margin: 18px 0 6px; }
.accent { color: var(--lime); }
.muted { color: var(--muted); } .small { font-size: 14px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; margin: 14px 0; }
.card h3:first-child { margin-top: 0; }
.grid { display: grid; grid-template-columns: 1fr; gap: 0 12px; }
@media (min-width: 520px) { .grid { grid-template-columns: 1fr 1fr; } }
.plan { display: flex; flex-direction: column; }
.plan .btn { margin-top: auto; }
.price { font-size: 30px; font-weight: 700; margin: 4px 0; letter-spacing: -.02em; }
.btn {
  display: block; width: 100%; text-align: center; padding: 15px 18px; border-radius: 14px; border: 0;
  background: var(--lime); color: var(--lime-ink); font: inherit; font-weight: 650; text-decoration: none; cursor: pointer;
  margin: 12px 0 4px; min-height: 50px; -webkit-tap-highlight-color: transparent; transition: transform .08s ease, filter .15s;
}
.btn:active { transform: scale(.98); } .btn:hover { filter: brightness(1.05); }
.btn-ghost { background: transparent; color: var(--lime); border: 1px solid rgba(200,242,106,.45); }
.btn-small { width: auto; margin: 0; padding: 10px 14px; min-height: 0; font-size: 15px; white-space: nowrap; }
.link { background: none; border: 0; color: var(--muted); font: inherit; text-decoration: underline; cursor: pointer; display: inline-block; margin-top: 10px; }
.center { text-align: center; }
.row { display: flex; align-items: center; gap: 10px; } .between { justify-content: space-between; }
.pill { font-size: 13px; padding: 4px 10px; border-radius: 99px; background: var(--bg2); color: var(--muted); border: 1px solid var(--line); white-space: nowrap; }
.pill-active { color: var(--lime); border-color: rgba(200,242,106,.4); }
.pill-preparing { color: var(--warn); } .pill-expired { color: var(--off); } .pill-blocked { color: var(--bad); }
.qr { background: #fff; border-radius: 14px; padding: 12px; width: max-content; max-width: 100%; margin: 14px auto; }
.qr svg { display: block; width: 220px; height: auto; max-width: 100%; }
.copy { display: flex; gap: 8px; margin: 10px 0; }
.copy input { flex: 1; min-width: 0; background: var(--bg2); border: 1px solid var(--line); color: var(--text); border-radius: 12px; padding: 10px 12px; font: 14px ui-monospace, SFMono-Regular, Menlo, monospace; }
.steps { padding-left: 20px; color: var(--muted); } .steps li { margin: 6px 0; } .steps b { color: var(--text); }
details { margin-top: 14px; color: var(--muted); } summary { cursor: pointer; }
.status { display: flex; gap: 10px; align-items: center; color: var(--warn); }
.spinner { width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .9s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation: none; } .btn { transition: none; } }
.gift { text-align: center; } .gift-icon { font-size: 44px; }
.prose p { color: var(--muted); }
.foot { color: var(--muted); font-size: 14px; padding-top: 10px; padding-bottom: 32px; text-align: center; }
.foot a { color: var(--muted); }
.tg-widget { min-height: 48px; margin-top: 12px; }
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); transform: translateX(-50%); background: var(--lime); color: var(--lime-ink); padding: 10px 16px; border-radius: 12px; font-weight: 600; }
.stores { display: flex; gap: 8px; margin: 8px 0; flex-wrap: wrap; }
.stores .btn-small { flex: 1; text-align: center; }
.section-title { font-size: 18px; margin: 26px 0 4px; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
@media (max-width: 380px) { .plans { grid-template-columns: 1fr; } }
.plan-head { display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.plan h3 { margin: 0; font-size: 16px; }
.plan .price { font-size: 26px; }
.per { font-size: 15px; color: var(--muted); font-weight: 500; }
.badge { font-size: 12px; padding: 3px 8px; border-radius: 99px; background: rgba(200,242,106,.14); color: var(--lime); white-space: nowrap; }
.plan-best { border-color: rgba(200,242,106,.55); box-shadow: 0 0 0 1px rgba(200,242,106,.2), 0 10px 30px rgba(200,242,106,.08); }
.plan-trial { border-style: dashed; border-color: rgba(200,242,106,.4); }
.foot .seller { margin-top: 6px; font-size: 13px; opacity: .8; }
