/* ==========================================================================
   WX256 · 唯讯工具箱  —  Design System v3.0
   作者：WX256  更新：2026.11
   ========================================================================== */

/* ---------- 1. Reset & tokens ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display",
    "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-700);
  background-color: #eef1f7;
  background-image:
    radial-gradient(980px 660px at 6% -10%, #cadcff 0%, rgba(202, 220, 255, 0) 64%),
    radial-gradient(820px 600px at 98% -6%, #ffd9ec 0%, rgba(255, 217, 236, 0) 60%),
    radial-gradient(940px 700px at 50% 110%, #cdf3e4 0%, rgba(205, 243, 228, 0) 64%),
    linear-gradient(180deg, #f8fafd 0%, #eef2f9 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 700; color: var(--ink-900); letter-spacing: -0.01em; line-height: 1.25; }
p { margin: 0; }
table { border-collapse: collapse; width: 100%; }
::selection { background: rgba(58,102,255,.18); }

:root {
  /* 文字（贴近 macOS 的灰阶） */
  --ink-900: #0b0b0f;
  --ink-800: #1d1d1f;
  --ink-700: #333336;
  --ink-600: #4a4a4f;
  --ink-500: #6e6e73;
  --ink-400: #8e8e93;
  --ink-300: #b8b8bd;

  --bg: #eef1f7;
  --bg-soft: rgba(120, 140, 180, .10);
  --white: #ffffff;
  --line: rgba(17, 24, 39, .08);
  --line-strong: rgba(17, 24, 39, .14);

  /* 品牌色：macOS 系统蓝 */
  --brand-700: #0058b0;
  --brand-600: #0071e3;
  --brand-500: #0a84ff;
  --brand-400: #5ac8fa;
  --brand-100: rgba(10, 132, 255, .14);
  --brand-50: rgba(10, 132, 255, .08);

  --cyan: #32ade6;
  --violet: #af52de;
  --green: #248a3d;
  --green-soft: rgba(52, 199, 89, .16);
  --amber: #a35200;
  --amber-soft: rgba(255, 149, 0, .16);
  --red: #d70015;
  --red-soft: rgba(255, 59, 48, .12);

  --radius-xxl: 26px;
  --radius-xl: 22px;
  --radius-lg: 18px;
  --radius: 14px;
  --radius-sm: 10px;

  /* 毛玻璃 */
  --glass: rgba(255, 255, 255, .62);
  --glass-strong: rgba(255, 255, 255, .84);
  --glass-line: rgba(255, 255, 255, .72);
  --glass-blur: saturate(180%) blur(22px);

  --shadow-xs: 0 1px 2px rgba(16, 24, 40, .04);
  --shadow-sm: 0 2px 10px -2px rgba(16, 24, 40, .08), 0 12px 28px -20px rgba(16, 24, 40, .28);
  --shadow-md: 0 18px 40px -22px rgba(16, 24, 40, .30), 0 2px 6px rgba(16, 24, 40, .05);
  --shadow-lg: 0 40px 90px -40px rgba(9, 20, 44, .45);
  --shadow-brand: 0 12px 26px -12px rgba(0, 113, 227, .5);

  --header-h: 64px;
  --wrap: 1160px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 860px; }
.mono { font-family: "SFMono-Regular", ui-monospace, "JetBrains Mono", Consolas, monospace; font-variant-numeric: tabular-nums; }
.muted { color: var(--ink-500); }
.dim { color: var(--ink-400); }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.hide { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- 2. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px;
  border-radius: var(--radius); border: 1px solid transparent;
  font-size: 14.5px; font-weight: 600; white-space: nowrap;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s, border-color .18s, color .18s;
  user-select: none;
}
.btn:active { transform: translateY(1px) scale(.995); }
.btn-primary { background: linear-gradient(180deg, #3f6bff, var(--brand-600)); color: #fff; box-shadow: var(--shadow-brand); }
.btn-primary:hover { background: linear-gradient(180deg, #4d76ff, #1f49e6); box-shadow: 0 18px 40px -16px rgba(35,80,245,.65); }
.btn-dark { background: var(--ink-900); color: #fff; }
.btn-dark:hover { background: #16213a; }
.btn-ghost { background: #fff; border-color: var(--line-strong); color: var(--ink-700); box-shadow: var(--shadow-xs); }
.btn-ghost:hover { border-color: #c3d0e6; background: #fbfdff; }
.btn-soft { background: var(--brand-50); color: var(--brand-600); }
.btn-soft:hover { background: var(--brand-100); }
.btn-danger { background: #fff; border-color: #f3c8c4; color: var(--red); }
.btn-danger:hover { background: var(--red-soft); }
.btn-sm { height: 34px; padding: 0 13px; font-size: 13px; border-radius: var(--radius-sm); gap: 6px; }
.btn-lg { height: 52px; padding: 0 28px; font-size: 16px; border-radius: 14px; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: .55; pointer-events: none; }
.btn .i { width: 17px; height: 17px; }

.i { width: 20px; height: 20px; flex: 0 0 auto; stroke-width: 1.7; }

/* ---------- 3. Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 80;
  background: rgba(255, 255, 255, .58);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid rgba(255, 255, 255, .55);
  box-shadow: 0 1px 0 rgba(17, 24, 39, .04);
  transition: background .25s, border-color .25s, box-shadow .25s;
}
.site-header.is-stuck { background: rgba(255, 255, 255, .78); border-bottom-color: rgba(17, 24, 39, .08); box-shadow: 0 12px 34px -28px rgba(16, 24, 40, .55); }
.header-in { display: flex; align-items: center; gap: 22px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand-mark { width: 32px; height: 32px; border-radius: 9px; box-shadow: 0 6px 16px -8px rgba(0, 113, 227, .7); }
.brand-txt { display: flex; flex-direction: column; line-height: 1.1; }
.brand-txt b { font-size: 15.5px; letter-spacing: -.01em; color: var(--ink-900); }
.brand-txt span { font-size: 10px; letter-spacing: .16em; color: var(--ink-400); text-transform: uppercase; }

.nav {
  display: flex; align-items: center; gap: 2px; margin-left: 6px; padding: 4px;
  border-radius: 999px; background: rgba(120, 140, 180, .10);
  border: 1px solid rgba(255, 255, 255, .62);
  box-shadow: inset 0 1px 2px rgba(16, 24, 40, .04);
}
.nav > li { position: relative; }
.nav > li > a {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 7px 14px; border-radius: 999px;
  font-size: 13.8px; font-weight: 500; color: var(--ink-600);
  transition: color .16s, background .16s, box-shadow .16s;
}
.nav > li > a:hover { color: var(--ink-900); background: rgba(255, 255, 255, .72); box-shadow: 0 1px 4px rgba(16, 24, 40, .07); }
.nav > li > a.active { color: var(--brand-600); background: #fff; font-weight: 600; box-shadow: 0 1px 6px rgba(16, 24, 40, .10); }
.nav > li > a .chev { width: 12px; height: 12px; opacity: .55; transition: transform .2s; }
/* 四个网页功能：白色气泡包成一组 */
.nav-group-in { display: flex; align-items: center; gap: 2px; padding: 3px; border-radius: 999px;
  background: #fff; border: 1px solid rgba(17, 24, 39, .06);
  box-shadow: 0 2px 10px rgba(16, 24, 40, .08); }
.nav-group-in > a { display: block; padding: 7px 12px; border-radius: 999px; font-size: 13.5px;
  color: var(--ink-600); white-space: nowrap; transition: color .15s, background .15s; }
.nav-group-in > a:hover { color: var(--brand-600); background: rgba(10, 132, 255, .08); box-shadow: none; }
.nav-group-in > a.active { color: #fff; background: var(--brand-600); font-weight: 600; box-shadow: none; }
@media (max-width: 1100px) {
  .nav-group-in > a { padding: 7px 9px; font-size: 12.5px; }
}

.nav > li:hover > a .chev { transform: rotate(180deg); }
.nav-drop {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 232px;
  background: rgba(255, 255, 255, .82); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, .85); border-radius: 16px;
  box-shadow: var(--shadow-md); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.nav > li:hover .nav-drop, .nav > li:focus-within .nav-drop { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-drop a { display: flex; gap: 10px; align-items: flex-start; padding: 9px 10px; border-radius: 11px; transition: background .15s; }
.nav-drop a:hover { background: rgba(120, 140, 180, .12); }
.nav-drop .d-ico { width: 30px; height: 30px; border-radius: 9px; background: var(--brand-50); color: var(--brand-600); display: grid; place-items: center; flex: 0 0 auto; }
.nav-drop .d-ico .i { width: 16px; height: 16px; }
.nav-drop strong { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink-800); }
.nav-drop small { display: block; font-size: 11.5px; color: var(--ink-400); line-height: 1.45; margin-top: 1px; }

.header-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.header-link { font-size: 13.8px; color: var(--ink-600); padding: 8px 10px; border-radius: 10px; }
.header-link:hover { color: var(--brand-600); background: rgba(255, 255, 255, .7); }
.chip-user {
  display: inline-flex; align-items: center; gap: 9px; height: 38px; padding: 0 12px 0 5px;
  border: 1px solid rgba(255, 255, 255, .85); background: rgba(255, 255, 255, .72);
  border-radius: 999px; box-shadow: 0 1px 6px rgba(16, 24, 40, .06);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.chip-user:hover { background: #fff; }
.avatar { width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, #5ac8fa, #af52de); color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.chip-user .cv { font-size: 13px; font-weight: 600; color: var(--ink-800); max-width: 92px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chip-balance { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--brand-600); background: rgba(10, 132, 255, .10); padding: 4px 9px; border-radius: 999px; font-weight: 600; }
.nav-toggle { display: none; width: 38px; height: 38px; border-radius: 11px; border: 1px solid rgba(255, 255, 255, .85); background: rgba(255, 255, 255, .72); backdrop-filter: blur(10px); place-items: center; }

/* mobile drawer */
.mobile-menu { position: fixed; inset: var(--header-h) 0 0; z-index: 79; background: rgba(255, 255, 255, .94); backdrop-filter: var(--glass-blur); padding: 18px 20px 40px; overflow-y: auto; display: none; }
.mobile-menu.is-open { display: block; }
.mobile-menu h6 { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-400); margin: 18px 0 8px; font-weight: 600; }
.mobile-menu a.m-link { display: flex; align-items: center; justify-content: space-between; padding: 12px 4px; font-size: 15px; color: var(--ink-800); border-bottom: 1px solid rgba(17, 24, 39, .06); }
.mobile-menu .m-actions { display: grid; gap: 10px; margin-top: 22px; }

/* ---------- 4. Hero（矮版，突出功能） ---------- */
.hero { position: relative; overflow: hidden; color: var(--ink-900); }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(760px 320px at 84% -40%, rgba(10, 132, 255, .20), transparent 70%),
    radial-gradient(620px 300px at 4% 10%, rgba(175, 82, 222, .12), transparent 72%);
}
.hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.14fr .86fr; gap: 36px; align-items: center; padding-top: 28px; padding-bottom: 32px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  height: 28px; padding: 0 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .72); border: 1px solid rgba(255, 255, 255, .9);
  color: var(--ink-600); font-size: 12.5px; font-weight: 500;
  box-shadow: 0 1px 4px rgba(16, 24, 40, .05);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: #34c759; box-shadow: 0 0 0 3px rgba(52, 199, 89, .18); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.hero h1 { font-size: clamp(28px, 2.9vw, 38px); line-height: 1.13; letter-spacing: -.03em; margin: 12px 0 10px; font-weight: 800; }
.hero h1 .hl { background: linear-gradient(100deg, #0a84ff 0%, #5ac8fa 55%, #af52de 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { font-size: 13.8px; color: var(--ink-500); max-width: 540px; line-height: 1.65; }
.hero-note { display: none; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.hero-actions .btn-lg { height: 46px; padding: 0 22px; font-size: 15px; border-radius: 14px; }
.hero-feats { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.hero-feat {
  display: inline-flex; align-items: center; gap: 6px; height: 29px; padding: 0 11px; border-radius: 999px;
  font-size: 12px; color: var(--ink-600); background: rgba(255, 255, 255, .68);
  border: 1px solid rgba(255, 255, 255, .88); box-shadow: 0 1px 4px rgba(16, 24, 40, .05);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.hero-feat b { color: var(--ink-900); font-weight: 700; }
.hero-feat .i { width: 14px; height: 14px; color: var(--brand-600); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(17, 24, 39, .07); }
.hero-meta div { display: flex; flex-direction: column; gap: 1px; }
.hero-meta b { font-size: 18px; color: var(--ink-900); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.hero-meta span { font-size: 12px; color: var(--ink-400); }

/* console mock（浅色玻璃窗口） */
.panel-mock {
  position: relative; border-radius: 20px; padding: 14px;
  background: rgba(255, 255, 255, .58);
  border: 1px solid rgba(255, 255, 255, .85);
  box-shadow: 0 30px 70px -42px rgba(16, 24, 40, .45), inset 0 1px 0 #fff;
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
}
.panel-mock::after { display: none; }
.pm-bar { display: flex; align-items: center; gap: 7px; padding: 2px 4px 12px; }
.pm-bar i { width: 9px; height: 9px; border-radius: 50%; }
.pm-bar i:nth-child(1) { background: #ff5f57; }
.pm-bar i:nth-child(2) { background: #febc2e; }
.pm-bar i:nth-child(3) { background: #28c840; }
.pm-bar span { margin-left: auto; font-size: 11px; color: var(--ink-400); letter-spacing: .02em; }
.pm-card { background: rgba(255, 255, 255, .74); border: 1px solid rgba(255, 255, 255, .95); border-radius: 15px; padding: 16px; box-shadow: inset 0 1px 0 #fff; }
.pm-balance { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.pm-balance small { display: block; font-size: 11.5px; color: var(--ink-400); letter-spacing: .04em; }
.pm-balance b { font-size: 28px; color: var(--ink-900); line-height: 1.1; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.pm-balance b em { font-style: normal; font-size: 12px; color: var(--ink-400); margin-left: 5px; font-weight: 500; }
.pm-actions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 0; }
.pm-actions a { background: rgba(255, 255, 255, .86); border: 1px solid rgba(17, 24, 39, .06); border-radius: 11px; padding: 10px 8px; text-align: center; transition: background .16s, transform .16s, box-shadow .16s; }
.pm-actions a:hover { background: #fff; transform: translateY(-1px); box-shadow: 0 8px 18px -12px rgba(16, 24, 40, .5); }
.pm-actions .i { margin: 0 auto 5px; width: 17px; height: 17px; color: var(--brand-600); }
.pm-actions span { font-size: 11.5px; color: var(--ink-600); }
.pm-list { margin-top: 10px; display: grid; gap: 7px; }
.pm-row { display: flex; align-items: center; gap: 9px; font-size: 12px; color: var(--ink-600); padding: 9px 11px; border-radius: 10px; background: rgba(255, 255, 255, .68); border: 1px solid rgba(255, 255, 255, .9); }
.pm-row .pill { margin-left: auto; }
.pm-row .i { width: 15px; height: 15px; color: var(--ink-400); }

/* ---------- 5. Sections ---------- */
.section { padding: 76px 0; }
.section.tight { padding: 52px 0; }
.section.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.section-head .l { max-width: 680px; }
.kicker { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-600); margin-bottom: 10px; }
.kicker::before { content: ""; width: 16px; height: 2px; background: var(--brand-500); border-radius: 2px; }
.section h2 { font-size: clamp(24px, 2.6vw, 33px); letter-spacing: -.02em; }
.section-head p { margin-top: 10px; color: var(--ink-500); font-size: 14.5px; }
.section-head .r { flex: 0 0 auto; }

.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* service cards */
.svc {
  position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl);
  padding: 24px; display: flex; flex-direction: column; gap: 12px;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s;
}
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #d9e3f5; }
.svc .s-ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; color: #fff; box-shadow: 0 10px 22px -12px rgba(13,26,51,.5); }
.svc .s-ico .i { width: 23px; height: 23px; }
.svc h3 { font-size: 17px; display: flex; align-items: center; gap: 8px; }
.svc p { font-size: 13.5px; color: var(--ink-500); line-height: 1.68; flex: 1; }
.svc .s-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 1px dashed var(--line); }
.svc .price-tag { font-size: 15px; font-weight: 700; color: var(--ink-900); }
.svc .price-tag small { font-size: 12px; color: var(--ink-400); font-weight: 500; margin-left: 2px; }
.svc .go { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; color: var(--brand-600); }
.svc .go .i { width: 14px; height: 14px; transition: transform .18s; }
.svc:hover .go .i { transform: translateX(3px); }
.svc .corner { position: absolute; right: -28px; top: -28px; width: 110px; height: 110px; border-radius: 50%; background: var(--brand-50); opacity: .7; pointer-events: none; }
.svc.is-featured { background: linear-gradient(165deg, #0b1730 0%, #101f3e 60%, #132449 100%); border-color: #1c2c50; color: #fff; }
.svc.is-featured h3 { color: #fff; }
.svc.is-featured p { color: #a9b8d4; }
.svc.is-featured .s-foot { border-top-color: rgba(255,255,255,.12); }
.svc.is-featured .price-tag { color: #fff; }
.svc.is-featured .price-tag small { color: #93a4c2; }
.svc.is-featured .go { color: #8fb0ff; }
.svc.is-featured .corner { background: rgba(58,102,255,.18); }

.ico-blue { background: linear-gradient(135deg, #3f6bff, #2350f5); }
.ico-cyan { background: linear-gradient(135deg, #22d3ee, #0891b2); }
.ico-violet { background: linear-gradient(135deg, #9b7bff, #6d4bf0); }
.ico-green { background: linear-gradient(135deg, #34d399, #059669); }
.ico-amber { background: linear-gradient(135deg, #fbbf24, #d97706); }
.ico-rose { background: linear-gradient(135deg, #fb7185, #e11d48); }
.ico-slate { background: linear-gradient(135deg, #64748b, #334155); }

/* tool rows (compact) */
.tool-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tool {
  display: flex; gap: 14px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 18px; transition: border-color .18s, box-shadow .18s, transform .18s var(--ease);
}
.tool:hover { border-color: #cfdcf1; box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.tool .t-ico { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex: 0 0 auto; }
.tool .t-ico .i { width: 19px; height: 19px; }
.tool h4 { font-size: 14.5px; margin-bottom: 3px; }
.tool p { font-size: 12.5px; color: var(--ink-400); line-height: 1.55; }
.tool .t-meta { margin-left: auto; flex: 0 0 auto; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; }
.step .n { width: 30px; height: 30px; border-radius: 9px; background: var(--ink-900); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 700; margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.step h4 { font-size: 15px; margin-bottom: 6px; }
.step p { font-size: 13px; color: var(--ink-500); }
.step:not(:last-child)::after { content: ""; position: absolute; right: -11px; top: 34px; width: 6px; height: 6px; border-right: 1.5px solid var(--ink-300); border-top: 1.5px solid var(--ink-300); transform: rotate(45deg); }

/* pricing */
.price-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl); padding: 26px; display: flex; flex-direction: column; transition: transform .2s var(--ease), box-shadow .2s; }
.price-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.price-card .p-top { display: flex; align-items: baseline; gap: 6px; }
.price-card .p-name { font-size: 15px; font-weight: 700; }
.price-card .p-badge { margin-left: auto; font-size: 11px; font-weight: 700; color: var(--brand-600); background: var(--brand-50); padding: 3px 8px; border-radius: 999px; }
.price-card .p-amount { font-size: 38px; font-weight: 800; letter-spacing: -.03em; color: var(--ink-900); margin: 14px 0 2px; }
.price-card .p-amount span { font-size: 15px; font-weight: 500; color: var(--ink-400); }
.price-card .p-credits { font-size: 13px; color: var(--brand-600); font-weight: 600; }
.price-card ul { margin: 18px 0 20px; display: grid; gap: 9px; font-size: 13px; color: var(--ink-600); }
.price-card ul li { display: flex; gap: 8px; align-items: flex-start; }
.price-card ul .i { width: 15px; height: 15px; color: var(--green); margin-top: 3px; flex: 0 0 auto; }
.price-card.is-hot { border-color: #c9d7ff; box-shadow: 0 24px 50px -30px rgba(35,80,245,.5); position: relative; }
.price-card.is-hot::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, #6c8cff, transparent 45%, #10c9d8); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }

/* software list */
.soft-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 26px; }
.soft-item { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid #eff3fa; }
.soft-item .si-ico { width: 34px; height: 34px; border-radius: 9px; background: var(--bg-soft); display: grid; place-items: center; color: var(--brand-600); flex: 0 0 auto; }
.soft-item .si-ico .i { width: 17px; height: 17px; }
.soft-item b { font-size: 14px; font-weight: 600; color: var(--ink-800); display: block; }
.soft-item span { font-size: 12px; color: var(--ink-400); }
.soft-item .si-go { margin-left: auto; color: var(--ink-300); }
.soft-item:hover .si-go { color: var(--brand-500); }

/* faq */
.faq { display: grid; gap: 10px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.faq-q { width: 100%; display: flex; align-items: center; gap: 12px; padding: 17px 20px; text-align: left; font-size: 14.5px; font-weight: 600; color: var(--ink-800); }
.faq-q .i { margin-left: auto; width: 16px; height: 16px; color: var(--ink-400); transition: transform .2s; }
.faq-item.is-open .faq-q .i { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 20px 18px; font-size: 13.5px; color: var(--ink-500); line-height: 1.8; }
.faq-item.is-open .faq-a { display: block; }

/* cta band */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-xxl); padding: 46px; background: linear-gradient(120deg, #0a1122, #16274d 55%, #0d2b45); color: #fff; }
.cta-band::before { content: ""; position: absolute; right: -80px; top: -120px; width: 420px; height: 420px; background: radial-gradient(closest-side, rgba(58,102,255,.55), transparent 70%); filter: blur(10px); }
.cta-band h2 { color: #fff; font-size: clamp(23px, 2.4vw, 30px); }
.cta-band p { color: #a7b6d3; margin-top: 10px; font-size: 14px; max-width: 560px; }
.cta-band .acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.cta-band .btn-ghost { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: #fff; }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,.14); }

/* ---------- 6. Footer ---------- */
.site-footer { background: #070c17; color: #8b9bb6; padding: 56px 0 26px; margin-top: 0; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.08); }
.site-footer .brand-txt b { color: #fff; }
.site-footer .brand-txt span { color: #5f6f8c; }
.footer-blurb { margin-top: 16px; font-size: 13px; line-height: 1.85; color: #7d8daa; max-width: 330px; }
.footer-col h5 { color: #fff; font-size: 13px; letter-spacing: .04em; margin-bottom: 14px; }
.footer-col a, .footer-col p { display: block; font-size: 13px; color: #8b9bb6; padding: 5px 0; transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 22px; font-size: 12.5px; color: #66748f; }
.footer-bottom .beian { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.footer-bottom a { color: #8b9bb6; }
.footer-bottom a:hover { color: #fff; }
.footer-bottom .sep { color: #33415c; }

/* ---------- 7. Inner page head ---------- */
.page-head {
  position: relative; overflow: hidden; color: var(--ink-900);
  background: rgba(255, 255, 255, .55);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid rgba(17, 24, 39, .06);
  padding: 32px 0 30px;
}
.page-head::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(620px 240px at 84% -50%, rgba(10, 132, 255, .16), transparent 70%); }
.page-head .wrap { position: relative; z-index: 1; }
.crumb { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--ink-400); margin-bottom: 10px; }
.crumb a:hover { color: var(--brand-600); }
.crumb .i { width: 12px; height: 12px; opacity: .5; }
.page-head h1 { color: var(--ink-900); font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -.03em; }
.page-head p { color: var(--ink-500); margin-top: 8px; max-width: 640px; font-size: 14.5px; }
.page-head .h-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.h-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-600); background: rgba(255, 255, 255, .74); border: 1px solid rgba(17, 24, 39, .06); padding: 5px 11px; border-radius: 999px; }
.h-badge .i { width: 13px; height: 13px; color: #248a3d; }

/* ---------- 8. Cards / panels / forms ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl); }
.card-pad { padding: 24px; }
.card-head { display: flex; align-items: center; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.card-head h3 { font-size: 15.5px; }
.card-head .sub { font-size: 12.5px; color: var(--ink-400); margin-top: 2px; }
.card-head .r { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.card-body { padding: 22px; }
.card-foot { padding: 14px 22px; border-top: 1px solid var(--line); background: #fbfcff; border-radius: 0 0 var(--radius-xl) var(--radius-xl); }

.layout-2 { display: grid; grid-template-columns: 1.35fr .65fr; gap: 20px; align-items: start; }
.layout-2.rev { grid-template-columns: .65fr 1.35fr; }

.field { margin-bottom: 16px; }
.field > label { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-700); margin-bottom: 7px; }
.field .req { color: var(--red); }
.field .hint { font-size: 12px; color: var(--ink-400); margin-top: 6px; line-height: 1.6; }
.input, .select, .textarea {
  width: 100%; height: 44px; padding: 0 13px;
  background: #fff; border: 1px solid var(--line-strong); border-radius: var(--radius);
  font-size: 14px; color: var(--ink-800); outline: none;
  transition: border-color .16s, box-shadow .16s, background .16s;
}
.textarea { height: auto; min-height: 110px; padding: 11px 13px; resize: vertical; line-height: 1.7; }
.input::placeholder, .textarea::placeholder { color: #a9b5c9; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--brand-500); box-shadow: 0 0 0 3px rgba(58,102,255,.12); }
.input:disabled { background: #f6f8fc; color: var(--ink-400); }
/* 云 API Secret 使用文本框 + 视觉掩码，避免浏览器误当成网站登录密码。 */
.api-secret { -webkit-text-security: disc; }
/* 除登录表单外的密码输入统一用文本框掩码，阻止浏览器“保存密码”弹窗。 */
.pwd-mask { -webkit-text-security: disc; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238b99b2' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 34px; }
.input-group { display: flex; gap: 8px; }
.input-group .input { flex: 1; }

/* ---------- 图标上传（自定义拖放区，替代原生 file 按钮） ---------- */
.upload {
  border: 1.5px dashed var(--line-strong);
  border-radius: 14px;
  background: #fbfcff;
  transition: border-color .16s, background .16s, box-shadow .16s;
}
.upload.is-over { border-color: var(--brand-500); background: #f2f7ff; box-shadow: 0 0 0 3px rgba(10,132,255,.10); }
.upload.is-done { border-style: solid; background: #fff; }
.upload [hidden] { display: none !important; }
.upload-empty {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  width: 100%; padding: 18px 16px; background: none; border: 0; cursor: pointer;
  font: inherit; color: inherit; text-align: center;
}
.upload-empty b { font-size: 13.5px; color: var(--ink-800); }
.upload-ico {
  width: 42px; height: 42px; border-radius: 12px; margin-bottom: 6px;
  display: grid; place-items: center;
  background: var(--brand-50); color: var(--brand-600);
}
.upload-hint { font-size: 12px; color: var(--ink-400); }
.upload-preview { display: flex; align-items: center; gap: 14px; padding: 14px 16px; }
.upload-preview img { width: 60px; height: 60px; border-radius: 15px; object-fit: cover; background: #eef2fa; box-shadow: 0 6px 16px rgba(17,24,39,.14); }
.upload-meta { min-width: 0; }
.upload-meta b { display: block; font-size: 13.5px; }
.upload-meta .upload-hint { display: block; max-width: 190px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.upload-acts { margin-left: auto; display: flex; gap: 8px; }
.upload-busy { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 22px 16px; font-size: 13px; color: var(--ink-500); }
.input-suffix { position: relative; }
.input-suffix .input { padding-right: 64px; }
.input-suffix .suffix { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: 12.5px; color: var(--ink-400); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.row-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }

.choice-row { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span {
  display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 13px;
  border: 1px solid var(--line-strong); border-radius: 10px; font-size: 13px; color: var(--ink-600);
  cursor: pointer; transition: all .16s; background: #fff;
}
.choice input:checked + span { border-color: var(--brand-500); background: var(--brand-50); color: var(--brand-700); font-weight: 600; box-shadow: 0 0 0 3px rgba(58,102,255,.08); }
.choice span:hover { border-color: #b9c9e6; }

.check { display: flex; gap: 9px; align-items: flex-start; font-size: 12.8px; color: var(--ink-500); line-height: 1.65; cursor: pointer; }
.check input { width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--brand-600); flex: 0 0 auto; }
.check a { color: var(--brand-600); }

/* pills & badges */
.pill { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border-radius: 999px; font-size: 11.5px; font-weight: 600; background: var(--bg-soft); color: var(--ink-600); white-space: nowrap; }
.pill::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.pill.ok { background: var(--green-soft); color: var(--green); }
.pill.warn { background: var(--amber-soft); color: var(--amber); }
.pill.err { background: var(--red-soft); color: var(--red); }
.pill.info { background: var(--brand-50); color: var(--brand-600); }
.pill.plain::before { display: none; }

.tag { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 7px; font-size: 11.5px; font-weight: 600; background: var(--bg-soft); color: var(--ink-500); }
.tag-brand { background: var(--brand-50); color: var(--brand-600); }
.tag-green { background: var(--green-soft); color: var(--green); }

/* table */
.table-wrap { overflow-x: auto; border-radius: 0 0 var(--radius-xl) var(--radius-xl); -webkit-overflow-scrolling: touch; }
.table { font-size: 13.5px; min-width: 680px; width: 100%; }
.table th { text-align: left; font-size: 12px; font-weight: 600; color: var(--ink-400); letter-spacing: .02em; padding: 11px 16px; background: #fafcff; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 14px 16px; border-bottom: 1px solid #f1f5fb; color: var(--ink-700); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover td { background: #fbfdff; }
.table .td-actions { display: flex; gap: 6px; flex-wrap: nowrap; }
.table .td-actions .btn { flex: 0 0 auto; white-space: nowrap; }
.table .name { font-weight: 600; color: var(--ink-900); overflow-wrap: anywhere; }
.table .sm { font-size: 12px; color: var(--ink-400); }
/* 窄屏下动作列靠右且不换行 */
.table th:last-child, .table td:last-child { white-space: nowrap; text-align: right; }
.table .td-actions { justify-content: flex-end; }

.empty { padding: 48px 20px; text-align: center; color: var(--ink-400); }
.empty .e-ico { width: 54px; height: 54px; border-radius: 16px; background: var(--bg-soft); display: grid; place-items: center; margin: 0 auto 14px; color: var(--ink-300); }
.empty .e-ico .i { width: 26px; height: 26px; }
.empty b { display: block; color: var(--ink-600); font-size: 14px; margin-bottom: 4px; }
.empty p { font-size: 13px; }

/* tabs */
.tabs { display: inline-flex; gap: 4px; padding: 4px; background: var(--bg-soft); border-radius: 12px; }
.tabs button { height: 36px; padding: 0 16px; border-radius: 9px; font-size: 13.5px; font-weight: 600; color: var(--ink-500); transition: all .16s; display: inline-flex; align-items: center; gap: 6px; }
.tabs button.active { background: #fff; color: var(--ink-900); box-shadow: var(--shadow-xs); }
.tabs button .i { width: 15px; height: 15px; }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeUp .3s var(--ease); }

@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* notice */
.notice { display: flex; gap: 11px; padding: 13px 15px; border-radius: 12px; font-size: 12.8px; line-height: 1.7; background: var(--brand-50); color: #33478f; border: 1px solid #dbe4ff; }
.notice .i { width: 16px; height: 16px; flex: 0 0 auto; margin-top: 2px; }
.notice.warn { background: var(--amber-soft); border-color: #fbe3bd; color: #8a5a06; }
.notice.err { background: var(--red-soft); border-color: #fbd7d3; color: #9a2e25; }
.notice.ok { background: var(--green-soft); border-color: #c9eedd; color: #0a6b4a; }

/* summary list */
.sum { display: grid; gap: 11px; font-size: 13.5px; }
.sum .line { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--ink-500); }
.sum .line b { color: var(--ink-900); font-weight: 600; }
.sum .line.total { padding-top: 12px; border-top: 1px dashed var(--line); font-size: 15px; }
.sum .line.total b { font-size: 20px; color: var(--brand-600); }

/* ---------- 9. Auth ---------- */
.auth { min-height: calc(100vh - var(--header-h)); display: grid; grid-template-columns: 1fr 1fr; }
.auth-side { position: relative; overflow: hidden; background: linear-gradient(160deg, #070d1b 0%, #0d1a35 55%, #0a2138 100%); color: #fff; padding: 56px; display: flex; flex-direction: column; justify-content: space-between; }
.auth-side::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 380px at 20% 0%, rgba(58,102,255,.4), transparent 65%), radial-gradient(500px 300px at 100% 100%, rgba(16,201,216,.2), transparent 70%); }
.auth-side::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(600px 400px at 30% 10%, #000, transparent 80%); -webkit-mask-image: radial-gradient(600px 400px at 30% 10%, #000, transparent 80%); }
.auth-side > * { position: relative; z-index: 1; }
.auth-side h2 { color: #fff; font-size: 30px; line-height: 1.3; letter-spacing: -.02em; margin-bottom: 14px; }
.auth-side p { color: #a8b7d2; font-size: 14px; max-width: 400px; }
.auth-points { display: grid; gap: 14px; margin-top: 34px; }
.auth-points div { display: flex; gap: 11px; align-items: flex-start; font-size: 13.5px; color: #c3d0e7; }
.auth-points .i { width: 17px; height: 17px; color: #6ee7b7; margin-top: 3px; flex: 0 0 auto; }
.auth-main { display: flex; align-items: center; justify-content: center; padding: 48px 24px; background: #fff; }
.auth-card { width: 100%; max-width: 400px; }
.auth-card h1 { font-size: 26px; letter-spacing: -.02em; }
.auth-card .lead { color: var(--ink-500); font-size: 13.5px; margin: 8px 0 26px; }
.auth-card .input { height: 48px; border-radius: 12px; }
.auth-card .btn { height: 48px; border-radius: 12px; }
.captcha { display: flex; gap: 10px; }
.captcha .input { flex: 1; }
.captcha img { width: 112px; height: 48px; border-radius: 11px; border: 1px solid var(--line); cursor: pointer; object-fit: cover; background: #f6f8fc; }
.auth-foot { margin-top: 20px; font-size: 13px; color: var(--ink-500); text-align: center; }
.auth-foot a { color: var(--brand-600); font-weight: 600; }
.auth-alt { display: flex; align-items: center; gap: 10px; margin: 20px 0; color: var(--ink-300); font-size: 12px; }
.auth-alt::before, .auth-alt::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---------- 10. Dashboard ---------- */
.dash { display: grid; grid-template-columns: 232px 1fr; gap: 24px; align-items: start; padding: 28px 0 64px; }
.side { position: sticky; top: calc(var(--header-h) + 20px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl); padding: 10px; }
.side-user { display: flex; gap: 11px; align-items: center; padding: 12px 10px 16px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.side-user .avatar { width: 38px; height: 38px; font-size: 14px; }
.side-user b { display: block; font-size: 14px; color: var(--ink-900); }
.side-user span { font-size: 11.5px; color: var(--ink-400); }
.side a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; font-size: 13.5px; color: var(--ink-600); font-weight: 500; transition: all .15s; }
.side a:hover { background: #f5f8fe; color: var(--ink-900); }
.side a.active { background: var(--brand-50); color: var(--brand-700); font-weight: 600; }
.side a .i { width: 17px; height: 17px; opacity: .8; }
.side a .cnt { margin-left: auto; font-size: 11px; background: #eef2fa; color: var(--ink-500); padding: 1px 7px; border-radius: 999px; }
.side .divider { height: 1px; background: var(--line); margin: 8px 4px; }
/* 控制台侧栏：四个网页功能包成一块 */
.side-group { background: #f6f9ff; border: 1px solid rgba(10, 132, 255, .12); border-radius: 14px;
  padding: 8px; margin: 8px 2px 10px; }
.side-group-h { font-size: 11px; color: var(--ink-300); padding: 2px 8px 6px; letter-spacing: .04em; }
.side-group a { padding: 8px 10px; border-radius: 10px; font-size: 13px; }
.side-group a:hover { background: #fff; color: var(--brand-600); }
.side-group a.active { background: var(--brand-600); color: #fff; }
.side-group a.active .i { opacity: 1; }


.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 17px 18px; }
.stat .st-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.stat .st-top span { font-size: 12.5px; color: var(--ink-400); white-space: nowrap; }
.stat .st-top .i { width: 16px; height: 16px; color: var(--ink-300); flex: 0 0 auto; }
.stat b { display: block; font-size: 26px; letter-spacing: -.02em; margin-top: 6px; color: var(--ink-900); font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat b small { font-size: 12px; color: var(--ink-400); font-weight: 500; margin-left: 3px; }
.stat .delta { font-size: 11.5px; color: var(--green); display: block; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stat.is-brand { background: linear-gradient(150deg, #2350f5, #3a66ff); border-color: transparent; color: #fff; }
.stat.is-brand span, .stat.is-brand .st-top .i, .stat.is-brand b small { color: rgba(255,255,255,.72); }
.stat.is-brand b { color: #fff; }

.panel-title { display: flex; align-items: center; gap: 10px; margin: 26px 0 12px; }
.panel-title h3 { font-size: 15.5px; }
.panel-title .r { margin-left: auto; }

/* ---------- 11. Modal / toast ---------- */
.modal-mask { position: fixed; inset: 0; z-index: 120; background: rgba(7,12,23,.62); backdrop-filter: blur(4px); display: none; align-items: center; justify-content: center; padding: 24px; }
.modal-mask.is-open { display: flex; animation: fadeIn .18s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal { width: 100%; max-width: 520px; max-height: 88vh; overflow: auto; background: #fff; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); animation: modalIn .24s var(--ease); }
.modal.lg { max-width: 900px; }
@keyframes modalIn { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
.modal-head { display: flex; align-items: center; gap: 12px; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.modal-head h3 { font-size: 16px; }
.modal-head .x { margin-left: auto; width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; color: var(--ink-400); }
.modal-head .x:hover { background: #f3f6fc; color: var(--ink-800); }
.modal-body { padding: 22px; }
.modal-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 16px 22px; border-top: 1px solid var(--line); background: #fbfcff; border-radius: 0 0 var(--radius-xl) var(--radius-xl); }

/* 登录弹窗 */
.login-modal { max-width: 392px; }
.login-modal .modal-body { padding: 18px 22px 20px; }
.lm-lead { font-size: 12.5px; color: var(--ink-400); margin: -4px 0 14px; }
.login-modal .field { margin-bottom: 12px; }
.login-modal .field label { font-size: 12.5px; }
.login-modal .captcha { display: flex; gap: 8px; align-items: center; }
.login-modal .captcha .input { flex: 1; width: auto; min-width: 0; }
.login-modal .captcha img { width: 96px; height: 44px; border-radius: 10px; border: 1px solid var(--line-strong); cursor: pointer; background: #f5f7fb; flex: 0 0 auto; }
.lm-foot { display: flex; gap: 8px; justify-content: center; margin-top: 14px; font-size: 12.5px; color: var(--ink-300); }
.lm-foot a { color: var(--brand-600); }

/* 余额小胶囊 */
.bal-chip { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line-strong); font-size: 12.5px; color: var(--ink-400); white-space: nowrap; }
.bal-chip b { font-size: 14px; color: var(--ink-800); font-family: ui-monospace, Menlo, Consolas, monospace; }

#toast-host { position: fixed; top: 84px; left: 50%; transform: translateX(-50%); z-index: 200; display: grid; gap: 8px; pointer-events: none; }
.toast { display: flex; align-items: center; gap: 9px; padding: 11px 16px; border-radius: 12px; background: #0e1729; color: #fff; font-size: 13.5px; box-shadow: var(--shadow-lg); animation: toastIn .22s var(--ease); max-width: 90vw; }
.toast .i { width: 16px; height: 16px; flex: 0 0 auto; color: #6ee7b7; }
.toast.err .i { color: #fca5a5; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; animation: spin .7s linear infinite; }
.spinner.dark { border-color: rgba(10,16,32,.15); border-top-color: var(--brand-600); }
@keyframes spin { to { transform: rotate(360deg); } }
.loading-line { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-400); padding: 18px; justify-content: center; }

/* ---------- 12. Device previews ---------- */
.device-wrap { display: flex; justify-content: center; padding: 10px 0; }
.iphone { width: 250px; background: #0d1220; border-radius: 38px; padding: 9px; box-shadow: 0 30px 60px -30px rgba(13,26,51,.6), inset 0 0 0 1px rgba(255,255,255,.06); }
.iphone .screen { position: relative; height: 500px; border-radius: 30px; overflow: hidden; background: linear-gradient(170deg, #16324f, #0d1b2e 60%, #1d2b45); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
.iphone .notch { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 84px; height: 22px; border-radius: 999px; background: #05070d; }
.iphone .app-icon { width: 66px; height: 66px; border-radius: 16px; background: rgba(255,255,255,.12); display: grid; place-items: center; color: #fff; overflow: hidden; box-shadow: 0 10px 24px -10px rgba(0,0,0,.7); border: 1px solid rgba(255,255,255,.14); }
.iphone .app-icon img { width: 100%; height: 100%; object-fit: cover; }
.iphone .app-label { color: #fff; font-size: 12.5px; font-weight: 500; text-shadow: 0 1px 4px rgba(0,0,0,.5); max-width: 180px; text-align: center; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.iphone .home-bar { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); width: 96px; height: 4px; border-radius: 999px; background: rgba(255,255,255,.4); }
.iphone .hint-float { position: absolute; bottom: 30px; font-size: 10.5px; color: rgba(255,255,255,.45); }

.android { width: 250px; background: #11151f; border-radius: 26px; padding: 8px; box-shadow: 0 30px 60px -30px rgba(13,26,51,.6); }
.android .screen { position: relative; height: 500px; border-radius: 20px; overflow: hidden; background: linear-gradient(170deg, #243b53, #10202f 70%); display: flex; flex-direction: column; padding: 22px 16px; }
.android .status { display: flex; justify-content: space-between; font-size: 10px; color: rgba(255,255,255,.7); }
.android .grid-apps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 10px; margin-top: 40px; }
.android .grid-apps .slot { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.android .grid-apps .slot .ic { width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.10); display: grid; place-items: center; overflow: hidden; border: 1px solid rgba(255,255,255,.08); }
.android .grid-apps .slot .ic img { width: 100%; height: 100%; object-fit: cover; }
.android .grid-apps .slot span { font-size: 8.5px; color: rgba(255,255,255,.7); max-width: 60px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gen-item { position: relative; border-radius: 14px; overflow: hidden; background: var(--bg-soft); aspect-ratio: 1/1; border: 1px solid var(--line); }
.gen-item img, .gen-item video { width: 100%; height: 100%; object-fit: cover; }
.gen-item .g-meta { position: absolute; inset: auto 0 0; padding: 24px 10px 9px; background: linear-gradient(transparent, rgba(6,10,20,.85)); color: #fff; font-size: 11px; display: flex; align-items: flex-end; gap: 6px; }
.gen-item .g-meta a { margin-left: auto; color: #cfe0ff; }
.gen-item .g-load { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(110deg, #eef2fa 8%, #f7f9fd 18%, #eef2fa 33%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* code block */
.code { background: #0b1220; color: #c9d6ee; border-radius: 12px; padding: 14px 16px; font-family: ui-monospace, Consolas, monospace; font-size: 12.5px; line-height: 1.7; overflow-x: auto; white-space: pre; }
.code .c { color: #5f7397; }
.code .k { color: #8fb0ff; }
.code .s { color: #7ee2c0; }

/* reveal (渐进增强：默认可见，仅在支持 IO 且已滚动时做轻微上浮) */
.reveal { opacity: 1; transform: none; }
.reveal.in { animation: fadeUp .5s var(--ease) both; }
@media (prefers-reduced-motion: reduce) {
  .reveal.in { animation: none; }
}

/* ---------- 13. Responsive ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .nav-toggle { display: grid; }
  .hero-in { grid-template-columns: 1fr; gap: 40px; padding: 56px 0 64px; }
  .panel-mock { max-width: 520px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .tool-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2)::after { display: none; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-top > div:last-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .nav, .header-right .header-link, .header-right .btn { display: none; }
  .header-right .chip-balance { display: none; }
  .chip-user { padding: 0 5px; gap: 0; height: 38px; }
  .chip-user .cv { display: none; }
  .nav-toggle { display: grid; }
  .layout-2, .layout-2.rev { grid-template-columns: 1fr; }
  .auth { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .dash { grid-template-columns: 1fr; }
  .side { position: static; display: flex; gap: 6px; overflow-x: auto; padding: 8px; }
  .side-user, .side .divider { display: none; }
  .side a { white-space: nowrap; padding: 9px 12px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .cta-band { padding: 32px 26px; }
}
@media (max-width: 640px) {
  body { font-size: 14.5px; }
  .wrap { padding: 0 16px; }
  .section { padding: 52px 0; }
  .hero-meta { gap: 16px 26px; }
  .grid-2, .grid-3, .grid-4, .tool-grid, .soft-list, .steps, .row-2, .row-3 { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .stat b { font-size: 22px; }
  .card-pad, .card-body { padding: 18px; }
  .price-card { padding: 22px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 26px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero h1 { font-size: 32px; }
  .cta-band { padding: 28px 20px; border-radius: 20px; }
  .modal-mask { padding: 12px; }
  .iphone, .android { width: 220px; }
  .iphone .screen, .android .screen { height: 440px; }
  .step:nth-child(2)::after { display: block; }
  .step:nth-child(odd)::after { display: none; }
}

/* ---------- 14. RDP 主机管理（桌面工具网页化） ---------- */
.rdp-app { overflow: hidden; }
.rdp-offline {
  display: flex; gap: 10px; align-items: flex-start; flex-wrap: wrap;
  padding: 10px 18px; font-size: 13px; line-height: 1.6;
  color: #8a4b00; background: #fff8e6; border-bottom: 1px solid #ffe2a8;
}
.rdp-offline b { flex: none; color: #a35a00; font-weight: 700; }
.rdp-offline span { min-width: 0; word-break: break-all; }
.rdp-bar {
  display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between;
  padding: 14px 18px; border-bottom: 1px solid var(--line); background: #fbfcff;
}
.rdp-tabs { display: inline-flex; gap: 4px; padding: 4px; background: var(--bg-soft); border-radius: 10px; }
.rdp-tabs button {
  height: 32px; padding: 0 14px; border-radius: 8px;
  font-size: 13px; font-weight: 600; color: var(--ink-500); transition: all .15s;
}
.rdp-tabs button.active { background: #fff; color: var(--ink-900); box-shadow: var(--shadow-xs); }
.rdp-search { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.rdp-search label { font-size: 12.5px; color: var(--ink-400); white-space: nowrap; }
.rdp-search .input { width: 220px; height: 36px; }
.rdp-actions {
  display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
  padding: 12px 18px; border-bottom: 1px solid var(--line);
}
.rdp-sep { width: 1px; height: 20px; background: var(--line); margin: 0 4px; }
.rdp-table-wrap { max-height: 540px; overflow: auto; }
.rdp-table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 13.5px; }
.rdp-table th {
  position: sticky; top: 0; z-index: 1;
  text-align: left; font-size: 12px; font-weight: 600; color: var(--ink-400);
  padding: 10px 12px; background: #f7f9fd; border-bottom: 1px solid var(--line); white-space: nowrap;
}
.rdp-table td { padding: 9px 12px; border-bottom: 1px solid #f0f4fb; color: var(--ink-700); }
.rdp-table tbody tr { transition: background .12s; }
.rdp-table tbody tr:hover td { background: #f8fbff; }
.rdp-table tbody tr.is-sel td { background: #eef4ff; }
.rdp-table tbody tr.is-hit td { animation: rdpHit 1.4s var(--ease); }
@keyframes rdpHit { 0%, 100% { background: transparent; } 25% { background: #fff3cd; } }
.rdp-table .r-name { font-weight: 600; color: var(--ink-900); }
.rdp-table .r-addr { font-family: ui-monospace, Consolas, monospace; font-size: 12.5px; color: var(--ink-600); }
.rdp-foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
  padding: 10px 18px; border-top: 1px solid var(--line); background: #fbfcff;
  font-size: 12.5px; color: var(--ink-500);
}
.rdp-status { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-400); white-space: nowrap; }
.rdp-status i { width: 7px; height: 7px; border-radius: 50%; background: #c9d2e2; display: inline-block; }
.rdp-status.ok { color: var(--green); }
.rdp-status.ok i { background: var(--green); }
.rdp-status.err { color: var(--red); }
.rdp-status.err i { background: var(--red); }
.rdp-status.busy i { background: var(--amber); }
.rdp-help { padding: 24px 26px; }
.rdp-help h3 { font-size: 20px; margin-bottom: 14px; }
.rdp-inline { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.rdp-inline .input { height: 38px; }

/* 右键菜单 */
.ctx-menu {
  position: fixed; z-index: 150; min-width: 178px; padding: 6px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 24px 60px -24px rgba(9, 20, 44, .45);
  display: none; animation: fadeUp .14s var(--ease);
}
.ctx-menu.is-open { display: block; }
.ctx-menu button {
  display: block; width: 100%; text-align: left;
  padding: 8px 12px; border-radius: 8px;
  font-size: 13px; color: var(--ink-700); transition: background .12s;
}
.ctx-menu button:hover { background: #f4f7fd; }
.ctx-menu button.danger { color: var(--red); }
.ctx-menu button.danger:hover { background: var(--red-soft); }
.ctx-sep { height: 1px; background: var(--line); margin: 5px 8px; }

@media (max-width: 720px) {
  .rdp-bar { padding: 12px; }
  .rdp-search .input { width: 150px; }
  .rdp-actions { padding: 10px 12px; }
  .rdp-foot { padding: 10px 12px; }
}

/* 后台内容列允许收缩，避免宽表格把整页撑开 */
.dash > div { min-width: 0; }
.rdp-app, .rdp-table-wrap { min-width: 0; max-width: 100%; }

/* ---------- 15. macOS 玻璃皮肤 ---------- */
h1, h2, h3, h4, h5 { letter-spacing: -.02em; }

/* 按钮 */
.btn { border-radius: 12px; font-weight: 600; letter-spacing: -.01em; }
.btn-primary {
  background: linear-gradient(180deg, #2b95ff, #0071e3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .32), 0 10px 24px -12px rgba(0, 113, 227, .55);
}
.btn-primary:hover {
  background: linear-gradient(180deg, #42a1ff, #0a7bee);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .38), 0 14px 30px -14px rgba(0, 113, 227, .62);
}
.btn-dark { background: #1d1d1f; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14); }
.btn-dark:hover { background: #2b2b2e; }
.btn-ghost {
  background: rgba(255, 255, 255, .74);
  border-color: rgba(17, 24, 39, .10);
  box-shadow: 0 1px 3px rgba(16, 24, 40, .06), inset 0 1px 0 #fff;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: #fff; border-color: rgba(17, 24, 39, .16); }
.btn-soft { background: rgba(10, 132, 255, .10); }
.btn-danger { background: rgba(255, 255, 255, .8); border-color: rgba(215, 0, 21, .22); }

/* 区块 */
.section { padding: 60px 0; }
.section.tight { padding: 40px 0; }
.section.alt {
  background: rgba(255, 255, 255, .42);
  border-top: 1px solid rgba(255, 255, 255, .7);
  border-bottom: 1px solid rgba(255, 255, 255, .7);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.section-head { margin-bottom: 26px; }
.kicker::before { background: linear-gradient(90deg, #0a84ff, #af52de); }

/* 玻璃卡片：服务 / 工具 / 步骤 / 价格 / 问答 / 通用卡 */
.svc, .tool, .step, .price-card, .faq-item, .card, .stat, .panel, .auth-card {
  background: var(--glass);
  border: 1px solid var(--glass-line);
  box-shadow: inset 0 1px 0 #fff, var(--shadow-sm);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
}
.svc:hover, .tool:hover, .price-card:hover {
  border-color: rgba(255, 255, 255, .98);
  box-shadow: inset 0 1px 0 #fff, var(--shadow-md);
}
.svc .s-ico { border-radius: 14px; box-shadow: 0 10px 22px -14px rgba(16, 24, 40, .55); }
.svc .corner { background: rgba(10, 132, 255, .10); }
.svc .s-foot { border-top-color: rgba(17, 24, 39, .07); }
.svc.is-featured {
  background: linear-gradient(165deg, rgba(12, 24, 50, .94), rgba(20, 38, 76, .92));
  border-color: rgba(255, 255, 255, .14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 26px 60px -34px rgba(9, 20, 44, .7);
}
.step .n { background: rgba(10, 132, 255, .12); color: var(--brand-600); }
.price-card.is-hot { border-color: rgba(10, 132, 255, .35); }
.soft-item { border-bottom-color: rgba(17, 24, 39, .06); }

/* 表单 */
.input, .select, .textarea {
  background: rgba(255, 255, 255, .8);
  border-color: rgba(17, 24, 39, .12);
  border-radius: 12px;
  box-shadow: inset 0 1px 2px rgba(16, 24, 40, .03);
}
.input:focus, .select:focus, .textarea:focus {
  border-color: var(--brand-500);
  box-shadow: 0 0 0 4px rgba(10, 132, 255, .15);
}
.choice span { background: rgba(255, 255, 255, .8); border-color: rgba(17, 24, 39, .12); }
.choice input:checked + span { background: rgba(10, 132, 255, .12); border-color: var(--brand-500); box-shadow: 0 0 0 3px rgba(10, 132, 255, .10); }

/* 表格 / 标签页 */
.card-head { border-bottom-color: rgba(17, 24, 39, .06); }
.card-foot { background: rgba(255, 255, 255, .42); border-top-color: rgba(17, 24, 39, .06); }
.table th { background: rgba(255, 255, 255, .5); color: var(--ink-400); }
.table td { border-bottom-color: rgba(17, 24, 39, .05); }
.table tbody tr:hover td { background: rgba(255, 255, 255, .55); }
.tabs { background: rgba(120, 140, 180, .12); border: 1px solid rgba(255, 255, 255, .6); }
.tabs button.active { background: #fff; box-shadow: 0 1px 6px rgba(16, 24, 40, .10); }
.pill { background: rgba(120, 140, 180, .14); }
.tag { background: rgba(120, 140, 180, .14); }
.empty .e-ico { background: rgba(120, 140, 180, .12); }

/* 后台 */
.dash { background: transparent; }
.side {
  background: rgba(255, 255, 255, .60);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  border-right: 1px solid rgba(255, 255, 255, .7);
}
.side a.active { background: #fff; box-shadow: 0 1px 6px rgba(16, 24, 40, .10); }
.stat.is-brand { background: linear-gradient(160deg, rgba(10, 132, 255, .92), rgba(0, 90, 200, .92)); }
.stat { border-radius: var(--radius-lg); }

/* 弹窗 / 提示 */
.modal {
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(28px); -webkit-backdrop-filter: saturate(180%) blur(28px);
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: 0 40px 90px -40px rgba(9, 20, 44, .5);
}
.modal-mask { background: rgba(16, 22, 34, .28); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal-head { border-bottom-color: rgba(17, 24, 39, .06); }
.modal-foot { border-top-color: rgba(17, 24, 39, .06); background: rgba(255, 255, 255, .4); }
.toast { background: rgba(29, 29, 31, .9); backdrop-filter: blur(14px); }

/* 深色区块 */
.cta-band { border-radius: var(--radius-xxl); box-shadow: 0 34px 80px -46px rgba(9, 20, 44, .7); }
.site-footer { background: linear-gradient(180deg, #111318 0%, #0a0c11 100%); }
.auth-main { background: rgba(255, 255, 255, .68); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); }

/* 移动端：更矮的 banner */
@media (max-width: 900px) {
  .hero-in { grid-template-columns: 1fr; gap: 22px; padding-top: 22px; padding-bottom: 26px; }
  .hero h1 { font-size: clamp(26px, 7vw, 34px); }
  .hero-visual { display: none; }
  .hero-lead { font-size: 13px; }
  .hero-meta { gap: 16px; margin-top: 14px; padding-top: 12px; }
  .hero-meta b { font-size: 17px; }
  .section { padding: 44px 0; }
}

/* 远程桌面页内的条带也统一玻璃质感 */
.rdp-bar { background: rgba(255, 255, 255, .42); border-bottom-color: rgba(17, 24, 39, .06); }
.rdp-actions { background: rgba(255, 255, 255, .28); border-bottom-color: rgba(17, 24, 39, .06); }
.rdp-table th { background: rgba(255, 255, 255, .55); color: var(--ink-400); }
.rdp-table td { border-bottom-color: rgba(17, 24, 39, .05); }
.rdp-table tbody tr:hover td { background: rgba(255, 255, 255, .5); }
.rdp-tabs { background: rgba(120, 140, 180, .12); border: 1px solid rgba(255, 255, 255, .6); }
.rdp-tabs button.active { background: #fff; box-shadow: 0 1px 6px rgba(16, 24, 40, .10); }
.rdp-offline { background: rgba(255, 249, 230, .86); backdrop-filter: blur(10px); }

/* ---------- 16. 苹果风提示 / 确认 / 弹窗 ---------- */
#toast-host {
  position: fixed; top: 84px; left: 50%; transform: translateX(-50%); z-index: 200;
  display: grid; gap: 10px; justify-items: center; pointer-events: none;
}
.toast {
  display: flex; align-items: center; gap: 10px; text-align: center;
  padding: 11px 16px 11px 11px; border-radius: 14px;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(24px); -webkit-backdrop-filter: saturate(180%) blur(24px);
  border: 1px solid rgba(255, 255, 255, .9);
  color: var(--ink-800); font-size: 13.5px; font-weight: 500;
  box-shadow: 0 18px 40px -22px rgba(10, 18, 35, .55), 0 1px 0 rgba(255, 255, 255, .9) inset;
  animation: toastIn .3s var(--ease); max-width: min(380px, 86vw);
  /* 提示本身要吃掉点击，否则会穿透到下面的按钮，造成“提示了还在执行” */
  pointer-events: auto; cursor: default; user-select: none;
}
.toast .t-ico {
  width: 22px; height: 22px; border-radius: 50%; flex: 0 0 auto;
  display: grid; place-items: center;
  background: rgba(52, 199, 89, .16); color: #248a3d;
}
.toast .t-ico .i { width: 13px; height: 13px; stroke-width: 2.2; }
.toast.err .t-ico { background: rgba(255, 59, 48, .14); color: #d70015; }
.toast .t-txt { line-height: 1.5; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-10px) scale(.97); } to { opacity: 1; transform: none; } }

/* 弹窗本体 */
.modal-mask {
  background: rgba(24, 28, 38, .26);
  backdrop-filter: blur(12px) saturate(140%); -webkit-backdrop-filter: blur(12px) saturate(140%);
}
.modal {
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(30px); -webkit-backdrop-filter: saturate(180%) blur(30px);
  border: 1px solid rgba(255, 255, 255, .78);
  border-radius: 18px;
  box-shadow: 0 44px 96px -34px rgba(8, 16, 32, .58), 0 1px 0 rgba(255, 255, 255, .9) inset;
  overflow: hidden;
}
.modal.sm { max-width: 400px; }
.modal-head { padding: 15px 18px; border-bottom: 1px solid rgba(17, 24, 39, .07); }
.modal-head h3 { font-size: 15.5px; font-weight: 600; }
.modal-body { padding: 18px 20px; }
.modal-foot {
  padding: 13px 18px; background: rgba(255, 255, 255, .42);
  border-top: 1px solid rgba(17, 24, 39, .07);
}
.modal-foot .btn { height: 34px; padding: 0 16px; border-radius: 9px; font-size: 13.5px; }
.modal-foot .btn-ghost { background: rgba(255, 255, 255, .7); }
.cf-text { font-size: 13.5px; color: var(--ink-600); line-height: 1.75; }

/* 窗口控件：最小化 · 最大化 · 新标签页 · 关闭（标题栏右侧，带文字） */
.traffic { margin-left: auto; display: flex; align-items: center; gap: 6px; padding-left: 12px; }
.traffic .tl {
  display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px 0 8px;
  border-radius: 999px; font-size: 11.5px; font-weight: 600; color: var(--ink-500);
  background: rgba(255, 255, 255, .55); border: 1px solid rgba(17, 24, 39, .06);
  transition: background .16s, color .16s, transform .16s var(--ease), box-shadow .16s;
}
.traffic .tl:hover {
  background: #fff; color: var(--ink-900);
  transform: translateY(-1px); box-shadow: 0 4px 10px -6px rgba(16, 24, 40, .45);
}
.traffic .tl:active { transform: translateY(0); }
.traffic .tl .tl-dot { width: 9px; height: 9px; border-radius: 50%; flex: 0 0 auto; }
.traffic .tl-min .tl-dot { background: #febc2e; }
.traffic .tl-max .tl-dot { background: #28c840; }
.traffic .tl-close .tl-dot { background: #ff5f57; }
.traffic .tl-close:hover { color: #d70015; }
.traffic .tl-new .i { width: 13px; height: 13px; color: var(--brand-600); }
.traffic .tl-new:hover .i { color: var(--brand-500); }
.modal-head { flex-wrap: wrap; row-gap: 10px; }
@media (max-width: 760px) {
  .traffic .tl span { display: none; }
  .traffic .tl { padding: 0 8px; gap: 0; }
  .traffic .tl-new .i { width: 14px; height: 14px; }
}

/* 收起 / 全屏 */
.modal.is-min .modal-body, .modal.is-min .modal-foot { display: none; }
.modal.is-min { max-width: 420px; }
.modal.is-max {
  position: fixed; inset: 18px; z-index: 130;
  max-width: none !important; width: auto; max-height: none; height: auto;
}
.modal.is-max .modal-body { overflow: auto; }
@media (max-width: 640px) {
  #toast-host { top: 70px; right: 12px; left: 12px; justify-items: stretch; }
  .toast { max-width: none; }
}

/* 主机行操作区：⋯ 更多 + 连接 */
.row-acts { display: flex; align-items: center; gap: 6px; justify-content: flex-end; }
.btn-more { width: 30px; padding: 0; font-size: 15px; line-height: 1; color: var(--ink-400); }
.btn-more:hover { color: var(--ink-800); }
.rdp-tip { font-size: 12px; color: var(--ink-400); }

/* 弹窗：正文滚动，底部按钮常驻可见 */
.modal { display: flex; flex-direction: column; overflow: hidden; }
.modal-head { flex: 0 0 auto; }
/* 表单包裹层也要参与 flex，否则底部按钮会被挤出可视区 */
.modal > form { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; }
.modal-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; }
.modal-foot { flex: 0 0 auto; }
#modal-create .modal-body { padding: 14px 18px; }
#modal-create .field { margin-bottom: 10px; }
#modal-create .field > label { margin-bottom: 4px; }
#modal-create .field .hint { margin-top: 3px; font-size: 11px; line-height: 1.45; }
#modal-create .notice { margin-bottom: 10px; padding: 9px 12px; font-size: 12.3px; }
#modal-create .row-2 { gap: 12px; }
#modal-create .input, #modal-create .select { height: 40px; }
@media (max-height: 800px) {
  #modal-create .modal-body { padding: 12px 16px; }
  #modal-create .field { margin-bottom: 8px; }
  #modal-create .input, #modal-create .select { height: 36px; }
  #modal-create .field .hint { display: none; }
}


/* ---------- 密码输入：显示/隐藏 + 随机生成 ---------- */
.pwd-wrap { position: relative; display: flex; align-items: center; }
.pwd-wrap .input { padding-right: 42px; }
.pwd-eye {
  position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; border: 0; border-radius: 9px; cursor: pointer;
  background: transparent; color: var(--ink-400); display: grid; place-items: center;
  transition: background .15s, color .15s;
}
.pwd-eye:hover { background: rgba(120, 140, 180, .14); color: var(--ink-700); }
.pwd-eye .i { width: 17px; height: 17px; }
.pwd-eye.is-on { color: var(--brand-600); background: var(--brand-50); }
.pwd-tools { display: flex; align-items: center; gap: 12px; margin-top: 7px; flex-wrap: wrap; }
.pwd-tools .btn { height: 28px; padding: 0 10px; font-size: 12px; border-radius: 9px; }
.pwd-tools .check { margin: 0; font-size: 12.5px; color: var(--ink-500); cursor: pointer; }
.pwd-tools .check input { margin: 0 5px 0 0; vertical-align: -1px; accent-color: #0a84ff; }
.pwd-rule { font-size: 11.5px; color: var(--ink-400); margin-top: 5px; }
.pwd-rule b { color: var(--green); font-weight: 600; }
.pwd-rule.is-bad b { color: var(--red); }


/* ---------- 滚动条美化（全局，含表格横向滚动） ---------- */
* { scrollbar-width: thin; scrollbar-color: rgba(120, 140, 180, .42) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: rgba(120, 140, 180, .38);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: content-box;
}
::-webkit-scrollbar-thumb:hover { background: rgba(120, 140, 180, .62); background-clip: content-box; }
::-webkit-scrollbar-corner { background: transparent; }
/* 表格容器：横向滚动时给一个渐隐提示 */
.table-wrap::-webkit-scrollbar { height: 9px; }


/* 表单校验错误态 */
.input.is-error, .textarea.is-error {
  border-color: var(--red) !important;
  box-shadow: 0 0 0 3px var(--red-soft) !important;
}

/* 远程桌面连接中的占位层 */
.rdp-loading { position: absolute; inset: 0; display: none; place-items: center; z-index: 3;
  background: #0b1220; color: #c9d6ee; text-align: center; font-size: 13.5px; }
.rdp-loading.show { display: grid; }
.rdp-loading .spinner { width: 26px; height: 26px; border-width: 3px; margin: 0 auto; }

/* 覆盖后置的 .side a.active 白底，保证分组内选中项是蓝底白字 */
.side .side-group a.active { background: var(--brand-600); color: #fff; box-shadow: none; }
.side .side-group a.active .i { opacity: 1; }

/* 顶栏四功能：毛玻璃胶囊（Liquid Glass 风格） */
.nav-group-in {
  background: rgba(255, 255, 255, .42);
  -webkit-backdrop-filter: blur(22px) saturate(190%);
  backdrop-filter: blur(22px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, .72);
  box-shadow: 0 10px 26px -14px rgba(16, 24, 40, .45),
              inset 0 1px 0 rgba(255, 255, 255, .9),
              inset 0 -1px 0 rgba(255, 255, 255, .35);
  padding: 3px;
  transition: background .2s ease, box-shadow .2s ease;
}
.nav-group-in > a { color: #3d4759; font-weight: 500; }
.nav-group-in > a:hover { background: rgba(255, 255, 255, .62); color: var(--brand-600); }
.nav-group-in > a.active {
  background: linear-gradient(180deg, #4a94ff, #0a6bdd);
  color: #fff; font-weight: 600;
  box-shadow: 0 6px 14px -6px rgba(10, 107, 221, .65), inset 0 1px 0 rgba(255, 255, 255, .38);
}
/* 不支持毛玻璃时退回接近实色，保证可读 */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .nav-group-in { background: rgba(255, 255, 255, .92); }
}

/* ===== 顶栏四功能：Liquid Glass 胶囊（半透明 + 折射高光） ===== */
.nav-group-in {
  position: relative;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .52) 0%, rgba(255, 255, 255, .22) 52%, rgba(255, 255, 255, .34) 100%);
  -webkit-backdrop-filter: blur(30px) saturate(200%) brightness(1.06);
  backdrop-filter: blur(30px) saturate(200%) brightness(1.06);
  border: 1px solid rgba(255, 255, 255, .58);
  box-shadow:
    0 14px 34px -18px rgba(16, 24, 40, .55),
    0 2px 6px -2px rgba(16, 24, 40, .12),
    inset 0 1px 1px rgba(255, 255, 255, .95),
    inset 0 -10px 18px -16px rgba(255, 255, 255, .85),
    inset 0 0 0 .5px rgba(255, 255, 255, .35);
  padding: 3px;
}
/* 顶部那道镜面反光 */
.nav-group-in::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(180deg,
    rgba(255, 255, 255, .75) 0%,
    rgba(255, 255, 255, .18) 38%,
    rgba(255, 255, 255, 0) 55%,
    rgba(255, 255, 255, .22) 100%);
  opacity: .85;
  z-index: -1;
}
/* 底部折射出的微妙冷色，玻璃才有厚度感 */
.nav-group-in::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(120% 80% at 50% 130%, rgba(180, 205, 255, .35) 0%, rgba(180, 205, 255, 0) 62%);
  z-index: -1;
}
.nav-group-in > a {
  position: relative;
  z-index: 1;
  color: #38445a;
  font-weight: 500;
  transition: color .16s ease, background .16s ease, box-shadow .16s ease, transform .16s ease;
}
.nav-group-in > a:hover {
  background: rgba(255, 255, 255, .55);
  color: var(--brand-600);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
}
.nav-group-in > a.active {
  background: linear-gradient(180deg, rgba(88, 156, 255, .95), rgba(10, 107, 221, .95));
  color: #fff;
  font-weight: 600;
  box-shadow:
    0 6px 16px -8px rgba(10, 107, 221, .75),
    inset 0 1px 0 rgba(255, 255, 255, .45),
    inset 0 -1px 0 rgba(0, 0, 0, .08);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .nav-group-in { background: rgba(255, 255, 255, .92); }
  .nav-group-in::before, .nav-group-in::after { display: none; }
}

/* 外层导航不再用灰底胶囊，让内部四功能玻璃块独立成一块 */
.nav {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  padding: 4px 0;
}
.nav-group-in {
  background: linear-gradient(180deg, rgba(255, 255, 255, .58) 0%, rgba(238, 244, 255, .30) 55%, rgba(255, 255, 255, .40) 100%);
  border: 1px solid rgba(255, 255, 255, .70);
  box-shadow:
    0 16px 36px -20px rgba(16, 24, 40, .55),
    0 2px 8px -3px rgba(16, 24, 40, .14),
    inset 0 1px 1px rgba(255, 255, 255, .95),
    inset 0 -12px 20px -18px rgba(255, 255, 255, .9),
    inset 0 0 0 .5px rgba(255, 255, 255, .4);
}

/* 玻璃质感最后一档：加发丝边与更明显的边缘高光 */
.nav-group-in {
  background: linear-gradient(180deg, rgba(255, 255, 255, .62) 0%, rgba(240, 246, 255, .34) 50%, rgba(255, 255, 255, .46) 100%);
  border: 1px solid rgba(255, 255, 255, .85);
  outline: 1px solid rgba(120, 140, 180, .10);
  outline-offset: -1px;
  box-shadow:
    0 12px 30px -16px rgba(16, 24, 40, .40),
    0 1px 3px -1px rgba(16, 24, 40, .10),
    inset 0 1px 1px rgba(255, 255, 255, 1),
    inset 0 -1px 0 rgba(150, 170, 205, .18);
}
.nav > li > a.active {
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 1px 6px rgba(16, 24, 40, .10), inset 0 1px 0 rgba(255, 255, 255, .95);
}

/* 冷调玻璃：让白底上也能看出材质 */
.nav-group-in {
  background: linear-gradient(180deg, rgba(255, 255, 255, .58) 0%, rgba(226, 238, 255, .36) 50%, rgba(255, 255, 255, .44) 100%);
  -webkit-backdrop-filter: blur(34px) saturate(210%) contrast(1.02);
  backdrop-filter: blur(34px) saturate(210%) contrast(1.02);
  border-color: rgba(255, 255, 255, .9);
  outline-color: rgba(110, 135, 180, .14);
}

/* ===== 顶栏：磨砂玻璃面板（参考 iOS 文件夹的质感） ===== */
.nav-group-in {
  border-radius: 20px;
  padding: 5px;
  background: rgba(236, 243, 255, .40);
  -webkit-backdrop-filter: blur(44px) saturate(185%);
  backdrop-filter: blur(44px) saturate(185%);
  border: 1px solid rgba(255, 255, 255, .78);
  outline: 1px solid rgba(120, 140, 180, .10);
  outline-offset: -1px;
  box-shadow:
    0 20px 44px -24px rgba(16, 24, 40, .60),
    0 2px 8px -4px rgba(16, 24, 40, .18),
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 0 -1px 0 rgba(140, 160, 200, .18),
    inset 0 0 30px rgba(255, 255, 255, .18);
}
.nav-group-in > a { border-radius: 14px; padding: 8px 13px; }
.nav-group-in > a.active { border-radius: 14px; }
.nav > li > a { border-radius: 14px; }

/* 磨砂玻璃：加厚底色，让它在白页面上也有材质感 */
.nav-group-in {
  background: linear-gradient(180deg, rgba(255, 255, 255, .55) 0%, rgba(203, 217, 240, .55) 100%);
  border-color: rgba(255, 255, 255, .92);
  box-shadow:
    0 18px 40px -22px rgba(16, 24, 40, .55),
    0 1px 2px -1px rgba(16, 24, 40, .12),
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 0 -14px 22px -20px rgba(255, 255, 255, .95);
}
.nav-group-in > a { color: #2f3a4d; }

/* ===== 控制台侧栏：加宽加高，做得更有分量 ===== */
.dash { grid-template-columns: 252px 1fr; gap: 28px; }
.side {
  padding: 14px;
  border-radius: 20px;
  border: 1px solid rgba(17, 24, 39, .06);
  background: linear-gradient(180deg, #fff 0%, #f8fafe 100%);
  box-shadow: 0 20px 44px -30px rgba(16, 24, 40, .38), 0 1px 0 rgba(255, 255, 255, .9) inset;
}
.side-user { padding: 14px 10px 18px; gap: 13px; margin-bottom: 10px; }
.side-user .avatar { width: 44px; height: 44px; font-size: 16px; }
.side-user b { font-size: 15px; }
.side-user span { font-size: 12px; }
.side a { padding: 12px 14px; font-size: 14px; border-radius: 12px; min-height: 44px; }
.side a .i { width: 18px; height: 18px; }
.side .divider { margin: 12px 6px; }
.side-group { padding: 10px; border-radius: 16px; margin: 10px 0 14px; }
.side-group-h { font-size: 11.5px; padding: 4px 8px 8px; }
.side-group a { padding: 10px 12px; min-height: 42px; font-size: 13.5px; }

/* 侧栏再高一点，选中项统一成蓝色调 */
.side { min-height: 600px; }
.side > a.active { background: var(--brand-50); color: var(--brand-700); box-shadow: none; font-weight: 600; }
.side > a.active .i { opacity: 1; }

/* ===== 顶栏：加一层柔和彩色底（玻璃后面要有东西可模糊） ===== */
.site-header {
  isolation: isolate;
  background: rgba(255, 255, 255, .52) !important;
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  backdrop-filter: blur(18px) saturate(170%);
}
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(34% 150% at 10% -30%, rgba(72, 132, 255, .45), rgba(72, 132, 255, 0) 62%),
    radial-gradient(30% 140% at 52% -40%, rgba(150, 108, 255, .38), rgba(150, 108, 255, 0) 64%),
    radial-gradient(26% 150% at 92% -30%, rgba(46, 196, 214, .34), rgba(46, 196, 214, 0) 66%);
}

/* 玻璃面板：真正半透明，透出上面的彩光 */
.nav-group-in {
  background: rgba(255, 255, 255, .22) !important;
  -webkit-backdrop-filter: blur(26px) saturate(190%);
  backdrop-filter: blur(26px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, .55) !important;
  outline: 1px solid rgba(255, 255, 255, .28) !important;
  outline-offset: -1px;
  box-shadow:
    0 10px 30px -18px rgba(16, 24, 40, .45),
    inset 0 1px 0 rgba(255, 255, 255, .85),
    inset 0 -1px 0 rgba(255, 255, 255, .35) !important;
}
.nav-group-in::before { opacity: .35; }
.nav-group-in::after { opacity: .55; }
.nav-group-in > a { color: #2a3446; }
.nav-group-in > a.active {
  background: rgba(255, 255, 255, .82);
  color: var(--brand-700);
  box-shadow: 0 4px 12px -8px rgba(16, 24, 40, .5), inset 0 1px 0 rgba(255, 255, 255, .9);
}

/* 彩光挪到玻璃正后方，并向下淡出，不再有硬边 */
.site-header::before {
  background:
    radial-gradient(42% 170% at 26% -30%, rgba(64, 126, 255, .58), rgba(64, 126, 255, 0) 62%),
    radial-gradient(38% 160% at 52% -30%, rgba(140, 96, 255, .50), rgba(140, 96, 255, 0) 64%),
    radial-gradient(34% 170% at 74% -20%, rgba(40, 190, 210, .42), rgba(40, 190, 210, 0) 66%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 62%, rgba(0, 0, 0, .35) 82%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 62%, rgba(0, 0, 0, .35) 82%, transparent 100%);
}
.nav-group-in {
  background: rgba(255, 255, 255, .16) !important;
  -webkit-backdrop-filter: blur(30px) saturate(200%);
  backdrop-filter: blur(30px) saturate(200%);
}

/* 首页主标题：明确两行，第二行整行显示 */
.h1-line { display: block; }
.h1-line-2 { white-space: nowrap; }
@media (max-width: 720px) {
  .h1-line-2 { white-space: normal; }
}

/* 顶栏：首页 / 四功能块 / 经典软件 之间留出呼吸感 */
.nav-group-in { margin: 0 14px; }
@media (max-width: 1100px) {
  .nav-group-in { margin: 0 8px; }
}

/* 首页免费说明条（替代价格卡片） */
.free-banner {
  display: flex; align-items: center; gap: 18px;
  padding: 22px 26px; border-radius: 20px;
  background: linear-gradient(120deg, #f2f7ff 0%, #f7f4ff 55%, #f2fbff 100%);
  border: 1px solid rgba(17, 24, 39, .06);
  box-shadow: 0 14px 36px -28px rgba(16, 24, 40, .45);
}
.free-banner .fb-ico {
  width: 46px; height: 46px; border-radius: 14px; flex: 0 0 auto;
  display: grid; place-items: center; color: #0a6bdd;
  background: rgba(255, 255, 255, .85);
  box-shadow: 0 6px 16px -10px rgba(10, 107, 221, .6), inset 0 1px 0 #fff;
}
.free-banner .fb-ico .i { width: 22px; height: 22px; }
.free-banner .fb-txt { min-width: 0; }
.free-banner h3 { font-size: 17px; margin: 0 0 4px; }
.free-banner p { margin: 0; font-size: 13.5px; color: var(--ink-500); }
.free-banner > .btn { margin-left: auto; flex: 0 0 auto; }
@media (max-width: 760px) {
  .free-banner { flex-wrap: wrap; }
  .free-banner > .btn { margin-left: 0; width: 100%; justify-content: center; }
}

/* 顶栏间距微调：四功能块离两侧再近一点；控制台与用户名拉开 */
.nav-group-in { margin: 0 8px; }
.header-right { gap: 14px; }
.header-right .chip-user { margin-left: 2px; }

/* 登录态两个入口放在同一个 span 里，靠 flex 撑开间距 */
[data-auth-slot] { display: flex; align-items: center; gap: 16px; }
.header-right .chip-user { margin-left: 0; }
