/* Solid accent only: no gradient and no colored glow on primary buttons. */
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/inter-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/inter-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/inter-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  color-scheme: light;
  --accent: #0a7d3e;
  --accent-2: #065c2c;
  --accent-ink: #ffffff;
  --accent-soft: #e7f6ee;
  --yes: #0a7d3e;
  --bg: #ffffff;
  --surface: #f5f9f6;
  --surface-2: #e9f2ec;
  --text: #0b0f0c;
  --muted: #4a5a50;
  --border: #e3ebe5;
  --border-strong: #c9d8ce;
  --topbar-bg: #0b0f0c;
  --topbar-ink: #e3f5e9;
  --no: #b42318;
  --success: #15803d;
  --warning: #9a4a08;
  --danger: #b91c1c;
  --radius: 10px;
  --shadow-sm: 0 1px 2px rgb(15 23 42 / .12);
  --shadow-md: 0 10px 30px -24px rgb(11 15 12 / .55);
  --focus-ring: 0 0 0 3px color-mix(in srgb, var(--accent) 28%, transparent);
  --font-body: Inter, "Segoe UI Variable", "Segoe UI", Roboto, "Noto Sans", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", system-ui, sans-serif;
  --font-head: var(--font-body);
  --font-mono: ui-monospace, "Cascadia Mono", "SFMono-Regular", Menlo, Consolas, monospace;
  --leading-body: 1.6;
  --leading-head: 1.2;
  font-family: var(--font-body);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: var(--leading-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
img, .qr-box svg { max-width: 100%; height: auto; }
a { color: var(--accent); }
button, input, select, textarea { font: inherit; color: inherit; }
::placeholder { color: #8aa094; }
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.skip {
  position: absolute;
  left: 0.5rem;
  top: -3rem;
  background: var(--text);
  color: white;
  padding: 0.4rem 0.7rem;
  z-index: 40;
}
.skip:focus { top: 0.5rem; }
.wrap { width: min(1080px, calc(100% - 2rem)); margin: 0 auto; }
.narrow { width: min(760px, calc(100% - 2rem)); }
.topbar {
  background: var(--topbar-bg);
  color: var(--topbar-ink);
  font-size: 13px;
  line-height: 1.35;
  text-align: center;
  padding: 0.42rem 1rem;
}
.topbar p { margin: 0; }
.site-header {
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 30;
  box-shadow: 0 1px 0 var(--border), 0 6px 20px -18px rgb(11 15 12 / .9);
}
.header-inner {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 0.75rem 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 1.12rem;
  flex: none;
}
.mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--accent-ink);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 15px;
}
.header-inner > .brand { order: 1; }
.primary-nav { order: 2; display: flex; flex-wrap: nowrap; gap: 0.1rem 0.85rem; align-items: center; }
.primary-nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 0.92rem; min-height: 44px; display: inline-flex; align-items: center; white-space: nowrap; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--text); }
.header-inner > .header-actions { order: 3; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 0.65rem; flex: none; }
.lang {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  color: var(--text);
  font-weight: 600;
  font-size: 0.92rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.1rem 0.35rem 0.1rem 0.7rem;
  background: var(--bg);
  min-height: 44px;
}
.lang select {
  width: auto;
  min-width: 7.5rem;
  max-width: 11rem;
  min-height: 40px;
  border: 0;
  box-shadow: none;
  background: transparent;
  padding: 0.15rem 1.5rem 0.15rem 0.1rem;
  font-weight: 600;
  cursor: pointer;
}
.lang select:focus { box-shadow: none; }
.lang:focus-within { border-color: var(--accent); box-shadow: var(--focus-ring); }
.lang.lang-field { border-radius: 10px; width: min(100%, 320px); padding-left: 0.85rem; }
.lang.lang-field select { width: 100%; max-width: none; }
.nav-check {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.nav-toggle-btn {
  display: none;
  width: 44px;
  height: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
  color: var(--text);
  cursor: pointer;
  flex: none;
}
.burger, .burger::before, .burger::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  position: relative;
}
.burger::before, .burger::after { content: ""; position: absolute; left: 0; }
.burger::before { top: -6px; }
.burger::after { top: 6px; }
.nav-check:focus-visible ~ .header-actions .nav-toggle-btn,
.nav-check:focus-visible ~ .desk-main .nav-toggle-btn { box-shadow: var(--focus-ring); }
.nav-backdrop { display: none; }
.cart-link, .login-link, .balance { color: var(--text); text-decoration: none; font-weight: 700; font-size: 0.95rem; }
.cart-link:hover, .login-link:hover, .balance:hover { color: var(--accent); }
.balance { font-variant-numeric: tabular-nums; }
.shell-app main { width: min(1080px, calc(100% - 2rem)); margin: 0 auto; padding: 1.75rem 0 3.5rem; }
.shell-marketing main { padding: 0; }
.flash-slot { margin: 0 0 1rem; }
.shell-marketing .flash-slot { width: min(1080px, calc(100% - 2rem)); margin: 1rem auto 0; }
h1, h2, h3 { font-family: var(--font-head); letter-spacing: -0.025em; line-height: var(--leading-head); font-weight: 700; }
h1 { font-size: clamp(1.85rem, 3.2vw, 2.35rem); margin: 0 0 0.5rem; }
h2 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); margin: 0 0 0.7rem; }
h3 { font-size: 1.1rem; line-height: 1.35; margin: 0 0 0.4rem; }
p { margin: 0 0 0.75rem; }
.lede { font-size: clamp(1.05rem, 2vw, 1.15rem); line-height: 1.65; color: var(--muted); font-weight: 400; }
:lang(zh) h1, :lang(zh) h2, :lang(zh) h3, :lang(zh) .brand, :lang(zh) .hero h1 { letter-spacing: 0; line-height: 1.35; }
:lang(zh) .hero h1 { font-size: clamp(1.9rem, 4.6vw, 3.05rem); line-height: 1.22; }
.muted { color: var(--muted); }
.fine { color: var(--muted); font-size: 13px; }
.hero-wrap { padding: 3.3rem 0 2.5rem; }
.hero { width: min(920px, calc(100% - 2rem)); margin: 0 auto; text-align: center; }
.hero h1 { font-size: clamp(2.15rem, 5vw, 3.55rem); line-height: 1.12; font-weight: 700; margin: 0 0 0.9rem; letter-spacing: -0.032em; }
h1.display { font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.08; }
.hero .lede { margin: 0 auto; max-width: 40rem; }
.band { background: var(--bg); padding: 2.6rem 0; }
.band.mint { background: var(--surface); }
.band + .band { box-shadow: inset 0 1px 0 var(--border); }
.crumbs { color: var(--muted); font-size: 0.92rem; margin: 0 0 0.8rem; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.eyebrow { color: var(--accent); font-weight: 700; margin: 0 0 0.45rem; }
.page-intro { max-width: 42rem; color: var(--muted); }
.grid { display: grid; gap: 1rem; }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.cards, .card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0.75rem; }
.card, .panel {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.card { padding: 0.9rem 1rem; }
.panel { padding: 1rem 1.1rem; }
.card-grid article {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1rem 0.4rem;
}
.price { font-variant-numeric: tabular-nums; color: var(--accent); font-weight: 700; }
label { display: block; font-weight: 700; font-size: 0.92rem; margin: 0 0 0.35rem; }
.field { margin: 0 0 0.9rem; }
.hint { color: var(--muted); font-size: 13px; margin: 0.4rem 0 0; }
input[type="text"], input[type="email"], input[type="password"], input[type="search"], input[type="tel"], select, textarea {
  width: 100%;
  background: white;
  border: 1.5px solid var(--border);
  border-radius: calc(var(--radius) - 4px);
  padding: 0.7rem 0.8rem;
  min-height: 44px;
  margin: 0;
}
textarea { min-height: 7rem; resize: vertical; }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: var(--focus-ring);
}
.mono, .acct, .addr-text, .pre { overflow-wrap: anywhere; }
.mono { font-family: var(--font-mono); letter-spacing: 0.04em; }
button, .button, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: var(--accent);
  color: var(--accent-ink);
  border: 0;
  border-radius: calc(var(--radius) - 4px);
  padding: 0.7rem 1rem;
  min-height: 44px;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}
button:hover, .button:hover, .btn:hover { transform: translateY(-1px); }
button:active, .button:active, .btn:active { transform: none; }
button.secondary, a.secondary, .btn-ghost {
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: none;
}
button.secondary:hover, a.secondary:hover, .btn-ghost:hover { background: var(--surface); }
button.danger { background: var(--no); color: white; }
.btn-sm { min-height: 36px; padding: 0.35rem 0.7rem; font-size: 0.9rem; }
.btn-lg { min-height: 48px; padding: 0.75rem 1.15rem; }
.btn-block { width: 100%; }
.row-actions { display: flex; gap: 0.45rem; flex-wrap: wrap; align-items: center; }
.center-actions { justify-content: center; }
.flash { padding: 0.75rem 0.9rem; border-radius: var(--radius); margin: 0; border: 1px solid var(--border); background: var(--bg); }
.flash.ok { background: var(--accent-soft); border-color: color-mix(in srgb, var(--accent) 35%, var(--border)); }
.flash.err { background: #fde8e6; border-color: #f3c7c2; color: var(--no); }
.acct {
  font-family: var(--font-mono);
  font-size: clamp(1.25rem, 3vw, 1.7rem);
  letter-spacing: 0.08em;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 0.9rem;
  display: inline-block;
}
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; background: var(--bg); }
th, td { text-align: left; padding: 0.7rem 0.75rem; border-bottom: 1px solid var(--border); vertical-align: top; }
th { color: var(--muted); font-weight: 600; font-size: 0.82rem; }
tbody tr:nth-child(even) { background: var(--surface); }
.table-scroll { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); }
.table-scroll table { margin: 0; }
.pill {
  display: inline-block;
  border-radius: 999px;
  padding: 0.12rem 0.55rem;
  background: var(--surface-2);
  font-size: 0.8rem;
  font-weight: 700;
}
.pill[data-status="available"], .pill[data-status="active"], .pill[data-status="credited"] { background: var(--accent-soft); color: var(--accent-2); }
.pill[data-status="pending"] { background: #eef3f0; color: #3c4b43; }
.pill[data-status="awaiting_review"] { background: #fff4e5; color: var(--warning); }
.pill[data-status="registered"], .pill[data-status="failed"], .pill[data-status="expired"] { background: #fde8e6; color: var(--no); }
.pill[data-status="unknown"] { background: #fff7ed; color: var(--warning); }
.steps { display: flex; gap: 0.5rem; list-style: none; padding: 0; flex-wrap: wrap; }
.steps li { padding: 0.35rem 0.7rem; border-radius: 999px; background: var(--bg); border: 1px solid var(--border); color: var(--muted); font-size: 0.88rem; }
.steps .on { color: var(--accent-2); border-color: var(--accent); font-weight: 700; background: var(--accent-soft); }
.choice { display: flex; gap: 0.55rem; align-items: center; margin-bottom: 0.45rem; font-weight: 600; min-height: 44px; }
.choice input { width: 1.15rem; height: 1.15rem; min-height: 0; margin: 0; flex: none; }
.inline { display: flex; gap: 0.55rem; align-items: center; flex-wrap: wrap; }
.inline input, .inline select { margin: 0; }
form.flat button, form.flat select, form.flat input { margin-bottom: 0; }
.callout { background: var(--bg); border: 1px solid var(--border); border-left: 4px solid var(--accent); border-radius: var(--radius); padding: 0.85rem 1rem; }
.callout.warn { border-left-color: var(--warning); background: #fff7ed; }
code { font-family: var(--font-mono); font-size: 0.92em; }
.search-hero { display: flex; gap: 0.65rem; align-items: stretch; margin-top: 1.25rem; text-align: left; }
.search-hero input { min-height: 56px; border-radius: var(--radius); font-size: 1.05rem; padding: 0 1rem; background: var(--bg); }
.search-hero button { min-height: 56px; padding: 0 1.2rem; border-radius: var(--radius); flex: none; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; margin: 1.15rem 0 0; }
.chip {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-width: 92px;
  padding: 0.55rem 0.8rem 0.45rem;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  color: var(--text);
}
.chip:hover { border-color: var(--accent); }
.chip-tld { font-weight: 700; }
.chip-price { color: var(--accent); font-weight: 700; font-variant-numeric: tabular-nums; font-size: 0.92rem; }
.checks { list-style: none; padding: 0; margin: 1.15rem 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem 1.15rem; }
.checks li, .tick { display: flex; align-items: flex-start; gap: 0.4rem; }
.checks .ico, .tick .ico, .bubble .ico { color: var(--accent); flex: none; }
.quick { background: var(--bg); border: 1px solid var(--border); border-left: 4px solid var(--accent); border-radius: var(--radius); padding: 1.05rem 1.15rem 0.35rem; text-align: left; }
.quick-kicker { color: var(--accent); font-weight: 700; margin: 0 0 0.3rem; }
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; list-style: none; padding: 0; margin: 0; }
.how li, .toc {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
}
.band.mint .how li { background: var(--bg); }
.num {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  display: grid;
  place-items: center;
  font-weight: 700;
  margin-bottom: 0.55rem;
}
.toc { display: grid; grid-template-columns: 1fr 1fr; gap: 0.35rem 1.2rem; background: var(--surface); margin: 1rem 0 0; }
.toc a { color: var(--text); text-decoration: none; font-weight: 600; }
.toc a:hover { color: var(--accent); }
.faq details { border-bottom: 1px solid var(--border); padding: 0.8rem 0; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq details p { color: var(--muted); }
.cta-band { background: var(--text); color: white; text-align: center; padding: 3rem 1rem; }
.cta-band h2 { color: white; font-size: clamp(1.8rem, 3vw, 2.5rem); }
.cta-band p { color: #d7e8de; margin: 0 auto 0.9rem; max-width: 36rem; }
.site-footer { background: var(--bg); border-top: 1px solid var(--border); padding: 2.2rem 0 2.6rem; color: var(--muted); font-size: 0.92rem; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1fr 0.8fr 1.4fr; gap: 1.3rem; }
.site-footer h2 { font-size: 0.95rem; margin: 0 0 0.5rem; }
.site-footer a { display: block; color: var(--muted); text-decoration: none; padding: 0.4rem 0; min-height: 44px; }
.site-footer a:hover { color: var(--accent); }
.site-footer p { margin: 0; }
.shell-auth { min-height: 100vh; display: flex; flex-direction: column; background: var(--surface); }
.auth-bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 22px 28px 6px; }
.auth-bar .back { color: var(--text); font-weight: 600; text-decoration: none; }
.auth-bar .back:hover { color: var(--accent); }
.auth-main { flex: 1; display: flex; flex-direction: column; align-items: center; padding: 22px 16px 28px; }
.auth-stack { width: min(440px, 100%); }
.auth-main .flash { width: min(440px, 100%); margin-bottom: 14px; }
.auth-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 28px 26px 22px;
}
.auth-card h1 { font-size: clamp(22px, 5vw, 26px); line-height: 1.2; margin: 0 0 6px; }
.auth-lead { color: var(--muted); margin: 0 0 16px; }
.auth-card button[type="submit"], .auth-card .btn-block, .auth-stack > .btn-block { width: 100%; min-height: 48px; }
.forgot { display: block; text-align: center; color: var(--accent); font-weight: 700; margin: 12px 0 2px; }
.or { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; color: var(--muted); font-size: 14px; margin: 18px 0 14px; }
.or::before, .or::after { content: ""; height: 1px; background: var(--border); }
.auth-note { display: flex; gap: 8px; align-items: flex-start; color: var(--muted); font-size: 14px; margin: 16px 0 0; }
.points { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 12px; }
.points li { display: flex; gap: 10px; align-items: flex-start; }
.bubble {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  flex: none;
}
details.disclose { border-top: 1px solid var(--border); margin: 8px 0 14px; padding-top: 12px; }
details.disclose summary { cursor: pointer; color: var(--accent); font-weight: 700; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
details.disclose summary::-webkit-details-marker { display: none; }
details.disclose summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); flex: none; }
details.disclose[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.secret { position: relative; }
.secret input { padding-right: 2.7rem; }
.eye {
  position: absolute;
  right: 4px;
  top: 4px;
  min-height: 36px;
  width: 36px;
  padding: 0;
  background: transparent;
  color: var(--muted);
  border: 0;
  box-shadow: none;
}
.eye:hover { transform: none; color: var(--text); background: transparent; }
.auth-foot { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; padding: 1.2rem 1rem 1.6rem; font-size: 14px; }
.auth-foot a { color: var(--muted); }
.pre { white-space: pre-wrap; }
.below { margin-top: 1.2rem; }
.ico { display: block; }
.shell-desk { background: var(--surface); }
.desk-shell { min-height: 100vh; display: grid; grid-template-columns: 272px minmax(0, 1fr); }
.desk-side {
  background: #fff;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  padding: 0.95rem 0.75rem 1rem;
  position: sticky;
  top: 0;
  height: 100vh;
}
.desk-side .brand { margin: 0.15rem 0.35rem 0.85rem; }
.desk-nav { display: grid; gap: 0.12rem; align-content: start; }
.desk-nav a {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.48rem 0.6rem;
  min-height: 44px;
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}
.desk-nav a:hover { background: var(--surface); }
.desk-nav a[aria-current="page"] { background: var(--accent-soft); color: var(--accent-2); }
.desk-nav .ico { color: currentColor; }
.nav-label {
  margin: 0.9rem 0.6rem 0.15rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.back-site {
  margin-top: auto;
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  white-space: nowrap;
  padding: 0.75rem 0.55rem 0.15rem;
}
.back-site:hover { color: var(--accent); }
.desk-top {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1.4rem;
}
.desk-content { width: min(1080px, calc(100% - 2.4rem)); margin: 0 auto; padding: 0.2rem 0 3rem; }
.balance-stack {
  display: grid;
  justify-items: end;
  text-decoration: none;
  color: var(--text);
  line-height: 1.15;
}
.balance-stack span { color: var(--muted); font-size: 0.75rem; font-weight: 600; }
.balance-stack strong { font-variant-numeric: tabular-nums; font-size: 1.05rem; }
.who { position: relative; }
.who summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
}
.who summary::-webkit-details-marker { display: none; }
.avatar {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
}
.avatar .ico { width: 16px; height: 16px; }
.who-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.55rem;
  min-width: 190px;
  z-index: 20;
  display: grid;
  gap: 0.4rem;
  box-shadow: var(--shadow-md);
}
.who-panel a { color: var(--text); text-decoration: none; font-weight: 600; padding: 0.25rem 0.3rem; }
.page-head { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; flex-wrap: wrap; margin-bottom: 1rem; }
.page-head h1 { margin-bottom: 0.25rem; }
.page-head h2 { margin-bottom: 0; }
.empty-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  text-align: center;
  padding: 3.2rem 1.2rem 2.4rem;
}
.empty-mark {
  width: 64px;
  height: 64px;
  margin: 0 auto 0.8rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
}
.tabs { display: flex; gap: 1.15rem; border-bottom: 1px solid var(--border); margin: 0 0 1rem; }
.tabs a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 700;
  padding: 0.45rem 0;
  border-bottom: 2px solid transparent;
}
.tabs a[aria-current="page"] { color: var(--text); border-bottom-color: var(--accent); }
.setting-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.billing-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(240px, 0.8fr); gap: 0.8rem; align-items: start; }
.pending {
  background: #fff7ed;
  border: 1px solid #f3d7b5;
  border-radius: 12px;
  padding: 0.85rem 1rem 1rem;
  margin-bottom: 1rem;
}
.pending h2 { font-size: 1rem; margin-bottom: 0.35rem; }
.pending-list { list-style: none; padding: 0; margin: 0; display: grid; }
.pending-list li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
  padding: 0.65rem 0;
  border-top: 1px solid #f3d7b5;
}
.finder-tabs { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0.2rem 0 0.9rem; }
.finder-tabs a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  background: transparent;
}
.finder-tabs a[aria-current="page"] { background: #fff; color: var(--text); border: 1px solid var(--border); }
.shell-desk .search-hero { margin-top: 0; }
@media (max-width: 1180px) {
  .header-inner { flex-wrap: wrap; }
  .header-inner > .header-actions { order: 2; }
  .primary-nav { order: 4; flex: 1 1 100%; }
}
@media (max-width: 900px) {
  .header-inner { flex-wrap: wrap; padding: 0.55rem 0; gap: 0.45rem 0.65rem; width: min(1120px, calc(100% - 1.25rem)); }
  .header-inner > .header-actions { order: 2; margin-left: auto; gap: 0.4rem; }
  .primary-nav {
    display: none;
    order: 4;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.2rem 0 0.45rem;
    border-top: 1px solid var(--border);
  }
  .nav-check:checked ~ .primary-nav { display: flex; }
  .nav-toggle-btn { display: inline-flex; }
  .nav-check:checked ~ .header-actions .burger,
  .nav-check:checked ~ .desk-main .burger { background: transparent; }
  .nav-check:checked ~ .header-actions .burger::before,
  .nav-check:checked ~ .desk-main .burger::before { top: 0; transform: rotate(45deg); }
  .nav-check:checked ~ .header-actions .burger::after,
  .nav-check:checked ~ .desk-main .burger::after { top: 0; transform: rotate(-45deg); }
  .how, .footer-grid, .toc, .setting-grid, .billing-grid { grid-template-columns: 1fr; }
  .shell-desk, .desk-shell { display: block; }
  .desk-main { position: relative; z-index: 1; }
  .desk-side {
    position: fixed;
    z-index: 40;
    top: 0;
    left: 0;
    width: min(288px, 86vw);
    height: 100vh;
    height: 100dvh;
    transform: translateX(-105%);
    transition: transform 0.18s ease;
    overflow: auto;
    border-right: 1px solid var(--border);
    border-bottom: 0;
  }
  .nav-check:checked ~ .desk-side { transform: none; }
  .nav-check:checked ~ .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgb(11 15 12 / 0.45);
    z-index: 35;
  }
  .desk-nav { grid-template-columns: 1fr; }
  .back-site { margin-top: 0.6rem; }
  .desk-top { justify-content: flex-start; flex-wrap: wrap; gap: 0.5rem; padding: 0.65rem 0.85rem; }
  .desk-top .balance-stack { margin-left: auto; }
  .desk-content { width: min(1080px, calc(100% - 1.4rem)); }
  .search-hero { flex-direction: column; }
  .search-hero button { width: 100%; }
}
@media (max-width: 640px) {
  .auth-bar { padding: 16px 16px 0; flex-wrap: wrap; }
  .auth-bar .back { min-height: 44px; display: inline-flex; align-items: center; }
  .header-actions, .auth-bar .header-actions { flex-wrap: wrap; }
  .header-search { display: none; }
  .topbar { font-size: 0.8125rem; line-height: 1.45; }
  .btn-sm, .icon-btn { min-height: 44px; }
  .icon-btn { width: 44px; }
  .auth-card { padding: 22px 16px 18px; }
  .note-row, .panel .row-actions, .page-head .row-actions { flex-direction: column; align-items: stretch; }
  .row-actions > button, .row-actions > a, .row-actions > .btn { width: 100%; }
  .chip { min-height: 44px; justify-content: center; }
  .faq summary, .tabs a, .finder-tabs a { min-height: 44px; display: inline-flex; align-items: center; }
  .cart-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
  .table-scroll:has(.cart-table) { overflow: visible; border: 0; background: transparent; }
  .cart-table, .cart-table tbody, .cart-table tr, .cart-table td { display: block; width: 100%; }
  .cart-table tr {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin: 0 0 0.8rem;
    padding: 0.75rem 0.85rem;
  }
  .cart-table td { border: 0; padding: 0.15rem 0; }
  .cart-name { font-weight: 700; font-size: 1.05rem; }
  .pay-steps { flex-direction: column; align-items: flex-start; }
  .exact-amount { font-size: 1.45rem; }
  .addr-clip { max-width: 100%; margin-left: 0; }
  .header-inner { align-items: center; }
  .brand { flex: 1 1 auto; min-width: 0; }
  .brand-name { overflow: visible; text-overflow: clip; white-space: nowrap; max-width: none; font-size: 1.02rem; }
  .header-actions { flex: 1 1 100%; margin-left: 0; justify-content: flex-start; }
  .who-panel { max-width: calc(100vw - 1.5rem); }
  .lang select { max-width: 8.2rem; }
}

.shell-console { background: #f3f7f4; }
.console { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: 100vh; }
.console-side {
  background: #fff;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  padding: 1.15rem 0.85rem 0.85rem;
  position: sticky;
  top: 0;
  height: 100vh;
}
.console-side .brand { padding: 0 0.45rem; }
.side-nav { display: flex; flex-direction: column; gap: 0.12rem; margin-top: 1.15rem; overflow: auto; }
.side-label {
  margin: 0.95rem 0.7rem 0.2rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8aa094;
  font-weight: 700;
}
.side-nav a {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.48rem 0.65rem;
  border-radius: 9px;
  color: #243028;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
.side-nav a svg { flex: none; }
.side-nav a:hover { background: #f4faf6; }
.side-nav a[aria-current="page"] { background: var(--accent-soft); color: var(--accent-2); }
.side-back {
  margin-top: auto;
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.75rem 0.65rem 0.2rem;
}
.console-top {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.75rem;
  min-height: 68px;
  padding: 0.75rem 1.5rem;
}
.console-body { padding: 0.2rem 1.5rem 3rem; width: min(1080px, 100%); }
.bal-chip {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-decoration: none;
  color: inherit;
  line-height: 1.15;
}
.bal-chip span { font-size: 0.72rem; color: var(--muted); font-weight: 600; }
.bal-chip strong { font-variant-numeric: tabular-nums; font-size: 0.98rem; }
.account-menu { position: relative; }
.account-menu summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
}
.account-menu summary::-webkit-details-marker { display: none; }
.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
}
.avatar svg { width: 16px; height: 16px; }
.acct-tail { color: #243028; letter-spacing: 0.04em; }
.account-pop {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  min-width: 190px;
  padding: 0.4rem;
  box-shadow: var(--shadow-md);
  z-index: 5;
  display: grid;
  gap: 0.25rem;
}
.account-pop a, .account-pop button { width: 100%; justify-content: flex-start; text-decoration: none; }
.page-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin: 0 0 1rem; }
.page-head h1 { margin: 0; font-size: 1.7rem; }
.page-head p { margin: 0.35rem 0 0; }
.page-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.back-link { display: inline-flex; color: var(--muted); text-decoration: none; font-weight: 600; font-size: 0.92rem; margin-bottom: 0.4rem; }
.back-link:hover { color: var(--accent); }
.title-line { display: flex; align-items: center; gap: 0.7rem; flex-wrap: wrap; }
.title-line h1 { margin: 0; }
.empty-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  min-height: 280px;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  padding: 2.5rem 1.2rem;
  gap: 0.35rem;
}
.empty-card h2 { margin: 0.2rem 0; }
.empty-card p { margin: 0; }
.empty-ico {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 0.35rem;
}
.topup-layout, .pay-layout, .bill-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 1rem;
  align-items: start;
}
.topup-main { display: grid; gap: 1rem; }
.summary-card { position: sticky; top: 1rem; }
.summary-card h2, .pay-card h2, .panel h2 { font-size: 1.05rem; }
.presets { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.2rem 0 0.9rem; }
.preset, .chip-btn {
  min-height: 40px;
  padding: 0.35rem 0.9rem;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  background: #fff;
  color: var(--text);
  font-weight: 600;
  box-shadow: none;
  text-decoration: none;
}
.preset:hover, .chip-btn:hover { transform: none; background: #f7fbf8; }
.preset.is-on, .preset[aria-pressed="true"] {
  border-color: var(--accent);
  color: var(--accent-2);
  box-shadow: inset 0 0 0 1px var(--accent);
}
.field-label { font-weight: 700; margin: 0.2rem 0 0.55rem; }
.amount-field {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  border: 1.5px solid var(--border-strong);
  border-radius: 10px;
  background: #fff;
  padding: 0 0.85rem;
  min-height: 52px;
}
.amount-field:focus-within { border-color: var(--accent); box-shadow: var(--focus-ring); }
.amount-field input {
  border: 0;
  box-shadow: none;
  min-height: 48px;
  padding: 0.4rem 0;
  background: transparent;
}
.amount-field .suffix { color: var(--muted); font-weight: 700; }
.coin-grid, .net-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.65rem; }
.net-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin-top: 0.45rem; }
.coin-card, .net-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: #fff;
  padding: 0.75rem 0.8rem;
  cursor: pointer;
  min-height: 72px;
}
.coin-card input, .net-card input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}
.coin-card:has(input:checked),
.net-card:has(input:checked),
.picker:has(#net-usdt-trc20:checked) .coin-card[data-family="usdt"],
.picker:has(#net-usdt-erc20:checked) .coin-card[data-family="usdt"],
.picker:has(#net-usdt-bep20:checked) .coin-card[data-family="usdt"],
.picker:has(#net-usdc-erc20:checked) .coin-card[data-family="usdc"],
.picker:has(#net-usdc-bep20:checked) .coin-card[data-family="usdc"] {
  border-color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent);
  background: #f7fcf8;
}
.coin-badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  flex: none;
}
.tone-btc { background: #f7931a; }
.tone-usdt { background: #26a17b; }
.tone-usdc { background: #2775ca; }
.tone-eth { background: #627eea; }
.tone-ltc { background: #345d9d; }
.tone-bch { background: #0ac18e; }
.tone-bnb { background: #f3ba2f; color: #1c1402; }
.tone-xmr { background: #ff6600; }
.tone-trx { background: #ef0027; }
.coin-copy { display: grid; min-width: 0; }
.coin-name { font-weight: 700; }
.coin-name span { font-weight: 600; color: var(--muted); }
.coin-eta { color: var(--muted); font-size: 0.82rem; }
.tick {
  display: none;
  margin-left: auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  place-items: center;
  flex: none;
}
.tick svg { width: 14px; height: 14px; }
.coin-card:has(input:checked) .tick,
.net-card:has(input:checked) .tick,
.picker:has(#net-usdt-trc20:checked) .coin-card[data-family="usdt"] .tick,
.picker:has(#net-usdt-erc20:checked) .coin-card[data-family="usdt"] .tick,
.picker:has(#net-usdt-bep20:checked) .coin-card[data-family="usdt"] .tick,
.picker:has(#net-usdc-erc20:checked) .coin-card[data-family="usdc"] .tick,
.picker:has(#net-usdc-bep20:checked) .coin-card[data-family="usdc"] .tick { display: grid; }
.net-panel { display: none; margin-top: 1rem; }
.picker:has(#net-usdt-trc20:checked) .net-panel[data-family="usdt"],
.picker:has(#net-usdt-erc20:checked) .net-panel[data-family="usdt"],
.picker:has(#net-usdt-bep20:checked) .net-panel[data-family="usdt"],
.picker:has(#net-usdc-erc20:checked) .net-panel[data-family="usdc"],
.picker:has(#net-usdc-bep20:checked) .net-panel[data-family="usdc"] { display: block; }
.net-panel h3 { font-size: 0.95rem; margin: 0 0 0.15rem; }
.summary-dl { margin: 0; }
.summary-dl div { display: flex; justify-content: space-between; gap: 0.8rem; padding: 0.45rem 0; border-bottom: 1px solid var(--border); }
.summary-dl dt { color: var(--muted); font-weight: 600; }
.summary-dl dd { margin: 0; text-align: right; font-weight: 700; letter-spacing: 0; }
.summary-dl .addr-row { align-items: flex-start; }
.addr-clip { display: flex; align-items: flex-start; justify-content: flex-end; gap: 0.15rem; max-width: 230px; margin-left: auto; }
.addr-clip .mono { letter-spacing: 0; word-break: break-all; text-align: right; line-height: 1.35; font-weight: 600; font-size: 0.82rem; }
.you-add { display: flex; justify-content: space-between; align-items: baseline; margin: 0.8rem 0; font-weight: 700; }
.you-add strong { font-size: 1.35rem; }
.summary-notes { list-style: none; padding: 0; margin: 0.9rem 0 0; display: grid; gap: 0.55rem; color: var(--muted); font-size: 0.86rem; }
.summary-notes li { padding-left: 1.1rem; position: relative; }
.summary-notes li::before { content: ""; position: absolute; left: 0; top: 0.45rem; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.seller { margin-top: 0.8rem; }
.preset-links { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.preset-label { margin-bottom: 0.4rem; }
.balance-figure { font-size: 2.4rem; font-weight: 700; letter-spacing: -0.04em; margin: 0.2rem 0 0.6rem; }
.how-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.75rem; }
.how-list li { display: flex; gap: 0.6rem; color: var(--muted); }
.how-ico { width: 1.4rem; color: var(--accent); font-weight: 700; flex: none; }
.wait-banner {
  background: #f8f3ea;
  border: 1px solid #eadcc4;
  border-radius: 14px;
  padding: 0.9rem 1rem 0.4rem;
  margin-bottom: 1rem;
}
.wait-banner h2 { font-size: 1rem; display: flex; align-items: center; gap: 0.45rem; }
.wait-banner h2 span {
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #c47b12;
  color: #fff;
  font-size: 0.75rem;
}
.wait-banner ul { list-style: none; padding: 0; margin: 0; }
.wait-banner li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  padding: 0.7rem 0;
  border-top: 1px solid #eadcc4;
}
.bill-grid { margin-bottom: 1rem; }
.ledger-card { margin-top: 0; }
.list-card { background: #fff; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.list-card > header { padding: 0.9rem 1rem; border-bottom: 1px solid var(--border); }
.status-filter { padding: 0.85rem 1rem 0.2rem; max-width: 280px; }
.table-scroll.bare { border: 0; border-radius: 0; }
.empty-copy { padding: 0 1rem 1rem; }
.row-title { display: block; font-weight: 700; text-decoration: none; color: inherit; }
.sent-with { display: flex; gap: 0.45rem; align-items: flex-start; }
.mini-coin, .sent-with .coin-badge { width: 22px; height: 22px; font-size: 0.72rem; }
.pay-card-head, .exact-row { display: flex; justify-content: space-between; align-items: center; gap: 0.6rem; }
.pay-steps { list-style: none; display: flex; gap: 0.35rem 0.8rem; flex-wrap: wrap; padding: 0.2rem 0 0.8rem; margin: 0 0 0.4rem; border-bottom: 1px solid var(--border); }
.pay-steps li { display: flex; align-items: center; gap: 0.4rem; color: #8aa094; font-weight: 600; font-size: 0.92rem; }
.pay-steps .n { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--border-strong); font-size: 0.75rem; }
.pay-steps li.on { color: var(--text); }
.pay-steps li.on .n, .pay-steps li.done .n { background: var(--accent); color: #fff; border-color: var(--accent); }
.pay-steps li.done { color: var(--accent-2); }
.pay-steps .n svg { width: 13px; height: 13px; }
.pay-body { display: grid; grid-template-columns: 184px minmax(0, 1fr); gap: 1rem; align-items: start; }
.qr-box { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 8px; }
.qr-box svg { width: 168px; height: auto; display: block; }
.kicker { display: flex; align-items: center; gap: 0.35rem; color: var(--muted); font-weight: 600; font-size: 0.86rem; margin: 0 0 0.2rem; }
.exact-amount { font-size: 1.85rem; letter-spacing: -0.03em; }
.addr-text { word-break: break-all; font-weight: 600; letter-spacing: 0; }
.addr-hint { font-weight: 700; }
.icon-btn {
  min-height: 34px;
  width: 34px;
  padding: 0;
  background: transparent;
  color: var(--muted);
  border: 0;
  box-shadow: none;
  flex: none;
}
.icon-btn:hover { transform: none; color: var(--accent); background: var(--accent-soft); }
.icon-btn.copied { color: var(--accent); }
.scan-note { color: var(--muted); font-size: 0.92rem; }
.notice { background: #f6f8f7; border-radius: 12px; padding: 0.75rem 0.9rem; margin: 0.6rem 0; }
.notice p { margin: 0 0 0.25rem; }
.notice p:last-child { margin: 0; }
.sent-btn { margin-top: 0.4rem; }
.sent-note {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--accent-soft);
  color: var(--accent-2);
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  font-weight: 700;
}
.center { text-align: center; }
.note-form { margin-top: 0.8rem; }
.note-row { display: flex; gap: 0.45rem; align-items: center; }
.note-row input { flex: 1; }
@media (max-width: 980px) {
  .console { grid-template-columns: 1fr; }
  .console-side { position: static; height: auto; border-right: 0; border-bottom: 1px solid var(--border); }
  .side-nav { flex-direction: row; flex-wrap: wrap; margin-top: 0.8rem; }
  .side-label, .side-back { width: 100%; }
  .topup-layout, .pay-layout, .bill-grid, .pay-body, .coin-grid { grid-template-columns: 1fr; }
  .summary-card { position: static; }
  .console-body, .console-top { padding-left: 1rem; padding-right: 1rem; }
  .page-head { flex-direction: column; }
  .flow-split, .setting-grid, .stat-grid { grid-template-columns: 1fr; }
  .flow-bar, .flow-foot { padding-left: 1rem; padding-right: 1rem; }
}

.shell-flow { background: var(--surface); color: var(--text); }
.flow-bar, .flow-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1rem 0;
}
.flow-tools, .flow-foot { display: flex; align-items: center; gap: 0.9rem; flex-wrap: wrap; }
.flow-tools a, .flow-foot a, .menu-btn {
  color: var(--text);
  background: transparent;
  border: 0;
  font: inherit;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
  padding: 0;
}
.flow-main { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; padding-bottom: 3rem; }
.flow-foot { justify-content: center; color: var(--muted); font-size: 0.92rem; border-top: 1px solid var(--border); margin-top: 2rem; }
.flow-split { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 1rem; align-items: start; }
.flow-steps { list-style: none; display: flex; gap: 0.8rem; padding: 0; margin: 0 0 1rem; flex-wrap: wrap; color: var(--muted); }
.flow-steps a { color: inherit; text-decoration: none; font-weight: 700; }
.flow-steps .n { display: inline-grid; place-items: center; width: 1.4rem; height: 1.4rem; border-radius: 999px; border: 1px solid var(--border-strong); margin-right: 0.25rem; font-size: 0.75rem; }
.flow-steps .on { color: var(--text); }
.flow-steps .on .n, .flow-steps .done .n { background: var(--accent); color: white; border-color: var(--accent); }
.cart-rail, .summary-card { position: sticky; top: 1rem; }
.rail-lines { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; }
.rail-lines li, .rail-total, .secret-row, .switch-row, .protect-list li, .page-head.spread, .spread {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
}
.rail-total { margin-top: 0.6rem; font-size: 1.05rem; }
.stack { display: grid; gap: 0.8rem; }
.option-card, .ext-chip {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
  margin: 0.45rem 0;
  background: white;
}
.option-card:has(input:checked) { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.option-card em { margin-left: auto; font-style: normal; font-weight: 700; }
.chip-row, .catalog-tools, .transfer-row, .inline { display: flex; flex-wrap: wrap; gap: 0.45rem; align-items: center; }
.ext-chip { width: auto; margin: 0; padding: 0.35rem 0.6rem; border-radius: 999px; }
.catalog-tools { margin: 0.6rem 0; }
.catalog-tools label { display: grid; gap: 0.2rem; font-size: 0.85rem; color: var(--muted); }
.show-more { margin-top: 0.6rem; }
.cart-line { border-top: 1px solid var(--border); padding-top: 0.8rem; margin-top: 0.8rem; }
.cart-line:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.switch-row input { width: 2.4rem; height: 1.3rem; }
.callout { background: #f4f7f5; border-radius: 12px; padding: 0.8rem 0.9rem; margin: 0.7rem 0; }
.callout.warn { background: #fbf6ee; }
.callout.err { background: #fdecec; color: #7f1d1d; }
.danger-card { border-color: #f0c2c2; }
.btn-danger, button.btn-danger {
  background: #b42318;
  color: white;
  border: 0;
}
button:disabled,
.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.modal {
  border: 0;
  border-radius: 16px;
  padding: 1rem 1.1rem;
  width: min(520px, calc(100% - 2rem));
  box-shadow: var(--shadow-md);
}
.modal::backdrop { background: rgb(11 15 12 / 45%); }
.who-number, .who-panel .menu-btn { display: flex; justify-content: space-between; align-items: center; gap: 0.4rem; text-align: left; }
.who-panel { min-width: 230px; }
.protect-list, .check-list, .ticket-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.7rem; }
.check-list { gap: 0.35rem; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th, .data-table td { text-align: left; padding: 0.45rem 0; border-bottom: 1px solid var(--border); font-weight: 600; }
.data-table th { color: var(--muted); font-weight: 600; width: 46%; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.stat .acct { font-size: 1.6rem; margin: 0.2rem 0; }
.secret-row { flex-wrap: wrap; }
.secret-row .acct {
  margin: 0;
  letter-spacing: 0.04em;
  white-space: nowrap;
  flex: 1 0 auto;
  font-size: 1.05rem;
}
.transfer-head, .transfer-row { display: grid; grid-template-columns: 1.5rem 1fr 1fr auto; gap: 0.45rem; align-items: center; }
.transfer-head { color: var(--muted); font-size: 0.85rem; font-weight: 700; }
.empty-panel.tight { padding: 1.5rem 1rem; }
.legal-stub { max-width: 720px; margin: 1rem auto; }
.pay-amount { display: flex; gap: 0.6rem; align-items: center; flex-wrap: wrap; }
.email-add summary { width: fit-content; list-style: none; }
.email-add summary::-webkit-details-marker { display: none; }
.email-add form { margin-top: 0.8rem; }