/* ============================================================
   无阻云 WUZU CLOUD · Liquid Glass Design System
   iOS 26 inspired (mobile) + macOS inspired (desktop)
   ============================================================ */

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html { -webkit-text-size-adjust: 100%; }

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #121212;
  --bg-2: #1a1b1e;
  --text: #e8eaed;
  --muted: #9aa0a6;
  --dim: #5f6368;
  --glass: rgba(30, 30, 30, .62);
  --glass-strong: rgba(24, 24, 24, .84);
  --glass-soft: rgba(255, 255, 255, .045);
  --glass-hover: rgba(255, 255, 255, .075);
  --stroke: rgba(255, 255, 255, .09);
  --stroke-strong: rgba(255, 255, 255, .18);
  --inset: rgba(255, 255, 255, .1);
  --field: rgba(120, 120, 128, .18);
  --shadow: 0 20px 50px rgba(0, 0, 0, .5);
  --shadow-soft: 0 8px 24px rgba(0, 0, 0, .3);
  --blue: #8ab4f8;
  --blue-2: #aecbfa;
  --on-blue: #062e6f;
  --green: #81c995;
  --orange: #fdd663;
  --red: #f28b82;
  --purple: #9aa0a6;
  --teal: #d2e3fc;
  --pink: #f28b82;
  --qr-bg: #fff;
  --qr-fg: #121212;
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #f8f9fa;
  --bg-2: #ffffff;
  --text: #202124;
  --muted: #5f6368;
  --dim: #80868b;
  --glass: rgba(255, 255, 255, .68);
  --glass-strong: rgba(255, 255, 255, .88);
  --glass-soft: rgba(255, 255, 255, .5);
  --glass-hover: rgba(255, 255, 255, .82);
  --stroke: rgba(32, 33, 36, .08);
  --stroke-strong: rgba(32, 33, 36, .16);
  --inset: rgba(255, 255, 255, .9);
  --field: rgba(32, 33, 36, .06);
  --shadow: 0 18px 44px rgba(32, 33, 36, .1);
  --shadow-soft: 0 6px 20px rgba(32, 33, 36, .07);
  --blue: #1a73e8;
  --blue-2: #1557b0;
  --on-blue: #ffffff;
  --green: #188038;
  --orange: #b06000;
  --red: #d93025;
  --purple: #5f6368;
  --teal: #1a73e8;
  --pink: #d93025;
  --qr-bg: #fff;
  --qr-fg: #202124;
}

:root {
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --r-xl: 30px;
  --r-lg: 22px;
  --r-md: 16px;
  --r-sm: 12px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

html { background: var(--bg); }
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: transparent;
  color: var(--text);
  font: 16px/1.55 var(--font);
  letter-spacing: -.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Quiet paper backdrop — no colour wash, no motion */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(58% 38% at 50% -8%, rgba(138, 180, 248, .09), transparent 72%),
    linear-gradient(180deg, var(--bg-2), var(--bg) 62%);
}
html[data-theme="light"] body::before {
  background:
    radial-gradient(58% 38% at 50% -8%, rgba(26, 115, 232, .06), transparent 72%),
    linear-gradient(180deg, #ffffff, var(--bg) 62%);
}

a { color: var(--blue); text-decoration: none; }
p { margin: 0 0 8px; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -.02em; }
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
img, svg { vertical-align: middle; }

.hidden { display: none !important; }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.small { font-size: 14px; }
.tiny { font-size: 12px; }
.ok { color: var(--green); }
.warn { color: var(--orange); }
.err { color: var(--red); }
.mono { font-family: var(--mono); }
.center { text-align: center; }

.large-title { font-size: 34px; line-height: 1.15; font-weight: 800; letter-spacing: -.035em; }
.title2 { font-size: 24px; line-height: 1.2; font-weight: 750; letter-spacing: -.025em; }
.headline { font-size: 17px; font-weight: 650; letter-spacing: -.015em; }
.subhead { font-size: 15px; color: var(--muted); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted);
}
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 14px; margin: 30px 0 14px; }
.section-head h2 { font-size: 24px; letter-spacing: -.03em; }
.section-head p { margin: 4px 0 0; font-size: 13px; color: var(--muted); }

/* ---------- glass ---------- */
.glass, .card, .sidebar, .toolbar, .tabbar, .plan-card, .widget, .login-card, .sheet, .toast, .list, .dl-card, .node-card, .seg, .toolbar-search {
  background: var(--glass);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow-soft), inset 0 1px 0 var(--inset);
}
.card {
  border-radius: var(--r-xl);
  padding: 22px;
  box-shadow: var(--shadow), inset 0 1px 0 var(--inset);
}
.card + .card { margin-top: 14px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.card-head h2 { font-size: 20px; letter-spacing: -.02em; }
.card-head .hint { font-size: 12px; color: var(--muted); }

/* ---------- layout ---------- */
.layout { display: flex; min-height: 100vh; }

.sidebar {
  position: fixed; z-index: 40;
  inset: 14px auto 14px 14px;
  width: 246px;
  border-radius: 26px;
  padding: 18px 14px;
  display: flex; flex-direction: column; gap: 6px;
  background: var(--glass-strong);
  box-shadow: var(--shadow), inset 0 1px 0 var(--inset);
  overflow: auto;
}
.brand { display: flex; align-items: center; gap: 11px; padding: 4px 8px 18px; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 12px; flex: none;
  background: linear-gradient(145deg, rgba(255,255,255,.16), rgba(255,255,255,.04) 45%, rgba(138,180,248,.12));
  border: 1px solid var(--stroke-strong);
  box-shadow: inset 0 1px 1px rgba(255,255,255,.3), var(--shadow-soft);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 15px; letter-spacing: -.06em;
  color: var(--text);
  position: relative; overflow: hidden;
}
.brand-mark::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.55) 48%, transparent 60%);
  transform: translateX(-120%);
  animation: sheen 7s ease-in-out infinite;
}
@keyframes sheen { 0%, 62% { transform: translateX(-120%); } 82%, 100% { transform: translateX(120%); } }
.brand-word { display: flex; flex-direction: column; line-height: 1.1; }
.brand-word b { font-size: 18px; letter-spacing: -.02em; }
.brand-word small { font-size: 9.5px; color: var(--dim); letter-spacing: .16em; text-transform: uppercase; margin-top: 3px; }
.brand-word span { font-size: 10px; color: var(--dim); letter-spacing: .12em; text-transform: uppercase; margin-top: 3px; }

.nav { display: flex; flex-direction: column; gap: 2px; }
.nav .grp { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); padding: 14px 12px 6px; font-weight: 700; }
.nav a {
  display: flex; align-items: center; gap: 11px;
  padding: 9px 12px; border-radius: 12px;
  color: var(--muted); font-size: 14px; font-weight: 500;
  transition: background .16s var(--ease), color .16s var(--ease), transform .16s var(--ease);
}
.nav a:hover { background: var(--glass-hover); color: var(--text); }
.nav a.active {
  background: rgba(138, 180, 248, .12);
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(138, 180, 248, .24);
}
.nav .ico { width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; opacity: .92; }
.side-foot { margin-top: auto; padding: 14px 10px 4px; border-top: 1px solid var(--stroke); font-size: 11px; color: var(--dim); line-height: 1.7; }
.side-foot .ver { font-family: var(--mono); font-size: 10px; opacity: .8; }

.main { flex: 1; min-width: 0; margin-left: 274px; display: flex; flex-direction: column; }
.toolbar {
  position: sticky; top: 0; z-index: 30;
  height: 66px; padding: 0 30px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: color-mix(in srgb, var(--glass) 72%, transparent);
  border: 0; border-bottom: 1px solid var(--stroke);
  box-shadow: none; border-radius: 0;
}
.toolbar-title { font-size: 17px; font-weight: 700; letter-spacing: -.02em; }
.toolbar-actions { display: flex; align-items: center; gap: 9px; }
.who { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--muted); }
.avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--blue);
  color: var(--on-blue); font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-soft);
}
.icon-btn {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--stroke);
  background: var(--glass-soft);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--muted);
  transition: .16s var(--ease);
}
.icon-btn:hover { background: var(--glass-hover); color: var(--text); transform: translateY(-1px); }

.content { width: 100%; max-width: 1160px; margin: 0 auto; padding: 30px 30px 90px; }

/* ---------- mobile tab bar ---------- */
.tabbar {
  display: none;
  position: fixed; z-index: 50;
  left: 12px; right: 12px; bottom: calc(10px + var(--safe-bottom));
  height: 64px; padding: 6px 8px;
  border-radius: 24px;
  background: var(--glass-strong);
  box-shadow: var(--shadow), inset 0 1px 0 var(--inset);
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
}
.tabbar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  color: var(--dim); font-size: 10px; font-weight: 600; letter-spacing: .01em;
  border-radius: 16px; padding: 6px 0; transition: .16s var(--ease);
}
.tabbar a.active { color: var(--blue); background: rgba(138,180,248,.1); }
.tabbar .ico { width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  border-radius: var(--r-xl);
  padding: 34px;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(138,180,248,.10), transparent 55%),
    radial-gradient(100% 120% at 100% 0%, rgba(154,160,166,.06), transparent 55%),
    var(--glass);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow), inset 0 1px 0 var(--inset);
}
.hero::after {
  content: ""; position: absolute; width: 300px; height: 300px; right: -80px; top: -120px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(255,255,255,.5), rgba(255,255,255,.06) 42%, transparent 62%);
  filter: blur(2px); opacity: .5; pointer-events: none;
}
.hero h1 { font-size: 42px; line-height: 1.1; letter-spacing: -.045em; margin: 12px 0 10px; max-width: 720px; }
.hero h1 em { font-style: normal; white-space: nowrap; color: var(--blue); background: none; -webkit-text-fill-color: currentColor; }
.hero p.lead { color: var(--muted); font-size: 16px; max-width: 640px; margin: 0; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.hero-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 11px; border-radius: 999px;
  background: var(--glass-soft); border: 1px solid var(--stroke);
  font-size: 12px; color: var(--muted);
}
.chip b { color: var(--text); font-weight: 650; }
.chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }

.hero-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 26px; align-items: end; }
.hero-offer {
  border-radius: 24px; padding: 22px;
  background: var(--glass-strong);
  border: 1px solid var(--stroke-strong);
  box-shadow: var(--shadow-soft), inset 0 1px 0 var(--inset);
}
.hero-offer .tag { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.hero-offer .price { font-size: 40px; font-weight: 800; letter-spacing: -.05em; margin: 4px 0 2px; }
.hero-offer .price small { font-size: 14px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.hero-offer .desc { font-size: 12.5px; color: var(--muted); }
.hero-offer .btn { width: 100%; margin-top: 14px; }

.greeting { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.greeting .large-title { margin-top: 4px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px;
  border-radius: 999px; border: 1px solid transparent;
  background: var(--blue);
  color: var(--on-blue); font-size: 15px; font-weight: 650; letter-spacing: -.01em;
  cursor: pointer; white-space: nowrap;
  box-shadow: 0 8px 22px rgba(0,0,0,.28);
  transition: transform .16s var(--spring), box-shadow .16s var(--ease), background .16s var(--ease), opacity .16s;
}
.btn:hover { transform: translateY(-1.5px); background: var(--blue-2); box-shadow: 0 12px 28px rgba(0,0,0,.34); }
.btn:active { transform: scale(.98); }
.btn.secondary {
  background: var(--glass-soft);
  color: var(--text);
  border-color: var(--stroke);
  box-shadow: inset 0 1px 0 var(--inset);
}
.btn.secondary:hover { background: var(--glass-hover); box-shadow: var(--shadow-soft), inset 0 1px 0 var(--inset); }
.btn.ghost { background: transparent; color: var(--muted); border-color: transparent; box-shadow: none; }
.btn.ghost:hover { background: var(--glass-soft); color: var(--text); }
.btn.danger { background: rgba(242,139,130,.14); color: var(--red); border-color: rgba(242,139,130,.32); box-shadow: none; }
.btn.danger:hover { background: rgba(242,139,130,.22); }
.btn.small { min-height: 34px; padding: 0 13px; font-size: 13px; }
.btn.tiny { min-height: 29px; padding: 0 11px; font-size: 12px; }
.btn.block { width: 100%; }
.btn:disabled, .btn.disabled { opacity: .38; cursor: not-allowed; transform: none !important; box-shadow: none !important; }
.btn .ico { display: inline-flex; }

/* ---------- fields ---------- */
.field { margin-top: 12px; }
.field label { display: block; font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 6px; letter-spacing: .01em; }
.input {
  width: 100%; min-height: 48px; padding: 12px 15px;
  border-radius: 14px;
  background: var(--field);
  border: 1px solid transparent;
  color: var(--text);
  outline: none;
  transition: .16s var(--ease);
  font-size: 15px;
}
.input::placeholder { color: var(--dim); }
.input:focus { background: var(--glass-soft); border-color: rgba(138,180,248,.6); box-shadow: 0 0 0 4px rgba(138,180,248,.14); }
.formrow { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.formrow .field { flex: 1; min-width: 180px; margin-top: 0; }
.formrow .btn { flex: none; }

/* ---------- segmented ---------- */
.seg {
  display: inline-flex; gap: 2px; padding: 3px;
  border-radius: 13px;
  background: var(--field);
  border: 1px solid var(--stroke);
  box-shadow: inset 0 1px 2px rgba(0,0,0,.12);
}
.seg button {
  border: 0; background: transparent; color: var(--muted);
  padding: 7px 14px; border-radius: 10px;
  font-size: 13px; font-weight: 600; cursor: pointer;
  transition: .16s var(--ease);
}
.seg button.active {
  background: var(--glass-strong);
  color: var(--text);
  box-shadow: 0 2px 8px rgba(0,0,0,.16), inset 0 1px 0 var(--inset);
}
.seg.wide { display: flex; width: 100%; }
.seg.wide button { flex: 1; }

/* ---------- widgets / ring ---------- */
.widget-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.widget {
  border-radius: 24px; padding: 18px;
  box-shadow: var(--shadow-soft), inset 0 1px 0 var(--inset);
  min-height: 120px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.widget small { display: block; font-size: 11px; color: var(--dim); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.widget b { font-size: 22px; font-weight: 750; letter-spacing: -.03em; margin-top: 6px; display: block; }
.widget .sub { font-size: 12px; color: var(--muted); margin-top: 4px; }
.widget.wide { grid-column: span 2; }
.widget.accent { background: linear-gradient(160deg, rgba(138,180,248,.10), rgba(154,160,166,.05) 60%, var(--glass)); }
.widget.row { flex-direction: row; align-items: center; gap: 16px; }
.ring { position: relative; flex: none; display: flex; align-items: center; justify-content: center; }
.ring svg { transform: rotate(-90deg); display: block; }
.ring .ring-label { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.ring .ring-label b { font-size: 17px; letter-spacing: -.03em; }
.ring .ring-label span { font-size: 9px; color: var(--dim); letter-spacing: .06em; text-transform: uppercase; }
.bar { height: 8px; border-radius: 999px; background: rgba(120,120,128,.24); overflow: hidden; margin-top: 8px; }
.bar span { display: block; height: 100%; border-radius: 999px; background: var(--blue); transition: width .6s var(--ease); }

.metrics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.metric { border-radius: 16px; padding: 12px 14px; background: var(--glass-soft); border: 1px solid var(--stroke); }
.metric small { display: block; font-size: 11px; color: var(--dim); margin-bottom: 4px; }
.metric b { font-size: 15px; font-weight: 650; letter-spacing: -.01em; }
.metric .sub { font-size: 11px; color: var(--muted); margin-top: 2px; }

/* ---------- badges / pills ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 9px; border-radius: 999px;
  font-size: 11px; font-weight: 650; letter-spacing: .01em;
  background: rgba(138,180,248,.14); color: var(--blue);
  border: 1px solid rgba(138,180,248,.24);
}
.badge.green { background: rgba(129,201,149,.13); color: var(--green); border-color: rgba(129,201,149,.26); }
.badge.orange { background: rgba(253,214,99,.13); color: var(--orange); border-color: rgba(253,214,99,.26); }
.badge.red { background: rgba(242,139,130,.12); color: var(--red); border-color: rgba(242,139,130,.26); }
.badge.gray { background: var(--glass-soft); color: var(--muted); border-color: var(--stroke); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.dot.off { background: var(--red); }
.dot.idle { background: var(--orange); }

/* ---------- list groups ---------- */
.list { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-soft), inset 0 1px 0 var(--inset); }
.list-row {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--stroke);
  background: transparent;
  transition: background .14s var(--ease);
  color: var(--text);
}
.list-row:last-child { border-bottom: 0; }
.list-row:hover { background: var(--glass-soft); }
.list-row .grow { flex: 1; min-width: 0; }
.list-row .t { font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.list-row .s { font-size: 12px; color: var(--muted); margin-top: 2px; }
.list-row .v { font-size: 14px; color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }
.list-row .chev { color: var(--dim); flex: none; }
.list-ico {
  width: 34px; height: 34px; border-radius: 10px; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: rgba(138,180,248,.14); color: var(--blue);
}
.list-ico.green { background: rgba(129,201,149,.13); color: var(--green); }
.list-ico.orange { background: rgba(253,214,99,.13); color: var(--orange); }
.list-ico.purple { background: rgba(154,160,166,.13); color: var(--purple); }
.list-ico.red { background: rgba(242,139,130,.12); color: var(--red); }

/* ---------- plans ---------- */
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.plan-card {
  position: relative;
  border-radius: var(--r-xl);
  padding: 22px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform .22s var(--spring), box-shadow .22s var(--ease), border-color .22s var(--ease);
  box-shadow: var(--shadow), inset 0 1px 0 var(--inset);
}
.plan-card:hover { transform: translateY(-4px); border-color: var(--stroke-strong); }
.plan-card.featured {
  border-color: rgba(138,180,248,.55);
  box-shadow: var(--shadow), inset 0 1px 0 var(--inset);
  background:
    radial-gradient(120% 100% at 50% 0%, rgba(138,180,248,.08), transparent 60%),
    var(--glass);
}
.plan-card .fav {
  position: absolute; top: -12px; left: 22px;
  padding: 4px 11px; border-radius: 999px;
  background: var(--blue);
  color: var(--on-blue); font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  box-shadow: 0 6px 16px rgba(0,0,0,.28);
}
.plan-name { font-size: 21px; font-weight: 750; letter-spacing: -.025em; }
.plan-name span { font-size: 12px; font-weight: 500; color: var(--muted); margin-left: 6px; letter-spacing: 0; }
.plan-desc { font-size: 12.5px; color: var(--muted); min-height: 36px; margin-top: 4px; }
.plan-feats { display: flex; flex-wrap: wrap; gap: 6px; }
.feat { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; color: var(--muted); background: var(--glass-soft); border: 1px solid var(--stroke); padding: 4px 8px; border-radius: 8px; }
.plan-price { display: flex; align-items: flex-end; gap: 6px; margin-top: auto; }
.plan-price b { font-size: 38px; line-height: 1; font-weight: 800; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.plan-price span { font-size: 12px; color: var(--muted); padding-bottom: 4px; }
.plan-per { font-size: 11.5px; color: var(--dim); margin-top: -6px; }
.plan-card .btn { width: 100%; }
.plan-periods { display: flex; }
.plan-periods .seg { width: 100%; }
.plan-periods .seg button { flex: 1; padding: 6px 4px; font-size: 11.5px; }

/* ---------- payments ---------- */
.pay-opts { display: flex; flex-direction: column; gap: 10px; }
.pay-opt {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border-radius: 16px;
  background: var(--glass-soft); border: 1px solid var(--stroke);
  cursor: pointer; transition: .16s var(--ease);
}
.pay-opt:hover { background: var(--glass-hover); }
.pay-opt.active { border-color: rgba(138,180,248,.6); background: rgba(138,180,248,.1); box-shadow: 0 0 0 3px rgba(138,180,248,.1); }
.pay-opt .grow { flex: 1; }
.pay-opt b { font-size: 14px; }
.pay-opt p { font-size: 11.5px; color: var(--muted); margin: 2px 0 0; }
.pay-opt .radio { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--dim); flex: none; display: flex; align-items: center; justify-content: center; }
.pay-opt.active .radio { border-color: var(--blue); }
.pay-opt.active .radio::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--blue); }
.summary { border-radius: 20px; padding: 18px; background: var(--glass-soft); border: 1px solid var(--stroke); }
.summary .line { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted); padding: 5px 0; }
.summary .line b { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.summary .total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--stroke); }
.summary .total span { font-size: 13px; color: var(--muted); }
.summary .total b { font-size: 30px; font-weight: 800; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }

/* ---------- misc ---------- */
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 13px 15px; border-radius: 16px; background: var(--glass-soft); border: 1px solid var(--stroke); cursor: pointer; transition: .16s var(--ease); }
.notice:hover { background: var(--glass-hover); }
.notice .n-title { font-size: 14px; font-weight: 600; }
.notice .n-time { font-size: 11px; color: var(--dim); margin-top: 2px; }
.trust { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.trust .t { font-size: 12px; color: var(--muted); background: var(--glass-soft); border: 1px solid var(--stroke); border-radius: 14px; padding: 12px; }
.trust .t b { display: block; color: var(--text); font-size: 13px; margin-bottom: 3px; }
.onboard { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 12px 15px; border-radius: 18px; background: linear-gradient(92deg, rgba(138,180,248,.08), rgba(154,160,166,.04)); border: 1px solid rgba(138,180,248,.2); }
.ob-step { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--muted); }
.ob-step i { width: 20px; height: 20px; border-radius: 50%; background: var(--glass-soft); border: 1px solid var(--stroke); display: flex; align-items: center; justify-content: center; font-style: normal; font-size: 10px; font-weight: 700; }
.ob-step.done i { background: var(--green); border-color: var(--green); color: #04140a; }
.ob-step.done { color: var(--text); }
.ob-arrow { color: var(--dim); font-size: 11px; }

.qr { width: 180px; height: 180px; background: var(--qr-bg); border-radius: 18px; padding: 12px; display: flex; align-items: center; justify-content: center; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06), 0 12px 30px rgba(0,0,0,.18); }
.qr img, .qr canvas { width: 156px !important; height: 156px !important; display: block; }

.importbox { border-radius: var(--r-xl); padding: 22px; background: var(--glass-soft); border: 1px solid var(--stroke); }
.import-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

.dl-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.dl-card { border-radius: 24px; padding: 20px; box-shadow: var(--shadow-soft), inset 0 1px 0 var(--inset); }
.dl-card h3 { font-size: 18px; letter-spacing: -.02em; }
.dl-card .os { font-size: 11px; color: var(--dim); margin: 2px 0 12px; letter-spacing: .06em; text-transform: uppercase; }
.dl-card a:not(.btn) { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 2px; border-bottom: 1px solid var(--stroke); font-size: 13.5px; color: var(--text); }
.dl-card a:not(.btn):last-of-type { border-bottom: 0; }
.dl-card .btn { width: 100%; margin-top: 8px; }
.dl-card .mini { font-size: 11px; color: var(--dim); margin-top: 8px; }

.node-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.node-card { border-radius: 24px; padding: 20px; box-shadow: var(--shadow-soft), inset 0 1px 0 var(--inset); }
.node-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.node-region { font-size: 20px; font-weight: 750; letter-spacing: -.03em; }
.node-code { font-size: 10px; color: var(--dim); letter-spacing: .14em; margin-top: 2px; }
.node-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.node-scene { font-size: 12.5px; color: var(--muted); margin-top: 12px; line-height: 1.6; }

.share-card {
  position: relative; overflow: hidden;
  border-radius: var(--r-xl); padding: 26px;
  background:
    radial-gradient(120% 130% at 10% 0%, rgba(138,180,248,.10), transparent 60%),
    radial-gradient(100% 120% at 100% 100%, rgba(154,160,166,.06), transparent 60%),
    var(--glass);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow), inset 0 1px 0 var(--inset);
}
.share-code { font-family: var(--mono); font-size: 26px; font-weight: 700; letter-spacing: .16em; margin: 10px 0; }

.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.cols-2 > .card + .card { margin-top: 0; }

.table-wrap { overflow: auto; border-radius: 16px; border: 1px solid var(--stroke); }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--dim); padding: 11px 13px; background: var(--glass-soft); font-weight: 650; }
td { padding: 11px 13px; border-top: 1px solid var(--stroke); color: var(--muted); }
td b { color: var(--text); }

/* ---------- login ---------- */
.login-wrap {
  min-height: 100vh;
  display: grid; grid-template-columns: 1.15fr .85fr;
  gap: 0; align-items: stretch;
  max-width: 1320px; margin: 0 auto; padding: 40px;
}
.login-hero { display: flex; flex-direction: column; justify-content: center; padding: 30px 60px 30px 20px; }
.login-hero .brand { padding: 0 0 30px; }
.login-hero h1 { font-size: 62px; line-height: 1.05; letter-spacing: -.05em; margin: 8px 0 18px; }
.login-hero h1 em { font-style: normal; color: var(--blue); background: none; -webkit-text-fill-color: currentColor; }
.login-hero p { font-size: 17px; color: var(--muted); max-width: 540px; }
.login-hero .steps { margin-top: 26px; }
.login-panel { display: flex; align-items: center; justify-content: center; }
.login-card {
  width: 100%; max-width: 410px;
  border-radius: 30px; padding: 32px;
  box-shadow: var(--shadow), inset 0 1px 0 var(--inset);
}
.login-card h2 { font-size: 26px; letter-spacing: -.03em; }
.login-card .sub { font-size: 13px; color: var(--muted); margin-top: 4px; }
.login-card form { margin-top: 18px; }
.login-card .btn.block { margin-top: 18px; }
.login-switch { margin-top: 14px; text-align: center; }
.login-switch button { background: none; border: 0; color: var(--blue); font-size: 13px; cursor: pointer; font-weight: 600; }
.login-note { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--stroke); font-size: 11px; color: var(--dim); line-height: 1.7; }
.login-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 28px; max-width: 560px; }
.login-stats .st { border-radius: 16px; padding: 14px; background: var(--glass-soft); border: 1px solid var(--stroke); }
.login-stats .st b { display: block; font-size: 20px; font-weight: 750; letter-spacing: -.03em; }
.login-stats .st span { font-size: 11px; color: var(--dim); }

/* ---------- toast ---------- */
.toast {
  position: fixed; z-index: 200;
  left: 50%; top: calc(14px + env(safe-area-inset-top, 0px));
  transform: translate(-50%, -20px);
  padding: 11px 18px; border-radius: 999px;
  font-size: 13px; font-weight: 600;
  opacity: 0; pointer-events: none;
  transition: .28s var(--spring);
  max-width: min(88vw, 560px); text-align: center;
  background: var(--glass-strong);
  box-shadow: var(--shadow), inset 0 1px 0 var(--inset);
  border: 1px solid var(--stroke-strong);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- modal / sheet ---------- */
.modal {
  position: fixed; inset: 0; z-index: 150;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, .38);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  animation: fade .2s var(--ease);
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.sheet {
  width: 100%; max-width: 520px;
  max-height: 82vh; overflow: auto;
  border-radius: 28px; padding: 24px;
  background: var(--glass-strong);
  box-shadow: var(--shadow), inset 0 1px 0 var(--inset);
  animation: pop .34s var(--spring);
}
@keyframes pop { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }
.sheet-grab { display: none; width: 36px; height: 5px; border-radius: 999px; background: var(--dim); margin: -8px auto 14px; opacity: .5; }
.sheet-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.sheet-head h2 { font-size: 22px; letter-spacing: -.03em; }

/* ---------- footer ---------- */
.foot { margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--stroke); font-size: 11px; color: var(--dim); line-height: 1.8; }

/* ---------- boot ---------- */
.boot { min-height: 100vh; display: flex; align-items: center; justify-content: center; color: var(--muted); gap: 10px; font-size: 14px; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--stroke); border-top-color: var(--blue); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .plan-grid { grid-template-columns: repeat(2, 1fr); }
  .widget-grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 36px; }
  .login-hero h1 { font-size: 50px; }
}

@media (max-width: 900px) {
  .sidebar { display: none; }
  .main { margin-left: 0; }
  .toolbar { padding: 0 18px; height: 58px; }
  .content { padding: 20px 16px calc(110px + var(--safe-bottom)); }
  .tabbar { display: grid; }
  .hero { padding: 26px 22px; border-radius: 26px; }
  .hero h1 { font-size: 32px; }
  .hero-grid { grid-template-columns: 1fr; gap: 18px; }
  .hero-offer { padding: 18px; }
  .login-wrap { grid-template-columns: 1fr; padding: 24px 18px 42px; gap: 24px; }
  .login-hero { padding: 10px 4px; }
  .login-hero .brand { padding-bottom: 18px; }
  .login-hero h1 { font-size: 42px; }
  .login-hero p { font-size: 15px; }
  .login-stats { margin-top: 18px; }
  .login-panel { padding-bottom: 10px; }
  .login-card { padding: 24px; border-radius: 26px; }
  .modal { align-items: flex-end; padding: 0; }
  .sheet { max-width: none; border-radius: 28px 28px 0 0; max-height: 88vh; padding: 20px 18px calc(24px + var(--safe-bottom)); animation: slideUp .34s var(--spring); }
  @keyframes slideUp { from { transform: translateY(100%); } to { transform: none; } }
  .sheet-grab { display: block; }
  .trust { grid-template-columns: 1fr; }
  .dl-grid, .node-grid { grid-template-columns: 1fr; }
  .greeting { align-items: flex-start; flex-direction: column; gap: 8px; }
  .large-title { font-size: 30px; }
  .cols-2 { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .plan-grid { grid-template-columns: 1fr; }
  .widget-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .widget { min-height: 106px; padding: 15px; border-radius: 22px; }
  .widget b { font-size: 19px; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 29px; }
  .login-hero h1 { font-size: 36px; }
  .login-stats { grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
  .login-stats .st { padding: 10px; }
  .login-stats .st b { font-size: 16px; }
  .section-head { margin-top: 24px; }
  .section-head h2 { font-size: 21px; }
  .content { padding-left: 14px; padding-right: 14px; }
  .card { padding: 18px; border-radius: 26px; }
  .qr { width: 160px; height: 160px; padding: 10px; }
  .qr img, .qr canvas { width: 140px !important; height: 140px !important; }
  .plan-price b { font-size: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* ---------- S6: wallet / top-up / balance checkout ---------- */
.badge.gold { background: rgba(138,180,248,.13); color: var(--blue); border-color: rgba(138,180,248,.32); }
html[data-theme="dark"] .badge.gold { color: var(--blue-2); }
.list-ico.gold { background: rgba(138,180,248,.13); color: var(--blue); }
html[data-theme="dark"] .list-ico.gold { color: var(--blue-2); }
.wallet-pill { font-size: 12px; font-weight: 700; color: var(--muted); background: var(--glass-soft); border: 1px solid var(--stroke); border-radius: 999px; padding: 4px 10px; font-variant-numeric: tabular-nums; }

.wallet-hero {
  position: relative; overflow: hidden; border-radius: 30px; padding: 26px 28px;
  display: flex; align-items: stretch; justify-content: space-between; gap: 22px; flex-wrap: wrap;
  color: #e8eaed; border: 1px solid rgba(138,180,248,.22);
  background:
    radial-gradient(70% 120% at 12% 0%, rgba(138,180,248,.10), transparent 68%),
    radial-gradient(60% 100% at 92% 10%, rgba(138,180,248,.05), transparent 70%),
    linear-gradient(145deg, #1a1b1e, #121212 72%);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.08);
}
.wallet-glow { position: absolute; width: 260px; height: 260px; right: -60px; bottom: -120px; border-radius: 50%; background: radial-gradient(circle, rgba(138,180,248,.10), transparent 68%); filter: blur(10px); pointer-events: none; }
.wallet-hero-main { position: relative; z-index: 1; min-width: 260px; flex: 1; }
.wallet-hero .eyebrow { color: var(--blue); }
.wallet-balance { font-size: 52px; line-height: 1.05; font-weight: 800; letter-spacing: -.055em; margin-top: 8px; font-variant-numeric: tabular-nums; color: var(--blue); background: none; -webkit-text-fill-color: currentColor; }
.wallet-sub { font-size: 12.5px; color: rgba(232,234,237,.6); margin-top: 6px; }
.wallet-hero .btn { background: var(--blue); color: var(--on-blue); border-color: transparent; box-shadow: 0 8px 22px rgba(0,0,0,.34); }
.wallet-hero .btn:hover { background: var(--blue-2); box-shadow: 0 12px 28px rgba(0,0,0,.4); }
.wallet-hero .btn.secondary { background: rgba(255,255,255,.07); color: #e8eaed; border-color: rgba(255,255,255,.16); box-shadow: none; }
.wallet-hero-side { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, minmax(84px, 1fr)); gap: 8px; align-content: center; }
.wallet-metric { border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.04); border-radius: 16px; padding: 12px 13px; min-width: 86px; }
.wallet-metric small { display: block; font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: rgba(232,234,237,.44); }
.wallet-metric b { display: block; font-size: 14px; margin-top: 5px; color: #e8eaed; }

.topup-quick { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 12px; }
.topup-q {
  border: 1px solid var(--stroke); background: var(--glass-soft); color: var(--text);
  border-radius: 18px; padding: 14px 10px; font-family: inherit; cursor: pointer; text-align: left;
  transition: transform .18s var(--spring), border-color .18s var(--ease), background .18s var(--ease);
  box-shadow: inset 0 1px 0 var(--inset);
}
.topup-q:hover { transform: translateY(-3px); border-color: rgba(138,180,248,.42); background: rgba(138,180,248,.08); }
.topup-q span { display: block; font-size: 19px; font-weight: 750; letter-spacing: -.03em; }
.topup-q small { display: block; font-size: 10px; color: var(--dim); margin-top: 3px; letter-spacing: .04em; }

.topup-sheet { padding-bottom: 2px; }
.topup-hero { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px; border-radius: 20px; border: 1px solid rgba(138,180,248,.22); background: linear-gradient(145deg, rgba(138,180,248,.08), rgba(255,255,255,.025)); }
.topup-hero .eyebrow { color: var(--blue); }
html[data-theme="dark"] .topup-hero .eyebrow { color: var(--blue); }
.topup-balance { font-size: 34px; font-weight: 800; letter-spacing: -.05em; margin-top: 2px; font-variant-numeric: tabular-nums; }
.topup-balance-sub { font-size: 10.5px; color: var(--dim); margin-top: 1px; }
.topup-seal { display: flex; align-items: center; gap: 9px; color: var(--blue); flex: none; }
html[data-theme="dark"] .topup-seal { color: var(--blue); }
.topup-seal span { font-size: 10px; line-height: 1.45; color: var(--muted); letter-spacing: .02em; }
.topup-presets { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 16px; }
.topup-preset { border: 1px solid var(--stroke); background: var(--glass-soft); color: var(--text); border-radius: 14px; padding: 10px 4px; font: 700 14px/1 var(--font); cursor: pointer; transition: .16s var(--ease); }
.topup-preset.active { border-color: rgba(138,180,248,.6); background: rgba(138,180,248,.14); color: var(--blue); box-shadow: 0 0 0 3px rgba(138,180,248,.1); }
html[data-theme="dark"] .topup-preset.active { color: var(--blue-2); }
.topup-input { padding-right: 106px !important; font-variant-numeric: tabular-nums; }
.field { position: relative; }
.topup-unit { position: absolute; right: 13px; bottom: 12px; font-size: 10px; color: var(--dim); letter-spacing: .03em; pointer-events: none; }
.topup-hint { display: flex; gap: 7px; margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(138,180,248,.07); border: 1px solid rgba(138,180,248,.2); color: var(--muted); font-size: 10.5px; line-height: 1.6; }
.topup-hint svg { flex: none; margin-top: 2px; color: var(--blue); }
html[data-theme="dark"] .topup-hint svg { color: var(--blue); }
.topup-alt { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--stroke); font-size: 11px; color: var(--muted); line-height: 1.7; }
.topup-alt a { color: var(--blue); font-weight: 650; }

.pay-state { display: flex; gap: 12px; align-items: flex-start; padding: 14px 15px; border-radius: 16px; border: 1px solid var(--stroke); background: var(--glass-soft); }
.pay-state-ico { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex: none; background: rgba(138,180,248,.12); color: var(--blue); }
.pay-state.ok .pay-state-ico { background: rgba(129,201,149,.13); color: var(--green); }
.pay-state.warn .pay-state-ico { background: rgba(253,214,99,.13); color: var(--orange); }
.pay-state b { font-size: 13.5px; }
.pay-state p { font-size: 11.5px; color: var(--muted); margin: 3px 0 0; }
.pay-alt-inline { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 12px; font-size: 11px; color: var(--dim); }
.pay-alt-inline a { color: var(--blue); font-weight: 650; }

@media (max-width: 900px) {
  .wallet-hero-side { grid-template-columns: repeat(3, 1fr); }
  .topup-quick { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .wallet-hero { padding: 22px 20px; border-radius: 26px; }
  .wallet-balance { font-size: 42px; }
  .wallet-hero-side { grid-template-columns: repeat(3, 1fr); width: 100%; }
  .wallet-metric { padding: 10px; min-width: 0; }
  .wallet-metric b { font-size: 12px; }
  .topup-quick { grid-template-columns: repeat(2, 1fr); }
  .topup-presets { grid-template-columns: repeat(5, 1fr); gap: 5px; }
  .topup-preset { font-size: 12px; padding: 9px 2px; }
  .topup-balance { font-size: 30px; }
}

/* ---------- S6: AI marketing / billing toggle / badges ---------- */
.hero.ai-hero {
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(138,180,248,.08), transparent 55%),
    radial-gradient(100% 120% at 100% 0%, rgba(138,180,248,.04), transparent 55%),
    var(--glass);
}
.ai-hero h1 em { color: var(--blue); background: none; -webkit-text-fill-color: currentColor; }
.chip.gold { background: rgba(138,180,248,.12); border-color: rgba(138,180,248,.34); color: var(--blue); }
html[data-theme="dark"] .chip.gold { color: var(--blue-2); }
.chip.gold b { color: inherit; }
.hero.ai-hero .hero-offer {
  border-color: rgba(138,180,248,.3);
  background: linear-gradient(160deg, rgba(138,180,248,.13), rgba(255,255,255,.03));
}
.hero.ai-hero .hero-offer .tag { color: var(--blue); }
html[data-theme="dark"] .hero.ai-hero .hero-offer .tag { color: var(--blue); }

.ai-strip {
  margin-top: 16px; border-radius: 26px; padding: 18px 20px;
  border: 1px solid rgba(138,180,248,.22);
  background: linear-gradient(135deg, rgba(138,180,248,.09), rgba(255,255,255,.02));
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
.ai-strip-head { min-width: 190px; }
.ai-strip-head .eyebrow { color: var(--blue); }
html[data-theme="dark"] .ai-strip-head .eyebrow { color: var(--blue); }
.ai-strip-head b { display: block; font-size: 16px; margin-top: 5px; letter-spacing: -.02em; }
.ai-tiles { display: grid; grid-template-columns: repeat(3, minmax(150px, 1fr)); gap: 10px; flex: 1; }
.ai-tile {
  display: flex; align-items: center; gap: 11px; padding: 12px 14px;
  border-radius: 16px; background: var(--glass-soft); border: 1px solid var(--stroke);
  transition: transform .2s var(--spring), border-color .2s var(--ease);
}
.ai-tile:hover { transform: translateY(-3px); border-color: rgba(138,180,248,.4); }
.ai-mark { width: 34px; height: 34px; border-radius: 11px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 16px; flex: none; background: rgba(255,255,255,.08); }
.ai-tile.coral .ai-mark, .ai-tile.mint .ai-mark, .ai-tile.blue .ai-mark { color: var(--blue); background: rgba(138,180,248,.12); }
.ai-tile b { display: block; font-size: 13.5px; }
.ai-tile small { display: block; font-size: 10.5px; color: var(--dim); margin-top: 2px; }

.billing-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.billing-seg { flex: 1; max-width: 420px; }
.billing-seg button { flex: 1; font-size: 13.5px; padding: 9px 12px; }
.billing-hint { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-size: 11.5px; font-weight: 600; }
html[data-theme="dark"] .billing-hint { color: var(--blue); }

.plan-badges { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.plan-badge { font-size: 10px; font-weight: 700; letter-spacing: .04em; padding: 3px 8px; border-radius: 999px; border: 1px solid var(--stroke); background: var(--glass-soft); color: var(--muted); }
.plan-badge.gold { color: var(--blue); border-color: rgba(138,180,248,.36); background: rgba(138,180,248,.12); }
html[data-theme="dark"] .plan-badge.gold { color: var(--blue-2); }
.plan-badge.hot { color: var(--on-blue); border-color: transparent; background: var(--blue); }
.plan-badge.soft { color: var(--dim); }

.pay-strip { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding: 14px 16px; border-radius: 20px; border: 1px solid var(--stroke); background: var(--glass); }
.pay-strip .grow b { display: block; font-size: 13.5px; }
.pay-strip .grow small { display: block; font-size: 11px; color: var(--muted); margin-top: 2px; }

.content > * { animation: riseIn .42s var(--spring) both; }
@keyframes riseIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.btn:active, .topup-q:active, .plan-card .btn:active { transform: scale(.975); }

@media (max-width: 900px) {
  .ai-strip { align-items: stretch; }
  .ai-tiles { grid-template-columns: 1fr; }
  .billing-hint { display: none; }
}

/* interaction: busy state */
.btn-spin { width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor; border-top-color: transparent; opacity: .8; animation: btnSpin .72s linear infinite; display: inline-block; flex: none; }
.btn.secondary .btn-spin, .btn.ghost .btn-spin { border-color: rgba(127,127,127,.3); border-top-color: currentColor; opacity: 1; }
@keyframes btnSpin { to { transform: rotate(360deg); } }
.btn.copied { border-color: rgba(129,201,149,.5); color: var(--green); background: rgba(129,201,149,.1); }

/* ============================================================
   S7 · Graphite & Champagne（极简、留白、营销锚定）
   ============================================================ */
.hero {
  background:
    radial-gradient(90% 120% at 0% 0%, rgba(138,180,248,.10), transparent 60%),
    var(--glass);
  padding: 44px 42px;
  border-radius: 32px;
}
.hero::after { display: none; }
.hero h1 { font-weight: 650; font-size: 44px; letter-spacing: -.045em; }
.hero h1 em {
  color: var(--blue);
  background: none;
  -webkit-text-fill-color: currentColor;
}
.hero p.lead { font-size: 16.5px; line-height: 1.7; max-width: 620px; }
.hero-actions { margin-top: 26px; }
.hero-meta { margin-top: 22px; gap: 7px; }
.chip { background: transparent; border-color: var(--stroke); }
.chip.gold { background: rgba(138,180,248,.10); border-color: rgba(138,180,248,.3); }
.section-head { margin: 36px 0 16px; }
.section-head h2 { font-weight: 650; }
.content { padding: 36px 34px 100px; }

.brand-mark {
  background: linear-gradient(150deg, #2a2a2c, #1a1a1c 62%);
  border: 1px solid var(--stroke-strong);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 6px 18px rgba(0,0,0,.35);
  color: #e8eaed;
}
.brand-mark::after { display: none; }
html[data-theme="light"] .brand-mark {
  background: linear-gradient(150deg, #202124, #121212);
  color: #e8eaed;
}
.brand-word span { display: none; }
.nav .grp { letter-spacing: .12em; font-weight: 600; }
.nav a.active {
  background: rgba(138,180,248,.10);
  box-shadow: inset 0 0 0 1px rgba(138,180,248,.26);
  color: var(--text);
}

.btn {
  background: var(--blue);
  color: var(--on-blue);
  box-shadow: 0 8px 22px rgba(0,0,0,.28);
}
.btn:hover { background: var(--blue-2); box-shadow: 0 12px 28px rgba(0,0,0,.34); }
html[data-theme="light"] .btn {
  background: var(--blue);
  color: var(--on-blue);
  box-shadow: 0 8px 22px rgba(32,33,36,.16);
}
html[data-theme="light"] .btn:hover { background: var(--blue-2); box-shadow: 0 12px 28px rgba(32,33,36,.2); }
.btn .btn-spin { border-color: currentColor; border-top-color: transparent; }
.btn.secondary { background: var(--glass-soft); color: var(--text); border-color: var(--stroke); box-shadow: inset 0 1px 0 var(--inset); }
html[data-theme="light"] .btn.secondary { background: var(--glass-soft); color: var(--text); }
.btn.gold, .wallet-hero .btn { background: var(--blue); color: var(--on-blue); }

.plan-card { padding: 26px; gap: 16px; border-radius: 28px; }
.plan-card.featured {
  border-color: rgba(138,180,248,.42);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(138,180,248,.12);
  background:
    radial-gradient(120% 100% at 50% 0%, rgba(138,180,248,.08), transparent 62%),
    var(--glass);
}
.plan-card .fav {
  background: var(--blue);
  color: var(--on-blue);
  letter-spacing: .02em;
  text-transform: none;
  box-shadow: 0 6px 16px rgba(0,0,0,.28);
}
.plan-name { font-size: 22px; font-weight: 650; }
.plan-price b { font-weight: 700; font-size: 40px; }
.plan-was { display: flex; align-items: center; gap: 8px; margin-top: 4px; font-size: 12.5px; color: var(--dim); }
.plan-was s { text-decoration-thickness: 1px; }
.plan-was em {
  font-style: normal; font-weight: 700; font-size: 12px;
  color: var(--blue); background: rgba(138,180,248,.14);
  border: 1px solid rgba(138,180,248,.3); border-radius: 999px; padding: 2px 8px;
}
html[data-theme="dark"] .plan-was em { color: var(--blue-2); }
.plan-badge.hot { background: rgba(138,180,248,.18); color: var(--blue); border-color: rgba(138,180,248,.4); }
html[data-theme="dark"] .plan-badge.hot { color: var(--blue-2); }

.billing-hint { color: var(--muted); font-weight: 500; }
html[data-theme="dark"] .billing-hint { color: var(--muted); }

.ai-strip {
  border-color: var(--stroke);
  background: var(--glass-soft);
  box-shadow: none;
}
.ai-strip-head .eyebrow { color: var(--dim); }
.ai-tile { background: transparent; border-color: var(--stroke); }
.ai-tile:hover { border-color: rgba(138,180,248,.4); }
.ai-mark { background: rgba(255,255,255,.06); color: var(--text); padding: 7px; }
.ai-mark svg { width: 20px; height: 20px; display: block; }
.ai-tile.coral .ai-mark, .ai-tile.mint .ai-mark, .ai-tile.blue .ai-mark { color: var(--text); background: rgba(255,255,255,.06); }

.logo-wall { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.logo-wall .logo-item { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; font-weight: 600; }
.logo-wall .logo-item svg { width: 20px; height: 20px; }
.logo-note { font-size: 10.5px; color: var(--dim); margin-top: 10px; }

/* 卡网广告牌 */
.cardnet-board {
  margin-top: 16px; border-radius: 24px; padding: 18px 20px;
  border: 1px solid rgba(138,180,248,.28);
  background: linear-gradient(135deg, rgba(138,180,248,.10), rgba(255,255,255,.02));
}
.cardnet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cardnet-head b { font-size: 15px; letter-spacing: -.01em; }
.cardnet-head span { display: block; font-size: 11px; color: var(--muted); margin-top: 2px; }
.cardnet-badge { font-size: 11px; font-weight: 700; color: var(--blue); background: rgba(138,180,248,.16); border: 1px solid rgba(138,180,248,.34); border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
html[data-theme="dark"] .cardnet-badge { color: var(--blue-2); }
.cardnet-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 14px; }
.cardnet-links a {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 11px 6px; border-radius: 14px; border: 1px solid var(--stroke);
  background: var(--glass-soft); color: var(--text); transition: .16s var(--ease);
}
.cardnet-links a:hover { border-color: rgba(138,180,248,.5); background: rgba(138,180,248,.08); transform: translateY(-2px); }
.cardnet-links a b { font-size: 15px; letter-spacing: -.02em; }
.cardnet-links a span { font-size: 10.5px; color: var(--dim); }
@media (max-width: 560px) { .cardnet-links { grid-template-columns: repeat(2, 1fr); } }

/* 头像 */
.avatar { background: var(--blue); color: var(--on-blue); box-shadow: inset 0 1px 0 rgba(255,255,255,.14); overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
html[data-theme="light"] .avatar { color: var(--on-blue); }
.av-big { width: 76px; height: 76px; font-size: 26px; }
.av-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: 12px; }
.av-opt { position: relative; aspect-ratio: 1; border-radius: 50%; cursor: pointer; border: 2px solid transparent; display: flex; align-items: center; justify-content: center; font-weight: 700; color: #fff; font-size: 18px; overflow: hidden; }
.av-opt img { width: 100%; height: 100%; object-fit: cover; }
.av-opt.active { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(138,180,248,.18); }
.avatar[class*="av-"] { color: #fff; }
.av-0 { background: linear-gradient(145deg, #3a3a3c, #1a1a1c); }
.av-1 { background: linear-gradient(145deg, #4a4a4d, #222225); }
.av-2 { background: linear-gradient(145deg, #3c4640, #1a2621); }
.av-3 { background: linear-gradient(145deg, #46424a, #201d24); }
.av-4 { background: linear-gradient(145deg, #3f4a5c, #1b2028); }
.av-5 { background: linear-gradient(145deg, #4a463e, #221f1a); }
.av-6 { background: linear-gradient(145deg, #4d4d4f, #202022); }
.av-7 { background: linear-gradient(145deg, #55524a, #24221d); }
.av-8 { background: linear-gradient(145deg, #465a52, #1c2622); }
.av-9 { background: linear-gradient(145deg, #46424a, #211d23); }
.av-10 { background: linear-gradient(145deg, #444f60, #1d222a); }
.av-11 { background: linear-gradient(145deg, #504a3c, #211e17); }
.profile-hero { display: flex; align-items: center; gap: 18px; padding: 24px; border-radius: 28px; background: var(--glass); border: 1px solid var(--stroke); box-shadow: var(--shadow-soft); }
.profile-hero .grow { flex: 1; min-width: 0; }
.profile-hero .nm { font-size: 24px; font-weight: 650; letter-spacing: -.02em; }
.profile-hero .em { font-size: 12.5px; color: var(--dim); margin-top: 2px; word-break: break-all; }

/* 新手引导 */
.tour-veil { position: fixed; inset: 0; z-index: 300; }
.tour-hole {
  position: fixed; border-radius: 18px; z-index: 301;
  box-shadow: 0 0 0 9999px rgba(0,0,0,.72), 0 0 0 1px rgba(138,180,248,.55), 0 0 40px rgba(0,0,0,.35);
  transition: all .32s var(--ease); pointer-events: none;
}
.tour-tip {
  position: fixed; z-index: 302; width: min(320px, calc(100vw - 32px));
  border-radius: 20px; padding: 18px 18px 14px;
  background: #141416; color: #f2f1ed; border: 1px solid rgba(138,180,248,.34);
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
  transition: all .28s var(--ease);
}
.tour-tip .k { font-size: 10.5px; letter-spacing: .1em; color: var(--blue); font-weight: 700; }
.tour-tip h3 { font-size: 16px; margin: 6px 0 4px; font-weight: 650; letter-spacing: -.01em; }
.tour-tip p { font-size: 12.5px; color: rgba(232,234,237,.62); margin: 0; line-height: 1.65; }
.tour-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; }
.tour-dots { display: flex; gap: 5px; }
.tour-dots i { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.24); }
.tour-dots i.on { background: var(--blue); width: 14px; border-radius: 999px; }
.tour-btns { display: flex; gap: 6px; }
.tour-btns .btn { min-height: 32px; padding: 0 13px; font-size: 12px; }
.tour-skip { background: none; border: 0; color: rgba(232,234,237,.45); font-size: 11.5px; cursor: pointer; padding: 4px; }
.tour-tip::after { content: ""; position: absolute; width: 12px; height: 12px; background: #141416; border-right: 1px solid rgba(138,180,248,.34); border-bottom: 1px solid rgba(138,180,248,.34); transform: rotate(45deg); }
.tour-tip.pos-below::after { top: -7px; left: 28px; border: 0; border-left: 1px solid rgba(138,180,248,.34); border-top: 1px solid rgba(138,180,248,.34); }
.tour-tip.pos-above::after { bottom: -7px; left: 28px; }
html[data-theme="light"] .tour-tip { background: #fff; color: #171614; border-color: rgba(26,115,232,.4); }
html[data-theme="light"] .tour-tip p { color: rgba(32,33,36,.6); }
html[data-theme="light"] .tour-tip::after { background: #fff; }

/* 客服浮标 */
.support-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--glass-strong); color: var(--text);
  border: 1px solid var(--stroke-strong); box-shadow: var(--shadow-soft);
  transition: .18s var(--ease);
}
.support-fab:hover { transform: translateY(-2px); border-color: rgba(138,180,248,.5); }
@media (max-width: 900px) {
  .support-fab { bottom: calc(88px + var(--safe-bottom)); right: 16px; width: 42px; height: 42px; }
}

/* 工单 */
.ticket-msg { padding: 11px 13px; border-radius: 14px; background: var(--glass-soft); border: 1px solid var(--stroke); font-size: 13px; line-height: 1.7; }
.ticket-msg + .ticket-msg { margin-top: 8px; }
.ticket-msg.me { background: rgba(138,180,248,.08); border-color: rgba(138,180,248,.24); }
.ticket-msg small { display: block; font-size: 10.5px; color: var(--dim); margin-bottom: 3px; }

.wallet-hero {
  border-color: rgba(138,180,248,.22);
  background:
    radial-gradient(70% 120% at 12% 0%, rgba(138,180,248,.10), transparent 68%),
    linear-gradient(145deg, #1a1b1e, #121212 72%);
}
.wallet-hero .eyebrow { display: none; }
.wallet-balance { font-weight: 700; }
.wallet-sub { font-size: 12.5px; }
.topup-hero .eyebrow { display: none; }

html[data-theme="light"] .foot { color: var(--dim); }
.foot { font-size: 10.5px; }

.foot-links { display:flex; flex-wrap:wrap; gap:14px; margin-top:6px; }
.foot-links a:hover { color: var(--text); }

@media (max-width: 560px) {
  .hero-actions { display: flex; gap: 9px; flex-wrap: nowrap; margin-top: 22px; }
  .hero-actions .btn { flex: 1; justify-content: center; padding: 12px 10px; font-size: 14px; white-space: nowrap; }
  .hero h1 { font-size: 38px; }
}

/* ============================================================
   S9 · 导航收敛 / 当前套餐 / 手机扫码配置
   ============================================================ */
.nav details.nav-more { display: block; }
.nav details.nav-more > summary {
  display: flex; align-items: center; gap: 11px;
  padding: 9px 12px; border-radius: 12px;
  color: var(--muted); font-size: 14px; font-weight: 500;
  cursor: pointer; list-style: none;
  transition: background .16s var(--ease), color .16s var(--ease);
}
.nav details.nav-more > summary::-webkit-details-marker { display: none; }
.nav details.nav-more > summary:hover { background: var(--glass-hover); color: var(--text); }
.nav details.nav-more[open] > summary { color: var(--text); }
.nav-more-body { display: flex; flex-direction: column; gap: 2px; margin: 2px 0 4px 12px; padding-left: 10px; border-left: 1px solid var(--stroke); }
.nav-more-body a { padding: 8px 10px; font-size: 13.5px; }

.plan-card.current { box-shadow: inset 0 0 0 1.5px rgba(138,180,248,.52), var(--shadow); }
.plan-badge.current { color: var(--on-blue); border-color: transparent; background: var(--blue); }
.plan-card .fav.cur { background: var(--blue); color: var(--on-blue); }

.sub-renew { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 14px; border-radius: 16px; border: 1px dashed var(--stroke-strong); background: var(--glass-soft); }
.sub-renew > div { flex: 1; min-width: 0; }
.sub-renew b { display: block; font-size: 13.5px; }
.sub-renew small { display: block; font-size: 11.5px; color: var(--muted); margin-top: 3px; line-height: 1.5; }
.sub-renew .btn { flex: none; }

.mobile-config {
  position: relative; overflow: hidden;
  padding: 26px;
  border-radius: 30px;
  border: 1px solid var(--stroke);
  background:
    radial-gradient(120% 150% at 88% 0%, rgba(138,180,248,.10), transparent 56%),
    radial-gradient(90% 130% at 6% 100%, rgba(138,180,248,.06), transparent 60%),
    var(--glass);
  box-shadow: var(--shadow), inset 0 1px 0 var(--inset);
}
.mc-head { max-width: 660px; }
.mc-eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.mc-head h2 { font-size: 27px; font-weight: 800; letter-spacing: -.03em; margin-top: 8px; }
.mc-head p { margin-top: 8px; font-size: 14px; color: var(--muted); line-height: 1.7; }
.mc-grid { display: grid; grid-template-columns: 1fr auto; gap: 26px; align-items: center; margin-top: 20px; }
.mc-steps { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.mc-step { display: flex; gap: 12px; align-items: flex-start; padding: 13px 14px; border-radius: 18px; background: var(--glass-soft); border: 1px solid var(--stroke); }
.mc-step i { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--text); color: var(--bg); font-style: normal; font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.mc-step b { font-size: 14px; }
.mc-step small { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); line-height: 1.6; }
.mc-step em { font-style: normal; color: var(--blue); }
.mc-dl { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 2px; }
.mc-dl a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 650; background: var(--text); color: var(--bg); }
.mc-qr { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.mc-note { display: flex; gap: 6px; align-items: flex-start; max-width: 196px; font-size: 10.5px; color: var(--dim); line-height: 1.5; }
.mc-foot { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--stroke); font-size: 12.5px; color: var(--muted); }
.mc-foot > span { flex: 1; min-width: 220px; line-height: 1.6; }
.mc-foot b { color: var(--text); }
.mc-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* 客户端选择：免费优先，图标本地化 */
.client-picker {
  margin-top: 18px; padding: 16px; border-radius: 22px;
  border: 1px solid var(--stroke); background: var(--glass-soft);
}
.client-picker-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.client-picker-head b { font-size: 15px; letter-spacing: -.01em; }
.client-plat-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 14px 0 8px; }
.plat-badge {
  display: inline-flex; align-items: center; min-height: 22px; padding: 0 8px;
  border-radius: 999px; font-size: 10.5px; font-weight: 700; letter-spacing: .02em;
  color: var(--blue); background: rgba(138,180,248,.12); border: 1px solid rgba(138,180,248,.24);
}
.client-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.client-card {
  display: flex; align-items: center; gap: 9px; min-width: 0;
  padding: 8px 9px; border-radius: 14px; border: 1px solid var(--stroke);
  background: var(--glass); color: var(--text); text-decoration: none;
  transition: transform .16s var(--ease), border-color .16s var(--ease), background .16s var(--ease);
}
.client-card:hover { transform: translateY(-2px); border-color: rgba(138,180,248,.38); background: var(--glass-hover); }
.client-icon {
  width: 38px; height: 38px; border-radius: 11px; flex: none;
  background: #fff; padding: 4px; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,.18);
}
.client-icon img { width: 30px; height: 30px; object-fit: contain; display: block; }
.client-meta { min-width: 0; }
.client-meta b { display: block; font-size: 12.5px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.client-meta small { display: block; font-size: 10px; color: var(--dim); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.client-badge { display: inline-block; margin: 0 4px 0 0; padding: 1px 5px; border-radius: 999px; font-size: 9px; font-weight: 700; vertical-align: 1px; }
.client-badge.free { color: var(--green); background: rgba(129,201,149,.13); border: 1px solid rgba(129,201,149,.25); }
.client-badge.paid { color: var(--orange); background: rgba(253,214,99,.12); border: 1px solid rgba(253,214,99,.25); }
.client-note { margin: 12px 0 0; font-size: 10.5px; line-height: 1.65; color: var(--dim); }
.dl-card .client-grid { grid-template-columns: 1fr 1fr; margin-top: 10px; }
.dl-card .client-card { padding: 7px 8px; }
.dl-card .client-icon { width: 34px; height: 34px; }
.dl-card .client-icon img { width: 26px; height: 26px; }
@media (max-width: 560px) {
  .client-grid { grid-template-columns: 1fr 1fr; }
  .client-card { padding: 7px; gap: 7px; }
  .client-icon { width: 34px; height: 34px; }
  .client-icon img { width: 26px; height: 26px; }
  .client-meta b { white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.15; font-size: 12px; }
}

@media (max-width: 900px) {
  .content { padding: 20px 16px calc(110px + var(--safe-bottom)); }
  .mobile-config { padding: 20px; border-radius: 24px; }
  .mc-head h2 { font-size: 22px; }
  .mc-grid { grid-template-columns: 1fr; gap: 18px; }
  .mc-note { max-width: 260px; text-align: left; }
  .mc-foot { flex-direction: column; align-items: stretch; }
  .mc-actions .btn { flex: 1; justify-content: center; }
  .sub-renew { flex-wrap: wrap; }
  .sub-renew .btn { width: 100%; justify-content: center; }
}
@media (max-width: 560px) {
  .content { padding-left: 14px; padding-right: 14px; }
}
