:root {
  --bg: #07070b;
  --bg-2: #0c0c13;
  --surface: #11111a;
  --surface-2: #171722;
  --line: #24243a;
  --line-soft: #1b1b2a;
  --text: #ececf4;
  --muted: #8a8aa0;
  --dim: #5d5d74;
  --accent-1: #0a7cff;
  --accent-2: #3ec6ff;
  --brand: #009afe;
  --green: #4ade80;
  --gold: #fbbf24;
  --rose: #fb7185;
  --grad: linear-gradient(90deg, var(--accent-1), var(--accent-2));
  --radius: 14px;
  --pixel: "Silkscreen", ui-monospace, monospace;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; overflow-x: clip; }
[id] { scroll-margin-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
code { font: .88em ui-monospace, Consolas, monospace; padding: 1px 5px; border-radius: 5px; background: var(--surface-2); border: 1px solid var(--line); }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow {
  font: 12px/1 var(--pixel);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
}
.muted { color: var(--muted); }

/* ---------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--surface-2); color: var(--text);
  font: 600 15px/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: transform .12s ease, border-color .12s ease, background .12s ease;
}
.btn:hover { transform: translateY(-1px); border-color: #3a3a58; }
.btn-primary { background: var(--grad); border-color: transparent; color: #0b0b12; }
.btn-primary:hover { filter: brightness(1.08); border-color: transparent; }
.btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; }
.btn-block { width: 100%; }

/* ---------- nav */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(7, 7, 11, .78); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { height: 52px; width: auto; }
.logo-foot img { height: 56px; }
.nav-links { display: flex; gap: 26px; font-size: 14px; }
.nav-links a { color: var(--muted); text-decoration: none; }
.nav-links a:hover { color: var(--text); }
.nav .btn { padding: 9px 14px; font-size: 14px; }

/* ---------- hero */
.hero { position: relative; padding: 84px 0 72px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 640px; pointer-events: none;
  background:
    radial-gradient(600px 300px at 20% 30%, rgba(10, 124, 255, .22), transparent 70%),
    radial-gradient(520px 280px at 80% 20%, rgba(62, 198, 255, .14), transparent 70%);
}
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 802px); gap: 40px; align-items: center; max-width: 1440px; }
.hero h1 { font-size: clamp(36px, 5.2vw, 60px); font-weight: 800; margin: 14px 0 18px; }
.hero .lead { font-size: 18px; color: #b7b7c9; max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 26px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font: 11px/1 var(--pixel); letter-spacing: .05em; text-transform: uppercase;
  padding: 7px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); background: var(--bg-2);
}

.hero-shot { margin: 0; position: relative; display: grid; place-items: center; min-width: 0; }
.hero .wrap > *, .product, .get-product { min-width: 0; }
.hero-shot::before {
  content: ""; position: absolute; inset: 12% 8%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(0, 154, 254, .28), transparent);
}
.hero-shot img { position: relative; display: block; width: 100%; max-width: 802px; height: auto; }

/* ---------- sections */
section { padding: 84px 0; }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); margin: 10px 0 12px; font-weight: 800; }
.section-head p { color: var(--muted); font-size: 17px; }
.alt { background: var(--bg-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }

.products { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.product {
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
  padding: 28px; display: flex; flex-direction: column; gap: 18px;
}
.product-top { display: flex; gap: 16px; align-items: center; }
.product-top img { width: 56px; height: 56px; image-rendering: pixelated; border-radius: 10px; }
.product h3 { font-size: 24px; }
.product .tag { color: var(--muted); font-size: 14px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; color: #c9c9da; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 5px;
  background: var(--grad);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' stroke='black' stroke-width='2.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.product .demo img { display: block; width: 100%; max-width: 420px; height: auto; }
.product .demo { margin-top: auto; padding: 10px; border-radius: 12px; display: grid; place-items: center;
  background: radial-gradient(70% 80% at 50% 45%, rgba(0, 154, 254, .16), transparent 70%), #080b14; border: 1px solid var(--line-soft); }

/* ---------- screenshots */
.gallery { display: grid; gap: 34px; }
.gallery figure { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); background: #060d1f; overflow: hidden; }
.gallery a { display: grid; place-items: center; overflow: hidden; background: #060d1f; }
.gallery img { display: block; width: 100%; height: auto; }
.gallery figcaption { padding: 16px 20px 18px; color: var(--muted); font-size: 16px; }
.gallery figcaption strong { color: var(--text); }

/* ---------- pricing */
.compare { display: grid; gap: 56px; }
.compare h3 { font-size: 22px; display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.compare h3 img { width: 32px; height: 32px; image-rendering: pixelated; border-radius: 6px; }
.tiers { display: grid; gap: 18px; }
.tiers.three { grid-template-columns: repeat(3, 1fr); }
.tiers.two { grid-template-columns: repeat(2, 1fr); max-width: 760px; }
.tier {
  position: relative; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
  padding: 24px; display: flex; flex-direction: column; gap: 16px;
}
.tier.best { border-color: transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box; }
.tier .badge {
  position: absolute; top: -11px; left: 24px; padding: 4px 10px; border-radius: 999px;
  background: var(--grad); color: #0b0b12; font: 10px/1.2 var(--pixel); text-transform: uppercase; letter-spacing: .06em;
}
.tier-name { font: 13px/1 var(--pixel); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.price { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; }
.price small { font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.tier ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: 14.5px; }
.tier li { position: relative; padding-left: 24px; color: #cfcfe0; }
.tier li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 700; }
.tier li.no { color: var(--dim); }
.tier li.no::before { content: "–"; color: var(--dim); }
.tier .btn { margin-top: auto; }
.note { margin-top: 14px; font-size: 14px; color: var(--muted); }

/* ---------- dropdowns (download picker + get page) */
.picker {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 22px;
}
.field { display: grid; gap: 8px; }
.field-label { font: 11px/1 var(--pixel); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.select { position: relative; display: block; }
.select::after {
  content: ""; position: absolute; right: 16px; top: 50%; width: 9px; height: 9px; margin-top: -7px; pointer-events: none;
  border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(45deg);
}
.select select {
  appearance: none; -webkit-appearance: none; width: 100%; cursor: pointer;
  padding: 14px 44px 14px 16px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--bg-2); color: var(--text); font: 600 16px/1.2 var(--sans);
  transition: border-color .12s ease, box-shadow .12s ease;
}
.select select:hover { border-color: #3a3a58; }
.select select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(0, 154, 254, .25); }
.select option { background: #11111a; color: var(--text); }
.result {
  margin-top: 18px; border-radius: var(--radius); padding: 22px; border: 1px solid var(--line);
  background: var(--surface); display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.result-text strong { display: block; font-size: 18px; }
.result-text span { color: var(--muted); font-size: 14px; }

/* ---------- install */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; padding: 0; margin: 0; }
.steps li { list-style: none; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 22px; }
.steps li::before {
  counter-increment: s; content: counter(s);
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; margin-bottom: 14px;
  background: var(--grad); color: #0b0b12; font: 14px/1 var(--pixel);
}
.steps h3 { font-size: 17px; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: 14.5px; }
.steps code, .faq code, .keys code {
  font: 12.5px/1 ui-monospace, Consolas, monospace; padding: 2px 6px; border-radius: 5px; background: var(--surface-2); border: 1px solid var(--line); color: var(--text);
}
.keys { margin-top: 26px; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.key { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line-soft); background: var(--bg); font-size: 14.5px; }
.key kbd {
  font: 11px/1 var(--pixel); padding: 7px 9px; border-radius: 7px; white-space: nowrap;
  background: var(--surface-2); border: 1px solid var(--line); border-bottom-width: 3px;
}

/* ---------- faq */
.faq { display: grid; gap: 12px; max-width: 820px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.faq summary { cursor: pointer; padding: 18px 20px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand); font: 18px/1 var(--pixel); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 20px 18px; color: var(--muted); }

/* ---------- footer */
footer { border-top: 1px solid var(--line-soft); padding: 40px 0 56px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--text); }
.legal { margin-top: 18px; font-size: 12.5px; color: var(--dim); max-width: 640px; }

/* ---------- small screens */
@media (max-width: 1360px) {
  .hero .wrap { grid-template-columns: 1fr; max-width: 1120px; }
  .hero-shot { width: 100%; }
}
@media (max-width: 960px) {
  .tiers.three { grid-template-columns: 1fr; max-width: 460px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .picker { grid-template-columns: 1fr; padding: 18px; }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .products, .tiers.two { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
  .hero { padding: 56px 0 48px; }
}
@media (max-width: 520px) {
  .wrap { padding: 0 16px; }
  .steps { grid-template-columns: 1fr; }
  .result .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* ---------- download / buy page (get.html) */
.get { padding: 36px 0 84px; position: relative; }
.get::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 420px; pointer-events: none;
  background: radial-gradient(560px 260px at 25% 0%, rgba(10, 124, 255, .18), transparent 70%);
}
.get .wrap { position: relative; }
.back { display: inline-block; margin-bottom: 24px; color: var(--muted); text-decoration: none; font-size: 14px; }
.back:hover { color: var(--text); }
.get-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: start; }
.get-product, .get-panel { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 28px; }
.get-product .product-top img { width: 64px; height: 64px; image-rendering: pixelated; border-radius: 12px; }
.get-product h1 { font-size: clamp(28px, 3.4vw, 38px); font-weight: 800; margin: 6px 0 2px; }
.get-product .tag { color: var(--muted); }
.feature-list { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 10px; }
.feature-list li { position: relative; padding-left: 26px; color: #cfcfe0; }
.feature-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.feature-list li.no { color: var(--dim); }
.feature-list li.no::before { content: "–"; color: var(--dim); }
.get-shot img { display: block; width: 100%; max-width: 420px; height: auto; }
.get-shot { margin: 14px 0 0; padding: 8px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line-soft); background: radial-gradient(70% 80% at 50% 45%, rgba(0, 154, 254, .14), transparent 70%), #080b14; }
.get-panel { position: sticky; top: 88px; display: grid; gap: 14px; }
.get-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; font-size: 38px; font-weight: 800; letter-spacing: -0.03em; }
.get-price small { font-size: 14px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.get-panel .step-label { margin: 6px 0 0; font-weight: 400; }
.ver-hint { color: var(--dim); font-size: 13px; }
.panel-title { font-size: 22px; font-weight: 800; }
.summary { display: grid; gap: 2px; padding: 16px 0 4px; border-top: 1px solid var(--line-soft); margin-top: 4px; }
.summary > span:first-child { color: var(--muted); font-size: 14px; }
.btn-big { padding: 16px 20px; font-size: 16px; margin-top: 4px; }
.action-sub { color: var(--muted); font-size: 13.5px; text-align: center; overflow-wrap: anywhere; }
.done { display: grid; gap: 2px; padding: 14px 16px; border-radius: 12px; background: rgba(74, 222, 128, .1); border: 1px solid rgba(74, 222, 128, .35); font-size: 14.5px; }
.done strong { color: var(--green); }
.done span { color: var(--muted); }
.get-install { border-top: 1px solid var(--line-soft); padding-top: 18px; margin-top: 4px; }
.install-title { font-size: 17px; font-weight: 700; }
.get-install ol { margin: 12px 0 0; padding-left: 20px; display: grid; gap: 8px; color: #c9c9da; font-size: 14.5px; }
.keys.compact { margin-top: 12px; grid-template-columns: 1fr; gap: 8px; }
.keys.compact .key { padding: 10px 14px; }
@media (max-width: 900px) {
  .get-grid { grid-template-columns: minmax(0, 1fr); }
  .get-panel { position: static; }
  .get-shot { display: none; }
}
@media (max-width: 520px) {
  .get-product, .get-panel { padding: 20px; }
}

/* ---------- PayPal checkout (get.html) */
.paypal-box { display: grid; gap: 10px; }
#paypal-buttons { min-height: 48px; }
.pay-msg { color: var(--muted); font-size: 13.5px; text-align: center; min-height: 1em; }
.pay-msg.bad { color: var(--rose); }
.bought { display: grid; gap: 12px; padding: 18px; border-radius: 12px; background: rgba(74, 222, 128, .08); border: 1px solid rgba(74, 222, 128, .35); font-size: 14px; color: var(--muted); }
.bought strong { color: var(--green); font-size: 16px; }
.again { border-top: 1px solid var(--line-soft); padding-top: 12px; }
.again summary { cursor: pointer; color: var(--muted); font-size: 14px; }
.again summary:hover { color: var(--text); }
.again form { display: flex; gap: 8px; margin-top: 12px; }
.again input {
  flex: 1; min-width: 0; padding: 11px 14px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--bg-2); color: var(--text); font: 500 15px/1.2 var(--sans); text-transform: uppercase;
}
.again input:focus { outline: none; border-color: var(--brand); }
.again .pay-msg { margin-top: 8px; text-align: left; }

/* ---------- header: account link */
.nav-end { display: flex; align-items: center; gap: 18px; }
.nav-account { color: var(--muted); font-size: 14px; text-decoration: none; white-space: nowrap; }
.nav-account:hover { color: var(--text); }
.as-link { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; }

/* ---------- forms */
.input {
  width: 100%; padding: 13px 14px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--bg-2); color: var(--text); font: 500 16px/1.2 var(--sans);
}
.input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(0, 154, 254, .25); }

/* ---------- buy page boxes */
.signin-box, .owned-box { display: grid; gap: 10px; padding: 18px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg-2); font-size: 14px; color: var(--muted); }
.signin-box strong, .owned-box strong { color: var(--text); font-size: 16px; }
.signin-row { display: flex; gap: 10px; flex-wrap: wrap; }
.signin-row .btn { flex: 1 1 140px; }
.signed-as { color: var(--muted); font-size: 13.5px; text-align: center; overflow-wrap: anywhere; }
.signed-as b { color: var(--text); font-weight: 600; }

/* ---------- sign in page */
.auth { padding: 56px 0 84px; }
.auth-card { max-width: 440px; margin: 0 auto; display: grid; gap: 16px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.auth-card h1 { font-size: 28px; font-weight: 800; }
.auth-card form { display: grid; gap: 14px; }
.auth-why { color: var(--muted); font-size: 14.5px; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 4px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line-soft); }
.auth-tabs button { padding: 10px; border-radius: 9px; border: 0; background: none; color: var(--muted); font: 600 14px/1 var(--sans); cursor: pointer; }
.auth-tabs button[aria-selected="true"] { background: var(--surface-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.auth-switch { color: var(--muted); font-size: 14px; text-align: center; }
.auth-switch a { color: var(--brand); }
.auth .pay-msg { text-align: left; }

/* ---------- My downloads */
.dl { padding: 44px 0 84px; }
.dl .wrap { display: grid; gap: 26px; }
.dl section { padding: 0; }
#page-msg:empty { display: none; }
.dl-steps, .guide { margin-top: 18px; }
.dl-head h1 { font-size: clamp(30px, 4vw, 42px); font-weight: 800; margin: 8px 0 6px; }
.thanks { display: grid; gap: 4px; padding: 18px 20px; border-radius: 12px; background: rgba(74, 222, 128, .08); border: 1px solid rgba(74, 222, 128, .35); color: var(--muted); }
.thanks strong { color: var(--green); font-size: 17px; }
.purchases { display: grid; gap: 14px; }
.purchase {
  display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center;
  padding: 20px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface);
}
.purchase.is-new { border-color: transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box; }
.purchase img { width: 56px; height: 56px; image-rendering: pixelated; border-radius: 10px; }
.purchase-info { display: grid; gap: 3px; min-width: 0; }
.purchase-info h2 { font-size: 20px; }
.purchase-info .small { font-size: 13px; overflow-wrap: anywhere; }
.purchase-act { display: grid; gap: 6px; justify-items: center; min-width: 200px; }
.purchase-act .btn { width: 100%; }
.empty { display: grid; gap: 8px; justify-items: start; padding: 24px; border-radius: var(--radius); border: 1px dashed var(--line); color: var(--muted); }
.empty strong { color: var(--text); font-size: 18px; }
.dl-steps h2, .guide h2 { font-size: 24px; font-weight: 800; }
.dl-steps .steps { margin-top: 16px; }
kbd { font: 11px/1 var(--pixel); padding: 4px 6px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--line); border-bottom-width: 2px; white-space: nowrap; }
.guide { display: grid; gap: 16px; }
.guide-head { display: flex; align-items: center; gap: 14px; }
.guide-head img { width: 48px; height: 48px; image-rendering: pixelated; border-radius: 10px; }
.guide-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.guide-step { display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 18px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); }
.guide-step > b {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px;
  background: var(--grad); color: #0b0b12; font: 14px/1 var(--pixel);
}
.guide-step h3 { font-size: 16.5px; margin-bottom: 4px; }
.guide-step p { color: var(--muted); font-size: 14.5px; }
.dl .again form { flex-wrap: wrap; }
.dl .again .input { flex: 1 1 220px; text-transform: uppercase; }

/* ---------- phones */
@media (max-width: 760px) {
  .guide-grid { grid-template-columns: 1fr; }
  .purchase { grid-template-columns: auto 1fr; }
  .purchase-act { grid-column: 1 / -1; min-width: 0; }
}
@media (max-width: 520px) {
  .nav-end { gap: 12px; }
  .nav .btn { padding: 8px 11px; font-size: 13px; }
  .logo img { height: 42px; }
  .auth-card { padding: 20px; }
  .auth { padding-top: 28px; }
}

/* ---------- Continue with Google */
.btn-google { background: #fff; color: #1f1f1f; border-color: #fff; gap: 12px; }
.btn-google:hover { border-color: #fff; filter: brightness(.95); }
.btn-discord { background: #5865f2; color: #fff; border-color: #5865f2; gap: 12px; box-shadow: 0 4px 14px rgba(88, 101, 242, .2); }
.btn-discord:hover { background: #4752c4; border-color: #4752c4; box-shadow: 0 6px 18px rgba(88, 101, 242, .3); }
.btn-discord:focus-visible { outline: 3px solid #e0e3ff; outline-offset: 3px; }
.btn-discord svg { flex-shrink: 0; }
.or { display: flex; align-items: center; gap: 12px; color: var(--dim); font-size: 13px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* =====================================================================
   v2 polish: header menu, footer, contact, checkout, account, receipt, schematics
   ===================================================================== */
body { background: radial-gradient(1200px 600px at 50% -200px, rgba(0, 154, 254, .08), transparent 70%), var(--bg); }
.btn:focus-visible, .input:focus-visible, select:focus-visible, a:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.btn-small { padding: 8px 12px; font-size: 13px; border-radius: 8px; }
.btn-ghost { background: transparent; }
.small { font-size: 13.5px; }
.head-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
textarea.input { resize: vertical; min-height: 110px; font: 500 15px/1.5 var(--sans); }
select.input { appearance: auto; }

/* header: links + phone menu */
.nav-links a[aria-current="page"] { color: var(--text); }
.nav-toggle { display: none; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface-2); cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; height: 2px; margin: 4px 0; background: var(--text); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav.open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav-links { display: none; }
  .nav.open .nav-links {
    display: grid; position: absolute; top: 64px; left: 0; right: 0; gap: 0; padding: 8px 20px 16px;
    background: #07070b; border-bottom: 1px solid var(--line); box-shadow: 0 30px 50px -10px rgba(0, 0, 0, .7);
  }
  .nav.open .nav-links a { padding: 13px 4px; border-bottom: 1px solid var(--line-soft); font-size: 16px; }
}
@media (max-width: 520px) { .nav-cta { display: none; } }

/* footer */
footer { padding: 48px 0 32px; }
footer .wrap.foot { display: grid; grid-template-columns: 1.2fr 2fr; gap: 40px; }
.foot-brand { display: grid; gap: 12px; align-content: start; }
.foot-brand .muted { font-size: 14px; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.social { display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font-size: 14px; }
.social:hover { border-color: #5865f2; color: #fff; }
.social:first-child svg { color: #5865f2; }
.foot-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.foot-links div { display: grid; gap: 8px; align-content: start; }
.foot-links b { color: var(--text); font-size: 14px; margin-bottom: 4px; }
.foot-legal { display: grid !important; gap: 4px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line-soft); }
.foot-legal .legal { margin: 0; }
@media (max-width: 760px) {
  footer .wrap.foot { grid-template-columns: 1fr; }
  .foot-links { grid-template-columns: 1fr 1fr; }
}

/* contact */
.contact-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 18px; }
.contact-card {
  display: grid; grid-template-columns: auto 1fr; gap: 14px 18px; align-items: center;
  padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); text-decoration: none;
  transition: transform .15s ease, border-color .15s ease;
}
.contact-card:hover { transform: translateY(-2px); border-color: #3a3a58; }
.contact-card .btn { grid-column: 1 / -1; justify-self: start; }
.contact-main { background: linear-gradient(135deg, rgba(88, 101, 242, .22), rgba(88, 101, 242, .05)), var(--surface); border-color: rgba(88, 101, 242, .5); }
.contact-main:hover { border-color: #5865f2; }
.contact-icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 16px; background: var(--surface-2); color: var(--brand); }
.contact-icon.discord-icon { background: #5865f2; color: #fff; }
.contact-text { display: grid; gap: 4px; }
.contact-text b { font-size: 19px; color: var(--text); }
.contact-text span { color: var(--muted); font-size: 14.5px; overflow-wrap: anywhere; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }

/* checkout */
.steps-bar { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.steps-bar li { display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--line-soft); color: var(--dim); font-size: 13px; font-weight: 600; }
.steps-bar b { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: var(--surface-2); font: 11px/1 var(--pixel); }
.steps-bar li.current { color: var(--text); border-color: var(--brand); background: rgba(0, 154, 254, .08); }
.steps-bar li.current b { background: var(--grad); color: #0b0b12; }
.steps-bar li.done { color: var(--green); }
.steps-bar li.done b { background: rgba(74, 222, 128, .2); color: var(--green); }
.order-summary { display: grid; border-radius: 12px; border: 1px solid var(--line-soft); background: var(--bg-2); overflow: hidden; }
.order-summary .line { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 13px 16px; font-size: 14.5px; color: var(--muted); }
.order-summary .line + .line { border-top: 1px solid var(--line-soft); }
.order-summary .total { color: var(--text); font-weight: 700; }
.order-summary .get-price { font-size: 28px; }
.code-box { border: 1px dashed var(--line); border-radius: 12px; padding: 12px 14px; }
.code-box summary { cursor: pointer; color: var(--muted); font-size: 14px; font-weight: 600; }
.code-box summary:hover { color: var(--text); }
.code-box form { display: flex; gap: 8px; margin-top: 12px; }
.code-box .input { flex: 1; min-width: 0; text-transform: uppercase; letter-spacing: .04em; }
.code-box .pay-msg { text-align: left; margin-top: 8px; }
.trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; color: var(--muted); font-size: 12.5px; }
.trust li::before { content: "\2713  "; color: var(--green); font-weight: 700; }
.get-panel { box-shadow: 0 24px 60px -30px rgba(0, 154, 254, .35); min-width: 0; }
.steps-bar li { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 420px) { .steps-bar li { padding: 8px 6px; font-size: 12px; gap: 6px; } }

/* account */
.acct { padding: 44px 0 84px; }
.acct .wrap { display: grid; gap: 22px; align-content: start; }
.acct-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.acct-head h1 { font-size: clamp(30px, 4vw, 42px); font-weight: 800; margin: 8px 0 6px; }
.tabs { display: flex; gap: 6px; padding: 5px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line-soft); overflow-x: auto; }
.tabs button { flex: 0 0 auto; padding: 11px 18px; border-radius: 10px; border: 0; background: none; color: var(--muted); font: 600 14.5px/1 var(--sans); cursor: pointer; white-space: nowrap; }
.tabs button[aria-selected="true"] { background: var(--surface-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.tab-panel { display: grid; gap: 18px; align-content: start; padding: 0; }
.tab-panel[hidden] { display: none !important; }
.cards-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.card { display: grid; gap: 14px; padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.card h2 { font-size: 20px; font-weight: 800; }
.stack { display: grid; gap: 14px; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 12px 20px; margin: 0; font-size: 14.5px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; overflow-wrap: anywhere; font-weight: 600; }
.help-card { grid-template-columns: 1fr auto; align-items: center; }
.orders { display: grid; gap: 12px; }
.order {
  display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "icon info right" "icon actions actions";
  gap: 10px 16px; align-items: center; padding: 18px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface);
}
.order img { grid-area: icon; width: 48px; height: 48px; border-radius: 10px; image-rendering: pixelated; align-self: start; }
.order-info { grid-area: info; display: grid; gap: 3px; min-width: 0; }
.order-info h3 { font-size: 17px; }
.order-info .small { overflow-wrap: anywhere; }
.order-right { grid-area: right; display: grid; gap: 6px; justify-items: end; }
.order-amount { font-size: 18px; }
.order-actions { grid-area: actions; display: flex; gap: 8px; flex-wrap: wrap; }
.status { display: inline-block; padding: 4px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; background: rgba(74, 222, 128, .12); color: var(--green); white-space: nowrap; }
.status-open, .status-approved { background: rgba(251, 191, 36, .14); color: var(--gold); }
.status-denied { background: rgba(138, 138, 160, .15); color: var(--muted); }
.status-refunded { background: rgba(251, 113, 133, .14); color: var(--rose); }
.refund-list, .admin-list { display: grid; gap: 10px; }
.refund-item, .admin-item { display: grid; gap: 6px; justify-items: start; padding: 14px; border-radius: 12px; border: 1px solid var(--line-soft); background: var(--bg-2); }
.admin-item p { margin: 0; color: #cfcfe0; white-space: pre-wrap; }
.admin-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; width: 100%; }
.admin-row .input { flex: 1 1 160px; padding: 9px 12px; font-size: 14px; }
.admin-row select.input { flex: 0 0 auto; }
@media (max-width: 760px) {
  .cards-2 { grid-template-columns: 1fr; }
  .help-card { grid-template-columns: 1fr; }
  .order { grid-template-columns: auto 1fr; grid-template-areas: "icon info" "right right" "actions actions"; }
  .order-right { justify-items: start; grid-auto-flow: column; justify-content: start; align-items: center; }
}

/* receipt */
.receipt-wrap { padding: 36px 0 84px; }
.receipt-tools { display: flex; justify-content: space-between; align-items: center; gap: 12px; max-width: 760px; margin: 0 auto 18px; }
.receipt-tools .back { margin: 0; }
.receipt { max-width: 760px; margin: 0 auto; display: grid; gap: 24px; padding: 34px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.receipt-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.receipt-top img { height: 64px; width: auto; }
.receipt-top h1 { font-size: 30px; text-align: right; }
.receipt-top .muted { text-align: right; overflow-wrap: anywhere; }
.receipt-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.receipt-grid div { display: grid; gap: 6px; }
.receipt-grid b { overflow-wrap: anywhere; }
.receipt-lines { width: 100%; border-collapse: collapse; font-size: 15px; }
.receipt-lines th, .receipt-lines td { text-align: left; padding: 14px 0; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.receipt-lines th { color: var(--muted); font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; }
.receipt-lines .num { text-align: right; white-space: nowrap; padding-left: 16px; }
.receipt-lines tfoot td { font-weight: 800; font-size: 18px; border-bottom: 0; }
@media (max-width: 520px) {
  .receipt { padding: 22px; }
  .receipt-top { flex-direction: column; align-items: flex-start; }
  .receipt-top h1, .receipt-top .muted { text-align: left; }
  .receipt-grid { grid-template-columns: 1fr; }
}
@media print {
  header.nav, footer, .receipt-tools { display: none !important; }
  body { background: #fff !important; color: #111; }
  .receipt { border: 0; background: #fff; color: #111; padding: 0; }
  .receipt .muted, .receipt .field-label, .receipt-lines th { color: #555 !important; }
  .receipt-lines th, .receipt-lines td { border-color: #ddd; }
  .receipt-top img { filter: invert(1) hue-rotate(180deg); }
}

/* schematics */
.schem { padding: 56px 0 84px; }
.schem .wrap { display: grid; gap: 22px; align-content: start; }
.schem .section-head { margin-bottom: 0; }
.schem-tools { display: grid; gap: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-btn { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); font: 600 13px/1 var(--sans); cursor: pointer; }
.chip-btn[aria-pressed="true"] { color: #0b0b12; background: var(--grad); border-color: transparent; }
.schem-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.schem-grid:empty { display: none; }
.schem-card { display: grid; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.schem-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.schem-body { display: grid; gap: 8px; padding: 18px; }
.soon { display: grid; justify-items: center; gap: 12px; text-align: center; padding: 56px 24px; border-radius: var(--radius); border: 1px dashed var(--line); background: radial-gradient(60% 80% at 50% 0%, rgba(0, 154, 254, .1), transparent 70%), var(--surface); }
.soon h3 { font-size: 24px; }
.soon p { max-width: 460px; }
.soon-icon { color: var(--brand); }
.how { margin: 0; padding-left: 20px; display: grid; gap: 8px; color: #cfcfe0; }

/* small polish on existing pieces */
.product, .tier, .gallery figure, .faq details { transition: border-color .15s ease, transform .15s ease; }
.product:hover, .tier:hover { border-color: #34344e; }
.section-head h2 { letter-spacing: -0.03em; }

/* account page: support tickets */
.tab-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--rose); vertical-align: middle; margin-left: 4px; }
.ticket-item { width: 100%; }
.ticket-item summary { display: flex; justify-content: space-between; gap: 10px; cursor: pointer; list-style: none; }
.ticket-item summary::-webkit-details-marker { display: none; }
.ticket-msg { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: var(--surface-2); white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14.5px; }
.ticket-msg small { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; }
.ticket-msg.from-staff { background: rgba(0, 154, 254, .14); border: 1px solid rgba(0, 154, 254, .35); }
.ticket-reply { display: grid; gap: 8px; grid-template-columns: 1fr auto auto; align-items: end; margin-top: 10px; width: 100%; }
.ticket-reply textarea { min-height: 60px; }
@media (max-width: 520px) { .ticket-reply { grid-template-columns: 1fr 1fr; } .ticket-reply textarea { grid-column: 1 / -1; } }
.tabs { scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }


/* Stripe button: white, Stripe logo + name, like PayPal's own button */
.stripe-btn { width: 100%; height: 48px; display: flex; align-items: center; justify-content: center; gap: 4px; padding: 0 16px;
  border-radius: 4px; border: 1px solid #e3e8ee; background: #fff; cursor: pointer; transition: background .15s, box-shadow .15s; }
.stripe-btn:hover { background: #f6f9fc; box-shadow: 0 4px 14px rgba(99, 91, 255, .25); }
.stripe-btn:disabled { opacity: .7; cursor: progress; }
.stripe-btn svg { width: 22px; height: 22px; }
.stripe-btn b { color: #635bff; font: 800 22px/1 var(--sans); letter-spacing: -.03em; }
.paypal-slot + .paypal-slot { margin-top: 10px; }
#stripe-pay { margin-bottom: 10px; }
#stripe-msg:empty { display: none; }

/* support.html: live chat + tickets */
.support-page { padding: 48px 0 84px; }
.support-page .wrap { display: grid; gap: 20px; align-content: start; }
.support-page .section-head { margin-bottom: 0; }
.online-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--dim); margin-left: 4px; vertical-align: middle; }
.online-dot.on { background: var(--green); box-shadow: 0 0 0 3px rgba(74, 222, 128, .2); }
.signin-card { justify-items: start; max-width: 560px; }
.chat-card { display: grid; grid-template-rows: auto 1fr auto; height: min(640px, 72vh); border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--surface); overflow: hidden; max-width: 820px; width: 100%; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line-soft); background: var(--bg-2); }
.chat-head img { width: 54px; height: auto; }
.chat-head div { display: grid; gap: 2px; flex: 1; min-width: 0; }
.chat-log { display: flex; flex-direction: column; gap: 8px; padding: 18px; overflow-y: auto; overscroll-behavior: contain; }
.bubble { max-width: 78%; padding: 10px 14px; border-radius: 16px; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 15px; line-height: 1.45; }
.bubble small { display: block; margin-top: 4px; font-size: 11.5px; opacity: .7; }
.bubble.from-staff { align-self: flex-start; background: var(--surface-2); border-bottom-left-radius: 6px; }
.bubble.from-me { align-self: flex-end; background: linear-gradient(135deg, var(--accent-1), var(--accent-2)); color: #fff; border-bottom-right-radius: 6px; }
.chat-day { align-self: center; font-size: 12px; color: var(--muted); padding: 2px 10px; border-radius: 999px; background: var(--bg-2); }
.chat-input { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line-soft); background: var(--bg-2); }
.chat-input textarea { flex: 1; min-height: 44px; max-height: 140px; resize: vertical; }
.chat-card + .pay-msg, #chat-msg { margin: 0; }
@media (max-width: 520px) { .chat-card { height: 76vh; height: 76dvh; } .bubble { max-width: 90%; } }
.support-page section { padding: 0; }
@media (max-width: 520px) { .chat-head img { display: none; } .chat-head { padding: 12px 14px; } }

/* "link this mod?" card on the account page */
.link-ask { margin-bottom: 18px; border-color: var(--brand); }
.link-item { grid-template-columns: 1fr auto; align-items: center; }
.link-item .btn { grid-row: 1 / span 2; grid-column: 2; }

/* floating live chat (every page) */
.chat-fab { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px;
  border: 0; border-radius: 999px; background: linear-gradient(135deg, var(--accent-1), var(--accent-2)); color: #fff; font: 600 15px Inter, sans-serif;
  box-shadow: 0 10px 30px rgba(10, 124, 255, .35); cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; }
.chat-fab:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(10, 124, 255, .45); }
.chat-fab.open span { display: none; }
.chat-fab-dot { position: absolute; top: 6px; right: 8px; width: 10px; height: 10px; border-radius: 50%; background: #3ddc84; border: 2px solid #0a7cff; }
.chat-pop { position: fixed; right: 20px; bottom: 84px; z-index: 60; width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100vh - 120px)); height: min(560px, calc(100dvh - 120px));
  overscroll-behavior: contain;
  display: grid; grid-template-rows: auto 1fr; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-2);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .55); }
.chat-pop[hidden] { display: none; }
.chat-pop-bar { display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 16px; border-bottom: 1px solid var(--line); }
.chat-pop-bar a { margin-left: auto; }
.chat-pop-x { background: none; border: 0; color: var(--muted); font-size: 24px; line-height: 1; cursor: pointer; padding: 0 4px; }
.chat-pop-x:hover { color: var(--text); }
.chat-pop iframe { width: 100%; height: 100%; border: 0; background: var(--bg-2); }
@media (max-width: 520px) { .chat-fab { right: 16px; bottom: 16px; } .chat-pop { right: 16px; left: 16px; width: auto; bottom: 76px; } }

/* support.html shown inside the chat window */
.embed body { background: var(--bg-2); }
.embed header.nav, .embed footer, .embed .section-head, .embed #support-tabs, .embed #tickets-panel { display: none !important; }
.embed .support-page { padding: 0; }
.embed .support-page .wrap { padding: 0; max-width: none; gap: 0; }
.embed .chat-card { height: 100vh; height: 100dvh; border: 0; border-radius: 0; }
.embed .signin-card { margin: 16px; }

/* names + pictures */
/* "Finish your account" (account.js) - Google / Discord sign-ups answer the sign-up questions here */
.setup-box { width: min(440px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border-radius: 18px; border: 1px solid var(--line);
  background: var(--surface); color: var(--text); box-shadow: 0 30px 80px rgba(0, 0, 0, .6); overscroll-behavior: contain; }
.setup-box::backdrop { background: rgba(3, 3, 8, .72); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.setup-box form { display: grid; gap: 14px; padding: 26px 24px 20px; }
.setup-box h2 { margin: 0; font-size: 22px; }
.setup-box p.muted { margin: -8px 0 4px; font-size: 14.5px; }
.setup-out { justify-self: center; }
html.setup-open { overflow: hidden; }
.req { font-style: normal; color: var(--brand); }
.profile-card { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; align-items: center; margin-bottom: 18px; }
.profile-card h2 { margin: 0; }
.profile-card .inline-form { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; align-items: end; }
.profile-card .field { flex: 1 1 220px; }
.avatar-lg { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: #2a2a3a; }
.bubble-row { display: flex; gap: 8px; align-items: flex-end; align-self: flex-start; max-width: 85%; }
.bubble-row .bubble { max-width: none; }
.bubble-pic { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; flex: none; background: #2a2a3a; }

/* affiliate tab */
.aff-me-head { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.aff-me-head h2 { margin: 0 0 4px; }
.aff-me-link { display: flex; gap: 8px; align-items: center; }
.aff-me-link code { padding: 10px 12px; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--line); overflow-wrap: anywhere; }
.aff-me-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 18px; }
.aff-me-stat { display: grid; gap: 4px; padding: 14px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.aff-me-stat b { font-size: 22px; }
.aff-me-stat.good b { color: #3ddc84; }
.af-balance { display: grid; gap: 2px; margin: 10px 0 8px; }
.af-balance b { font-size: 34px; color: #3ddc84; }
.af-bar { height: 8px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); overflow: hidden; }
.af-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent-1), #3ddc84); }
.af-sub { margin-top: 20px; }

/* streamers who use the mods (home page, between the top and "The mods") */
.streamband { padding: 30px 0 34px; border-top: 1px solid var(--line-soft); background: radial-gradient(70% 150% at 50% 0%, rgba(10, 124, 255, .12), rgba(62, 198, 255, .04) 45%, transparent 75%); }
.streamband-label { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0 0 20px; font-size: 12.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.streamband-label b { font-weight: 700; }
.streamband-view { display: flex; justify-content: center; overflow: hidden; padding: 4px 0; }
.streamband.moving .streamband-view { justify-content: flex-start; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.streamband-track { display: flex; width: max-content; }
.streamband-group { display: flex; gap: 28px; padding: 0 14px; }
.streamband.moving .streamband-track { animation: streamband var(--dur, 24s) linear infinite; }
.streamband.moving .streamband-view:hover .streamband-track, .streamband.moving .streamband-view:focus-within .streamband-track { animation-play-state: paused; }
@keyframes streamband { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .streamband.moving .streamband-track { animation: none; } .streamband.moving .streamband-view { overflow-x: auto; } }
.streamer { display: grid; justify-items: center; gap: 10px; width: 112px; color: var(--text); text-decoration: none; }
.streamer-pic { position: relative; display: block; width: 96px; height: 96px; }
.streamer-pic::before { content: ""; position: absolute; inset: -3px; border-radius: 50%; background: var(--grad); opacity: .55; transition: opacity .18s ease, transform .18s ease, box-shadow .18s ease; }
.streamer-pic img { position: relative; display: block; width: 96px; height: 96px; border-radius: 50%; object-fit: cover; background: #1a1a28; border: 3px solid var(--bg); transition: transform .18s ease; }
.streamer:hover .streamer-pic::before, .streamer:focus-visible .streamer-pic::before { opacity: 1; transform: translateY(-3px); box-shadow: 0 10px 28px rgba(10, 124, 255, .35); }
.streamer:hover .streamer-pic img, .streamer:focus-visible .streamer-pic img { transform: translateY(-3px); }
.streamer-yt { position: absolute; z-index: 1; right: -2px; bottom: 0; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #111; border: 2px solid var(--bg); }
.streamer-name { max-width: 112px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; font-weight: 600; }
@media (max-width: 640px) { .streamer, .streamer-name { width: 92px; max-width: 92px; } .streamer-pic, .streamer-pic img { width: 78px; height: 78px; } .streamband-group { gap: 18px; } }

/* checkout: the old price when a discount code is on */
.price-was { margin-left: .4em; font-size: .6em; font-weight: 600; color: var(--muted); text-decoration-thickness: 2px; }
.streamer:hover .streamer-pic:has(.streamer-tw)::before { box-shadow: 0 10px 28px rgba(145, 70, 255, .4); }

/* ---- mod pages (auction-overlay.html, gamble-tracker.html) */
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding-top: 22px; font-size: 13.5px; color: var(--muted); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--text); }
.breadcrumbs [aria-current] { color: var(--text); }
.mod-hero { padding-top: 40px; }
.steps.steps-3 { grid-template-columns: repeat(3, 1fr); }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature { padding: 20px 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.feature h3 { font-size: 17px; margin-bottom: 6px; }
.feature p { margin: 0; color: #c2c2d4; font-size: 15px; }
.ver-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.ver-card { display: grid; gap: 6px; padding: 18px 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.ver-card b { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--brand); }
.ver-card span { color: #c9c9da; font-size: 15px; }
.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; }
.cta-band p { color: var(--muted); max-width: 36em; margin: 10px auto 0; }
.cta-band .hero-cta { justify-content: center; }
.more-link { display: inline-block; margin-top: 16px; font-weight: 600; color: var(--brand); text-decoration: none; }
.more-link:hover { text-decoration: underline; }
.product h3 a { color: inherit; text-decoration: none; }
.product h3 a:hover { text-decoration: underline; }
.notfound { padding: 110px 0 120px; }
.notfound h1 { font-size: clamp(34px, 5vw, 54px); font-weight: 800; margin: 12px 0; }
@media (max-width: 960px) { .features, .ver-grid { grid-template-columns: 1fr 1fr; } .steps.steps-3 { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .features, .ver-grid { grid-template-columns: 1fr; } }

/* phones: iPhones zoom the whole page in when you tap a box with text smaller than 16px (and stay zoomed) */
@media (max-width: 760px), (pointer: coarse) {
  .input, select.input, textarea.input, .select select { font-size: 16px !important; }
}

/* "email me about updates and offers" checkboxes (sign-up, finish-your-account box, Account page) */
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--muted); cursor: pointer; line-height: 1.45; }
.check input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--brand); cursor: pointer; }
.news-toggle { grid-column: 1 / -1; flex-wrap: wrap; margin-top: 4px; }
.news-toggle .pay-msg { flex-basis: 100%; text-align: left; margin: 0; }
/* the one-time "want update emails?" card for older accounts: floats bottom-left, never moves the page */
.news-card { position: fixed; left: 20px; bottom: 20px; z-index: 55; width: min(340px, calc(100vw - 40px)); display: grid; gap: 6px;
  padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); box-shadow: 0 20px 50px rgba(0, 0, 0, .55); font-size: 14px; }
.news-card span { color: var(--muted); }
.news-card div { display: flex; gap: 8px; margin-top: 6px; }
@media (max-width: 520px) { .news-card { left: 12px; right: 12px; width: auto; bottom: 80px; } }
