/* 由 build.py 合并生成，请改 assets/css/0*.css 后重新构建 */

/* ===== 00-fonts.css ===== */
/* ==========================================================================
   00 · 字体（自托管，无外链）
   Sora 只覆盖拉丁字母与数字，用于数字、英文标签与价格；
   中文回落到系统字体（PingFang SC / 微软雅黑 / Noto Sans CJK），
   不引入 CJK webfont：体积换 3MB+，视觉收益极小。
   ========================================================================== */

@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/sora-var.woff2') format('woff2');
}

/* ===== 01-tokens.css ===== */
/* ==========================================================================
   01 · 设计令牌（颜色 / 字号 / 间距 / 圆角 / 阴影）
   ========================================================================== */

:root{
  --brand:#6d28d9;
  --brand-2:#8b5cf6;
  --brand-deep:#3b1178;
  --brand-ink:#2a0d5c;
  --brand-soft:#f3effc;
  --brand-line:#e4daf7;
  --orange:#f96e0f;
  --orange-2:#ff8c2b;
  --orange-soft:#fff2e6;
  --ink:#1c1630;
  --ink-2:#4c4663;
  --muted:#807b96;
  --line:#e9e6f1;
  --line-2:#f2f0f7;
  --bg:#ffffff;
  --bg-soft:#faf9fd;
  --radius:10px;
  --radius-lg:14px;
  --shadow-sm:0 1px 2px rgba(34,20,70,.05);
  --shadow-md:0 10px 30px -18px rgba(52,26,110,.25);
  --shadow-lg:0 28px 60px -30px rgba(52,26,110,.35);
}

/* ===== 02-base.css ===== */
/* ==========================================================================
   02 · 基础：reset、排版、容器与区块骨架
   ========================================================================== */

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;scroll-padding-top:120px}
body{
  font-family:'Noto Sans SC','PingFang SC','Microsoft YaHei',sans-serif;
  color:var(--ink);background:var(--bg);
  font-size:14px;line-height:1.7;-webkit-font-smoothing:antialiased;
}
a{color:inherit;text-decoration:none}
button{font-family:inherit;cursor:pointer;border:0;background:none;color:inherit}
ul{list-style:none}
img,svg{display:block}
.num{font-family:'Sora','Noto Sans SC',sans-serif;font-variant-numeric:tabular-nums}


.container{width:min(1200px,92vw);margin:0 auto}
.section{padding:82px 0}
.section--soft{background:var(--bg-soft);border-top:1px solid var(--line-2);border-bottom:1px solid var(--line-2)}
.eyebrow{
  display:inline-flex;align-items:center;gap:9px;
  font-family:'Sora',sans-serif;font-size:11px;font-weight:700;letter-spacing:.22em;
  text-transform:uppercase;color:var(--brand);
}
.eyebrow::before{content:"";width:26px;height:2px;background:linear-gradient(90deg,var(--brand),rgba(109,40,217,0));border-radius:2px}
.eyebrow--o{color:var(--orange)}
.eyebrow--o::before{background:linear-gradient(90deg,var(--orange),rgba(249,110,15,0))}
h2.sec-title{margin:14px 0 0;font-size:34px;line-height:1.3;font-weight:900;letter-spacing:.01em;color:var(--brand-ink)}
.sec-desc{margin:12px 0 0;color:var(--muted);font-size:15px;max-width:52ch}
.sec-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;flex-wrap:wrap}
.sec-head .sec-desc{margin-top:8px}

/* ===== 03-layout.css ===== */
/* ==========================================================================
   03 · 站点框架：顶部条 / 导航 / 页脚 / 动效
   ========================================================================== */

.topstrip{background:var(--brand-ink);color:#c9bde6;font-size:12px}
.topstrip .container{display:flex;align-items:center;justify-content:space-between;height:36px}
.topstrip a{opacity:.82;transition:opacity .2s,color .2s}
.topstrip a:hover{opacity:1;color:#fff}
.topstrip .left{display:flex;gap:22px;align-items:center}
.topstrip .right{display:flex;gap:18px;align-items:center}
.topstrip .divider{width:1px;height:12px;background:rgba(255,255,255,.18)}
.topstrip .hot{color:#ffb072;opacity:1;font-weight:600}


.header{
  position:sticky;top:0;z-index:120;
  background:rgba(255,255,255,.94);
  backdrop-filter:blur(14px) saturate(150%);
  -webkit-backdrop-filter:blur(14px) saturate(150%);
  border-bottom:1px solid var(--line-2);
  transition:box-shadow .28s,border-color .28s;
}
.header.scrolled{box-shadow:0 12px 30px -22px rgba(43,18,96,.35);border-color:var(--line)}
.header .container{display:flex;align-items:center;gap:38px;height:72px}
.logo{display:flex;align-items:center;gap:11px}
.logo-mark{
  width:38px;height:38px;border-radius:10px;position:relative;overflow:hidden;
  background:linear-gradient(135deg,var(--brand) 0%, #7c3aed 52%, var(--orange) 130%);
  box-shadow:0 10px 22px -12px rgba(109,40,217,.7);
}
.logo-mark::before{
  content:"";position:absolute;left:9px;top:11px;width:20px;height:16px;
  border:2.6px solid #fff;border-radius:5px;border-bottom-width:7px;
}
.logo-mark::after{content:"";position:absolute;right:6px;bottom:7px;width:8px;height:8px;border-radius:2px;background:var(--orange-2)}
.logo-text{line-height:1.15}
.logo-text b{font-size:20px;font-weight:900;letter-spacing:.03em;color:var(--brand-ink);display:block}
.logo-text span{font-family:'Sora',sans-serif;font-size:9.5px;letter-spacing:.34em;color:var(--muted);font-weight:600}
.logo{flex:none}
.logo-text{white-space:nowrap}
.nav{display:flex;gap:6px;flex:1}
.nav a{
  white-space:nowrap;flex:none;
  position:relative;padding:9px 15px;border-radius:8px;font-size:15px;font-weight:500;color:var(--ink-2);
  transition:color .22s,background .22s;
}
.nav a:hover{color:var(--brand);background:var(--brand-soft)}
.nav a.is-active{color:var(--brand);font-weight:700}
.nav a.is-active::after{
  content:"";position:absolute;left:15px;right:15px;bottom:-1px;height:2.6px;border-radius:2px;
  background:linear-gradient(90deg,var(--brand),var(--orange));
}
.header-actions{display:flex;align-items:center;gap:12px;flex:none}
.header-actions a,.header-actions .btn{white-space:nowrap}
.link-plain{color:var(--ink-2);font-size:14px;font-weight:500;transition:color .2s}
.link-plain:hover{color:var(--brand)}


.footer{background:#1b1030;color:#a79cc4;padding:64px 0 0;font-size:13px}
.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr 1.15fr;gap:34px;padding-bottom:48px}
.footer h4{color:#fff;font-size:14px;font-weight:700;letter-spacing:.06em;margin-bottom:20px}
.footer ul{display:grid;gap:11px}
.footer a{color:#a79cc4;transition:color .2s}
.footer a:hover{color:#fff}
.footer .brand-col .logo-text b{color:#fff}
.footer .brand-col .logo-text span{color:#8479a6}
.footer .brand-col p{margin:18px 0 0;line-height:1.9;color:#8479a6;max-width:26em}
.footer .contact li{display:flex;gap:10px;align-items:flex-start;color:#c6bcdf;font-family:'Sora',sans-serif;font-size:14px}
.footer .contact li span{font-family:'Noto Sans SC',sans-serif;font-size:12px;color:#8479a6;display:block}
.footer-bottom{border-top:1px solid rgba(255,255,255,.09);padding:22px 0;display:flex;justify-content:space-between;gap:18px;flex-wrap:wrap;color:#7c719c;font-size:12px;line-height:2}
.footer-bottom .links{display:flex;gap:20px;flex-wrap:wrap}
.footer-bottom a.icp{color:#a79ec6;text-decoration:underline;text-underline-offset:3px;text-decoration-color:rgba(255,255,255,.3)}
.footer-bottom a.icp:hover{color:#fff}


.reveal{opacity:0;transform:translateY(22px);transition:opacity .75s cubic-bezier(.22,.85,.26,1),transform .75s cubic-bezier(.22,.85,.26,1)}
.reveal.in{opacity:1;transform:none}
.d1{transition-delay:.07s}.d2{transition-delay:.14s}.d3{transition-delay:.21s}.d4{transition-delay:.28s}
@media (prefers-reduced-motion:reduce){
  *{animation:none!important;transition-duration:.01ms!important}
  .reveal{opacity:1;transform:none}
}

/* ===== 04-components.css ===== */
/* ==========================================================================
   04 · 组件：按钮、首屏、卡片、表格、配置器、折叠
   ========================================================================== */

.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  height:46px;padding:0 26px;border-radius:8px;
  font-size:15px;font-weight:700;letter-spacing:.02em;
  transition:transform .22s cubic-bezier(.22,.9,.28,1), box-shadow .22s, background .22s, border-color .22s, color .22s;
}
.btn:active{transform:translateY(1px) scale(.99)}
.btn-primary{color:#fff;background:linear-gradient(135deg,var(--orange),var(--orange-2));box-shadow:0 12px 24px -12px rgba(249,110,15,.65)}
.btn-primary:hover{box-shadow:0 18px 34px -12px rgba(249,110,15,.75);transform:translateY(-2px)}
.btn-brand{color:#fff;background:var(--brand);box-shadow:0 12px 24px -14px rgba(109,40,217,.7)}
.btn-brand:hover{background:#5c21c4;transform:translateY(-2px)}
.btn-ghost{color:var(--brand);background:#fff;border:1px solid var(--brand-line)}
.btn-ghost:hover{border-color:var(--brand);background:var(--brand-soft);transform:translateY(-2px)}
.btn-sm{height:38px;padding:0 18px;font-size:13.5px;border-radius:7px}
.btn-block{width:100%}

/* 测试期控制台双入口：新版（实线幽灵按钮）+ 旧版（虚线、弱化） */
.console-entries{display:inline-flex;align-items:center;gap:6px}
.btn-legacy{
  color:var(--muted);background:#fff;border:1px dashed var(--line);
  padding:0 11px;font-size:13px;font-weight:600;
}
.btn-legacy:hover{color:var(--brand);border-color:var(--brand-line);background:var(--brand-soft);transform:translateY(-2px)}


.hero{position:relative;overflow:hidden;padding:72px 0 78px;
  background:
    radial-gradient(900px 520px at 88% -10%, #f1eafd 0%, rgba(241,234,253,0) 62%),
    radial-gradient(760px 480px at 4% 110%, #fff3e8 0%, rgba(255,243,232,0) 58%),
    linear-gradient(180deg,#ffffff, #fbfaff);
  border-bottom:1px solid var(--line-2);
}
.hero-grid-bg{
  position:absolute;inset:0;pointer-events:none;opacity:.55;
  background-image:
    linear-gradient(to right, rgba(109,40,217,.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(109,40,217,.055) 1px, transparent 1px);
  background-size:76px 76px;
  -webkit-mask-image:radial-gradient(80% 80% at 50% 40%,#000,transparent 88%);
  mask-image:radial-gradient(80% 80% at 50% 40%,#000,transparent 88%);
}
.hero .container{position:relative;display:grid;grid-template-columns:minmax(0,1.06fr) minmax(0,.94fr);gap:56px;align-items:center}
.badge-row{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:20px}
.badge{
  display:inline-flex;align-items:center;gap:7px;padding:6px 13px;border-radius:999px;
  font-size:12.5px;font-weight:600;letter-spacing:.02em;
}
.badge-o{background:var(--orange-soft);color:#c45505;border:1px solid #ffe0c2}
.badge-v{background:var(--brand-soft);color:var(--brand);border:1px solid var(--brand-line)}
.badge .dot{width:6px;height:6px;border-radius:50%;background:currentColor}
h1{font-size:52px;line-height:1.18;font-weight:900;letter-spacing:.015em;color:var(--brand-ink)}
h1 .grad{
  background:linear-gradient(104deg,var(--brand) 0%, #8b5cf6 42%, var(--orange) 100%);
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
.hero-sub{margin:20px 0 0;font-size:17px;line-height:1.85;color:var(--ink-2);max-width:34em}
.hero-sub b{color:var(--brand);font-weight:700}
.hero-actions{display:flex;gap:14px;margin:30px 0 0;flex-wrap:wrap}
.hero-actions .btn{height:52px;padding:0 32px;font-size:16px}
.hero-note{margin:16px 0 0;font-size:12.5px;color:var(--muted)}
.hero-points{display:flex;flex-wrap:wrap;gap:8px 22px;margin:24px 0 0}
.hero-points li{display:flex;align-items:center;gap:8px;font-size:13.5px;color:var(--ink-2);font-weight:500}
.hero-points svg{width:16px;height:16px;stroke:var(--orange);flex:none}
.hero-stats{
  display:grid;grid-template-columns:repeat(4,1fr);gap:1px;margin:34px 0 0;
  background:var(--line);border:1px solid var(--line);border-radius:var(--radius-lg);overflow:hidden;
}
.hero-stats div{background:#fff;padding:18px 16px}
.hero-stats .v{font-family:'Sora',sans-serif;font-size:23px;font-weight:800;color:var(--brand-ink);letter-spacing:-.01em}
.hero-stats .v i{font-style:normal;font-size:13px;color:var(--orange);font-weight:700;margin-left:2px}
.hero-stats .v em{display:block;font-family:'Inter',system-ui,sans-serif;font-style:normal;font-size:10.5px;font-weight:700;letter-spacing:.14em;color:var(--muted);margin-bottom:3px}
.hero-stats .k{margin-top:3px;font-size:12.5px;color:var(--muted)}

/* hero visual */
.hero-visual{position:relative}
.vcard{
  background:#fff;border:1px solid var(--line);border-radius:16px;
  box-shadow:var(--shadow-lg);overflow:hidden;
}
.vcard-head{
  display:flex;align-items:center;justify-content:space-between;
  padding:18px 22px;background:linear-gradient(120deg,var(--brand-ink),#4b1c96 70%, #6d28d9);
  color:#fff;
}
.vcard-head .t{font-size:15px;font-weight:700;letter-spacing:.03em}
.vcard-head .s{font-family:'Sora',sans-serif;font-size:10.5px;letter-spacing:.26em;opacity:.72}
.vcard-head .tag{
  padding:5px 12px;border-radius:999px;background:rgba(255,255,255,.16);
  font-size:11.5px;font-weight:600;letter-spacing:.06em;
}
.vcard-body{padding:8px 22px 20px}
.vrow{display:flex;align-items:center;justify-content:space-between;padding:13px 0;border-bottom:1px dashed var(--line)}
.vrow:last-child{border-bottom:0}
.vrow .k{color:var(--muted);font-size:13px;display:flex;align-items:center;gap:9px}
.vrow .k svg{width:16px;height:16px;stroke:var(--brand)}
.vrow .v{font-weight:700;color:var(--ink);font-size:13.5px}
.vrow .v.ok{color:#0f9d58}
.vprice{
  display:flex;align-items:flex-end;justify-content:space-between;gap:16px;
  padding:18px 22px;background:linear-gradient(120deg,#fff7f0,#fff1e2);border-top:1px solid #ffe6cd;
}
.vprice .lbl{font-size:12px;color:#b15e16;font-weight:600}
.vprice .p{display:flex;align-items:baseline;gap:3px;color:var(--orange);font-family:'Sora',sans-serif;font-weight:800}
.vprice .p .cur{font-size:17px}
.vprice .p .int{font-size:38px;letter-spacing:-.02em}
.vprice .p .per{font-size:13px;color:#b15e16;font-family:'Noto Sans SC',sans-serif;font-weight:600}
.float-chip{
  position:absolute;background:#fff;border:1px solid var(--line);border-radius:11px;
  padding:11px 15px;box-shadow:var(--shadow-md);display:flex;align-items:center;gap:10px;
}
.float-chip .ic{width:30px;height:30px;border-radius:8px;display:grid;place-items:center;flex:none}
.float-chip .ic svg{width:16px;height:16px}
.float-chip .tx b{display:block;font-size:12.5px;line-height:1.3;color:var(--ink)}
.float-chip .tx span{font-size:11px;color:var(--muted)}
.fc-1{top:-62px;right:-6px;animation:floaty 6.5s ease-in-out infinite}
.fc-2{bottom:-60px;left:-6px;animation:floaty 7.8s ease-in-out infinite reverse}
@keyframes floaty{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}
.ic-v{background:var(--brand-soft);color:var(--brand)}
.ic-o{background:var(--orange-soft);color:var(--orange)}


.trust{border-bottom:1px solid var(--line-2);background:#fff}
.trust .container{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--line-2)}
.trust-item{background:#fff;display:flex;align-items:center;gap:14px;padding:26px 24px}
.trust-item svg{width:28px;height:28px;stroke:var(--brand);flex:none}
.trust-item b{display:block;font-size:15px;font-weight:700}
.trust-item span{font-size:12.5px;color:var(--muted);display:block;margin-top:2px}


.feat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--line);border:1px solid var(--line);border-radius:var(--radius-lg);overflow:hidden;margin-top:38px}
.feat{background:#fff;padding:30px 26px;transition:background .25s}
.feat:hover{background:#fdfbff}
.feat .ic{
  width:46px;height:46px;border-radius:12px;display:grid;place-items:center;margin-bottom:16px;
  background:var(--brand-soft);border:1px solid var(--brand-line);
}
.feat .ic svg{width:22px;height:22px;stroke:var(--brand)}
.feat:nth-child(4n) .ic{background:var(--orange-soft);border-color:#ffe0c2}
.feat:nth-child(4n) .ic svg{stroke:var(--orange)}
.feat h3{font-size:16.5px;font-weight:800;color:var(--brand-ink)}
.feat p{margin:9px 0 0;font-size:13px;color:var(--muted);line-height:1.85}
.feat .meta{margin-top:13px;font-family:'Sora',sans-serif;font-size:11px;letter-spacing:.14em;color:var(--brand);font-weight:600}
.feat:nth-child(4n) .meta{color:var(--orange)}


.cfg-wrap{display:grid;grid-template-columns:minmax(0,1fr) 372px;gap:28px;align-items:start;margin-top:38px}
.cfg-panel{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);
  box-shadow:var(--shadow-sm);overflow:hidden;
}
.cfg-tabs{display:flex;border-bottom:1px solid var(--line);background:var(--bg-soft)}
.cfg-tab{
  position:relative;flex:1;padding:19px 12px 17px;font-size:15px;font-weight:700;color:var(--muted);
  transition:color .22s,background .22s;
}
.cfg-tab small{display:block;font-family:'Sora',sans-serif;font-size:10px;letter-spacing:.22em;font-weight:600;opacity:.7;margin-bottom:3px}
.cfg-tab:hover{color:var(--brand);background:#fff}
.cfg-tab.active{color:var(--brand);background:#fff}
.cfg-tab.active::after{content:"";position:absolute;left:22%;right:22%;bottom:-1px;height:3px;border-radius:3px;background:linear-gradient(90deg,var(--brand),var(--orange))}
.cfg-body{padding:28px 30px 30px}
.cfg-block{display:grid;grid-template-columns:104px minmax(0,1fr);gap:18px;align-items:start;padding:18px 0;border-bottom:1px dashed var(--line)}
.cfg-block:first-child{padding-top:4px}
.cfg-block:last-child{border-bottom:0;padding-bottom:4px}
.cfg-label{padding-top:9px;font-size:14px;font-weight:700;color:var(--ink);display:flex;align-items:center;gap:7px}
.cfg-label .req{width:4px;height:4px;border-radius:50%;background:var(--orange)}
.opts{display:flex;flex-wrap:wrap;gap:10px}
.opt{
  padding:9px 16px;border-radius:8px;border:1px solid var(--line);background:#fff;
  font-size:13.5px;font-weight:500;color:var(--ink-2);line-height:1.4;
  transition:border-color .2s,background .2s,color .2s,box-shadow .2s;
  display:inline-flex;flex-direction:column;align-items:flex-start;gap:1px;
}
.opt small{font-size:11px;color:var(--muted);font-weight:400}
.opt:hover{border-color:var(--brand-2);color:var(--brand)}
.opt.active{
  border-color:var(--brand);background:var(--brand-soft);color:var(--brand);font-weight:700;
  box-shadow:0 0 0 3px rgba(109,40,217,.1);
}
.opt.active small{color:var(--brand);opacity:.8}
.opt.hot{position:relative}
.opt.hot::after{
  content:"热";position:absolute;top:-8px;right:-7px;padding:1px 6px;border-radius:5px;
  background:var(--orange);color:#fff;font-size:10px;font-weight:700;
}
select.field{
  appearance:none;-webkit-appearance:none;
  min-width:238px;height:42px;padding:0 40px 0 15px;border-radius:8px;
  border:1px solid var(--line);background:#fff 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='%23807b96' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 15px center;
  font-family:inherit;font-size:13.5px;color:var(--ink);cursor:pointer;
  transition:border-color .2s,box-shadow .2s;
}
select.field:hover{border-color:var(--brand-2)}
select.field:focus{outline:none;border-color:var(--brand);box-shadow:0 0 0 3px rgba(109,40,217,.12)}
.inline-note{margin-top:9px;font-size:12px;color:var(--muted);display:flex;align-items:flex-start;gap:6px}
.inline-note svg{width:14px;height:14px;stroke:var(--brand-2);flex:none;margin-top:3px}
/* 直接位于 .cfg-block 网格里的说明文字，必须落在第二列，否则会被挤进 104px 的标签列 */
.cfg-block > .inline-note{grid-column:2;margin-top:11px}

/* stepper */
.stepper{display:inline-flex;align-items:stretch;border:1px solid var(--line);border-radius:8px;overflow:hidden;background:#fff}
.stepper button{width:40px;display:grid;place-items:center;font-size:18px;color:var(--muted);transition:background .2s,color .2s}
.stepper button:hover{background:var(--brand-soft);color:var(--brand)}
.stepper input{
  width:92px;border:0;border-left:1px solid var(--line);border-right:1px solid var(--line);
  text-align:center;font-family:'Sora',sans-serif;font-size:14.5px;font-weight:600;color:var(--ink);
}
.stepper input:focus{outline:none;background:var(--brand-soft)}
.stepper .unit{width:42px;display:grid;place-items:center;font-size:12.5px;color:var(--muted);background:var(--bg-soft)}

/* range */
.range-wrap{flex:1;min-width:260px;max-width:430px}
.range-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:11px}
.range-top .val{font-family:'Sora',sans-serif;font-size:15px;font-weight:700;color:var(--brand)}
.range-top .val i{font-style:normal;font-size:12px;color:var(--muted);font-family:'Noto Sans SC',sans-serif;font-weight:500}
input[type=range]{
  -webkit-appearance:none;appearance:none;width:100%;height:5px;border-radius:4px;
  background:linear-gradient(90deg,var(--brand) var(--pct,30%), var(--line) var(--pct,30%));
  outline:none;cursor:pointer;
}
input[type=range]::-webkit-slider-thumb{
  -webkit-appearance:none;appearance:none;width:19px;height:19px;border-radius:50%;
  background:#fff;border:3px solid var(--brand);cursor:grab;
  box-shadow:0 5px 12px -4px rgba(109,40,217,.6);transition:transform .18s;
}
input[type=range]::-webkit-slider-thumb:hover{transform:scale(1.12)}
input[type=range]::-moz-range-thumb{width:19px;height:19px;border-radius:50%;background:#fff;border:3px solid var(--brand);cursor:grab}
.range-scale{display:flex;justify-content:space-between;margin-top:8px;font-size:11px;color:var(--muted);font-family:'Sora',sans-serif}

/* summary */
.summary{
  position:sticky;top:104px;
  background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);
  box-shadow:var(--shadow-md);overflow:hidden;
}
.sum-head{padding:20px 24px 16px;border-bottom:1px solid var(--line-2)}
.sum-head h3{font-size:17px;font-weight:800;color:var(--brand-ink);letter-spacing:.02em}
.sum-head p{margin-top:4px;font-size:12px;color:var(--muted)}
.sum-body{padding:8px 24px 4px}
.sum-line{display:flex;justify-content:space-between;gap:14px;padding:11px 0;border-bottom:1px dashed var(--line-2);font-size:13px}
.sum-line .k{color:var(--muted);flex:none}
.sum-line .v{font-weight:600;color:var(--ink);text-align:right}
.sum-price{padding:18px 24px 6px}
.sum-price .row{display:flex;align-items:flex-end;justify-content:space-between;gap:10px}
.sum-price .lbl{font-size:12.5px;color:var(--muted);margin-bottom:5px}
.sum-price .orig{font-size:13px;color:var(--muted);text-decoration:line-through;font-family:'Sora',sans-serif}
.big-price{font-family:'Sora',sans-serif;font-weight:800;color:var(--orange);letter-spacing:-.02em;line-height:1}
.big-price .cur{font-size:18px;vertical-align:top;margin-right:1px}
.big-price .int{font-size:42px}
.big-price .per{font-size:13px;color:#b15e16;font-family:'Noto Sans SC',sans-serif;font-weight:600;margin-left:2px}
.save-chip{
  display:inline-flex;align-items:center;gap:6px;margin-top:10px;padding:5px 11px;border-radius:7px;
  background:var(--orange-soft);color:#c45505;font-size:12px;font-weight:700;
}
.sum-actions{padding:16px 24px 24px;display:grid;gap:10px}
.sum-note{
  padding:13px 24px;background:var(--brand-soft);border-top:1px solid var(--brand-line);
  font-size:11.5px;color:var(--brand);display:flex;gap:8px;align-items:flex-start;line-height:1.65;
}
.sum-note svg{width:15px;height:15px;stroke:var(--brand);flex:none;margin-top:2px}


.table-wrap{margin-top:32px;border:1px solid var(--line);border-radius:var(--radius-lg);overflow:hidden;background:#fff}
table{width:100%;border-collapse:collapse}
thead th{
  background:var(--bg-soft);text-align:left;padding:15px 20px;font-size:12.5px;font-weight:700;
  color:var(--muted);letter-spacing:.08em;border-bottom:1px solid var(--line);white-space:nowrap;
}
tbody td{padding:17px 20px;border-bottom:1px solid var(--line-2);font-size:13.5px;color:var(--ink-2);vertical-align:middle}
tbody tr:last-child td{border-bottom:0}
tbody tr{transition:background .2s}
tbody tr:hover{background:#fcfbff}
td .sku{font-family:'Sora',sans-serif;font-weight:700;color:var(--ink);font-size:13.5px}
td .sku small{display:block;font-family:'Noto Sans SC',sans-serif;font-size:11.5px;color:var(--muted);font-weight:400;margin-top:2px}
td .price{font-family:'Sora',sans-serif;font-size:17px;font-weight:800;color:var(--orange)}
td .price span{font-size:11.5px;color:var(--muted);font-weight:500;font-family:'Noto Sans SC',sans-serif;margin-left:2px}
.chip-mini{display:inline-block;padding:3px 10px;border-radius:6px;background:var(--brand-soft);color:var(--brand);font-size:11.5px;font-weight:700;margin-right:6px}
.chip-mini.chip-o{background:var(--orange-soft);color:#c45505}
.btn-buy{padding:8px 18px;border-radius:7px;background:var(--orange);color:#fff;font-size:12.5px;font-weight:700;transition:background .2s,transform .2s,box-shadow .2s}
.btn-buy:hover{background:#e85f05;transform:translateY(-1px);box-shadow:0 10px 20px -12px rgba(249,110,15,.8)}
.table-foot{
  display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;
  padding:16px 22px;background:var(--bg-soft);border-top:1px solid var(--line);font-size:12px;color:var(--muted);
}
.table-foot b{color:var(--ink-2)}


.tech-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px;margin-top:38px}
.tech-col{background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);padding:28px 26px;transition:box-shadow .3s,border-color .3s}
.tech-col:hover{box-shadow:var(--shadow-md);border-color:var(--brand-line)}
.tech-col h3{
  font-size:16px;font-weight:800;color:var(--brand-ink);display:flex;align-items:center;gap:10px;
  padding-bottom:16px;border-bottom:1px solid var(--line-2);
}
.tech-col h3 svg{width:20px;height:20px;stroke:var(--brand)}
.tech-col dl{margin:6px 0 0}
.tech-col .r{display:flex;justify-content:space-between;gap:12px;padding:11px 0;border-bottom:1px dashed var(--line-2);font-size:13px}
.tech-col .r:last-child{border-bottom:0}
.tech-col dt{color:var(--muted);flex:none}
.tech-col dd{font-weight:600;color:var(--ink);text-align:right;font-family:'Sora','Noto Sans SC',sans-serif;font-size:12.5px}


.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:38px}
.scene-card{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);padding:30px 28px;
  transition:transform .3s cubic-bezier(.22,.9,.28,1),box-shadow .3s,border-color .3s;
}
.scene-card:hover{transform:translateY(-5px);box-shadow:var(--shadow-lg);border-color:var(--brand-line)}
.scene-ic{
  width:52px;height:52px;border-radius:13px;display:grid;place-items:center;margin-bottom:20px;
  background:linear-gradient(135deg,var(--brand-soft),#fff);border:1px solid var(--brand-line);
}
.scene-ic svg{width:25px;height:25px;stroke:var(--brand)}
.scene-card h3{font-size:19px;font-weight:800;color:var(--brand-ink);letter-spacing:.01em}
.scene-card p{margin:11px 0 0;color:var(--muted);font-size:13.5px;line-height:1.85}
.scene-card ul{margin:16px 0 0;display:grid;gap:8px}
.scene-card li{display:flex;gap:9px;align-items:flex-start;font-size:13px;color:var(--ink-2)}
.scene-card li svg{width:15px;height:15px;stroke:var(--orange);flex:none;margin-top:4px}
.scene-card .rec{margin-top:18px;padding-top:15px;border-top:1px dashed var(--line);display:flex;justify-content:space-between;align-items:center}
.scene-card .rec span{font-size:12px;color:var(--muted)}
.scene-card .rec b{font-family:'Sora',sans-serif;font-size:15px;color:var(--brand)}
.scene-card .rec b em{font-style:normal;font-family:'Noto Sans SC',sans-serif;font-size:11.5px;color:var(--muted);margin-left:6px}


.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:0;margin-top:38px;position:relative}
.steps::before{
  content:"";position:absolute;top:27px;left:12%;right:12%;height:2px;
  background:linear-gradient(90deg,var(--brand-line),var(--brand-2),var(--orange-soft));
}
.step{position:relative;padding:0 18px;text-align:center}
.step .no{
  position:relative;z-index:2;width:56px;height:56px;margin:0 auto 18px;border-radius:50%;
  background:#fff;border:2px solid var(--brand-line);display:grid;place-items:center;
  font-family:'Sora',sans-serif;font-size:18px;font-weight:800;color:var(--brand);
  box-shadow:0 10px 24px -14px rgba(109,40,217,.5);transition:transform .3s,border-color .3s,background .3s,color .3s;
}
.step:hover .no{transform:translateY(-4px);border-color:var(--brand);background:var(--brand);color:#fff}
.step h3{font-size:17px;font-weight:800;color:var(--brand-ink)}
.step p{margin:10px 0 0;font-size:13px;color:var(--muted);line-height:1.85}
.step .time{margin-top:10px;display:inline-block;padding:3px 11px;border-radius:6px;background:var(--orange-soft);color:#c45505;font-size:11.5px;font-weight:700;font-family:'Sora',sans-serif}


.gua{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--line);border:1px solid var(--line);border-radius:var(--radius-lg);overflow:hidden;margin-top:38px}
.gua-item{background:#fff;padding:32px 26px;transition:background .25s}
.gua-item:hover{background:var(--brand-soft)}
.gua-item svg{width:30px;height:30px;stroke:var(--brand);margin-bottom:16px}
.gua-item b{display:block;font-size:16px;font-weight:800;color:var(--brand-ink)}
.gua-item p{margin:9px 0 0;font-size:13px;color:var(--muted);line-height:1.8}
.gua-item .more{margin-top:13px;display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:700;color:var(--brand)}
.gua-item .more svg{width:13px;height:13px;stroke:var(--brand);margin:0}


.faq-list{margin-top:34px;display:grid;gap:12px}
.faq-item{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;transition:border-color .25s,box-shadow .25s}
.faq-item.open{border-color:var(--brand-line);box-shadow:var(--shadow-md)}
.faq-q{
  width:100%;display:flex;align-items:center;justify-content:space-between;gap:20px;
  padding:21px 26px;text-align:left;font-size:15.5px;font-weight:700;color:var(--ink);
}
.faq-q .sign{
  width:26px;height:26px;border-radius:7px;flex:none;display:grid;place-items:center;
  background:var(--brand-soft);color:var(--brand);font-size:16px;font-weight:400;
  transition:transform .3s,background .3s,color .3s;
}
.faq-item.open .faq-q .sign{transform:rotate(45deg);background:var(--brand);color:#fff}
.faq-a{max-height:0;overflow:hidden;transition:max-height .35s cubic-bezier(.22,.85,.26,1)}
.faq-a p{padding:0 26px 10px;color:var(--muted);font-size:13.5px;line-height:1.95}
.faq-a p:last-child{padding-bottom:22px}
.faq-a b{color:var(--ink-2)}


.cta-band{
  background:linear-gradient(118deg,var(--brand-ink) 0%, #4c1d95 44%, #6d28d9 78%, #8b5cf6 100%);
  position:relative;overflow:hidden;
}
.cta-band::after{
  content:"";position:absolute;right:-90px;top:-120px;width:420px;height:420px;border-radius:50%;
  background:radial-gradient(circle,rgba(249,110,15,.4),transparent 62%);
}
.cta-band .container{position:relative;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:36px;padding:58px 0;flex-wrap:wrap}
.cta-band h2{color:#fff;font-size:31px;font-weight:900;letter-spacing:.02em}
.cta-band p{margin:11px 0 0;color:rgba(255,255,255,.78);font-size:15px}
.cta-band .sub{margin-top:16px;display:flex;gap:26px;flex-wrap:wrap}
.cta-band .sub li{color:rgba(255,255,255,.72);font-size:12.5px;display:flex;align-items:center;gap:7px}
.cta-band .sub svg{width:14px;height:14px;stroke:#ffb072}
.cta-band .acts{display:flex;gap:14px;flex-wrap:wrap}
.cta-band .btn-white{background:#fff;color:var(--brand-deep);box-shadow:0 18px 36px -18px rgba(0,0,0,.5)}
.cta-band .btn-white:hover{transform:translateY(-2px)}
.cta-band .btn-o{background:var(--orange);color:#fff;box-shadow:0 18px 36px -16px rgba(249,110,15,.8)}
.cta-band .btn-o:hover{background:#f26205;transform:translateY(-2px)}

/* ===== 在线客服浮窗 ===== */
.csdock{position:fixed;right:22px;bottom:26px;z-index:70;display:flex;flex-direction:column;align-items:flex-end;gap:10px;font-family:inherit}
.csdock-btn{display:inline-flex;align-items:center;gap:8px;height:46px;padding:0 18px;border:0;border-radius:999px;background:linear-gradient(135deg,var(--brand),var(--brand-2));color:#fff;font-size:14px;font-weight:600;cursor:pointer;box-shadow:0 12px 26px -12px rgba(80,40,160,.6);transition:transform .2s,box-shadow .2s}
.csdock-btn:hover{transform:translateY(-2px);box-shadow:0 16px 30px -12px rgba(80,40,160,.7)}
.csdock-btn svg{width:19px;height:19px;stroke:currentColor}
.csdock-panel{width:238px;background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);box-shadow:var(--shadow-lg);padding:14px;display:flex;flex-direction:column;gap:8px}
.csdock-panel[hidden]{display:none}
.csdock-h{font-size:11.5px;letter-spacing:.08em;color:var(--muted);font-weight:700;padding:0 4px 2px}
.csdock-item{display:flex;align-items:center;gap:10px;padding:9px 10px;border-radius:9px;font-size:13.5px;color:var(--ink);transition:background .2s}
.csdock-item:hover{background:var(--brand-soft);color:var(--brand)}
.csdock-item svg{width:17px;height:17px;stroke:var(--brand);flex:none}
.csdock-qr{display:flex;align-items:center;gap:10px;padding:8px 10px;border-top:1px solid var(--line-2);margin-top:2px}
.csdock-qr img{width:64px;height:64px;border-radius:8px;border:1px solid var(--line)}
.csdock-qr span{font-size:12px;color:var(--muted);line-height:1.6}
.csdock-qr b{display:block;font-size:13px;color:var(--ink);margin-bottom:2px}

/* ===== 05-pages.css ===== */
/* ==========================================================================
   05 · 页面级差异（页面特有的排版与区块）
   ========================================================================== */

/* ---------- 选购页（buy.html） ---------- */
.page-head{background:linear-gradient(180deg,#fbf9ff,#fff);border-bottom:1px solid var(--line-2);padding:24px 0 30px}
.crumb{display:flex;gap:9px;align-items:center;font-size:12.5px;color:var(--muted);flex-wrap:wrap}
.crumb a{transition:color .2s}
.crumb a:hover{color:var(--brand)}
.crumb i{font-style:normal;opacity:.45}
.crumb b{color:var(--ink);font-weight:600}
.page-h1{font-size:34px;line-height:1.25;font-weight:900;color:var(--brand-ink);margin:16px 0 0;letter-spacing:.01em}
.page-sub{margin:10px 0 0;color:var(--muted);font-size:14.5px;max-width:66ch}
.page-badges{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}
.buy-section{padding:32px 0 56px;background:var(--bg-soft);border-bottom:1px solid var(--line-2)}
.buy-section .cfg-wrap{margin-top:0}
.buy-note{margin:24px 0 0;border:1px solid var(--line);background:#fff;border-radius:var(--radius-lg);padding:16px 20px;font-size:12.5px;line-height:1.95;color:var(--muted)}
.buy-note b{color:var(--ink);font-weight:700}
.buy-note .row{display:flex;gap:10px;align-items:flex-start}
.buy-note .row + .row{margin-top:6px}
.buy-note svg{width:14px;height:14px;stroke:var(--brand-2);flex:none;margin-top:4px}
.buy-note a{color:var(--brand);font-weight:600}

/* ---------- 多页通用组件 ---------- */
.grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.grid-2{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:52px;align-items:start}
.cta-band + .footer,.section + .footer{margin-top:0}

/* 定价阶梯 */
.ladder{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);overflow:hidden;margin-top:32px}
.ladder>div{padding:22px 24px;border-left:1px solid var(--line-2)}
.ladder>div:first-child{border-left:0}
.ladder b{display:block;font-family:'Sora',sans-serif;font-size:22px;font-weight:800;color:var(--brand-ink);letter-spacing:-.02em}
.ladder span{display:block;margin-top:6px;font-size:12.5px;color:var(--muted)}

/* 时间线 */
.timeline{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;margin-top:34px}
.timeline>div{position:relative;padding-top:20px;border-top:1px solid var(--line)}
.timeline>div::before{content:"";position:absolute;top:-4px;left:0;width:7px;height:7px;border-radius:50%;background:var(--brand)}
.timeline .yr{font-family:'Sora',sans-serif;font-size:13px;font-weight:700;color:var(--brand);letter-spacing:.04em}
.timeline h3{margin-top:6px;font-size:15px}
.timeline p{margin-top:6px;font-size:13px;line-height:1.8;color:var(--muted)}

/* 联系方式 */
.contact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;background:var(--line);border:1px solid var(--line);border-radius:var(--radius-lg);overflow:hidden;margin-top:32px}
.contact-grid>div{background:#fff;padding:24px 26px}
.contact-grid b{display:block;font-size:15px;color:var(--brand-ink)}
.contact-grid a{display:block;margin-top:6px;font-family:'Sora',sans-serif;font-size:14px;font-weight:700;color:var(--brand)}
.contact-grid span{display:block;margin-top:6px;font-size:12.5px;color:var(--muted)}

/* 资质 */
.certs{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}
.certs span{padding:8px 16px;border:1px solid var(--line);border-radius:999px;background:#fff;font-size:12.5px;color:var(--ink-2)}

/* 小数字卡 */
.mini{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);overflow:hidden}
.mini>div{padding:22px 24px;border-left:1px solid var(--line-2);border-top:1px solid var(--line-2)}
.mini>div:nth-child(-n+2){border-top:0}
.mini>div:nth-child(odd){border-left:0}
.mini b{display:block;font-family:'Sora',sans-serif;font-size:24px;font-weight:800;color:var(--brand-ink)}
.mini span{display:block;margin-top:4px;font-size:12.5px;color:var(--muted)}


/* ---------- 移动端补丁（v1 原本没处理顶部条与表格） ---------- */

/* 价格单元格下方的年付小字 */
.price-sub {
  margin-top: 2px;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--muted);
  white-space: nowrap;
}

/* 微信二维码 */
.qr {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
}
.qr img {
  width: 92px;
  height: 92px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 4px;
  display: block;
}
.qr div b {
  display: block;
  font-size: 13px;
  color: var(--ink);
}
.qr div span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}

/* FAQ 默认收起：只露出前 5 条 */
.faq-list:not(.is-expanded) .faq-item:nth-child(n + 6) {
  display: none;
}
.faq-list.is-expanded .faq-item {
  opacity: 1;
  transform: none;
}
.faq-more-wrap {
  margin-top: 20px;
  text-align: center;
}
.faq-more-wrap .btn {
  min-width: 180px;
}

/* ---------- 配置器（buy.html） ---------- */
.cfg2{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:24px;align-items:start}
.cfg2-side{align-self:stretch;min-height:0}
.cfg2 .panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);overflow:hidden}
.cfg-row{display:grid;grid-template-columns:96px minmax(0,1fr);gap:18px;padding:20px 24px;border-bottom:1px solid var(--line-2)}
.cfg-row:last-child{border-bottom:0}
.cfg-k{font-size:13.5px;font-weight:700;color:var(--ink);padding-top:9px}
.cfg-v{min-width:0}
.opt-line{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:8px}
.opt-line:last-of-type{margin-bottom:0}
.opt-line .opt{background:#fff}
.opt-line .opt small{display:block;font-size:11px;color:var(--muted);margin-top:2px}
.opt.is-active small{color:#6B4FA8}
.summary2{
  position:sticky;
  top:88px;
  height:calc(100vh - 112px);
  max-height:calc(100vh - 112px);
  display:flex;
  flex-direction:column;
  overflow:hidden;
}
.summary2 .sum-head,
.summary2 .sum-head-row,
.summary2 .sum-price,
.summary2 .sum-acts,
.summary2 .sum-note{flex:none}
.sum-head2{padding:18px 22px 14px;border-bottom:1px solid var(--line-2)}
.summary2 .sum-head{padding:18px 22px 14px;border-bottom:1px solid var(--line-2)}
.summary2 .sum-rows{padding:2px 22px 12px;flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain}
.summary2 .sum-rows>div{display:grid;grid-template-columns:52px minmax(0,1fr) 62px;gap:8px;align-items:baseline;padding:7px 0;font-size:13px}
.summary2 .sum-rows dt{color:var(--muted);white-space:nowrap;margin:0}
.summary2 .sum-rows dd{margin:0}
.summary2 .sum-rows dd.sv{font-weight:600;color:var(--ink);text-align:right;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sum-head-row{display:grid;grid-template-columns:52px minmax(0,1fr) 62px;gap:8px;padding:14px 22px 4px;font-size:11px;color:var(--muted);letter-spacing:.04em}
.sum-head-row span:last-child{text-align:right}
.summary2 .sum-acts{padding:14px 22px 6px}
.summary2 .sum-note{padding:0 22px 16px;font-size:11.5px;color:var(--muted);line-height:1.7}
.range-label{font-size:13px;color:var(--muted)}
.range-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:4px}
.range-head .val b{font-family:'Sora',sans-serif;font-size:15px;color:var(--ink)}
.range-head .val i{font-style:normal;font-size:11.5px;color:var(--muted);margin-left:2px}
@media (max-width:1080px){
  .cfg2{grid-template-columns:1fr}
  .summary2{position:static}
}

/* ---------- 购物车 ---------- */
.cart-box{display:grid;gap:12px}
.cart-empty{padding:56px 24px;text-align:center;color:var(--muted);font-size:14px;background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg)}
.cart-empty .btn{margin-top:16px}
.cart-item{display:flex;align-items:flex-start;gap:16px;padding:18px 22px;background:#fff;border:1px solid var(--line);border-radius:var(--radius);transition:border-color .2s,box-shadow .2s}
.cart-item:hover{border-color:var(--brand-line);box-shadow:var(--shadow-sm)}
.cart-item .ck{padding-top:2px}
.cart-item .ck input{width:16px;height:16px;accent-color:#6d28d9}
.cart-body{flex:1;min-width:0}
.cart-name{font-size:14.5px;font-weight:700;color:var(--ink)}
.cart-spec{margin-top:6px;font-size:12.5px;color:var(--muted)}
.cart-foot{display:flex;align-items:center;justify-content:space-between;margin-top:12px;gap:12px}
.cart-price{font-family:'Sora',sans-serif;font-size:18px;font-weight:800;color:var(--orange)}
.cart-price small{font-family:var(--sans);font-size:11.5px;font-weight:500;color:var(--muted);margin-left:2px}
.cart-del{width:28px;height:28px;border-radius:6px;color:var(--muted);font-size:18px;line-height:1}
.cart-del:hover{background:#fef2f2;color:#c0392b}
.cart-bar{position:sticky;bottom:0;display:flex;align-items:center;gap:20px;margin-top:18px;padding:14px 22px;background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);box-shadow:var(--shadow-md)}
.cart-all{display:flex;align-items:center;gap:8px;font-size:13.5px;color:var(--ink-2)}
.cart-all input{width:16px;height:16px;accent-color:#6d28d9}
.cart-total{margin-left:auto;font-size:13.5px;color:var(--muted)}
.cart-total b{font-family:'Sora',sans-serif;font-size:20px;color:var(--orange);margin-left:6px}

/* 配置器滑块（沿用 v1 的 .range-wrap 风格，但这里用独立类） */
.cfg-v .range{width:100%;height:22px;margin:6px 0 0;-webkit-appearance:none;appearance:none;background:transparent;cursor:pointer}
.cfg-v .range::-webkit-slider-runnable-track{height:4px;border-radius:4px;background:linear-gradient(90deg,#6d28d9 var(--pct,3%),#e9e6f1 var(--pct,3%))}
.cfg-v .range::-webkit-slider-thumb{-webkit-appearance:none;width:16px;height:16px;margin-top:-6px;border-radius:50%;background:#fff;border:3px solid #6d28d9;box-shadow:0 2px 6px rgba(36,16,70,.25)}
.cfg-v .range:focus-visible{outline:none}
.cfg-v .range:focus-visible::-webkit-slider-thumb{outline:2px solid #8b5cf6;outline-offset:2px}
.range-meta{display:flex;justify-content:space-between;margin-top:6px;font-size:11.5px;color:var(--muted)}

/* ---------- 账号页（登录/注册/找回） ---------- */
.auth-wrap{display:flex;align-items:flex-start;justify-content:center;padding:clamp(28px,5vw,56px) 0 64px}
.auth-card{width:min(440px,100%);background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);box-shadow:var(--shadow-lg);padding:30px 32px 28px}
.auth-card h1{font-size:22px;letter-spacing:-.01em}
.auth-card .sub{margin-top:8px;font-size:13px;color:var(--muted)}
.auth-tabs{display:flex;gap:6px;margin:20px 0 18px;background:var(--bg-soft);border:1px solid var(--line);border-radius:9px;padding:4px}
.auth-tabs button{flex:1;height:34px;border-radius:6px;font-size:13.5px;color:var(--muted);transition:background .2s,color .2s}
.auth-tabs button.on{background:#fff;color:var(--brand);font-weight:600;box-shadow:var(--shadow-sm)}
.auth-row{margin-bottom:14px}
.auth-row label{display:block;margin-bottom:6px;font-size:12.5px;color:var(--muted)}
.auth-row .field{height:42px;font-size:14px}
/* 账号页输入框统一样式（原先只有 select.field 有样式，文本框是浏览器默认边框） */
.auth-card input.field,
.auth-card textarea.field{
  width:100%;height:42px;padding:0 14px;border:1px solid var(--line);border-radius:9px;background:#fff;
  font-family:inherit;font-size:13.5px;color:var(--ink);transition:border-color .2s,box-shadow .2s;
  box-shadow:0 1px 2px rgba(28,22,48,.03);
}
.auth-card input.field::placeholder{color:#b6b0c6}
.auth-card input.field:hover{border-color:var(--brand-2)}
.auth-card input.field:focus{outline:none;border-color:var(--brand);box-shadow:0 0 0 3px rgba(109,40,217,.12)}
.auth-card input.field:disabled{background:#f7f5fb;color:var(--muted);cursor:not-allowed}
.auth-row .with-code{display:flex;gap:8px}
.auth-row .with-code .field{flex:1}
.auth-row .with-code .btn{flex:none;height:42px;padding:0 14px;font-size:13px}
.auth-msg{min-height:18px;margin:2px 0 10px;font-size:12.5px;color:#c0392b;opacity:0;transition:opacity .2s}
.auth-msg.on{opacity:1}
.auth-msg.ok{color:#0F9D58}
.auth-card .btn-block{height:46px;font-size:15px}
.auth-foot{margin-top:16px;display:flex;justify-content:space-between;font-size:12.5px;color:var(--muted)}
.auth-foot a{color:var(--brand)}
.cap-mask{position:fixed;inset:0;z-index:200;display:none;align-items:center;justify-content:center;background:rgba(22,18,43,.45)}
.cap-mask.on{display:flex}
.cap-box{width:300px;background:#fff;border-radius:var(--radius-lg);padding:20px;box-shadow:var(--shadow-lg)}
.cap-box h3{font-size:15px;margin-bottom:12px}
.cap-box img{width:100%;height:64px;object-fit:contain;background:var(--bg-soft);border:1px solid var(--line);border-radius:8px}
.cap-box .row{display:flex;gap:8px;margin-top:10px}
.cap-box .row .field{flex:1;height:40px}
.cap-err{min-height:16px;margin-top:8px;font-size:12px;color:#c0392b}

/* 账号页输入框铺满 */
.auth-card .field,
.auth-row .field,
.cap-box .field{width:100%}
.auth-card .with-code .field{width:auto;flex:1}

/* ---------- 控制台首页 ---------- */
.me-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.me-card{display:block;background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:22px 24px;transition:border-color .2s,box-shadow .2s,transform .2s}
.me-card:hover{border-color:var(--brand-line);box-shadow:var(--shadow-md);transform:translateY(-2px)}
.me-card .k{display:block;font-size:12.5px;color:var(--muted)}
.me-card b{display:block;margin-top:8px;font-family:'Sora',sans-serif;font-size:26px;font-weight:800;color:var(--ink)}
.me-card .d{display:block;margin-top:6px;font-size:11.5px;color:var(--muted)}
.me-panel{margin-top:18px;background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:22px 24px}
.me-panel h2{font-size:15px;margin-bottom:14px}
.me-links{display:flex;flex-wrap:wrap;gap:10px}
.me-links a,.me-logout{display:inline-flex;align-items:center;height:36px;padding:0 16px;border:1px solid var(--line);border-radius:8px;font-size:13px;color:var(--ink-2);transition:all .2s}
.me-links a:hover{border-color:var(--brand-line);color:var(--brand);background:var(--brand-soft)}
.me-logout:hover{border-color:#fca5a5;color:#c0392b;background:#fef2f2}
@media (max-width:820px){.me-grid{grid-template-columns:1fr}}

/* ---------- 会员中心列表 ---------- */
.empty-state{padding:52px 24px;text-align:center;color:var(--muted);font-size:13.5px;background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg)}
.empty-state .btn{margin-top:14px}
.member-table{background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);overflow:hidden}
.m-row{display:grid;grid-template-columns:minmax(0,1fr) 120px 100px 96px;gap:16px;align-items:center;padding:16px 22px;border-bottom:1px solid var(--line-2)}
.m-row:last-child{border-bottom:0}
.m-row:hover{background:var(--bg-soft)}
.m-row--kv{grid-template-columns:120px minmax(0,1fr);font-size:13.5px}
.m-main b{display:block;font-size:14px;color:var(--ink)}
.m-sub{display:block;margin-top:4px;font-size:12px;color:var(--muted)}
.m-col{font-size:13px;color:var(--ink-2)}
.m-k{display:block;font-size:11.5px;color:var(--muted);margin-bottom:2px}
.m-amount{font-family:'Sora',sans-serif;font-weight:700;color:var(--orange)}
.m-acts{text-align:right}
.m-ip{grid-column:1/-1;padding:0 22px 14px;font-size:12.5px;color:var(--ink-2);font-family:'Sora',sans-serif}

/* 我的产品：筛选 + 实例表 */
.host-toolbar{display:flex;align-items:center;gap:8px;margin-bottom:12px;flex-wrap:wrap}
.hs-tab{height:34px;padding:0 14px;border:1px solid var(--line);border-radius:20px;background:#fff;font-size:12.5px;color:var(--ink-2);cursor:pointer}
.hs-tab b{margin-left:4px;font-weight:600;color:var(--muted)}
.hs-tab:hover{border-color:var(--brand-line);color:var(--brand)}
.hs-tab.on{border-color:var(--brand);background:var(--brand-soft);color:var(--brand);font-weight:600}
.hs-tab.on b{color:var(--brand)}
.hs-search{margin-left:auto}
.hs-note{margin-left:auto;font-style:normal;font-size:11.5px;color:var(--muted);white-space:nowrap}
/* 带排序说明的工具条：说明靠右、搜索紧跟在它后面（订单列表复用 .hs-search，不带 has-note 不受影响） */
.host-toolbar.has-note .hs-search{margin-left:10px}
.hs-search input{width:240px;height:34px;padding:0 12px;border:1px solid var(--line);border-radius:8px;background:#fff;font-family:inherit;font-size:12.5px;color:var(--ink)}
.hs-search input:focus{outline:none;border-color:var(--brand);box-shadow:0 0 0 2px rgba(109,40,217,.1)}
.host-table{background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);overflow:hidden}
.ht-head,.ht-row{display:grid;grid-template-columns:minmax(0,1.32fr) minmax(0,1.15fr) minmax(0,.95fr) minmax(0,.9fr) 84px 98px 84px 62px 68px;gap:10px;align-items:center;padding:12px 18px}
.ht-head{background:var(--bg-soft);border-bottom:1px solid var(--line-2);font-size:11.5px;color:var(--muted)}
.ht-row{border-bottom:1px solid var(--line-2);font-size:12.5px;color:var(--ink-2)}
.ht-row:last-child{border-bottom:0}
.ht-row:hover{background:#fcfbfe}
.ht-main b{display:block;font-size:13.5px;color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ht-main em{display:block;margin-top:3px;font-style:normal;font-size:11.5px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* 窄屏收起「开通时间」独立列，改为实例名下的标签行，保证 IP 不被挤压 */
.ht-open-i{display:none;margin-top:3px;font-style:normal;font-size:11.5px;line-height:1.4;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ht-spec{font-size:12px;color:var(--ink-2);line-height:1.6}
.ht-ip{display:flex;align-items:center;gap:6px;min-width:0}
.ht-ip code{font-family:'Sora',sans-serif;font-size:12px;color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ht-ip--priv code{color:var(--ink-2)}
.ht-na{color:var(--muted);font-size:12px}
.ht-copy{flex:none;padding:2px 6px;border:1px solid var(--line);border-radius:5px;background:#fff;font-size:11px;color:var(--brand);cursor:pointer}
.ht-copy:hover{border-color:var(--brand)}
.ht-due{font-size:12.5px;color:var(--ink-2)}
.ht-open{font-size:12.5px;color:var(--ink-2);white-space:nowrap}
.ht-days{display:block;margin-top:3px;font-size:11.5px;color:var(--muted)}
.ht-days.is-warn{color:#C2410C}
.ht-days.is-danger{color:#c0392b;font-weight:600}
.ht-days.is-off{color:#9ca3af}

/* 电源状态徽标 */
.pwr{display:inline-flex;align-items:center;gap:6px;padding:3px 10px;border-radius:999px;font-size:12px;font-weight:600;line-height:18px;white-space:nowrap}
.pwr i{width:7px;height:7px;border-radius:50%;background:currentColor;flex:none}
.pwr--on{background:#e8f7ee;color:#0f7a3d}
.pwr--off{background:#f2f3f5;color:#6b7280}
.pwr--busy{background:#fff7e6;color:#b45309}
.pwr--err{background:#fdecec;color:#c0392b}
.pwr--unknown{background:#f2f3f5;color:#9aa0aa;font-weight:500}
.pwr--busy i{animation:pwrPulse 1.1s ease-in-out infinite}
@keyframes pwrPulse{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.25;transform:scale(.8)}}
.ht-pwr{min-width:0}
.ht-acts{text-align:right}
/* 8 列模式：收起「开通时间」独立列，改到实例名下（表头同步隐藏第 5 列） */
@media (max-width:1379px){
  .ht-head,.ht-row{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) minmax(0,1.05fr) minmax(0,.95fr) 112px 86px 78px 82px;gap:12px;padding:12px 18px}
  .ht-head span:nth-child(5){display:none}
  .ht-open{display:none}
  .ht-open-i{display:block}
}
/* 窄桌面：收窄固定列并隐藏复制按钮，保证 IP 不被截断 */
@media (max-width:1300px){
  .ht-head,.ht-row{grid-template-columns:minmax(0,1.3fr) minmax(0,1.1fr) minmax(0,.95fr) minmax(0,.9fr) 100px 80px 70px 74px;gap:8px;padding:12px 14px}
  .ht-ip code{font-size:11.5px}
  .ht-copy{display:none}
}
@media (max-width:1080px){
  .ht-head{display:none}
  .ht-row{grid-template-columns:1fr 1fr;gap:8px 16px;padding:14px 16px}
  .ht-ip{flex-wrap:wrap;gap:2px 4px}
  .ht-ip code{font-size:12px}
  .ht-ip::before{content:attr(data-k);flex:0 0 100%;font-size:11px;line-height:1.2;color:var(--muted)}
  .ht-open-i{font-size:11.5px}
  .ht-due::before{content:attr(data-k);display:inline-block;margin-right:6px;font-size:11px;color:var(--muted)}
  .ht-copy{display:inline-block}
  .ht-acts{text-align:left}
  .hs-note{margin-left:0}
  .hs-search,.host-toolbar.has-note .hs-search{margin-left:0;width:100%}
  .hs-search input{width:100%}
}

/* 我的订单 */
.order-table{background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);overflow:hidden}
.ot-head,.ot-row{display:grid;grid-template-columns:150px minmax(0,1fr) 110px 96px 190px;gap:14px;align-items:center;padding:12px 18px}
.ot-head{background:var(--bg-soft);border-bottom:1px solid var(--line-2);font-size:11.5px;color:var(--muted)}
.ot-row{border-bottom:1px solid var(--line-2);font-size:12.5px;color:var(--ink-2)}
.ot-row:last-child{border-bottom:0}
.ot-row:hover{background:#fcfbfe}
.ot-no b{display:block;font-family:'Sora',sans-serif;font-size:13px;color:var(--ink)}
.ot-no em,.ot-main em{display:block;margin-top:3px;font-style:normal;font-size:11.5px;color:var(--muted)}
.ot-main b{display:block;font-size:13px;color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ot-amt{font-family:'Sora',sans-serif;font-weight:700;color:var(--ink)}
.ot-acts{display:flex;gap:6px;justify-content:flex-end}
.order-pager{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 4px 0;font-size:12.5px;color:var(--muted)}
.op-btns{display:flex;align-items:center;gap:8px}
.op-btns button{height:30px;padding:0 12px;border:1px solid var(--line);border-radius:7px;background:#fff;font-size:12px;color:var(--ink-2);cursor:pointer}
.op-btns button:hover:not(:disabled){border-color:var(--brand-line);color:var(--brand)}
.op-btns button:disabled{opacity:.45;cursor:not-allowed}
.op-btns span{font-size:12px;color:var(--muted)}
@media (max-width:1080px){
  .ot-head{display:none}
  .ot-row{grid-template-columns:1fr 1fr;gap:8px 16px;padding:14px 16px}
  .ot-acts{justify-content:flex-start;flex-wrap:wrap}
}

/* 我的工单 */
.ticket-table{background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);overflow:hidden}
.tk-head,.tk-row{display:grid;grid-template-columns:118px minmax(0,1fr) 100px 88px 150px 80px;gap:14px;align-items:center;padding:12px 18px}
.tk-head{background:var(--bg-soft);border-bottom:1px solid var(--line-2);font-size:11.5px;color:var(--muted)}
.tk-row{border-bottom:1px solid var(--line-2);font-size:12.5px;color:var(--ink-2)}
.tk-row:last-child{border-bottom:0}
.tk-row:hover{background:#fcfbfe}
.tk-no b{display:block;font-family:'Sora',sans-serif;font-size:13px;color:var(--ink)}
.tk-no em,.tk-main em{display:block;margin-top:3px;font-style:normal;font-size:11.5px;color:var(--muted)}
.tk-main b{display:block;font-size:13px;color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tk-type{font-size:12px;color:var(--ink-2)}
.tk-time{font-size:12px;color:var(--muted)}
.tk-acts{text-align:right}
@media (max-width:1080px){
  .tk-head{display:none}
  .tk-row{grid-template-columns:1fr 1fr;gap:8px 16px;padding:14px 16px}
  .tk-acts{text-align:left}
}

/* 我的工单：参考客服工作台列表 */
.tkl-page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin:4px 0 18px}
.tkl-page-head h1{font-size:26px;letter-spacing:-.02em;margin-bottom:6px}
.tkl-page-head p{font-size:13px;color:var(--muted)}
.tkl-head-actions{display:flex;align-items:center;gap:14px;flex:none}
.tkl-help{font-size:13px;color:var(--brand)}
.tkl-filter{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;padding:14px 16px;background:#fff;border:1px solid #e6e6eb;border-radius:10px;margin-bottom:14px}
.tkl-f{display:flex;flex-direction:column;gap:6px;min-width:0}
.tkl-f label{font-size:11.5px;color:#6b7280}
.tkl-f input,.tkl-f select{height:34px;padding:0 10px;border:1px solid #dcdfe6;border-radius:4px;background:#fff;font-family:inherit;font-size:12.5px;color:#374151;outline:none}
.tkl-f input{width:190px}
.tkl-f select{width:112px}
.tkl-f input:focus,.tkl-f select:focus{border-color:var(--brand);box-shadow:0 0 0 2px rgba(109,40,217,.08)}
.tkl-dates{display:flex;align-items:center;gap:6px}
.tkl-dates input{width:128px}
.tkl-dates span{color:#9ca3af}
.tkl-facts{margin-left:auto;display:flex;gap:8px}
.tkl-tabs{display:flex;margin-bottom:14px}
.tkl-tabs button{height:36px;padding:0 16px;border:1px solid #dcdfe6;border-right:0;background:#fff;font-family:inherit;font-size:12.5px;color:#4b5563;cursor:pointer}
.tkl-tabs button:first-child{border-radius:4px 0 0 4px}
.tkl-tabs button:last-child{border-right:1px solid #dcdfe6;border-radius:0 4px 4px 0}
.tkl-tabs button.on{background:#f5f7fa;color:#111827;font-weight:600}
.tkl-tabs b{margin-left:3px;font-weight:400;color:#9ca3af}
.tkl-tabs button.on b{color:#4b5563}
.tkl-table{background:#fff;border:1px solid #e6e6eb;border-radius:8px;overflow:hidden}
.tkl-thead,.tkl-row{display:grid;grid-template-columns:128px minmax(0,1.5fr) 104px 92px 168px 142px 64px;gap:14px;align-items:center;padding:0 16px}
.tkl-thead{height:42px;background:#f7f9fc;border-bottom:1px solid #e6e6eb;font-size:12px;color:#6b7280}
.tkl-row{min-height:56px;border-bottom:1px solid #f0f0f3;font-size:12.5px;color:#4b5563}
.tkl-row:last-child{border-bottom:0}
.tkl-row:hover{background:#fafbfc}
.tkl-no a{font-family:'Sora',sans-serif;font-size:12.5px;color:#374151;text-decoration:none}
.tkl-no a:hover{color:var(--brand)}
.tkl-no em{display:block;margin-top:2px;font-style:normal;font-size:11px;color:#9ca3af}
.tkl-title{min-width:0}
.tkl-title a{display:block;font-size:13px;font-weight:500;color:var(--brand);text-decoration:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tkl-title a:hover{text-decoration:underline}
.tkl-cat{font-size:12px;color:#4b5563}
.tkl-status{display:flex;align-items:center;gap:6px;font-size:12px;color:#4b5563}
.tkl-status i{width:6px;height:6px;border-radius:50%;flex:none}
.tkl-account{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:#6b7280}
.tkl-time{font-size:12px;color:#6b7280}
.tkl-acts a{font-size:12.5px;color:var(--brand);text-decoration:none}
.tkl-acts a:hover{text-decoration:underline}
.tkl-empty{padding:48px 20px;text-align:center;color:#9ca3af;font-size:13px}
@media (max-width:1180px){
  .tkl-filter{gap:10px}
  .tkl-f input{width:180px}
  .tkl-thead{display:none}
  .tkl-row{grid-template-columns:1fr 1fr;gap:8px 16px;padding:14px 16px;min-height:0}
  .tkl-acts{text-align:left}
  .tkl-page-head{flex-wrap:wrap}
}
@media (max-width:640px){
  .tkl-f{width:100%}
  .tkl-f input,.tkl-f select{width:100%}
  .tkl-dates{width:100%}
  .tkl-dates input{flex:1;width:auto}
  .tkl-facts{margin-left:0;width:100%}
  .tkl-facts .btn{flex:1}
  .tkl-row{grid-template-columns:1fr}
}
.m-tabs{display:flex;gap:6px;margin-bottom:14px;flex-wrap:wrap}
.m-tabs button{height:32px;padding:0 14px;border:1px solid var(--line);border-radius:8px;background:#fff;font-size:12.5px;color:var(--muted)}
.m-tabs button.on{border-color:var(--brand-line);color:var(--brand);background:var(--brand-soft);font-weight:600}
.pill{display:inline-block;padding:3px 9px;border-radius:20px;font-size:11.5px;font-weight:600}
.pill-ok{background:#ECFDF5;color:#0F9D58}
.pill-warn{background:#FFF7ED;color:#C2410C}
.pill-off{background:#F3F4F6;color:#6B7280}
.order-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;padding:22px 24px;background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);margin-bottom:14px}
.order-amount{margin-top:6px;font-family:'Sora',sans-serif;font-size:30px;font-weight:800;color:var(--orange)}
.m-card{margin-top:14px;background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);padding:20px 24px}
.m-card h3{font-size:14px;margin-bottom:10px}
.m-pre{margin:0;font-size:12.5px;line-height:1.8;color:var(--ink-2);white-space:pre-wrap;word-break:break-word}
.m-v{color:var(--ink);font-weight:600}
.m-actions{margin-top:18px;display:flex;gap:10px}
@media (max-width:820px){
  .m-row{grid-template-columns:1fr 92px;row-gap:10px}
  .m-acts{text-align:left}
}

.m-row--3{grid-template-columns:minmax(0,1fr) 120px 96px}
.ticket-msg{padding:12px 0;border-bottom:1px dashed var(--line)}
.ticket-msg:last-child{border-bottom:0}
.ticket-meta{font-size:11.5px;color:var(--muted);margin-bottom:6px}
.ticket-body{font-size:13.5px;color:var(--ink-2);line-height:1.8;white-space:pre-wrap}

/* ---------- 结算 / 收银台 ---------- */
.checkout-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 22px;background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg)}
.checkout-total{font-size:13.5px;color:var(--muted)}
.checkout-total b{font-family:'Sora',sans-serif;font-size:24px;color:var(--orange);margin-left:8px}
.checkout-note{margin-top:12px;font-size:12px;color:var(--muted)}

/* 确认订单：逐条配置明细（铺满容器，表格单元格居中） */
#checkoutWrap{width:100%;min-width:0}
.co-item{background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);margin-bottom:16px;overflow:hidden}
.co-sec{padding:14px 22px 16px}
.co-sec + .co-sec{border-top:1px dashed var(--line-2)}
.co-sec-t{font-size:12.5px;font-weight:700;color:var(--ink);margin-bottom:10px}
.co-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:12.5px}
.co-table th{font-weight:500;color:var(--muted);text-align:center;padding:0 0 7px;border-bottom:1px solid var(--line-2)}
.co-table td{text-align:center;padding:7px 0;border-bottom:1px solid var(--line-2);color:var(--ink-2)}
.co-table th:nth-child(1),.co-table td:nth-child(1){width:24%;white-space:nowrap}
.co-table th:nth-child(2),.co-table td:nth-child(2){width:50%;color:var(--ink-2);overflow-wrap:anywhere}
.co-table th:nth-child(2){color:var(--muted)}
.co-table th:nth-child(3),.co-table td:nth-child(3){width:26%;white-space:nowrap}
.co-table tr:last-child td{border-bottom:0}
.co-table .co-disc td{color:#0F9D58}
.co-table .co-sum td{font-weight:600;color:var(--ink);padding-top:10px}
.co-table .co-submit td{text-align:right;padding:12px 0 2px;border-bottom:0}
.co-table .co-submit .btn{height:38px;padding:0 26px}
.pay-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:18px;align-items:start}
.pay-head{margin:4px 0 16px}
.pay-head h1{font-size:26px;letter-spacing:-.02em;margin-bottom:6px}
.pay-head p{font-size:13px;color:var(--muted)}
.pay-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);padding:20px 22px;margin-bottom:14px}
.pay-card h2{font-size:15px;margin-bottom:12px}
.pay-side .pay-card{position:sticky;top:88px;margin-bottom:0}
.gw{display:flex;align-items:center;gap:12px;padding:13px 14px;border:1px solid var(--line);border-radius:10px;margin-bottom:10px;cursor:pointer;transition:all .2s}
.gw:last-child{margin-bottom:0}
.gw:hover{border-color:var(--brand-line)}
.gw.on{border-color:var(--brand);background:var(--brand-soft)}
.gw.dis{opacity:.55;cursor:not-allowed}
.gw-ic{width:30px;height:30px;flex:none;display:grid;place-items:center;border-radius:8px;background:#fff;border:1px solid var(--line);font-size:13px;font-weight:700;color:var(--brand)}
.gw-ic--ali{color:#1677ff;border-color:#cfe3ff;background:#f2f8ff}
.gw-ic--bank{color:#0F9D58;border-color:#c6ecd8;background:#f2fbf6}
.gw-ic--credit{color:var(--orange);border-color:#ffe0c7;background:#fff7f1}
.gw-nm{flex:1;font-size:13.5px;color:var(--ink)}
.gw-nm em{display:block;font-style:normal;font-size:11.5px;color:var(--muted);margin-top:2px}
.gw-rd{width:16px;height:16px;border-radius:50%;border:1.5px solid var(--line-2);flex:none}
.gw.on .gw-rd{border:5px solid var(--brand)}
.pay-amt .k{font-size:12.5px;color:var(--muted)}
.pay-amt .n{margin:8px 0 10px;font-family:'Sora',sans-serif;font-size:32px;font-weight:800;color:var(--orange)}
.pay-amt .n small{font-size:16px;margin-right:2px}
.pay-amt .bal{font-size:12px;color:var(--muted);line-height:1.9}
.pay-meta{margin-top:12px;padding-top:12px;border-top:1px dashed var(--line-2);display:grid;gap:7px}
.pay-meta>div{display:flex;align-items:baseline;justify-content:space-between;gap:12px;font-size:12px}
.pay-meta span{color:var(--muted);white-space:nowrap}
.pay-meta b{font-weight:500;color:var(--ink-2);text-align:right;overflow-wrap:anywhere}
.pay-help{display:inline-block;margin-top:14px;font-size:12px;color:var(--brand)}
.pay-lead{font-size:13px;color:var(--ink-2);line-height:1.8;margin-bottom:16px}
.pay-lead b{color:var(--ink);font-weight:600}
.pay-bank{border:1px solid var(--line);border-radius:10px;overflow:hidden;margin-bottom:16px}
.pb-row{display:flex;align-items:center;gap:10px;padding:10px 14px;border-bottom:1px solid var(--line-2);font-size:13px}
.pb-row:last-child{border-bottom:0}
.pb-k{width:56px;flex:none;color:var(--muted)}
.pb-v{flex:1;min-width:0;font-weight:600;color:var(--ink);overflow-wrap:anywhere}
.pb-copy{flex:none;padding:3px 8px;border:1px solid var(--line);border-radius:6px;background:#fff;font-size:11.5px;color:var(--brand);cursor:pointer}
.pb-copy:hover{border-color:var(--brand)}
.pay-steps{display:grid;gap:12px;margin:0 0 16px}
.ps{display:flex;gap:10px;font-size:12.5px;color:var(--ink-2);line-height:1.7}
.ps i{width:20px;height:20px;flex:none;display:grid;place-items:center;border-radius:50%;background:var(--brand-soft);color:var(--brand);font-style:normal;font-size:11px;font-weight:700;margin-top:1px}
.ps b{display:block;font-size:13px;color:var(--ink);margin-bottom:1px}
.ps p{margin:0}
.pay-warn{background:#fff8e6;border:1px solid #ffe3a3;color:#8a5b00;border-radius:8px;padding:10px 12px;font-size:12px;line-height:1.7;margin:0 0 16px}
.qrbox{text-align:center;padding:8px 0 4px}
.qr{width:208px;height:208px;margin:0 auto;display:grid;place-items:center;border:1px solid var(--line);border-radius:12px;background:#fff;overflow:hidden}
.qr img{width:200px;height:200px;display:block}
.qr-tip{margin-top:14px;font-size:13px;color:var(--ink-2)}
.qr-sub{margin-top:4px;font-size:11.5px;color:var(--muted)}
.qr-refresh{margin-top:12px}
.pay-done{max-width:520px;margin:0 auto;padding:52px 24px;text-align:center;background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg)}
.pay-done .tick{width:56px;height:56px;margin:0 auto 16px;display:grid;place-items:center;border-radius:50%;background:#ECFDF5;color:#0F9D58;font-size:28px;font-weight:700}
.pay-done h2{font-size:19px}
.pay-done p{margin-top:8px;font-size:13px;color:var(--muted)}
.pay-done-acts{margin-top:22px;display:flex;gap:10px;justify-content:center}
@media (max-width:900px){.pay-grid{grid-template-columns:1fr}.pay-side{order:-1}.pay-side .pay-card{position:static;margin:0 0 14px}}

/* 余额充值 */
.rc-chips{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:14px}
.rc-chip{height:64px;border:1px solid var(--line);border-radius:10px;background:#fff;display:flex;align-items:baseline;justify-content:center;gap:2px;cursor:pointer;transition:border-color .18s,background .18s,box-shadow .18s}
.rc-chip span{font-size:14px;color:var(--muted)}
.rc-chip b{font-family:'Sora',sans-serif;font-size:22px;font-weight:700;color:var(--ink)}
.rc-chip:hover{border-color:var(--brand-line)}
.rc-chip.on{border-color:var(--brand);background:var(--brand-soft);box-shadow:0 0 0 1px var(--brand)}
.rc-chip.on span,.rc-chip.on b{color:var(--brand)}
.rc-chip:disabled{cursor:not-allowed;opacity:.6}
.rc-custom{display:flex;align-items:center;gap:8px;height:46px;padding:0 12px;border:1px solid var(--line);border-radius:8px;background:#fff;transition:border-color .18s,box-shadow .18s}
.rc-custom:focus-within{border-color:var(--brand);box-shadow:0 0 0 2px rgba(109,40,217,.1)}
.rc-custom>span{color:var(--muted);font-size:15px}
.rc-custom input{flex:1;min-width:0;border:0;outline:none;background:none;font-family:inherit;font-size:16px;color:var(--ink)}
.rc-custom input::placeholder{font-size:14px;color:var(--muted)}
.rc-custom>em{font-style:normal;font-size:12px;color:var(--muted)}
.rc-hint{margin:10px 0 14px;font-size:12.5px;color:var(--muted)}
.rc-hint b{font-family:'Sora',sans-serif;color:var(--ink);margin-left:2px}
.rc-tips h3{font-size:14px;margin-bottom:10px}
.rc-tips ul{display:grid;gap:8px;padding-left:16px;list-style:disc;font-size:12.5px;line-height:1.7;color:var(--ink-2)}
.rc-balance .pay-meta{margin-top:14px}

/* ---------- 主机详情 ---------- */
.host-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:22px 24px;background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);margin-bottom:14px}
.host-head h2{font-size:19px;letter-spacing:-.01em}
.host-state{display:flex;gap:8px;flex-shrink:0}
.host-acts{display:flex;flex-wrap:wrap;gap:8px}
.host-form{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.host-form .field{flex:1;min-width:180px;height:38px}
.host-form .btn{height:38px}
.host-form select.field{appearance:none;background-image:none}
.m-card .note{margin-top:10px;font-size:11.5px;color:var(--muted);line-height:1.7}

/* ---------- 表单 ---------- */
.form-row{margin-bottom:14px}
.form-row label{display:block;margin-bottom:6px;font-size:12.5px;color:var(--muted)}
.form-row .field{width:100%}
.form-row textarea.field{height:auto;padding:10px 12px;line-height:1.7;resize:vertical}
.list-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
.amt-chips{display:flex;flex-wrap:wrap;gap:8px}
.amt-chips .opt{min-width:88px;justify-content:center}
.ticket-msg--admin{background:var(--brand-soft);border-radius:10px;padding:10px 14px;margin:8px -6px}
.ticket-files{margin-top:8px;font-size:12px;display:flex;flex-wrap:wrap;gap:8px}
.ticket-files a{color:var(--brand);text-decoration:underline}
.ticket-img{display:block;width:96px;height:96px;border:1px solid var(--line);border-radius:8px;overflow:hidden;text-decoration:none}
.ticket-img img{width:100%;height:100%;object-fit:cover;display:block}

/* 工单头部 */
.tk-detail-head{background:#fff;border:1px solid #e6e6eb;border-radius:var(--radius-lg);padding:18px 20px;margin-bottom:14px}
.tk-detail-top{display:flex;align-items:center;gap:8px;margin-bottom:8px}
.tk-type{padding:2px 8px;border-radius:4px;background:#f3f3f5;color:#6b7280;font-size:11px}
.tk-detail-head h2{font-size:20px;letter-spacing:-.01em;margin:0}
.tk-detail-meta{display:flex;flex-wrap:wrap;align-items:center;gap:5px 9px;margin-top:8px;font-size:12px;color:#9ca3af}
.tk-detail-meta i{font-style:normal;color:#d1d5db}

/* 工单沟通记录：微信式左右气泡 */
.tk-chat-card{margin-top:14px;background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);overflow:hidden}
.tk-chat-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;border-bottom:1px solid var(--line-2)}
.tk-chat-head h3{font-size:14px;margin:0}
.tk-chat-head span{font-size:11.5px;color:var(--muted)}
.tk-chat-body{height:520px;overflow-y:auto;padding:20px 22px;background:#f8f6fc;display:flex;flex-direction:column;gap:16px}
.tk-day{text-align:center;font-size:11px;color:var(--muted)}
.tk-msg{display:flex;align-items:flex-start;gap:10px}
.tk-msg--me{flex-direction:row-reverse}
.tk-ava{width:34px;height:34px;flex:none;display:grid;place-items:center;border-radius:50%;font-size:11px;font-weight:600}
.tk-msg--other .tk-ava{background:#fff;border:1px solid var(--line);color:var(--ink-2)}
.tk-msg--me .tk-ava{background:var(--brand);color:#fff}
.tk-bubble{max-width:min(76%,640px);padding:9px 13px;border:1px solid var(--line);border-radius:12px;background:#fff}
.tk-msg--other .tk-bubble{border-top-left-radius:4px}
.tk-msg--me .tk-bubble{background:var(--brand-soft);border-color:var(--brand-line);border-top-right-radius:4px}
.tk-meta{font-size:11px;color:var(--muted);margin-bottom:4px}
.tk-msg--me .tk-meta{text-align:right}
.tk-text{font-size:13.5px;line-height:1.8;color:var(--ink-2);white-space:pre-wrap;word-break:break-word}
.tk-msg--me .tk-text{color:var(--ink)}
.tk-msg .ticket-files{margin-top:8px}
.tk-empty{padding:40px 0;text-align:center;font-size:12.5px;color:var(--muted)}
.tk-composer{padding:12px 18px 14px;border-top:1px solid var(--line-2);background:#fff}
.tk-composer textarea{width:100%;min-height:78px;padding:9px 11px;border:1px solid var(--line);border-radius:8px;font-family:inherit;font-size:13px;line-height:1.7;color:var(--ink);resize:vertical;outline:none}
.tk-composer textarea:focus{border-color:var(--brand);box-shadow:0 0 0 2px rgba(109,40,217,.1)}
.tk-composer-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px}
.tk-closed{padding:14px 18px;border-top:1px solid var(--line-2);background:#faf9fd;font-size:12.5px;color:var(--muted)}
.tk-closed a{color:var(--brand)}

/* 简洁会话流：无卡片，靠左右和留白区分 */
.tk-date{text-align:center;font-size:11px;color:#9ca3af;margin:18px 0 2px}
.tk-date:first-child{margin-top:0}
.tk-line{display:flex;align-items:flex-start;gap:10px;margin-top:18px}
.tk-line--me{flex-direction:row-reverse}
.tk-line-ava{width:32px;height:32px;flex:none;display:grid;place-items:center;border-radius:50%;background:#f1f1f4;color:#6b7280;font-size:11px;font-weight:600}
.tk-line-ava--ghost{visibility:hidden}
.tk-line-main{max-width:72%;min-width:0;display:flex;flex-direction:column}
.tk-line--me .tk-line-main{align-items:flex-end}
.tk-line-meta{display:flex;align-items:baseline;gap:8px;margin-bottom:5px;font-size:11px;color:#9ca3af}
.tk-line--me .tk-line-meta{justify-content:flex-end}
.tk-line-meta b{font-size:12px;font-weight:500;color:#4b5563}
.tk-line-text{font-size:13.5px;line-height:1.8;color:#374151;white-space:pre-wrap;word-break:break-word}
.tk-line .ticket-files{margin-top:8px}
.tk-line--me .ticket-files{justify-content:flex-end}
.tk-bubble2{padding:12px 16px;background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 1px 2px rgba(16,24,40,.04)}
.tk-line--me .tk-bubble2{background:#f5f6f8;border-color:#e1e4e9}
.tk-chat-title h3{font-size:14px;margin:0}
.tk-chat-title p{font-size:11.5px;color:#9ca3af;margin-top:3px}
.tk-system{display:flex;align-items:center;gap:12px;margin:24px 0 4px;font-size:11px;color:#9ca3af}
.tk-system:before,.tk-system:after{content:'';flex:1;height:1px;background:#ececf0}
.tk-composer-note{font-size:11px;color:#9ca3af}
.tk-composer-acts{display:flex;gap:8px}
@media (max-width:820px){
  .tk-chat-body{height:60vh;min-height:340px;padding:16px}
  .tk-bubble{max-width:82%}
  .tk-line-main{max-width:82%}
}

/* 方案 B 预览：客服工作台卡片 */
.tkb-card{border-color:#e6e6eb}
.tkb-card .tk-chat-head{border-bottom-color:#ececf0}
.tkb-card .tk-composer{border-top-color:#ececf0}
.tkb-card .tk-composer textarea{border-color:#e6e6eb}
.tkb-body{height:560px;overflow-y:auto;padding:18px 20px;background:#fff;display:flex;flex-direction:column;gap:10px}
.tkb-day{text-align:center;font-size:11px;color:#9ca3af;margin:4px 0}
.tkb-row{display:flex;justify-content:flex-start}
.tkb-row--me{justify-content:flex-end}
.tkb-msg{width:min(76%,640px);padding:12px 14px;background:#fff;border:1px solid #e6e6eb;border-left:3px solid #dcdce2;border-radius:10px;box-shadow:0 1px 2px rgba(20,16,40,.03)}
.tkb-row--me .tkb-msg{border-left-color:#dcdce2;background:#fff}
.tkb-head{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-bottom:8px;font-size:11.5px;color:var(--muted)}
.tkb-head b{font-size:12.5px;font-weight:600;color:var(--ink)}
.tkb-head time{margin-left:auto;font-size:11px;color:#9ca3af}
.tkb-ava{width:26px;height:26px;flex:none;display:grid;place-items:center;border-radius:50%;background:#f1f1f4;color:#6b7280;font-size:11px;font-weight:600}
.tkb-ava--me{background:#ececef;color:#6b7280}
.tkb-role{padding:1px 6px;border-radius:4px;background:#f3f3f5;color:#6b7280;font-size:10.5px}
.tkb-row--me .tkb-role{background:#f3f3f5;color:#6b7280}
.tkb-text{font-size:13.5px;line-height:1.8;color:var(--ink-2);white-space:pre-wrap;word-break:break-word}
.tkb-row--me .tkb-text{color:var(--ink)}
.tkb-preview{margin-left:8px;padding:1px 6px;border-radius:4px;background:#f3f3f5;color:#6b7280;font-style:normal;font-size:10.5px}
@media (max-width:820px){
  .tkb-body{height:62vh;min-height:360px;padding:14px}
  .tkb-msg{width:88%}
  .tkb-head time{font-size:10.5px}
}

/* 工单图片上传 */
.ticket-upload{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.tu-add{width:64px;height:64px;flex:none;display:flex;align-items:center;justify-content:center;text-align:center;border:1px dashed var(--line);border-radius:10px;color:var(--muted);font-size:12px;line-height:1.3;cursor:pointer;transition:border-color .2s,color .2s}
.tu-add:hover{border-color:var(--brand);color:var(--brand)}
.tu-add input{display:none}
.tu-list{display:flex;gap:10px;flex-wrap:wrap}
.tu-item{position:relative;width:64px;height:64px;border:1px solid var(--line);border-radius:10px;overflow:hidden;background:#fff}
.tu-item img{width:100%;height:100%;object-fit:cover;display:block}
.tu-item button{position:absolute;top:2px;right:2px;width:18px;height:18px;padding:0;border:0;border-radius:50%;background:rgba(0,0,0,.55);color:#fff;font-size:11px;line-height:18px;text-align:center;cursor:pointer}
.tu-tip{margin-top:6px;font-size:11.5px;color:var(--muted)}
.tu-loading{display:grid;place-items:center}
.tu-loading i{width:18px;height:18px;border:2px solid var(--line);border-top-color:var(--brand);border-radius:50%;animation:tnspin .9s linear infinite}
@keyframes tnspin{to{transform:rotate(360deg)}}

/* 提交工单 */
.tn-grid{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:14px;align-items:start}
.tn-grid>*{min-width:0}
.tn-main,.tn-card,.tn-field,.tn-types{min-width:0}
.tn-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);padding:20px 22px;margin-bottom:14px}
.tn-side .tn-card{margin-bottom:12px}
.tn-side .tn-card:last-child{margin-bottom:0}
.tn-head h2{font-size:18px;margin-bottom:4px}
.tn-head p{font-size:12px;color:var(--muted)}
.tn-prefill{margin-top:12px;padding:8px 12px;border-radius:8px;background:var(--brand-soft);color:var(--brand);font-size:12px}
.tn-field{margin-top:16px}
.tn-field>label{display:block;margin-bottom:8px;font-size:12.5px;font-weight:600;color:var(--ink-2)}
.tn-types{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.tn-type{position:relative;display:flex;flex-direction:column;gap:3px;padding:14px;border:1px solid var(--line);border-radius:10px;background:#fff;cursor:pointer;transition:border-color .18s,background .18s,box-shadow .18s}
.tn-type input{position:absolute;opacity:0;pointer-events:none}
.tn-type .ic{width:28px;height:28px;margin-bottom:5px;display:grid;place-items:center;border-radius:8px;background:var(--bg-soft);color:var(--muted);font-size:12px;font-weight:700}
.tn-type b{font-size:13.5px;color:var(--ink)}
.tn-type em{font-style:normal;font-size:11.5px;line-height:1.5;color:var(--muted)}
.tn-type:hover{border-color:var(--brand-line)}
.tn-type.on{border-color:var(--brand);background:var(--brand-soft);box-shadow:0 0 0 1px var(--brand)}
.tn-type.on b{color:var(--brand)}
.tn-type.on .ic{background:var(--brand);color:#fff}
.tn-sec-title{margin:24px 0 0;padding-top:18px;border-top:1px dashed var(--line-2);font-size:13.5px;font-weight:700;color:var(--ink)}
.tn-input{position:relative}
.tn-input input,.tn-field textarea{width:100%;border:1px solid var(--line);border-radius:8px;background:#fff;font-family:inherit;font-size:13.5px;color:var(--ink);outline:none;transition:border-color .18s,box-shadow .18s}
.tn-input input{height:42px;padding:0 66px 0 12px}
.tn-field textarea{min-height:160px;padding:10px 12px;line-height:1.7;resize:vertical}
.tn-field select{width:100%;max-width:100%;min-width:0}
.tn-input input:focus,.tn-field textarea:focus{border-color:var(--brand);box-shadow:0 0 0 2px rgba(109,40,217,.1)}
.tn-count{font-size:11px;color:var(--muted)}
.tn-input .tn-count{position:absolute;right:12px;top:50%;transform:translateY(-50%)}
.tn-count-area{margin-top:5px;text-align:right}
.tn-err{display:none;margin-top:6px;font-size:11.5px;color:#c0392b}
.tn-err.on{display:block}
.tn-upload{padding:18px;border:1px dashed var(--line);border-radius:10px;background:#fcfbfe;text-align:center;cursor:pointer;transition:border-color .18s,background .18s}
.tn-upload:hover,.tn-upload.is-drag{border-color:var(--brand);background:var(--brand-soft)}
.tn-drop-inner b{display:block;font-size:13px;color:var(--ink);margin-bottom:4px}
.tn-drop-inner span{font-size:11.5px;color:var(--muted)}
.tn-upload .tu-list{margin-top:12px;justify-content:center}
.tn-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}
.tn-side h3{font-size:13.5px;margin-bottom:10px}
.tn-checks{list-style:none;counter-reset:tn;display:grid;gap:10px;margin:0;padding:0}
.tn-checks li{counter-increment:tn;position:relative;padding-left:26px;font-size:12.5px;line-height:1.6}
.tn-checks li:before{content:counter(tn);position:absolute;left:0;top:1px;width:18px;height:18px;border-radius:50%;background:var(--brand-soft);color:var(--brand);font-size:11px;font-weight:700;display:grid;place-items:center}
.tn-checks b{display:block;color:var(--ink)}
.tn-checks span{font-size:11.5px;color:var(--muted)}
.tn-links{display:grid}
.tn-links a{padding:7px 0;border-bottom:1px solid var(--line-2);font-size:12.5px;color:var(--brand)}
.tn-links a:last-child{border-bottom:0}
.tn-tip{background:var(--brand-soft);border-color:var(--brand-line)}
.tn-tip b{display:block;font-size:13px;color:var(--brand);margin-bottom:4px}
.tn-tip p{font-size:12px;line-height:1.7;color:var(--ink-2)}
.tn-empty{font-size:12.5px;color:var(--muted)}
@media (max-width:1180px){
  .tn-grid{grid-template-columns:1fr}
  .tn-side{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
  .tn-side .tn-card{margin-bottom:0}
}
@media (max-width:820px){
  .tn-types{grid-template-columns:1fr}
  .tn-type{flex-direction:row;flex-wrap:wrap;align-items:center;gap:4px 10px;padding:12px 14px}
  .tn-type .ic{margin-bottom:0;flex:none}
  .tn-type b{font-size:13px}
  .tn-type em{flex:1 1 100%;padding-left:38px;font-size:11px}
  .tn-side{grid-template-columns:1fr}
  .tn-actions .btn{flex:1}
}

/* ---------- 法律文本与网站地图 ---------- */
.legal h2{font-size:16px;margin:22px 0 10px}
.legal h2:first-child{margin-top:0}
.legal p{font-size:13.5px;line-height:1.9;color:var(--ink-2);margin-bottom:8px}
.legal .legal-note{background:var(--bg-soft,#f6f7fb);border-left:3px solid var(--brand);padding:10px 12px;border-radius:6px;margin:0 0 6px}
.sitemap-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.sitemap-grid .m-card{margin:0}
.site-links{list-style:none;display:grid;gap:8px}
.site-links a{font-size:13.5px;color:var(--ink-2)}
.site-links a:hover{color:var(--brand)}
@media (max-width:640px){.sitemap-grid{grid-template-columns:1fr}}

/* ---------- 会员中心侧栏导航 ---------- */
.member-layout{display:grid;grid-template-columns:196px minmax(0,1fr);gap:26px;align-items:start}
.member-nav{background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);padding:8px;position:sticky;top:88px}
.member-nav a{display:block;padding:10px 14px;border-radius:8px;font-size:13.5px;color:var(--ink-2);transition:background .18s,color .18s}
.member-nav a:hover{background:var(--bg-soft);color:var(--brand)}
.member-nav a.on{background:var(--brand-soft);color:var(--brand);font-weight:600}
.member-main{min-width:0}
.mn-group{display:block;padding:12px 14px 4px;font-size:11px;color:var(--muted);letter-spacing:.08em}
.mn-logout{display:block;width:100%;margin-top:6px;padding:10px 14px;border:0;border-top:1px solid var(--line-2);border-radius:0;background:none;text-align:left;font-size:13.5px;color:var(--muted);cursor:pointer}
.mn-logout:hover{color:#c0392b}

/* 控制台概览 */
.me-head{display:flex;align-items:flex-start;gap:14px;padding:20px 22px;background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);margin-bottom:14px}
.me-head>.pill{margin-top:2px}
.me-avatar{width:52px;height:52px;flex:none;display:grid;place-items:center;border-radius:50%;background:var(--brand-soft);color:var(--brand);font-size:20px;font-weight:700}
.me-id{flex:1;min-width:0}
.me-id h2{font-size:18px;margin:0 0 4px}
.me-id p{font-size:12px;color:var(--muted);overflow-wrap:anywhere}
.me-identity{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;margin-top:10px;padding-top:10px;border-top:1px dashed var(--line-2);font-size:12.5px;color:var(--ink-2)}
.me-identity b{font-weight:600;color:var(--ink)}
.me-identity i{font-style:normal;color:#cfc8e0}
.me-identity .me-link{margin-left:2px}
.me-identity .me-cert-btn{margin-left:auto;height:30px;padding:0 14px;font-size:12.5px;border-radius:8px}
.me-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:14px}
.me-kpi{display:block;padding:14px 16px;background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);transition:border-color .18s,box-shadow .18s}
.me-kpi:hover{border-color:var(--brand-line);box-shadow:var(--shadow-md)}
.me-kpi .k{font-size:12px;color:var(--muted)}
.me-kpi b{display:block;margin:6px 0 2px;font-family:'Sora',sans-serif;font-size:24px;font-weight:700;color:var(--ink)}
.me-kpi em{display:block;font-style:normal;font-size:11.5px;color:var(--muted)}
.me-panel{padding:18px 20px;background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);margin-bottom:14px}
.me-panel-h{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.me-panel-h h3{font-size:14px;margin:0}
.me-panel-h a{font-size:12px;color:var(--brand)}
.me-cols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.me-cols .me-panel{margin-bottom:0}
.me-list{display:grid;gap:2px}
.me-row{display:flex;align-items:center;gap:12px;padding:9px 0;border-bottom:1px solid var(--line-2);font-size:12.5px}
.me-row:last-child{border-bottom:0}
.me-row .m{flex:1;min-width:0}
.me-row .m b{display:block;font-weight:500;color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.me-row .m em{display:block;margin-top:2px;font-style:normal;font-size:11.5px;color:var(--muted)}
.me-row .amt{font-family:'Sora',sans-serif;color:var(--ink)}
.me-empty{font-size:12.5px;color:var(--muted);line-height:1.8}
.me-link{color:var(--brand);font-weight:600}
.me-panel-sub{font-size:11.5px;color:var(--muted)}

/* 公告列表 + 弹层 */
.ann-list{display:grid;gap:2px}
.ann-item{display:flex;align-items:center;gap:12px;width:100%;padding:9px 0;border:0;border-bottom:1px solid var(--line-2);background:none;text-align:left;font:inherit;cursor:pointer}
.ann-item:last-child{border-bottom:0}
.ann-item b{flex:1;min-width:0;font-weight:500;font-size:12.5px;color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ann-item:hover b{color:var(--brand)}
.ann-item em{flex:none;font-style:normal;font-size:11.5px;color:var(--muted)}
.ann-mask{position:fixed;inset:0;z-index:320;background:rgba(20,16,40,.5);display:flex;align-items:center;justify-content:center;padding:24px}
.ann-mask[hidden]{display:none}
.ann-modal{width:min(760px,100%);max-height:86vh;background:#fff;border-radius:12px;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 20px 60px rgba(20,16,40,.28)}
.ann-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:16px 20px;border-bottom:1px solid var(--line-2)}
.ann-head h3{font-size:15px;margin:0 0 4px}
.ann-head p{font-size:12px;color:var(--muted);margin:0}
.ann-x{flex:none;width:28px;height:28px;border:0;border-radius:50%;background:var(--bg-soft);color:var(--muted);font-size:13px;cursor:pointer}
.ann-x:hover{background:var(--brand-soft);color:var(--brand)}
.ann-body{flex:1;overflow:auto}
.ann-body iframe{width:100%;height:560px;border:0;display:block}
@media (max-width:1080px){
  .member-layout{grid-template-columns:1fr;gap:16px}
  .member-nav{position:static;display:flex;flex-wrap:wrap;gap:6px;padding:6px}
  .member-nav a{padding:7px 12px}
  .mn-group{width:100%;padding:6px 4px 0}
  .mn-logout{width:auto;margin:0;padding:7px 12px;border-top:0}
  .me-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
  .me-cols{grid-template-columns:1fr}
}
@media (max-width:640px){
  .me-kpis{grid-template-columns:1fr}
}

/* ---------- 帮助中心 / 备案指引 ---------- */
.help-nav a{font-size:13px}
.help-body{min-width:0}
.help-cat{margin-bottom:34px}
.help-cat:last-child{margin-bottom:0}
.help-cat h2{font-size:17px;margin-bottom:14px;padding-bottom:10px;border-bottom:1px solid var(--line)}
.help-item{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:16px 20px;margin-bottom:10px}
.help-item h3{font-size:13.5px;color:var(--ink);margin-bottom:6px}
.help-item p{font-size:13px;line-height:1.9;color:var(--muted)}
.help-item a{color:var(--brand);text-decoration:underline}
.help-lead{font-size:13.5px;line-height:1.95;color:var(--ink-2);background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:18px 20px}
.help-lead b{color:var(--ink)}
.help-steps{margin:0 0 10px;padding-left:20px;display:grid;gap:10px}
.help-steps li{font-size:13px;line-height:1.9;color:var(--ink-2)}
.help-steps b{color:var(--ink)}
.help-note{font-size:12px;color:var(--muted);line-height:1.8;margin-top:4px}

/* ---------- 风险提示框（备案等前置提醒） ---------- */
.callout{background:#fff8ec;border:1px solid #f3dfbd;border-left:4px solid #e6a23c;border-radius:var(--radius);padding:16px 20px;margin:0 0 24px}
.callout .callout-t{display:block;font-size:13.5px;font-weight:700;color:#a26100;margin-bottom:8px}
.callout p{font-size:13px;line-height:1.95;color:#785830}
.callout p+p{margin-top:6px}
.callout b{color:#6b4a12}
.callout a{color:#8a5200;text-decoration:underline}
.callout ol{margin:0;padding-left:20px;display:grid;gap:6px}
.callout ol li{font-size:13px;line-height:1.9;color:#785830}
@media (max-width:768px){.callout{padding:14px 16px}.callout p,.callout ol li{font-size:12.5px}}
@media (max-width:1080px){.help-nav{position:static}}

/* ---------- 发票申请 ---------- */
.iv-kinds{display:grid;gap:10px}
.iv-kind{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:13px 16px;border:1px solid var(--line);border-radius:10px;cursor:pointer;transition:border-color .2s,background .2s}
.iv-kind:hover{border-color:var(--brand-line)}
.iv-kind input{accent-color:#6d28d9;width:16px;height:16px}
.iv-kind span{font-size:13.5px;color:var(--ink);font-weight:600}
.iv-kind em{flex-basis:100%;font-style:normal;font-size:11.5px;color:var(--muted);padding-left:24px}
.iv-kind:has(input:checked){border-color:var(--brand);background:var(--brand-soft)}
.req{color:#c0392b}
.iv-notes{margin:0;padding-left:18px;display:grid;gap:8px}
.iv-notes li{font-size:12.5px;line-height:1.9;color:var(--muted)}
.iv-notes b{color:var(--ink-2)}

/* ---------- Toast ---------- */
.toast-wrap{position:fixed;left:50%;top:76px;transform:translateX(-50%);z-index:9999;display:grid;gap:8px;pointer-events:none}
.toast{background:#1b1533;color:#fff;font-size:13px;line-height:1.6;padding:9px 18px;border-radius:10px;box-shadow:0 10px 30px rgba(20,10,50,.28);opacity:0;transform:translateY(-6px);transition:opacity .25s,transform .25s;max-width:min(90vw,420px);text-align:center}
.toast.on{opacity:1;transform:translateY(0)}
.toast--ok{background:#0F9D58}
.toast--err{background:#c0392b}

/* ---------- 购物车角标 ---------- */
.cart-link{position:relative;display:inline-flex;align-items:center;gap:4px}
.cart-badge{font-style:normal;min-width:16px;height:16px;padding:0 4px;border-radius:8px;background:var(--orange);color:#fff;font-size:10.5px;line-height:16px;text-align:center;font-weight:700}

/* ---------- 骨架屏 ---------- */
.skel-row{display:grid;grid-template-columns:minmax(0,1fr) 120px 100px 96px;gap:16px;align-items:center;padding:18px 22px;border-bottom:1px solid var(--line-2)}
.skel-row:last-child{border-bottom:0}
.skel-bar{height:12px;border-radius:6px;background:linear-gradient(90deg,#eeebf6 25%,#f6f4fb 37%,#eeebf6 63%);background-size:400% 100%;animation:skel 1.4s ease infinite}
.skel-bar.w60{width:60%}
.skel-bar.w40{width:40%}
.skel-bar.w30{width:30%}
.skel-box{background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);overflow:hidden}
@keyframes skel{0%{background-position:100% 50%}100%{background-position:0 50%}}

/* ---------- 配置器价格明细 ---------- */
.price-detail{margin:0 22px 14px;padding:12px 0 0;border-top:1px dashed var(--line)}
.pd-title{font-size:11.5px;color:var(--muted);letter-spacing:.04em;margin-bottom:8px}
.pd-rows{display:grid;gap:6px}
.pd-row{display:flex;align-items:baseline;justify-content:space-between;gap:10px;font-size:12.5px}
.pd-k{color:var(--ink-2)}
.pd-k em{font-style:normal;color:var(--muted);margin-left:6px;font-size:11.5px}
.pd-v{font-family:'Sora',sans-serif;font-weight:600;color:var(--ink)}
.pd-row.is-zero .pd-k,.pd-row.is-zero .pd-v{color:var(--muted)}
.pd-row.is-zero .pd-v{font-weight:500}

/* ---------- 配置器：镜像下拉 / 数据盘 ---------- */
.img-select{width:100%;height:42px;margin-top:4px;font-size:13.5px;color:var(--ink);background:#fff;border:1px solid var(--line);border-radius:9px;padding:0 12px}
.img-select:focus{outline:none;border-color:var(--brand)}
.opt-hint{font-size:11.5px;color:var(--muted);margin-left:4px;align-self:center}
.cfg-v .range-head{margin-top:10px}

/* ---------- 配置器：网络 / 主机名 / 密码 ---------- */
.chip-static{display:inline-flex;align-items:center;height:34px;padding:0 14px;border-radius:8px;background:var(--brand-soft);color:var(--brand);font-size:12.5px;font-weight:600}
.pwd-row{display:flex;gap:8px;align-items:center}
.pwd-row .field{flex:1;min-width:0;height:42px}
.pwd-row .btn{height:42px;flex:none}
.bx-v>.field{width:100%;height:32px;padding:0 10px;border:1px solid #d9d9d9;border-radius:2px;font-size:12.5px;background:#fff}
.bx-v>.field:focus{outline:none;border-color:#1a73e8;box-shadow:0 0 0 2px rgba(26,115,232,.12)}

/* 清单行内价格 */
.summary2 .sum-rows dd{display:flex;align-items:baseline;justify-content:flex-end;gap:8px}
.summary2 .sum-rows dd.dd-p{font-family:'Sora',sans-serif;font-size:12px;font-weight:600;text-align:right;color:var(--muted);white-space:nowrap}
.dd-p.is-paid{color:var(--brand)}
.dd-p.is-free{font-family:var(--sans);font-weight:500;color:var(--muted)}

/* 右侧清单滚动条（细） */
.summary2 .sum-rows{scrollbar-width:thin;scrollbar-color:#d9d3e8 transparent}
.summary2 .sum-rows::-webkit-scrollbar{width:6px}
.summary2 .sum-rows::-webkit-scrollbar-thumb{background:#d9d3e8;border-radius:3px}
.summary2 .sum-rows::-webkit-scrollbar-thumb:hover{background:#c4bbdd}
/* 小屏取消满屏高度 */
@media (max-width:1080px){
  .summary2{height:auto;max-height:none;display:block;overflow:visible}
  .summary2 .sum-rows{overflow:visible}
}

/* ================= 配置器：阿里云形态 ================= */
/* 分节标题 */
.cfg-head{display:flex;align-items:center;gap:8px;margin-bottom:14px}
.cfg-no{width:20px;height:20px;flex:none;display:grid;place-items:center;border-radius:50%;background:var(--brand-soft);color:var(--brand);font-size:11px;font-weight:700;font-family:'Sora',sans-serif}
.cfg-head h2{font-size:14.5px;letter-spacing:-.005em}
.cfg-help{width:15px;height:15px;flex:none;display:grid;place-items:center;border-radius:50%;border:1px solid var(--line-2);color:var(--muted);font-size:10px;font-style:normal;cursor:help;position:relative}
.cfg-help:hover{border-color:var(--brand);color:var(--brand)}
.cfg-help::after{content:attr(data-tip);position:absolute;left:50%;bottom:calc(100% + 8px);transform:translateX(-50%) translateY(4px);width:max-content;max-width:240px;padding:8px 10px;background:#241a3f;color:#fff;font-size:11.5px;line-height:1.6;border-radius:8px;opacity:0;pointer-events:none;transition:opacity .18s,transform .18s;z-index:30;white-space:normal}
.cfg-help:hover::after{opacity:1;transform:translateX(-50%) translateY(0)}

/* 配置段：标题与内容上下排布 */
.cfg-row{display:block;padding:22px 24px}
.cfg-row + .cfg-row{border-top:1px solid var(--line-2)}
.cfg-k{display:none}

/* 选项卡片化 */
.opt-line{gap:10px}
.opt-line .opt{
  min-width:96px;height:auto;padding:10px 14px;border-radius:10px;border:1px solid var(--line);
  background:#fff;font-size:13px;color:var(--ink);transition:all .18s;position:relative;text-align:center
}
.opt-line .opt:hover{border-color:var(--brand-line);background:var(--brand-soft)}
.opt-line .opt.is-active{border-color:var(--brand);background:var(--brand-soft);color:var(--brand);font-weight:600;box-shadow:0 0 0 1px var(--brand) inset}
.opt-line .opt.is-active::after{
  content:'✓';position:absolute;right:0;bottom:0;width:16px;height:16px;border-radius:10px 0 10px 0;
  background:var(--brand);color:#fff;font-size:9px;line-height:16px;text-align:center
}
.opt-line .opt small{margin-top:3px}

/* 右侧：配置费用 */
.sum-qty{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 22px;border-top:1px solid var(--line-2);flex:none}
.sq-k{font-size:12.5px;color:var(--muted)}
.sum-qty .stepper{display:flex;align-items:center;border:1px solid var(--line);border-radius:8px;overflow:hidden;background:#fff}
.sum-qty .stepper button{width:30px;height:30px;display:grid;place-items:center;color:var(--ink-2);font-size:15px}
.sum-qty .stepper button:hover{background:var(--bg-soft);color:var(--brand)}
.sum-qty .stepper span{display:grid;place-items:center;height:30px;border-left:1px solid var(--line);border-right:1px solid var(--line);font-size:13px;font-family:'Sora',sans-serif}
.sum-qty .unit{font-size:11.5px;color:var(--muted);margin-left:6px}

/* ---------- 规格族 + 规格卡片 ---------- */
.fam-line{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:14px}
.fam-card{flex:1 1 0;min-width:120px;padding:12px 14px;border:1px solid var(--line);border-radius:10px;background:#fff;text-align:left;cursor:pointer;transition:all .18s}
.fam-card:hover{border-color:var(--brand-line);background:var(--brand-soft)}
.fam-card.is-active{border-color:var(--brand);background:var(--brand-soft);box-shadow:0 0 0 1px var(--brand) inset}
.fam-card b{display:block;font-size:13.5px;color:var(--ink)}
.fam-card span{display:block;margin-top:3px;font-size:11.5px;color:var(--muted)}
.fam-card.is-active b{color:var(--brand)}


/* 带宽数字输入 */
.bw-input{display:inline-flex;align-items:center;gap:6px}
.bw-input input{width:74px;height:32px;padding:0 8px;border:1px solid var(--line);border-radius:8px;text-align:right;font-family:'Sora',sans-serif;font-size:14px;font-weight:600;color:var(--ink);background:#fff}
.bw-input input:focus{outline:none;border-color:var(--brand)}
.bw-input i{font-style:normal;font-size:11.5px;color:var(--muted)}
@media (max-width:640px){.spec-cards{grid-template-columns:1fr}}

/* ================= 买页：阿里云对齐（隐藏页脚 + 计费条 + 当前选择） ================= */
body[data-nofooter] .footer{display:none}
body[data-nofooter] .cfg-icp{display:block}
.cfg-icp{display:none;padding:22px 0 28px;text-align:center;font-size:12px;color:var(--muted);border-top:1px solid var(--line-2);margin-top:8px}
.cfg-icp a{color:var(--muted)}

/* 计费方式条 */
.bill-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px;flex-wrap:wrap}
.bill-tabs{display:inline-flex;background:#fff;border:1px solid var(--line);border-radius:10px;padding:3px}
.bill-tab{height:32px;padding:0 18px;border-radius:8px;font-size:13px;color:var(--muted);transition:all .18s}
.bill-tab.is-active{background:var(--brand-soft);color:var(--brand);font-weight:600}
.bill-tab:disabled{opacity:.45;cursor:not-allowed}
.bill-note{font-size:12px;color:var(--muted)}

/* 分节标题右侧当前值 */
.cfg-head{position:relative}
.cfg-cur{margin-left:auto;font-size:12.5px;color:var(--brand);font-weight:600;max-width:52%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:right}

/* 配置段更紧凑（对齐阿里云密度） */
.cfg-row{padding:18px 22px}
.cfg-head{margin-bottom:12px}
.opt-line{gap:8px}
.opt-line .opt{min-width:84px;padding:9px 12px;font-size:12.5px}
.fam-card{padding:10px 12px}

/* ==========================================================================
   买页（阿里巴巴「自定义购买」形态）
   ========================================================================== */
body[data-buy]{background:#f5f6f8}
body[data-buy] .footer{display:none}
body[data-buy] .topstrip{display:none}
body[data-buy] .header{background:#fff;backdrop-filter:none}

.buy-page{padding:0 0 60px}
.buy-tabs{background:#fff;border-bottom:1px solid var(--line)}
.buy-tabs-inner{max-width:1360px;margin:0 auto;padding:0 24px;display:flex;align-items:center;gap:28px;height:52px}
.buy-tab{font-size:14px;color:var(--ink-2);position:relative;height:52px;display:flex;align-items:center}
.buy-tab.is-active{color:var(--brand);font-weight:600}
.buy-tab.is-active::after{content:'';position:absolute;left:0;right:0;bottom:0;height:2px;background:var(--brand)}
.buy-tabs-note{margin-left:auto;font-size:12px;color:var(--muted)}

.buy-wrap{max-width:1360px;margin:16px auto 0;padding:0 24px;display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:16px;align-items:start}

/* 卡片 */
.bx{background:#fff;border:1px solid var(--line);border-radius:4px;margin-bottom:12px}
.bx-title{padding:16px 24px 0;font-size:14px;font-weight:700;color:var(--ink)}
.bx-row{display:grid;grid-template-columns:128px minmax(0,1fr);gap:16px;padding:16px 24px}
.bx-row + .bx-row{border-top:1px dashed var(--line-2)}
.bx-k{font-size:13px;color:var(--ink-2);padding-top:8px;display:flex;align-items:center;gap:5px}
.bx-v{min-width:0}
.bx-note{margin-top:8px;font-size:11.5px;color:var(--muted);line-height:1.7}
.bx-note b{color:var(--ink-2)}
.bx-bare{padding:20px 0 8px;text-align:center;font-size:12px;color:var(--muted)}
.bx-bare a{color:var(--muted)}

/* 问号提示 */
.q{width:14px;height:14px;flex:none;display:inline-grid;place-items:center;border-radius:50%;border:1px solid #cfc8e0;color:#9a91b3;font-size:9px;font-style:normal;cursor:help;position:relative}
.q:hover{border-color:var(--brand);color:var(--brand)}
.q::after{content:attr(data-tip);position:absolute;left:50%;bottom:calc(100% + 8px);transform:translateX(-50%) translateY(4px);width:max-content;max-width:230px;padding:8px 10px;background:#241a3f;color:#fff;font-size:11.5px;line-height:1.6;border-radius:6px;opacity:0;pointer-events:none;transition:.18s;z-index:30;font-weight:400}
.q:hover::after{opacity:1;transform:translateX(-50%) translateY(0)}

/* 大卡片选项（付费类型/地域） */
.pick-row{display:flex;flex-wrap:wrap;gap:15px}
.pick{position:relative;flex:0 0 auto;width:184px;max-width:100%;text-align:left;padding:6px 12px 7px;border:1px solid #d9d9d9;border-radius:2px;background:#fff;line-height:1.5;transition:border-color .18s,background .18s}
.pick:hover:not(:disabled){border-color:#a99ecb}
.pick b{display:block;font-size:13px;line-height:1.5;color:var(--ink);font-weight:500;padding-right:20px}
.pick span{display:block;margin-top:0;font-size:12px;line-height:1.5;color:#787e80}
.pick.is-active{border-color:var(--brand);background:#f4f0ff;box-shadow:0 0 0 1px var(--brand)}
.pick.is-active b{color:var(--brand)}
.pick:disabled{cursor:default;opacity:.75}

/* 规格族 tabs */
.fam-tabs{display:flex;gap:0;border-bottom:1px solid var(--line);margin-bottom:12px}
.fam-tab{padding:9px 16px;font-size:13px;color:var(--ink-2);border-bottom:2px solid transparent;margin-bottom:-1px}
.fam-tab.is-active{color:var(--brand);border-bottom-color:var(--brand);font-weight:600}
.fam-tab span{display:block;font-size:10.5px;color:var(--muted);margin-top:2px;font-weight:400}

/* 规格表格 */
.spec-table{border:1px solid var(--line);border-radius:4px;overflow:hidden}
.st-head,.spec-card{display:grid;grid-template-columns:34px minmax(0,1.6fr) minmax(0,1fr) 70px 70px 96px;gap:10px;align-items:center;padding:9px 14px;font-size:12.5px}
.st-head{background:#faf9fc;color:var(--muted);font-size:11.5px;border-bottom:1px solid var(--line)}
.spec-card{border-bottom:1px solid var(--line-2);cursor:pointer;transition:background .15s;position:static}
.spec-card:last-child{border-bottom:0}
.spec-card:hover{background:#faf9fc}
.spec-card.is-active{background:var(--brand-soft)}
.spec-card.is-active .sc-name{color:var(--brand);font-weight:600}
.sc-name{color:var(--ink);font-weight:600}
.sc-fam{color:var(--muted)}
.sc-price{text-align:right;font-family:'Sora',sans-serif;font-weight:700;color:var(--orange)}
.spec-card.is-loading .sc-price{color:var(--muted);font-weight:500}

/* 镜像 */
.img-select{width:100%;height:40px}

/* chips */
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chip{min-width:64px;padding:8px 14px;border:1px solid var(--line);border-radius:4px;font-size:13px;color:var(--ink-2);background:#fff;transition:.18s}
.chip:hover{border-color:#a99ecb;color:var(--brand)}
.chip.is-active{border-color:var(--brand);background:var(--brand-soft);color:var(--brand);font-weight:600;box-shadow:0 0 0 1px var(--brand)}

/* 磁盘行 */
.disk-line{display:flex;align-items:center;gap:14px;padding:10px 14px;border:1px solid var(--line);border-radius:4px;background:#faf9fc;font-size:13px}
.dl-name{color:var(--ink)}
.dl-val{color:var(--ink-2);font-family:'Sora',sans-serif;font-weight:600}
.dl-val b{font-size:15px;color:var(--ink)}
.dl-tag{margin-left:auto;font-size:11px;color:var(--muted);background:#fff;border:1px solid var(--line);border-radius:3px;padding:2px 8px}

/* 滑块行 */
.range-line{display:flex;align-items:center;gap:14px;margin-top:12px}
.range-line .range{flex:1}
.range-val{font-size:12px;color:var(--muted);white-space:nowrap}
.range-val b{font-family:'Sora',sans-serif;font-size:15px;color:var(--ink)}
.num-input{display:inline-flex;align-items:center;gap:6px}
.num-input input{width:72px;height:34px;padding:0 8px;border:1px solid var(--line);border-radius:4px;text-align:right;font-family:'Sora',sans-serif;font-size:14px;font-weight:600;color:var(--ink);background:#fff}
.num-input input:focus{outline:none;border-color:var(--brand)}
.num-input i{font-style:normal;font-size:11.5px;color:var(--muted)}

/* 密码行 */
.pwd-line{display:flex;gap:8px;align-items:center}
.pwd-line .field{flex:1;min-width:0;height:32px;padding:0 10px;border:1px solid #d9d9d9;border-radius:2px;font-size:12.5px;background:#fff;color:var(--ink)}
.pwd-line .field:focus{outline:none;border-color:#1a73e8;box-shadow:0 0 0 2px rgba(26,115,232,.12)}
.pwd-line .btn{height:32px;flex:none;border:1px solid #d9d9d9;border-radius:2px;font-size:12.5px;color:var(--ink-2);background:#fff;padding:0 12px}
.pwd-line .btn:hover{border-color:#1a73e8;color:#1a73e8}

/* 右侧 */
.buy-side{position:sticky;top:89px}
.side-card{background:#fff;border:1px solid var(--line);border-radius:4px;display:flex;flex-direction:column;max-height:calc(100vh - 105px)}
.side-head{padding:14px 20px;font-size:14px;font-weight:700;border-bottom:1px solid var(--line-2);flex:none}
.side-rows{padding:10px 20px;display:grid;gap:9px;overflow-y:auto;flex:1 1 auto;min-height:0}
.side-rows>div{display:flex;align-items:baseline;justify-content:space-between;gap:12px;font-size:12.5px}
.side-rows span{color:var(--muted);white-space:nowrap}
.side-rows b{color:var(--ink);font-weight:600;text-align:right;max-width:62%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.side-sep{height:1px;background:var(--line-2);margin:4px 0}
.side-block{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 20px;font-size:12.5px;flex:none}
.side-block--col{flex-direction:column;align-items:stretch;gap:8px}
.sb-k{color:var(--muted)}
.sb-dis{color:var(--muted);font-size:12px}
.side-block .stepper{display:flex;align-items:center;border:1px solid var(--line);border-radius:4px;overflow:hidden}
.side-block .stepper button{width:30px;height:30px;display:grid;place-items:center;color:var(--ink-2);font-size:15px}
.side-block .stepper button:hover{background:var(--bg-soft);color:var(--brand)}
.side-block .stepper span{width:42px;display:grid;place-items:center;height:30px;border-left:1px solid var(--line);border-right:1px solid var(--line);font-family:'Sora',sans-serif;font-size:13px}
.dur-list{display:flex;flex-wrap:wrap;gap:8px}
.dur-chip{padding:7px 12px;border:1px solid var(--line);border-radius:4px;font-size:12.5px;color:var(--ink-2);background:#fff;position:relative}
.dur-chip:hover{border-color:#a99ecb;color:var(--brand)}
.dur-chip.is-active{border-color:var(--brand);background:var(--brand-soft);color:var(--brand);font-weight:600;box-shadow:0 0 0 1px var(--brand)}
.dur-chip em{display:block;font-style:normal;font-size:11px;color:var(--muted);margin-top:2px}
.dur-chip .dur-tag{display:inline-block;margin-left:5px;padding:0 4px;border-radius:2px;background:#fff1e8;color:#d4380d;font-size:10px;font-weight:600;line-height:14px;font-style:normal;vertical-align:1px}
.dur-chip em s{color:var(--muted);text-decoration:line-through;margin-left:4px;font-size:10px;font-weight:400}
.dur-note{margin:0;font-size:11px;line-height:1.6;color:var(--muted)}
.dur-note b{color:var(--orange);font-weight:700}
.side-price{display:flex;align-items:baseline;justify-content:space-between;padding:14px 20px 4px;flex:none}
.side-price span{font-size:12.5px;color:var(--muted)}
.side-price b{font-family:'Sora',sans-serif;font-size:22px;font-weight:800;color:var(--orange)}
.price-break{padding:0 20px 8px;flex:none}
.pb-title{font-size:11px;color:var(--muted);margin-bottom:6px}
.pb-rows{display:grid;gap:5px}
.pb-row{display:flex;justify-content:space-between;font-size:11.5px;color:var(--muted)}
.pb-row.is-paid{color:var(--ink-2)}
.side-legal{padding:6px 20px 10px;font-size:11px;color:var(--muted);line-height:1.7;flex:none}
.side-legal a{color:var(--muted);text-decoration:underline}
.side-acts{display:grid;grid-template-columns:1fr 1.4fr;gap:8px;padding:0 20px 18px;flex:none}
.side-acts .btn{height:40px;font-size:13.5px}

/* 「惠」角标 */
.bx-badge{position:absolute;top:6px;right:6px;display:inline-grid;place-items:center;min-width:17px;height:16px;padding:0 4px;border-radius:2px;background:#ff6a00;color:#fff;font-size:11px;line-height:1;font-style:normal;font-weight:500}
/* 地域卡内的层叠图标 */
.pick-ic{font-style:normal;margin:0 4px 0 8px;color:var(--brand);font-size:12px}
/* 标签列的辅助链接 */
.bx-k--col{flex-direction:column;align-items:flex-start;gap:6px}
.bx-k-link{font-size:11.5px;color:var(--muted);text-decoration:underline}
.bx-k-link:hover{color:var(--brand)}
/* 信息条 */
.bx-info{margin:0 24px 16px;padding:10px 14px;background:#f0f6ff;border-radius:4px;font-size:12.5px;color:var(--ink-2);line-height:1.7;display:flex;gap:8px}
.bx-info i{font-style:normal;color:#3b82f6;flex:none}

/* ========== 实例规格：阿里云表格形态 ========== */
.spec-tabs{display:flex;align-items:center;gap:22px;border-bottom:1px solid var(--line);margin-bottom:14px}
.spec-tab{padding:8px 0 10px;font-size:13.5px;color:var(--muted);background:none;border:0;border-bottom:2px solid transparent;border-radius:0;margin-bottom:-1px;line-height:1.4}
.spec-tab.is-active{color:var(--brand);border:0;border-bottom:2px solid var(--brand);font-weight:600}
.spec-tab:disabled{opacity:.55;cursor:default}
.spec-reco{display:inline-flex;align-items:center;gap:4px;height:26px;padding:0 12px;border-radius:13px;border:1px solid var(--brand-line);color:var(--brand);font-size:12px;background:#fff}

/* 规格族方块（对应阿里云「架构」行） */
.fam-boxes{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;border:0;overflow:visible;margin-bottom:14px}
.fam-box{position:relative;z-index:1;display:flex;flex-direction:column;text-align:center;padding:0;background:#fff;border:1px solid #d9d9d9;border-radius:0;transition:border-color .15s}
.fam-box + .fam-box{margin-left:-1px}
.fam-box:hover{border-color:#a99ecb}
.fam-box b{display:block;padding:10px 8px;font-size:13px;line-height:1.4;color:var(--ink);font-weight:400;background:#fafafa;border-bottom:1px solid #e8e8e8}
.fam-box span{display:block;padding:10px 8px;font-size:12px;line-height:1.4;color:var(--muted)}
.fam-box.is-active{z-index:2;border-color:var(--brand);box-shadow:0 0 0 1px var(--brand)}
.fam-box.is-active b{background:var(--brand-soft);color:var(--brand);font-weight:600}
.fam-box.is-active span{color:var(--brand)}
.fam-box.is-active::after{display:none}

/* 筛选行 */
.spec-filter{display:flex;gap:10px;align-items:center;margin-bottom:14px;flex-wrap:wrap}
.sf-sel{height:32px;min-width:132px;padding:0 28px 0 10px;border:1px solid #d9d9d9;border-radius:2px;background:#fff;font-size:12.5px;color:var(--ink-2)}
.sf-sel:focus{outline:none;border-color:var(--brand)}
.sf-search{position:relative;flex:1;min-width:180px}
.sf-search input{width:100%;height:32px;padding:0 32px 0 10px;border:1px solid #d9d9d9;border-radius:2px;font-size:12.5px}
.sf-search input:focus{outline:none;border-color:var(--brand)}
.sf-search i{position:absolute;right:10px;top:50%;transform:translateY(-50%);font-style:normal;color:var(--muted);font-size:14px}

/* 表格 */
.spec-table{border:0;overflow:hidden}
.st-head,.spec-card{display:grid;grid-template-columns:34px minmax(0,1.7fr) minmax(0,1fr) 68px 68px 60px 92px;gap:8px;align-items:center;padding:9px 12px;font-size:12.5px}
.st-head{background:#fafafa;color:var(--ink-2);font-size:12px;border-bottom:1px solid var(--line);border-top:0}
.st-head span{white-space:nowrap}
.st-head span:last-child{text-align:right}
.st-body{max-height:340px;overflow-y:auto}
.spec-card{border:0;border-bottom:1px solid var(--line-2);border-radius:0;box-shadow:none;cursor:pointer;position:static;transition:background .15s}
.spec-card:last-child{border-bottom:0}
.spec-card:hover{background:#faf9fc}
.spec-card.is-active{background:#e9f2ff;border-radius:0;box-shadow:none}
.spec-card.is-active .sc-name{color:var(--brand);font-weight:600}
.sc-radio{width:16px;height:16px;border-radius:50%;border:1px solid #c4c9d0;display:grid;place-items:center;flex:none;background:#fff;transition:border-color .15s}
.spec-card.is-active .sc-radio{border-color:#1a73e8}
.spec-card.is-active .sc-radio::after{content:'';width:8px;height:8px;border-radius:50%;background:#1a73e8}
.sc-name{display:flex;align-items:center;gap:6px;color:var(--ink);overflow:hidden}
.sc-name em{font-style:normal;font-size:11px;padding:1px 6px;border-radius:2px;border:1px solid #b7d4ff;color:#2563eb;background:#f0f6ff;flex:none}
.sc-fam{color:var(--ink-2);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sc-vcpu,.sc-mem,.sc-cpu{color:var(--ink-2);white-space:nowrap}
.sc-cpu{color:#2563eb;font-family:'Sora',sans-serif;font-weight:600}
.sc-price{text-align:right;font-family:'Sora',sans-serif;font-weight:700;color:var(--orange);white-space:nowrap}
.spec-card.is-loading .sc-price{color:var(--muted);font-weight:500}

/* ========== 镜像：搜索 + 卡片网格（对齐阿里云） ========== */
.img-search{display:flex;gap:12px;align-items:center;margin-bottom:4px}
.is-input{position:relative;flex:1}
.is-input input{width:100%;height:38px;padding:0 34px 0 12px;border:1px solid #d9d9d9;border-radius:2px;font-size:13px}
.is-input input:focus{outline:none;border-color:#1a73e8}
.is-input i{position:absolute;right:12px;top:50%;transform:translateY(-50%);font-style:normal;color:#8c93a1;font-size:15px}
.is-catalog{display:inline-flex;align-items:center;height:38px;padding:0 18px;border:1px solid #1a73e8;border-radius:2px;color:#1a73e8;font-size:13px;white-space:nowrap}
.is-catalog:hover{background:#f0f6ff}

.os-tabs{display:flex;align-items:center;gap:26px;border-bottom:1px solid var(--line);margin:16px 0 18px}
.os-tab{padding:0 0 10px;font-size:13.5px;color:var(--ink-2);background:none;border:0;border-bottom:2px solid transparent;border-radius:0;margin-bottom:-1px;line-height:1.4}
.os-tab.is-active{color:#1a73e8;border:0;border-bottom:2px solid #1a73e8;font-weight:600}
.os-tab.is-dis{color:#b9bec7;cursor:default;border:0;border-bottom:2px solid transparent}

.os-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-bottom:16px}
.os-card{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;width:100%;height:72px;padding:8px 16px;border:1px solid #d9d9d9;border-radius:2px;background:#fff;transition:border-color .15s,background .15s;overflow:hidden}
.os-card:hover{border-color:#7ea8e8}
.os-card.is-active{border-color:#1a73e8;background:#f0f6ff;box-shadow:0 0 0 1px #1a73e8}
.os-ic{width:20px;height:20px;border-radius:50%;display:grid;place-items:center;font-family:'Sora',sans-serif;font-size:9px;line-height:1;font-weight:700;color:#fff}
.os-name{font-size:14px;color:var(--ink);text-align:center;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.os-card.is-active .os-name{color:#1a73e8;font-weight:600}
.os-ver{font-size:11.5px;color:var(--muted);text-align:center}
.os-more{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;width:100%;height:72px;padding:8px 16px;border:1px solid #e8e8e8;border-radius:2px;background:#fff;color:#8c93a1;font-size:14px}
.os-more:hover{border-color:#1a73e8;color:#1a73e8}
.os-more i{font-style:normal;font-size:15px;color:#c4c9d0;line-height:1}
.img-select{width:100%;height:40px;border:1px solid #d9d9d9;border-radius:2px;padding:0 12px;font-size:13px;color:var(--ink)}
.img-select:focus{outline:none;border-color:#1a73e8}
.img-select.is-empty{border-color:#d9534f}

/* ========== 存储：云盘表格 ========== */
.disk-table{border:1px solid var(--line);border-radius:2px;overflow:hidden}
.dt-head,.dt-row{display:grid;grid-template-columns:110px minmax(0,1.35fr) 70px 150px minmax(0,1fr);gap:12px;align-items:center;padding:14px 16px;font-size:13px}
.dt-head{background:#fafafa;color:var(--ink-2);font-size:12.5px;border-bottom:1px solid var(--line)}
.dt-row + .dt-row,.dt-row + #diskRows .dt-row{border-top:1px solid var(--line-2)}
.dt-row{border-top:1px solid var(--line-2)}
.dt-head + .dt-row{border-top:0}
.dt-use{color:var(--ink);font-weight:500}
.dt-type{color:var(--ink)}
.dt-num{color:var(--ink-2)}
.dt-size b{font-family:'Sora',sans-serif;font-size:14px;color:var(--ink)}
.dt-size i{font-style:normal;color:var(--muted);font-size:12px;margin-left:2px}
.dt-set{color:var(--muted);font-size:12.5px}
.dt-add{color:#1a73e8;font-size:13px;background:none;border:0;padding:0;cursor:pointer}
.dt-add:hover{text-decoration:underline}
.dt-add:disabled{color:#b9bec7;cursor:not-allowed;text-decoration:none}
.dt-rest{margin-left:14px;color:var(--muted);font-size:12.5px}
.dt-rest b{color:var(--ink-2);font-family:'Sora',sans-serif}
.disk-size-input{width:92px;height:32px;padding:0 8px;border:1px solid #d9d9d9;border-radius:2px;text-align:right;font-family:'Sora',sans-serif;font-size:13px}
.disk-size-input:focus{outline:none;border-color:#1a73e8}
.dt-del{color:#c0392b;font-size:12.5px;background:none;border:0;cursor:pointer;padding:0}
.dt-del:hover{text-decoration:underline}

/* ========== 网络和安全组（对齐阿里云） ========== */
.cbx{display:inline-flex;align-items:center;gap:8px;font-size:13px;color:var(--ink);cursor:default}
.cbx input{width:16px;height:16px;accent-color:#1a73e8}
.ip-extra{display:flex;align-items:center;gap:10px;margin-top:12px;font-size:12.5px;color:var(--ink-2)}
.ie-k{color:var(--muted)}
.ie-unit{color:var(--muted)}
.stepper{display:inline-flex;align-items:center;border:1px solid #d9d9d9;border-radius:2px;overflow:hidden;background:#fff}
.stepper button{width:32px;height:32px;display:grid;place-items:center;color:var(--ink-2);font-size:15px;background:#fff}
.stepper button:hover{color:#1a73e8}
.stepper>span,.stepper>input{width:44px;height:32px;display:grid;place-items:center;border-left:1px solid #d9d9d9;border-right:1px solid #d9d9d9;font-family:'Sora',sans-serif;font-size:13px;text-align:center;border-top:0;border-bottom:0}
.stepper>input:focus{outline:none;background:#f0f6ff}

/* 带宽分段选择 */
.bw-line{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.bw-seg{display:inline-flex;border:1px solid #d9d9d9;border-radius:2px;overflow:hidden}
.bw-seg button{min-width:56px;height:36px;border-right:1px solid #d9d9d9;font-size:13px;color:var(--ink);background:#fff;transition:.15s}
.bw-seg button:last-child{border-right:0}
.bw-seg button:hover{color:#1a73e8;background:#f7fbff}
.bw-seg button.is-active{color:#1a73e8;background:#f0f6ff;font-weight:600;box-shadow:inset 0 0 0 1px #1a73e8}
.bw-unit{font-size:12.5px;color:var(--muted)}
.bw-step>input{width:56px}

/* 网络类型 tabs */
.net-tabs{display:inline-flex;border-bottom:1px solid var(--line);gap:0;margin-bottom:12px}
.net-tab{padding:0 16px 10px;font-size:13px;color:var(--ink-2);border:0;border-bottom:2px solid transparent;background:none;margin-bottom:-1px;border-radius:0}
.net-tab.is-active{color:#1a73e8;border-bottom-color:#1a73e8;font-weight:600}
.net-tab:hover{color:#1a73e8}

/* ========== 管理设置（对齐阿里云） ========== */
.cred-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;max-width:560px}
.cred-tab{height:40px;border:1px solid #d9d9d9;background:#fff;font-size:13px;color:var(--ink);border-radius:0;margin-left:-1px;transition:.15s}
.cred-tab:first-child{margin-left:0}
.cred-tab:hover:not(:disabled){border-color:#7ea8e8;color:#1a73e8}
.cred-tab.is-active{border-color:#1a73e8;background:#f0f6ff;color:#1a73e8;font-weight:600;position:relative;z-index:1}
.cred-tab:disabled{color:#b9bec7;cursor:not-allowed}
.radio-row{display:flex;gap:26px;align-items:center}
.rdo{display:inline-flex;align-items:center;gap:8px;font-size:13px;color:var(--ink);cursor:default}
.rdo input{width:16px;height:16px;accent-color:#1a73e8}
.rdo.is-dis{color:#b9bec7}
.rdo em{font-style:normal;font-size:11.5px;color:#b9bec7;margin-left:2px}

/* ========== 底部配置概要 ========== */
.sum-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 56px;padding:16px 24px 18px;margin:0}
.sum-item{display:grid;grid-template-columns:104px minmax(0,1fr);gap:14px;font-size:12.5px;line-height:1.65;min-width:0}
.sum-item dt{color:var(--ink);font-weight:600;white-space:nowrap}
.sum-item dd{margin:0;min-width:0;color:var(--ink-2);word-break:break-all}
.sum-item dd em{font-style:normal;color:var(--muted)}
@media (max-width:900px){.sum-grid{grid-template-columns:1fr;gap:10px}}

/* ========== 快速购买 ========== */
.scene-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;max-width:100%}
.scene-tab{height:40px;border:1px solid #d9d9d9;background:#fff;font-size:13px;color:var(--ink);border-radius:0;margin-left:-1px;transition:.15s}
.scene-tab:first-child{margin-left:0}
.scene-tab:hover{border-color:#7ea8e8;color:#1a73e8}
.scene-tab.is-active{border-color:#1a73e8;background:#f0f6ff;color:#1a73e8;font-weight:600;position:relative;z-index:1}

.pkg-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.pkg-card{text-align:left;padding:12px 14px;border:1px solid #d9d9d9;border-radius:2px;background:#fff;transition:.15s;display:flex;flex-direction:column;gap:7px}
.pkg-card:hover{border-color:#7ea8e8;box-shadow:0 2px 10px rgba(26,115,232,.08)}
.pkg-card.is-active{border-color:#1a73e8;background:#f7fbff;box-shadow:0 0 0 1px #1a73e8}
.pkg-card>b{font-size:14px;color:var(--ink);font-weight:600}
.pkg-card>p{font-size:12px;color:var(--muted);line-height:1.6;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.pkg-card ul{list-style:none;display:grid;gap:4px;font-size:12px;color:var(--ink-2)}
.pkg-card ul li{position:relative;padding-left:16px}
.pkg-card ul li::before{content:'✓';position:absolute;left:0;color:#1a73e8;font-size:11px}
.pkg-price{margin-top:auto;padding-top:8px;border-top:1px dashed var(--line-2);font-size:12px;color:var(--muted)}
.pkg-price b{font-family:'Sora',sans-serif;font-size:15px;color:var(--orange);margin-left:2px}

.img-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.img-card{border:1px solid #d9d9d9;border-radius:2px;padding:12px;background:#fff;transition:.15s;display:flex;flex-direction:column;gap:10px}
.img-card:hover{border-color:#7ea8e8}
.img-card.is-active{border-color:#1a73e8;background:#f7fbff;box-shadow:0 0 0 1px #1a73e8}
.ic-name{font-size:13.5px;color:var(--ink);text-align:center;font-weight:500}
.img-card.is-active .ic-name{color:#1a73e8;font-weight:600}
.ic-sel{width:100%;height:32px;border:1px solid #d9d9d9;border-radius:2px;font-size:12.5px;padding:0 6px;background:#fff}
.ic-sel:focus{outline:none;border-color:#1a73e8}

.fold-btn{font-size:13px;color:#1a73e8;background:none;border:0;padding:0;cursor:pointer}
.fold-btn:hover{text-decoration:underline}
.fold-body{margin-top:10px}

/* ========== 费用行：查看明细 + 优惠码 同一行 ========== */
.side-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:2px 20px 8px;flex:none;min-height:27px;position:relative}
.view-detail{display:inline-flex;align-items:center;gap:4px;padding:0;font-family:inherit;font-size:12.5px;color:#1a73e8;background:none;border:0;cursor:pointer}
.view-detail:hover{text-decoration:underline}
.view-detail i{font-style:normal;font-size:10px;transform:translateY(-1px)}

.pd-mask{position:fixed;inset:0;z-index:300;background:rgba(20,16,40,.45);display:flex;align-items:center;justify-content:center;padding:24px}
.pd-mask[hidden]{display:none}
.pd-modal{width:min(720px,100%);max-height:86vh;overflow:auto;background:#fff;border-radius:4px;padding:20px 24px 22px;box-shadow:0 20px 60px rgba(20,16,40,.25)}
.pd-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}
.pd-head h3{font-size:16px;font-weight:600;color:var(--ink)}
.pd-x{width:28px;height:28px;display:grid;place-items:center;border:0;background:none;color:var(--muted);font-size:16px;cursor:pointer;border-radius:4px}
.pd-x:hover{background:#f5f5f8;color:var(--ink)}
.pd-total{text-align:right;font-size:13px;color:var(--ink-2);margin:6px 0 14px}
.pd-total b{font-family:'Sora',sans-serif;font-size:24px;font-weight:800;color:var(--orange);margin-left:8px}
.pd-sec{display:flex;align-items:center;gap:6px;padding:9px 12px;background:#eef4ff;color:#1a73e8;font-size:13px;font-weight:600}
.pd-sec i{font-style:normal;font-size:11px}
.pd-table{width:100%;border-collapse:collapse;font-size:12.5px}
.pd-table th{background:#fafafa;color:var(--ink-2);font-weight:500;text-align:left;padding:9px 12px;font-size:12px}
.pd-table th:last-child,.pd-table td:last-child{text-align:right}
.pd-table td{padding:9px 12px;border-bottom:1px solid var(--line-2);color:var(--ink-2)}
.pd-table td:first-child{color:var(--ink)}
.pd-table tfoot td{border-bottom:0;border-top:1px solid var(--line);font-weight:600;color:var(--ink)}
.pd-table tfoot td:last-child{font-family:'Sora',sans-serif;color:var(--orange)}
.pd-note{margin-top:12px;font-size:11.5px;color:var(--muted);line-height:1.7}
.pd-foot{display:flex;justify-content:flex-end;margin-top:16px}
.pd-foot .btn{height:36px;padding:0 26px}

/* ========== 优惠码：与「查看明细」同一行，折叠展开 ========== */
.promo-toggle{display:inline-flex;align-items:center;gap:4px;margin-left:auto;padding:0;font-family:inherit;font-size:12.5px;color:var(--muted);background:none;border:0;cursor:pointer}
.promo-toggle:hover,.promo-toggle[aria-expanded="true"]{color:#1a73e8}
.promo-toggle i{font-style:normal;font-size:10px;transition:transform .15s ease}
.promo-toggle[aria-expanded="true"] i{transform:rotate(90deg)}
.promo-toggle[hidden]{display:none}

.promo-applied{display:inline-flex;align-items:center;gap:5px;margin-left:auto;max-width:76%;font-size:12px;color:#0F9D58;white-space:nowrap}
.promo-applied[hidden]{display:none}
.promo-applied b{font-weight:600;font-family:'Sora',sans-serif}
.promo-applied .promo-code{max-width:96px;overflow:hidden;text-overflow:ellipsis;opacity:.85}
.promo-applied .promo-x{padding:0 0 0 2px;border:0;background:none;color:var(--muted);font-size:12px;line-height:1;cursor:pointer}
.promo-applied .promo-x:hover{color:#c0392b}

.promo-panel{padding:0 20px 10px;flex:none}
.promo-panel[hidden]{display:none}

.promo-line{display:flex;gap:8px}
.promo-line input{flex:1;min-width:0;height:32px;padding:0 10px;border:1px solid #d9d9d9;border-radius:2px;font-family:inherit;font-size:12.5px;color:var(--ink)}
.promo-line input:focus{outline:none;border-color:#1a73e8;box-shadow:0 0 0 2px rgba(26,115,232,.12)}
.promo-line input[aria-invalid="true"]{border-color:#c0392b}
.promo-line button{flex:none;height:32px;padding:0 14px;border:1px solid #d9d9d9;border-radius:2px;background:#fff;font-size:12.5px;color:var(--ink-2);cursor:pointer}
.promo-line button:hover{border-color:#1a73e8;color:#1a73e8}
.promo-msg{margin-top:6px;font-size:11.5px;line-height:1.5;color:#c0392b}
.promo-msg:empty{display:none}
.promo-msg.ok{color:#0F9D58}

/* 图形验证码（先验证后发短信） */
.auth-row .with-cap{display:flex;gap:8px;align-items:center}
.auth-row .with-cap .field{box-shadow:none}
.auth-row .with-cap .field{flex:1;min-width:0}
.auth-row .with-cap .btn{flex:none;height:42px;padding:0 14px;font-size:13px;border-radius:9px}
.cap-thumb{width:172px;height:42px;flex:0 0 172px;border-radius:9px;border:1px solid var(--line-2);cursor:pointer;object-fit:contain;background:#faf8fe;flex:none;padding:2px;box-sizing:border-box}
.cap-row > label{display:flex;align-items:center;gap:8px;height:21px;line-height:21px}
.cap-ok{display:none;margin-left:auto;font-size:12px;line-height:1;color:#1a9b52;font-weight:600}
.cap-ok.on{display:inline}
.cap-err{margin-left:auto;font-size:12px;line-height:1;color:#d94a3d}
.cap-err:empty{display:none}
.cap-row.is-ok .cap-thumb{border-color:#9fd9b4}
.cap-line:not(:empty){margin-top:6px}
.cap-ok{display:none;font-size:12.5px;color:#1a9b52;font-weight:600}
.cap-ok.on{display:inline}
.cap-err{font-size:12.5px;color:#d94a3d}
@media (max-width:520px){
  .auth-row .with-cap{gap:6px}
  .cap-thumb{width:140px;flex:0 0 140px}
  .auth-row .with-cap .btn{padding:0 10px}
}

/* ===== 可核验（首页信任带） ===== */
.verify-band{padding:72px 0;background:var(--bg)}
.vband{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:34px}
.vband-item{display:flex;flex-direction:column;gap:7px;padding:24px 22px;border:1px solid var(--line);border-radius:var(--radius-lg);background:#fff;transition:border-color .25s,box-shadow .25s,transform .25s}
.vband-item:hover{border-color:var(--brand-line);box-shadow:var(--shadow-md);transform:translateY(-2px)}
.vb-k{font-size:11.5px;letter-spacing:.1em;color:var(--brand);font-weight:700;text-transform:uppercase}
.vband-item b{font-size:15.5px;line-height:1.55;color:var(--ink)}
.vband-item p{font-size:13px;line-height:1.75;color:var(--muted)}
.vb-go{margin-top:auto;padding-top:8px;font-size:12.5px;font-weight:600;color:var(--brand)}
.vb-go i{font-style:normal;display:inline-block;transition:transform .2s}
.vband-item:hover .vb-go i{transform:translateX(3px)}

/* ===== 备案自查表 ===== */
.selfcheck{border:1px solid var(--brand-line);background:linear-gradient(180deg,#faf8ff,#fff);border-radius:var(--radius-lg);padding:22px 22px 18px;margin:26px 0 20px}
.sc-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:14px}
.sc-head b{font-size:16px}
.sc-head span{font-size:12px;color:var(--muted)}
.sc-rows{display:grid;gap:10px}
.sc-row{display:flex;align-items:center;justify-content:space-between;gap:14px;font-size:13.5px;color:var(--ink-2);flex-wrap:wrap}
.sc-row select{flex:none;min-width:210px;height:38px;padding:0 10px;border:1px solid var(--line);border-radius:8px;background:#fff;font:inherit;font-size:13px;color:var(--ink)}
.sc-row select:focus{outline:none;border-color:var(--brand-2);box-shadow:0 0 0 3px var(--brand-soft)}
.sc-result{margin-top:16px;padding:14px 16px;border-radius:10px;font-size:13.5px;line-height:1.75;border:1px solid transparent}
.sc-result b{display:block;font-size:14.5px;margin-bottom:4px}
.sc-result.ok{background:#f1fbf5;border-color:#c9ecd8;color:#17603a}
.sc-result.warn{background:#fff8ec;border-color:#f6dfb8;color:#7a4a12}
.sc-result.bad{background:#fff2f2;border-color:#f4cccc;color:#8a1f1f}
.sc-result a{color:inherit;text-decoration:underline}
@media (max-width:640px){
  .sc-row{align-items:flex-start;flex-direction:column;gap:6px}
  .sc-row select{width:100%;min-width:0}
}

/* 购买页侧栏：一键会话入口 */
.side-cs{display:flex;align-items:center;gap:8px;margin:2px 0 4px;padding:9px 11px;border:1px dashed var(--brand-line);border-radius:9px;font-size:12.5px;font-weight:600;color:var(--brand);background:var(--brand-soft)}
.side-cs:hover{border-style:solid}
.side-cs svg{width:16px;height:16px;stroke:var(--brand);flex:none}

/* ==========================================================================
   自定义购买页（2026-11-17）：境外地域分组 / 精简摘要 / 时长三档 / 明细弹层
   body[data-cfg="1"] 只作用于 buy.html，不影响 quick.html
   ========================================================================== */
.rg + .rg{margin-top:12px;padding-top:12px;border-top:1px dashed var(--line-2)}
.rg-h{display:flex;align-items:baseline;gap:8px;margin-bottom:8px;flex-wrap:wrap}
.rg--solo .rg-h{display:none}
.rg-title{font-size:12px;font-weight:600;color:var(--ink)}
.rg-sub{font-size:11.5px;color:var(--muted)}
.rg .pick{width:212px}
.rg .pick b{display:flex;align-items:baseline;gap:5px;padding-right:0;white-space:nowrap}
.rg .pick b .rg-pid{margin-left:auto}
.rg-pid{flex:none;display:inline-block;padding:0 4px;border-radius:2px;background:#f1f3f6;color:#8a939e;font-size:9.5px;font-style:normal;font-weight:500;letter-spacing:0;line-height:15px;font-family:ui-monospace,Menlo,monospace}
.sum-item dd .rg-pid,.side-rows .rg-pid{margin-left:5px}
body[data-cfg="1"] .pick.is-active .rg-pid{background:#e9e0ff;color:#7a5cd6}
.rg-iso{display:inline-block;min-width:20px;margin-right:5px;padding:0 4px;border-radius:2px;background:#eef2f7;color:#5b6470;font-size:10px;font-style:normal;text-align:center;vertical-align:1px;letter-spacing:.3px}
.pick.is-active .rg-iso{background:#e9e0ff;color:#7a5cd6}
.sum-item dd em.sum-tag{display:inline-block;margin-left:6px;padding:0 5px;border-radius:2px;background:#eef2f7;color:#5b6470;font-size:10px;vertical-align:1px}
.bx-info>span{min-width:0;flex:1}
.side-more{padding:0 20px 10px}
.side-more-btn{width:100%;padding:6px 10px;border:1px dashed var(--line-2);border-radius:2px;background:none;color:var(--muted);font-size:11.5px;cursor:pointer;display:flex;align-items:center;justify-content:space-between}
.side-more-btn:hover{color:var(--brand);border-color:var(--brand)}
.pd-config{padding:4px 0 12px;gap:10px 40px}
.pd-config .sum-item{grid-template-columns:96px minmax(0,1fr)}
body[data-cfg="1"] .side-acts .btn{white-space:nowrap;padding:0 12px;letter-spacing:0}
body[data-cfg="1"] .dur-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
body[data-cfg="1"] .dur-chip{min-width:0;padding:6px 8px;font-size:12px;text-align:center;line-height:1.45}
body[data-cfg="1"] .dur-chip .dur-tag{margin-left:3px;padding:0 3px;font-size:9.5px;line-height:13px}
body[data-cfg="1"] .dur-chip em{font-size:10.5px;white-space:normal;word-break:break-word}
body[data-cfg="1"] .dur-chip em s{margin-left:2px;font-size:9.5px}
@media(max-width:760px){.rg .pick{width:100%}}

/* ===== 06-responsive.css ===== */
/* ==========================================================================
   06 · 响应式：断点与移动端补丁（必须最后加载）
   ========================================================================== */

/* 控制台双入口的宽度阶梯
   ≥1241：完整标签「旧版控制台」
   ≤1240：标签缩成「旧版」，同时收窄导航项，尽量两个入口并存
   ≤1100：导航已放不下两个按钮（实测 1100 起换行），旧版改从控制台侧栏进
   ≤820 ：手机端只留「控制台」 */
.btn-legacy .legacy-short{display:none}

@media (max-width:1340px){
  .header .container{gap:20px}
  .header .nav{gap:4px}
  .header .nav a{padding:9px 10px;font-size:14.5px}
  .header .nav a.is-active::after{left:10px;right:10px}
  .btn-legacy .legacy-full{display:none}
  .btn-legacy .legacy-short{display:inline}
}

@media (max-width:1180px){
  .header-actions .btn-legacy{display:none}
}

/* 窄桌面：导航 7 项 + 5 个操作项放不下，先收起「关于」（页脚与面包屑仍有入口） */
@media (max-width:1080px){
  .header .nav a[data-nav="about"]{display:none}
}

/* ≤980：桌面导航放不下（7 项导航 + 5 个操作项实测需 ~975px），改用汉堡菜单（显示规则在 08） */
@media (max-width:980px){
  .nav{display:none}
}

@media (max-width:1080px){
  .hero .container{grid-template-columns:1fr;gap:44px}
  .cfg-wrap{grid-template-columns:1fr}
  .summary{position:static}
  .footer-grid{grid-template-columns:1fr 1fr 1fr}
  .feat-grid,.tech-grid,.gua,.steps{grid-template-columns:1fr 1fr}
  .steps::before{display:none}
  /* 选购页（custom / quick）：右栏 340px 固定，窄屏必须改单列，否则主表单被挤成 0 宽 */
  .buy-wrap{grid-template-columns:minmax(0,1fr);gap:24px}
  .buy-side{position:static;top:auto}
  .buy-page{overflow-x:hidden}
  #checkoutWrap{width:100%}
}
@media (max-width:820px){
  h1{font-size:38px}
  .nav{display:none}
  .hero-stats,.trust .container{grid-template-columns:1fr 1fr}
  .grid-3,.case-grid,.feat-grid,.tech-grid,.gua,.steps{grid-template-columns:1fr}
  .table-wrap{overflow-x:auto}

  /* 选购页窄屏：表单行竖排、筛选框可收缩、规格表横向滑动 */
  .bx-row{grid-template-columns:1fr;gap:8px;padding:14px 16px}
  .bx-title{padding:14px 16px 0}
  .bx-k{padding-top:0}
  .sf-sel{flex:1;min-width:0}
  .sf-search{flex:1 1 100%;min-width:0}
  .spec-table{overflow-x:auto;-webkit-overflow-scrolling:touch}
  .st-head,.spec-card{min-width:620px}
  .disk-table{overflow-x:auto;-webkit-overflow-scrolling:touch}
  .dt-head,.dt-row{min-width:560px}
  .spec-tabs,.os-tabs{flex-wrap:nowrap;overflow-x:auto;gap:16px;-webkit-overflow-scrolling:touch}
  .spec-tab,.os-tab,.spec-reco{flex:none;white-space:nowrap}
  .os-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .img-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
  .pkg-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .scene-tabs{display:flex;gap:8px;overflow-x:auto;-webkit-overflow-scrolling:touch}
  .scene-tab{flex:none;padding:0 12px;white-space:nowrap}
  .bw-seg{display:flex;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
  .buy-tabs-note{display:none}
  .co-sec{padding-left:16px;padding-right:16px}
  .co-table td:nth-child(2){overflow-wrap:anywhere}
  .co-table th:nth-child(1),.co-table td:nth-child(1){width:28%}
  .co-table th:nth-child(2),.co-table td:nth-child(2){width:44%}
  .co-table th:nth-child(3),.co-table td:nth-child(3){width:28%}
}
@media (max-width:820px){
  .page-h1{font-size:26px}
  .buy-section{padding:22px 0 40px}
}

@media (max-width:1080px){
  .grid-3,.grid-2,.timeline{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ladder{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ladder>div:nth-child(3){border-left:0}
}

@media (max-width:820px){
  .grid-3,.grid-2,.timeline,.ladder,.contact-grid,.mini{grid-template-columns:1fr}
  .contact-grid>div,.mini>div{border-left:0}
  .timeline>div{border-top:1px solid var(--line)}
}

@media (max-width:820px){
  .topstrip{font-size:11.5px;line-height:1.5;overflow:hidden}
  .topstrip .container{height:auto;min-height:32px;padding-block:6px;flex-wrap:wrap;gap:6px}
  .topstrip .left{gap:8px;flex-wrap:wrap;min-width:0}
  .topstrip .right{display:none}
  .topstrip a{white-space:normal;min-width:0}
  .topstrip .hot{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}

  .header .container{gap:12px;height:64px}
  .header .logo-text b{font-size:17px}
  .header .logo-mark{width:32px;height:32px}
  .header-actions{gap:8px;flex-wrap:nowrap}
  .header-actions .link-plain,
  .header-actions .btn-ghost{display:none}
  /* 手机端只留新版控制台入口，旧版从控制台侧栏进入；
     两个按钮并存时收窄一点，避免 390/360 下 logo 与按钮互相挤到折行 */
  .header-actions .btn-ghost.btn-console{display:inline-flex}
  .header-actions .btn-legacy{display:none}
  .header-actions .btn{padding:0 12px;font-size:13px;white-space:nowrap}

  .table-wrap{-webkit-overflow-scrolling:touch}
  .table-wrap table{min-width:860px}
  .table-wrap .table-foot{min-width:860px}

  .page-head{padding:20px 0 26px}
  .hero-actions .btn{flex:1 1 auto}
  .cta-band .container{flex-direction:column;align-items:flex-start}
  .cta-band .acts{margin-top:22px}
}

@media (max-width:520px){
  .topstrip .left a:first-child{display:none}
  .topstrip .left span.divider{display:none}
  .hero-actions{flex-direction:column;align-items:stretch}
  .hero-actions .btn{width:100%}
  .pkg-grid{grid-template-columns:1fr}
}

/* 小屏手机：页脚收成两列，避免横向滚动 */
@media (max-width:560px){
  .footer-grid{grid-template-columns:1fr 1fr;gap:26px}
  .footer-bottom{flex-direction:column;align-items:flex-start;gap:14px}
  .page-badges{flex-wrap:wrap}
  .hero-stats,.trust .container{grid-template-columns:1fr}
}

/* ===== 可核验 / 客服浮窗 移动端 ===== */
@media (max-width:900px){
  .vband{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:640px){
  .vband{grid-template-columns:1fr;gap:12px;margin-top:24px}
  .verify-band{padding:52px 0}
  .csdock{right:14px;bottom:76px}
  .csdock-btn{width:46px;height:46px;padding:0;justify-content:center}
  .csdock-btn svg{width:22px;height:22px}
  .csdock-label{display:none}
  .csdock-panel{width:214px}
}

/* 购买/结算/支付页：浮窗会压住主按钮，改为侧栏内联入口 */
body[data-buy] .csdock,
body[data-checkout] .csdock,
body[data-pay] .csdock{display:none}

.table-wrap.fit td small{display:block;margin-top:2px;font-size:11.5px;color:var(--muted);font-weight:400;line-height:1.4}

/* 内容页（指南）表格：窄屏压成可读列宽，不横向滚动 */
@media (max-width:820px){
  .table-wrap.fit table{min-width:0}
  .table-wrap.fit thead th{padding:10px 6px;font-size:11px;letter-spacing:0;white-space:normal}
  .table-wrap.fit tbody td{padding:12px 6px;font-size:12px;line-height:1.6}
  .table-wrap.fit td b{font-size:12.5px}
  .table-wrap.fit td small{display:block;margin-top:2px;font-size:11px;color:var(--muted);font-weight:400;line-height:1.4}
  .table-wrap.fit .table-foot{min-width:0;padding:12px 10px;font-size:11px;line-height:1.6}
}
@media (max-width:820px){ .table-wrap.fit td.nw{white-space:nowrap} }

/* 桌面端：底部右下角的在线客服浮窗会压住页脚最后一个链接，留出空隙 */
@media (min-width:821px){ .footer-bottom .links{padding-right:150px} }

/* ===== 07-console.css ===== */
/* ==========================================================================
   07 · 控制台外壳（阿里云式：顶栏固定 / 侧栏固定 / 主区唯一滚动）
   仅对 <html class="is-console"> 的页面生效，营销页零影响
   ========================================================================== */

:root{
  --console-topbar:56px;
  --console-side:216px;
}

html.is-console,
body.is-console{height:100%;overflow:hidden}
body.is-console{background:var(--bg-soft)}

/* ------------------------------------------------------------------ 顶栏 */
.console-topbar{
  position:fixed;inset:0 0 auto 0;height:var(--console-topbar);z-index:120;
  display:flex;align-items:center;gap:18px;padding:0 20px;
  background:#fff;border-bottom:1px solid var(--line);
}
.console-topbar .logo{gap:9px}
.console-topbar .logo-mark{width:30px;height:30px;border-radius:8px}
.console-topbar .logo-mark::before{left:7px;top:9px;width:16px;height:12px;border-width:2.2px;border-bottom-width:5px}
.console-topbar .logo-text b{font-size:16px}
.console-topbar .logo-text span{font-size:8px;letter-spacing:.28em}

.ct-divider{width:1px;height:18px;background:var(--line)}
.ct-title{font-size:14px;font-weight:600;color:var(--ink)}

.ct-right{margin-left:auto;display:flex;align-items:center;gap:18px;font-size:13px;color:var(--ink-2)}
.ct-right a{display:inline-flex;align-items:center;gap:5px;color:var(--ink-2);transition:color .18s}
.ct-right a:hover{color:var(--brand)}
.ct-balance b{color:var(--brand);font-family:'Sora',sans-serif;font-weight:600}
.ct-badge{
  min-width:16px;height:16px;padding:0 5px;border-radius:999px;background:var(--orange);color:#fff;
  font-size:10.5px;line-height:16px;text-align:center;font-style:normal;font-weight:600;
}
.ct-user{position:relative}
.ct-user-btn{
  display:inline-flex;align-items:center;gap:5px;padding:3px 5px 3px 3px;border:0;border-radius:999px;
  background:none;color:var(--muted);cursor:pointer;transition:background .18s;
}
.ct-user-btn:hover,.ct-user-btn[aria-expanded="true"]{background:var(--bg-soft)}
.ct-user .ct-avatar{
  width:28px;height:28px;border-radius:50%;display:grid;place-items:center;color:#fff;font-size:12px;font-weight:700;
  background:linear-gradient(135deg,var(--brand) 0%,#7c3aed 60%,var(--orange) 130%);
}
.ct-caret{width:11px;height:11px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s}
.ct-user-btn[aria-expanded="true"] .ct-caret{transform:rotate(180deg)}

/* 头像下拉菜单：账号入口 + 退出登录 */
.ct-menu{
  position:fixed;top:calc(var(--console-topbar) + 8px);right:20px;z-index:130;min-width:196px;padding:6px;
  background:#fff;border:1px solid var(--line);border-radius:12px;
  box-shadow:0 14px 34px rgba(40,20,80,.16);
}
.ct-menu[hidden]{display:none}
.ct-menu-head{padding:8px 10px 9px;margin-bottom:5px;border-bottom:1px solid var(--line-2)}
.ct-menu-head b{
  display:block;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  font-size:13.5px;font-weight:600;color:var(--ink);
}
.ct-menu-head span{display:block;margin-top:2px;font-size:11.5px;color:var(--muted)}
.ct-menu a,.ct-menu button{
  display:flex;align-items:center;width:100%;padding:8px 10px;border:0;border-radius:7px;
  background:none;font-size:13px;color:var(--ink-2);text-align:left;cursor:pointer;transition:background .16s,color .16s;
}
.ct-menu a:hover,.ct-menu button:hover{background:var(--bg-soft);color:var(--brand)}
.ct-menu .ct-menu-out{
  margin-top:5px;border-top:1px solid var(--line-2);border-radius:0 0 8px 8px;padding-top:10px;color:#b23a2e;
}
.ct-menu .ct-menu-out:hover{background:#fdf1ef;color:#c0392b}
.ct-burger{
  display:none;width:32px;height:32px;border:1px solid var(--line);border-radius:8px;background:#fff;
  color:var(--ink-2);font-size:15px;line-height:1;cursor:pointer;
}

/* -------------------------------------------------------------- 主体框架 */
.console-shell{
  position:fixed;top:var(--console-topbar);left:0;right:0;bottom:0;
  display:flex;min-height:0;
}

/* 侧栏：固定宽度、内容超出时自己上下滚 */
.console-side{
  width:var(--console-side);flex:none;
  overflow-y:auto;overscroll-behavior:contain;
  background:#fff;border-right:1px solid var(--line);
  padding:12px 10px 16px;
}
.console-side::-webkit-scrollbar{width:6px}
.console-side::-webkit-scrollbar-thumb{background:#e2dcef;border-radius:3px}

.cs-group{padding:14px 10px 6px;font-size:11px;letter-spacing:.08em;color:var(--muted);font-weight:600}
.cs-group:first-child{padding-top:2px}
.console-side a{
  display:flex;align-items:center;gap:9px;padding:9px 12px;border-radius:8px;
  font-size:13.5px;color:var(--ink-2);transition:background .18s,color .18s;
}
.console-side a:hover{background:var(--bg-soft);color:var(--brand)}
.console-side a.on{background:var(--brand-soft);color:var(--brand);font-weight:600}
.console-side a .dot{width:6px;height:6px;flex:none;border-radius:50%;background:currentColor;opacity:.4}
.console-side a.on .dot{opacity:1}
/* 主区：全页唯一滚动容器 */
.console-main{
  flex:1;min-width:0;min-height:0;
  overflow-y:auto;overscroll-behavior:contain;
  padding:0 26px 40px;
  background:var(--bg-soft);
}

/* 会话式页面（工单详情）：头固定 / 消息滚 / 底栏贴底 */
.console-main.is-split{display:flex;flex-direction:column;overflow:hidden;padding:0}
.console-main.is-split>.cm-head{flex:none;margin:0;padding:16px 26px;background:#fff;border-bottom:1px solid var(--line)}
.console-main.is-split>.cm-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:20px 26px}
.console-main.is-split>.cm-foot{flex:none;background:#fff;border-top:1px solid var(--line);padding:14px 26px}


/* ------------------------------------------------------------ 列表与表单 */
/* 列表筛选条吸顶：长列表滚动时仍能切筛选 */
.is-console .console-main .host-toolbar{
  position:sticky;top:0;z-index:6;
  margin:0 -26px 12px;
  padding:10px 26px;
  background:var(--bg-soft);
  border-bottom:1px solid transparent;
}
.is-console .console-main .host-toolbar:has(+ .host-table){border-bottom-color:var(--line-2)}
/* 卡片限宽：表单页输入框不拉满整屏 */
.is-console .console-main #hostWrap{max-width:none}
.is-console .console-main #hostWrap .m-card{max-width:none}
.is-console .console-main #hostWrap .host-form{max-width:760px}
.is-console .console-main .tk-detail-head{flex:none}
.is-console .console-main .tkl-filter{max-width:100%}

/* -------------------------------------------------- 工单详情（聊天优先） */
/* 目标：标题、状态、元信息全部收进聊天卡头，消息区吃满剩余高度 */
.console-main.is-ticket{display:flex;flex-direction:column;overflow:hidden;padding:0}
/* 仅工单详情：键盘弹出时骨架整体抬高（--tk-kb 由 member.js 写入） */
body[data-member="ticket"] .console-shell{bottom:var(--tk-kb,0)}
.console-main.is-ticket>#memberList{
  flex:1;min-height:0;display:flex;flex-direction:column;
  padding:12px 20px 14px;overflow:hidden;
}
.console-main.is-ticket>#memberList>.empty-state{flex:1;display:grid;place-items:center}
.console-main.is-ticket .tk-chat-card{flex:1;min-height:0;display:flex;flex-direction:column;margin-top:0}
.console-main.is-ticket .tk-chat-body,
.console-main.is-ticket .tkb-body{flex:1;min-height:0;height:auto}

/* 卡头两行：标题 / 状态 / 类型 / 编号 + 元信息 */
.tk-chat-head--compact{
  position:relative;z-index:3;flex:none;
  display:flex;align-items:center;gap:10px;
  min-height:68px;box-sizing:border-box;padding:9px 16px;
  background:#fff;border-bottom:1px solid var(--line-2);
}
.tk-back{
  flex:none;width:26px;height:26px;display:grid;place-items:center;
  border-radius:7px;background:#f6f5f9;color:var(--ink-2);
  font-size:14px;text-decoration:none;transition:background .18s,color .18s;
}
.tk-back:hover{background:var(--brand-soft);color:var(--brand)}
.tk-head-main{flex:1;min-width:0}
.tk-head-line{display:flex;align-items:center;gap:8px;min-width:0}
.tk-head-status{flex:none;padding:2px 8px;font-size:11px;line-height:18px}
.tk-head-title{
  margin:0;min-width:0;color:var(--ink);
  font-size:15.5px;font-weight:700;letter-spacing:0;line-height:1.45;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.tk-type{
  flex:none;padding:2px 7px;border-radius:5px;background:#f4f2fa;color:#6b6480;
  font-size:11px;line-height:17px;
}
.tk-head-no{flex:none;font-family:'Sora',monospace;font-size:11.5px;color:#9ca0ab}
.tk-head-meta{
  display:flex;align-items:center;margin-top:4px;
  font-size:11.5px;line-height:17px;color:#9ca0ab;
  white-space:nowrap;overflow:hidden;
}
.tk-head-meta span{flex:none}
.tk-head-meta span+span::before{content:'·';margin:0 6px;color:#d4d2dc}
.console-topbar .ct-title{min-width:0;max-width:38vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tk-head-right{flex:none;display:flex;align-items:center;gap:10px}
.tk-count{font-size:11.5px;color:#9ca0ab}

/* 工单信息浮层（桌面右下、移动端贴边） */
.tk-info-btn{
  display:inline-flex;align-items:center;gap:5px;height:28px;padding:0 10px;
  border:1px solid #e6e4ee;border-radius:7px;background:#fff;
  font-size:12px;color:#5f5a70;cursor:pointer;white-space:nowrap;
  transition:border-color .18s,color .18s;
}
.tk-info-btn:hover{border-color:#cfc8e6;color:var(--brand)}
.tk-info-btn i{font-style:normal;font-size:11px;line-height:1;color:#9ca0ab;transition:transform .18s}
.tk-info-btn[aria-expanded="true"] i{transform:rotate(180deg)}
.tk-info{
  position:absolute;top:calc(100% + 8px);right:16px;z-index:30;width:320px;
  padding:14px 16px 12px;background:#fff;border:1px solid var(--line);
  border-radius:10px;box-shadow:0 12px 32px rgba(24,14,52,.14);
  max-height:calc(100vh - 200px);overflow-y:auto;overscroll-behavior:contain;
}
.tk-info[hidden]{display:none}
.tk-info-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}
.tk-info-head b{font-size:13px;color:var(--ink)}
.tk-info-x{
  width:24px;height:24px;border:0;border-radius:6px;background:transparent;
  color:#9ca0ab;font-size:16px;line-height:1;cursor:pointer;
}
.tk-info-x:hover{background:#f5f4f8;color:var(--ink-2)}
.tk-info-list{margin:0;padding:0}
.tk-info-row{display:flex;gap:12px;padding:7px 0;border-top:1px solid #f2f1f6;font-size:12px;line-height:1.5}
.tk-info-row:first-child{border-top:0}
.tk-info-row dt{flex:none;width:64px;color:#9ca0ab}
.tk-info-row dd{margin:0;min-width:0;color:var(--ink-2);word-break:break-all}
.tk-copy{
  width:100%;height:32px;margin-top:8px;border:1px solid #e6e4ee;border-radius:7px;
  background:#faf9fd;color:#5f5a70;font-size:12px;cursor:pointer;transition:border-color .18s,color .18s;
}
.tk-copy:hover{border-color:#cfc8e6;color:var(--brand)}
.tk-copy.is-done{border-color:#d7f0e2;background:#f2fbf6;color:#0f9d58}

/* 输入区：默认两行，随输入增高到 160px */
.console-main.is-ticket .tk-composer{flex:none;padding:10px 16px 11px}
.console-main.is-ticket .tk-composer textarea{
  min-height:69px;max-height:160px;padding:9px 11px;
  font-size:13px;line-height:1.6;resize:none;
}
.console-main.is-ticket .tk-composer-bar{margin-top:8px}
.console-main.is-ticket .tk-composer .auth-msg{margin:0}
.console-main.is-ticket .tk-composer .auth-msg:empty{display:none}

/* 已关闭：输入区换成一条提示 */
.tk-closed-bar{
  flex:none;display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:12px 16px;border-top:1px solid var(--line-2);
  font-size:12.5px;color:var(--muted);
}
.tk-closed-bar .btn{flex:none}

@media (max-width:1100px){
  .tk-head-meta .tk-m-hide:last-child{display:none}
}
@media (max-width:960px){
  .tk-head-meta .tk-m-hide{display:none}
}

@media (max-width:820px){
  .console-main.is-ticket>#memberList{padding:8px 10px calc(10px + env(safe-area-inset-bottom))}
  .tk-chat-head--compact{gap:8px;min-height:64px;padding:9px 10px 8px}
  .tk-head-line{gap:6px}
  .tk-head-title{font-size:14.5px}
  .tk-head-no,.tk-type,.tk-count,.tk-head-meta .tk-m-hide{display:none}
  .tk-head-meta{margin-top:3px;font-size:11px;line-height:16px}
  .tk-head-meta span+span::before{margin:0 5px}
  .tk-back{width:24px;height:24px}
  .tk-info-label{display:none}
  .tk-info-btn{width:28px;height:28px;padding:0;justify-content:center;border-color:transparent;background:#f6f5f9}
  .tk-info-btn i{font-size:14px}
  .tk-info{left:8px;right:8px;width:auto;top:calc(100% + 6px)}
  .console-main.is-ticket .tk-chat-body,
  .console-main.is-ticket .tkb-body{padding:14px 12px}
  .console-main.is-ticket .tk-composer{padding:8px 10px 10px}
  .console-main.is-ticket .tk-composer textarea{min-height:65px;max-height:120px}
  .console-main.is-ticket .tk-composer-note{display:none}
  .console-main.is-ticket .tk-composer-bar{margin-top:7px;justify-content:flex-end}
  .console-main.is-ticket .tk-composer-acts{width:100%;justify-content:flex-end;gap:8px}
  .console-main.is-ticket .tk-composer-acts .btn{flex:0 0 auto;min-width:76px;white-space:nowrap}
  .tk-closed-bar{flex-wrap:wrap;padding:10px 12px;font-size:12px}
}

/* 帮助中心：页内分类导航不再 sticky */
.is-console .console-main .member-nav{position:static;top:auto}


/* ------------------------------------------------ 两栏内容（表单 + 说明） */
.cm-2col{
  display:grid;
  grid-template-columns:minmax(0,1fr) 360px;
  gap:16px;align-items:start;
}
.cm-2col>.cm-col-main{min-width:0}
.cm-2col>.cm-col-side{min-width:0}
.cm-2col>.cm-col-side>.m-card{margin-bottom:14px}
@media (max-width:1100px){
  .cm-2col{grid-template-columns:minmax(0,1fr)}
}



/* 主机详情：电源徽标加大 */
.host-state{gap:10px}
.pwr--lg{padding:6px 14px;font-size:13px;line-height:20px}
.pwr--lg i{width:8px;height:8px}


/* ------------------------------------------- 主机详情：镜像选择 / 升降级弹窗 */
.is-console .console-main .os-grid{margin-bottom:14px}
/* 系统卡片：图标 + 名称 + 卡内版本下拉 */
.is-console .console-main .os-card{
  height:auto;min-height:98px;padding:10px 8px;gap:7px;cursor:pointer;
}
.is-console .console-main .os-card .os-name{
  font-size:13px;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;
}
.is-console .console-main .os-ver{
  display:inline-flex;align-items:center;justify-content:center;position:relative;
  width:100%;max-width:100%;box-sizing:border-box;padding:2px 18px 2px 9px;border-radius:999px;
  background:#f2f0f7;color:var(--ink-2);
}
.is-console .console-main .os-ver select{
  appearance:none;-webkit-appearance:none;border:0;background:none;outline:none;
  font:inherit;font-size:11.5px;color:inherit;padding:0;width:100%;max-width:none;cursor:pointer;
  text-align:center;text-overflow:ellipsis;
}
.is-console .console-main .os-ver i{
  position:absolute;right:6px;top:50%;transform:translateY(-50%);
  font-style:normal;font-size:9px;line-height:1;color:var(--muted);pointer-events:none;
}
.is-console .console-main .os-card.is-active .os-ver{background:#e2eaff;color:#1a73e8}
.is-console .console-main .os-card.is-active .os-ver i{color:#1a73e8}
.os-empty{padding:16px;border:1px dashed var(--line);border-radius:10px;text-align:center;font-size:12.5px;color:var(--muted)}


.upg-debug{margin-top:10px;font-size:12px;color:var(--muted)}
.upg-debug summary{cursor:pointer;color:var(--brand)}
.upg-debug pre{max-height:220px;overflow:auto;margin:8px 0 0;padding:10px;border-radius:8px;background:#f7f6fb;font-size:11px;line-height:1.6;white-space:pre-wrap;word-break:break-all}
.upg-section{margin:2px 0 4px;font-size:12px;color:var(--muted)}
.upg-row{display:flex;align-items:flex-start;gap:14px;padding:6px 0}
.upg-row>label{flex:none;width:56px;padding-top:7px;font-size:12.5px;color:var(--muted)}
.upg-row>.field{flex:1;min-width:0;max-width:260px}
.upg-chips{display:flex;flex-wrap:wrap;gap:8px;flex:1;min-width:0}
.upg-chip{
  padding:6px 14px;border:1px solid var(--line);border-radius:8px;background:#fff;
  font-family:inherit;font-size:12.5px;color:var(--ink-2);cursor:pointer;transition:all .15s;
}
.upg-chip:hover{border-color:var(--brand-line);color:var(--brand)}
.upg-chip.is-active{border-color:var(--brand);background:var(--brand-soft);color:var(--brand);font-weight:600}
.upg-warn{
  display:flex;align-items:flex-start;gap:8px;margin:0 0 12px;padding:10px 12px;
  border-radius:10px;background:#fff8e6;border:1px solid #ffe1a8;color:#8a5a00;font-size:12.5px;line-height:1.65;
}
.upg-warn i{
  flex:none;width:16px;height:16px;margin-top:1px;border-radius:50%;
  background:#f0a020;color:#fff;font-style:normal;font-size:11px;line-height:16px;text-align:center;
}
.upg-warn b{color:#7a4e00}
.upg-note{color:#c1741a;font-size:12px}
.upg-item.is-cur{background:#faf9fc;border-style:dashed;cursor:default}
.upg-item.is-cur b{color:var(--muted)}
.upg-item.is-cur .p{color:var(--muted);font-weight:500}
.upg-item .upg-price{font-size:13.5px;white-space:nowrap}
.upg-item.is-active .upg-price{color:var(--brand)}
.upg-chip.is-off{
  border-color:#eceaf2;background:#faf9fc;color:#b9b6c6;cursor:not-allowed;text-decoration:line-through;
}
.upg-chip.is-off:hover{border-color:#eceaf2;color:#b9b6c6}
.upg-hint{margin:6px 0 0 70px;font-size:12px;color:var(--muted)}
.upg-num{display:flex;align-items:center;gap:8px}
.upg-num .field{width:120px}
.upg-num span{font-size:12.5px;color:var(--muted)}

.upg-mask{position:fixed;inset:0;z-index:2000;display:flex;align-items:center;justify-content:center;padding:24px;background:rgba(20,14,40,.42)}
.upg-modal{display:flex;flex-direction:column;width:min(560px,100%);max-height:86vh;background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 30px 80px -30px rgba(20,14,40,.5)}
.upg-head{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid var(--line-2)}
.upg-head h3{margin:0;font-size:15px}
.upg-x{padding:0 6px;border:0;background:none;font-size:18px;line-height:1;color:var(--muted);cursor:pointer}
.upg-body{display:grid;gap:10px;padding:16px 20px;overflow-y:auto}
.upg-item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border:1px solid var(--line);border-radius:10px;cursor:pointer;transition:border-color .15s,background .15s}
.upg-item:hover{border-color:var(--brand-line);background:var(--bg-soft)}
.upg-item.is-active{border-color:var(--brand);background:var(--brand-soft)}
.upg-item b{font-size:13.5px}
.upg-item em{display:block;margin-top:3px;font-style:normal;font-size:12px;color:var(--muted)}
.upg-item .p{flex:none;font-family:'Sora',sans-serif;font-size:13px;font-weight:600;color:var(--brand)}
.upg-empty{padding:16px;border:1px dashed var(--line);border-radius:10px;text-align:center;font-size:12.5px;color:var(--muted);line-height:1.8}
.upg-foot{display:flex;align-items:center;gap:10px;padding:14px 20px;border-top:1px solid var(--line-2);background:#fbfafd}
.upg-tip{flex:1;font-size:12.5px;color:var(--muted)}
.upg-tip b{font-size:15px;color:var(--brand)}
/* 磁盘购买 / 扩容弹窗 */
.disk-unit{flex:none;font-size:12.5px;color:var(--muted)}
.disk-hint{flex:none;margin-left:10px;font-size:12px;color:var(--muted)}
.disk-quick{display:flex;flex-wrap:wrap;gap:8px;padding-left:70px}
.disk-quote{min-height:38px;margin-top:6px;padding:10px 12px;border:1px dashed var(--line);border-radius:10px;font-size:13px;color:var(--ink-2)}
.disk-quote b{font-size:17px;color:var(--brand);font-family:'Sora',sans-serif}
.upg-row #diskSize{max-width:150px}
.disk-renew{margin-left:10px;font-size:12.5px;color:var(--muted)}
.disk-desc{display:block;margin-top:4px;font-size:12px;color:var(--muted)}
@media (max-width:560px){.disk-quick{padding-left:0}}
.host-head-r{display:flex;align-items:center;gap:10px}


/* ------------------------------------------- 主机详情：信息面板 */
.detail-cols{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:18px;align-items:start}
.detail-col{display:flex;flex-direction:column;gap:18px;min-width:0}
.detail-col .m-card{margin:0}
.detail-col .os-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
.detail-col--side .m-card>.note:last-child{margin-bottom:0}

.card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
.card-head h3{margin:0}
.host-title-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.host-title-row h2{margin:0}
.host-region{font-size:12.5px;color:var(--muted)}
.ip-line{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:8px;font-size:13px;color:var(--ink-2)}
.ip-line code{font-family:'Sora',monospace;color:var(--ink)}
.kv-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 24px}
.kv-grid--1{grid-template-columns:repeat(2,minmax(0,1fr))}
.kv{display:flex;gap:8px;font-size:13px;line-height:1.55;min-width:0}
.kv .k{flex:none;width:58px;color:var(--muted)}
.kv .v{flex:1;min-width:0;color:var(--ink);word-break:keep-all;overflow-wrap:break-word}
.kv .v code{font-family:'Sora',monospace}
.pwd-cell{display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap}
.mini-btn{margin-left:5px;padding:0;border:0;background:none;font-family:inherit;font-size:12px;color:var(--brand);cursor:pointer}
.mini-btn:hover{text-decoration:underline}
.acts-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.acts-grid .btn{width:100%;padding-left:0;padding-right:0}
.acts-grid--5{grid-template-columns:repeat(5,minmax(0,1fr))}
.acts-grid--5 .btn{height:36px;padding:0 4px;font-size:12.5px;white-space:nowrap}
@media (max-width:1100px){
  .acts-grid--5{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:640px){
  .acts-grid--5{grid-template-columns:repeat(2,minmax(0,1fr))}
}
.renew-amt{margin:10px 0 4px;font-size:13px;color:var(--ink-2)}
.renew-amt b{color:var(--brand);font-size:15px;font-family:'Sora',sans-serif}
.ssh-line{display:flex;align-items:center;gap:8px;padding:9px 12px;border-radius:9px;background:#f7f6fb;font-size:12.5px}
.ssh-line code{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-family:'Sora',monospace;color:var(--ink-2)}
.pwd-rules{margin:14px 0 0;padding-left:16px;font-size:12.5px;line-height:2;color:var(--muted)}
.pwd-rules li{list-style:disc}

.is-console .console-main .pwd-inline{display:flex;flex-wrap:nowrap;gap:8px;max-width:none}
.is-console .console-main .pwd-inline .field{flex:1 1 auto;min-width:0;max-width:none;height:38px;font-family:'Sora',monospace;letter-spacing:.4px}
.is-console .console-main .pwd-inline .btn{flex:0 0 auto;height:38px;padding:0 12px;font-size:12.5px;white-space:nowrap}
.is-console .console-main .pwd-form{display:grid;grid-template-columns:1fr 1fr;gap:8px;max-width:none}
.is-console .console-main .pwd-form>.field{grid-column:auto;font-family:'Sora',monospace;letter-spacing:.4px}
.is-console .console-main .pwd-form>#rePwd,
.is-console .console-main .pwd-form>#newPwd{grid-column:1 / -1;width:100%;max-width:none}
.is-console .console-main .port-line{grid-column:1 / -1;display:flex;align-items:center;gap:8px;font-size:12.5px;color:var(--muted)}
.is-console .console-main .port-line .field{flex:0 0 110px;width:110px;height:38px;max-width:none}
/* 重装第 3 步：图形验证码（对齐登录页「先验证 → 打对号 → 再获取短信码」）
   两行都不带标签文字，靠 placeholder 区分；两个输入框同宽、都从最左边开始 */
.wiz-cap{margin:0 0 10px}
.wiz-cap-body{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.is-console .console-main .wiz-cap-body .field{flex:0 1 230px;max-width:230px;height:38px}
.is-console .console-main .wiz-cap-body .cap-thumb{width:150px;height:38px;flex:0 0 150px;border-radius:8px;padding:2px}
.is-console .console-main .wiz-cap-body .btn{flex:none;height:38px;padding:0 14px;font-size:12.5px}
.wiz-cap .cap-ok{margin-left:2px;font-size:12px}
.wiz-cap .cap-err{display:block;margin-top:6px;font-size:12px}
.wiz-cap .cap-err:empty{display:none}
.wiz-cap.is-ok .cap-thumb{border-color:#9fd9b4}
.wiz-cap.is-ok .wiz-cap-body .field{border-color:#9fd9b4}
.wiz-code{display:flex;align-items:center;gap:10px;margin-bottom:6px;flex-wrap:wrap}
.is-console .console-main .wiz-code .field{flex:0 1 230px;max-width:230px;height:38px}
.is-console .console-main .wiz-code .btn{flex:none;height:38px;padding:0 14px;font-size:12.5px}
/* 未通过图形码时「获取验证码」要点得懂：置灰 + 禁用光标 */
.is-console .console-main .btn[disabled],
.is-console .console-main .btn[disabled]:hover{opacity:.5;cursor:not-allowed;box-shadow:none;transform:none}
.is-console .console-main .btn-ghost[disabled]:hover{background:#fff;border-color:var(--brand-line)}

@media (max-width:1240px){
  .detail-cols{grid-template-columns:minmax(0,1fr)}
  .detail-col--side{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
}
@media (max-width:900px){
  .detail-col--side{grid-template-columns:minmax(0,1fr)}
  .kv-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .kv-grid--1{grid-template-columns:minmax(0,1fr)}
  .detail-col .os-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .is-console .console-main .code-line{grid-template-columns:minmax(0,1fr)}
}

/* 重装系统：三步向导 */
.wiz-steps[hidden],.wiz-foot[hidden],.wiz-pane[hidden],.wiz-done[hidden]{display:none!important}
.wiz-steps{display:flex;gap:10px;margin:2px 0 18px;flex-wrap:wrap}
.wiz-step{display:inline-flex;align-items:center;gap:8px;padding:6px 12px;border:1px solid var(--line);border-radius:999px;background:#fff;font-family:inherit;font-size:12.5px;color:var(--muted);cursor:pointer;transition:all .15s}
.wiz-step i{display:grid;place-items:center;width:18px;height:18px;border-radius:50%;background:#efedf6;color:var(--muted);font-style:normal;font-size:11px}
.wiz-step.is-done{border-color:var(--brand-line);color:var(--brand)}
.wiz-step.is-done i{background:var(--brand);color:#fff}
.wiz-step.is-active{border-color:var(--brand);background:var(--brand-soft);color:var(--brand);font-weight:600}
.wiz-step.is-active i{background:var(--brand);color:#fff}
.wiz-pane{min-height:196px}
.wiz-row{display:flex;align-items:center;gap:10px;margin-bottom:6px;flex-wrap:wrap}
.wiz-row>label{flex:none;width:82px;font-size:12.5px;color:var(--muted)}
.is-console .console-main .wiz-row .field{max-width:280px;flex:1}
.wiz-hint{font-size:12px;color:var(--muted)}
.wiz-err{min-height:16px;margin:0 0 10px 92px;font-size:12px;color:#d94a3d}
.wiz-confirm{display:flex;align-items:center;gap:8px;margin-top:10px;font-size:12.5px;color:var(--ink-2);cursor:pointer}
.wiz-confirm.is-err{color:#d94a3d}
.wiz-confirm.is-err input{outline:2px solid #f3b0a8;outline-offset:2px;border-radius:3px}
.wiz-confirm input{width:15px;height:15px;accent-color:var(--brand)}
.wiz-foot .btn[hidden]{display:none!important}
.wiz-foot{display:flex;align-items:center;gap:10px;margin-top:14px;padding-top:14px;border-top:1px solid var(--line-2)}
.wiz-msg{flex:1;font-size:12.5px;color:var(--muted)}
.wiz-msg.is-ok{color:#0F9D58}
.wiz-done{padding:20px 0 6px;font-size:13px;line-height:1.9}
.wiz-done b{color:var(--brand)}
@media (max-width:900px){
  .is-console .console-main .wiz-row .field{max-width:none}
  .wiz-err{margin-left:0}
}
@media (max-width:520px){
  .is-console .console-main .wiz-cap-body{gap:8px}
  .is-console .console-main .wiz-cap-body .field{flex:1 1 100%;max-width:none}
  .is-console .console-main .wiz-cap-body .cap-thumb{width:132px;flex:0 0 132px}
  .is-console .console-main .wiz-code .field{flex:1 1 100%;max-width:none}
}

/* ------------------------------------------------ 主机详情（专版布局） */
.is-console .console-main #hostWrap{max-width:none}
.is-console .console-main .host-head{
  display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;
  padding:18px 22px;background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);
  margin-bottom:14px;
}
.is-console .console-main .host-head h2{font-size:18px;margin:0 0 4px}
.is-console .console-main .host-head .m-sub{font-size:12.5px;color:var(--muted)}
.is-console .console-main .host-state{display:flex;gap:8px;align-items:center}
.is-console .console-main .host-cols{margin-top:0}
.is-console .console-main .host-cols .m-card{margin-bottom:14px}
.is-console .console-main .host-cols>.cm-col-side{position:sticky;top:0;align-self:start}
.is-console .console-main .host-card .member-table{
  border:0;border-radius:0;background:none;margin:0;
}
.is-console .console-main .host-card .m-row--kv{
  display:flex;align-items:baseline;justify-content:flex-start;gap:20px;
  padding:10px 0;border-bottom:1px dashed var(--line-2);
}
.is-console .console-main .host-card .m-row--kv .m-k{
  flex:none;width:92px;color:var(--muted);font-size:12.5px;
}
.is-console .console-main .host-card .m-row--kv .m-v{flex:1;min-width:0;font-size:13px}
/* 空提示不占位 */
.is-console .console-main #hostMsg:empty{display:none}
.is-console .console-main #hostMsg{margin:0 0 14px}
.is-console .console-main .host-card .m-row--kv:last-child{border-bottom:0}
.is-console .console-main .host-tip-list{margin:0;padding-left:18px;font-size:12.5px;line-height:2;color:var(--muted)}


/* ------------------------------------------- 表单两列 / 账号余额卡 */
.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px}
.form-grid .form-row--full{grid-column:1/-1}
@media (max-width:980px){
  .form-grid{grid-template-columns:minmax(0,1fr)}
}

.acct-balance .ab-k{display:block;font-size:12.5px;color:var(--muted);margin-bottom:6px}
.acct-balance b{
  display:block;font-family:'Sora',sans-serif;font-size:30px;line-height:1.1;
  color:var(--brand);font-weight:700;margin-bottom:10px;
}
.acct-balance .ab-acts{display:flex;gap:8px;margin-top:14px;flex-wrap:wrap}


/* 发票页：类型两列、说明两列 */
.is-console .iv-kinds--2{grid-template-columns:repeat(2,minmax(0,1fr))}
.is-console .iv-notes--2{display:block;columns:2;column-gap:44px}
.is-console .iv-notes--2 li{margin-bottom:10px;break-inside:avoid}
@media (max-width:960px){
  .is-console .iv-kinds--2{grid-template-columns:minmax(0,1fr)}
  .is-console .iv-notes--2{columns:1}
}

/* 账号资料：余额横向条 */
.acct-strip{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}
.acct-strip .as-left{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}
.acct-strip .ab-k{font-size:12.5px;color:var(--muted)}
.acct-strip b{font-family:'Sora',sans-serif;font-size:26px;line-height:1.1;color:var(--brand);font-weight:700}
.acct-strip .as-note{font-size:12px;color:var(--muted)}
.acct-strip .ab-acts{display:flex;gap:8px;flex-wrap:wrap}


/* ------------------------------------------------ 余额充值页 */
.rc-strip{
  display:flex;align-items:center;gap:24px;flex-wrap:wrap;
  padding:18px 22px;margin-bottom:14px;
  background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);
}
.rc-strip .rs-item{display:flex;flex-direction:column;gap:3px}
.rc-strip .rs-item span{font-size:12px;color:var(--muted)}
.rc-strip .rs-item b{font-family:'Sora',sans-serif;font-size:20px;color:var(--ink);font-weight:700}
.rc-strip .rs-item.is-now b{font-size:26px;color:var(--brand)}
.rc-strip .rs-sep{width:1px;height:34px;background:var(--line)}
.rc-strip .rs-act{margin-left:auto;font-size:12.5px;color:var(--brand);white-space:nowrap}
.rc-strip .rs-act:hover{text-decoration:underline}

.is-console .rc-chips{max-width:880px}
.is-console .rc-chips .rc-chip{
  height:72px;
  align-items:center;            /* 数值垂直居中（原来 baseline 会顶到上沿） */
}
.is-console .rc-chips .rc-chip>span{transform:translateY(2px)}   /* ¥ 与数字光学对齐 */
.rc-custom-row{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:16px}
.rc-custom-row>label{font-size:12.5px;color:var(--muted);min-width:56px}
.rc-custom-row .rc-custom{max-width:360px;flex:1 1 240px}
.rc-custom input{text-align:center}
.rc-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:18px}
.rc-actions .rc-note{font-size:12px;color:var(--muted)}
.rc-tips{columns:2;column-gap:44px;margin:0;padding-left:18px}
.rc-tips li{font-size:12.5px;line-height:1.9;color:var(--muted);margin-bottom:8px;break-inside:avoid}
@media (max-width:960px){
  .rc-tips{columns:1}
  .rc-strip .rs-act{margin-left:0}
}


/* ------------------------------------------- 表单控件基础样式（控制台内）
   原来 .field 只在 .auth-card/.host-form 等局部有定义，
   控制台页面的输入框是浏览器原生 19px 高、零内边距——这才是"高度不足"的根因 */
.is-console .console-main .field{
  height:40px;
  padding:0 12px;
  border:1px solid var(--line);
  border-radius:8px;
  background:#fff;
  font-family:inherit;
  font-size:13.5px;
  color:var(--ink);
  transition:border-color .18s,box-shadow .18s;
}
.is-console .console-main .field:hover{border-color:var(--brand-line)}
.is-console .console-main .field:focus{
  outline:none;border-color:var(--brand);box-shadow:0 0 0 2px rgba(109,40,217,.12);
}
.is-console .console-main .field:disabled{
  background:#f7f6fb;color:var(--muted);cursor:not-allowed;
}
.is-console .console-main textarea.field{
  height:auto;min-height:96px;padding:10px 12px;line-height:1.7;resize:vertical;
}
.is-console .console-main select.field{
  appearance:none;-webkit-appearance:none;
  padding-right:34px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%238a8f99' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 12px center;
}
/* 充值自定义金额：撑满外框，点击区域跟外框一致 */
.is-console .rc-custom input{height:100%;padding:0}

/* ------------------------------------------------------------ 页头与卡片 */
.cm-head{
  display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap;
  padding-top:22px;margin-bottom:18px;
}
.cm-head h1{font-size:20px;margin:0 0 4px;font-weight:800;letter-spacing:-.01em}
.cm-head p{margin:0;color:var(--muted);font-size:13px}
.cm-crumb{font-size:12px;color:var(--muted);margin-bottom:8px}
.cm-crumb a{color:var(--muted)}
.cm-crumb a:hover{color:var(--brand)}
.cm-crumb b{color:var(--ink-2);font-weight:500}
.cm-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}

/* 抽屉遮罩（仅移动端出现） */
.console-scrim{
  position:fixed;inset:var(--console-topbar) 0 0 0;z-index:109;background:rgba(24,14,52,.34);
  opacity:0;pointer-events:none;transition:opacity .22s;
}
.console-scrim.is-open{opacity:1;pointer-events:auto}

/* ------------------------------------------------------------------ 移动端 */
@media (max-width:820px){
  .ct-burger{display:inline-flex;align-items:center;justify-content:center}
  .ct-divider,.ct-title{display:none}
  .console-topbar{gap:10px;padding:0 12px}
  .console-topbar .logo-text span{display:none}
  .console-topbar .logo-text b{font-size:15px}
  .ct-right{gap:12px;font-size:12.5px;white-space:nowrap}
  .ct-right a{white-space:nowrap}
  .console-topbar .ct-right .ct-balance,
  .console-topbar .ct-right .ct-help{display:none}
  .ct-menu{right:12px}
  .console-main .me-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}

  .console-side{
    position:fixed;top:var(--console-topbar);bottom:0;left:0;z-index:110;width:236px;
    transform:translateX(-100%);transition:transform .24s cubic-bezier(.22,.85,.26,1);
    box-shadow:var(--shadow-lg);
  }
  .console-side.is-open{transform:none}

  .console-main{padding:0 16px 32px}
  .cm-head{padding-top:16px}
  .is-console .console-main .host-toolbar{margin:0 -16px 10px;padding:8px 16px}
  .console-main.is-split>.cm-head{padding:14px 16px}
  .console-main.is-split>.cm-scroll{padding:16px}
  .console-main.is-split>.cm-foot{padding:12px 16px}
  .cm-head h1{font-size:18px}
}

@media (max-width:520px){
  .console-topbar .logo-text{display:none}
  .console-main .me-head>.pill{margin-left:auto}
}

/* 滚动条（Chromium） */
.console-main::-webkit-scrollbar{width:8px}
.console-main::-webkit-scrollbar-thumb{background:#ded8ec;border-radius:4px}
.console-main::-webkit-scrollbar-track{background:transparent}

/* ============================================================ 云服务器 ECS 面板 */
/* 进入实例后侧栏切换为 ECS 菜单（替换式） */
body[data-host="1"] .console-side>.cs-group,
body[data-host="1"] .console-side>a{display:none}
body[data-host="1"] .console-side>.cs-ecs{display:block}
.cs-ecs{display:none}
.cs-ecs .cs-group{padding:14px 10px 6px}
.cs-ecs a{display:flex;align-items:center;gap:9px;padding:9px 12px;border-radius:8px;font-size:13.5px;color:var(--ink-2);transition:background .18s,color .18s}
.cs-ecs a:hover{background:var(--bg-soft);color:var(--brand)}
.cs-ecs a.on{background:var(--brand-soft);color:var(--brand);font-weight:600}
.cs-ecs a .dot{width:6px;height:6px;flex:none;border-radius:50%;background:currentColor;opacity:.4}
.cs-ecs a.on .dot{opacity:1}
.cs-ecs .ecs-back{
  margin:0 0 6px;padding:9px 12px;border:1px solid var(--line);border-radius:8px;
  background:#fff;color:var(--ink-2);font-weight:600;
}
.cs-ecs .ecs-back:hover{border-color:#d9d2ea;background:var(--brand-soft);color:var(--brand)}

.ecs-crumb{padding:16px 0 10px;font-size:12.5px;color:var(--muted)}
.ecs-crumb b{color:var(--ink-2);font-weight:500}

.ecs-inst{background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);padding:18px 22px}
.ecs-inst-top{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap}
.ecs-inst h1{display:flex;align-items:center;gap:10px;margin:0 0 6px;font-size:19px}
.ecs-inst-acts{display:flex;gap:8px;flex-wrap:wrap}
.ecs-inst-meta{display:flex;gap:26px;flex-wrap:wrap;margin-top:16px;padding-top:14px;border-top:1px dashed var(--line-2);font-size:12.5px;color:var(--muted)}
.ecs-inst-meta b{color:var(--ink);font-weight:600}
.ecs-inst-meta code{font-family:'Sora',monospace;color:var(--ink)}

.ecs-panes{padding-top:18px}
.ecs-pane[hidden]{display:none!important}
.ecs-pane-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:14px;flex-wrap:wrap}
.ecs-pane-head h2{margin:0;font-size:16px}
.ecs-pane-head p{margin:4px 0 0;font-size:12.5px;color:var(--muted)}

.ecs-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.ecs-metric{background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);padding:16px 18px}
.ecs-metric .k{font-size:12.5px;color:var(--muted)}
.ecs-metric .v{margin-top:6px;font-family:'Sora',sans-serif;font-size:22px;font-weight:600;color:var(--ink)}
.ecs-metric .v small{font-size:12px;font-weight:500;color:var(--muted);margin-left:2px}
.ecs-bar{margin-top:12px;height:6px;border-radius:3px;background:#f0edf7;overflow:hidden}
.ecs-bar i{display:block;height:100%;border-radius:3px;background:linear-gradient(90deg,#8b5cf6,#c084fc);transition:width .4s}
.ecs-bar.warn i{background:linear-gradient(90deg,#f59e0b,#fbbf24)}
/* 平台未上报的指标：只留「—」，不显示单位与空进度条 */
.ecs-metric.is-na .v{color:var(--muted)}
.ecs-metric.is-na .v small{display:none}
.ecs-metric.is-na .ecs-bar{display:none}

.ecs-2col{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:16px;margin-top:16px;align-items:start}
.ecs-stack{display:flex;flex-direction:column;gap:16px;min-width:0}
.ecs-stack>.m-card{margin:0}

.ecs-charts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.ecs-chart{background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);padding:16px 18px 12px}
.ecs-chart h3{margin:0 0 2px;font-size:13.5px}
.ecs-chart .now{font-family:'Sora',sans-serif;font-size:12.5px;color:var(--brand);font-weight:600}
.ecs-chart svg{width:100%;height:104px;display:block;margin-top:8px}
.ecs-chart .axis{display:flex;justify-content:space-between;font-size:11px;color:#b9b3c9;margin-top:4px}
.ecs-chart.is-na svg,.ecs-chart.is-na .axis{display:none}
.ecs-chart .ecs-na-note{margin-top:14px;font-size:12.5px;color:var(--muted)}

.ecs-toolbar{display:flex;align-items:center;gap:10px;margin-bottom:12px;flex-wrap:wrap}
.ecs-toolbar .grow{flex:1}
.ecs-pills{display:flex;gap:6px}
.ecs-pill{height:32px;padding:0 14px;border:1px solid var(--line);border-radius:8px;background:#fff;font-family:inherit;font-size:12.5px;color:var(--ink-2);cursor:pointer}
.ecs-pill.on{border-color:var(--brand);background:var(--brand-soft);color:var(--brand);font-weight:600}

.ecs-table{background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);overflow:hidden}
.ecs-tr{display:grid;gap:10px;padding:13px 18px;border-bottom:1px solid var(--line-2);font-size:13px;align-items:center}
.ecs-tr:last-child{border-bottom:0}
.ecs-th{background:#fbfafd;font-size:12px;color:var(--muted);font-weight:600;padding-top:11px;padding-bottom:11px}
.ecs-tag{display:inline-block;padding:1px 8px;border-radius:999px;font-size:11.5px;background:#eef7ef;color:#2f8f4e}
.ecs-tag.gray{background:#f2f0f7;color:var(--muted)}
.ecs-tag.warn{background:#fff6e6;color:#b8720a}

.ecs-empty{background:#fff;border:1px dashed var(--line);border-radius:var(--radius-lg);padding:30px 20px;text-align:center;color:var(--muted);font-size:13px;line-height:2}

.ecs-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.ecs-tile{background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);padding:16px;text-align:center;transition:border-color .18s,box-shadow .18s}
.ecs-tile:hover{border-color:var(--brand-line);box-shadow:0 10px 26px -18px rgba(124,58,237,.5)}
.ecs-tile .ic{width:40px;height:40px;margin:0 auto 10px;border-radius:11px;display:grid;place-items:center;font-family:'Sora',sans-serif;font-weight:700;font-size:13px;color:#fff;background:linear-gradient(135deg,#8b5cf6,#c084fc)}
.ecs-tile b{display:block;font-size:13.5px}
.ecs-tile span{display:block;margin-top:4px;font-size:11.5px;color:var(--muted)}

.ecs-log{background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);padding:6px 18px;list-style:none;margin:0}
.ecs-log li{display:flex;gap:14px;padding:13px 0;border-bottom:1px dashed var(--line-2);font-size:13px}
.ecs-log li:last-child{border-bottom:0}
.ecs-log time{flex:none;width:146px;font-family:'Sora',sans-serif;font-size:12px;color:var(--muted);white-space:nowrap}
.ecs-log time i{font-style:normal;margin-left:6px;color:var(--ink-2)}
.ecs-log .who{flex:none;width:52px;font-size:12px;color:var(--muted)}

.ecs-quick{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.ecs-quick button{height:38px;border:1px solid var(--line);border-radius:9px;background:#fff;font-family:inherit;font-size:12.5px;color:var(--ink-2);cursor:pointer}
.ecs-quick button.is-off{opacity:.45;cursor:not-allowed}
.ecs-quick button:hover{border-color:var(--brand-line);color:var(--brand)}

.ecs-state{display:flex;align-items:center;justify-content:space-between;padding:10px 0;border-bottom:1px dashed var(--line-2);font-size:13px}
.ecs-state:last-child{border-bottom:0}
.ecs-state .dot-ok{width:7px;height:7px;border-radius:50%;background:#2f8f4e;display:inline-block;margin-right:7px}
.ecs-state .dot-off{width:7px;height:7px;border-radius:50%;background:#c9c4d6;display:inline-block;margin-right:7px}

@media (max-width:1240px){
  .ecs-2col{grid-template-columns:minmax(0,1fr)}
  .ecs-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ecs-charts{grid-template-columns:minmax(0,1fr)}
  .ecs-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:560px){
  /* 手机上实例信息单列，避免「40 GB Nvme高速SSD」「东北-沈阳」被拆行 */
  .kv-grid{grid-template-columns:minmax(0,1fr)}
  /* 顶部 4 个操作按钮均分一行，不再让「续费」单独掉到下一行 */
  .ecs-inst-acts{width:100%}
  .ecs-inst-acts .btn{flex:1 1 0;min-width:0;padding:0 6px}
  .ecs-log time{width:120px;font-size:11.5px}
}

/* 快照 / 备份：配额与未开通引导 */
.ecs-quota{font-size:12.5px;color:var(--muted);margin-right:6px}
.ecs-quota.is-full{color:#c1741a}
.ecs-note{display:block;margin-top:2px;font-style:normal;font-size:11.5px;color:var(--muted)}
.quota-empty{padding:26px 20px;border:1px dashed var(--line);border-radius:var(--radius-lg);background:#fff;text-align:center}
.quota-empty>b{display:block;font-size:14px;color:var(--ink)}
.quota-empty>p{margin:8px 0 14px;font-size:12.5px;color:var(--muted);line-height:1.7}
/* 卡单告警：创建中超过 30 分钟 */
.ecs-stuck{margin-bottom:12px;padding:10px 14px;border:1px solid #f3d19b;background:#fff8ec;border-radius:10px;font-size:12.5px;color:#8a5a00;line-height:1.7}
/* 危险操作确认（回滚/恢复：会自动关机） */
.danger-target{font-size:13px;color:var(--ink-2)}
.danger-target b{color:var(--ink)}
.danger-list{margin:12px 0;padding-left:20px;font-size:13px;line-height:1.9;color:var(--ink-2)}
.danger-list li{margin-bottom:4px}
.danger-list b{color:#c0392b;font-weight:600}
.danger-ack{display:flex;align-items:center;gap:8px;margin-top:14px;padding:10px 12px;border:1px dashed #f0b3ab;border-radius:10px;background:#fff8f7;font-size:13px;color:#8a3b32;cursor:pointer}
.danger-ack input{width:16px;height:16px;accent-color:#d94a3d}
/* 电源状态旁的「任务执行中」说明 */
.pwr-why{margin-left:8px;font-size:11.5px;color:var(--muted)}
/* 列表条数超出时的提示 */
.ecs-more{margin-bottom:8px;font-size:11.5px;color:var(--muted)}
/* 概览「数据保护」可点击 */
.ecs-state--link{display:flex;text-decoration:none;color:inherit;border-radius:6px;padding-left:4px;padding-right:4px;margin-left:-4px;margin-right:-4px}
.ecs-state--link:hover{background:#faf8ff;color:var(--brand)}
/* 网络页：公网 IP / IPv6 / VPC 分区 */
.net-sec{background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);padding:16px 18px;margin-bottom:14px}
.net-sec-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;flex-wrap:wrap}
.net-sec-head h3{margin:0;font-size:14px}
.net-count{margin-left:6px;font-size:12px;font-weight:400;color:var(--muted)}
.vpc-cur{padding:12px 14px;border:1px dashed var(--line);border-radius:10px;background:#fbfafd;font-size:13px;color:var(--ink-2);margin-bottom:12px}
.vpc-cur b{color:var(--ink)}
.vpc-cidr{margin-left:10px;font-family:'Sora',monospace;font-size:12px;color:var(--brand)}
.vpc-ip{margin-left:14px;font-size:12.5px;color:var(--muted)}
.vpc-ip code{font-family:'Sora',monospace;color:var(--ink)}
@media (max-width:560px){.vpc-cidr,.vpc-ip{display:block;margin:4px 0 0}}
/* VPC 分配主机列表 */
.assign-list{max-height:300px;overflow:auto;border:1px solid var(--line);border-radius:10px;padding:6px 12px;margin-bottom:8px}
.assign-item{display:flex;align-items:center;gap:10px;padding:9px 2px;border-bottom:1px dashed var(--line-2);font-size:13px;cursor:pointer}
.assign-item:last-child{border-bottom:0}
.assign-item input{width:15px;height:15px;accent-color:var(--brand)}
.assign-name{flex:1;color:var(--ink)}
.mini-btn.danger{color:#c0392b}
/* VPC 内网 IP 未生效提示 */
.vpc-tip{margin-top:8px;padding:8px 10px;border:1px solid #f3d19b;background:#fff8ec;border-radius:8px;font-size:12px;color:#8a5a00}
.assign-from{margin-left:auto;font-size:11.5px;color:#c1741a}
.assign-item.is-in{opacity:.65}
/* VPC 分页 / 批量选择 */
.vpc-checkall{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:var(--muted);cursor:pointer}
.vpc-checkall input{width:14px;height:14px;accent-color:var(--brand)}
#ipBox .ecs-tr input[type=checkbox]{width:14px;height:14px;accent-color:var(--brand);cursor:pointer}
#ipBox .ecs-tr input[type=checkbox]:disabled{cursor:not-allowed;opacity:.45}
.vpc-pager{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:12px}
.vpc-pageno{font-size:12.5px;color:var(--muted)}
/* VPC 选择条（全选本页移出表头，避免窄列换行） */
.vpc-selbar{display:flex;align-items:center;gap:8px;margin-bottom:8px}
.vpc-selbar .vpc-checkall{white-space:nowrap}
/* 网络流量区块 */
.flow-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.flow-stat{background:#fbfafd;border:1px solid var(--line-2);border-radius:10px;padding:12px 14px}
.flow-stat .k{display:block;font-size:12px;color:var(--muted)}
.flow-stat b{display:block;margin-top:6px;font-family:'Sora',sans-serif;font-size:18px;color:var(--ink)}
.flow-stat em{display:block;margin-top:4px;font-style:normal;font-size:11.5px;color:var(--muted)}
.flow-bar{margin-top:12px;height:8px;border-radius:4px;background:#f0edf7;overflow:hidden}
.flow-bar i{display:block;height:100%;background:linear-gradient(90deg,#8b5cf6,#c084fc)}
.flow-note{margin-top:10px;font-size:12.5px;color:var(--muted)}
.flow-chart{margin-top:16px}
.flow-chart svg{width:100%;height:110px;display:block;margin-top:6px}
.flow-legend{display:flex;align-items:center;gap:16px;font-size:12px;color:var(--muted)}
.flow-legend i{display:inline-block;width:10px;height:3px;border-radius:2px;margin-right:5px;vertical-align:middle}
.flow-legend .dot-in{background:#8b5cf6}
.flow-legend .dot-out{background:#f59e0b}
.flow-legend em{margin-left:auto;font-style:normal}
.flow-axis{display:flex;justify-content:space-between;font-size:11px;color:#b9b3c9;margin-top:4px}
@media (max-width:900px){.flow-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* 流量时间范围切换 */
.flow-tabs{display:inline-flex;gap:8px}
/* 安全组 */
.sg-cur{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 16px;border:1px solid var(--line);border-radius:var(--radius-lg);background:#fff;margin-bottom:14px;flex-wrap:wrap}
.sg-cur--empty{border-style:dashed;background:#fbfafd}
.sg-cur-main{display:flex;flex-direction:column;gap:4px;font-size:13px;color:var(--ink-2)}
.sg-cur-main b{font-size:14.5px;color:var(--ink)}
.sg-cur-acts{display:flex;gap:8px;flex-wrap:wrap}
.sg-meta{font-size:12px;color:var(--muted)}
.sg-rules-head{display:flex;align-items:center;gap:10px;margin:0 0 10px;flex-wrap:wrap}
.sg-rules-head h3{margin:0;font-size:14px}
.sg-rules-head .btn{margin-left:auto}
/* 安全组只读预览 */
.sg-preview{margin-top:14px;border:1px solid var(--line);border-radius:var(--radius-lg);padding:14px 16px;background:#fff}
.sg-preview-head{display:flex;align-items:center;gap:10px;margin-bottom:10px;flex-wrap:wrap}
.sg-preview-head b{font-size:14px}
.sg-preview-head .btn{margin-left:auto}
/* 安全组：固定端口协议的端口框 */
.sg-port-hint{margin-left:10px;font-size:11.5px;color:#c1741a;line-height:1.5}
input.field.is-readonly{background:#f5f3f9;color:var(--muted);cursor:not-allowed}

/* 账号认证 */
.cert-card{display:flex;align-items:center;gap:14px;padding:16px 18px;border:1px solid var(--line);border-radius:var(--radius-lg);background:#fff;margin-bottom:14px}
.cert-card--ok{border-color:#c9e9d5;background:#f6fcf8}
.cert-card--none,.cert-card--wait{border-color:#eadfc8;background:#fdfaf3}
.cert-card--err{border-color:#f0d2cc;background:#fdf6f5}
.cc-ico{width:34px;height:34px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;flex:0 0 34px;
  background:#eef7f1;color:#1a9b52}
.cert-card--none .cc-ico,.cert-card--wait .cc-ico{background:#fbf1da;color:#c1741a}
.cert-card--err .cc-ico{background:#fbe7e4;color:#d94a3d}
.cc-main{display:flex;flex-direction:column;gap:4px;font-size:13px;color:var(--ink-2);flex:1;min-width:0}
.cc-main b{font-size:14.5px;color:var(--ink)}
.cc-time,.cc-fail{font-size:12px;color:var(--muted)}
.cc-fail{color:#d94a3d}
.cert-tabs{display:flex;gap:8px;margin-bottom:12px}
.cert-tab{padding:8px 16px;border:1px solid var(--line);border-radius:999px;background:#fff;font-size:13px;color:var(--ink-2);cursor:pointer}
.cert-tab.is-active{border-color:var(--brand);color:var(--brand);background:#f7f2ff;font-weight:600}
.cert-tab[disabled]{opacity:.55;cursor:not-allowed}
.cert-tab i{font-style:normal;font-size:11px;margin-left:4px;color:var(--muted)}
.cert-form .form-grid{grid-template-columns:1fr 1fr}
.cert-hint{grid-column:1/-1;font-size:12px;color:var(--muted)}
.cert-uploads{display:flex;flex-wrap:wrap;gap:14px;margin:6px 0 4px}
.cert-upload{display:flex;flex-direction:column;gap:6px;align-items:flex-start;border:1px dashed var(--line-2);border-radius:10px;padding:10px 12px;min-width:160px}
.cert-upload-name{font-size:12px;color:var(--muted)}
.cert-upload-img{max-width:120px;max-height:80px;border-radius:6px;display:none}
.cert-agree{display:flex;align-items:center;gap:8px;font-size:12.5px;color:var(--ink-2);margin:14px 0 6px}
.cert-agree input{width:14px;height:14px;accent-color:var(--brand)}
.cert-actions{display:flex;gap:10px;margin-top:10px}
.cert-third iframe{width:100%;height:520px;border:1px solid var(--line);border-radius:12px;background:#fff;margin-top:10px}
.cert-wait{display:flex;align-items:center;gap:10px;padding:22px 0;font-size:13.5px;color:var(--ink-2)}
.cert-wait i{width:16px;height:16px;border-radius:50%;border:2px solid #e4ddf2;border-top-color:var(--brand);animation:certspin .9s linear infinite}
@keyframes certspin{to{transform:rotate(360deg)}}
@media (max-width:900px){.cert-form .form-grid{grid-template-columns:1fr}.cert-third iframe{height:420px}}

/* 账号认证：账号资料卡片 & 下单拦截弹窗 */
.cert-inline{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:13px;color:var(--ink-2)}
.cert-inline b{font-size:14px;color:var(--ink)}
.cert-inline--ok b{color:#1a9b52}
.cert-inline--wait b{color:#c1741a}
.cert-inline--err b{color:#d94a3d}
.cert-inline .btn{margin-left:auto}
.cert-modal-mask{position:fixed;inset:0;background:rgba(23,16,43,.45);display:flex;align-items:center;justify-content:center;z-index:99;padding:20px}
.cert-modal{background:#fff;border-radius:16px;max-width:420px;width:100%;padding:22px 24px;box-shadow:0 20px 50px rgba(23,16,43,.2)}
.cert-modal h3{margin:0 0 8px;font-size:16px}
.cert-modal p{margin:0 0 18px;font-size:13px;color:var(--ink-2);line-height:1.7}
.cert-modal-acts{display:flex;justify-content:flex-end;gap:10px}

/* 认证扫码页（官方片段直出） */
.cert-auth-box{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;max-width:760px;padding:6px 0 2px}
.cert-auth-box .thirdBox-left{flex:1;min-width:0;text-align:left}
.cert-auth-box #contentBox img{width:200px;height:200px;display:block}
.cert-auth-box .thirdBox-right{flex:0 0 auto}
.cert-auth-box .left-box1 p{margin:0 0 8px;font-size:13px;color:#4E5259}
.cert-auth-box .left-title{display:inline-block;width:100px;margin-right:12px;color:#8692B0}
.cert-auth-box .left-box2{display:flex;align-items:center;margin-top:16px}
.cert-auth-box .sao-icon-box{width:34px;height:34px;margin-right:14px}
.cert-auth-box .sao-icon-box img{width:100%;height:100%}
.cert-auth-box .sao-text p{color:#8692B0;font-size:13px;margin:0}
@media (max-width:640px){.cert-auth-box .thirdBox-right{display:none}}

/* 控制台内页页脚备案（工信部要求底部展示可点击备案号） */
.console-foot{flex:none;margin-top:18px;padding-top:14px;border-top:1px solid var(--line);font-size:12px;line-height:1.8;color:var(--muted);text-align:center}
.console-foot a{color:var(--muted);text-decoration:none}
.console-foot a:hover{color:var(--brand);text-decoration:underline}

/* ===== 08-mobile-nav.css ===== */
/* ==========================================================================
   08 · 移动端导航（汉堡抽屉）与横向溢出兜底
   —— 只处理营销页；控制台走 07-console 的 .ct-burger
   ========================================================================== */

/* 长/短促销语：桌面显示长版 */
.hot-short,.hot-mini{display:none}

/* ---------- 触发器（桌面隐藏） ---------- */
.nav-burger{
  display:none;flex:none;
  width:44px;height:44px;border-radius:11px;
  border:1px solid var(--line);background:#fff;color:var(--brand-ink);
  align-items:center;justify-content:center;flex-direction:column;gap:5px;
  transition:border-color .2s,background .2s;
}
.nav-burger:hover{border-color:var(--brand-line);background:var(--brand-soft)}
.nav-burger span{
  display:block;width:19px;height:2px;border-radius:2px;background:currentColor;
  transition:transform .24s ease,opacity .18s ease;
}
.nav-burger[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.nav-burger[aria-expanded="true"] span:nth-child(2){opacity:0}
.nav-burger[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

/* ---------- 遮罩与抽屉 ---------- */
.mnav-scrim{
  position:fixed;inset:0;z-index:190;background:rgba(22,10,44,.48);
  opacity:0;visibility:hidden;transition:opacity .28s ease,visibility .28s ease;
}
.mnav-scrim.is-open{opacity:1;visibility:visible}

.mnav{
  position:fixed;top:0;right:0;bottom:0;z-index:200;
  width:min(86vw,340px);max-width:100%;
  display:flex;flex-direction:column;
  background:#fff;box-shadow:-24px 0 64px -34px rgba(30,10,70,.55);
  transform:translateX(102%);visibility:hidden;
  transition:transform .3s cubic-bezier(.22,.61,.36,1),visibility .3s;
  padding-top:env(safe-area-inset-top);
}
.mnav.is-open{transform:translateX(0);visibility:visible}

.mnav-top{
  flex:none;display:flex;align-items:center;justify-content:space-between;
  height:62px;padding:0 14px 0 16px;border-bottom:1px solid var(--line-2);
}
.mnav-top .logo-text span{display:none}
.mnav-top .logo-text b{font-size:18px}

.mnav-close{
  width:44px;height:44px;border-radius:10px;display:grid;place-items:center;
  border:1px solid var(--line);background:#fff;color:var(--ink-2);
}
.mnav-close svg{width:18px;height:18px;stroke:currentColor;stroke-width:2;fill:none;stroke-linecap:round}
.mnav-close:hover{background:var(--brand-soft);color:var(--brand)}

.mnav-body{
  flex:1;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;
  padding:16px 16px calc(26px + env(safe-area-inset-bottom));
  overscroll-behavior:contain;
}

.mnav-cta{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:18px}
.mnav-cta .btn{height:46px;padding:0 8px;font-size:15px;justify-content:center}

.mnav-list{display:grid;gap:2px}
.mnav-list a{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  min-height:48px;padding:0 12px;border-radius:10px;
  font-size:16px;font-weight:600;color:var(--ink);
  transition:background .16s,color .16s;
}
.mnav-list a:hover,.mnav-list a:active{background:var(--brand-soft);color:var(--brand)}
.mnav-list a.is-active{color:var(--brand);background:var(--brand-soft)}
.mnav-list a.is-active{box-shadow:inset 3px 0 0 var(--brand)}
.mnav-list a em{font-style:normal;font-size:11.5px;font-weight:500;color:var(--muted)}
.mnav-list--sm a{min-height:44px;font-size:14.5px;font-weight:500;color:var(--ink-2)}

.mnav-title{
  margin:20px 0 6px;padding:0 12px;
  font-size:11px;font-weight:700;letter-spacing:.16em;color:var(--muted);
}
.mnav-contact{
  margin-top:22px;padding:14px 16px;border-radius:12px;
  background:var(--bg-soft);border:1px solid var(--line-2);
}
.mnav-contact b{display:block;font-size:12.5px;color:var(--brand-ink);margin-bottom:4px}
.mnav-contact p{margin:0;font-size:12.5px;line-height:1.7;color:var(--muted)}
.mnav-contact .mono{font-family:'Sora',sans-serif;font-size:12px;color:var(--ink-2);margin-top:2px}

/* 打开时锁滚动（JS 会用 fixed 方案，类名只作兜底） */
body.mnav-lock{overflow:hidden}

/* ---------- 窄桌面（≤980）：提前启用汉堡，避免导航/按钮被裁切 ---------- */
@media (max-width:980px){
  .nav-burger{display:inline-flex}
  .header .container{gap:10px}
  .header-actions{margin-left:auto}
}

/* ---------- 移动端顶栏 / 顶部条 ---------- */
@media (max-width:820px){
  .container{width:calc(100% - 32px)}

  .nav-burger{display:inline-flex}
  .header .container{gap:8px;height:60px}
  .header .logo-text span{display:none}
  .header .logo-mark{width:32px;height:32px}
  .header .logo-text b{font-size:17px}
  .header-actions{margin-left:auto;gap:6px;flex-wrap:nowrap}
  .header-actions .btn{padding:0 11px;font-size:13px;height:38px;white-space:nowrap}

  /* 顶部条：保留「备案 / 帮助」两个入口，去掉会截断的长促销语 */
  .topstrip{font-size:11.5px}
  .topstrip .container{
    height:auto;min-height:34px;padding-block:6px;
    flex-wrap:nowrap;gap:10px;justify-content:space-between;
  }
  .topstrip .left{flex-wrap:nowrap;min-width:0;gap:0}
  .topstrip .ts-home,.topstrip .divider{display:none}
  .topstrip .hot{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .hot-full{display:none}
  .hot-short{display:inline}
  .topstrip .right{display:flex;flex:none;gap:12px}
  .topstrip .right a{white-space:nowrap}
  .topstrip .ts-ticket{display:none}

  /* hero：字号随视口走，保证右侧至少留 20px 余量 */
  .hero{padding:52px 0 58px}
  .hero h1{font-size:clamp(30px,9.2vw,38px);line-height:1.16}
  .hero-sub{font-size:16px;line-height:1.8}
  .hero-note{overflow-wrap:anywhere}
  .badge-row{gap:8px}
  .badge{font-size:12px;padding:5px 11px}
}

@media (max-width:380px){
  .hot-short{display:none}
  .hot-mini{display:inline}
  .topstrip{font-size:11px}
  .topstrip .right{gap:10px}
  .header-actions .btn{padding:0 9px;font-size:12.5px}
  .nav-burger{width:40px;height:40px}
  .mnav-cta .btn{font-size:14px}
}

/* ---------- 横向溢出兜底 ---------- */
html,body{max-width:100%;overflow-x:clip}
.hero-copy,.hero-visual,.hero .container>*{min-width:0}
img,svg,video,canvas{max-width:100%}
.topstrip a,.hero h1,.hero-sub,.hero-note,.badge,.footer a{overflow-wrap:anywhere}
