:root {
  --bg: #f4f6f3;
  --bg2: #ffffff;
  --panel: #ffffff;
  --line: rgba(16, 20, 18, 0.08);
  --text: #141816;
  --muted: #5c6b64;
  --gold: #ef6a12;
  --teal: #12382c;
  --danger: #c2410c;
  --ok: #146b45;
  --font: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --display: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(.22, .8, .28, 1);
  --radius: 18px;
  --shadow: 0 14px 36px rgba(16, 20, 18, .06);
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
#app {
  width: min(1920px, 100%);
  margin-inline: auto;
  min-height: 100vh;
  container-type: inline-size;
  container-name: app;
}
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
}
a { color: var(--teal); text-decoration: none; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.error:empty, .ok:empty, .error[hidden], .ok[hidden] { display: none !important; }
.error:not(:empty), .ok:not(:empty), p.hint, .pay-hint {
  display: flex; align-items: flex-start; gap: .65rem;
  margin: .15rem 0 .85rem; padding: .75rem .9rem;
  border-radius: 14px; font-size: .9rem; line-height: 1.45;
}
.error:not(:empty)::before, .ok:not(:empty)::before, p.hint::before, .pay-hint::before {
  content: ""; width: 18px; height: 18px; flex: none; margin-top: .08rem;
  background: currentColor;
  -webkit-mask: var(--mark) center / contain no-repeat;
  mask: var(--mark) center / contain no-repeat;
}
.error:not(:empty) {
  --mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2a10 10 0 1 0 10 10A10 10 0 0 0 12 2zm1 14h-2v-2h2zm0-4h-2V7h2z'/%3E%3C/svg%3E");
  background: #fff4ee; color: #9a3412; box-shadow: inset 3px 0 0 #ef6a12;
}
.ok:not(:empty) {
  --mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M6 12.5 10 16.5 18 8'/%3E%3Ccircle cx='12' cy='12' r='9' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E");
  background: #eef6f1; color: #146b45; box-shadow: inset 3px 0 0 #146b45;
}
p.hint, .pay-hint {
  --mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2a10 10 0 1 0 10 10A10 10 0 0 0 12 2zm.2 15h-1.6v-1.6h1.6zm1.5-6.4-.7.7A2.2 2.2 0 0 0 12.4 13h-1.6v-.6a2.6 2.6 0 0 1 .8-1.9l1-1a1.5 1.5 0 1 0-2.5-1.1l-1.5-.8a3 3 0 1 1 4.1 2.9z'/%3E%3C/svg%3E");
  margin: 0 0 1rem; background: #f3f7f5; color: #24332c; box-shadow: inset 3px 0 0 #12382c;
}
.pay-min:not(:empty) {
  display: inline-flex; align-items: center; width: fit-content;
  margin: 0; padding: .22rem .6rem; border-radius: 999px;
  background: #eef3f1; color: #24332c;
  font-size: .78rem; font-weight: 650; letter-spacing: .01em; line-height: 1.3;
}
.toast-stack {
  position: fixed; z-index: 80; top: 1rem; right: 1rem;
  width: min(22.5rem, calc(100vw - 2rem));
  display: flex; flex-direction: column; gap: .55rem; pointer-events: none;
}
.toast {
  pointer-events: auto;
  display: grid; grid-template-columns: 1.75rem minmax(0, 1fr) auto; gap: .7rem; align-items: start;
  padding: .85rem .8rem .85rem .9rem; border-radius: 16px; background: #fff; color: #141816;
  box-shadow: 0 16px 40px rgba(16,20,18,.14), inset 3px 0 0 #146b45;
  opacity: 0; transform: translateY(-6px);
  transition: opacity .18s cubic-bezier(.2, 0, 0, 1), transform .18s cubic-bezier(.2, 0, 0, 1);
}
.toast.is-in { opacity: 1; transform: none; }
.toast.is-out { opacity: 0; transform: translateY(-6px); }
.toast.is-error { box-shadow: 0 16px 40px rgba(16,20,18,.14), inset 3px 0 0 #ef6a12; }
.toast.is-info { box-shadow: 0 16px 40px rgba(16,20,18,.14), inset 3px 0 0 #12382c; }
.toast p { margin: .15rem 0 0; font-size: .92rem; line-height: 1.4; }
.toast-ico {
  width: 1.75rem; height: 1.75rem; border-radius: 50%;
  display: grid; place-items: center; background: #eef6f1; color: #146b45;
}
.toast.is-error .toast-ico { background: #fff1e8; color: #c2410c; }
.toast.is-info .toast-ico { background: #eef3f1; color: #12382c; }
.toast-ico .ico, .toast-x .ico { width: 16px; height: 16px; }
.toast-x {
  width: 28px; height: 28px; margin-top: -.1rem; padding: 0; border: 0; border-radius: 8px;
  background: transparent; color: #6a7872; cursor: pointer; display: grid; place-items: center;
}
.toast-x:hover { background: #f4f6f4; color: #141816; }
.cab-notices { display: grid; gap: .7rem; margin: 0 0 1.15rem; }
.cab-notices[hidden] { display: none !important; }
.cab-notice {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .75rem .8rem; align-items: start;
  padding: .95rem 1rem; border-radius: 18px; background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow), inset 3px 0 0 #ef6a12;
}
.cab-notice-ico {
  width: 34px; height: 34px; border-radius: 12px; display: grid; place-items: center;
  background: #fff4e8; color: #ef6a12;
}
.cab-notice-ico .ico { width: 18px; height: 18px; }
.cab-notice h3 { margin: .05rem 0 0; font-size: 1rem; font-weight: 650; letter-spacing: -0.02em; }
.cab-notice p { margin: .25rem 0 0; color: #5c6b64; font-size: .9rem; line-height: 1.45; overflow-wrap: break-word; }
.cab-notice-x {
  width: 32px; height: 32px; padding: 0; border: 0; border-radius: 10px;
  background: #f4f6f4; color: #3d4f47; cursor: pointer; display: grid; place-items: center;
}
.cab-notice-x:hover { color: #141816; }
.cab-notice-x .ico { width: 16px; height: 16px; }
@media (max-width: 980px) {
  .toast-stack { top: 9.75rem; right: .75rem; left: .75rem; width: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .toast { transition: none; }
}
.brand { font-family: var(--display); font-weight: 600; color: var(--teal); letter-spacing: -0.03em; }
.logo { display: inline-flex; align-items: center; gap: .5rem; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 10px; object-fit: cover;
  display: block; flex: 0 0 auto;
}
.site-nav .logo-mark { width: 38px; height: 38px; border-radius: 12px; }
.hero-kicker .logo-mark { width: 16px; height: 16px; border-radius: 5px; }
.site-footer .logo { font-size: 1.2rem; color: #fff; }
.auth-box .logo-mark { width: 42px; height: 42px; border-radius: 13px; }
code { background: #f4f6f4; color: var(--teal); padding: .12rem .4rem; border-radius: 8px; }

.site-nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: .7rem .8rem;
  padding: .85rem clamp(1.15rem, 3.2cqi, 4.25rem);
  backdrop-filter: blur(16px);
  background: rgba(255,255,255,.88);
  border-bottom: 1px solid var(--line);
}
.site-nav .brand { color: var(--teal); font-size: 1.55rem; flex: 0 0 auto; order: 1; }
.site-nav .lang-switch { order: 3; flex: 0 0 auto; }
.site-nav .nav-cta { order: 4; }
.site-nav .links {
  display: flex; flex-wrap: wrap; gap: .25rem; align-items: center; justify-content: center; flex: 1; order: 2;
}
.site-nav .links button {
  display: inline-flex; align-items: center; gap: .4rem;
  background: transparent; border: 0; color: var(--muted); font: inherit; cursor: pointer;
  padding: .48rem .72rem; border-radius: 999px;
  transition: color .2s var(--ease), background .2s var(--ease), transform .2s var(--ease);
}
.site-nav .links button:hover, .site-nav .links button.is-on { color: var(--text); background: rgba(16,20,18,.05); }
.nav-cta { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; flex: 0 0 auto; }
.nav-burger, .nav-backdrop, .menu-launch { display: none; }
.nav-panel, .nav-panel-foot { display: contents; }
body.nav-lock { overflow: hidden; }

.lang-switch {
  position: relative;
  display: inline-flex; gap: .15rem; padding: .15rem;
  border: 1px solid rgba(16,20,18,.1); border-radius: 999px; background: #fff;
  isolation: isolate;
}
.lang-glide {
  position: absolute; z-index: 0;
  left: .15rem; top: .15rem; bottom: .15rem;
  width: calc((100% - .6rem) / 3);
  border-radius: 999px;
  background: #141816;
  transition: transform .18s cubic-bezier(.2, 0, 0, 1);
}
.lang-switch:has([data-lang="es"].on) .lang-glide { transform: translateX(calc(100% + .15rem)); }
.lang-switch:has([data-lang="ru"].on) .lang-glide { transform: translateX(calc(200% + .3rem)); }
.lang-btn {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; justify-content: center; gap: .38rem;
  border: 0; border-radius: 999px; padding: .28rem .58rem .28rem .3rem; font: inherit; font-size: .78rem;
  letter-spacing: .06em; cursor: pointer; background: transparent; color: var(--muted);
  transition: color .16s linear;
}
.lang-btn:hover { color: #1a211d; }
.lang-btn.on:hover { color: #fff; }
.lang-flag {
  position: relative;
  width: 22px; height: 22px; border-radius: 50%; overflow: hidden; flex: 0 0 auto;
  box-shadow: inset 0 0 0 1px rgba(16,20,18,.18);
}
.lang-flag svg { display: block; width: 100%; height: 100%; }
.lang-btn.on { background: transparent; color: #fff; font-weight: 650; }
.lang-switch.compact .lang-btn { padding: .22rem .46rem .22rem .24rem; font-size: .72rem; }
.lang-switch.compact .lang-flag { width: 18px; height: 18px; }
@media (prefers-reduced-motion: reduce) {
  .lang-glide, .lang-btn { transition: none; }
}
.lang-switch.admin {
  border-color: rgba(16,20,18,.1); background: #fff;
}
.lang-switch.admin .lang-btn { color: #5c6b64; }
.lang-switch.admin .lang-btn.on { color: #fff; }
.lang-switch.light {
  border-color: rgba(18,25,22,.1); background: #fff;
}
.lang-switch.light .lang-btn { color: #5f7268; }
.lang-switch.light .lang-btn.on { color: #1a1408; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  border: 0; border-radius: 999px; padding: .72rem 1.15rem; font: inherit; cursor: pointer;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), background .22s var(--ease), border-color .22s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn.primary:hover { box-shadow: 0 14px 30px rgba(239,106,18,.32); }
.btn.primary { background: #ef6a12; color: #fff; font-weight: 600; box-shadow: 0 10px 24px rgba(239,106,18,.22); }
.btn.secondary { background: #12382c; color: #fff; border: 1px solid transparent; }
.btn.ghost { background: #fff; color: #141816; border: 1px solid rgba(16,20,18,.16); }
.btn.ok { background: var(--teal); color: #fff; }
.btn.danger { background: var(--danger); color: #fff; }
.btn.sm { padding: .4rem .75rem; font-size: .85rem; }

.hero {
  min-height: min(78vh, 760px);
  display: grid; place-items: center;
  padding: 4.5rem 5vw 3.2rem;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; width: 520px; height: 520px; right: 8%; top: 12%;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(200,164,90,.45), rgba(47,155,120,.2) 45%, transparent 70%);
  filter: blur(2px); animation: float 9s ease-in-out infinite;
}
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-16px)} }
.hero-inner { position: relative; max-width: 860px; text-align: left; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .28rem .7rem; border-radius: 999px;
  border: 1px solid var(--line); color: var(--gold);
  letter-spacing: .08em; text-transform: uppercase; font-size: .72rem;
  background: rgba(200,164,90,.08);
}
.hero h1 {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(2.4rem, 5.4vw, 4.1rem); line-height: 1.05; margin: .85rem 0 1rem;
  letter-spacing: -0.035em;
}
.hero p { color: var(--muted); font-size: 1.1rem; max-width: 560px; line-height: 1.55; }
.hero-actions { display: flex; gap: .7rem; margin-top: 1.5rem; flex-wrap: wrap; }

.section { padding: 3.5rem 5vw; }
.section h2 { font-family: var(--display); font-weight: 600; font-size: clamp(1.55rem, 2.6vw, 2.15rem); letter-spacing: -0.03em; margin: 0 0 .5rem; }
.section > .lead { color: var(--muted); max-width: 640px; margin-bottom: 1.5rem; }

.grid { display: grid; gap: 1rem; }
.grid.features { grid-template-columns: repeat(4, minmax(0,1fr)); }
.grid.stats { grid-template-columns: repeat(4, minmax(0,1fr)); }
.grid.plans { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.grid.two { grid-template-columns: 1.1fr .9fr; }
.grid.three { grid-template-columns: repeat(3, 1fr); }

.card, .panel, .stat, .plan {
  background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1.15rem 1.2rem;
  box-shadow: var(--shadow);
}
.card h3, .plan h3, .panel h3 { margin: 0 0 .45rem; font-family: var(--display); font-weight: 600; font-size: 1.15rem; letter-spacing: -0.02em; }
.stat .label { color: var(--muted); font-size: .85rem; }
.stat .value { font-size: 1.45rem; font-weight: 600; margin-top: .3rem; color: #12382c; font-variant-numeric: tabular-nums lining-nums; letter-spacing: -0.03em; }

.yield {
  display: inline-block; margin: .35rem 0 .7rem; padding: .15rem .55rem;
  border-radius: 999px; border: 1px solid var(--line); font-size: .75rem; text-transform: uppercase; letter-spacing: .05em;
}
.yield.low { color: #146b45; background: #eef6f1; border: 0; }
.yield.medium { color: #b45309; background: #fff4e8; border: 0; }
.yield.high { color: #c2410c; background: #fff1e8; border: 0; }

table { width: 100%; border-collapse: collapse; font-size: .92rem; }
td, th { overflow-wrap: anywhere; }
th, td { text-align: left; padding: .65rem .4rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 500; }
.badge { display: inline-block; padding: .12rem .45rem; border-radius: 999px; border: 1px solid var(--line); font-size: .72rem; }
.badge.active,.badge.confirmed,.badge.paid,.badge.approved,.badge.answered { color: var(--ok); }
.badge.pending,.badge.confirming,.badge.open { color: var(--gold); }
.badge.rejected,.badge.expired,.badge.failed,.badge.closed { color: var(--danger); }

.faq details { border: 1px solid var(--line); border-radius: 16px; padding: .85rem 1rem; margin-bottom: .6rem; background: #fff; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { color: var(--muted); margin: .6rem 0 0; }

.auth-box, .calc {
  max-width: 460px; margin: 4rem auto; padding: 1.5rem;
  background: #fff; border: 1px solid var(--line); border-radius: 22px;
  box-shadow: var(--shadow);
}
.auth-box.is-wide { max-width: 680px; }
.auth-web3 { margin-top: .35rem; }
.auth-or {
  display: flex; align-items: center; gap: .7rem;
  margin: .15rem 0 .8rem; color: #6a7872; font-size: .8rem;
}
.auth-or::before, .auth-or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.auth-web3 .btn { width: 100%; }
.auth-web3 .muted { margin: .55rem 0 0; font-size: .84rem; }
#web3-slot[hidden] { display: none !important; }
.tg-link { display: inline-flex; align-items: center; gap: .4rem; margin-top: .75rem; font-weight: 600; }
.auth-box .tg-link, .sidebar .tg-link { width: 100%; justify-content: center; }
.site-footer .tg-link { margin-top: .35rem; }
label { display: flex; flex-direction: column; gap: .35rem; color: var(--muted); font-size: .9rem; margin-bottom: .75rem; }
input, select, textarea {
  background: #f4f6f4; border: 1px solid rgba(16,20,18,.12); border-radius: 12px;
  color: var(--text); padding: .72rem .85rem; font: inherit;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: rgba(239,106,18,.55);
  box-shadow: 0 0 0 4px rgba(239,106,18,.12);
}
.form-inline { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }

/* App shell */
.app-shell { display: grid; grid-template-columns: 300px 1fr; min-height: 100vh; background: #f4f6f3; }
.sidebar {
  border-right: 1px solid var(--line); background: #fff;
  padding: 1.2rem 1rem; display: flex; flex-direction: column; gap: .8rem;
  position: sticky; top: 0; height: 100vh;
}
.sidebar .side-nav { overflow: auto; max-height: calc(100vh - 220px); }
.sidebar .nav-item {
  display: flex; align-items: center; gap: .6rem; width: 100%; text-align: left; background: transparent; border: 0;
  color: var(--muted); padding: .68rem .85rem; border-radius: 12px; font: inherit; cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.sidebar .nav-item:hover { background: #f4f6f3; color: #12382c; transform: translateX(2px); }
.sidebar .nav-item.active {
  background: #eef6f1;
  color: #12382c; box-shadow: inset 3px 0 0 #ef6a12;
}
.content { padding: 1.4rem 1.8rem 3rem; min-width: 0; }
.topbar { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 1.3rem; align-items: flex-start; }
.topbar h2 { font-family: var(--display); font-weight: 600; font-size: 1.7rem; letter-spacing: -0.03em; margin: 0; }
.balance-chip {
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: .65rem 1rem; min-width: 140px;
}
.balance-chip span { color: var(--muted); font-size: .8rem; display: block; }
.balance-chip strong { color: #ef6a12; font-size: 1.2rem; font-variant-numeric: tabular-nums lining-nums; letter-spacing: -0.03em; }

.chart {
  display: flex; align-items: flex-end; gap: 4px; height: 140px; padding-top: .5rem;
}
.chart .bar {
  flex: 1; background: linear-gradient(180deg, #ef6a12, #12382c);
  border-radius: 4px 4px 0 0; min-width: 6px; opacity: .9;
  transform-origin: bottom; animation: barIn .7s var(--ease) both;
}
.progress {
  height: 8px; border-radius: 999px; background: #e4ebe7; overflow: hidden; margin-top: .45rem;
}
.progress > i {
  display: block; height: 100%; background: linear-gradient(90deg, #12382c, #ef6a12);
  transform-origin: left; animation: fillIn .8s var(--ease) both;
}

.site-footer {
  background: #101412; color: #c5d0ca; border-top: 0;
  padding: 2rem clamp(1.15rem, 3.2cqi, 4.25rem); margin-top: 1rem;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
.site-footer .brand { color: #fff; }
.site-footer .muted { color: #c5d0ca; }

/* Icons */
.ico {
  width: 1.05em; height: 1.05em; flex: 0 0 auto;
  display: inline-block; vertical-align: -0.15em;
}
.ico-lg { width: 1.35rem; height: 1.35rem; }
.ico-xl { width: 1.7rem; height: 1.7rem; }
.ico-label { display: inline-flex; align-items: center; gap: .45rem; }
.btn .ico { margin: 0; }

.feature-card {
  position: relative; overflow: hidden;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(239,106,18,.28);
  box-shadow: 0 16px 40px rgba(16,20,18,.08);
}
.feature-ico {
  width: 2.6rem; height: 2.6rem; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: .85rem;
  background: #fff4ec;
  color: #ef6a12; border: 0;
}
.feature-ico .ico { width: 1.25rem; height: 1.25rem; }
.stat {
  position: relative; overflow: hidden;
  transition: transform .15s ease, border-color .15s ease;
}
.stat:hover { transform: translateY(-2px); border-color: rgba(18,56,44,.16); }
.stat-head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.stat-ico {
  width: 2rem; height: 2rem; border-radius: 10px;
  display: grid; place-items: center;
  background: #eef6f1; color: #12382c;
}
.stat-ico .ico { width: 1rem; height: 1rem; }
.plan {
  position: relative; overflow: hidden;
  transition: transform .18s ease, border-color .18s ease;
}
.plan:hover { transform: translateY(-3px); border-color: rgba(18,56,44,.16); }
.plan-top { display: flex; justify-content: space-between; align-items: flex-start; gap: .6rem; }
.hero-actions .btn { display: inline-flex; align-items: center; gap: .45rem; }

.sidebar .nav-item {
  display: flex !important; align-items: center; gap: .65rem;
}
.sidebar > .lang-switch { align-self: flex-start; max-width: 100%; }
.sidebar > div:first-child { min-width: 0; }
.sidebar .brand { min-width: 0; max-width: 100%; }
.sidebar .brand span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidebar .nav-item .ico { opacity: .75; }
.sidebar .nav-item.active .ico, .sidebar .nav-item:hover .ico { opacity: 1; color: #ef6a12; }

.toggle-field {
  display: flex !important; flex-direction: row !important; align-items: center;
  justify-content: space-between; gap: 1rem !important;
  padding: .85rem 1rem; margin: 0;
  border: 1px solid var(--line); border-radius: 14px;
  background: #f4f6f4; color: var(--text) !important;
}
.toggle-copy { font-size: .92rem; color: var(--text); }
.toggle-input { position: absolute; opacity: 0; pointer-events: none; width: 0; height: 0; }
.toggle-ui {
  position: relative; width: 46px; height: 26px; border-radius: 999px; flex: 0 0 auto;
  background: #e4ebe7; border: 1px solid var(--line);
  transition: background .18s ease, border-color .18s ease;
}
.toggle-ui::after {
  content: ""; position: absolute; top: 2px; left: 2px;
  width: 20px; height: 20px; border-radius: 50%;
  background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.25);
  transition: transform .18s ease;
}
.toggle-input:checked + .toggle-ui {
  background: #ef6a12;
  border-color: transparent;
}
.toggle-input:checked + .toggle-ui::after { transform: translateX(20px); }
.toggle-input:focus-visible + .toggle-ui { outline: 2px solid rgba(239,106,18,.45); outline-offset: 2px; }

.panel-head {
  display: flex; align-items: center; gap: .55rem; margin-bottom: .75rem;
}
.panel-head h3 { margin: 0; }
.panel-head .ico { color: #ef6a12; }

@media (max-width: 980px) {
  .grid.features, .grid.stats, .grid.two, .grid.three, .form-inline { grid-template-columns: 1fr 1fr; }
  .app-shell { grid-template-columns: 1fr; }
  .sidebar {
    border-right: 0; border-bottom: 1px solid var(--line);
    position: sticky; top: 0; height: auto; z-index: 15;
    display: grid; grid-template-columns: minmax(0, 1fr) auto;
    align-items: center; gap: .4rem .5rem;
    padding: .6rem .75rem .45rem;
    background: #fff;
  }
  .sidebar > div:first-child { grid-column: 1; grid-row: 1; min-width: 0; justify-content: flex-start !important; }
  .sidebar .badge { display: none; }
  .sidebar > .lang-switch { grid-column: 1 / -1; grid-row: 2; justify-self: start; }
  .sidebar > #logout { grid-column: 2; grid-row: 1; margin-top: 0; padding: .42rem .65rem; white-space: nowrap; }
  .sidebar > .tg-link { grid-column: 1 / -1; }
  .sidebar > .side-mode { grid-column: 1 / -1; grid-row: 3; margin: 0; display: flex; }
  .sidebar > .side-mode .btn { flex: 1; justify-content: center; }
  .sidebar > .menu-launch { grid-column: 1 / -1; }
  .sidebar .side-nav { display: none; }
  .sidebar .nav-item:hover { transform: none; }
}
@media (max-width: 720px) {
  .topbar { flex-wrap: wrap; align-items: center; }
  .topbar h2 { font-size: 1.35rem; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
}
@media (max-width: 520px) {
  .grid.features, .grid.stats, .grid.two, .grid.three, .form-inline { grid-template-columns: 1fr; }
  .app-shell .grid.stats { grid-template-columns: 1fr 1fr; }
  .content { padding: 1rem 1rem 5.5rem; }
  .hero { min-height: auto; padding: 2.2rem 5vw 1.5rem; }
  .section { padding: 2.1rem 5vw; }
  .auth-box, .calc { margin: 1.1rem .85rem; }
}
@media (max-height: 720px) {
  .hero { min-height: auto; padding: 2rem 5vw 1.2rem; }
  .hero h1 { font-size: clamp(2.15rem, 6vw, 3.5rem); }
  .section { padding: 1.8rem 5vw; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
@keyframes barIn { from { transform: scaleY(.15); opacity: .2; } to { transform: none; opacity: .9; } }
@keyframes fillIn { from { transform: scaleX(0); } to { transform: none; } }

.hero-kicker, .hero h1, .hero p, .hero-actions { animation: rise .7s var(--ease) both; }
.hero h1 { animation-delay: .06s; }
.hero p { animation-delay: .12s; }
.hero-actions { animation-delay: .18s; }
.section { animation: rise .65s var(--ease) both; }
.grid > * { animation: rise .6s var(--ease) both; }
.grid > *:nth-child(2) { animation-delay: .05s; }
.grid > *:nth-child(3) { animation-delay: .1s; }
.grid > *:nth-child(4) { animation-delay: .15s; }
.grid > *:nth-child(5) { animation-delay: .2s; }
.grid > *:nth-child(6) { animation-delay: .25s; }
.grid > *:nth-child(7) { animation-delay: .3s; }
.grid > *:nth-child(8) { animation-delay: .35s; }
#page-root, .auth-box { animation: rise .45s var(--ease) both; }
.faq details { transition: border-color .2s var(--ease), background .2s var(--ease); }
.faq details[open] { border-color: rgba(239,106,18,.35); }
table tr { transition: background .18s var(--ease); }
table tbody tr:hover { background: rgba(18,56,44,.05); }
.balance-chip { transition: transform .22s var(--ease), border-color .22s var(--ease); }
.balance-chip:hover { transform: translateY(-2px); border-color: rgba(239,106,18,.35); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Homepage — ivory, forest, black, orange */
body.is-home {
  background: #f4f6f3;
  color: #141816;
}
@media (min-width: 1921px) {
  body { background: #d7e0db; }
  #app {
    background: #f4f6f3;
    box-shadow: 0 0 0 1px rgba(16,20,18,.06);
  }
}
body.is-home .home {
  --pad: clamp(1.15rem, 3.2cqi, 4.25rem);
  --gap: clamp(.8rem, 1.25cqi, 1.2rem);
  background:
    linear-gradient(180deg, rgba(244,246,243,0) 0, #f4f6f3 560px),
    url('/img/hero-wash.jpg') center top / 100% 640px no-repeat;
}
body.is-home .site-nav {
  background: rgba(255,255,255,.88);
  border-bottom-color: rgba(16,20,18,.08);
  padding-inline: clamp(1.15rem, 3.2cqi, 4.25rem);
}
body.is-home .site-nav .brand { color: #12382c; }
body.is-home .site-nav .links button { color: #4e5c56; }
body.is-home .site-nav .links button:hover,
body.is-home .site-nav .links button.is-on { color: #141816; background: rgba(16,20,18,.05); }
body.is-home .lang-switch { background: #fff; border-color: rgba(16,20,18,.1); }
body.is-home .lang-btn { color: #5c6b64; }
body.is-home .lang-btn:hover { color: #1a211d; }
body.is-home .lang-btn.on,
body.is-home .lang-btn.on:hover { background: transparent; color: #fff; }
body.is-home .btn.primary {
  background: #ef6a12; color: #fff;
  box-shadow: 0 10px 24px rgba(239,106,18,.22);
}
body.is-home .btn.primary:hover { box-shadow: 0 14px 30px rgba(239,106,18,.32); }
body.is-home .btn.secondary { background: #12382c; color: #fff; border-color: transparent; }
body.is-home .btn.ghost { color: #141816; border-color: rgba(16,20,18,.16); background: #fff; }
body.is-home .site-footer {
  background: #101412; color: #c5d0ca; border-top: 0; margin-top: 1rem;
  padding-inline: clamp(1.15rem, 3.2cqi, 4.25rem);
}
body.is-home .site-footer .brand { color: #fff; }
body:has(.lc-root:not([hidden])) .site-footer { padding-bottom: 5.75rem; }
body:has(.lc-root:not([hidden])) .content { padding-bottom: 6rem; }

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .92fr);
  gap: clamp(1.25rem, 3cqi, 3.25rem);
  align-items: center;
  padding: clamp(1.6rem, 3cqi, 3.2rem) var(--pad) clamp(1rem, 2cqi, 1.8rem);
}
.home-hero h1 {
  color: #101412;
  font-size: clamp(2.05rem, 4.2cqi, 3.45rem);
  line-height: 1.04;
  max-width: 13em;
  margin: .7rem 0 .8rem;
}
.home-hero p { color: #4e5c56; font-size: 1.02rem; max-width: 38rem; }
body.is-home .hero-kicker {
  color: #c2410c;
  background: #fff4ec;
  border-color: transparent;
}
.home-mini {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .7rem;
  margin-top: 1.4rem;
  max-width: 460px;
}
.home-mini div {
  background: #fff;
  border: 1px solid rgba(16,20,18,.08);
  border-radius: 16px;
  padding: .7rem .8rem;
  box-shadow: 0 8px 24px rgba(16,20,18,.04);
}
.home-mini span { display: block; color: #6a7872; font-size: .75rem; }
.home-mini strong {
  display: block; margin-top: .15rem;
  font-size: 1.15rem; letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.home-hero-visual {
  position: relative;
  border-radius: clamp(18px, 2cqi, 28px);
  overflow: hidden;
  background: #101412;
  width: 100%;
  height: clamp(250px, 36cqi, 520px);
  box-shadow: 0 28px 70px rgba(16,20,18,.18);
  animation: rise .8s var(--ease) both;
  animation-delay: .08s;
}
.home-hero-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
.home-float {
  position: absolute; left: 1rem; bottom: 1rem;
  background: rgba(255,255,255,.94);
  color: #141816;
  border-radius: 16px;
  padding: .7rem .9rem;
  min-width: 148px;
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
}
.home-float span { display: block; color: #6a7872; font-size: .75rem; }
.home-float strong {
  display: block; margin-top: .1rem;
  color: #ef6a12; font-size: 1.25rem;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.home-feature {
  background: #fff;
  border: 1px solid rgba(16,20,18,.08);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(16,20,18,.05);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.home-feature:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(16,20,18,.1); }
.home-feature-media { aspect-ratio: 5 / 3; height: auto; background: #f3f1ec; }
.home-feature-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.home-feature-body { padding: 1rem 1.05rem 1.15rem; }
.home-feature h3 { margin: 0 0 .35rem; color: #141816; font-size: 1.05rem; letter-spacing: -0.02em; }
.home-feature p { margin: 0; color: #5c6b64; line-height: 1.45; font-size: .92rem; }
.home-why .lead { max-width: 38rem; }
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; }
.why-card {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .85rem; align-items: start;
  min-width: 0; padding: 1.05rem 1.1rem 1.15rem;
  background: #fff; border: 1px solid rgba(16,20,18,.08); border-radius: 22px;
  box-shadow: 0 12px 32px rgba(16,20,18,.05);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.why-ico {
  width: 2.7rem; height: 2.7rem; border-radius: 14px; flex: none;
  display: grid; place-items: center; background: #12382c; color: #fff;
}
.why-card:nth-child(even) .why-ico { background: #ef6a12; }
.why-ico .ico { width: 1.2rem; height: 1.2rem; }
.why-kicker {
  display: block; margin-bottom: .15rem;
  color: #ef6a12; font-size: .72rem; font-weight: 700; letter-spacing: .08em;
}
.why-card h3 { margin: 0 0 .35rem; color: #101412; font-size: 1.05rem; letter-spacing: -0.02em; }
.why-card p { margin: 0; color: #5c6b64; font-size: .92rem; line-height: 1.5; }
@media (hover: hover) {
  .why-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(16,20,18,.1); }
}

body.is-home .home .section { padding: clamp(1.2rem, 2.2cqi, 2.5rem) var(--pad); }
body.is-home .home .grid { gap: var(--gap); }
body.is-home .home .grid.features,
body.is-home .home .grid.stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
body.is-home .home .grid.plans { grid-template-columns: repeat(3, minmax(0, 1fr)); }
body.is-home .home .grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
body.is-home .home .grid.two { grid-template-columns: 1fr 1fr; }
body.is-home .home h2 { color: #101412; }
body.is-home .home .lead { color: #5c6b64; }
body.is-home .home .card,
body.is-home .home .panel,
body.is-home .home .plan {
  background: #fff;
  color: #141816;
  border: 1px solid rgba(16,20,18,.08);
  box-shadow: 0 14px 36px rgba(16,20,18,.05);
}
body.is-home .home .muted { color: #5c6b64; }
body.is-home .home th, body.is-home .home td { border-bottom-color: rgba(16,20,18,.08); }
body.is-home .home th { color: #6a7872; }
body.is-home .home tbody tr:hover { background: rgba(18,56,44,.05); }
body.is-home .home input {
  background: #f4f6f4; color: #141816; border-color: rgba(16,20,18,.12);
}
body.is-home .home .yield { background: #eef6f1; color: #146b45; border: 0; }
body.is-home .home .yield.medium { background: #fff4e8; color: #b45309; }
body.is-home .home .yield.high { background: #fff1e8; color: #c2410c; }
body.is-home .home-gap { margin-top: 1rem; }
.home-about { padding-top: clamp(.2rem, .8cqi, .6rem) !important; padding-bottom: clamp(.6rem, 1.4cqi, 1.1rem) !important; }
.about-band {
  display: grid; grid-template-columns: minmax(260px, .92fr) minmax(0, 1.08fr);
  align-items: stretch;
  background: #fff; color: #141816;
  border: 1px solid rgba(16,20,18,.08);
  border-radius: 28px; overflow: hidden;
  box-shadow: 0 18px 48px rgba(16,20,18,.06);
}
.about-photo { order: -1; position: relative; min-height: 280px; margin: 0; background: #101412; }
.about-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.about-copy {
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  padding: clamp(1.25rem, 2.6cqi, 2.3rem) clamp(1.2rem, 2.8cqi, 2.5rem);
}
.about-kicker {
  display: inline-flex; align-items: center; gap: .4rem;
  background: #fff4ec; color: #c2410c;
  border-radius: 999px; padding: .28rem .7rem .28rem .55rem;
  font-size: .72rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
}
.about-kicker .ico { width: 15px; height: 15px; }
body.is-home .home .about-copy h2 { margin: .75rem 0 .65rem; max-width: 16em; }
.about-copy p { margin: 0 0 .7rem; color: #5c6b64; line-height: 1.55; }
.about-copy .btn { margin-top: .35rem; }
.news-head { justify-content: space-between; }
.news-list { display: flex; flex-direction: column; gap: .65rem; }
.news-row {
  display: grid; grid-template-columns: 72px minmax(0, 1fr) 36px;
  gap: .85rem; align-items: center; width: 100%;
  text-align: left; font: inherit; color: inherit; cursor: pointer;
  background: #fff; border: 1px solid rgba(16,20,18,.08); border-radius: 20px;
  padding: .8rem .9rem;
  box-shadow: 0 12px 28px rgba(16,20,18,.04);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.news-row:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(16,20,18,.08); }
.news-when {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 64px; border-radius: 14px; background: #eef6f1; color: #12382c;
}
.news-when strong { font-size: 1.35rem; letter-spacing: -0.04em; line-height: 1; }
.news-when span { margin-top: .2rem; font-size: .7rem; letter-spacing: .04em; text-transform: uppercase; color: #5c6b64; }
.news-when i { display: block; font-style: normal; letter-spacing: 0; }
.news-copy { display: flex; flex-direction: column; gap: .25rem; min-width: 0; }
.news-copy strong { font-size: 1.05rem; letter-spacing: -0.02em; line-height: 1.3; }
.news-copy > span {
  color: #5c6b64; font-size: .92rem; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-more {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; background: #f4f6f4; color: #12382c;
}
.news-more .ico { width: 16px; height: 16px; }
.news-row:hover .news-more { background: #ef6a12; color: #fff; }

.home-pulse {
  margin: 0 var(--pad) clamp(.4rem, 1.2cqi, 1rem);
  padding: clamp(1.35rem, 2.2cqi, 2.3rem) !important;
  border-radius: 28px;
  color: #f6f7f5;
  background:
    linear-gradient(180deg, rgba(8,14,12,.45), rgba(8,14,12,.72)),
    url('/img/pulse-bg.jpg') center / cover no-repeat;
}
.home-pulse h2, .home-pulse .lead { color: #f6f7f5; }
.home-pulse .lead { color: #d5e0da; }
.home-pulse .stat {
  background: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.06));
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 20px;
  color: #fff;
  box-shadow: 0 12px 28px rgba(0,0,0,.12);
  backdrop-filter: blur(10px);
}
.home-pulse .stat::after {
  content: ""; position: absolute; left: .9rem; right: .9rem; bottom: 0; height: 2px;
  border-radius: 2px 2px 0 0;
  background: linear-gradient(90deg, #ef6a12, rgba(255,176,114,0));
}
.home-pulse .stat:hover { transform: translateY(-3px); border-color: rgba(255,176,114,.45); }
.home-pulse .stat .label { color: #d5e0da; font-size: .78rem; letter-spacing: .01em; }
.home-pulse .stat .value { color: #fff; font-size: 1.55rem; }
.home-pulse .stat-ico {
  width: 2.35rem; height: 2.35rem; border-radius: 13px;
  background: rgba(255,255,255,.12); color: #ffb072;
}
.home-pulse .stat-ico .ico { width: 1.15rem; height: 1.15rem; }
.home-board { padding: 0; overflow: hidden; }
.board-head {
  display: flex; align-items: center; gap: .7rem;
  padding: .95rem 1.05rem;
  border-bottom: 1px solid rgba(16,20,18,.06);
}
.board-head h3 { margin: 0; }
.board-mark {
  width: 40px; height: 40px; border-radius: 13px; flex: none;
  display: grid; place-items: center;
  background: #eef6f1; color: #12382c;
}
.board-mark .ico { width: 20px; height: 20px; }
.home-board.is-withdraw .board-mark { background: #fff4ec; color: #ef6a12; }
.home-board.is-trophy .board-mark { background: #fff6e8; color: #b45309; }
.home-board.is-affiliate .board-mark { background: #e7f6ee; color: #146b45; }
.board-body { padding: .2rem .85rem .75rem; }
.home-board th {
  font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 600;
}
.home-board tr:last-child td { border-bottom: 0; }
.home-hero-copy .hero-kicker,
.home-hero h1,
.home-hero p,
.home-hero .hero-actions { animation: rise .7s var(--ease) both; }
.home-hero h1 { animation-delay: .05s; }
.home-hero p { animation-delay: .1s; }
.home-hero .hero-actions { animation-delay: .16s; }

.accepted-assets h2 { margin: 0 0 .35rem; }
.accepted-assets .lead { margin: 0 0 1rem; }
.coin-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: var(--gap, .8rem);
}
.coin-card {
  display: flex; flex-direction: column; align-items: center; gap: .4rem;
  padding: .85rem .4rem .7rem;
  background: #fff; color: #141816;
  border: 1px solid rgba(16,20,18,.08);
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 10px 24px rgba(16,20,18,.04);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.coin-card:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(16,20,18,.1); }
.coin-card img, .usdt-box > img, .net-chip img {
  width: 40px; height: 40px; object-fit: contain; display: block;
}
.coin-card img.bare, .net-chip img.bare {
  background: #f4f6f4; border-radius: 50%; padding: 5px;
}
.coin-card strong { font-size: .84rem; letter-spacing: -0.02em; line-height: 1.2; }
.coin-card span { color: #6a7872; font-size: .72rem; letter-spacing: .04em; }
.usdt-box {
  margin-top: var(--gap, 1rem);
  display: grid; grid-template-columns: auto 1fr; gap: .85rem 1rem; align-items: center;
  background: #fff; color: #141816;
  border: 1px solid rgba(16,20,18,.08);
  border-radius: 20px;
  padding: 1rem 1.1rem;
  box-shadow: 0 10px 24px rgba(16,20,18,.04);
}
.usdt-box strong { display: block; margin-bottom: .55rem; letter-spacing: -0.02em; }
.net-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.net-chip {
  display: inline-flex; align-items: center; gap: .35rem;
  background: #f4f6f4; color: #141816;
  border-radius: 999px; padding: .22rem .65rem .22rem .22rem;
  font-size: .78rem;
}
.net-chip img { width: 22px; height: 22px; }
.app-shell .accepted-assets { margin-bottom: 1.25rem; }
.app-shell .accepted-assets .lead { color: var(--muted); }

@container app (max-width: 1080px) {
  .home-hero { grid-template-columns: 1fr; }
  .home-hero h1 { max-width: none; }
  .home-hero-visual { height: clamp(220px, 48cqi, 380px); }
  body.is-home .home .grid.features,
  body.is-home .home .grid.stats,
  body.is-home .home .grid.plans,
  body.is-home .home .grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.is-home .home .grid.two,
  .about-band { grid-template-columns: 1fr; }
  .about-photo { order: 0; min-height: 0; aspect-ratio: 16 / 10; }
  .coin-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .why-grid { grid-template-columns: 1fr 1fr; }
}
.plan-card {
  display: flex; flex-direction: column;
  padding: 0 0 1rem;
  border-radius: 26px;
  background: #fff;
  border: 1px solid rgba(16,20,18,.08);
  box-shadow: 0 16px 40px rgba(16,20,18,.06);
}
.plan-card:hover {
  transform: translateY(-4px);
  border-color: rgba(16,20,18,.08);
  box-shadow: 0 24px 48px rgba(16,20,18,.1);
}
.app-shell .grid.plans {
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  align-items: stretch;
}
.offer-top {
  display: flex; align-items: center; gap: .7rem;
  padding: 1rem 1.05rem 0;
}
.plan-mark {
  width: 42px; height: 42px; border-radius: 14px; flex: none;
  display: grid; place-items: center;
  background: #eef6f1; color: #12382c;
}
.plan-mark .ico { width: 20px; height: 20px; }
.tone-medium .plan-mark { background: #fff4e8; color: #c2410c; }
.tone-high .plan-mark { background: #fff1e8; color: #ef6a12; }
.offer-top h3 { margin: 0; flex: 1; min-width: 0; font-size: 1.08rem; line-height: 1.25; }
.offer-top .yield { margin: 0; flex: none; }
.offer-hero {
  margin: .85rem 1rem 0;
  padding: .95rem 1rem 1rem;
  border-radius: 18px;
  background: linear-gradient(165deg, #e7f4ec, #f7fbf8);
}
.tone-medium .offer-hero { background: linear-gradient(165deg, #fff3e4, #fffaf4); }
.tone-high .offer-hero { background: linear-gradient(165deg, #ffe8d6, #fff7f1); }
.offer-hero strong {
  display: block;
  font-size: clamp(2.15rem, 2.6cqi, 2.85rem);
  letter-spacing: -0.05em; line-height: .95;
  font-variant-numeric: tabular-nums; color: #12382c;
}
.tone-medium .offer-hero strong,
.tone-high .offer-hero strong { color: #c2410c; }
.offer-for { display: block; margin-top: .4rem; color: #24332c; font-weight: 600; font-size: .95rem; }
.offer-pace { margin: .15rem 0 0; color: #5c6b64; font-size: .84rem; }
.plan-desc {
  margin: .8rem 1.05rem 0; color: #5c6b64; line-height: 1.45; font-size: .92rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.offer-facts {
  list-style: none; margin: .85rem 1rem 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: .45rem;
}
.offer-facts li:last-child {
  grid-column: 1 / -1;
  display: flex; align-items: center; justify-content: space-between; gap: .6rem;
}
.offer-facts li:last-child strong { margin-top: 0; font-size: 1rem; }
.offer-facts li {
  background: #f4f6f4; border-radius: 14px; padding: .55rem .6rem .62rem; min-width: 0;
}
.offer-facts span {
  display: flex; align-items: center; gap: .28rem;
  color: #6a7872; font-size: .68rem; letter-spacing: .02em;
}
.offer-facts .ico { width: 13px; height: 13px; color: #12382c; flex: none; }
.tone-medium .offer-facts .ico, .tone-high .offer-facts .ico { color: #c2410c; }
.offer-facts strong {
  display: block; margin-top: .22rem;
  font-size: .88rem; letter-spacing: -0.02em; line-height: 1.25;
}
.offer-calc { margin: .9rem 1rem 0; }
.offer-calc-label {
  display: flex; align-items: center; gap: .35rem;
  margin-bottom: .45rem; color: #6a7872; font-size: .75rem; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase;
}
.offer-calc-label .ico { width: 14px; height: 14px; color: #ef6a12; }
.plan-amount { display: flex; justify-content: space-between; align-items: baseline; gap: .6rem; }
.plan-amount span { color: #6a7872; font-size: .8rem; }
.plan-amount strong, .inv-slider .plan-val {
  font-size: 1.35rem; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; color: #141816;
}
.plan-scale { display: flex; justify-content: space-between; color: #6a7872; font-size: .72rem; margin-top: -.15rem; }
.offer-payoff { display: grid; grid-template-columns: 1fr 1.15fr; gap: .45rem; margin-top: .55rem; }
.offer-earn, .offer-get { border-radius: 14px; padding: .65rem .75rem; min-width: 0; }
.offer-earn { background: #f4f6f4; }
.offer-get { background: #12382c; color: #fff; }
.tone-high .offer-get { background: #ef6a12; }
.offer-earn span, .offer-get span { display: block; font-size: .72rem; color: #6a7872; }
.offer-get span { color: rgba(255,255,255,.78); }
.offer-earn strong, .offer-get strong {
  display: block; margin-top: .12rem;
  font-variant-numeric: tabular-nums; letter-spacing: -0.03em; line-height: 1.1;
}
.offer-earn strong { color: #146b45; font-size: 1.15rem; }
.offer-get strong { color: #fff; font-size: 1.35rem; }
.plan-card .btn { width: auto; margin: .95rem 1rem 0; align-self: stretch; justify-content: center; }

input.plan-range {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 26px; padding: 0; margin: 0;
  background: transparent; border: 0; border-radius: 0; box-shadow: none; cursor: pointer;
}
body.is-home .home input.plan-range,
.app-shell input.plan-range {
  background: transparent;
  border-color: transparent;
}
input.plan-range:focus { outline: none; border: 0; box-shadow: none; }
input.plan-range::-webkit-slider-runnable-track {
  height: 6px; border-radius: 999px;
  background: linear-gradient(90deg, #12382c var(--p, 0%), #e4ebe7 var(--p, 0%));
}
input.plan-range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px; margin-top: -8px; border-radius: 50%;
  background: #fff; border: 3px solid #ef6a12;
  box-shadow: 0 4px 12px rgba(16,20,18,.2); cursor: grab;
}
input.plan-range::-moz-range-track {
  height: 6px; border-radius: 999px; background: #e4ebe7; border: 0;
}
input.plan-range::-moz-range-progress { height: 6px; border-radius: 999px; background: #12382c; }
input.plan-range::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%; background: #fff;
  border: 3px solid #ef6a12; box-shadow: 0 4px 12px rgba(16,20,18,.2); cursor: grab;
}
.tone-medium input.plan-range::-webkit-slider-runnable-track,
.tone-high input.plan-range::-webkit-slider-runnable-track {
  background: linear-gradient(90deg, #ef6a12 var(--p, 0%), #e4ebe7 var(--p, 0%));
}
.inv-slider { margin: .8rem 0 .9rem; }
.inv-slider .plan-val { color: var(--gold); display: block; margin-bottom: .35rem; }
.app-shell .tone-medium input.plan-range::-webkit-slider-runnable-track,
.app-shell .tone-high input.plan-range::-webkit-slider-runnable-track {
  background: linear-gradient(90deg, #ef6a12 var(--p, 0%), #e4ebe7 var(--p, 0%));
}
@media (max-width: 720px) {
  .app-shell .grid.plans { grid-template-columns: 1fr; }
  .app-shell .dep-stats, .app-shell .hist-stats, .app-shell .pay-stats, .app-shell .wd-stats { grid-template-columns: 1fr 1fr; }
}
.dep-stats, .hist-stats, .pay-stats, .wd-stats { margin-bottom: 0; }
.dep-tools, .hist-tools {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: .7rem; margin: 1rem 0;
}
.dep-filters, .hist-filters, .pay-filters, .wd-filters { display: flex; flex-wrap: wrap; gap: .35rem; }
.dep-filters button, .hist-filters button, .pay-filters button, .wd-filters button {
  display: inline-flex; align-items: center; gap: .4rem;
  border: 0; background: #fff; color: #24332c;
  border-radius: 999px; padding: .48rem .85rem;
  font: inherit; font-weight: 600; font-size: .86rem; cursor: pointer;
  box-shadow: 0 8px 20px rgba(16,20,18,.05);
}
.dep-filters button span, .hist-filters button span, .pay-filters button span, .wd-filters button span {
  min-width: 1.3rem; padding: .05rem .35rem; border-radius: 999px;
  background: #eef6f1; color: #12382c; font-size: .75rem; text-align: center;
}
.dep-filters button.is-on, .hist-filters button.is-on, .pay-filters button.is-on, .wd-filters button.is-on { background: #12382c; color: #fff; }
.dep-filters button.is-on span, .hist-filters button.is-on span, .pay-filters button.is-on span, .wd-filters button.is-on span { background: rgba(255,255,255,.16); color: #fff; }
.dep-bar {
  height: 8px; margin: .85rem 1rem 0; border-radius: 999px;
  background: #e4ebe7; overflow: hidden;
}
.dep-bar > i {
  display: block; height: 100%; border-radius: inherit;
  background: linear-gradient(90deg, #12382c, #2f8f62);
}
.tone-medium .dep-bar > i,
.tone-high .dep-bar > i { background: linear-gradient(90deg, #ef6a12, #c2410c); }
.dep-card .offer-payoff { margin: .85rem 1rem 0; }
.dep-card .offer-earn strong,
.dep-card .offer-get strong { font-size: 1.05rem; overflow-wrap: anywhere; }
.dep-card .offer-top h3 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.offer-top .badge { margin: 0; flex: none; text-transform: none; letter-spacing: 0; }
.badge.completed { color: #12382c; background: #eef6f1; border: 0; }
.dep-card[hidden], .dep-miss[hidden],
.hist-row[hidden], .hist-day[hidden], .hist-miss[hidden],
.pay-card[hidden], .pay-miss[hidden], .wd-miss[hidden] { display: none !important; }
.dep-miss, .hist-miss { margin: .2rem 0 0; }
.hist-cap { margin: -.25rem 0 .85rem; }
.hist-day { margin: 0 0 .9rem; }
.hist-day > h3 {
  margin: 0 0 .45rem; color: #6a7872;
  font-size: .75rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
}
.hist-list { padding-top: .4rem; padding-bottom: .4rem; }
.hist-row {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
  gap: .7rem .85rem; align-items: center;
  padding: .7rem 0; border-bottom: 1px solid rgba(16,20,18,.08);
}
.hist-row:first-child { padding-top: .25rem; }
.hist-row:last-child { border-bottom: 0; padding-bottom: .25rem; }
.hist-ico {
  width: 36px; height: 36px; border-radius: 12px;
  display: grid; place-items: center; background: #eef6f1; color: #12382c;
}
.hist-row.is-out .hist-ico { background: #fff4e8; color: #c2410c; }
.hist-ico .ico { width: 16px; height: 16px; }
.hist-copy strong { display: block; }
.hist-copy p { margin: .15rem 0 0; color: #6a7872; font-size: .8rem; line-height: 1.35; }
.hist-nums { text-align: right; min-width: 0; }
.hist-amt {
  display: block; font-variant-numeric: tabular-nums; letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}
.hist-row.is-in .hist-amt { color: #146b45; }
.hist-row.is-out .hist-amt { color: #c2410c; }
.hist-nums span {
  display: block; margin-top: .15rem; color: #6a7872;
  font-size: .75rem; font-variant-numeric: tabular-nums; overflow-wrap: anywhere;
}
@media (max-width: 520px) {
  .hist-row { gap: .28rem .6rem; align-items: center; }
  .hist-copy, .hist-nums { display: contents; }
  .hist-ico { grid-column: 1; grid-row: 1; }
  .hist-copy strong { grid-column: 2; grid-row: 1; min-width: 0; }
  .hist-amt { grid-column: 3; grid-row: 1; text-align: right; }
  .hist-copy p { grid-column: 1 / -1; grid-row: 2; margin: .05rem 0 0; }
  .hist-nums span { grid-column: 1 / -1; grid-row: 3; margin: 0; text-align: left; }
  .hist-filters button { padding: .42rem .7rem; }
}
.hist-empty-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .85rem; }
.dep-empty {
  max-width: 520px; background: #fff; border-radius: 26px;
  padding: 1.5rem 1.3rem 1.35rem;
  border: 1px solid rgba(16,20,18,.08);
  box-shadow: 0 16px 40px rgba(16,20,18,.06);
}
.dep-empty h3 { margin: .8rem 0 .35rem; }
.dep-empty .btn { margin-top: .85rem; }

.dash-hero {
  display: grid; grid-template-columns: minmax(0, 1.4fr) auto;
  gap: 1rem 1.4rem; align-items: end;
  background: #12382c; color: #fff;
  border-radius: 26px; padding: 1.2rem 1.3rem 1.25rem;
  margin-bottom: 1rem;
}
.dash-hero .muted { color: rgba(255,255,255,.74); max-width: 42rem; margin: 0; }
.dash-kicker {
  margin: .55rem 0 0; color: rgba(255,255,255,.7);
  font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.dash-hero strong[data-stat] {
  display: block; margin: .1rem 0 .4rem;
  font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1.05;
  letter-spacing: -0.045em; font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.dash-hero .live-tag, .dash-hero .live-tag i { color: #ffb072; background: transparent; }
.dash-hero .live-tag i { background: #ff8a2a; box-shadow: 0 0 0 0 rgba(255,138,42,.55); }
.dash-actions { display: flex; flex-wrap: wrap; gap: .45rem; justify-content: flex-end; }
.dash-hero .btn.secondary { background: #fff; color: #12382c; }
.dash-hero .btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.dash-note {
  display: flex; align-items: center; gap: .5rem; flex-wrap: wrap;
  margin: 0 0 1rem; padding: .7rem .9rem; border-radius: 14px;
  background: #fff4e8; color: #9a3412;
}
.dash-note strong { margin-left: auto; font-variant-numeric: tabular-nums; }
.dash-split {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(260px, .9fr);
  gap: 1rem; margin-top: 1rem; align-items: start;
}
.dash-split > .panel { display: flex; flex-direction: column; min-width: 0; }
.dash-split .dash-more { margin-top: .85rem; }
.dash-ops { margin-top: 1rem; }
.panel-head .dash-sum { margin-left: auto; color: #12382c; font-variant-numeric: tabular-nums; letter-spacing: -0.03em; }
.dash-accrual { container-type: inline-size; }
.dash-chart {
  display: grid; grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: .55rem; row-gap: .45rem; align-items: stretch;
}
.dash-scale {
  grid-column: 1; grid-row: 1;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: .15rem 0; color: #8a9690; font-size: .68rem; line-height: 1;
  font-variant-numeric: tabular-nums; text-align: right;
}
.dash-plot { grid-column: 2; grid-row: 1; min-width: 0; }
.dash-svg { width: 100%; height: auto; aspect-ratio: 600 / 220; display: block; overflow: visible; }
.dash-guides line, .dash-svg polyline, .dash-dot circle { vector-effect: non-scaling-stroke; }
.dash-guides line { stroke: rgba(16,20,18,.1); stroke-width: 1; stroke-dasharray: 4 7; }
.dash-svg polyline {
  stroke: #12382c; stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round;
}
.dash-dot circle { fill: #fff; stroke: #ef6a12; stroke-width: 2.5; }
.dash-axis {
  grid-column: 2; grid-row: 2;
  display: flex; justify-content: space-between; gap: .5rem;
  margin: 0; color: #6a7872; font-size: .72rem;
}
.dash-axis span { white-space: nowrap; }
.dash-chart-empty { margin: .65rem 0 0; }
.dash-dep {
  display: block; width: 100%; text-align: left; border: 0; cursor: pointer;
  background: #f4f6f4; color: inherit; font: inherit;
  border-radius: 16px; padding: .75rem .85rem; margin-bottom: .5rem;
}
.dash-dep:hover { background: #eef6f1; }
.dash-dep-top, .dash-dep-meta { display: flex; justify-content: space-between; gap: .6rem; }
.dash-dep-top strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dash-dep-top span, .dash-dep-meta { font-variant-numeric: tabular-nums; }
.dash-dep-meta { margin-top: .4rem; color: #6a7872; font-size: .8rem; }
.dash-dep .dep-bar { margin: .45rem 0 0; }
.dash-tx {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
  gap: .7rem; align-items: center; padding: .65rem 0;
  border-bottom: 1px solid rgba(16,20,18,.08);
}
.dash-tx:last-of-type { border-bottom: 0; }
.dash-tx-ico {
  width: 36px; height: 36px; border-radius: 12px;
  display: grid; place-items: center; background: #eef6f1; color: #12382c;
}
.dash-tx.is-out .dash-tx-ico { background: #fff4e8; color: #c2410c; }
.dash-tx-ico .ico { width: 16px; height: 16px; }
.dash-tx strong { display: block; }
.dash-tx .muted { font-size: .8rem; }
.dash-tx-amt { font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.dash-tx.is-in .dash-tx-amt { color: #146b45; }
.dash-tx.is-out .dash-tx-amt { color: #c2410c; }
.dash-more { margin-top: .75rem; }
@media (max-width: 980px) {
  .dash-hero, .dash-split { grid-template-columns: 1fr; }
  .dash-actions { justify-content: flex-start; }
}
@media (max-width: 520px) {
  .dash-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .dash-actions .btn { width: 100%; }
  .dash-actions .btn:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .wd-amount { grid-template-columns: 1fr; }
  .wd-amount .btn { justify-self: start; margin-bottom: .55rem; }
  .dash-axis span:nth-child(2) { visibility: hidden; }
  .dash-chart { column-gap: .35rem; }
  .dash-svg { aspect-ratio: 600 / 250; }
}

@container app (max-width: 680px) {
  body.is-home .home .grid.features,
  body.is-home .home .grid.three,
  body.is-home .home .grid.plans { grid-template-columns: 1fr; }
  body.is-home .home .grid.stats { grid-template-columns: 1fr 1fr; }
  .home-mini { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .4rem; max-width: none; }
  .home-mini div { padding: .55rem .45rem; }
  .home-mini span { font-size: .68rem; line-height: 1.25; }
  .home-mini strong { font-size: 1rem; }
  .home-float { left: .7rem; bottom: .7rem; }
  .home-hero-visual { height: 230px; }
  .coin-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .usdt-box { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
}

.rate-switch { margin-bottom: 1rem; }
.rate-switch .hint { margin: .35rem 0 0; }
.chain-filter { display: flex; flex-direction: column; gap: .35rem; color: var(--muted); font-size: .86rem; max-width: 420px; margin-bottom: .8rem; }
.chain-mark { display: inline-flex; align-items: center; gap: .45rem; min-width: 0; color: var(--text); }
.chain-icons { display: inline-flex; align-items: center; flex: none; }
.chain-icons img {
  width: 22px; height: 22px; border-radius: 50%; object-fit: contain; display: block; background: #fff;
}
.chain-icons img + img { margin-left: -7px; box-shadow: 0 0 0 2px #fff; }
.chain-icons img.bare { background: #f4f6f4; padding: 3px; }
.chain-cell { display: inline-flex; align-items: center; gap: .45rem; flex-wrap: wrap; }
.chain-pick { position: relative; }
.chain-pick-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: .6rem;
  background: #f4f6f4; border: 1px solid rgba(16,20,18,.12); border-radius: 12px;
  color: var(--text); padding: .65rem .8rem; font: inherit; cursor: pointer; text-align: left;
}
.admin-root .chain-pick-btn { background: #fff; }
.chain-pick-btn:focus { outline: none; border-color: rgba(239,106,18,.55); box-shadow: 0 0 0 4px rgba(239,106,18,.12); }
.chain-caret { color: var(--muted); font-size: .75rem; }
.chain-pick-menu {
  position: absolute; z-index: 40; left: 0; right: 0; top: calc(100% + 4px);
  max-height: 18rem; overflow: auto; background: #fff; color: var(--text);
  border: 1px solid rgba(16,20,18,.1); border-radius: 14px;
  box-shadow: 0 16px 40px rgba(16,20,18,.12); padding: .3rem;
}
.chain-pick-menu button {
  width: 100%; display: flex; align-items: center; border: 0; background: transparent;
  color: inherit; font: inherit; text-align: left; padding: .42rem .5rem; border-radius: 10px; cursor: pointer;
}
.chain-pick-menu button:hover,
.chain-pick-menu button[aria-selected="true"] { background: #eef6f1; }
.rate-flag {
  display: inline-flex; align-items: center; background: #eef6f1; color: #146b45;
  border-radius: 999px; padding: .08rem .45rem; font-size: .72rem; font-weight: 650;
}
.rate-quote { margin: -.2rem 0 .75rem; color: var(--teal); font-weight: 600; font-size: .9rem; }
.rate-quote:empty { display: none; }
.pay-layout {
  display: grid; grid-template-columns: minmax(320px, .86fr) minmax(0, 1.14fr);
  gap: 1.15rem; align-items: stretch; margin-top: 1.15rem;
}
.pay-create.panel { padding: 1.25rem 1.3rem 1.35rem; }
.pay-create .panel-head { margin-bottom: 1rem; }
.pay-steps {
  list-style: none; margin: 0 0 1.15rem; padding: .9rem 1rem;
  display: grid; gap: .65rem; background: #f4f6f4; border-radius: 16px;
}
.pay-steps li { display: flex; align-items: flex-start; gap: .7rem; font-size: .92rem; line-height: 1.4; }
.pay-steps span {
  width: 1.55rem; height: 1.55rem; border-radius: 50%; flex: none; margin-top: .05rem;
  display: grid; place-items: center; background: #12382c; color: #fff;
  font-size: .75rem; font-weight: 700;
}
.pay-form { display: flex; flex-direction: column; gap: .95rem; }
.pay-form label, .pay-form .rate-quote, .pay-form .pay-hint, .pay-form .error { margin: 0; }
.pay-form .rate-quote:empty, .pay-form .error:empty { display: none; }
.pay-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .85rem; margin-top: -.35rem; }
.pay-meta:not(:has(.pay-min:not(:empty), .pay-usd:not(:empty))) { display: none; }
.pay-min, .pay-usd, .pay-hint { margin: 0; font-size: .84rem; line-height: 1.45; }
.pay-min:empty, .pay-usd:empty { display: none; }
.pay-usd { color: #146b45; font-weight: 650; }
.pay-stage { container-type: inline-size; min-width: 0; }
.pay-ticket {
  background: #12382c; color: #fff; border-radius: 24px;
  padding: 1.25rem; height: 100%;
  display: grid; grid-template-columns: 1fr; gap: 1.1rem; align-items: center;
}
.pay-qr-plate {
  justify-self: center; width: min(100%, 15.5rem);
  background: #fff; color: #12382c; border-radius: 22px;
  padding: .9rem .9rem .75rem;
  display: flex; flex-direction: column; align-items: center; gap: .55rem;
  box-shadow: 0 14px 32px rgba(0,0,0,.18);
}
.pay-qr-plate p {
  margin: 0; color: #12382c; font-size: .72rem; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase; text-align: center;
}
.pay-qr-svg { width: 168px; height: 168px; display: block; color: #12382c; }
.pay-qr-svg rect { fill: currentColor; }
.pay-qr-hold {
  width: 168px; height: 168px; border-radius: 16px;
  display: grid; place-items: center;
  background:
    radial-gradient(circle, rgba(18,56,44,.16) 1.15px, transparent 1.35px) 0 0 / 14px 14px,
    #f7faf8;
}
.pay-qr-mark {
  width: 64px; height: 64px; border-radius: 18px; background: #12382c; color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 24px rgba(18,56,44,.2);
}
.pay-qr-mark .ico { width: 28px; height: 28px; color: #fff; }
.pay-ticket-main { min-width: 0; display: flex; flex-direction: column; gap: .7rem; }
.pay-ticket .muted, .pay-kicker, .pay-net, .pay-expire, .pay-wait, .pay-lead { margin: 0; }
.pay-ticket .muted, .pay-kicker { color: rgba(255,255,255,.74); }
.pay-kicker {
  font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.pay-lead { font-size: 1.05rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.35; }
.pay-sum {
  display: flex; align-items: center; gap: .55rem; margin: 0;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem); letter-spacing: -0.03em; line-height: 1.15;
}
.pay-sum span { overflow-wrap: anywhere; }
.pay-ticket .chain-icons img { box-shadow: 0 0 0 2px #12382c; }
.pay-net { font-weight: 650; }
.pay-expire { color: #ffb072; font-weight: 650; }
.pay-ticket .muted { line-height: 1.45; }
.pay-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.pay-actions .btn { flex: 1 1 9rem; justify-content: center; }
.pay-ticket .btn.secondary { margin: 0; background: #fff; color: #12382c; }
.pay-ticket .btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.28); }
.pay-addr { display: flex; align-items: center; gap: .55rem; margin-top: .8rem; }
.pay-ticket .pay-addr {
  margin: 0; background: rgba(255,255,255,.08); border-radius: 14px; padding: .7rem .8rem;
}
.pay-addr code {
  flex: 1; min-width: 0; word-break: break-all; font-size: .8rem; line-height: 1.45;
  background: #f4f6f4; border-radius: 10px; padding: .5rem .65rem;
}
.pay-ticket code { background: transparent; color: #fff; padding: 0; }
.pay-history { margin-top: 1.25rem; }
.pay-history .panel-head { margin-bottom: .85rem; }
.pay-history .hist-tools { margin: 0 0 .9rem; }
.pay-list { display: grid; gap: .85rem; }
.pay-list-head { margin: 0; }
.pay-empty, .pay-miss { margin: 1.15rem 0 0; }
.pay-history .pay-miss { margin: .15rem 0 0; }
.pay-card {
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  padding: 1.05rem 1.15rem 1.15rem; box-shadow: var(--shadow);
}
.pay-card:has(.pay-card-qr) {
  display: grid; grid-template-columns: 7.25rem minmax(0, 1fr);
  gap: 1rem 1.05rem; align-items: center; padding: 1rem 1.1rem 1.1rem;
}
.pay-card-qr {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: .45rem;
}
.pay-card-qr .pay-qr-svg { width: 100%; height: auto; }
.pay-card-body { min-width: 0; }
.pay-card-top { display: flex; align-items: center; gap: .75rem; }
.pay-card-top > div { min-width: 0; flex: 1; }
.pay-card-top strong { display: block; overflow-wrap: anywhere; }
.pay-card-top p { margin: .15rem 0 0; color: #6a7872; font-size: .8rem; }
.pay-card-top .badge { margin: 0; flex: none; }
.pay-ico { display: inline-flex; flex: none; }
.pay-ico .chain-icons img { width: 28px; height: 28px; }
.pay-exact { margin: .85rem 0 0; }
.pay-exact span { display: block; color: #6a7872; font-size: .75rem; letter-spacing: .02em; }
.pay-exact strong {
  display: block; margin-top: .15rem;
  font-size: 1.2rem; letter-spacing: -0.03em; font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.pay-card.is-done .pay-exact strong { color: #146b45; }
.pay-card.is-wait .pay-exact strong { color: #c2410c; }
.pay-note { margin: .7rem 0 0; font-size: .82rem; line-height: 1.45; }
@container (min-width: 480px) {
  .pay-ticket { grid-template-columns: 12rem minmax(0, 1fr); gap: 1.1rem 1.2rem; }
  .pay-qr-plate { width: auto; justify-self: stretch; padding: .75rem .75rem .65rem; }
  .pay-qr-svg, .pay-qr-hold { width: 156px; height: 156px; }
}
.wd-amount { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .55rem; align-items: end; }
.wd-amount .btn { margin-bottom: .15rem; white-space: nowrap; }
.wd-line {
  display: flex; justify-content: space-between; align-items: baseline; gap: .8rem;
  padding: .55rem 0; border-bottom: 1px solid rgba(16,20,18,.08);
}
.wd-line span { color: #6a7872; }
.wd-line strong { font-variant-numeric: tabular-nums; text-align: right; overflow-wrap: anywhere; }
.wd-line.wd-get strong { color: #146b45; }
.wd-preview .muted { margin: .8rem 0 0; }
.pay-card.is-paid .pay-exact strong, .pay-card.is-done .pay-exact strong { color: #146b45; }
@media (max-width: 980px) {
  .pay-layout { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .pay-card:has(.pay-card-qr) { grid-template-columns: 1fr; justify-items: center; }
  .pay-card-qr { width: min(100%, 11.5rem); }
  .pay-card-body { width: 100%; }
}
@media (max-width: 520px) {
  .pay-addr { flex-wrap: wrap; }
  .pay-addr .btn { width: 100%; justify-content: center; }
  .pay-filters button, .wd-filters button { padding: .42rem .7rem; }
  .pay-actions .btn { flex-basis: 100%; }
}

.personal-block {
  border: 1px solid var(--line); border-radius: 16px; margin: .15rem 0 .9rem; padding: .85rem .9rem .15rem;
}
.personal-block legend { padding: 0 .35rem; font-weight: 650; color: var(--text); }
.personal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.personal-grid .span-2 { grid-column: 1 / -1; }
.personal-grid label { margin-bottom: 0; }
.country-line { display: flex; align-items: center; gap: .45rem; }
.country-line select { flex: 1; }
.country-line img, .phone-flag img, .phone-menu img {
  width: 22px; height: 16px; object-fit: cover; border-radius: 3px; box-shadow: 0 0 0 1px rgba(16,20,18,.12); flex: none;
}
.phone-field { position: relative; display: flex; gap: .4rem; }
.phone-flag {
  display: inline-flex; align-items: center; gap: .35rem; flex: none;
  background: #f4f6f4; border: 1px solid rgba(16,20,18,.12); border-radius: 12px;
  padding: 0 .7rem; color: var(--text); font: inherit; cursor: pointer;
}
.phone-field > input[name="phone"] { flex: 1; min-width: 0; }
.phone-menu {
  position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 4px);
  max-height: 16rem; overflow: auto; background: #fff; border: 1px solid rgba(16,20,18,.1);
  border-radius: 14px; box-shadow: 0 16px 40px rgba(16,20,18,.12); padding: .35rem;
}
.phone-menu .phone-search { width: 100%; margin-bottom: .3rem; }
.phone-menu button {
  width: 100%; display: flex; align-items: center; gap: .45rem;
  border: 0; background: transparent; color: inherit; font: inherit; text-align: left;
  padding: .38rem .4rem; border-radius: 10px; cursor: pointer;
}
.phone-menu button em { margin-left: auto; color: var(--muted); font-style: normal; }
.phone-menu button:hover { background: #eef6f1; }
.captcha-box { display: flex; align-items: flex-end; gap: .75rem; margin-bottom: .85rem; flex-wrap: wrap; }
.captcha-box.is-remote { display: block; }
.captcha-box img, .captcha-math {
  height: 68px; width: 188px; border-radius: 12px; background: #f4f6f3; border: 1px solid var(--line);
}
.captcha-math {
  display: flex; align-items: center; justify-content: center;
  color: #12382c; font-size: 1.35rem; font-weight: 650; letter-spacing: .03em;
}
.captcha-visual { position: relative; flex: none; }
.captcha-refresh {
  position: absolute; right: -11px; bottom: -11px;
  width: 34px; height: 34px; padding: 0; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(16,20,18,.1); background: #fff; color: #12382c;
  box-shadow: 0 8px 18px rgba(16,20,18,.14); cursor: pointer;
}
.captcha-refresh .ico { width: 17px; height: 17px; transition: transform .45s var(--ease); }
.captcha-refresh:hover { color: #ef6a12; border-color: rgba(239,106,18,.45); }
.captcha-refresh:hover .ico { transform: rotate(-180deg); }
.captcha-refresh.is-spinning .ico { animation: capSpin .7s linear infinite; }
@keyframes capSpin { to { transform: rotate(-360deg); } }
.captcha-box label { flex: 1; min-width: 10rem; margin: 0; }
.captcha-widget:empty { display: none; }
.twofa-qr { width: 196px; height: 196px; border-radius: 12px; background: #fff; border: 1px solid var(--line); margin: .6rem 0; }
.twofa-secret {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: .08em; word-break: break-all; font-weight: 650; color: #12382c;
}
@media (max-width: 640px) {
  .personal-grid { grid-template-columns: 1fr; }
  .personal-grid .span-2 { grid-column: auto; }
}

.prof-hero {
  display: grid;
  grid-template-columns: minmax(220px, .85fr) minmax(0, 1.15fr);
  gap: 1rem 1.25rem;
  align-items: center;
  margin-bottom: 1rem;
  padding: 1.15rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    radial-gradient(460px 160px at 0% 0%, rgba(239,106,18,.14), transparent 62%),
    linear-gradient(180deg, #fff, #f6faf7);
  box-shadow: var(--shadow);
}
.prof-who { display: flex; align-items: center; gap: .9rem; min-width: 0; }
.prof-avatar {
  width: 4.4rem; height: 4.4rem; border-radius: 18px; flex: none;
  display: grid; place-items: center;
  background: #12382c; color: #fff;
  font-size: 1.7rem; font-weight: 700; letter-spacing: -0.03em;
}
.prof-who h3 { margin: 0 0 .45rem; font-size: 1.45rem; letter-spacing: -0.03em; line-height: 1.15; }
.prof-chips { display: flex; flex-wrap: wrap; gap: .35rem; }
.prof-chip {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .22rem .55rem; border-radius: 999px;
  background: rgba(18,56,44,.06); color: #234038;
  font-size: .76rem; font-weight: 650;
}
.prof-chip .ico { width: 13px; height: 13px; }
.prof-chip.is-on { background: rgba(20,107,69,.12); color: #146b45; }
.prof-chip.is-off { background: rgba(239,106,18,.12); color: #b14c08; }
.prof-facts { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr) minmax(7.5rem, .7fr); gap: .55rem; }
.prof-fact {
  min-width: 0; padding: .65rem .75rem;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
}
.prof-fact span {
  display: block; margin-bottom: .2rem;
  color: var(--muted); font-size: .72rem; font-weight: 650;
  letter-spacing: .04em; text-transform: uppercase;
}
.prof-fact strong { display: block; font-size: .95rem; overflow-wrap: break-word; }
.prof-fact.is-code strong { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .04em; }
.ref-panel { margin-top: 1rem; }
.ref-link { display: flex; align-items: center; gap: .6rem; }
.ref-link code {
  flex: 1; min-width: 0; display: block;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  padding: .72rem .85rem; border-radius: 12px;
}
@media (max-width: 520px) {
  .ref-link { flex-direction: column; align-items: stretch; }
  .ref-link .btn { justify-content: center; }
}
.prof-fact .btn { margin-top: .5rem; }
.prof-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  gap: 1rem; align-items: start;
}
.prof-form > .muted, .prof-secure > .muted { margin-top: 0; }
.prof-pass { margin-top: .15rem; padding-top: .95rem; border-top: 1px solid var(--line); }
.prof-pass h3 { display: flex; align-items: center; gap: .4rem; margin: 0 0 .25rem; font-size: 1.02rem; }
.prof-pass h3 .ico { width: 18px; height: 18px; color: #ef6a12; }
.prof-pass .muted { margin: 0 0 .7rem; }
.prof-secure .panel-head { flex-wrap: wrap; }
.prof-secure .panel-head .prof-chip { margin-left: auto; }
.prof-form .error:empty, .prof-secure .error:empty, #profile-ok[hidden], #twofa-start[hidden] { display: none !important; }
@media (max-width: 980px) {
  .prof-hero, .prof-layout { grid-template-columns: 1fr; }
  .prof-facts { grid-template-columns: 1fr 1fr; }
  .prof-fact.is-code { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .prof-facts { grid-template-columns: 1fr; }
  .prof-fact.is-code { grid-column: auto; }
  .prof-avatar { width: 3.4rem; height: 3.4rem; border-radius: 14px; font-size: 1.35rem; }
  .prof-who h3 { font-size: 1.25rem; }
}

.section-head { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; margin-bottom: .35rem; }
.section-head h2 { margin: 0; }
.live-tag {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: #146b45;
}
.live-tag i {
  width: .48rem; height: .48rem; border-radius: 50%; background: #146b45;
  box-shadow: 0 0 0 0 rgba(20,107,69,.55);
  animation: livePulse 1.8s ease-out infinite;
}
.home-pulse .live-tag { color: #ffb072; }
.home-pulse .live-tag i { background: #ff8a2a; box-shadow: 0 0 0 0 rgba(255,138,42,.55); }
@keyframes livePulse {
  70% { box-shadow: 0 0 0 7px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}
[data-stat].stat-tick { animation: statFlash .65s var(--ease); }
@keyframes statFlash {
  0% { color: #ef6a12; }
  100% { color: inherit; }
}
.pay-amt { display: inline-flex; align-items: center; gap: .4rem; }
.pay-amt .chain-icons img { width: 18px; height: 18px; }
.coin-fallback {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: #12382c; color: #fff; font-size: .68rem; font-weight: 700; flex: none;
}
.coin-card .coin-fallback { width: 40px; height: 40px; font-size: .95rem; }

@media (max-width: 980px) {
  .site-nav {
    display: flex; align-items: center; justify-content: space-between;
    gap: .6rem; padding: .6rem .85rem;
    background: rgba(255,255,255,.96); backdrop-filter: none;
  }
  body.is-home .site-nav { padding: .6rem .85rem; }
  .site-nav .brand { font-size: 1.28rem; line-height: 1; }
  .nav-burger {
    order: 2;
    display: inline-grid; place-items: center; align-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 0; border-radius: 14px; cursor: pointer;
    border: 1px solid rgba(16,20,18,.1); background: #fff; color: #12382c;
    position: relative; z-index: 2;
  }
  .nav-burger span {
    display: block; width: 16px; height: 1.6px; border-radius: 2px; background: currentColor;
    transition: transform .28s var(--ease), opacity .2s;
  }
  .site-nav.is-open { z-index: 90; }
  .site-nav.is-open .nav-burger { background: #12382c; color: #fff; border-color: transparent; }
  .site-nav.is-open .nav-burger span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
  .site-nav.is-open .nav-burger span:nth-child(2) { opacity: 0; }
  .site-nav.is-open .nav-burger span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }
  .site-nav .brand { position: relative; z-index: 2; }
  .nav-backdrop {
    position: fixed; inset: 0; z-index: 1; border: 0; padding: 0;
    background: rgba(16,20,18,.42); backdrop-filter: blur(8px);
  }
  .site-nav.is-open .nav-backdrop,
  .sidebar.is-open .nav-backdrop { display: block; }
  .nav-panel {
    display: flex; flex-direction: column; gap: .25rem;
    position: fixed; z-index: 2; left: 12px; right: 12px; top: 72px;
    max-height: calc(100dvh - 88px); overflow: auto;
    background: #fff; border-radius: 28px; padding: .45rem;
    border: 1px solid rgba(16,20,18,.06);
    box-shadow: 0 28px 70px rgba(16,20,18,.18);
    opacity: 0; visibility: hidden; pointer-events: none;
    transform: translateY(-12px) scale(.98); transform-origin: top center;
    transition: opacity .24s var(--ease), transform .32s var(--ease), visibility .32s;
  }
  .site-nav.is-open .nav-panel {
    opacity: 1; visibility: visible; pointer-events: auto; transform: none;
  }
  .nav-panel-foot {
    display: flex; flex-direction: column; gap: .65rem; order: 2;
    padding: .55rem .4rem .55rem; border-top: 1px solid rgba(16,20,18,.06); margin-top: .25rem;
  }
  .site-nav .links { order: 1; }
  .nav-panel-foot .lang-switch { align-self: center; }
  .nav-panel .nav-cta { width: 100%; }
  .nav-panel .nav-cta .btn { flex: 1; justify-content: center; min-height: 46px; }
  .site-nav .links,
  body.is-home .site-nav .links {
    display: flex; flex-direction: column; align-items: stretch;
    overflow: visible; mask-image: none; -webkit-mask-image: none; gap: .15rem;
  }
  .site-nav .links::after { content: none; }
  .site-nav .links button,
  body.is-home .site-nav .links button {
    width: 100%; justify-content: flex-start; gap: .75rem;
    padding: .62rem .7rem; border-radius: 16px; color: #141816; font-size: 1.02rem;
  }
  .site-nav .links button .ico {
    width: 1.15rem; height: 1.15rem; padding: .55rem; box-sizing: content-box;
    border-radius: 12px; background: #f4f6f3; color: #12382c;
  }
  .site-nav .links button span { flex: 1; text-align: left; }
  .site-nav .links button::after {
    content: ""; width: .42rem; height: .42rem; margin-left: .2rem; flex: none;
    border-right: 1.6px solid currentColor; border-top: 1.6px solid currentColor;
    transform: rotate(45deg); opacity: .35;
  }
  .site-nav .links button.is-on,
  body.is-home .site-nav .links button.is-on,
  body.is-home .site-nav .links button.is-on:hover {
    background: #12382c; color: #fff;
  }
  .site-nav .links button.is-on .ico { background: rgba(255,255,255,.12); color: #fff; }
  .menu-launch {
    display: flex; align-items: center; gap: .65rem; width: 100%;
    border: 1px solid rgba(16,20,18,.1); background: #f7f8f6; color: #141816;
    border-radius: 16px; padding: .4rem .75rem .4rem .4rem; font: inherit; cursor: pointer;
  }
  .menu-mark {
    width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center;
    background: #12382c; color: #fff; flex: none;
  }
  .menu-mark .ico { width: 18px; height: 18px; }
  .menu-launch > span:nth-child(2) {
    font-weight: 600; letter-spacing: -0.02em; min-width: 0;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  }
  .menu-launch i {
    margin-left: auto; width: .45rem; height: .45rem; flex: none;
    border-right: 1.6px solid #12382c; border-bottom: 1.6px solid #12382c;
    transform: rotate(45deg); transition: transform .25s var(--ease);
  }
  .sidebar.is-open .menu-launch, .admin-side.is-open .menu-launch {
    background: #12382c; color: #fff; border-color: transparent;
  }
  .sidebar.is-open .menu-mark, .admin-side.is-open .menu-mark { background: rgba(255,255,255,.14); }
  .sidebar.is-open .menu-launch i, .admin-side.is-open .menu-launch i {
    transform: rotate(225deg); border-color: #fff;
  }
  .sidebar.is-open { z-index: 90; }
  .sidebar.is-open .side-nav {
    display: flex; flex-direction: column; gap: .15rem;
    position: fixed; z-index: 2; left: 12px; right: 12px;
    overflow: auto; background: #fff; border-radius: 24px; padding: .4rem;
    border: 1px solid rgba(16,20,18,.06);
    box-shadow: 0 28px 70px rgba(16,20,18,.18);
  }
  .sidebar.is-open .nav-item {
    width: 100%; padding: .72rem .8rem; border-radius: 14px; font-size: 1rem; gap: .7rem;
  }
  .sidebar.is-open .nav-item .ico { width: 1.2rem; height: 1.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  .nav-panel, .nav-burger span, .menu-launch i { transition: none; }
}

body.is-auth { background: #e7eeea; }
body.is-auth #app { display: flex; flex-direction: column; background: #f4f6f3; }
body.is-auth .site-footer { display: none; }
body.is-auth .site-nav { background: rgba(244,246,243,.92); }

.auth-box.auth-stage {
  display: grid;
  grid-template-columns: minmax(300px, 1.02fr) minmax(360px, .98fr);
  align-items: stretch;
  flex: 1;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  animation: none;
  overflow: hidden;
}
.auth-box.auth-stage.is-wide { max-width: none; }
.auth-box.auth-stage.is-wide .auth-card { max-width: 680px; }

.auth-aside {
  position: relative;
  color: #e7f0eb;
  background:
    radial-gradient(ellipse 90% 60% at 100% 0%, rgba(239,106,18,.28), transparent 58%),
    linear-gradient(165deg, #184435 0%, #0d241c 48%, #091612 100%);
  padding: clamp(1.6rem, 4cqi, 3.4rem);
  display: flex;
  align-items: center;
  min-height: 100%;
}
.auth-mesh {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.85), transparent 78%);
}
.auth-aside-copy { position: relative; z-index: 1; max-width: 460px; }
.auth-aside .logo { color: #fff; font-size: 1.2rem; }
.auth-aside .logo-mark { width: 40px; height: 40px; border-radius: 12px; box-shadow: 0 0 0 1px rgba(255,255,255,.16); }
.auth-kicker {
  margin: 1.6rem 0 .7rem;
  color: #ef6a12;
  font-size: .72rem;
  font-weight: 650;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.auth-aside h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.85rem, 3cqi, 2.7rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 600;
}
.auth-aside-copy > p:last-of-type,
.auth-aside-copy > p:not(.auth-kicker) {
  margin: .9rem 0 0;
  color: #b7c9c0;
  font-size: 1.02rem;
  line-height: 1.55;
  max-width: 38ch;
}
.auth-points { list-style: none; margin: 1.8rem 0 0; padding: 0; display: grid; gap: .85rem; }
.auth-points li { display: flex; gap: .75rem; align-items: flex-start; }
.auth-point-ico {
  width: 36px; height: 36px; flex: none;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
  color: #fff;
}
.auth-point-ico .ico { width: 18px; height: 18px; }
.auth-points strong { display: block; color: #fff; font-size: .92rem; font-weight: 650; }
.auth-points em { display: block; margin-top: .15rem; color: #b7c9c0; font-style: normal; font-size: .84rem; line-height: 1.4; }

.auth-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.25rem, 3cqi, 2.5rem) clamp(1rem, 3cqi, 2.5rem) clamp(2rem, 4cqi, 3rem);
  background:
    radial-gradient(ellipse 70% 40% at 50% 0%, rgba(18,56,44,.06), transparent 70%),
    #f4f6f3;
}
.auth-card {
  width: min(440px, 100%);
  background: #fff;
  border: 1px solid rgba(16,20,18,.06);
  border-radius: 28px;
  padding: 1.45rem 1.4rem 1.25rem;
  box-shadow: 0 24px 60px rgba(16,20,18,.07);
  animation: authIn .28s cubic-bezier(.2, 0, 0, 1) both;
}
.auth-card h2 {
  margin: 0;
  font-size: clamp(1.7rem, 2.4cqi, 2.05rem);
  letter-spacing: -0.04em;
  font-weight: 650;
  color: #12382c;
}
.auth-lead { margin: .45rem 0 1.15rem; color: #5c6b64; line-height: 1.5; }
.auth-tabs {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: .22rem;
  margin: 0 0 1.35rem;
  border-radius: 999px;
  background: #e6ece8;
  isolation: isolate;
}
.auth-tab-glide {
  position: absolute; z-index: 0;
  top: .22rem; bottom: .22rem; left: .22rem;
  width: calc(50% - .22rem);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16,20,18,.06), 0 8px 18px rgba(16,20,18,.05);
  transition: transform .18s cubic-bezier(.2, 0, 0, 1);
}
.auth-tabs:has([data-auth-mode="register"].on) .auth-tab-glide { transform: translateX(100%); }
.auth-tabs button {
  position: relative; z-index: 1;
  border: 0; background: transparent; color: #5c6b64;
  font: inherit; font-weight: 650; letter-spacing: .01em;
  padding: .68rem .4rem; border-radius: 999px; cursor: pointer;
  transition: color .16s linear;
}
.auth-tabs button.on { color: #12382c; }
.auth-card .field { margin-bottom: .85rem; }
.auth-card .field > span:first-child {
  font-size: .72rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: #6d7c74;
}
.auth-card .field-control { position: relative; display: block; }
.auth-card .field-control > .ico {
  position: absolute; left: .95rem; top: 50%; width: 18px; height: 18px;
  transform: translateY(-50%); color: #7d8c84; pointer-events: none;
}
.auth-card input, .auth-card select, .auth-card textarea {
  width: 100%;
  min-height: 50px;
  background: #f4f6f4;
  border: 1px solid rgba(16,20,18,.08);
  border-radius: 14px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  box-shadow: 0 1px 0 rgba(16,20,18,.02);
}
.auth-card .field-control input { padding-left: 2.7rem; }
.auth-card .field-control:has(.field-eye) input { padding-right: 2.8rem; }
.auth-card input:focus, .auth-card select:focus, .auth-card textarea:focus {
  border-color: rgba(18,56,44,.45);
  box-shadow: 0 0 0 4px rgba(18,56,44,.1);
}
.field-eye {
  position: absolute; right: .4rem; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; padding: 0; border: 0; border-radius: 10px;
  display: grid; place-items: center;
  background: transparent; color: #5c6b64; cursor: pointer;
}
.field-eye .ico { width: 18px; height: 18px; }
.field-eye:hover { color: #12382c; background: #eef3f0; }
.field-eye.is-on::after {
  content: "";
  position: absolute; width: 16px; height: 1.5px; border-radius: 1px;
  background: currentColor; transform: rotate(-42deg);
}
.auth-code { letter-spacing: .28em !important; font-variant-numeric: tabular-nums; font-size: 1.15rem; }
.auth-submit { width: 100%; min-height: 50px; margin-top: .25rem; }
.auth-card .btn:hover, .auth-card .btn:active { transform: none; }
.auth-card .btn.primary:hover { filter: brightness(1.04); }
.auth-card .personal-block {
  border: 0; background: #fff; border-radius: 18px;
  box-shadow: inset 0 0 0 1px rgba(16,20,18,.08);
  margin: .1rem 0 1rem; padding: .95rem .95rem .2rem;
}
.auth-card .country-line select { width: auto; }
.auth-card .tg-link {
  margin-top: 1rem; min-height: 46px; border-radius: 14px;
  border: 1px solid rgba(16,20,18,.1); background: #fff; color: #12382c;
}
.auth-card #auth-error:not(:empty) { margin: .85rem 0 0; }
#auth-form[hidden], #twofa-step[hidden], #auth-tabs[hidden], #web3-slot[hidden] { display: none !important; }
@keyframes authIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .auth-box.auth-stage { grid-template-columns: 1fr; }
  .auth-aside { min-height: 0; align-items: flex-start; padding: 1.35rem 1.15rem 1.2rem; }
  .auth-points { display: none; }
  .auth-aside h2 { font-size: 1.45rem; }
  .auth-kicker { margin-top: 1rem; }
  .auth-panel { align-items: flex-start; padding-top: 1.25rem; }
}
body:has(.lc-root:not([hidden])) .auth-panel { padding-bottom: 6.5rem; }
@media (prefers-reduced-motion: reduce) {
  .auth-card { animation: none; }
  .auth-tab-glide { transition: none; }
}

.sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.help-page { padding-top: clamp(1.4rem, 3cqi, 2.4rem); }
.help-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(240px, .72fr);
  gap: 1rem;
  align-items: stretch;
  margin-bottom: 1.15rem;
}
.help-hero.is-solo { grid-template-columns: 1fr; }
.help-kicker {
  display: inline-flex; align-items: center; gap: .4rem;
  margin: 0 0 .55rem;
  color: #c2410c;
  font-size: .72rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase;
}
.help-kicker .ico { width: 16px; height: 16px; }
.help-hero h2 { margin: 0 0 .4rem; }
.help-hero .lead { margin: 0; max-width: 40rem; color: #5c6b64; line-height: 1.55; }
.help-note {
  display: flex; flex-direction: column; justify-content: flex-end; gap: .65rem;
  padding: 1.25rem 1.3rem;
  border-radius: 24px;
  color: #e7f0eb;
  background:
    radial-gradient(ellipse 90% 80% at 100% 0%, rgba(239,106,18,.28), transparent 55%),
    linear-gradient(165deg, #184435, #0e241c);
}
.help-note strong { color: #fff; font-size: 1.2rem; letter-spacing: -0.03em; }
.help-note p { margin: 0; color: #b7c9c0; line-height: 1.45; }
.help-note .btn {
  align-self: flex-start; margin-top: .25rem;
  background: #fff; color: #12382c; font-weight: 650;
}
.help-note .btn:hover, .help-card .btn:hover, .help-card .btn:active, .help-note .btn:active { transform: none; }

.faq-search { position: relative; display: block; max-width: 520px; margin: 0 0 1rem; }
.faq-search .ico {
  position: absolute; left: .95rem; top: 50%; width: 18px; height: 18px;
  transform: translateY(-50%); color: #7d8c84; pointer-events: none;
}
.faq-search input {
  width: 100%; min-height: 50px; padding-left: 2.7rem;
  background: #fff; border-radius: 16px;
}
.faq-list { display: grid; gap: .55rem; max-width: 860px; }
.faq-item {
  background: #fff;
  border: 1px solid rgba(16,20,18,.08);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(16,20,18,.04);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  display: flex; align-items: center; gap: .8rem;
  padding: 1rem 1.05rem;
  cursor: pointer;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-no {
  flex: none; width: 1.8rem;
  color: #ef6a12; font-size: .78rem; font-weight: 650;
  font-variant-numeric: tabular-nums; letter-spacing: .04em;
}
.faq-item summary .q { flex: 1; }
.faq-mark {
  position: relative; flex: none;
  width: 28px; height: 28px; border-radius: 9px; background: #f3f6f4;
}
.faq-mark::before, .faq-mark::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  background: #12382c; border-radius: 1px;
  transform: translate(-50%, -50%);
}
.faq-mark::before { width: 12px; height: 1.6px; }
.faq-mark::after { width: 1.6px; height: 12px; transition: transform .18s cubic-bezier(.2, 0, 0, 1); }
.faq-item[open] { border-color: rgba(18,56,44,.2); }
.faq-item[open] .faq-mark::after { transform: translate(-50%, -50%) scaleY(0); }
.faq-body {
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height .22s cubic-bezier(.2, 0, 0, 1), opacity .16s linear;
}
.faq-item[open] .faq-body { max-height: 16rem; opacity: 1; }
.faq-body p { margin: 0; padding: 0 1.05rem 1.05rem 3.65rem; color: #5c6b64; line-height: 1.55; }
.faq-none { margin: .2rem 0 0; }
.help-grid { display: flex; flex-wrap: wrap; gap: .9rem; }
.help-card {
  flex: 1 1 260px;
  display: flex; flex-direction: column; gap: .4rem;
  min-height: 230px;
  padding: 1.25rem 1.2rem 1.15rem;
  background: #fff;
  border: 1px solid rgba(16,20,18,.08);
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(16,20,18,.05);
}
.help-ico {
  width: 44px; height: 44px; margin-bottom: .35rem;
  display: grid; place-items: center;
  border-radius: 14px; background: #f3f6f4; color: #12382c;
}
.help-ico .ico { width: 20px; height: 20px; }
.help-card h3 { margin: 0; letter-spacing: -0.03em; }
.help-card p { margin: 0; color: #5c6b64; line-height: 1.5; }
.help-card .btn, .help-card a.btn { margin-top: auto; align-self: flex-start; }
.sup-desk {
  display: grid;
  grid-template-columns: minmax(280px, .9fr) minmax(0, 1.1fr);
  gap: 1rem;
  align-items: start;
}
.sup-compose .btn { margin-top: .2rem; }
.sup-ticket { padding: .95rem 0; border-bottom: 1px solid var(--line); }
.sup-ticket:first-of-type { padding-top: .15rem; }
.sup-ticket:last-child { border-bottom: 0; padding-bottom: .15rem; }
.sup-ticket header { display: flex; align-items: center; justify-content: space-between; gap: .7rem; }
.sup-ticket header strong { letter-spacing: -0.02em; }
.sup-ticket p { margin: .4rem 0 0; line-height: 1.5; }
.sup-reply { margin-top: .6rem; padding: .7rem .85rem; border-radius: 14px; background: #eef6f1; color: #146b45; }
.sup-empty { margin: .4rem 0 .2rem; }
@media (max-width: 900px) {
  .help-hero, .sup-desk { grid-template-columns: 1fr; }
  .faq-body p { padding-left: 1.05rem; }
  .help-card { min-height: 0; }
}
