:root {
  --ink: #1a1d21;
  --muted: #66716e;
  --green: #0e8a78;
  --green-deep: #0b6e60;
  --soft: #e7f4f1;
  --bg: #f4f6f5;
  --card: #ffffff;
  --line: #e3eae6;
  --shadow: 0 10px 30px rgba(16, 24, 20, 0.05);
  --hero-a: #f7fbf9;
  --hero-b: #e7f4f1;
  --danger: #9d2c3a;
  --warn: #8a5a12;
  color-scheme: light;
  font-family: "Instrument Sans", Inter, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
}

html[data-theme="dark"] {
  --ink: #eef3f1;
  --muted: #a8b3af;
  --soft: #16332e;
  --bg: #101418;
  --card: #1a2128;
  --line: rgba(255, 255, 255, 0.08);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  --hero-a: #121816;
  --hero-b: #16302b;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  min-height: 100vh;
  background:
    radial-gradient(880px 380px at 78% -8%, rgba(14, 138, 120, 0.18), transparent 62%),
    var(--bg);
}
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.boot { padding: 48px; color: var(--muted); }

.wrap { width: min(1220px, calc(100% - 32px)); margin: 0 auto; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--card) 92%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.topbar .wrap { position: relative; z-index: 2; display: flex; align-items: center; gap: 22px; min-height: 72px; min-width: 0; }
.logo { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.logo svg { width: 22px; height: 31px; }
.logo span { font-weight: 650; font-size: 18px; letter-spacing: -0.045em; }
.logo em { font-style: normal; color: var(--green); }
.nav { display: flex; align-items: center; gap: 14px; margin-left: 8px; }
.nav-extra { display: none; }
.desk-tools { display: flex; align-items: center; gap: 10px; }
.nav a { font-size: 14.5px; font-weight: 550; color: var(--muted); }
.nav a.on, .nav a:hover { color: var(--ink); }
.tools { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.icon-btn, .lang-btn {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  display: grid;
  place-items: center;
}
.lang-btn { width: auto; padding: 0 10px; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; }
.lang-btn img { width: 22px; height: 16px; object-fit: cover; border-radius: 2px; display: block; }
.ghost, .btn {
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 650;
}
.ghost { background: transparent; border: 1px solid var(--line); }
.btn { background: var(--green); color: white; display: inline-flex; align-items: center; gap: 8px; }
.btn:hover { background: var(--green-deep); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn.soft { background: var(--soft); color: var(--green-deep); }
.btn.block { width: 100%; justify-content: center; padding: 12px 16px; }
.balance { font-size: 13px; font-weight: 700; color: var(--green-deep); }

.ribbon {
  background: var(--soft);
  color: var(--green-deep);
  font-size: 13px;
  font-weight: 550;
}
.ribbon .wrap { padding: 8px 0; }

.shop {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 0 48px;
  align-items: start;
  min-width: 0;
}
.shop > .stage { min-width: 0; max-width: 100%; }
.side { display: grid; gap: 12px; position: sticky; top: 92px; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.switch { display: flex; align-items: center; gap: 6px; padding: 6px; }
.switch button, .switch a {
  border: 0;
  background: transparent;
  border-radius: 999px;
  padding: 9px 14px;
  font-weight: 650;
  color: var(--muted);
}
.switch .on { background: var(--green); color: white; }
.switch .help {
  margin-left: auto;
  width: 32px;
  height: 32px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
}
.panel { padding: 16px; }
.panel h2 { margin: 0 0 10px; font-size: 15px; }
.search {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px 10px;
  margin-bottom: 8px;
  color: var(--muted);
}
.search input { border: 0; outline: 0; width: 100%; background: transparent; }
.choices { list-style: none; margin: 0; padding: 0; max-height: 280px; overflow: auto; }
.choice.plain { grid-template-columns: 28px minmax(0, 1fr) auto; }
.choice {
  width: 100%;
  display: grid;
  grid-template-columns: 18px 28px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  text-align: left;
  border: 0;
  background: transparent;
  border-radius: 12px;
  padding: 8px 6px;
}
.choice:hover, .choice.on { background: color-mix(in srgb, var(--green) 8%, transparent); }
.choice > span:nth-child(3) { min-width: 0; }
.choice b { display: block; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.choice small { color: var(--muted); font-size: 12px; }
.choice .price { font-size: 12px; color: var(--muted); font-weight: 650; white-space: nowrap; }
.dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #c5cdd6;
}
.choice.on .dot { border-color: var(--green); box-shadow: inset 0 0 0 4px var(--green); }
.mark, .flag {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  background: var(--soft);
  color: var(--green-deep);
  font-size: 11px;
  font-weight: 750;
  overflow: hidden;
}
.mark img, .flag img { width: 100%; height: 100%; object-fit: cover; }
.mark .letter { display: none; }
.mark.fallback .letter { display: block; }
.sms header .who { display: inline-flex; align-items: center; gap: 8px; }
.flag { flex: 0 0 22px; width: 22px; height: 16px; border-radius: 2px; background: #fff; outline: 1px solid rgba(26, 29, 33, 0.22); outline-offset: -1px; }
.more {
  border: 0;
  background: transparent;
  color: var(--green);
  font-weight: 700;
  padding: 8px 4px 0;
}
.panel.shut { padding: 0; background: transparent; border: 0; box-shadow: none; }
.panel.shut h2 { display: none; }
.chip {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  min-height: 48px;
  padding-right: 8px;
}
.chip-x, .chip-main { border: 0; background: transparent; }
.chip-x { color: var(--muted); font-size: 18px; line-height: 1; }
.chip-main { display: flex; align-items: center; gap: 8px; width: 100%; text-align: left; min-width: 0; padding: 8px 4px; }
.chip-main b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chip-main .ok { color: var(--green); font-weight: 750; }
.buy-box { display: grid; gap: 12px; padding: 14px; }
.buy-box .kicker { margin: 0; }
.buy-box .modes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; margin: 0; padding: 3px; background: var(--soft); border-radius: 999px; }
.buy-box .modes button { border: 0; background: transparent; border-radius: 999px; padding: 7px 4px; font-size: 12px; font-weight: 650; color: var(--muted); }
.buy-box .modes button.on { background: var(--card); color: var(--ink); box-shadow: 0 1px 2px rgba(16, 24, 20, 0.08); }
.buy-box.ready .modes button.on { background: var(--green); color: white; }
.buy-box .modes button:disabled { opacity: 0.35; cursor: not-allowed; }
.buy-box .mode-note { margin: -4px 4px 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.mode-tag { font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--green); }
.quote {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 72px;
  padding: 12px;
  border-radius: 16px;
  background: var(--soft);
  transition: background 180ms ease, color 180ms ease;
}
.quote-lines { display: grid; gap: 6px; min-width: 0; color: var(--muted); }
.quote-lines .who b { font-weight: 650; }
.quote-price { text-align: right; }
.quote-price strong { display: block; font-size: 22px; letter-spacing: -0.04em; line-height: 1; }
.quote-price span { color: var(--muted); font-size: 12px; }
.quote-price s { display: block; margin-top: 4px; color: #8aa099; font-size: 12px; font-weight: 550; text-decoration: line-through; }
.price-row .cost s { display: block; color: var(--muted); font-size: 11px; font-weight: 550; text-decoration: line-through; }
.buy-box.ready .quote {
  color: white;
  background:
    radial-gradient(110px 64px at 100% 0%, rgba(11, 90, 78, 0.55), transparent 72%),
    #111418;
}
.buy-box.ready .quote-lines,
.buy-box.ready .quote-price span { color: #c5d4ce; }
.buy-box.ready .quote-lines .who b,
.buy-box.ready .quote-price strong { color: white; }
.buy-box.ready .quote-price strong { color: #3dbea8; }
.stage { display: grid; gap: 14px; }
.stats { display: flex; flex-wrap: wrap; gap: 8px; }
.stat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 600;
}
.stat i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  display: block;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.8fr);
  gap: 22px;
  padding: 36px;
  border: 0;
  color: white;
  background:
    radial-gradient(520px 240px at 100% 0%, rgba(14, 138, 120, 0.45), transparent 60%),
    #111418;
  overflow: hidden;
}
.kicker { margin: 0 0 8px; color: var(--green-deep); font-weight: 700; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; }
.hero .kicker { color: #8fe0d2; }
.hero h1 { margin: 0; font-size: 48px; line-height: 0.98; letter-spacing: -0.05em; color: white; }
.hero h1 em { font-style: normal; color: #3dbea8; }
.lede { margin: 12px 0 0; max-width: 520px; color: var(--muted); font-size: 16px; }
.hero .lede, .hero .ticks { color: #c5d4ce; }
.hero .btn.soft { background: transparent; color: white; border: 1px solid rgba(255, 255, 255, 0.22); }
.hero .pay span { background: transparent; color: white; border-color: rgba(255, 255, 255, 0.18); }
.hero .sms { background: #1b2421; color: white; border: 1px solid rgba(255, 255, 255, 0.06); }
.hero .sms header span, .hero .hint { color: #8aa099; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.ticks { display: flex; flex-wrap: wrap; gap: 12px 16px; margin: 16px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 13px; }
.ticks li { display: flex; align-items: center; gap: 6px; }
.pay { display: flex; gap: 8px; margin-top: 16px; }
.pay span {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 8px;
  padding: 5px 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.feed { display: grid; gap: 10px; align-content: center; }
.sms {
  background: var(--card);
  border-radius: 16px;
  padding: 12px 14px;
  box-shadow: var(--shadow);
}
.sms header { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; font-weight: 700; }
.sms header span { color: var(--muted); font-weight: 550; }
.sms p { margin: 6px 0 0; font-size: 14px; }
.works, .catalog { padding: 18px; }
.section-head, .catalog header { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.section-head h2, .catalog h2 { margin: 0; font-size: 18px; }
.section-head a, .catalog a { color: var(--green); font-weight: 700; font-size: 14px; }
.brands { display: flex; gap: 8px; overflow: auto; padding-top: 14px; }
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px 6px 6px;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 650;
}
.tabs { display: flex; gap: 16px; margin: 14px 0; }
.tabs button { border: 0; background: transparent; padding: 0 0 8px; font-weight: 700; color: var(--muted); border-bottom: 2px solid transparent; }
.tabs button.on { color: var(--green); border-color: var(--green); }
.tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.tile {
  text-align: left;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 16px;
  padding: 12px;
  min-height: 92px;
}
.tile:hover { border-color: var(--green); }
.tile b { display: block; margin-top: 8px; }
.tile span { color: var(--green); font-size: 13px; font-weight: 700; }

.page { padding: 22px 0 56px; }
.page h1 { margin: 0 0 6px; letter-spacing: -0.03em; }
.sub { margin: 0 0 16px; color: var(--muted); }
.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.metric { padding: 16px; }
.metric span { color: var(--muted); font-size: 13px; }
.metric strong { display: block; margin-top: 6px; font-size: 26px; letter-spacing: -0.04em; }
.table-wrap { overflow: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { color: var(--muted); font-size: 12px; font-weight: 700; }
.badge { border-radius: 999px; padding: 3px 8px; font-size: 12px; font-weight: 750; background: var(--soft); color: var(--green-deep); }
.badge.busy { background: #fff4df; color: var(--warn); }
.badge.off { background: #f3f4f6; color: #667085; }
html[data-theme="dark"] .badge.busy { background: #3a2e16; }
html[data-theme="dark"] .badge.off { background: #2a3036; color: var(--muted); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.filters button { border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 8px 12px; font-weight: 650; }
.filters button.on { background: var(--green); color: white; border-color: var(--green); }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.sim { padding: 14px; display: grid; gap: 8px; }
.sim header { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.phone { font-size: 20px; letter-spacing: -0.03em; margin: 0; }
.sim p { margin: 0; color: var(--muted); font-size: 13px; }
.auth { width: min(440px, 100%); margin: 24px auto; padding: 24px; }
.auth h1 { font-size: 28px; }
.google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  border-radius: 999px;
  padding: 12px 16px;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
}
.google-btn:hover { border-color: var(--green); }
.auth-or {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.auth-or i { flex: 1; height: 1px; background: var(--line); }
.auth .info { color: var(--green); font-size: 14px; margin: 0 0 12px; }
.pass-line { position: relative; display: block; }
.pass-line input { width: 100%; padding-right: 92px; }
.pass-toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  font-size: 12px;
  padding: 6px;
}
.otp-input { text-align: center; font-size: 24px; letter-spacing: 0.35em; font-weight: 700; }
.auth-switch, .auth-back { text-align: center; margin: 16px 0 0; }
.resend {
  display: block;
  width: 100%;
  margin-top: 10px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 650;
}
.resend:disabled { opacity: 0.5; }
.field { display: grid; gap: 6px; margin-bottom: 12px; font-size: 14px; font-weight: 650; }
.field input { border: 1px solid var(--line); background: var(--bg); border-radius: 12px; padding: 12px; font-weight: 500; }
.hint { color: var(--muted); font-size: 13px; }
.error { color: var(--danger); font-size: 14px; }
.toast {
  position: fixed;
  bottom: 18px;
  right: 18px;
  background: var(--ink);
  color: white;
  border-radius: 14px;
  padding: 12px 14px;
  z-index: 40;
}
.modal {
  position: fixed;
  inset: 0;
  background: rgba(16, 20, 24, 0.45);
  display: grid;
  place-items: center;
  z-index: 30;
  padding: 18px;
}
.sheet { width: min(520px, 100%); max-height: min(80vh, 680px); overflow: auto; padding: 18px; }
.linkish { border: 0; background: transparent; color: var(--green); font-weight: 700; padding: 0; }
.menu-btn { display: none; }
.desk-tools { display: flex; align-items: center; gap: 10px; }
.nav-extra { display: none; }
.nav-shade {
  position: fixed;
  inset: 0;
  z-index: 19;
  border: 0;
  margin: 0;
  padding: 0;
  background: rgba(16, 20, 24, 0.48);
  cursor: pointer;
}
.menu-btn svg { width: 18px; height: 18px; display: block; }

.lang-pop {
  position: fixed;
  inset: 0;
  background: rgba(16, 20, 24, 0.35);
  z-index: 40;
  display: grid;
  place-items: start center;
  padding: 88px 16px 16px;
}
.lang-sheet { width: min(720px, 100%); padding: 16px; }
.lang-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.lang-grid button {
  display: flex; align-items: center; gap: 8px;
  border: 1px solid var(--line); background: var(--card);
  border-radius: 12px; padding: 8px 10px; text-align: left; font-weight: 650;
}
.lang-grid button.on { border-color: var(--green); background: var(--soft); }
.lang-grid img { width: 22px; height: 16px; object-fit: cover; border-radius: 2px; }
.stage-page { display: grid; gap: 14px; }
.balance-figure { margin: 0; font-size: 68px; line-height: 0.95; letter-spacing: -0.06em; }
.now-list, .log-list { display: grid; gap: 10px; }
.ticket { display: grid; grid-template-columns: 6px 1fr auto; gap: 14px; align-items: center; padding: 16px; }
.ticket i { width: 6px; height: 100%; min-height: 48px; border-radius: 99px; background: var(--green); }
.ticket strong { font-size: 28px; letter-spacing: -0.04em; }
.ticket p { margin: 2px 0 0; color: var(--muted); }
.log-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 2px; border-bottom: 1px solid var(--line); }
.about-hero { padding: 32px 28px 24px; background: var(--card); border-top: 4px solid var(--green); }
.about-hero h1 { margin: 0; font-size: 40px; letter-spacing: -0.045em; line-height: 1.05; color: var(--ink); }
.about-hero h1 em { font-style: normal; color: var(--green); }
.about-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 28px; }
.about-stats div { background: var(--soft); border-radius: 16px; padding: 14px 8px; text-align: center; }
.about-stats strong { display: block; font-size: 28px; letter-spacing: -0.04em; color: var(--ink); }
.about-stats span { color: var(--muted); font-size: 13px; }
.about-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.about-cols article, .step { padding: 18px; }
.about-cols h2 { margin: 0 0 8px; font-size: 16px; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; }
.step b { font-size: 28px; color: var(--green); }
.dash-board { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr); gap: 14px; align-items: start; }
.finance { grid-column: 2; grid-row: 1 / span 2; padding: 18px; }
.active-card, .history-card { padding: 16px 18px; }
.coin-row, .amount-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.coin-btn, .amount-row button {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line); background: var(--card); border-radius: 14px; padding: 8px 12px; font-weight: 700;
}
.coin-btn.on, .amount-row button.on { border-color: var(--green); background: var(--soft); color: var(--green-deep); }
.coin { width: 22px; height: 22px; display: block; flex: none; object-fit: contain; }
.api-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-end; padding: 8px 4px 4px; }
.api-head h1 { margin: 0; font-size: 42px; letter-spacing: -0.05em; }
.api-grid { display: grid; grid-template-columns: minmax(0, 240px) minmax(0, 1fr); gap: 12px; min-width: 0; align-items: start; }
.method-nav { padding: 8px; }
.method-nav button { width: 100%; text-align: left; border: 0; background: transparent; border-radius: 12px; padding: 9px 10px; font-weight: 700; }
.method-nav button.on { background: var(--ink); color: white; }
.method-nav button.on .verb { color: #b7e4da; }
.method-nav p { margin: 14px 10px 4px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: 0.08em; }
.verb { color: var(--green); font-size: 12px; font-weight: 800; margin-right: 6px; }
.api-detail { padding: 18px; display: grid; gap: 12px; min-width: 0; max-width: 100%; align-content: start; }
.api-detail h2 { margin: 0; font-size: 28px; letter-spacing: -0.04em; overflow-wrap: anywhere; }
.code { position: relative; background: #111418; color: #f4f7f6; border-radius: 16px; overflow: hidden; min-width: 0; max-width: 100%; }
.code .tabs { display: flex; flex-wrap: wrap; gap: 4px; padding: 8px; align-items: center; }
.code .tabs button { border: 0; background: transparent; color: #c5cec9; border-radius: 8px; padding: 6px 10px; font-weight: 700; }
.code .tabs button.on { background: var(--green); color: white; }
.code .tabs .copy-tab { margin-left: auto; color: white; }
.code pre { margin: 0; padding: 4px 72px 20px 14px; white-space: pre-wrap; overflow-wrap: anywhere; word-break: break-word; font-size: 13px; }
.code .scan { position: absolute; left: 0; right: 0; height: 34%; pointer-events: none; opacity: 0; background: linear-gradient(180deg, transparent, rgba(61, 190, 168, 0.2), transparent); }
.code.is-live .scan { opacity: 1; animation: api-scan 1.05s ease-in-out infinite; }
.play {
  position: absolute; right: 12px; bottom: 12px; z-index: 1;
  width: 46px; height: 46px; border: 0; border-radius: 50%;
  display: grid; place-items: center; color: white; background: var(--green);
  box-shadow: 0 8px 20px rgba(14, 138, 120, 0.35);
  animation: play-glow 2.4s ease-out infinite;
}
.play svg { width: 18px; height: 18px; margin-left: 2px; }
.play .spin {
  display: none; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.28); border-top-color: white;
}
.play.on { animation: none; background: #0b6e60; }
.play.on svg { display: none; }
.play.on .spin { display: block; animation: play-spin 0.7s linear infinite; }
.play:disabled { cursor: progress; }
.run-out {
  background: #111418; color: #f4f7f6; border-radius: 16px; padding: 12px 14px 8px;
  animation: run-rise 0.45s ease;
}
.run-out.err { box-shadow: inset 3px 0 0 var(--danger); }
.run-head { display: flex; align-items: center; gap: 8px; color: #b7e4da; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.run-head b { font-weight: 700; }
.run-head span:last-child { margin-left: auto; color: #8ea39c; letter-spacing: 0; }
.pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: #3dbea8; box-shadow: 0 0 0 0 rgba(61, 190, 168, 0.7); animation: play-glow 1.8s ease-out infinite; }
.run-out .resp { background: transparent; border: 0; color: #d7e4df; padding: 10px 0 8px; }
.resp { background: var(--soft); border-left: 3px solid var(--green); border-radius: 10px; padding: 12px 14px; font-size: 13px; min-width: 0; max-width: 100%; overflow-wrap: anywhere; word-break: break-word; }
.resp-raw {
  margin: 0;
  max-height: 280px;
  overflow: auto;
  white-space: pre-wrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px;
  line-height: 1.45;
}
@keyframes api-scan { from { transform: translateY(-30%); } to { transform: translateY(280%); } }
@keyframes play-spin { to { transform: rotate(360deg); } }
@keyframes play-glow {
  0% { box-shadow: 0 0 0 0 rgba(61, 190, 168, 0.45); }
  70% { box-shadow: 0 0 0 10px rgba(61, 190, 168, 0); }
  100% { box-shadow: 0 0 0 0 rgba(61, 190, 168, 0); }
}
@keyframes run-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.keyline { font-family: ui-monospace, monospace; font-size: 13px; background: var(--soft); border-radius: 10px; padding: 8px 10px; max-width: 100%; overflow-wrap: anywhere; word-break: break-word; }
.site-foot {
  position: relative;
  margin-top: 28px;
  overflow: hidden;
  color: var(--ink);
  background:
    radial-gradient(640px 220px at 92% -30%, rgba(14, 138, 120, 0.16), transparent 68%),
    linear-gradient(180deg, #fbfefd 0%, #f3f7f5 100%);
}
html[data-theme="dark"] .site-foot {
  color: #e8efec;
  background:
    radial-gradient(560px 260px at 0% 120%, rgba(14, 138, 120, 0.3), transparent 62%),
    radial-gradient(420px 180px at 100% -10%, rgba(61, 190, 168, 0.12), transparent 70%),
    #101412;
}
.site-foot a { color: inherit; }
.foot { position: relative; z-index: 1; display: grid; gap: 22px; padding: 40px 0 28px; }
.foot-ghost {
  position: absolute;
  z-index: 0;
  right: -0.04em;
  bottom: -0.22em;
  margin: 0;
  font-size: clamp(96px, 16vw, 188px);
  font-weight: 650;
  letter-spacing: -0.065em;
  line-height: 0.78;
  color: transparent;
  -webkit-text-stroke: 1px rgba(14, 138, 120, 0.2);
  pointer-events: none;
  user-select: none;
}
html[data-theme="dark"] .foot-ghost { -webkit-text-stroke: 1px rgba(61, 190, 168, 0.28); }
.foot-top, .foot-base { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; }
.foot-brand { position: relative; z-index: 1; max-width: 420px; }
.foot-brand p { margin: 10px 0 0; max-width: 36ch; color: var(--muted); font-size: 14px; line-height: 1.45; }
.foot-side { position: relative; z-index: 1; display: grid; justify-items: end; gap: 14px; }
.foot-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 18px; }
.foot-nav a { position: relative; font-size: 14px; font-weight: 600; }
.foot-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}
.foot-nav a.on { color: var(--green-deep); }
.foot-nav a.on::after, .foot-nav a:hover::after { transform: scaleX(1); }
html[data-theme="dark"] .foot-nav a.on { color: #3dbea8; }
.foot-rule {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(14, 138, 120, 0.55), transparent);
}
html[data-theme="dark"] .foot-rule { background: linear-gradient(90deg, transparent, rgba(61, 190, 168, 0.45), transparent); }
.foot-base { align-items: center; }
.foot-note { position: relative; z-index: 1; margin: 0; max-width: 46ch; color: var(--muted); font-size: 13px; line-height: 1.45; }
html[data-theme="dark"] .foot-brand p, html[data-theme="dark"] .foot-note { color: #a8b6b1; }
.foot-pay { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.foot-pay span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 10px 0 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--card) 88%, transparent);
  font-size: 12px;
  font-weight: 650;
}
.foot-pay b { font-weight: 650; }
html[data-theme="dark"] .foot-pay span { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.1); }
.site-foot .social { background: var(--card); color: var(--ink); border-color: var(--line); transition: transform 160ms ease, border-color 160ms ease; }
.site-foot .social:hover { border-color: var(--green); transform: translateY(-2px); }
html[data-theme="dark"] .site-foot .social { background: #171d1b; color: #e8efec; border-color: rgba(255, 255, 255, 0.1); }
.pay { display: flex; gap: 8px; align-items: center; }
html[dir="rtl"] .shop, html[dir="rtl"] .api-grid, html[dir="rtl"] .foot { direction: rtl; }
html[dir="rtl"] .foot-ghost { right: auto; left: -0.04em; }
html[dir="rtl"] .foot-nav a::after { transform-origin: right; }
html[dir="rtl"] .foot-side { justify-items: start; }
html[dir="rtl"] .foot-nav, html[dir="rtl"] .foot-pay { justify-content: flex-start; }

@media (max-width: 980px) {
  .nav { display: none; }
  .nav.open { display: flex; flex-direction: column; align-items: flex-start; position: absolute; top: 72px; left: 0; right: 0; background: var(--card); border-bottom: 1px solid var(--line); padding: 12px 16px 16px; }
  .nav.open .nav-extra { display: grid; gap: 8px; width: 100%; margin-top: 8px; }
  .desk-tools { display: none; }
  .menu-btn { display: inline-flex; }
  .shop, .hero, .tiles, .metrics, .card-grid, .about-cols, .about-stats, .about-story, .about-metrics, .api-grid, .lang-grid, .dash-board { grid-template-columns: 1fr; }
  .about-hero { padding: 36px 22px 28px; }
  .about-hero h1 { font-size: 34px; }
  .price-top, .price-head, .price-row { display: grid; grid-template-columns: 1fr; }
  .price-head { display: none; }
  .finance { grid-column: auto; grid-row: auto; }
  .side { position: static; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 32px; }
}

.panel-btn.on { color: var(--green); border-color: var(--green); }
.who { display: inline-flex; align-items: center; gap: 8px; }
td.who { vertical-align: middle; }
.dash-switch { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 8px; }
.dash-switch button {
  border: 0; background: transparent; border-radius: 16px; padding: 16px 10px; font-weight: 750; color: var(--muted);
}
.dash-switch button.on { background: var(--ink); color: white; }
.dash-pane { padding: 22px; min-height: 320px; }
.socials { display: flex; gap: 10px; align-items: center; }
.social {
  width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center;
  background: #1c2422; border: 1px solid rgba(255, 255, 255, 0.08); color: white; font-weight: 800;
}
.social svg { width: 22px; height: 22px; }
.social.bot { color: #1a1d21; }
html[data-theme="dark"] .site-foot .social.bot { color: #e8efec; }
.tile, .choice, .brand { transition: transform 160ms ease, border-color 160ms ease; }
.tile:hover, .brand:hover { transform: translateY(-2px); }
.about-hero h1 { font-size: 46px; }
.api-head h1 { font-size: 56px; }

.about-page { gap: 26px; }
.about-hero {
  color: var(--ink);
  border: 0;
  text-align: center;
  padding: 52px 40px 40px;
  background:
    radial-gradient(560px 240px at 50% 0%, rgba(14, 138, 120, 0.16), transparent 68%),
    linear-gradient(180deg, color-mix(in srgb, var(--green) 7%, var(--card)), var(--card) 78%);
}
.about-hero .kicker { color: var(--green-deep); }
.about-hero h1 {
  margin: 0 auto;
  max-width: 560px;
  font-size: 44px;
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.02;
  color: var(--ink);
}
.about-hero h1 em { color: var(--green); }
.about-hero .lede { margin: 14px auto 0; max-width: 520px; color: var(--muted); font-size: 16px; line-height: 1.5; }
.about-hero .actions, .about-hero .ticks { justify-content: center; }
.about-metrics { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; padding: 6px 4px 2px; }
.about-metrics strong { display: block; font-size: 34px; font-weight: 650; letter-spacing: -0.045em; color: var(--ink); }
.about-metrics span { color: var(--muted); font-size: 13px; }
.about-story { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; padding: 32px 34px; }
.about-story h2 { margin: 0 0 10px; font-size: 26px; font-weight: 600; letter-spacing: -0.04em; line-height: 1.15; }
.about-story p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.about-page .step { display: block; padding: 26px 28px; }
.about-page .step b {
  width: auto; height: auto; display: block; margin: 0 0 8px;
  background: transparent; color: var(--green); font-size: 32px; font-weight: 650; letter-spacing: -0.04em;
}
.about-page .step strong { display: block; font-size: 18px; }
.about-page .step p { margin: 6px 0 0; color: var(--muted); }
.price-page { gap: 12px; }
.price-find { display: grid; gap: 12px; padding: 16px; }
.price-page h1 { margin: 0; font-size: 28px; font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.price-find .search { margin: 0; min-height: 52px; border-radius: 16px; padding: 8px 12px; }
.price-find .search:focus-within { border-color: var(--green); }
.price-x { border: 0; background: transparent; color: var(--muted); font-size: 20px; line-height: 1; padding: 0 2px; }
.price-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.price-chips button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 999px;
  padding: 5px 12px 5px 6px;
  font-size: 13px;
  font-weight: 600;
}
.price-chips button.on { border-color: var(--green); background: var(--soft); color: var(--green-deep); }
html[data-theme="dark"] .price-chips button.on { color: #9dccc2; }
.price-board { padding: 6px 8px 8px; }
.price-board .hint { margin: 8px 10px 12px; }
.price-board .more { margin: 8px; }
.price-head, .price-row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) 64px 84px 128px;
  gap: 10px;
  align-items: center;
  padding: 11px 12px;
}
.price-head { color: var(--muted); font-size: 12px; font-weight: 650; }
.price-row + .price-row { border-top: 1px solid var(--line); }
.price-row:hover { background: var(--soft); border-radius: 14px; }
.price-row .who { min-width: 0; }
.price-row .who b, .price-row .who span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.price-row .qty { color: var(--muted); font-variant-numeric: tabular-nums; }
.price-row .cost { color: var(--green-deep); font-weight: 700; font-variant-numeric: tabular-nums; }
.btn.slim { padding: 8px 12px; font-size: 13px; justify-content: center; }
.stage-page > h1,
.stage-page > div > h1 {
  font-size: 44px;
  letter-spacing: -0.05em;
  line-height: 0.95;
}
.stage-page > .card.panel {
  border-left: 4px solid var(--green);
  padding: 20px 22px;
  transition: transform 160ms ease;
}
.stage-page > .card.panel:hover { transform: translateY(-2px); }
.stage-page > .card.panel h2 { font-size: 20px; letter-spacing: -0.03em; }
.table-wrap thead th { position: sticky; top: 0; background: var(--card); }
.table-wrap tbody tr:hover td { background: var(--soft); }
.table-wrap td:nth-child(4) { color: var(--green-deep); font-weight: 750; }
.api-head {
  margin: 0;
  padding: 28px 28px 24px;
  border-radius: 22px;
  color: white;
  background:
    radial-gradient(520px 180px at 100% 0%, rgba(14, 138, 120, 0.42), transparent 60%),
    #111418;
}
.api-head h1, .api-head .sub, .api-head .hint { color: #f4f7f6; }
.api-head .sub, .api-head .hint { color: #c5d4ce; }
.api-head .keyline { background: rgba(255, 255, 255, 0.08); color: white; }
.auth { border-top: 4px solid var(--green); padding: 28px; }
.api-page { font-family: Inter, "Instrument Sans", sans-serif; font-weight: 400; letter-spacing: -0.011em; min-width: 0; max-width: 100%; }
.api-page .api-top,
.api-page .api-top > div,
.api-page .api-catalog { min-width: 0; max-width: 100%; }
.api-page button, .api-page input { font-family: inherit; }
.api-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding: 4px 2px 0; }
.api-page .api-top h1 { margin: 0; font-size: 40px; font-weight: 500; letter-spacing: -0.035em; line-height: 1; color: var(--ink); }
.api-page .api-top .sub { margin: 8px 0 0; max-width: 540px; font-weight: 400; }
.api-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.api-tabs button { border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 8px 14px; color: var(--muted); font-weight: 500; }
.api-tabs button.on { color: var(--ink); border-color: var(--green); background: var(--soft); }
.api-page .method-nav button { font-weight: 500; }
.api-page .method-nav button.on { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--green); }
.api-page .method-nav button.on .verb { color: var(--green); }
.api-page .method-nav p { font-weight: 600; }
.api-page .api-detail h2 { font-weight: 500; }
.api-catalog { display: grid; gap: 10px; }
.api-catalog .search { margin: 0; }
.id-board { padding: 6px 8px 10px; max-height: 68vh; overflow: auto; }
.id-row { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 10px; align-items: center; padding: 9px 10px; }
.id-row + .id-row { border-top: 1px solid var(--line); }
.id-row.head { color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.id-row .num { font-family: ui-monospace, SFMono-Regular, monospace; font-size: 13px; font-weight: 600; color: var(--green-deep); }
.id-row .qty { color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }

.desk { gap: 16px; }
.desk-hello { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 2px 2px 0; }
.stage-page.desk > .desk-hello h1 {
  margin: 0;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.05;
}
.desk-hello .kicker { margin: 0 0 4px; text-transform: none; letter-spacing: 0; font-weight: 550; color: var(--muted); }
.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 8px 12px;
  background: var(--soft);
  color: var(--green-deep);
  font-size: 13px;
  font-weight: 700;
}
.live-pill i, .act-status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(14, 138, 120, 0.45);
  animation: live-pulse 1.8s ease-out infinite;
}
@keyframes live-pulse {
  70% { box-shadow: 0 0 0 7px rgba(14, 138, 120, 0); }
  100% { box-shadow: 0 0 0 0 rgba(14, 138, 120, 0); }
}
.ledger {
  display: grid;
  grid-template-columns: 1.45fr 1fr 0.8fr;
  padding: 6px;
  background:
    radial-gradient(460px 180px at 0% 0%, rgba(14, 138, 120, 0.14), transparent 70%),
    var(--card);
}
.ledger > div { padding: 16px 18px; }
.ledger > div + div { border-inline-start: 1px solid var(--line); }
.ledger span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.ledger strong {
  display: block;
  margin-top: 6px;
  font-size: 26px;
  font-weight: 650;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.ledger-main strong { font-size: 46px; letter-spacing: -0.055em; line-height: 0.95; }
.ledger small { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; }
.live, .hist-card, .wallet { padding: 16px 18px 8px; }
.wallet { padding-bottom: 18px; }
.desk-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.desk-head h2, .wallet h2 { margin: 0; font-size: 16px; font-weight: 650; letter-spacing: -0.02em; }
.count {
  min-width: 26px;
  height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--soft);
  color: var(--green-deep);
  font-size: 13px;
  font-weight: 750;
}
.live-note { margin: 8px 0 0; }
.empty-live { margin: 14px 0 18px; }
.act {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 16px 2px 18px;
  border-top: 1px solid var(--line);
}
.act-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--green-deep);
  font-size: 12px;
  font-weight: 700;
}
.act-status span, .act-age { color: var(--muted); font-weight: 550; }
.act-age { margin-inline-start: auto; }
.act-phone {
  margin: 6px 0 0;
  font-size: 32px;
  font-weight: 650;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
  line-height: 1.05;
}
.act-phone.pending { font-size: 16px; font-weight: 550; letter-spacing: -0.02em; color: var(--muted); }
.act-code { margin: 8px 0 0; font-size: 28px; font-weight: 700; letter-spacing: 0.08em; }
.act-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 8px 0 0; color: var(--muted); }
.act-meta b { color: var(--green-deep); font-variant-numeric: tabular-nums; }
.act-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.desk-split { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(240px, 0.72fr); gap: 14px; align-items: start; }
.hist-scroll { margin-top: 6px; }
.pager { display: flex; align-items: center; justify-content: flex-end; gap: 8px; padding: 12px 0 8px; }
.pager button { width: 36px; height: 36px; border: 1px solid var(--line); background: var(--card); border-radius: 12px; font-size: 18px; }
.pager button:disabled { color: var(--line); }
.pager span { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.hist {
  display: grid;
  grid-template-columns: auto minmax(0, 1.3fr) auto auto auto;
  gap: 10px;
  align-items: center;
  padding: 11px 2px;
  border-top: 1px solid var(--line);
}
.hist-who { min-width: 0; }
.hist-who .who { min-width: 0; }
.hist-who b, .hist-who .who > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hist-phone, .hist-when { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hist-price { font-weight: 700; color: var(--green-deep); font-variant-numeric: tabular-nums; text-align: end; }
.pill {
  font-size: 11px;
  font-weight: 750;
  border-radius: 999px;
  padding: 4px 8px;
  background: var(--soft);
  color: var(--muted);
  white-space: nowrap;
}
.pill.wait { color: var(--green-deep); }
.pill.done { color: var(--ink); background: color-mix(in srgb, var(--ink) 6%, var(--card)); }
.pill.off { color: var(--danger); background: color-mix(in srgb, var(--danger) 10%, var(--card)); }
.wallet .sub { margin: 6px 0 0; }
.wallet .coin-row { display: grid; grid-template-columns: 1fr 1fr; }
.wallet .coin-btn, .wallet .amount-row button { justify-content: center; }
.wallet .amount-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.wallet .hint { margin: 12px 0 4px; }
.chain-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chain-chips button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 999px;
  padding: 6px 12px 6px 6px;
  font-size: 13px;
  font-weight: 750;
}
.who-line .coin { width: 16px; height: 16px; }
.chain-chips button.on { border-color: var(--green); background: var(--soft); color: var(--green-deep); }
.deposit-addr {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0 0;
  padding: 10px 10px 10px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--soft);
}
.deposit-addr code { flex: 1; min-width: 0; font-size: 13px; line-height: 1.45; word-break: break-all; }
.deposit-addr .ghost { flex: none; }
.pay-live {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin-top: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    radial-gradient(420px 180px at 0% 0%, color-mix(in srgb, var(--green) 16%, transparent), transparent 70%),
    var(--card);
  box-shadow: var(--shadow);
  animation: pay-in 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.pay-stage { position: relative; width: 176px; height: 176px; display: grid; place-items: center; }
.pay-stage::before {
  content: "";
  position: absolute;
  width: 146px;
  height: 146px;
  border-radius: 50%;
  background: #fff;
}
.pay-halo {
  position: absolute;
  z-index: 1;
  inset: 1px;
  border-radius: 50%;
  border: 2px solid color-mix(in srgb, var(--green) 40%, transparent);
  pointer-events: none;
}
.pay-halo i {
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--green);
  border-right-color: var(--green);
  animation: pay-spin 2.4s linear infinite;
}
.pay-live.is-confirm .pay-halo { border-color: color-mix(in srgb, #d0892a 45%, transparent); }
.pay-live.is-confirm .pay-halo i { animation-duration: 1.15s; border-top-color: #d0892a; border-right-color: #d0892a; }
.pay-live.is-move .pay-halo i { animation-duration: 1.5s; }
.pay-live.is-done .pay-halo { border-color: var(--green); }
.pay-live.is-done .pay-halo i { animation: none; opacity: 0; }
.pay-live.is-hold .pay-halo { border-color: var(--warn); }
.pay-live.is-hold .pay-halo i { animation: none; opacity: 0; }
.pay-live.is-drop .pay-halo { border-color: var(--danger); }
.pay-live.is-drop .pay-halo i { animation: none; opacity: 0; }
.pay-plate {
  position: relative;
  z-index: 2;
  width: 102px;
  height: 102px;
  background: transparent;
}
.pay-qr-svg { width: 100%; height: 100%; display: block; }
.pay-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; color: var(--muted); font-size: 13px; }
.pay-kicker span { display: inline-flex; align-items: center; gap: 6px; }
.pay-kicker b { color: var(--ink); }
.pay-kicker .coin { width: 18px; height: 18px; }
.pay-live h3 { margin: 8px 0 0; font-size: 22px; letter-spacing: -0.03em; }
.pay-lead { margin: 6px 0 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
.pay-min {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  margin: 10px 0 0;
  padding: 7px 12px 7px 14px;
  border-radius: 999px;
  background: var(--soft);
  border: 1px solid color-mix(in srgb, var(--green) 50%, var(--line));
  color: var(--green-deep);
  font-size: 13px;
  font-weight: 700;
}
.pay-min strong { color: var(--ink); font-size: 18px; font-weight: 750; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.pay-scan { margin: 10px 0 0; font-size: 13px; font-weight: 650; color: var(--green-deep); }
.pay-foot { margin: 10px 0 0; color: var(--muted); font-size: 12.5px; line-height: 1.45; }
.pay-live.is-confirm h3 { color: var(--warn); }
.pay-live.is-done h3 { color: var(--green-deep); }
.pay-live.is-drop h3 { color: var(--danger); }
@keyframes pay-spin { to { transform: rotate(360deg); } }
@keyframes pay-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
.dep-list { margin-top: 6px; }
.dep {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 11px 0;
  border-top: 1px solid var(--line);
}
.dep .who-line { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; color: var(--muted); font-size: 13px; }
.dep .who-line b { color: var(--ink); }
.dep a { color: var(--muted); }
.dep strong { color: var(--green-deep); font-variant-numeric: tabular-nums; }
@media (max-width: 980px) {
  .ledger, .desk-split, .act, .hist { grid-template-columns: 1fr; }
  .ledger > div + div { border-inline-start: 0; border-top: 1px solid var(--line); }
  .ledger-main strong, .stage-page.desk > .desk-hello h1 { font-size: 34px; }
  .act-actions { flex-direction: row; align-items: center; justify-content: flex-start; }
  .hist-price { text-align: start; }
  .wallet .amount-row { grid-template-columns: repeat(2, 1fr); }
  .dep { grid-template-columns: auto minmax(0, 1fr); }
  .dep strong { grid-column: 2; }
  .pay-live { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .pay-kicker, .pay-live .pay-min { justify-content: center; }
  .pay-live .deposit-addr { width: min(100%, 460px); text-align: start; }
}
@media (prefers-reduced-motion: reduce) {
  .live-pill i, .act-status i, .pay-halo i, .pay-live { animation: none; }
}

@property --rim {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

.home-stage { min-width: 0; }
.home-stage .hero,
.about-page .about-hero,
.faq-page .faq-hero {
  position: relative;
  overflow: hidden;
  border: 0;
  color: white;
  background:
    radial-gradient(540px 280px at 100% 0%, rgba(14, 138, 120, 0.28), transparent 62%),
    #101614;
}
.aurora { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.orb {
  position: absolute;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  filter: blur(42px);
  background: rgba(14, 138, 120, 0.42);
  animation: orb 18s ease-in-out infinite alternate;
}
.orb.a { left: -160px; top: -180px; }
.orb.b {
  width: 300px;
  height: 300px;
  right: -90px;
  bottom: -140px;
  background: rgba(61, 190, 168, 0.32);
  animation-duration: 24s;
  animation-delay: -8s;
}
.mesh {
  position: absolute;
  inset: -10%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 28% 18%, #000 8%, transparent 70%);
  animation: mesh 32s linear infinite;
}
.hero-copy { position: relative; z-index: 1; }
.home-stage .hero-copy { grid-column: 1; grid-row: 1; }
.home-stage .feed { grid-column: 2; grid-row: 1; }
.home-stage .kicker,
.about-page .about-hero .kicker,
.faq-page .faq-hero .kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #8fe0d2;
}
.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3dbea8;
  box-shadow: 0 0 0 0 rgba(61, 190, 168, 0.65);
  animation: ping 2.2s ease-out infinite;
  flex: 0 0 auto;
}
.home-stage .hero h1,
.about-page .about-hero h1,
.faq-page .faq-hero h1 {
  font-size: clamp(32px, 3.6vw, 44px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  color: white;
  max-width: 16em;
}
.home-stage .hero-copy,
.home-stage .feed,
.about-page .hero-copy,
.faq-page .hero-copy { min-width: 0; }
.about-page .about-hero,
.faq-page .faq-hero { text-align: start; padding: 42px 40px 32px; }
.about-page .about-hero h1 { margin: 0; max-width: 16em; }
.about-page .about-hero h1 em { color: #3dbea8; }
.about-page .about-hero .lede,
.faq-page .faq-hero .lede,
.home-stage .lede { color: #c5d4ce; max-width: 46ch; }
.about-page .about-hero .actions { justify-content: flex-start; }
.about-page .about-hero .btn.soft {
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.22);
}
.meter, .about-page .about-metrics {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
  padding-top: 16px;
  text-align: start;
}
.meter::before, .about-page .about-metrics::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 38%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(143, 224, 210, 0.95), transparent);
  animation: scan 4.8s ease-in-out infinite;
}
.meter strong, .about-page .about-metrics strong {
  display: block;
  color: white;
  font-size: 26px;
  font-weight: 650;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
}
.meter span, .about-page .about-metrics span { color: #9eb0aa; font-size: 12px; }
.feed { position: relative; z-index: 1; display: grid; align-items: center; }
.handset {
  position: relative;
  border-radius: 28px;
  padding: 16px 16px 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 28%),
    #161c1a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28);
}
.handset-top {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #8aa099;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.handset-top b { color: white; }
.handset-top span { margin-inline-start: auto; letter-spacing: 0.08em; }
.wave { display: block; width: 100%; height: 28px; margin: 2px 0 8px; }
.wave path {
  fill: none;
  stroke: #3dbea8;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.otp {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #e8fff8;
}
.home-stage .works { overflow: hidden; min-width: 0; }
.marquee {
  overflow: hidden;
  min-width: 0;
  margin-top: 14px;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee-set { display: flex; gap: 8px; padding-inline-end: 8px; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.home-stage .tile { position: relative; overflow: hidden; }
.home-stage .tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 38%, rgba(14, 138, 120, 0.16) 50%, transparent 62%);
  transform: translateX(-130%);
  transition: transform 0.7s ease;
  pointer-events: none;
}
.home-stage .tile:hover::after { transform: translateX(130%); }

.about-page { gap: 16px; }
.about-path, .about-facts { position: relative; }
.about-path { padding: 26px 28px 30px; overflow: hidden; }
.about-path h2 {
  margin: 0 0 22px;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.04em;
}
.about-path ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  position: relative;
}
.about-path ol::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 6%;
  right: 6%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  transform-origin: left center;
  animation: draw 1.3s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.about-path li { animation: arrive 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; animation-delay: calc(var(--i) * 90ms); }
.about-path li b {
  position: relative;
  z-index: 1;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid color-mix(in srgb, var(--green) 45%, var(--line));
  color: var(--green);
  font-size: 12px;
  letter-spacing: 0.06em;
}
.about-path li p { margin: 0; color: var(--muted); line-height: 1.5; font-size: 15px; }
.about-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}
.about-facts article {
  position: relative;
  padding: 28px 28px 26px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.about-facts article:nth-child(odd) { border-inline-end: 1px solid var(--line); }
.about-facts article:nth-child(n + 3) { border-bottom: 0; }
.about-facts article::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -70px;
  bottom: -90px;
  background: radial-gradient(circle, rgba(14, 138, 120, 0.2), transparent 68%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.about-facts article:hover::after { opacity: 1; }
.fact-no {
  display: block;
  margin-bottom: 8px;
  color: var(--green);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.16em;
}
.about-facts h2 { margin: 0 0 8px; font-size: 22px; font-weight: 600; letter-spacing: -0.035em; }
.about-facts p { margin: 0; max-width: 46ch; color: var(--muted); line-height: 1.6; }
.about-contact {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding: 14px 28px 16px;
  border-top: 1px solid var(--line);
}
.about-contact a { color: var(--green-deep); font-weight: 700; font-size: 14px; }
.about-contact a:hover { color: var(--green); }

.faq-page { gap: 16px; }
.faq-board { padding: 6px 18px; }
.faq-item + .faq-item { border-top: 1px solid var(--line); }
.faq-item.open {
  background: linear-gradient(90deg, color-mix(in srgb, var(--green) 10%, transparent), transparent 72%);
  margin-inline: -18px;
  padding-inline: 18px;
  border-radius: 16px;
}
.faq-item button {
  width: 100%;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 18px;
  gap: 12px;
  align-items: center;
  text-align: start;
  border: 0;
  background: transparent;
  padding: 18px 4px;
}
.faq-item button:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; border-radius: 10px; }
.faq-n {
  color: var(--green);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.faq-item b { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
.faq-item button i { position: relative; width: 16px; height: 16px; }
.faq-item button i::before,
.faq-item button i::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 7px;
  height: 1.5px;
  background: currentColor;
}
.faq-item button i::after { transform: rotate(90deg); transition: transform 0.35s ease; }
.faq-item.open button i::after { transform: rotate(0deg); }
.faq-item:not(.open) .faq-a { display: none; }
.faq-item.open .faq-a { animation: unfold 0.45s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.faq-a p {
  margin: 0;
  padding: 0 36px 18px 44px;
  max-width: 68ch;
  color: var(--muted);
  line-height: 1.6;
}

@keyframes orb {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(36px, 24px, 0) scale(1.08); }
}
@keyframes mesh { to { background-position: 56px 56px, 56px 56px; } }
@keyframes ping {
  70% { box-shadow: 0 0 0 8px rgba(61, 190, 168, 0); }
  100% { box-shadow: 0 0 0 0 rgba(61, 190, 168, 0); }
}
@keyframes scan {
  0% { transform: translateX(-20%); opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { transform: translateX(240%); opacity: 0; }
}
@keyframes floaty {
  from { transform: translateY(0); }
  to { transform: translateY(-8px); }
}
@keyframes rim { to { --rim: 360deg; } }
@keyframes dash { to { stroke-dashoffset: -64; } }
@keyframes arrive {
  from { opacity: 0; transform: translateY(14px); filter: blur(6px); }
  to { opacity: 1; transform: none; filter: none; }
}
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes unfold {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  .home-stage .hero-copy,
  .home-stage .feed { grid-column: auto; grid-row: auto; }
  .about-page .about-hero, .faq-page .faq-hero { padding: 32px 22px 26px; }
  .meter, .about-page .about-metrics, .about-path ol, .about-facts { grid-template-columns: 1fr 1fr; }
  .about-path ol::before { display: none; }
  .about-facts article:nth-child(odd) { border-inline-end: 1px solid var(--line); }
  .about-facts article { border-bottom: 1px solid var(--line); }
  .about-facts article:nth-last-child(2) { border-bottom: 0; }
  .faq-a p { padding-right: 8px; }
}
@media (max-width: 640px) {
  .meter, .about-page .about-metrics, .about-path ol, .about-facts { grid-template-columns: 1fr; }
  .about-facts article, .about-facts article:nth-child(odd) { border-inline-end: 0; border-bottom: 1px solid var(--line); }
}
@media (prefers-reduced-motion: reduce) {
  .orb, .mesh, .pulse, .meter::before, .about-page .about-metrics::before,
  .handset, .handset::before, .wave path, .handset .sms, .marquee-track,
  .about-path ol::before, .about-path li, .faq-item.open .faq-a,
  .code.is-live .scan, .play, .play.on .spin, .pulse-dot, .run-out { animation: none; }
  .marquee-track { flex-wrap: wrap; width: auto; }
}

@media (max-width: 980px) {
  html { scroll-padding-top: 76px; }
  body:has(.topbar.is-open) { overflow: hidden; }
  .topbar { padding-top: env(safe-area-inset-top); }
  .topbar .wrap { min-height: 58px; gap: 8px; }
  .topbar .logo { flex: 1 1 auto; min-width: 0; }
  .topbar .logo span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .topbar .tools { gap: 6px; flex: 0 0 auto; }
  .topbar .icon-btn,
  .topbar .lang-btn,
  .topbar .menu-btn { width: 40px; height: 40px; }
  .topbar .lang-btn { width: auto; min-width: 44px; padding: 0 10px; }
  .topbar .menu-btn {
    display: grid;
    place-items: center;
    padding: 0;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--card);
    color: var(--ink);
  }
  .topbar .menu-btn[aria-expanded="true"] { border-color: var(--green); color: var(--green-deep); background: var(--soft); }
  .topbar .desk-tools { display: none; }
  .topbar .nav.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: calc(100% + 8px);
    inset-inline: 0;
    z-index: 3;
    margin: 0;
    padding: 8px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(16, 24, 20, 0.16);
    max-height: calc(100dvh - 84px);
    overflow: auto;
  }
  .topbar .nav.open > a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 12px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 650;
    color: var(--ink);
  }
  .topbar .nav.open > a.on { background: var(--soft); color: var(--green-deep); }
  .topbar .nav.open .nav-extra {
    display: grid;
    gap: 8px;
    width: 100%;
    margin-top: 6px;
    padding-top: 10px;
    border-top: 1px solid var(--line);
  }
  .topbar .nav.open .nav-extra .ghost,
  .topbar .nav.open .nav-extra .btn {
    display: flex;
    width: 100%;
    min-height: 48px;
    align-items: center;
    justify-content: center;
  }

  .wrap.shop { width: min(1220px, calc(100% - 24px)); }
  .shop { grid-template-columns: minmax(0, 1fr); min-width: 0; }
  .shop:not(.is-home) > .side { display: none; }
  .shop.is-home { display: flex; flex-direction: column; gap: 14px; }
  .shop.is-home > .home-stage { display: contents; }
  .shop.is-home .hero { order: 1; }
  .shop.is-home > .side { order: 2; position: static; }
  .shop.is-home .works { order: 3; }
  .shop.is-home .catalog { order: 4; }
  .shop.is-home > .side,
  .shop.is-home .hero,
  .shop.is-home .works,
  .shop.is-home .catalog { width: 100%; min-width: 0; }

  .home-stage,
  .home-stage .works,
  .home-stage .marquee,
  .home-stage .catalog,
  .ribbon,
  .site-foot { min-width: 0; max-width: 100%; }
  .home-stage .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    padding: 22px 18px 20px;
  }
  .home-stage .hero .hero-copy,
  .home-stage .hero .feed { grid-column: 1; grid-row: auto; min-width: 0; }
  .home-stage .hero h1,
  .about-page .about-hero h1,
  .faq-page .faq-hero h1 {
    font-size: clamp(30px, 8vw, 40px);
    overflow-wrap: break-word;
  }
  .home-stage .meter,
  .about-page .about-hero .about-metrics { grid-template-columns: 1fr 1fr; gap: 12px 10px; }
  .home-stage .actions,
  .about-page .actions { flex-wrap: wrap; }
  .home-stage .actions .btn,
  .about-page .actions .btn,
  .faq-page .faq-item button { min-height: 44px; }
  .handset { max-width: 100%; }
  .section-head, .catalog > header { flex-wrap: wrap; align-items: flex-start; row-gap: 6px; }
  .catalog .tiles { grid-template-columns: 1fr 1fr; }
  .catalog .tile b,
  .catalog .tile span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .buy-box .modes button { min-width: 0; min-height: 40px; padding: 8px 4px; line-height: 1.15; }
  input, textarea, select { font-size: 16px; }

  .price-page .price-top { flex-direction: column; align-items: stretch; }
  .price-page .price-top h1 { font-size: clamp(28px, 8vw, 34px); }
  .price-page .price-top .search { width: 100%; }
  .price-page .price-board .price-head { display: none; }
  .price-page .price-board .price-row {
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-areas: "service cost action" "country qty action";
    gap: 4px 10px;
    align-items: center;
    padding: 12px 8px;
  }
  .price-page .price-board .price-row > .who:nth-child(1) { grid-area: service; }
  .price-page .price-board .price-row > .who:nth-child(2) { grid-area: country; }
  .price-page .price-board .price-row > .qty { grid-area: qty; justify-self: end; font-size: 12px; }
  .price-page .price-board .price-row > .cost { grid-area: cost; justify-self: end; font-size: 16px; }
  .price-page .price-board .price-row > .btn {
    grid-area: action;
    max-width: 112px;
    min-height: 44px;
    white-space: normal;
    line-height: 1.15;
    text-align: center;
  }

  .api-page .api-top { flex-direction: column; align-items: stretch; }
  .api-page .api-top h1 { font-size: 32px; }
  .api-page .api-top .btn { justify-content: center; min-height: 44px; }
  .api-page .keyline { overflow-wrap: anywhere; }
  .api-page .api-grid { grid-template-columns: minmax(0, 1fr); }
  .api-page .method-nav { display: flex; flex-wrap: wrap; gap: 6px; align-content: flex-start; }
  .api-page .method-nav .search { flex: 1 0 100%; margin: 0 0 4px; }
  .api-page .method-nav p { flex: 1 0 100%; margin: 8px 2px 0; }
  .api-page .method-nav button {
    width: auto;
    flex: 0 0 auto;
    border: 1px solid var(--line);
    border-radius: 999px;
    min-height: 40px;
    padding: 8px 12px;
  }
  .api-page .code .tabs { flex-wrap: nowrap; overflow-x: auto; }
  .api-page .code pre { font-size: 12px; }
  .api-page .id-board { max-height: none; overflow: visible; }

  .desk .desk-hello { flex-wrap: wrap; align-items: flex-start; }
  .stage-page.desk > .desk-hello h1 { font-size: clamp(26px, 7vw, 32px); overflow-wrap: anywhere; }
  .desk .ledger,
  .desk .desk-split,
  .desk .act { grid-template-columns: minmax(0, 1fr); }
  .desk .ledger > div + div { border-inline-start: 0; border-top: 1px solid var(--line); }
  .desk .ledger-main strong { font-size: clamp(34px, 11vw, 46px); }
  .desk .act-phone { font-size: clamp(22px, 7vw, 32px); overflow-wrap: anywhere; }
  .desk .act-actions { flex-direction: row; align-items: center; justify-content: flex-start; }
  .desk .hist {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 4px 8px;
  }
  .desk .hist .pill { grid-column: 1; grid-row: 1; align-self: start; margin-top: 2px; }
  .desk .hist .hist-who { grid-column: 2; grid-row: 1; min-width: 0; }
  .desk .hist .hist-who .who { max-width: 100%; flex-wrap: wrap; row-gap: 2px; }
  .desk .hist .hist-price { grid-column: 3; grid-row: 1; align-self: start; text-align: end; white-space: nowrap; }
  .desk .hist .hist-phone { grid-column: 2; grid-row: 2; }
  .desk .hist .hist-when { grid-column: 3; grid-row: 2; justify-self: end; }
  .desk .wallet .amount-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .about-page .about-path,
  .about-page .about-facts article { padding: 20px 16px; }
  .about-page .about-contact { padding: 12px 16px 14px; }
  .faq-page .faq-hero,
  .about-page .about-hero { padding: 26px 18px 22px; }
  .stage.stage-page > h1 { font-size: 32px; }

  .foot-top, .foot-base { flex-direction: column; align-items: flex-start; }
  .foot-side { justify-items: start; }
  .foot-nav, .foot-pay { justify-content: flex-start; }
  .foot-ghost { font-size: 84px; }
  .site-foot { padding-bottom: env(safe-area-inset-bottom); }
  .lang-pop { align-items: end; padding: 12px 12px 0; }
  .lang-pop .lang-sheet {
    width: 100%;
    max-height: min(78dvh, 640px);
    overflow: auto;
    border-radius: 22px 22px 0 0;
    padding-bottom: calc(16px + env(safe-area-inset-bottom));
  }
  .lang-pop .lang-grid { grid-template-columns: 1fr 1fr; }
  .lang-pop .lang-grid button { min-height: 48px; }
  .modal { align-items: end; padding: 0; }
  .modal .sheet {
    width: 100%;
    max-height: min(88dvh, 720px);
    border-radius: 22px 22px 0 0;
    padding-bottom: calc(18px + env(safe-area-inset-bottom));
  }
  .toast {
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
  }
  .auth { width: 100%; margin-top: 8px; padding: 22px 16px; }
}

@media (min-width: 700px) and (max-width: 980px) {
  .foot-top { flex-direction: row; align-items: flex-end; }
  .home-stage .hero { grid-template-columns: minmax(0, 1.1fr) minmax(220px, 0.9fr); }
  .home-stage .hero .hero-copy { grid-column: 1; grid-row: 1; }
  .home-stage .hero .feed { grid-column: 2; grid-row: 1; }
}

@media (hover: none) {
  .tile:hover, .brand:hover { transform: none; }
}

.room-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.room-nav button {
  display: grid;
  gap: 4px;
  text-align: left;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--shadow);
}
.room-nav span { color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.room-nav b { font-size: 26px; letter-spacing: -0.045em; font-variant-numeric: tabular-nums; }
.room-nav small { color: var(--muted); font-size: 13px; line-height: 1.35; }
.room-nav button.on { background: #111418; border-color: #111418; color: white; }
.room-nav button.on span, .room-nav button.on small { color: #c5d4ce; }
.room { padding: 18px 18px 8px; min-height: 280px; }
.room .wallet { padding: 0 0 12px; }
.loyal-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
  color: white;
  text-decoration: none;
  background: #111418;
}
.loyal-band .kicker { margin: 0 0 6px; color: #9dccc2; }
.loyal-band strong { display: block; font-size: 28px; letter-spacing: -0.045em; line-height: 1.05; }
.loyal-meter p { margin: 8px 0 0; color: #c5d4ce; font-size: 13px; }
.loyal-meter .bar { height: 6px; border-radius: 99px; background: rgba(255, 255, 255, 0.12); overflow: hidden; }
.loyal-meter .bar i { display: block; height: 100%; background: #0e8a78; }
.loyal-page { gap: 18px; }
.loyal-hero {
  text-align: center;
  padding: 48px 36px 40px;
  background:
    radial-gradient(520px 220px at 50% 0%, rgba(14, 138, 120, 0.16), transparent 70%),
    linear-gradient(180deg, color-mix(in srgb, var(--green) 7%, var(--card)), var(--card) 78%);
}
.loyal-hero h1 { margin: 0 auto; max-width: 640px; font-size: 46px; font-weight: 600; letter-spacing: -0.05em; line-height: 1.02; }
.loyal-hero h1 em { font-style: normal; color: var(--green); }
.loyal-hero .lede { margin: 14px auto 0; max-width: 540px; color: var(--muted); font-size: 16px; line-height: 1.5; }
.loyal-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.loyal-steps article { padding: 18px; }
.loyal-steps b { color: var(--green); font-size: 22px; letter-spacing: -0.04em; }
.loyal-steps h2 { margin: 8px 0; font-size: 18px; }
.loyal-steps p { margin: 0; color: var(--muted); line-height: 1.45; }
.loyal-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 4px 2px 10px; }
.loyal-head h2 { margin: 0; font-size: 22px; letter-spacing: -0.03em; }
.loyal-head span { color: var(--green-deep); font-weight: 700; }
.loyal-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.rank { display: grid; align-content: start; gap: 8px; min-height: 196px; padding: 16px; }
.rank .kicker { margin: 0; }
.rank h2 { margin: 0; font-size: 20px; letter-spacing: -0.03em; }
.rank .pct { font-size: 32px; letter-spacing: -0.05em; color: var(--green-deep); line-height: 1; }
.rank p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.4; }
.rank.on { background: #111418; color: white; border-color: #111418; }
.rank.on .kicker, .rank.on p { color: #c5d4ce; }
.rank.on .pct { color: #9dccc2; }
html[data-theme="dark"] .rank.on, html[data-theme="dark"] .room-nav button.on, html[data-theme="dark"] .loyal-band { border: 1px solid rgba(14, 138, 120, 0.45); }
@media (max-width: 980px) {
  .room-nav, .loyal-band, .loyal-steps { grid-template-columns: 1fr; }
  .loyal-hero { padding: 36px 22px 28px; }
  .loyal-hero h1 { font-size: 34px; }
  .loyal-grid { display: flex; overflow: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; }
  .rank { min-width: 168px; scroll-snap-align: start; }
}

@property --lc-spin { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.toast { bottom: 104px; }

#chat-root { position: relative; z-index: 70; }
.lc-launch, .lc-panel { position: fixed; inset-inline-end: 22px; bottom: 22px; }
.lc-launch {
  width: 69px; height: 69px; padding: 0; border: 0; border-radius: 50%;
  background: transparent; display: grid; place-items: center;
}
.lc-ring {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from var(--lc-spin, 0deg), #d9fff6, #0e8a78 35%, #083f38 70%, #d9fff6);
  box-shadow: 0 10px 22px rgba(14, 90, 78, 0.32);
  animation: lc-spin 5s linear infinite;
}
.lc-ring::after {
  content: ""; position: absolute; inset: 3px; border-radius: 50%; background: #10211c;
}
.lc-core { position: relative; color: #e9fffa; display: grid; place-items: center; }
.lc-core svg { width: 42px; height: 42px; display: block; }
.lc-badge {
  position: absolute; top: 2px; inset-inline-end: 2px; width: 15px; height: 15px; border-radius: 50%;
  background: #ffb020; box-shadow: 0 0 0 4px rgba(255, 176, 32, 0.28);
}
.lc-note {
  position: fixed; z-index: 71; inset-inline-end: 99px; bottom: 22px;
  width: min(260px, calc(100vw - 120px));
  display: grid; gap: 2px; text-align: start;
  padding: 10px 12px; border: 0; border-radius: 16px;
  background: #10211c; color: white;
  box-shadow: 0 12px 28px rgba(16, 24, 20, 0.22);
}
.lc-note b { font-size: 13px; }
.lc-note span { color: #d7ebe6; font-size: 13px; font-weight: 500; }
.lc-panel {
  width: min(392px, calc(100vw - 24px));
  height: min(640px, calc(100dvh - 24px));
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: 28px;
  background: color-mix(in srgb, var(--card) 88%, transparent);
  border: 1px solid color-mix(in srgb, white 55%, var(--line));
  box-shadow: 0 30px 80px rgba(16, 24, 20, 0.2);
  backdrop-filter: blur(18px);
  animation: lc-in 280ms cubic-bezier(.2, .8, .2, 1);
}
.lc-head {
  position: relative; display: flex; align-items: center; gap: 12px;
  padding: 16px 16px 14px; overflow: hidden; color: white;
  background: #10211c;
}
.lc-head::before {
  content: ""; position: absolute; inset: -40% -10% auto; height: 160px;
  background:
    radial-gradient(circle at 18% 40%, rgba(120, 230, 206, 0.7), transparent 46%),
    radial-gradient(circle at 88% 10%, rgba(14, 138, 120, 0.85), transparent 42%);
  animation: lc-drift 7s ease-in-out infinite alternate;
}
.lc-panel.is-human .lc-head { background: #2a2116; }
.lc-panel.is-human .lc-head::before {
  background:
    radial-gradient(circle at 18% 40%, rgba(255, 196, 120, 0.75), transparent 46%),
    radial-gradient(circle at 80% 0%, rgba(180, 96, 32, 0.7), transparent 42%);
}
.lc-mark, .lc-head > div, .lc-x { position: relative; z-index: 1; }
.lc-mark {
  width: 42px; height: 42px; border-radius: 14px; flex: 0 0 auto;
  display: grid; place-items: center; background: #fff; color: #1a1d21;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.16);
}
.lc-mark svg { width: 16px; height: 22px; }
.lc-mark.lc-person { font-size: 28px; line-height: 1; background: #fff; }
.lc-head > div { min-width: 0; }
.lc-head strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 16px; letter-spacing: -0.03em; }
.lc-mode { display: inline-flex; align-items: center; gap: 6px; margin-top: 2px; color: #d5ebe6; font-size: 12px; }
.lc-mode i { width: 7px; height: 7px; border-radius: 50%; background: #7dffe8; box-shadow: 0 0 0 4px rgba(125, 255, 232, 0.18); }
.lc-panel.is-human .lc-mode i { background: #ffc56a; box-shadow: 0 0 0 4px rgba(255, 197, 106, 0.2); }
.lc-x {
  margin-inline-start: auto; width: 34px; height: 34px; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, 0.1); color: white; font-size: 22px; line-height: 1;
}
.lc-log { flex: 1; overflow: auto; display: flex; flex-direction: column; gap: 8px; padding: 14px 14px 8px; }
.lc-row { display: flex; align-items: flex-end; gap: 8px; max-width: 92%; }
.lc-row.bot, .lc-row.agent { align-self: flex-start; }
.lc-row.user { align-self: flex-end; max-width: 86%; }
.lc-row:last-child { animation: lc-msg 240ms ease; }
.lc-who {
  width: 28px; height: 28px; flex: none; border-radius: 50%;
  display: grid; place-items: center; font-size: 15px; line-height: 1;
  background: #fff; box-shadow: inset 0 0 0 1px var(--line);
}
.lc-who svg { width: 20px; height: 20px; display: block; }
.lc-row.bot .lc-who { color: #111; background: #fff; }
.lc-msg {
  margin: 0; padding: 10px 12px; border-radius: 18px; min-width: 0;
  font-size: 14.5px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere;
}
.lc-msg.bot, .lc-msg.agent { border-bottom-left-radius: 6px; background: color-mix(in srgb, var(--green) 12%, var(--card)); }
.lc-msg.agent { background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.lc-msg.user {
  border-bottom-right-radius: 6px; color: white;
  background: linear-gradient(180deg, #149684, #0b6e60);
}
.lc-typing .lc-msg { display: flex; gap: 4px; align-items: center; min-height: 22px; }
.lc-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: lc-dot 1s infinite; }
.lc-typing i:nth-of-type(2) { animation-delay: .15s; }
.lc-typing i:nth-of-type(3) { animation-delay: .3s; }
.lc-chips, .lc-human { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 14px 8px; }
.lc-chips button, .lc-human button {
  border: 1px solid var(--line); background: color-mix(in srgb, var(--card) 80%, transparent);
  border-radius: 999px; padding: 7px 12px; font-size: 13px; font-weight: 600;
}
.lc-chips button:hover, .lc-human button:hover { border-color: var(--green); color: var(--green-deep); }
.lc-human { align-items: center; justify-content: space-between; color: var(--warn); font-size: 13px; }
.lc-error { margin: 0 14px 6px; color: var(--danger); font-size: 13px; }
.lc-form { display: flex; gap: 8px; padding: 8px 12px 12px; }
.lc-input {
  flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 999px;
  background: var(--card); padding: 12px 14px; outline: none;
}
.lc-input:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(14, 138, 120, 0.15); }
.lc-form button {
  width: 44px; height: 44px; border: 0; border-radius: 50%; background: #10211c; color: white;
  display: grid; place-items: center;
}
.lc-form button svg { width: 18px; height: 18px; }
@keyframes lc-spin { to { --lc-spin: 360deg; } }
@keyframes lc-drift { to { transform: translate3d(8%, 6%, 0) scale(1.08); } }
@keyframes lc-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }
@keyframes lc-msg { from { opacity: 0; transform: translateY(6px); } }
@keyframes lc-dot { 50% { opacity: .35; transform: translateY(-2px); } }
@media (prefers-reduced-motion: reduce) {
  .lc-ring, .lc-head::before, .lc-row, .lc-msg, .lc-panel, .lc-typing i { animation: none; }
}
