:root {
  --bg: #f5f7fb;
  --card: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --border: #e5e7eb;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --ok: #059669;
  --warn: #b45309;
  --danger: #dc2626;
  --info: #2563eb;
  --radius: 12px;
  --shadow: 0 6px 24px rgba(15, 23, 42, .06);
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg); color: var(--text); font-size: 15px; line-height: 1.65;
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.3; margin: 0 0 12px; }
h1 { font-size: 28px; }
h2 { font-size: 20px; }
h3 { font-size: 16px; }
p { margin: 0 0 12px; }
code { background: #f1f5f9; padding: 2px 6px; border-radius: 4px; font-size: 13px; }
.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.hidden { display: none !important; }
.link { color: var(--primary); font-weight: 500; }
.section { padding: 36px 0; }
.narrow { max-width: 720px; }

/* 按钮 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 18px; border-radius: 9px; border: 1px solid transparent;
  font-size: 14px; font-weight: 600; cursor: pointer; text-decoration: none; transition: .18s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-ghost { background: #fff; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: #cbd5e1; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #b91c1c; }
.btn-sm { height: 32px; padding: 0 12px; font-size: 13px; }
.btn-lg { height: 48px; font-size: 16px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .6; cursor: not-allowed; }

/* 提示 */
.alert { padding: 12px 16px; border-radius: 10px; margin: 12px 0; font-size: 14px; }
.alert-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.alert-info { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }
.alert-warning { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }

/* 头部 */
.site-header {
  position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand-logo {
  width: 34px; height: 34px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #2563eb, #06b6d4); color: #fff; font-weight: 800; font-size: 16px;
}
.main-nav { display: flex; gap: 6px; flex: 1; }
.main-nav a { padding: 8px 12px; border-radius: 8px; color: #374151; font-weight: 500; }
.main-nav a:hover { background: #f1f5f9; text-decoration: none; }
.main-nav a.active { background: #e0ecff; color: var(--primary); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.lang-switch { display: flex; gap: 2px; background: #f1f5f9; border-radius: 8px; padding: 3px; margin-right: 6px; }
.lang-switch a { font-size: 12px; padding: 4px 8px; border-radius: 6px; color: var(--muted); }
.lang-switch a.active { background: #fff; color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.lang-switch a:hover { text-decoration: none; }
.lang-select { border: 0; background: transparent; color: var(--text); font-size: 12px; padding: 5px 22px 5px 8px; border-radius: 6px; cursor: pointer; outline: none; appearance: auto; }

/* Hero */
.hero { background: radial-gradient(1000px 400px at 10% -10%, #dbeafe 0%, transparent 60%), linear-gradient(180deg, #f8fafc, #eef2ff); border-bottom: 1px solid var(--border); }
.hero-inner { display: grid; grid-template-columns: 1.3fr .8fr; gap: 40px; align-items: center; padding: 64px 20px; }
.pill { display: inline-block; padding: 5px 12px; border-radius: 999px; background: #e0ecff; color: var(--primary); font-size: 12px; font-weight: 600; margin-bottom: 14px; }
.hero h1 { font-size: 40px; letter-spacing: -.5px; }
.hero p { color: #475569; font-size: 17px; max-width: 560px; }
.hero-actions { display: flex; gap: 12px; margin: 22px 0 18px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; gap: 18px; color: #475569; font-size: 13px; flex-wrap: wrap; }
.hero-card { background: #fff; border-radius: 16px; box-shadow: var(--shadow); padding: 22px; border: 1px solid var(--border); }
.hero-card-head { font-weight: 700; margin-bottom: 14px; }
.hero-card-row { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px dashed var(--border); font-size: 14px; }
.hero-card-row:last-child { border-bottom: 0; }
.hero-card-row span { color: var(--muted); }

/* 通用卡片/网格 */
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; margin-bottom: 18px; }
.section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.section-head h2 { margin: 0; }
.empty { background: #fff; border: 1px dashed var(--border); border-radius: var(--radius); padding: 36px; text-align: center; color: var(--muted); }

.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.product-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px; color: var(--text); box-shadow: var(--shadow); transition: .18s;
}
.product-card:hover { transform: translateY(-3px); border-color: #bfdbfe; text-decoration: none; }
.product-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.product-card h3 { margin-bottom: 6px; }
.product-card p { min-height: 42px; margin-bottom: 14px; }
.product-card-foot { display: flex; justify-content: space-between; align-items: flex-end; margin-top: auto; }
.price { font-size: 20px; font-weight: 800; color: var(--primary); }
.price small { font-size: 12px; color: var(--muted); font-weight: 400; }

.badge { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.badge-cloud { background: #e0ecff; color: #1d4ed8; }
.badge-rent { background: #ecfdf5; color: #047857; }
.badge-ok { background: #ecfdf5; color: var(--ok); }
.badge-info { background: #eff6ff; color: var(--info); }
.badge-warn { background: #fffbeb; color: var(--warn); }
.badge-bad { background: #fef2f2; color: var(--danger); }
.badge-muted { background: #f1f5f9; color: var(--muted); }

/* 内页头 */
.page-head { background: #fff; border-bottom: 1px solid var(--border); padding: 30px 0; }
.page-head h1 { margin-bottom: 6px; }
.breadcrumb { color: var(--muted); font-size: 13px; margin-bottom: 8px; }
.product-meta { display: flex; gap: 10px; align-items: center; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, .8fr); gap: 20px; align-items: start; }
.prose { color: #374151; }
.prose p { margin-bottom: 10px; }
.buy-card { position: sticky; top: 90px; }
.buy-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 16px; }
.buy-price strong { font-size: 32px; color: var(--primary); }
.buy-points { list-style: none; padding: 14px 0 0; margin: 14px 0 0; border-top: 1px dashed var(--border); color: var(--muted); font-size: 13px; }
.buy-points li { margin-bottom: 6px; }

/* 表格 */
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { padding: 10px 12px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: middle; }
.table th { color: var(--muted); font-weight: 600; background: #fafbfc; }
.table tr:last-child td { border-bottom: 0; }
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); }

/* 标签页 */
.tabs { display: flex; gap: 6px; margin-bottom: 16px; flex-wrap: wrap; }
.tab { padding: 7px 14px; border-radius: 8px; color: var(--muted); font-size: 14px; font-weight: 500; }
.tab:hover { background: #fff; text-decoration: none; }
.tab.active { background: #fff; color: var(--primary); box-shadow: var(--shadow); }

/* 商品分组（地区/分类） */
.group-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.group-chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px;
  border-radius: 999px; border: 1px solid var(--border); background: #fff;
  color: var(--muted); font-size: 14px; font-weight: 500;
}
.group-chip:hover { text-decoration: none; border-color: #bfdbfe; color: var(--primary); }
.group-chip.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.group-chip-count { font-size: 11px; opacity: .75; }
.group-section { margin-bottom: 34px; }
.group-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.group-head h2 { margin: 0; font-size: 20px; }
.group-head .badge { margin-left: 2px; }
.group-subsection { margin-top: 20px; padding-left: 16px; border-left: 3px solid var(--border); }
.group-subhead { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.group-subhead h3 { margin: 0; font-size: 17px; }

/* 用户中心侧边栏 */
.client-shell { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; padding: 24px 0 56px; }
.client-sidebar { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 10px; align-self: start; position: sticky; top: 16px; }
.client-side-home { display: block; padding: 10px 14px; border-radius: 8px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.client-side-home.active, .client-side-home:hover { background: #eff6ff; color: var(--primary); text-decoration: none; }
.client-side-group { padding: 14px 14px 6px; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.client-side-link { display: flex; align-items: center; justify-content: space-between; padding: 9px 14px; border-radius: 8px; color: #374151; }
.client-side-link:hover, .client-side-link.active { background: #eff6ff; color: var(--primary); text-decoration: none; }
.client-badge { background: var(--danger); color: #fff; border-radius: 999px; font-size: 11px; padding: 1px 7px; }.client-content { min-width: 0; }
.client-content > .page-head { padding: 0 0 18px; background: transparent; border: 0; }
.client-content > .page-head .container, .client-content > .section.container { max-width: none; padding: 0; margin: 0; }
.client-content > .section { padding-top: 0; }
@media (max-width: 860px) {
  .client-shell { grid-template-columns: 1fr; }
  .client-sidebar { position: static; }
}

/* 表单 */
.field { display: block; margin-bottom: 14px; }
.field > span { display: block; font-size: 13px; color: #374151; margin-bottom: 6px; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--border); border-radius: 9px; padding: 10px 12px;
  font-size: 14px; font-family: inherit; background: #fff; color: var(--text);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37,99,235,.12); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.check { display: flex; align-items: center; gap: 8px; font-size: 14px; margin-bottom: 12px; }
.check input { width: auto; }
.inline-form { display: inline-block; margin-right: 8px; }
.action-row { display: flex; gap: 10px; flex-wrap: wrap; }
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 13px; }
.details { margin: 8px 0 16px; }
.details pre { background: #0f172a; color: #e2e8f0; padding: 14px; border-radius: 10px; overflow: auto; }
.steps { padding-left: 18px; color: #374151; }
.steps li { margin-bottom: 8px; }

/* 登录/注册 */
.auth-wrap { max-width: 440px; margin: 56px auto; padding: 0 20px; }
.auth-card h1 { margin-bottom: 4px; }
.auth-switch { text-align: center; color: var(--muted); font-size: 14px; margin-top: 16px; }

/* 下单 */
.order-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .7fr); gap: 20px; align-items: start; }
.order-summary { position: sticky; top: 90px; }
.summary-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed var(--border); }
.summary-row.total { border-bottom: 0; font-size: 18px; }
.summary-row.total strong { color: var(--primary); }

/* 支付结果 */
.result-card { text-align: center; padding: 40px; }
.result-icon { width: 64px; height: 64px; line-height: 64px; border-radius: 50%; margin: 0 auto 16px; font-size: 28px; }
.result-icon.ok { background: #ecfdf5; color: var(--ok); }
.result-icon.warn { background: #fffbeb; color: var(--warn); }
.result-icon.bad { background: #fef2f2; color: var(--danger); }

/* 客户端 */
.stat-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 14px; margin-bottom: 18px; }
.stat-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; }
.stat-card span { color: var(--muted); font-size: 13px; display: block; }
.stat-card strong { font-size: 24px; }

/* 管理后台 */
.admin-body { background: #eef2f7; }
.admin-shell { display: flex; min-height: 100vh; }
.admin-side { width: 220px; background: #0f172a; color: #cbd5e1; display: flex; flex-direction: column; flex-shrink: 0; max-height: 100vh; position: sticky; top: 0; overflow-y: auto; }
.admin-brand { display: flex; align-items: center; gap: 10px; padding: 20px; font-weight: 700; color: #fff; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 15px; }
.admin-nav { display: flex; flex-direction: column; padding: 12px; gap: 4px; flex: 1; }
.admin-nav a { color: #cbd5e1; padding: 10px 12px; border-radius: 8px; font-size: 14px; }
.admin-nav a:hover { background: rgba(255,255,255,.08); text-decoration: none; color: #fff; }
.admin-nav a.active { background: var(--primary); color: #fff; }
.admin-nav-group { padding: 12px 12px 4px; color: #64748b; font-size: 11px; font-weight: 700; letter-spacing: .08em; display:flex; align-items:center; justify-content:space-between; cursor:pointer; user-select:none; border-radius:6px; }
.admin-nav-group:hover { color:#cbd5e1; background:rgba(255,255,255,.04); }
.nav-chevron { font-size: 10px; transition: transform .18s ease; }
.admin-nav-group.collapsed .nav-chevron { transform: rotate(-90deg); }
.admin-side-foot { padding: 16px 20px; border-top: 1px solid rgba(255,255,255,.08); display: flex; flex-direction: column; gap: 8px; }
.admin-side-foot a { color: #94a3b8; font-size: 13px; }
.admin-main { flex: 1; min-width: 0; padding: 22px 26px; }
.admin-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.admin-top h1 { margin: 0; font-size: 22px; }
.admin-content .card { margin-bottom: 18px; }
.admin-content .alert { margin: 0 0 14px; }
.toolbar { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; flex-wrap: wrap; }
.toolbar .tabs { margin-bottom: 0; }

.admin-login-body { display: flex; align-items: center; justify-content: center; min-height: 100vh; background: linear-gradient(135deg, #0f172a, #1e3a8a); }
.admin-login-card { width: 380px; background: #fff; border-radius: 16px; padding: 30px; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.admin-login-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; margin-bottom: 18px; }
.admin-login-card h1 { font-size: 22px; }
.admin-login-foot { text-align: center; color: var(--muted); font-size: 12px; margin-top: 16px; }

/* 页脚 */
.site-footer { border-top: 1px solid var(--border); background: #fff; margin-top: 30px; padding: 30px 0 20px; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 16px; font-size: 14px; }
.copyright { color: var(--muted); font-size: 12px; margin-top: 18px; }

/* 余额 / 工单 / 流量图 */
.page-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.page-head-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.text-ok { color: var(--ok); }
.text-bad { color: var(--danger); }
.ticket-thread { display: flex; flex-direction: column; gap: 14px; margin: 16px 0; }
.ticket-msg { border: 1px solid var(--border); border-radius: 10px; padding: 14px; background: #fafbfc; }
.ticket-msg.admin { background: #eff6ff; border-color: #bfdbfe; }
.ticket-msg-head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.ticket-msg-body { color: #374151; }
.ticket-reply { border-top: 1px dashed var(--border); padding-top: 16px; margin-top: 12px; }
.traffic-box { width: 100%; }
.traffic-box canvas { width: 100%; height: 220px; display: block; }
.traffic-info { margin-top: 8px; font-size: 13px; }
.traffic-range { height: 32px; border: 1px solid var(--border); border-radius: 8px; padding: 0 8px; background: #fff; }

/* 响应式 */@media (max-width: 900px) {
  .hero-inner, .detail-grid, .order-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .stat-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .header-inner { flex-wrap: wrap; height: auto; padding: 12px 0; }
  .main-nav { order: 3; width: 100%; }
  .admin-shell { flex-direction: column; }
  .admin-side { width: 100%; }
  .admin-nav { flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 600px) {
  .product-grid { grid-template-columns: 1fr; }
  .field-row, .price-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 30px; }
}

/* 产品矩阵卡片 */
.matrix-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:18px; }
.matrix-card { background:#fff; border:1px solid #e5ebf3; border-radius:12px; padding:18px; display:flex; flex-direction:column; min-height:360px; box-shadow:0 4px 14px rgba(15,23,42,.04); }
.matrix-card-top { display:flex; justify-content:space-between; align-items:center; gap:8px; }
.matrix-tag { background:#eef4ff; color:#2563eb; border-radius:999px; padding:4px 10px; font-size:12px; }
.matrix-card h3 { margin:16px 0 4px; font-size:18px; line-height:1.5; }
.matrix-location { margin:0 0 10px; color:#64748b; font-size:13px; }
.matrix-specs { list-style:none; padding:0; margin:8px 0 18px; flex:1; }
.matrix-specs li { color:#475569; font-size:13px; line-height:1.9; border-bottom:1px dashed #eef2f7; padding:3px 0; }
.matrix-specs li span { color:#94a3b8; }
.matrix-price-box { border:1px solid #e8eef6; border-radius:10px; padding:14px; background:#fbfdff; }
.matrix-price { margin:6px 0 12px; }
.matrix-price strong { font-size:26px; color:#0f172a; }
.matrix-price small { color:#64748b; margin-left:4px; }
.soldout-text { color:#ef4444 !important; }
.btn-disabled { background:#e5e7eb !important; color:#ef4444 !important; border-color:#e5e7eb !important; cursor:not-allowed; text-align:center; }
.matrix-card.is-soldout { opacity:.92; }
@media (max-width:640px) { .matrix-grid { grid-template-columns:1fr; } }

/* 页脚卡片 */
.footer-cards { display:flex; gap:12px; flex-wrap:wrap; }
.footer-card { display:flex; align-items:center; gap:10px; min-width:170px; padding:10px 13px; border:1px solid #e5ebf3; border-radius:9px; background:#fbfdff; color:inherit; }
.footer-card:hover { text-decoration:none; border-color:#c9dcf7; background:#f4f9ff; }
.footer-card-icon { width:30px; height:30px; border-radius:8px; background:#eaf3ff; color:#2563eb; display:flex; align-items:center; justify-content:center; }
.footer-card-text { display:flex; flex-direction:column; gap:2px; }
.footer-card-text strong { font-size:13px; color:#1e293b; }
.footer-card-text small { font-size:11px; color:#8a9ab0; }
@media (max-width:700px) { .footer-card { flex:1 1 100%; } }

/* 客户中心服务器详情 */
.server-detail-wrap { padding-top: 0; }
.server-title-row { display:flex; align-items:center; gap:10px; }
.server-tabs { display:flex; flex-wrap:wrap; gap:8px; margin:16px 0; }
.server-tab { border:1px solid #dfe5ee; background:#fff; color:#475569; border-radius:8px; padding:9px 16px; font-size:14px; cursor:pointer; }
.server-tab:hover { border-color:#bfd3f5; color:#2563eb; }
.server-tab.active { background:#2563eb; border-color:#2563eb; color:#fff; }
.server-tab-form { display:inline-flex; margin:0; }
.server-panel { display:none; }
.server-panel.active { display:block; }
.server-info-card h2, .server-panel h2, .server-detail-wrap .card h2 { margin:0 0 12px; font-size:18px; }
.info-table { width:100%; border-collapse:collapse; }
.info-table th { width:140px; text-align:left; font-weight:400; color:#94a3b8; padding:12px 10px; border-bottom:1px solid #eef2f7; vertical-align:top; }
.info-table td { color:#334155; padding:12px 10px; border-bottom:1px solid #eef2f7; }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom:0; }
.info-table .muted { margin-left:8px; }
.link-btn { border:0; background:none; color:#2563eb; cursor:pointer; padding:0 4px; }
.secret-text { letter-spacing:1px; }
@media (max-width:600px) {
  .server-tabs { gap:6px; }
  .server-tab { padding:8px 11px; font-size:13px; }
  .info-table th { width:90px; }
}

.server-pending { display:inline-flex; align-items:center; gap:6px; }
.dot-spinner { width:12px; height:12px; border:2px solid rgba(180,83,9,.25); border-top-color:#b45309; border-radius:50%; display:inline-block; animation: dot-spin .8s linear infinite; }
@keyframes dot-spin { to { transform:rotate(360deg); } }
.modal-mask { position:fixed; inset:0; background:rgba(15,23,42,.45); z-index:9999; display:flex; align-items:center; justify-content:center; padding:20px; }
.modal-mask[hidden] { display:none; }
.modal-box { width:100%; max-width:420px; background:#fff; border-radius:12px; padding:20px; box-shadow:0 20px 60px rgba(15,23,42,.25); }


/* 分页 */
.pagination { display:flex; align-items:center; gap:6px; flex-wrap:wrap; margin:16px 0 4px; }
.page-link { display:inline-flex; min-width:34px; height:32px; padding:0 9px; align-items:center; justify-content:center; border:1px solid #dfe5ee; border-radius:6px; background:#fff; color:#475569; font-size:13px; text-decoration:none; }
.page-link:hover { border-color:#bfd3f5; color:#2563eb; text-decoration:none; }
.page-link.active { background:#2563eb; border-color:#2563eb; color:#fff; }
.page-link.disabled { color:#cbd5e1; background:#f8fafc; cursor:not-allowed; }
.page-ellipsis { color:#94a3b8; padding:0 3px; }
.page-info { color:#94a3b8; font-size:12px; margin-left:4px; }
.captcha-row { display:flex; gap:10px; align-items:center; }
.captcha-row input { flex:1; }
.captcha-row img { height:44px; width:132px; border:1px solid #dfe5ee; border-radius:6px; cursor:pointer; background:#f8fafc; }

/* 全局提交加载提示 */
#globalLoading { position:fixed; inset:0; z-index:99999; display:none; align-items:center; justify-content:center; background:rgba(15,23,42,.28); backdrop-filter:blur(1px); }
#globalLoading.show { display:flex; }
.global-loading-box { background:#fff; border-radius:12px; padding:20px 26px; box-shadow:0 20px 60px rgba(15,23,42,.25); display:flex; align-items:center; gap:12px; color:#334155; font-size:14px; }
.global-loading-spinner { width:22px; height:22px; border:3px solid #dbeafe; border-top-color:#2563eb; border-radius:50%; animation:global-spin .7s linear infinite; }
@keyframes global-spin { to { transform:rotate(360deg); } }

/* 后台控制台仪表盘 */
.dash-page { display:flex; flex-direction:column; gap:16px; }
.dash-grid { display:grid; gap:16px; }
.dash-grid-top { grid-template-columns:1.15fr 1fr 1fr; }
.dash-grid-3 { grid-template-columns:repeat(3,minmax(0,1fr)); }
.dash-card { background:#fff; border:1px solid #e8edf5; border-radius:12px; padding:18px; box-shadow:0 4px 16px rgba(15,23,42,.035); min-width:0; }
.dash-card-head { display:flex; align-items:center; justify-content:space-between; margin-bottom:12px; }
.dash-card-head h2 { margin:0; font-size:16px; color:#0f172a; }
.dash-more { color:#94a3b8; letter-spacing:2px; font-size:16px; }
.dash-metrics { display:grid; gap:8px; }
.dash-metrics-4 { grid-template-columns:repeat(4,minmax(0,1fr)); }
.dash-metrics > div { text-align:center; padding:10px 4px; border-right:1px dashed #eef2f7; }
.dash-metrics > div:last-child { border-right:0; }
.dash-metrics span { display:block; color:#94a3b8; font-size:12px; white-space:nowrap; }
.dash-metrics strong { display:block; color:#2563eb; font-size:30px; font-weight:400; margin:10px 0 6px; }
.dash-metrics small { color:#a8b3c4; font-size:11px; }
.dash-todo-grid { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.dash-todo-item { display:flex; align-items:center; gap:12px; background:#f8fafc; border-radius:8px; padding:14px 12px; color:inherit; }
.dash-todo-item:hover { text-decoration:none; background:#f2f7ff; }
.dash-todo-item strong { display:block; color:#0f172a; font-size:22px; font-weight:500; line-height:1.1; }
.dash-todo-item small { color:#94a3b8; font-size:12px; white-space:nowrap; }
.dash-todo-icon { width:38px; height:38px; border-radius:50%; color:#fff; display:flex; align-items:center; justify-content:center; font-size:17px; flex:0 0 38px; }
.dash-todo-icon.blue { background:#2583f6; } .dash-todo-icon.green { background:#5bbf3a; } .dash-todo-icon.orange { background:#f59e0b; } .dash-todo-icon.cyan { background:#2bb8c8; }
.dash-income-grid { display:grid; grid-template-columns:1fr 1fr; gap:22px 10px; padding-top:4px; }
.dash-income-grid div { display:flex; flex-direction:column; gap:7px; }
.dash-income-grid strong { font-size:26px; font-weight:400; color:#1e293b; }
.dash-income-grid span { color:#94a3b8; font-size:12px; }
.blue-text { color:#2583f6 !important; } .orange-text { color:#f59e0b !important; }
.dash-chart-card { padding-bottom:10px; }
.dash-chart-legend { display:flex; gap:22px; color:#64748b; font-size:12px; margin:0 0 4px 46px; }
.dash-chart-legend span { display:flex; align-items:center; gap:6px; }
.legend-bar { width:14px; height:8px; background:#2563eb; display:inline-block; border-radius:2px; }
.legend-line { width:18px; height:2px; background:#60a5fa; display:inline-block; position:relative; }
.legend-line:after { content:''; width:7px; height:7px; border:2px solid #2563eb; background:#fff; border-radius:50%; position:absolute; left:5px; top:-4px; }
.dash-chart-wrap { width:100%; overflow:hidden; }
.dash-chart-wrap canvas { display:block; width:100%; }
.dash-online-count { color:#64748b; font-size:12px; margin:0 0 14px; }
.dash-admin-row { display:flex; align-items:center; gap:10px; padding:8px 0; }
.dash-avatar { width:34px; height:34px; border-radius:50%; background:#eef2f7; color:#64748b; display:flex; align-items:center; justify-content:center; font-weight:700; }
.dash-admin-row strong { display:block; font-size:13px; color:#334155; }
.dash-admin-row small { display:block; font-size:11px; color:#a8b3c4; margin-top:3px; }
.dash-expire-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:8px; text-align:center; padding:28px 0 20px; }
.dash-expire-grid strong { display:block; font-size:28px; font-weight:400; color:#334155; }
.dash-expire-grid span { display:block; font-size:12px; color:#94a3b8; margin-top:14px; }
.dash-product-list { display:flex; flex-direction:column; gap:12px; padding-top:8px; }
.dash-product-row { display:flex; align-items:center; gap:8px; font-size:12px; }
.dash-product-dot { width:9px; height:9px; border-radius:50%; flex:0 0 9px; }
.dot-1 { background:#2bb8c8; } .dot-2 { background:#8b7bd8; } .dot-3 { background:#2583f6; } .dot-4 { background:#f5a623; } .dot-5 { background:#ef6461; }
.dash-product-name { flex:1; color:#475569; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.dash-product-qty { color:#94a3b8; }
.dash-customer-stats { display:grid; grid-template-columns:1fr 1fr 1fr; gap:8px; padding:2px 0 16px; }
.dash-customer-stats div { text-align:left; }
.dash-customer-stats strong { display:block; font-size:26px; font-weight:400; color:#334155; }
.dash-customer-stats span { display:block; color:#94a3b8; font-size:11px; margin-top:5px; }
.dash-user-list { border-top:1px solid #eef2f7; padding-top:8px; }
.dash-user-row { display:flex; align-items:center; justify-content:space-between; gap:8px; padding:8px 0; border-bottom:1px solid #f5f7fb; }
.dash-user-row strong { display:block; color:#2563eb; font-size:12px; font-weight:500; }
.dash-user-row small { display:block; color:#a8b3c4; font-size:10px; margin-top:3px; }
.dash-user-row > span { color:#a8b3c4; font-size:10px; text-align:right; }
.dash-empty { min-height:150px; display:flex; align-items:center; justify-content:center; color:#94a3b8; font-size:12px; }
.dash-ticket-list { display:flex; flex-direction:column; gap:8px; }
.dash-ticket-row { display:flex; flex-direction:column; gap:4px; padding:8px; border-radius:6px; color:inherit; background:#f8fafc; }
.dash-ticket-row:hover { text-decoration:none; background:#f2f7ff; }
.dash-ticket-row span { color:#2583f6; font-size:11px; }
.dash-ticket-row strong { color:#334155; font-size:12px; font-weight:500; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.dash-ticket-row small { color:#a8b3c4; font-size:10px; }
.dash-ticket-toast { position:fixed; right:24px; bottom:24px; z-index:10000; background:#0f172a; color:#fff; padding:13px 18px; border-radius:8px; box-shadow:0 10px 30px rgba(15,23,42,.25); font-size:13px; }
@media (max-width:1100px) { .dash-grid-top { grid-template-columns:1fr 1fr; } .dash-grid-top .dash-card:first-child { grid-column:1/-1; } .dash-grid-3 { grid-template-columns:1fr 1fr; } }
@media (max-width:700px) { .dash-grid-top, .dash-grid-3 { grid-template-columns:1fr; } .dash-metrics-4 { grid-template-columns:1fr 1fr; } .dash-metrics > div:nth-child(2) { border-right:0; } .dash-expire-grid { gap:4px; } .dash-expire-grid strong { font-size:22px; } }

/* 服务器监控 */
.monitor-grid { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.monitor-card { border:1px solid #e8edf5; border-radius:10px; padding:14px 14px 8px; background:#fbfdff; min-width:0; }
.monitor-head { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:6px; color:#475569; font-size:13px; }
.monitor-head strong { color:#2563eb; font-size:15px; }
.monitor-card canvas { display:block; width:100%; height:150px; }
.monitor-card:nth-child(3) .monitor-head strong { color:#0f9f8f; }
.monitor-card:nth-child(4) .monitor-head strong { color:#b45309; }
@media (max-width:800px) { .monitor-grid { grid-template-columns:1fr; } }

/* 顶部控制中心菜单 */
.account-menu { position:relative; display:inline-flex; }
.account-trigger { display:inline-flex; align-items:center; gap:6px; white-space:nowrap; }
.account-caret { font-size:11px; color:#94a3b8; }
.account-dropdown { display:none; position:absolute; top:calc(100% + 8px); right:0; width:210px; padding:12px; background:#fff; border:1px solid #e5ebf3; border-radius:10px; box-shadow:0 14px 35px rgba(15,23,42,.14); z-index:200; }
.account-menu:hover .account-dropdown, .account-menu:focus-within .account-dropdown { display:block; }
.account-name { color:#1e293b; font-size:13px; font-weight:600; line-height:1.5; padding-bottom:9px; border-bottom:1px solid #eef2f7; }
.account-name small { display:block; color:#94a3b8; font-size:11px; font-weight:400; margin-top:2px; overflow:hidden; text-overflow:ellipsis; }
.account-balance { display:flex; align-items:center; justify-content:space-between; padding:10px 0; font-size:12px; color:#94a3b8; }
.account-balance strong { color:#2563eb; font-size:14px; }
.account-dropdown > a { display:block; padding:7px 8px; margin:0 -4px; border-radius:6px; color:#475569; font-size:13px; }
.account-dropdown > a:hover { background:#f3f8ff; color:#2563eb; text-decoration:none; }
.account-dropdown .account-logout { color:#dc2626; }
.account-dropdown .account-logout:hover { background:#fff1f2; color:#dc2626; }

/* 后台侧边栏卡片化 */
.admin-body { background:#f2f6fc; }
.admin-shell { background:radial-gradient(circle at 0 0,rgba(59,130,246,.06),transparent 32%),#f2f6fc; }
.admin-side {
  width:232px;
  margin:12px 0 12px 12px;
  height:calc(100vh - 24px);
  max-height:calc(100vh - 24px);
  position:sticky;
  top:12px;
  border-radius:18px;
  border:1px solid rgba(110,160,230,.16);
  background:linear-gradient(180deg,#0b1730 0%,#122746 52%,#0d1c36 100%);
  box-shadow:0 20px 45px rgba(7,23,47,.28), inset 0 1px 0 rgba(255,255,255,.05);
  overflow:hidden auto;
}
.admin-side:before {
  content:"";
  position:absolute;
  width:180px;
  height:180px;
  top:-80px;
  left:-70px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(59,130,246,.24),transparent 68%);
  pointer-events:none;
}
.admin-brand {
  position:relative;
  padding:20px 18px 17px;
  border-bottom:1px solid rgba(148,180,225,.12);
  font-size:14px;
  letter-spacing:.01em;
  gap:11px;
}
.admin-brand .brand-logo {
  width:36px;
  height:36px;
  border-radius:11px;
  background:linear-gradient(145deg,#4da3ff,#2563eb);
  box-shadow:0 8px 18px rgba(37,99,235,.36);
  font-size:17px;
  font-weight:700;
}
.admin-nav {
  position:relative;
  padding:12px 11px 18px;
  gap:2px;
}
.admin-nav-group {
  margin:12px 4px 2px;
  padding:7px 8px 5px;
  color:#7189ab;
  font-size:10px;
  font-weight:700;
  letter-spacing:.14em;
  border-radius:7px;
}
.admin-nav-group:first-child { margin-top:2px; }
.admin-nav-group:before {
  content:"";
  width:4px;
  height:4px;
  border-radius:50%;
  background:#4d8edb;
  margin-right:7px;
  box-shadow:0 0 7px rgba(77,142,219,.8);
}
.admin-nav-group { justify-content:flex-start; gap:0; }
.admin-nav-group .nav-chevron { margin-left:auto; color:#5d7696; }
.admin-nav-group:hover { background:rgba(91,151,230,.08); color:#b9d0ea; }
.admin-nav a {
  position:relative;
  min-height:36px;
  display:flex;
  align-items:center;
  padding:8px 12px;
  margin:0;
  border-radius:9px;
  color:#b9c9df;
  font-size:13px;
  line-height:1.35;
  transition:background .16s ease,color .16s ease,transform .16s ease,box-shadow .16s ease;
}
.admin-nav a:hover {
  background:rgba(91,151,230,.12);
  color:#edf6ff;
  transform:translateX(2px);
}
.admin-nav a.active {
  color:#fff;
  font-weight:600;
  background:linear-gradient(135deg,#3f8cff 0%,#2563eb 100%);
  box-shadow:0 8px 18px rgba(37,99,235,.32), inset 0 1px 0 rgba(255,255,255,.18);
  transform:translateX(0);
}
.admin-nav a.active:before {
  content:"";
  position:absolute;
  left:-11px;
  top:50%;
  width:3px;
  height:18px;
  margin-top:-9px;
  border-radius:0 3px 3px 0;
  background:#7cb8ff;
  box-shadow:0 0 10px rgba(124,184,255,.9);
}
.admin-side-foot {
  margin:8px 12px 14px;
  padding:12px;
  border:1px solid rgba(148,180,225,.1);
  border-radius:10px;
  background:rgba(255,255,255,.035);
  gap:4px;
}
.admin-side-foot a {
  display:block;
  padding:7px 8px;
  border-radius:7px;
  color:#92a8c3;
  font-size:12px;
}
.admin-side-foot a:hover { background:rgba(255,255,255,.06); color:#e4f0ff; text-decoration:none; }
.admin-side::-webkit-scrollbar { width:5px; }
.admin-side::-webkit-scrollbar-thumb { background:rgba(148,180,225,.22); border-radius:5px; }
.admin-side::-webkit-scrollbar-track { background:transparent; }
@media (max-width:860px) {
  .admin-side { width:100%; height:auto; max-height:none; margin:0; border-radius:0; border-left:0; border-right:0; border-top:0; position:relative; top:0; }
  .admin-nav { flex-direction:column; }
}

/* 客户端站内信小喇叭 */
.client-bell { width:38px; height:38px; border-radius:10px; display:inline-flex; align-items:center; justify-content:center; color:#64748b; background:#fff; border:1px solid #e5ebf3; position:relative; transition:all .16s ease; }
.client-bell:hover { color:#2563eb; border-color:#bfdbfe; background:#f5f9ff; text-decoration:none; }
.client-bell svg { width:19px; height:19px; }
.client-bell-dot { position:absolute; top:7px; right:7px; width:7px; height:7px; border-radius:50%; background:#ef4444; box-shadow:0 0 0 2px #fff; }
.client-bell.is-shaking { animation:client-bell-shake .7s ease-in-out 2; border-color:#fca5a5; color:#dc2626; }
@keyframes client-bell-shake { 0%,100% { transform:rotate(0); } 20% { transform:rotate(-12deg); } 40% { transform:rotate(10deg); } 60% { transform:rotate(-7deg); } 80% { transform:rotate(5deg); } }

/* 用户折扣价：原价 + 折后金额 */
.matrix-original { display:inline-block; margin-left:7px; color:#94a3b8; font-size:12px; text-decoration:line-through; vertical-align:2px; }
.cycle-tab small del { display:block; color:#cbd5e1; font-size:10px; margin-top:1px; }
.cycle-tab.active small del { color:#bfdbfe; }
.price-original { display:block; color:#94a3b8; font-size:11px; font-weight:400; text-decoration:line-through; margin-top:2px; }
.summary-row.total > span:last-child { text-align:right; display:flex; flex-direction:column; align-items:flex-end; }
.summary-row.total .price-original { font-size:12px; margin-top:1px; }

/* 品牌图标 */
.brand-logo-img { object-fit:cover; padding:0; background:#fff; }
.admin-brand .brand-logo-img { width:36px; height:36px; border-radius:11px; }

/* 手机端：压缩顶部导航，滚动下滑自动收起 */
@media (max-width:760px) {
  .site-header { transition:transform .24s ease; }
  .site-header.header-hidden { transform:translateY(-100%); }
  .header-inner { flex-wrap:wrap; height:auto; min-height:0; padding:7px 0 0; gap:4px 8px; }
  .brand { font-size:15px; gap:8px; }
  .brand-logo { width:31px; height:31px; border-radius:8px; font-size:14px; }
  .header-actions { gap:6px; margin-left:auto; }
  .main-nav { order:3; width:100%; display:flex; gap:0; overflow-x:auto; white-space:nowrap; scrollbar-width:none; border-top:1px solid rgba(226,232,240,.65); margin-top:2px; }
  .main-nav::-webkit-scrollbar { display:none; }
  .main-nav a { flex:0 0 auto; padding:7px 9px; font-size:13px; }
  .lang-select { padding:5px 22px 5px 8px; font-size:12px; }
  .client-bell { width:32px; height:32px; border-radius:8px; }
  .client-bell svg { width:17px; height:17px; }
  .account-trigger { padding:6px 8px; font-size:12px; }
  .account-caret { display:none; }
  .header-actions .btn-sm { padding:6px 9px; font-size:12px; }
  .admin-main { padding:16px 12px; }
  .admin-top { margin-bottom:12px; }
  .admin-content .card { padding:14px; }
  .table-wrap { overflow-x:auto; -webkit-overflow-scrolling:touch; }
}
@media (max-width:420px) {
  .lang-switch { display:none; }
  .header-inner { padding-top:6px; }
}

/* 手机端：客户中心/后台侧栏改为横向滑动导航 */
@media (max-width:860px) {
  .client-shell { display:block; }
  .client-sidebar {
    display:flex; align-items:center; gap:6px; flex-wrap:nowrap;
    overflow-x:auto; -webkit-overflow-scrolling:touch;
    padding:8px; margin:0 0 14px; border-radius:10px;
    position:static; white-space:nowrap; scrollbar-width:none;
  }
  .client-sidebar::-webkit-scrollbar { display:none; }
  .client-side-group { display:none; }
  .client-side-home, .client-side-link {
    flex:0 0 auto; padding:7px 10px; margin:0; font-size:13px;
    border:1px solid #e5ebf3; border-radius:7px; background:#fff;
  }
  .client-side-home { font-weight:600; }
  .client-side-link .client-badge { margin-left:5px; }
  .admin-shell { flex-direction:column; }
  .admin-side {
    width:100%; height:auto; max-height:none; margin:0; border-radius:0;
    border-left:0; border-right:0; border-top:0; position:relative; top:0;
    overflow:visible;
  }
  .admin-brand { padding:12px 14px; }
  .admin-nav {
    flex-direction:row; flex-wrap:nowrap; overflow-x:auto; -webkit-overflow-scrolling:touch;
    padding:8px 10px; gap:4px; scrollbar-width:none;
  }
  .admin-nav::-webkit-scrollbar { display:none; }
  .admin-nav-group { display:none; }
  .admin-nav a {
    flex:0 0 auto; white-space:nowrap; font-size:12px; min-height:32px;
    padding:7px 10px; transform:none;
  }
  .admin-nav a:hover { transform:none; }
  .admin-side-foot { flex-direction:row; margin:4px 10px 10px; padding:8px; }
  .admin-side-foot a { flex:0 0 auto; }
}

/* 用户搜索选择器 */
.user-picker { position:relative; }
.user-picker-input { width:100%; box-sizing:border-box; }
.user-picker-results { position:absolute; top:calc(100% + 5px); left:0; right:0; z-index:50; max-height:320px; overflow-y:auto; background:#fff; border:1px solid #dbe5f1; border-radius:9px; box-shadow:0 14px 35px rgba(15,42,80,.16); padding:5px; }
.user-picker-item { display:flex; flex-direction:column; align-items:flex-start; width:100%; gap:2px; padding:9px 10px; border:0; border-radius:7px; background:#fff; text-align:left; cursor:pointer; color:#334155; }
.user-picker-item:hover, .user-picker-item:focus { background:#f1f7ff; outline:none; }
.user-picker-item strong { font-size:13px; color:#1d4ed8; font-weight:600; }
.user-picker-item span { font-size:12px; color:#64748b; }
.user-picker-item small { font-size:11px; color:#94a3b8; }
.user-picker-empty { padding:14px 10px; color:#94a3b8; font-size:12px; text-align:center; }

/* 站点弹窗公告 */
body.site-popup-open { overflow:hidden; }
.site-popup { position:fixed; inset:0; z-index:9999; display:flex; align-items:center; justify-content:center; padding:20px; }
.site-popup[hidden] { display:none; }
.site-popup-backdrop { position:absolute; inset:0; background:rgba(15,23,42,.48); backdrop-filter:blur(3px); }
.site-popup-card { position:relative; z-index:1; width:min(440px,100%); background:#fff; border-radius:16px; padding:26px 26px 22px; box-shadow:0 28px 70px rgba(15,23,42,.28); animation:popup-in .22s ease both; }
@keyframes popup-in { from { opacity:0; transform:translateY(12px) scale(.98); } to { opacity:1; transform:none; } }
.site-popup-close { position:absolute; top:12px; right:14px; border:0; background:transparent; font-size:26px; line-height:1; color:#94a3b8; cursor:pointer; padding:2px 6px; }
.site-popup-close:hover { color:#334155; }
.site-popup-card h3 { margin:0 34px 12px 0; font-size:20px; color:#0f172a; }
.site-popup-content { color:#475569; font-size:14px; line-height:1.8; max-height:45vh; overflow:auto; }
.site-popup-actions { margin-top:20px; display:flex; justify-content:flex-end; }

/* 右侧悬浮客服 */
.float-service { position:fixed; right:18px; bottom:112px; z-index:900; font-size:13px; }
.float-service-toggle { border:0; border-radius:12px 0 0 12px; padding:12px 13px; background:linear-gradient(145deg,#2f80ed,#2563eb); color:#fff; box-shadow:0 10px 25px rgba(37,99,235,.3); display:flex; flex-direction:column; align-items:center; gap:4px; cursor:pointer; font-size:12px; }
.float-service-toggle:hover { filter:brightness(1.05); }
.float-service-icon { font-size:18px; line-height:1; }
.float-service-panel { position:absolute; right:56px; bottom:0; width:260px; background:#fff; border:1px solid #e5ebf3; border-radius:13px; box-shadow:0 18px 45px rgba(15,23,42,.18); padding:15px; }
.float-service-panel[hidden] { display:none; }
.float-service-head { display:flex; align-items:center; justify-content:space-between; gap:10px; padding-bottom:9px; border-bottom:1px solid #eef2f7; }
.float-service-head strong { color:#0f172a; font-size:15px; }
.float-service-close { border:0; background:transparent; color:#94a3b8; font-size:22px; line-height:1; cursor:pointer; }
.float-service-tip { color:#64748b; font-size:12px; line-height:1.6; margin:10px 0; }
.float-service-links { display:flex; flex-direction:column; gap:7px; }
.float-service-link { display:flex; align-items:center; gap:8px; padding:8px 9px; border-radius:7px; color:#334155; background:#f8fafc; border:1px solid transparent; cursor:pointer; text-align:left; font-size:12px; }
.float-service-link:hover { text-decoration:none; background:#eff6ff; border-color:#dbeafe; color:#2563eb; }
.float-service-link span { display:inline-flex; align-items:center; justify-content:center; min-width:32px; padding:2px 5px; border-radius:5px; background:#e8f1ff; color:#2563eb; font-size:11px; }
.float-service-link.wechat span { background:#e7f8ef; color:#059669; }
.float-service-link.email span { background:#fff4e5; color:#d97706; }
@media (max-width:700px) {
  .float-service { right:10px; bottom:84px; }
  .float-service-panel { width:min(260px,calc(100vw - 78px)); right:48px; }
  .float-service-toggle { padding:10px 11px; border-radius:10px 0 0 10px; }
  .site-popup-card { padding:22px 20px 18px; }
}
/* ==================== 客户中心 2026 视觉升级 ==================== */
.client-body { background:#f3f6fb; }
.client-body .container { max-width:1240px; }
.client-body .site-main { min-height:60vh; background:
  radial-gradient(900px 420px at 12% -8%, rgba(59,130,246,.10), transparent 62%),
  radial-gradient(700px 380px at 92% 4%, rgba(14,165,233,.08), transparent 58%),
  #f3f6fb; }

/* 顶部导航 */
.client-header { background:rgba(255,255,255,.88); border-bottom:1px solid rgba(226,232,240,.86); box-shadow:0 8px 28px rgba(15,23,42,.04); backdrop-filter:blur(16px); }
.client-header-inner { display:flex; align-items:center; gap:22px; height:74px; }
.client-brand { font-size:18px; letter-spacing:-.2px; }
.client-top-nav { display:flex; align-items:center; gap:4px; flex:1; margin-left:10px; }
.client-top-nav a { padding:8px 13px; border-radius:9px; color:#64748b; font-size:14px; font-weight:600; }
.client-top-nav a:hover { background:#f1f5f9; color:#0f172a; text-decoration:none; }
.client-top-nav a.active { color:#2563eb; background:#eaf2ff; }
.client-header-actions { display:flex; align-items:center; gap:10px; margin-left:auto; }
.client-header-actions .lang-switch { background:#f1f5f9; border:1px solid #eef2f7; }
.client-account { position:relative; }
.client-account-trigger { display:flex; align-items:center; gap:9px; border:1px solid #e7edf5; background:#fff; border-radius:12px; padding:5px 8px 5px 6px; cursor:pointer; font-family:inherit; color:#0f172a; transition:.16s; }
.client-account-trigger:hover { border-color:#c7d7ee; box-shadow:0 6px 18px rgba(15,23,42,.06); }
.client-avatar { width:34px; height:34px; border-radius:10px; display:inline-flex; align-items:center; justify-content:center; flex:0 0 auto; background:linear-gradient(145deg,#2563eb,#06b6d4); color:#fff; font-weight:800; font-size:14px; box-shadow:0 5px 12px rgba(37,99,235,.24); }
.client-avatar-lg { width:44px; height:44px; border-radius:12px; font-size:17px; }
.client-account-copy { display:flex; flex-direction:column; align-items:flex-start; line-height:1.25; max-width:150px; }
.client-account-copy strong { font-size:13px; max-width:150px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.client-account-copy small { font-size:11px; color:#64748b; margin-top:2px; }
.client-chevron { width:14px; height:14px; color:#94a3b8; }
.client-account-menu { display:none; position:absolute; right:0; top:calc(100% + 10px); width:230px; background:#fff; border:1px solid #e7edf5; border-radius:14px; box-shadow:0 20px 50px rgba(15,23,42,.16); padding:8px; z-index:80; }
.client-account.open .client-account-menu { display:block; }
.client-account-menu-head { display:flex; align-items:center; gap:10px; padding:9px 9px 12px; margin-bottom:4px; border-bottom:1px solid #eef2f7; }
.client-account-menu-head div { min-width:0; display:flex; flex-direction:column; }
.client-account-menu-head strong { font-size:13px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.client-account-menu-head span:not(.client-avatar) { font-size:11px; color:#94a3b8; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.client-account-menu a { display:block; padding:9px 10px; border-radius:8px; color:#334155; font-size:13px; }
.client-account-menu a:hover { background:#f1f5f9; text-decoration:none; }
.client-account-menu a.danger { color:#dc2626; border-top:1px solid #eef2f7; margin-top:4px; padding-top:11px; }
.client-flash-wrap { padding-top:14px; }

/* 主体骨架 */
.client-main { padding:26px 0 60px; }
.client-shell { display:grid; grid-template-columns:258px minmax(0,1fr); gap:24px; padding:0; }
.client-sidebar { position:sticky; top:96px; align-self:start; max-height:calc(100vh - 116px); overflow:auto; background:linear-gradient(180deg,#0b1526 0%,#0d1d33 52%,#10263d 100%); border:1px solid rgba(148,163,184,.16); border-radius:20px; padding:16px 12px 14px; box-shadow:0 20px 50px rgba(15,23,42,.16); scrollbar-width:thin; scrollbar-color:rgba(148,163,184,.35) transparent; }
.client-sidebar::-webkit-scrollbar { width:5px; }
.client-sidebar::-webkit-scrollbar-thumb { background:rgba(148,163,184,.35); border-radius:8px; }
.client-side-user { display:flex; align-items:center; gap:11px; padding:8px 8px 13px; }
.client-side-user-copy { min-width:0; display:flex; flex-direction:column; }
.client-side-user-copy strong { color:#f8fafc; font-size:14px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.client-side-user-copy span { color:#8ea4bf; font-size:11px; margin-top:2px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.client-side-balance { display:block; margin:0 4px 8px; padding:12px 13px; border-radius:12px; background:linear-gradient(135deg,rgba(37,99,235,.24),rgba(6,182,212,.10)); border:1px solid rgba(96,165,250,.22); color:#dbeafe; }
.client-side-balance:hover { text-decoration:none; border-color:rgba(96,165,250,.42); }
.client-side-balance > span { display:block; font-size:11px; color:#9fb8d6; }
.client-side-balance > strong { display:block; color:#fff; font-size:20px; letter-spacing:.2px; margin:2px 0 3px; }
.client-side-balance > small { display:flex; justify-content:space-between; color:#7dd3fc; font-size:11px; }
.client-side-group { padding:15px 10px 6px; color:#6e849f; font-size:10px; font-weight:800; letter-spacing:.14em; text-transform:uppercase; }
.client-side-home, .client-side-link { display:flex; align-items:center; justify-content:flex-start; gap:10px; padding:9px 10px; margin:2px 0; border-radius:10px; color:#c9d6e6; font-size:13.5px; font-weight:600; border:1px solid transparent; transition:.16s; }
.client-side-home:hover, .client-side-link:hover { color:#fff; background:rgba(255,255,255,.07); text-decoration:none; }
.client-side-home.active, .client-side-link.active { color:#fff; background:linear-gradient(90deg,rgba(37,99,235,.38),rgba(37,99,235,.14)); border-color:rgba(96,165,250,.26); box-shadow:inset 3px 0 0 #38bdf8; }
.client-side-home .client-badge, .client-side-link .client-badge { margin-left:auto; }
.client-nav-icon { width:29px; height:29px; flex:0 0 auto; border-radius:8px; display:inline-flex; align-items:center; justify-content:center; background:rgba(148,163,184,.12); color:#93c5fd; }
.client-side-home.active .client-nav-icon, .client-side-link.active .client-nav-icon { background:rgba(96,165,250,.24); color:#bae6fd; }
.client-nav-icon svg { width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.client-side-link .client-badge { background:#ef4444; color:#fff; border-radius:999px; font-size:10px; padding:1px 7px; }
.client-side-foot { margin:16px 4px 2px; padding:12px; border-radius:11px; background:rgba(255,255,255,.05); border:1px solid rgba(148,163,184,.13); color:#8ea4bf; font-size:11px; line-height:1.7; }
.client-side-foot span { display:block; }
.client-side-foot a { color:#7dd3fc; display:inline-block; margin-top:3px; }
.client-content { min-width:0; }

/* 控制台 */
.cc-dashboard { display:flex; flex-direction:column; gap:20px; }
.cc-hero { position:relative; overflow:hidden; display:grid; grid-template-columns:minmax(0,1.45fr) minmax(260px,.82fr); gap:26px; padding:32px 34px; border-radius:22px; background:linear-gradient(120deg,#0b1730 0%,#12315b 52%,#0f5b63 100%); color:#fff; box-shadow:0 22px 55px rgba(15,23,42,.18); }
.cc-hero-glow { position:absolute; border-radius:50%; filter:blur(12px); pointer-events:none; }
.cc-hero-glow-a { width:280px; height:280px; right:-70px; top:-130px; background:rgba(56,189,248,.22); }
.cc-hero-glow-b { width:220px; height:220px; left:38%; bottom:-160px; background:rgba(45,212,191,.16); }
.cc-hero-copy { position:relative; z-index:1; }
.cc-eyebrow { display:inline-flex; align-items:center; gap:7px; color:#a5c9ed; font-size:11px; font-weight:800; letter-spacing:.13em; }
.cc-eyebrow-dot { width:6px; height:6px; border-radius:50%; background:#38bdf8; box-shadow:0 0 0 5px rgba(56,189,248,.13); }
.cc-hero h1 { color:#fff; font-size:32px; letter-spacing:-.6px; margin:10px 0 8px; }
.cc-hero-copy > p { color:#b7cbe1; font-size:14px; max-width:560px; margin:0 0 20px; }
.cc-hero-actions { display:flex; align-items:center; gap:9px; flex-wrap:wrap; }
.cc-btn { display:inline-flex; align-items:center; gap:7px; border-radius:9px; padding:9px 14px; font-size:13px; font-weight:700; border:1px solid transparent; transition:.16s; }
.cc-btn:hover { text-decoration:none; transform:translateY(-1px); }
.cc-btn-light { background:#fff; color:#0f3b66; }
.cc-btn-light:hover { background:#eef7ff; color:#0b2b4c; }
.cc-btn-ghost-light { background:rgba(255,255,255,.07); color:#dbeafe; border-color:rgba(255,255,255,.22); }
.cc-btn-ghost-light:hover { background:rgba(255,255,255,.13); color:#fff; }
.cc-btn-primary { background:#2563eb; color:#fff; }
.cc-hero-meta { display:flex; align-items:center; gap:18px; flex-wrap:wrap; margin-top:22px; color:#a9c2dc; font-size:11px; }
.cc-hero-meta span { display:inline-flex; align-items:center; gap:6px; }
.cc-meta-dot { width:5px; height:5px; border-radius:50%; background:#7dd3fc; display:inline-block; }
.cc-meta-ok { background:#34d399; }
.cc-hero-side { position:relative; z-index:1; display:flex; flex-direction:column; gap:12px; justify-content:center; }
.cc-balance-card { padding:18px 19px; border-radius:15px; background:linear-gradient(145deg,rgba(255,255,255,.16),rgba(255,255,255,.07)); border:1px solid rgba(255,255,255,.20); backdrop-filter:blur(8px); }
.cc-balance-card-head { display:flex; justify-content:space-between; align-items:center; color:#b8d2eb; font-size:12px; }
.cc-secure-pill { padding:3px 7px; border-radius:999px; background:rgba(52,211,153,.14); color:#6ee7b7; font-size:10px; }
.cc-balance-card > strong { display:block; font-size:30px; letter-spacing:-.5px; margin:7px 0 12px; color:#fff; }
.cc-balance-card-foot { display:flex; align-items:center; justify-content:space-between; gap:10px; color:#a9c2dc; font-size:11px; }
.cc-balance-card-foot a { color:#7dd3fc; }
.cc-hero-mini { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; }
.cc-hero-mini div { padding:10px 9px; border-radius:10px; background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.10); text-align:center; }
.cc-hero-mini strong { display:block; color:#fff; font-size:14px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.cc-hero-mini span { color:#9fb8d0; font-size:10px; }

.cc-stats { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; }
.cc-stat { position:relative; display:flex; align-items:center; gap:12px; padding:17px 15px; background:#fff; border:1px solid #e7edf5; border-radius:15px; box-shadow:0 8px 24px rgba(15,23,42,.04); color:#0f172a; transition:.18s; overflow:hidden; }
.cc-stat:hover { text-decoration:none; transform:translateY(-2px); box-shadow:0 14px 30px rgba(15,23,42,.08); border-color:#d4e2f3; }
.cc-stat::after { content:""; position:absolute; left:0; top:16px; bottom:16px; width:3px; border-radius:3px; background:var(--stat-color); opacity:.8; }
.cc-stat-blue { --stat-color:#2563eb; --stat-soft:#eaf2ff; }
.cc-stat-green { --stat-color:#059669; --stat-soft:#e9f9f1; }
.cc-stat-orange { --stat-color:#d97706; --stat-soft:#fff6e8; }
.cc-stat-purple { --stat-color:#7c3aed; --stat-soft:#f3ecff; }
.cc-stat-icon { width:39px; height:39px; flex:0 0 auto; border-radius:11px; display:inline-flex; align-items:center; justify-content:center; background:var(--stat-soft); color:var(--stat-color); }
.cc-stat-icon svg { width:19px; height:19px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.cc-stat-body { display:flex; flex-direction:column; min-width:0; }
.cc-stat-body strong { font-size:22px; letter-spacing:-.4px; line-height:1.1; }
.cc-stat-body span { color:#64748b; font-size:11px; margin-top:2px; }
.cc-stat-hint { margin-left:auto; color:#94a3b8; font-size:10px; white-space:nowrap; }

.cc-main-grid { display:grid; grid-template-columns:minmax(0,1.55fr) minmax(290px,.8fr); gap:18px; align-items:start; }
.cc-main-col, .cc-side-col { display:flex; flex-direction:column; gap:18px; min-width:0; }
.cc-panel { background:#fff; border:1px solid #e7edf5; border-radius:17px; padding:19px 20px; box-shadow:0 8px 26px rgba(15,23,42,.045); }
.cc-panel-head { display:flex; align-items:flex-start; justify-content:space-between; gap:14px; margin-bottom:14px; }
.cc-panel-head h2 { margin:0; font-size:16px; letter-spacing:-.2px; }
.cc-panel-head p { margin:3px 0 0; color:#94a3b8; font-size:11px; }
.cc-panel-link { color:#2563eb; font-size:12px; font-weight:700; white-space:nowrap; padding-top:2px; }
.cc-panel-link:hover { text-decoration:none; color:#1d4ed8; }
.cc-panel-link span { transition:.16s; display:inline-block; }
.cc-panel-link:hover span { transform:translateX(3px); }

.cc-server-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.cc-server-card { padding:15px; border:1px solid #e8eef6; border-radius:14px; background:linear-gradient(180deg,#fff,#fbfdff); transition:.18s; }
.cc-server-card:hover { border-color:#cfe0f5; box-shadow:0 10px 26px rgba(37,99,235,.08); transform:translateY(-2px); }
.cc-server-card-top { display:flex; align-items:center; justify-content:space-between; gap:8px; }
.cc-server-type { color:#94a3b8; font-size:10px; font-weight:700; letter-spacing:.05em; text-transform:uppercase; }
.cc-server-card-title { display:flex; gap:10px; align-items:center; margin:11px 0 12px; }
.cc-server-icon { width:34px; height:34px; flex:0 0 auto; border-radius:9px; background:#eef4ff; color:#2563eb; display:inline-flex; align-items:center; justify-content:center; }
.cc-server-icon svg { width:17px; height:17px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.cc-server-card-title h3 { margin:0; font-size:13px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.cc-server-card-title p { margin:2px 0 0; color:#94a3b8; font-size:10px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.cc-server-meta { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin:0; padding:10px 0; border-top:1px dashed #e8eef6; border-bottom:1px dashed #e8eef6; }
.cc-server-meta dt { color:#94a3b8; font-size:10px; margin-bottom:2px; }
.cc-server-meta dd { margin:0; font-size:11px; color:#334155; font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.cc-server-meta dd code { background:#f1f5f9; padding:1px 5px; font-size:10px; border-radius:4px; }
.cc-server-meta dd small { display:block; color:#94a3b8; font-size:9px; font-weight:400; margin-top:1px; }
.cc-server-meta dd.warn, .cc-server-meta dd.warn small { color:#d97706; }
.cc-server-card-foot { display:flex; align-items:center; justify-content:space-between; padding-top:10px; }
.cc-server-manage { color:#2563eb; font-size:11px; font-weight:700; }
.cc-server-manage:hover { text-decoration:none; }
.cc-icon-link { color:#94a3b8; font-size:10px; }
.cc-icon-link:hover { color:#2563eb; text-decoration:none; }

.cc-table { margin:0; }
.cc-table th { color:#94a3b8; font-size:10px; font-weight:800; letter-spacing:.04em; text-transform:uppercase; background:#fbfdff; }
.cc-table td { font-size:12px; }
.cc-table td code { font-size:10px; }
.cc-table th, .cc-table td { padding:10px 9px; }
.cc-table tbody tr:hover { background:#fbfdff; }

.cc-quick-grid { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.cc-quick-grid a { display:flex; align-items:center; gap:8px; padding:10px; border:1px solid #eef2f7; border-radius:10px; color:#334155; font-size:11px; font-weight:600; background:#fbfdff; }
.cc-quick-grid a:hover { text-decoration:none; color:#2563eb; border-color:#cfe0f5; background:#f4f9ff; }
.cc-quick-icon { width:23px; height:23px; border-radius:7px; display:inline-flex; align-items:center; justify-content:center; background:#eaf2ff; color:#2563eb; font-size:13px; font-weight:800; }
.cc-list { display:flex; flex-direction:column; }
.cc-list-item { display:flex; align-items:center; gap:9px; padding:9px 0; border-bottom:1px dashed #eef2f7; color:#334155; }
.cc-list-item:last-child { border-bottom:0; }
.cc-list-item:hover { text-decoration:none; color:#2563eb; }
.cc-list-item-static:hover { color:inherit; }
.cc-list-dot { width:6px; height:6px; flex:0 0 auto; border-radius:50%; background:#f59e0b; }
.cc-list-main { display:flex; flex-direction:column; min-width:0; }
.cc-list-main strong { font-size:11px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.cc-list-main small { color:#94a3b8; font-size:10px; margin-top:1px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.cc-list-arrow { margin-left:auto; color:#94a3b8; font-size:12px; }
.cc-amount { margin-left:auto; font-size:11px; font-weight:800; white-space:nowrap; }
.cc-amount.plus { color:#059669; }
.cc-amount.minus { color:#dc2626; }
.cc-empty { text-align:center; padding:30px 16px; color:#94a3b8; }
.cc-empty-icon { width:46px; height:46px; margin:0 auto 10px; border-radius:13px; background:#eef4ff; color:#2563eb; display:flex; align-items:center; justify-content:center; }
.cc-empty-icon svg { width:21px; height:21px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.cc-empty strong { display:block; color:#334155; font-size:13px; }
.cc-empty p { margin:4px 0 12px; font-size:11px; }
.cc-empty-sm { padding:18px 10px; }
.cc-empty-sm p { margin-bottom:0; }
.cc-empty-sm a { color:#2563eb; }

.client-footer { background:#fff; border-top:1px solid #e7edf5; }
.client-footer .footer-inner { padding-top:26px; }

@media (max-width:1100px) {
  .client-shell { grid-template-columns:232px minmax(0,1fr); gap:18px; }
  .cc-hero { padding:26px; grid-template-columns:1fr; }
  .cc-hero-side { display:grid; grid-template-columns:1fr 1fr; align-items:center; }
  .cc-stats { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .cc-main-grid { grid-template-columns:1fr; }
  .cc-side-col { display:grid; grid-template-columns:1fr 1fr; align-items:start; }
}
@media (max-width:860px) {
  .client-header-inner { height:64px; gap:10px; }
  .client-top-nav { display:none; }
  .client-account-copy { display:none; }
  .client-account-trigger { padding:4px; border-radius:10px; }
  .client-account-menu { top:calc(100% + 8px); }
  .client-header-actions { gap:6px; }
  .client-header-actions .lang-switch { margin-right:0; }
  .client-main { padding:16px 0 40px; }
  .client-shell { display:block; }
  .client-sidebar { position:static; display:flex; align-items:center; gap:6px; flex-wrap:nowrap; overflow-x:auto; max-height:none; padding:8px; margin:0 0 14px; border-radius:13px; background:#0d1d33; box-shadow:0 10px 24px rgba(15,23,42,.12); }
  .client-sidebar::-webkit-scrollbar { display:none; }
  .client-side-user, .client-side-balance, .client-side-group, .client-side-foot { display:none; }
  .client-side-home, .client-side-link { flex:0 0 auto; padding:8px 10px; margin:0; border:1px solid rgba(148,163,184,.16); background:rgba(255,255,255,.04); border-radius:8px; font-size:12px; gap:6px; }
  .client-side-home.active, .client-side-link.active { box-shadow:none; background:rgba(37,99,235,.32); }
  .client-nav-icon { width:22px; height:22px; border-radius:6px; background:transparent; }
  .client-nav-icon svg { width:14px; height:14px; }
  .client-side-link .client-badge { margin-left:2px; }
  .cc-hero { border-radius:17px; padding:22px 20px; gap:18px; }
  .cc-hero h1 { font-size:25px; }
  .cc-hero-side { grid-template-columns:1fr; }
  .cc-balance-card > strong { font-size:26px; }
  .cc-hero-meta { gap:10px; }
  .cc-stats { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
  .cc-stat { padding:13px 11px; gap:9px; }
  .cc-stat-icon { width:34px; height:34px; }
  .cc-stat-body strong { font-size:19px; }
  .cc-stat-hint { display:none; }
  .cc-main-grid, .cc-side-col { display:flex; flex-direction:column; gap:14px; }
  .cc-panel { padding:16px; border-radius:14px; }
  .cc-server-grid { grid-template-columns:1fr; }
  .cc-table th, .cc-table td { padding:9px 7px; }
}
@media (max-width:520px) {
  .client-body .container { padding-left:13px; padding-right:13px; }
  .client-brand span:last-child { max-width:150px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .client-header-actions .lang-switch { display:none; }
  .cc-hero h1 { font-size:22px; }
  .cc-hero-copy > p { font-size:12px; }
  .cc-hero-actions { gap:6px; }
  .cc-btn { padding:8px 11px; font-size:12px; }
  .cc-hero-mini { grid-template-columns:1fr 1fr 1fr; }
  .cc-hero-mini div { padding:8px 5px; }
  .cc-hero-mini strong { font-size:12px; }
  .cc-stats { grid-template-columns:1fr 1fr; }
  .cc-stat { padding:11px 9px; }
  .cc-stat-body span { font-size:10px; }
  .cc-server-meta { grid-template-columns:1fr; gap:6px; }
  .cc-quick-grid { grid-template-columns:1fr 1fr; }
}
/* ==================== 服务器基础信息卡片 ==================== */
.server-detail-wrap { padding-bottom:40px; }
.server-detail-wrap .server-info-card {
  position:relative;
  overflow:hidden;
  border:1px solid #e4edf8;
  border-radius:18px;
  background:linear-gradient(180deg,#ffffff 0%,#fbfdff 100%);
  box-shadow:0 18px 45px rgba(15,23,42,.07);
}
.server-info-card .section-head {
  margin:-22px -22px 6px;
  padding:18px 22px;
  align-items:center;
  background:linear-gradient(100deg,#f5f9ff 0%,#ffffff 55%,#f8fbff 100%);
  border-bottom:1px solid #edf3fa;
}
.server-info-card .section-head h2 {
  display:flex;
  align-items:center;
  gap:9px;
  font-size:17px;
  letter-spacing:-.2px;
}
.server-info-card .section-head h2::before {
  content:"";
  width:5px;
  height:20px;
  border-radius:4px;
  background:linear-gradient(180deg,#2563eb,#38bdf8);
  box-shadow:0 3px 9px rgba(37,99,235,.28);
}
.server-info-card .section-head .btn-primary {
  background:linear-gradient(135deg,#2563eb,#0ea5e9);
  border:0;
  box-shadow:0 6px 16px rgba(37,99,235,.22);
}
.server-info-card .info-table { margin:2px 0 0; }
.server-info-card .info-table th {
  width:150px;
  padding:15px 14px 15px 17px;
  color:#7c8ea6;
  font-size:13px;
  font-weight:600;
  letter-spacing:.02em;
  position:relative;
}
.server-info-card .info-table th::before {
  content:"";
  position:absolute;
  left:4px;
  top:50%;
  width:3px;
  height:12px;
  margin-top:-6px;
  border-radius:3px;
  background:#dbeafe;
}
.server-info-card .info-table td {
  padding:15px 14px;
  color:#1e293b;
  font-size:14px;
}
.server-info-card .info-table tbody tr { transition:background .16s ease; }
.server-info-card .info-table tbody tr:hover { background:#f8fbff; }
.server-info-card .info-table tr:last-child th,
.server-info-card .info-table tr:last-child td { border-bottom:0; }
.server-info-card .info-table code {
  background:#eef4fb;
  color:#2563eb;
  padding:3px 7px;
  border-radius:5px;
  font-size:12px;
}
.server-info-card .info-table .muted {
  color:#94a3b8;
  font-size:13px;
  margin-left:8px;
}
@media (max-width:600px) {
  .server-info-card .section-head { margin:-14px -14px 6px; padding:14px; }
  .server-info-card .info-table th { width:96px; padding:12px 8px 12px 13px; font-size:12px; }
  .server-info-card .info-table td { padding:12px 8px; font-size:13px; }
  .server-info-card .info-table th::before { left:2px; }
}/* 监控加载动画 */
.monitor-grid { position:relative; }
.monitor-loading {
  position:absolute; inset:0; z-index:5; display:flex; align-items:center; justify-content:center;
  flex-direction:column; gap:7px; border-radius:12px;
  background:rgba(251,253,255,.86); backdrop-filter:blur(2px); color:#475569;
}
.monitor-loading[hidden] { display:none; }
.monitor-loading strong { font-size:13px; font-weight:700; }
.monitor-loading small { color:#94a3b8; font-size:11px; }
.monitor-loading-spinner {
  width:30px; height:30px; border-radius:50%;
  border:3px solid #dbeafe; border-top-color:#2563eb;
  animation:monitor-spin .75s linear infinite;
}
@keyframes monitor-spin { to { transform:rotate(360deg); } }/* 服务器配置标签 */
.spec-chips { display:flex; flex-wrap:wrap; gap:7px; }
.spec-chip { display:inline-flex; align-items:center; gap:6px; padding:5px 9px; border-radius:7px; background:#f4f8fe; border:1px solid #e4edf8; color:#1e293b; font-size:12px; font-weight:600; }
.spec-chip em { font-style:normal; color:#7c8ea6; font-weight:500; font-size:11px; }/* 服务器升级申请 */
.server-head-actions { display:flex; align-items:center; gap:8px; }
.upgrade-current { margin:4px 0 14px; padding:11px 12px; border:1px solid #e8eef6; border-radius:10px; background:#fbfdff; }
.upgrade-current > span { display:block; color:#7c8ea6; font-size:11px; margin-bottom:6px; }
.upgrade-options { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
@media (max-width:560px) { .upgrade-options { grid-template-columns:1fr; } .server-head-actions { flex-direction:column; align-items:stretch; } }

/* 访客地区提醒 */
.geo-notice { border-bottom:1px solid #dbeafe; background:#eff6ff; color:#1e3a8a; }
.geo-notice-overseas { border-bottom-color:#dcfce7; background:#f0fdf4; color:#166534; }
.geo-notice-inner { display:flex; align-items:center; gap:10px; padding:10px 20px; font-size:12px; line-height:1.6; }
.geo-notice-icon { flex:0 0 auto; font-size:15px; }
.geo-notice-text { flex:1; }
.geo-notice-close { flex:0 0 auto; border:0; background:transparent; color:inherit; opacity:.55; font-size:20px; line-height:1; cursor:pointer; padding:2px 4px; }
.geo-notice-close:hover { opacity:1; }
@media (max-width:560px) { .geo-notice-inner { padding:9px 14px; align-items:flex-start; } .geo-notice-text { font-size:11px; } }
