/* ============================================================
   鼎驰云 · 暗色霓虹设计系统 v3
   配色：主背景 #071426 / 次背景 #0B1D33 / 品牌蓝 #1677FF
        辅助青 #20C3EB / 文字白 #F4F8FF / 文字灰 #6FA3BB
   ============================================================ */

:root {
    --bg-0: #071426;
    --bg-1: #0B1D33;
    --bg-2: #102845;
    --brand: #1677FF;
    --brand-dim: #1259C4;
    --cyan: #20C3EB;
    --txt: #F4F8FF;
    --txt-dim: #6FA3BB;
    --txt-mute: #46647E;
    --line: rgba(32, 195, 235, 0.14);
    --line-soft: rgba(255, 255, 255, 0.07);
    --ok: #22C55E;
    --warn: #F59E0B;
    --danger: #EF4444;

    --glow-brand: 0 0 24px rgba(22, 119, 255, 0.45);
    --glow-cyan: 0 0 22px rgba(32, 195, 235, 0.38);
    --radius: 12px;
    --radius-lg: 18px;
}

/* ---------- 基础重置（覆盖浅色主题） ---------- */
html { background: var(--bg-0); }
body {
    background: var(--bg-0) !important;
    color: var(--txt) !important;
    font-family: 'Segoe UI', 'Microsoft YaHei', 'PingFang SC', system-ui, sans-serif;
}
a { color: var(--cyan); }
a:hover { color: var(--brand); }
.container { max-width: 1240px; }

/* ---------- 页头 ---------- */
.header-main {
    background: rgba(7, 20, 38, 0.88) !important;
    border-bottom: 1px solid var(--line) !important;
    box-shadow: none !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    position: sticky; top: 0; z-index: 1000;
}
.header-main nav { display: flex; align-items: center; gap: 30px; height: 82px; }

.logo { display: inline-flex; align-items: center; gap: 13px; }
.logo .logo-icon {
    width: 54px; height: 54px; border-radius: 12px;
    background: transparent; box-shadow: none;
    display: inline-flex; align-items: center; justify-content: center;
    flex: 0 0 auto;
}
.logo .logo-icon svg { width: 54px; height: 54px; display: block; }
.logo .logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo .logo-cn {
    font-size: 27px; font-weight: 800; color: var(--txt);
    letter-spacing: 3px;
}

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; flex: 1; }
.nav-links a {
    display: block; padding: 8px 14px; border-radius: 8px;
    font-size: 13.5px; color: var(--txt-dim); font-weight: 500;
    transition: color .18s, background .18s;
}
.nav-links a:hover { color: var(--txt); background: rgba(255, 255, 255, 0.05); }
.nav-links a.active { color: var(--cyan); background: rgba(32, 195, 235, 0.1); }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.cart-badge {
    color: var(--txt-dim); font-size: 15px; position: relative;
    padding: 6px 10px; border-radius: 8px;
}
.cart-badge:hover { color: var(--txt); background: rgba(255,255,255,.05); }
.cart-badge .badge {
    background: var(--brand); color: #fff; font-size: 10px;
    font-weight: 800; padding: 1px 5px; border-radius: 20px;
    margin-left: 2px; vertical-align: top;
}

/* ---------- 按钮系统 ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 7px;
    padding: 10px 20px; border-radius: 999px;
    font-size: 13.5px; font-weight: 700; letter-spacing: .2px;
    border: 1px solid transparent; cursor: pointer;
    transition: all .2s; white-space: nowrap;
    font-family: inherit;
}
.btn-primary {
    background: linear-gradient(135deg, var(--brand), #0F5BD8);
    color: #fff !important;
    box-shadow: 0 4px 16px rgba(22, 119, 255, .34);
}
.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 22px rgba(22, 119, 255, .5);
    color: #fff !important;
}
.btn-outline {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(32, 195, 235, 0.34);
    color: var(--txt) !important;
}
.btn-outline:hover {
    background: rgba(32, 195, 235, 0.12);
    border-color: var(--cyan);
    color: var(--cyan) !important;
}
.btn-ghost {
    background: transparent; border-color: rgba(255,255,255,.14);
    color: var(--txt-dim) !important;
}
.btn-ghost:hover { color: var(--txt) !important; border-color: rgba(255,255,255,.3); }
.btn-cyan {
    background: linear-gradient(135deg, var(--cyan), #0F9BC4);
    color: #04141F !important;
    box-shadow: 0 4px 16px rgba(32, 195, 235, .3);
}
.btn-cyan:hover { transform: translateY(-1px); box-shadow: 0 6px 22px rgba(32,195,235,.46); }
.btn-sm { padding: 7px 15px; font-size: 12.5px; }
.btn-lg { padding: 13px 30px; font-size: 14.5px; }
.btn-danger {
    background: rgba(239, 68, 68, .12); border-color: rgba(239,68,68,.34);
    color: #FCA5A5 !important;
}
.btn-danger:hover { background: rgba(239,68,68,.2); }

/* ---------- 首屏 ---------- */
.dn-hero {
    position: relative; overflow: hidden;
    background:
        radial-gradient(900px 480px at 72% 8%, rgba(22, 119, 255, .30), transparent 62%),
        radial-gradient(700px 420px at 12% 88%, rgba(32, 195, 235, .16), transparent 60%),
        linear-gradient(170deg, #071426 0%, #0A1D36 52%, #071426 100%);
    padding: 66px 0 72px;
    border-bottom: 1px solid var(--line);
}
.dn-hero::before {
    content: ''; position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(32,195,235,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(32,195,235,.05) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: radial-gradient(circle at 60% 45%, #000 25%, transparent 75%);
    -webkit-mask-image: radial-gradient(circle at 60% 45%, #000 25%, transparent 75%);
    pointer-events: none;
}
.dn-hero > .container { position: relative; z-index: 2; }
.dn-hero-inner {
    display: grid; grid-template-columns: 1.02fr .98fr;
    gap: 54px; align-items: center;
}
.dn-kicker {
    display: inline-flex; align-items: center; gap: 9px;
    font-size: 12px; letter-spacing: .8px; font-weight: 600;
    color: var(--cyan);
    background: rgba(32, 195, 235, .08);
    border: 1px solid rgba(32, 195, 235, .22);
    padding: 6px 15px; border-radius: 999px; margin-bottom: 24px;
}
.dn-kicker-dot {
    width: 6px; height: 6px; border-radius: 50%; background: var(--ok);
    box-shadow: 0 0 10px var(--ok);
    animation: dnBlink 2.4s ease-in-out infinite;
}
@keyframes dnBlink { 0%,100%{opacity:1} 50%{opacity:.35} }

.dn-hero h1 {
    font-size: 44px; line-height: 1.18; font-weight: 800;
    letter-spacing: -.8px; color: var(--txt); margin-bottom: 20px;
}
.dn-hero h1 em {
    font-style: normal;
    background: linear-gradient(100deg, var(--cyan), var(--brand) 62%, #7C5CFF);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.dn-hero .dn-sub {
    font-size: 15px; line-height: 1.9; color: var(--txt-dim);
    max-width: 520px; margin-bottom: 32px;
}
.dn-hero-btns { display: flex; gap: 13px; flex-wrap: wrap; margin-bottom: 38px; }

/* 三个零 */
.dn-zeros {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 10px; max-width: 560px;
}
.dn-zero {
    background: rgba(11, 29, 51, .82);
    border: 1px solid var(--line);
    border-radius: 12px; padding: 18px 16px 16px;
    text-align: center; position: relative; overflow: hidden;
    transition: border-color .2s, transform .2s;
}
.dn-zero::after {
    content: ''; position: absolute; top: 0; left: 20%; right: 20%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
    opacity: .6;
}
.dn-zero:hover { border-color: rgba(32,195,235,.36); transform: translateY(-2px); }
.dn-zero strong {
    display: block; font-size: 34px; font-weight: 800; line-height: 1;
    color: var(--cyan); margin-bottom: 9px;
    text-shadow: 0 0 22px rgba(32, 195, 235, .5);
    font-variant-numeric: tabular-nums;
}
.dn-zero span { font-size: 12px; color: var(--txt-dim); line-height: 1.5; display: block; }

/* ---------- 首屏视觉：服务器 + 盾 ---------- */
.dn-hero-visual { position: relative; }
.dn-hero-visual svg { width: 100%; height: auto; display: block; }

.dn-glow-pulse { animation: dnGlow 3.6s ease-in-out infinite; }
@keyframes dnGlow { 0%,100%{opacity:.5} 50%{opacity:1} }

.dn-flow { animation: dnFlow 3s linear infinite; }
@keyframes dnFlow { from { stroke-dashoffset: 60; } to { stroke-dashoffset: 0; } }

/* ---------- 能力条 ---------- */
.dn-bar {
    background: var(--bg-1);
    border-bottom: 1px solid var(--line);
}
.dn-bar .container {
    display: flex; align-items: center; gap: 26px;
    padding: 15px 20px; flex-wrap: wrap;
}
.dn-bar-label {
    font-size: 10.5px; letter-spacing: 2px; font-weight: 800;
    color: var(--txt-mute); text-transform: uppercase;
}
.dn-bar-item {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 13px; color: var(--txt-dim); font-weight: 500;
}
.dn-bar-item b { color: var(--cyan); font-weight: 800; }
.dn-dot {
    width: 6px; height: 6px; border-radius: 50%; background: var(--ok);
    box-shadow: 0 0 8px rgba(34,197,94,.8); flex: 0 0 auto;
}

/* ---------- 区块通用 ---------- */
.section { padding: 74px 0; background: var(--bg-0) !important; }
.section-alt { background: var(--bg-1) !important; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 8px; }
.section-head .eyebrow {
    display: inline-block; font-size: 10.5px; letter-spacing: 2.4px;
    font-weight: 800; color: var(--cyan); text-transform: uppercase;
    margin-bottom: 13px;
    padding: 4px 12px; border-radius: 999px;
    background: rgba(32,195,235,.08);
    border: 1px solid rgba(32,195,235,.2);
}
.section-head h2 {
    font-size: 30px; font-weight: 800; color: var(--txt);
    letter-spacing: -.5px; margin-bottom: 12px;
}
.section-head p { font-size: 14px; color: var(--txt-dim); line-height: 1.85; }

/* ---------- 三个特性卡（设计系统同款） ---------- */
.dn-feats {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 0; margin-top: 42px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(16,40,69,.75), rgba(11,29,51,.75));
    overflow: hidden;
}
.dn-feat {
    padding: 38px 28px 34px; text-align: center;
    border-right: 1px solid var(--line);
    transition: background .22s;
}
.dn-feat:last-child { border-right: none; }
.dn-feat:hover { background: rgba(22, 119, 255, .07); }
.dn-feat-icon {
    width: 62px; height: 62px; margin: 0 auto 18px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 16px;
    background: rgba(22, 119, 255, .1);
    border: 1px solid rgba(32, 195, 235, .22);
    box-shadow: inset 0 0 24px rgba(22, 119, 255, .14);
}
.dn-feat-icon svg { width: 30px; height: 30px; }
.dn-feat h3 { font-size: 17px; font-weight: 700; color: var(--txt); margin-bottom: 9px; }
.dn-feat p { font-size: 13px; color: var(--txt-dim); line-height: 1.8; }

/* ---------- 产品卡 ---------- */
.dn-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(272px, 1fr));
    gap: 20px; margin-top: 42px;
}
.dn-card {
    background: linear-gradient(170deg, rgba(16,40,69,.9), rgba(9,24,42,.9));
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 24px 22px 20px;
    display: flex; flex-direction: column;
    position: relative; overflow: hidden;
    transition: transform .22s, border-color .22s, box-shadow .22s;
}
.dn-card::before {
    content: ''; position: absolute; inset: 0;
    border-radius: inherit; pointer-events: none;
    background: radial-gradient(320px 120px at 50% 0%, rgba(32,195,235,.12), transparent 70%);
    opacity: 0; transition: opacity .22s;
}
.dn-card:hover {
    transform: translateY(-4px);
    border-color: rgba(32, 195, 235, .38);
    box-shadow: 0 16px 40px rgba(0,0,0,.42), var(--glow-cyan);
}
.dn-card:hover::before { opacity: 1; }
.dn-card.is-hot { border-color: rgba(245, 158, 11, .32); }
.dn-card.is-hot::before {
    background: radial-gradient(320px 120px at 50% 0%, rgba(245,158,11,.14), transparent 70%);
    opacity: 1;
}

.dn-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.dn-region {
    font-size: 11px; font-weight: 800; letter-spacing: .8px;
    color: var(--cyan); background: rgba(32,195,235,.1);
    border: 1px solid rgba(32,195,235,.22);
    padding: 3px 9px; border-radius: 5px;
}
.dn-hot {
    font-size: 10.5px; font-weight: 800; letter-spacing: .4px;
    color: #FFD98A; background: rgba(245,158,11,.14);
    border: 1px solid rgba(245,158,11,.34);
    padding: 3px 9px; border-radius: 5px;
}
.dn-card h3 {
    font-size: 16.5px; font-weight: 700; color: var(--txt);
    line-height: 1.4; margin-bottom: 14px;
}
.dn-price {
    display: flex; align-items: baseline; gap: 4px;
    padding-bottom: 15px; margin-bottom: 16px;
    border-bottom: 1px solid var(--line-soft);
}
.dn-price .cur { font-size: 15px; font-weight: 700; color: var(--cyan); }
.dn-price .amt {
    font-size: 32px; font-weight: 800; color: var(--txt);
    letter-spacing: -1px; line-height: 1;
    font-variant-numeric: tabular-nums;
}
.dn-price .unit { font-size: 12px; color: var(--txt-mute); margin-left: 3px; }

.dn-specs { list-style: none; margin-bottom: 18px; flex: 1; }
.dn-specs li {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; font-size: 12.5px; padding: 6px 0;
}
.dn-specs .k { color: var(--txt-mute); }
.dn-specs .v { color: var(--txt); font-weight: 600; text-align: right; }
.dn-specs .v.accent { color: var(--cyan); }

.dn-card-foot { display: flex; gap: 9px; }
.dn-card-foot .btn { flex: 1; padding-left: 8px; padding-right: 8px; }

/* ---------- 节点网格 ---------- */
.dn-nodes {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 16px; margin-top: 42px;
}
.dn-node {
    background: rgba(11, 29, 51, .8);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px 20px 18px;
    transition: border-color .2s, transform .2s;
}
.dn-node:hover { border-color: rgba(32,195,235,.34); transform: translateY(-3px); }
.dn-node-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 15px; }
.dn-node-code {
    font-size: 10.5px; font-weight: 800; letter-spacing: 2.2px;
    color: var(--cyan);
}
.dn-node-flag { font-size: 12.5px; font-weight: 700; color: var(--txt); }
.dn-node-metric {
    display: flex; align-items: baseline; gap: 7px;
    padding-bottom: 13px; margin-bottom: 13px;
    border-bottom: 1px solid var(--line-soft);
}
.dn-node-metric strong {
    font-size: 20px; font-weight: 800; color: var(--txt); letter-spacing: -.4px;
}
.dn-node-metric span { font-size: 11.5px; color: var(--txt-mute); }
.dn-node-desc { font-size: 12.5px; color: var(--txt-dim); line-height: 1.75; margin-bottom: 13px; min-height: 42px; }
.dn-node-count {
    font-size: 11.5px; font-weight: 700; color: var(--cyan);
    background: rgba(32,195,235,.1); display: inline-block;
    padding: 3px 10px; border-radius: 5px;
}

/* ---------- 数据条 ---------- */
.dn-statbar {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 1px; background: var(--line);
    border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden; margin-top: 24px;
}
.dn-statbar-item { background: var(--bg-1); padding: 22px 18px; text-align: center; }
.dn-statbar-item strong {
    display: block; font-size: 25px; font-weight: 800;
    color: var(--cyan); line-height: 1.2; margin-bottom: 5px;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 0 18px rgba(32,195,235,.4);
}
.dn-statbar-item span { font-size: 12px; color: var(--txt-dim); }

/* ---------- 状态标签 ---------- */
.dn-tag {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 11.5px; font-weight: 700; padding: 3px 10px; border-radius: 999px;
}
.dn-tag-ok     { background: rgba(34,197,94,.14);  color: #4ADE80; border: 1px solid rgba(34,197,94,.28); }
.dn-tag-off    { background: rgba(111,163,187,.14); color: var(--txt-dim); border: 1px solid rgba(111,163,187,.24); }
.dn-tag-warn   { background: rgba(245,158,11,.14); color: #FBBF24; border: 1px solid rgba(245,158,11,.3); }
.dn-tag-new    { background: rgba(22,119,255,.16); color: #60A5FA; border: 1px solid rgba(22,119,255,.3); }

/* ---------- 表单 ---------- */
.dn-field {
    width: 100%; background: rgba(7,20,38,.72);
    border: 1px solid var(--line);
    border-radius: 9px; padding: 11px 15px;
    font-size: 13.5px; color: var(--txt);
    font-family: inherit; transition: border-color .18s, box-shadow .18s;
}
.dn-field::placeholder { color: var(--txt-mute); }
.dn-field:focus {
    outline: none; border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(32,195,235,.12);
}

/* ---------- 页脚 ---------- */
.footer {
    background: linear-gradient(180deg, var(--bg-1), #050F1C) !important;
    border-top: 1px solid var(--line);
    padding: 56px 0 0;
    color: var(--txt-dim);
}
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer .logo-cn { color: var(--txt) !important; }
.footer .logo .logo-icon svg { width: 60px; height: 60px; }
.footer .logo-cn { font-size: 30px !important; }
.footer-brand p { font-size: 13px; line-height: 1.85; margin: 16px 0 14px; color: var(--txt-dim); }
.footer-brand a { display: block; font-size: 13px; color: var(--txt-dim); padding: 3px 0; }
.footer-brand a:hover { color: var(--cyan); }
.footer h3 {
    font-size: 13px; font-weight: 800; color: var(--txt);
    letter-spacing: .6px; margin-bottom: 16px;
}
.footer-grid > div > a {
    display: block; font-size: 13px; color: var(--txt-dim);
    padding: 5px 0; transition: color .16s;
}
.footer-grid > div > a:hover { color: var(--cyan); }
.footer-bottom {
    margin-top: 44px; padding: 20px 0;
    border-top: 1px solid var(--line-soft);
    font-size: 12.5px; color: var(--txt-mute); text-align: center;
}

/* ---------- 公告条 ---------- */
.dn-notice {
    display: flex; align-items: center; gap: 14px;
    background: rgba(11,29,51,.8);
    border: 1px solid var(--line);
    border-radius: var(--radius); padding: 13px 20px;
}
.dn-notice-label {
    flex: 0 0 auto; font-size: 10.5px; font-weight: 800; letter-spacing: 1.6px;
    color: var(--cyan); background: rgba(32,195,235,.1);
    border: 1px solid rgba(32,195,235,.22);
    padding: 3px 10px; border-radius: 5px;
}
.dn-notice-list { flex: 1; display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.dn-notice-item { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--txt-dim); min-width: 0; }
.dn-notice-item:hover { color: var(--txt); }
.dn-notice-item:hover .dn-notice-title { color: var(--cyan); }
.dn-notice-title { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dn-notice-date { font-size: 11.5px; color: var(--txt-mute); flex: 0 0 auto; }
.dn-notice-more { flex: 0 0 auto; font-size: 12.5px; color: var(--txt-dim); }
.dn-notice-more:hover { color: var(--cyan); }

/* ---------- 响应式 ---------- */
@media (max-width: 1020px) {
    .dn-hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .dn-hero h1 { font-size: 34px; }
    .dn-hero-visual { max-width: 480px; margin: 0 auto; }
    .dn-feats { grid-template-columns: 1fr; }
    .dn-feat { border-right: none; border-bottom: 1px solid var(--line); }
    .dn-feat:last-child { border-bottom: none; }
    .dn-nodes { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .nav-links { display: none; }
}
@media (max-width: 680px) {
    .dn-hero { padding: 44px 0 50px; }
    .dn-hero h1 { font-size: 27px; }
    .dn-zeros { grid-template-columns: 1fr; gap: 8px; }
    .dn-zero strong { font-size: 26px; }
    .dn-grid { grid-template-columns: 1fr; }
    .dn-nodes { grid-template-columns: 1fr; }
    .dn-statbar { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .section { padding: 48px 0; }
    .section-head h2 { font-size: 23px; }
}

/* ============================================================
   内页暗色覆盖层 · 消除大白块
   ============================================================ */

/* --- 通用容器类 --- */
.product-card,
.table-card,
.form-card,
.detail-main,
.detail-side,
.cart-list,
.cart-summary,
.cart-item,
.payment-box,
.dashboard-main,
.dashboard-side,
.advantage,
.price-col,
.metric,
.unit,
.total,
.qr-placeholder,
.menu,
.empty-state,
.order-card,
.panel,
.card {
    background: linear-gradient(170deg, rgba(16,40,69,.9), rgba(9,24,42,.92)) !important;
    border: 1px solid var(--line) !important;
    box-shadow: none !important;
    color: var(--txt) !important;
    border-radius: var(--radius) !important;
}

.product-card:hover,
.detail-main:hover {
    border-color: rgba(32,195,235,.36) !important;
    box-shadow: 0 14px 36px rgba(0,0,0,.4) !important;
}

/* 卡片内的文字 */
.product-card h3, .table-card h3, .form-card h3,
.detail-main h1, .detail-main h2, .detail-main h3,
.detail-side h3, .cart-summary h3, .payment-box h3,
.dashboard-main h1, .dashboard-main h2, .dashboard-main h3,
.order-card h3 {
    color: var(--txt) !important;
}

.product-card p, .detail-main p, .detail-side p,
.cart-item p, .dashboard-main p,
.advantage p, .metric p {
    color: var(--txt-dim) !important;
}

/* --- 表格 --- */
table { background: transparent !important; color: var(--txt) !important; }
thead th {
    background: rgba(11,29,51,.95) !important;
    color: var(--txt-dim) !important;
    border-bottom: 1px solid var(--line) !important;
    font-size: 12px; letter-spacing: .4px; font-weight: 700;
}
tbody td {
    border-bottom: 1px solid var(--line-soft) !important;
    color: var(--txt) !important;
    font-size: 13px;
}
tbody tr:hover { background: rgba(22,119,255,.07) !important; }
tbody tr:last-child td { border-bottom: none !important; }

/* --- 表单 --- */
input[type=text], input[type=password], input[type=email],
input[type=number], input[type=search], input[type=tel],
textarea, select {
    background: rgba(7,20,38,.8) !important;
    border: 1px solid var(--line) !important;
    color: var(--txt) !important;
    border-radius: 9px !important;
    font-family: inherit;
    transition: border-color .18s, box-shadow .18s;
}
input::placeholder, textarea::placeholder { color: var(--txt-mute) !important; }
input:focus, textarea:focus, select:focus {
    outline: none !important;
    border-color: var(--cyan) !important;
    box-shadow: 0 0 0 3px rgba(32,195,235,.12) !important;
}
select option { background: #0B1D33; color: var(--txt); }
label { color: var(--txt-dim) !important; }

/* --- 分页 --- */
.pagination a, .pagination span {
    background: rgba(11,29,51,.9) !important;
    border: 1px solid var(--line) !important;
    color: var(--txt-dim) !important;
    border-radius: 8px !important;
}
.pagination a:hover { color: var(--cyan) !important; border-color: var(--cyan) !important; }
.pagination .active {
    background: linear-gradient(135deg, var(--brand), #0F5BD8) !important;
    color: #fff !important; border-color: transparent !important;
}

/* --- 提示条 --- */
.alert { border-radius: 9px !important; font-size: 13px; }
.alert-info {
    background: rgba(22,119,255,.1) !important;
    border: 1px solid rgba(22,119,255,.28) !important;
    color: #93C5FD !important;
}
.alert-success {
    background: rgba(34,197,94,.1) !important;
    border: 1px solid rgba(34,197,94,.28) !important;
    color: #6EE7A8 !important;
}
.alert-warning {
    background: rgba(245,158,11,.1) !important;
    border: 1px solid rgba(245,158,11,.28) !important;
    color: #FCD34D !important;
}
.alert-danger {
    background: rgba(239,68,68,.1) !important;
    border: 1px solid rgba(239,68,68,.28) !important;
    color: #FCA5A5 !important;
}

/* --- 标签 --- */
.tag {
    background: rgba(32,195,235,.1) !important;
    border: 1px solid rgba(32,195,235,.22) !important;
    color: var(--cyan) !important;
    border-radius: 5px !important;
    font-size: 11.5px !important;
    font-weight: 600;
}
.eyebrow { color: var(--cyan) !important; }

/* --- 详情页价格 --- */
.price, .detail-price, .price-col .price {
    color: var(--cyan) !important;
    font-weight: 800;
}
.price small { color: var(--txt-mute) !important; }

/* --- 空状态 --- */
.empty-state { text-align: center; padding: 60px 20px; }
.empty-state .icon { font-size: 40px; margin-bottom: 14px; opacity: .8; }
.empty-state h3 { color: var(--txt) !important; margin-bottom: 8px; }
.empty-state p { color: var(--txt-mute) !important; }

/* --- 订单状态徽章 --- */
.badge {
    font-size: 11px !important; font-weight: 700 !important;
    padding: 3px 10px !important; border-radius: 999px !important;
}
.badge-success { background: rgba(34,197,94,.14) !important; color: #4ADE80 !important; border: 1px solid rgba(34,197,94,.28) !important; }
.badge-warning { background: rgba(245,158,11,.14) !important; color: #FBBF24 !important; border: 1px solid rgba(245,158,11,.3) !important; }
.badge-danger  { background: rgba(239,68,68,.14)  !important; color: #FCA5A5 !important; border: 1px solid rgba(239,68,68,.28) !important; }
.badge-secondary { background: rgba(111,163,187,.14) !important; color: var(--txt-dim) !important; border: 1px solid rgba(111,163,187,.24) !important; }

/* --- 页内锚点/侧栏 --- */
.dashboard-side a, .menu a {
    color: var(--txt-dim) !important;
    padding: 9px 13px; border-radius: 8px; display: block; font-size: 13px;
}
.dashboard-side a:hover, .menu a:hover { background: rgba(255,255,255,.05) !important; color: var(--txt) !important; }
.dashboard-side a.active, .menu a.active {
    background: rgba(32,195,235,.1) !important; color: var(--cyan) !important;
}

/* --- 分隔线 / 阴影变量重置 --- */
:root { --shadow: 0 0 0 1px var(--line); --bg: #071426; --gray: #6FA3BB; --dark: #F4F8FF; --gray-light: #102845; }

/* --- 二维码占位 --- */
.qr-placeholder {
    background: #FFFFFF !important;   /* 二维码必须白底才能扫 */
    border: 1px solid var(--line) !important;
    border-radius: 10px !important;
    padding: 10px;
}
.qr-placeholder img { display: block; }

/* --- 内页标题区统一 --- */
.section-head .eyebrow {
    background: rgba(32,195,235,.08) !important;
    border: 1px solid rgba(32,195,235,.2) !important;
    padding: 4px 12px; border-radius: 999px;
}

@media (max-width: 720px) {
    .product-card, .table-card, .form-card, .detail-main, .detail-side { padding: 18px !important; }
    table { font-size: 12px; }
    thead th, tbody td { padding: 9px 8px !important; }
}

/* ============================================================
   服务政策页 /policy · 暗色重写
   ============================================================ */
.policy-wrap { max-width: 880px; margin: 0 auto; padding: 56px 0 72px; }

.policy-head {
    text-align: center; max-width: 760px; margin: 0 auto 32px;
    background: transparent !important; border: none !important;
    padding: 0 !important; box-shadow: none !important;
}
.policy-head h2 { color: var(--txt) !important; font-weight: 800; letter-spacing: -.5px; }
.policy-head p { color: var(--txt-dim) !important; }
.policy-head strong { color: var(--cyan) !important; }

.policy-card {
    background: linear-gradient(170deg, rgba(16,40,69,.9), rgba(9,24,42,.94)) !important;
    border: 1px solid var(--line) !important;
    border-radius: var(--radius-lg) !important;
    margin-bottom: 20px;
    box-shadow: none !important;
    overflow: hidden;
}
.policy-card-head {
    background: rgba(11,29,51,.7) !important;
    border-bottom: 1px solid var(--line) !important;
    padding: 20px 26px !important;
}
.policy-card-head h3 { color: var(--txt) !important; font-size: 17px; font-weight: 700; margin: 0; }
.policy-card-head span, .policy-card-head .eyebrow {
    background: rgba(32,195,235,.1) !important;
    color: var(--cyan) !important;
    border: 1px solid rgba(32,195,235,.22);
    border-radius: 5px;
}
.policy-body { padding: 8px 26px 22px !important; background: transparent !important; }

.policy-item {
    padding: 18px 0 !important;
    border-bottom: 1px solid var(--line-soft) !important;
    background: transparent !important;
}
.policy-item:last-child { border-bottom: none !important; }
.policy-item h4, .policy-item strong {
    color: var(--txt) !important; font-size: 14.5px; font-weight: 700;
}
.policy-item p, .policy-item li {
    color: var(--txt-dim) !important; font-size: 13.5px; line-height: 1.85;
}
.policy-item ul { padding-left: 20px; }

.policy-note {
    background: rgba(245,158,11,.07) !important;
    border: 1px solid rgba(245,158,11,.26) !important;
    border-radius: var(--radius) !important;
    color: var(--txt-dim) !important;
    padding: 18px 22px !important;
    font-size: 13px; line-height: 1.85;
}
.policy-note strong { color: #FCD34D !important; }

@media (max-width: 720px) {
    .policy-wrap { padding: 34px 0 46px; }
    .policy-body { padding: 6px 18px 18px !important; }
    .policy-card-head { padding: 16px 18px !important; }
}

/* ============================================================
   产品图标 + 字体 + 去动画
   ============================================================ */

/* 产品实拍图标统一尺寸 */
img.picon {
    width: 48px; height: 48px; object-fit: cover;
    border-radius: 10px; display: block;
    border: 1px solid var(--line);
    background: rgba(7,20,38,.5);
}
.product-card-head .icon { width: auto !important; height: auto !important; background: transparent !important; border: none !important; }

/* 商务/科技字体 */
body, h1, h2, h3, h4, h5, .logo-cn, .btn, input, textarea, select, table th, table td, .section-head, .dn-hero h1 {
    font-family: 'HarmonyOS Sans SC', 'Source Han Sans CN', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', 'Segoe UI', system-ui, sans-serif !important;
}
.dn-hero h1, .section-head h2, .logo-cn { letter-spacing: 0 !important; }

/* 去掉文字动画/渐变文字，改为纯实色商务风 */
.dn-hero h1 em {
    background: none !important;
    -webkit-text-fill-color: initial !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
    color: var(--cyan) !important;
    font-style: normal;
}
@keyframes dnBlink { 0%,100%{opacity:1} 50%{opacity:1} }
@keyframes dnGlow { 0%,100%{opacity:1} }
@keyframes dnFlow { from { stroke-dashoffset: 0; } to { stroke-dashoffset: 0; } }
.dn-kicker-dot { animation: none !important; }
.dn-glow-pulse { animation: none !important; }
.dn-flow { animation: none !important; }

/* 数字用等宽，保持商务感 */
.dn-price .amt, .dn-zero strong, .dn-node-metric strong, .dn-statbar-item strong {
    font-variant-numeric: tabular-nums;
}

/* ============================================================
   产品列表页 /products · 机型 + 地域双维度
   ============================================================ */
.pl-page { padding: 54px 0 76px; }

.pl-head { max-width: 760px; margin: 0 0 30px; }
.pl-eyebrow {
    display: inline-block; font-size: 11.5px; font-weight: 700;
    letter-spacing: 2px; text-transform: uppercase;
    color: var(--cyan); background: rgba(32,195,235,.08);
    border: 1px solid rgba(32,195,235,.2);
    padding: 4px 12px; border-radius: 999px; margin-bottom: 14px;
}
.pl-head h1 {
    font-size: 34px; font-weight: 800; color: var(--txt);
    letter-spacing: -.6px; margin: 0 0 10px; line-height: 1.2;
}
.pl-head p { font-size: 14px; color: var(--txt-dim); line-height: 1.7; margin: 0; }

/* 筛选区 */
.pl-filter {
    background: linear-gradient(170deg, rgba(16,40,69,.6), rgba(9,24,42,.7));
    border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 20px 22px; margin-bottom: 18px;
}
.pl-filter-row { display: flex; align-items: flex-start; gap: 14px; padding: 7px 0; }
.pl-filter-label {
    flex: 0 0 auto; font-size: 12.5px; font-weight: 700; color: var(--txt-mute);
    padding-top: 7px; letter-spacing: .5px;
}
.pl-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pl-chip {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 12.5px; font-weight: 600; color: var(--txt-dim);
    background: rgba(7,20,38,.7); border: 1px solid var(--line);
    padding: 6px 13px; border-radius: 999px;
    transition: color .16s, border-color .16s, background .16s;
}
.pl-chip:hover { color: var(--txt); border-color: rgba(32,195,235,.34); }
.pl-chip.is-on {
    background: rgba(22,119,255,.16); border-color: rgba(22,119,255,.5);
    color: #93C5FD;
}
.pl-chip i {
    font-style: normal; font-size: 10.5px; font-weight: 700;
    background: rgba(255,255,255,.07); border-radius: 999px;
    padding: 1px 6px; color: var(--txt-mute);
}
.pl-chip.is-on i { background: rgba(255,255,255,.14); color: #BFDBFE; }

/* 搜索 */
.pl-search {
    display: flex; align-items: center; gap: 9px;
    margin-top: 14px; padding-top: 14px;
    border-top: 1px solid var(--line-soft);
}
.pl-search input[type=search] {
    flex: 1; min-width: 0; height: 38px; padding: 0 13px; font-size: 13px;
}
.pl-search .btn { height: 38px; }
.pl-reset { font-size: 12.5px; color: var(--txt-mute); white-space: nowrap; }
.pl-reset:hover { color: var(--cyan); }

/* 结果计数 */
.pl-count { font-size: 12.5px; color: var(--txt-mute); margin: 0 0 18px 2px; }
.pl-count strong { color: var(--cyan); font-weight: 700; }

/* 卡片网格 */
.pl-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.pl-card {
    background: linear-gradient(170deg, rgba(16,40,69,.9), rgba(9,24,42,.94));
    border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 20px; display: flex; flex-direction: column;
    transition: border-color .18s, transform .18s, box-shadow .18s;
}
.pl-card:hover {
    border-color: rgba(32,195,235,.36);
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(0,0,0,.45);
}

.pl-card-top { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.pl-card-icon { flex: 0 0 auto; }
.pl-card-icon img.picon { width: 46px; height: 46px; border-radius: 10px; }
.pl-card-title { min-width: 0; }
.pl-card-title h3 {
    font-size: 15.5px; font-weight: 700; color: var(--txt);
    margin: 0 0 6px; line-height: 1.3;
}
.pl-badge-region {
    display: inline-block; font-size: 11px; font-weight: 600;
    color: var(--cyan); background: rgba(32,195,235,.1);
    border: 1px solid rgba(32,195,235,.22);
    padding: 2px 8px; border-radius: 5px;
}

.pl-card-price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 15px; }
.pl-amt {
    font-size: 27px; font-weight: 800; color: var(--txt);
    letter-spacing: -.8px; font-variant-numeric: tabular-nums;
}
.pl-unit { font-size: 12.5px; color: var(--txt-mute); font-weight: 500; }

.pl-specs {
    list-style: none; padding: 0; margin: 0 0 17px;
    border-top: 1px solid var(--line-soft); padding-top: 13px;
    flex: 1;
}
.pl-specs li {
    display: flex; justify-content: space-between; gap: 10px;
    font-size: 12.5px; padding: 4.5px 0;
}
.pl-specs li span { color: var(--txt-mute); flex: 0 0 auto; }
.pl-specs li b {
    color: var(--txt); font-weight: 600; text-align: right;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.pl-card-foot { display: flex; gap: 8px; }
.pl-card-foot .btn-primary { flex: 1; }
.pl-card-foot .btn-ghost { flex: 0 0 64px; }

/* 空状态 */
.pl-empty { text-align: center; padding: 70px 20px; }
.pl-empty h3 { font-size: 18px; color: var(--txt); margin-bottom: 8px; }
.pl-empty p { font-size: 13.5px; color: var(--txt-mute); margin-bottom: 20px; }

/* 响应式 */
@media (max-width: 1020px) {
    .pl-grid { grid-template-columns: repeat(2, 1fr); }
    .pl-head h1 { font-size: 28px; }
}
@media (max-width: 680px) {
    .pl-page { padding: 34px 0 50px; }
    .pl-grid { grid-template-columns: 1fr; }
    .pl-head h1 { font-size: 24px; }
    .pl-filter { padding: 16px; }
    .pl-filter-row { flex-direction: column; gap: 8px; }
    .pl-filter-label { padding-top: 0; }
    .pl-search { flex-wrap: wrap; }
    .pl-search input[type=search] { flex: 1 1 100%; }
}

/* ============================================================
   产品详情页 /product/{id}
   ============================================================ */
.pd-page { padding: 46px 0 72px; }

.pd-crumb {
    display: flex; align-items: center; gap: 6px;
    font-size: 12.5px; color: var(--txt-mute); margin-bottom: 28px; flex-wrap: wrap;
}
.pd-crumb a { color: var(--txt-mute); }
.pd-crumb a:hover { color: var(--cyan); }
.pd-crumb i { color: var(--line); font-style: normal; }
.pd-crumb span { color: var(--txt-dim); }

.pd-grid {
    display: grid; grid-template-columns: 1fr 320px;
    gap: 28px; align-items: start; margin-bottom: 56px;
}

/* 主体 */
.pd-main {
    background: linear-gradient(170deg, rgba(16,40,69,.9), rgba(9,24,42,.94));
    border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
}
.pd-head {
    display: flex; gap: 16px; align-items: flex-start;
    padding: 28px 28px 0; margin-bottom: 18px;
}
.pd-icon { flex: 0 0 auto; }
.pd-icon img.picon { width: 60px; height: 60px; border-radius: 14px; }
.pd-head-txt { min-width: 0; }
.pd-badges { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 9px; }
.pd-badge {
    font-size: 11px; font-weight: 600; padding: 2px 9px;
    border-radius: 5px; background: rgba(32,195,235,.1);
    border: 1px solid rgba(32,195,235,.22); color: var(--cyan);
}
.pd-badge-dim { background: rgba(111,163,187,.08); border-color: rgba(111,163,187,.18); color: var(--txt-mute); }
.pd-badge-ok { background: rgba(34,197,94,.1); border-color: rgba(34,197,94,.24); color: #4ADE80; }
.pd-head-txt h1 { font-size: 24px; font-weight: 800; color: var(--txt); margin: 0 0 10px; }
.pd-tags { display: flex; flex-wrap: wrap; gap: 6px; }

.pd-desc { padding: 0 28px; font-size: 14px; color: var(--txt-dim); line-height: 1.8; margin-bottom: 22px; }

.pd-block { padding: 20px 28px; border-top: 1px solid var(--line-soft); }
.pd-block h2 { font-size: 14px; font-weight: 700; color: var(--txt-mute); letter-spacing: .6px; text-transform: uppercase; margin: 0 0 14px; }

/* 核心配置 */
.pd-facts { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.pd-fact {
    background: rgba(7,20,38,.6); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 12px 14px;
}
.pd-fact span { display: block; font-size: 11px; color: var(--txt-mute); margin-bottom: 4px; letter-spacing: .3px; }
.pd-fact b { font-size: 13.5px; color: var(--txt); font-weight: 700; }

/* 规格 */
.pd-specs { list-style: none; padding: 0; margin: 0; }
.pd-specs li {
    display: flex; align-items: flex-start; gap: 9px;
    padding: 7px 0; border-bottom: 1px solid var(--line-soft);
    font-size: 13.5px; color: var(--txt-dim);
}
.pd-specs li:last-child { border-bottom: none; }
.pd-specs li svg { flex: 0 0 auto; margin-top: 2px; color: var(--cyan); }

/* 服务说明 */
.pd-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pd-feat {
    background: rgba(7,20,38,.5); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 14px;
}
.pd-feat h4 { font-size: 13.5px; font-weight: 700; color: var(--txt); margin: 0 0 5px; }
.pd-feat p { font-size: 12.5px; color: var(--txt-mute); line-height: 1.7; margin: 0; }

/* 右侧购买区 */
.pd-side { position: sticky; top: 20px; }
.pd-buy {
    background: linear-gradient(170deg, rgba(16,40,69,.96), rgba(9,24,42,.98));
    border: 1px solid rgba(32,195,235,.18); border-radius: var(--radius-lg); padding: 24px;
}
.pd-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 20px; }
.pd-amt { font-size: 34px; font-weight: 800; color: var(--txt); letter-spacing: -1px; font-variant-numeric: tabular-nums; }
.pd-unit { font-size: 13px; color: var(--txt-mute); }

.pd-form { margin-bottom: 10px; }
.pd-qty-label { display: block; font-size: 12px; color: var(--txt-mute); margin-bottom: 8px; font-weight: 600; letter-spacing: .3px; }
.pd-qty {
    display: flex; align-items: center; gap: 0;
    border: 1px solid var(--line); border-radius: 10px; overflow: hidden; margin-bottom: 14px;
}
.pd-qty button {
    width: 40px; height: 40px; background: rgba(7,20,38,.7);
    color: var(--txt-dim); font-size: 18px; border: none; cursor: pointer;
    transition: background .15s, color .15s;
}
.pd-qty button:hover { background: rgba(22,119,255,.15); color: var(--txt); }
.pd-qty input {
    flex: 1; text-align: center; height: 40px; background: transparent !important;
    border: none !important; border-left: 1px solid var(--line) !important;
    border-right: 1px solid var(--line) !important;
    color: var(--txt) !important; font-weight: 700; font-size: 15px;
}
.pd-btn { width: 100%; margin-bottom: 10px; display: block; text-align: center; }

.pd-stock-off {
    text-align: center; padding: 14px; font-size: 14px; font-weight: 700;
    color: var(--txt-mute); border: 1px dashed var(--line); border-radius: 10px; margin-bottom: 14px;
}

.pd-notes { list-style: none; padding: 0; margin: 16px 0 0; border-top: 1px solid var(--line-soft); padding-top: 14px; }
.pd-notes li { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; padding: 5px 0; }
.pd-notes li span { color: var(--txt-mute); }
.pd-notes li b { color: var(--txt-dim); font-weight: 600; text-align: right; }

/* 相关产品 */
.pd-related { padding-top: 12px; }
.pd-related h2 { font-size: 18px; font-weight: 700; color: var(--txt); margin: 0 0 18px; }

/* 404 */
.pd-empty { text-align: center; padding: 80px 20px; }
.pd-empty h3 { font-size: 20px; color: var(--txt); margin-bottom: 10px; }
.pd-empty p { color: var(--txt-mute); margin-bottom: 24px; }

@media (max-width: 860px) {
    .pd-grid { grid-template-columns: 1fr; }
    .pd-side { position: static; }
    .pd-facts { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 600px) {
    .pd-page { padding: 28px 0 50px; }
    .pd-head { flex-direction: column; padding: 20px 18px 0; }
    .pd-block { padding: 16px 18px; }
    .pd-facts { grid-template-columns: 1fr 1fr; }
    .pd-feats { grid-template-columns: 1fr; }
    .pd-desc { padding: 0 18px; }
}

/* ============================================================
   购物车页 /cart
   ============================================================ */
.ct-page { padding: 46px 0 72px; }

.ct-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 28px; }
.ct-head h1 { font-size: 28px; font-weight: 800; color: var(--txt); margin: 0; }
.ct-count { font-size: 13px; color: var(--txt-mute); }

.ct-empty {
    text-align: center; padding: 80px 20px;
    color: var(--txt-mute);
}
.ct-empty svg { margin: 0 auto 20px; display: block; }
.ct-empty h3 { font-size: 18px; color: var(--txt); margin-bottom: 8px; }
.ct-empty p { font-size: 13.5px; margin-bottom: 24px; }

.ct-layout { display: grid; grid-template-columns: 1fr 300px; gap: 24px; align-items: start; }

/* 商品行 */
.ct-items {
    background: linear-gradient(170deg, rgba(16,40,69,.9), rgba(9,24,42,.94));
    border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
}
.ct-row {
    display: flex; align-items: center; gap: 14px; padding: 16px 20px;
    border-bottom: 1px solid var(--line-soft);
}
.ct-row:last-child { border-bottom: none; }
.ct-row-icon { flex: 0 0 auto; }
.ct-row-icon img.picon { width: 44px; height: 44px; border-radius: 10px; }
.ct-row-info { flex: 1; min-width: 0; }
.ct-row-info h4 { font-size: 14.5px; font-weight: 700; color: var(--txt); margin: 0 0 5px; }

.ct-row-qty { flex: 0 0 auto; }
.ct-qty {
    display: flex; align-items: center; gap: 0;
    border: 1px solid var(--line); border-radius: 8px; overflow: hidden;
}
.ct-qty button {
    width: 32px; height: 32px; background: rgba(7,20,38,.7);
    color: var(--txt-dim); border: none; cursor: pointer; font-size: 16px;
    transition: background .15s;
}
.ct-qty button:hover:not(:disabled) { background: rgba(22,119,255,.15); color: var(--txt); }
.ct-qty button:disabled { opacity: .35; cursor: not-allowed; }
.ct-qty span {
    min-width: 34px; text-align: center; font-size: 14px; font-weight: 700; color: var(--txt);
    border-left: 1px solid var(--line); border-right: 1px solid var(--line); line-height: 32px;
}

.ct-row-price { flex: 0 0 90px; text-align: right; }
.ct-unit { font-size: 11.5px; color: var(--txt-mute); margin-bottom: 3px; }
.ct-sub { font-size: 15px; font-weight: 700; color: var(--txt); font-variant-numeric: tabular-nums; }

.ct-row-del { flex: 0 0 auto; }
.ct-del {
    width: 32px; height: 32px; background: transparent;
    border: 1px solid var(--line); border-radius: 8px;
    color: var(--txt-mute); cursor: pointer; display: flex;
    align-items: center; justify-content: center;
    transition: border-color .15s, color .15s, background .15s;
}
.ct-del:hover { border-color: rgba(239,68,68,.45); color: #F87171; background: rgba(239,68,68,.08); }

/* 结算区 */
.ct-summary {
    background: linear-gradient(170deg, rgba(16,40,69,.96), rgba(9,24,42,.98));
    border: 1px solid rgba(32,195,235,.18); border-radius: var(--radius-lg);
    padding: 22px;
    position: sticky; top: 20px;
}
.ct-summary h3 { font-size: 15px; font-weight: 700; color: var(--txt); margin: 0 0 16px; }
.ct-summary-rows { margin-bottom: 14px; }
.ct-summary-row {
    display: flex; justify-content: space-between; gap: 10px;
    font-size: 13px; padding: 5px 0;
}
.ct-summary-row span { color: var(--txt-mute); }
.ct-summary-row b { color: var(--txt-dim); font-weight: 600; }
.ct-total {
    display: flex; justify-content: space-between; align-items: baseline; gap: 10px;
    padding: 14px 0 16px; border-top: 1px solid var(--line);
    margin-bottom: 14px;
}
.ct-total span { font-size: 13.5px; color: var(--txt-dim); font-weight: 600; }
.ct-total strong { font-size: 22px; font-weight: 800; color: var(--txt); font-variant-numeric: tabular-nums; }
.ct-total strong em { font-size: 13px; font-style: normal; color: var(--txt-mute); font-weight: 500; margin-left: 3px; }

.ct-tips { list-style: none; padding: 0; margin: 14px 0 0; border-top: 1px solid var(--line-soft); padding-top: 12px; }
.ct-tips li { font-size: 12px; color: var(--txt-mute); padding: 3px 0; }
.ct-tips li::before { content: '·'; margin-right: 6px; color: var(--cyan); }

@media (max-width: 800px) {
    .ct-layout { grid-template-columns: 1fr; }
    .ct-summary { position: static; }
}
@media (max-width: 520px) {
    .ct-page { padding: 28px 0 50px; }
    .ct-row { flex-wrap: wrap; gap: 10px; }
    .ct-row-price { flex: 1 1 auto; }
}

/* ============================================================
   结账页 /checkout
   ============================================================ */
.co-page { padding: 44px 0 72px; }

.co-head { margin-bottom: 26px; }
.co-head h1 { font-size: 28px; font-weight: 800; color: var(--txt); margin: 0 0 16px; }
.co-steps { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.co-steps span {
    font-size: 12.5px; color: var(--txt-mute); font-weight: 600;
    padding: 5px 12px; border-radius: 999px;
    background: rgba(7,20,38,.6); border: 1px solid var(--line);
}
.co-steps span.is-done { color: var(--txt-dim); border-color: rgba(32,195,235,.24); }
.co-steps span.is-on {
    color: #93C5FD; background: rgba(22,119,255,.16); border-color: rgba(22,119,255,.5);
}
.co-steps i { flex: 0 0 16px; height: 1px; background: var(--line); }

.co-layout { display: grid; grid-template-columns: 1fr 290px; gap: 22px; align-items: start; }

/* 卡片 */
.co-card {
    background: linear-gradient(170deg, rgba(16,40,69,.9), rgba(9,24,42,.94));
    border: 1px solid var(--line); border-radius: var(--radius-lg);
    margin-bottom: 16px; overflow: hidden;
}
.co-card-head {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding: 16px 22px; border-bottom: 1px solid var(--line-soft);
    background: rgba(11,29,51,.5);
}
.co-card-head h2 { font-size: 14.5px; font-weight: 700; color: var(--txt); margin: 0; }
.co-card-tag {
    font-size: 11px; font-weight: 700; color: var(--cyan);
    background: rgba(32,195,235,.1); border: 1px solid rgba(32,195,235,.22);
    padding: 2px 9px; border-radius: 5px;
}

/* 商品 */
.co-items { padding: 4px 0; }
.co-item {
    display: flex; align-items: center; gap: 13px;
    padding: 14px 22px; border-bottom: 1px solid var(--line-soft);
}
.co-item:last-child { border-bottom: none; }
.co-item-icon img.picon { width: 42px; height: 42px; border-radius: 9px; }
.co-item-info { flex: 1; min-width: 0; }
.co-item-info h3 { font-size: 14px; font-weight: 700; color: var(--txt); margin: 0 0 3px; }
.co-item-info p { font-size: 12px; color: var(--txt-mute); margin: 0; }
.co-item-qty { font-size: 13px; color: var(--txt-mute); flex: 0 0 auto; }
.co-item-price { font-size: 15px; font-weight: 700; color: var(--txt); flex: 0 0 84px; text-align: right; font-variant-numeric: tabular-nums; }

/* 付款区 */
.co-pay { display: grid; grid-template-columns: 1fr 190px; gap: 20px; padding: 20px 22px; }
.co-pay-amount { margin-bottom: 16px; }
.co-pay-amount span { display: block; font-size: 12px; color: var(--txt-mute); margin-bottom: 5px; }
.co-pay-amount strong { font-size: 26px; font-weight: 800; color: var(--txt); font-variant-numeric: tabular-nums; }
.co-pay-amount strong em { font-size: 13px; font-style: normal; color: var(--txt-mute); font-weight: 500; margin-left: 3px; }

.co-pay-meta { margin: 0 0 16px; padding: 0; }
.co-pay-meta > div { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; }
.co-pay-meta dt { font-size: 12.5px; color: var(--txt-mute); margin: 0; }
.co-pay-meta dd { font-size: 12.5px; color: var(--txt-dim); font-weight: 600; margin: 0; text-align: right; }

.co-wallet {
    background: rgba(7,20,38,.7); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 13px 14px;
}
.co-wallet-label { display: block; font-size: 11px; color: var(--txt-mute); margin-bottom: 6px; letter-spacing: .4px; }
.co-wallet-addr {
    font-size: 12.5px; color: var(--cyan); font-weight: 600;
    word-break: break-all; line-height: 1.5; margin-bottom: 10px;
    font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
}
.co-wallet .btn { display: inline-flex; align-items: center; gap: 6px; }

/* 二维码 */
.co-pay-right { display: flex; align-items: flex-start; justify-content: center; }
.co-qr { text-align: center; }
.qr-placeholder {
    width: 158px; height: 158px; border-radius: 10px;
    background: #fff; border: 1px solid var(--line);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.co-qr p { font-size: 11.5px; color: var(--txt-mute); margin: 8px 0 0; }

/* 提示 */
.co-warn {
    margin: 0 22px 22px; padding: 15px 17px;
    background: rgba(245,158,11,.07); border: 1px solid rgba(245,158,11,.24);
    border-radius: var(--radius);
}
.co-warn strong { display: block; font-size: 12.5px; color: #FCD34D; margin-bottom: 8px; }
.co-warn ul { margin: 0; padding-left: 17px; }
.co-warn li { font-size: 12.5px; color: var(--txt-dim); line-height: 1.85; }
.co-warn li b { color: #FCD34D; }

/* 表单 */
.co-form { padding: 20px 22px 22px; }
.co-form .form-group { margin-bottom: 16px; }
.co-form label { display: block; font-size: 12.5px; font-weight: 600; color: var(--txt-dim); margin-bottom: 7px; }
.co-form .req { color: #F87171; }
.co-form small { display: block; font-size: 11.5px; color: var(--txt-mute); margin-top: 6px; }
.co-hint {
    background: rgba(22,119,255,.08); border: 1px solid rgba(22,119,255,.2);
    border-radius: var(--radius); padding: 13px 15px; margin-bottom: 16px;
}
.co-hint strong { display: block; font-size: 12.5px; color: #93C5FD; margin-bottom: 5px; }
.co-hint p { font-size: 12.5px; color: var(--txt-dim); margin: 0; line-height: 1.75; }
.co-hint p b { color: var(--cyan); }
.co-form-note { font-size: 11.5px; color: var(--txt-mute); margin: 11px 0 0; text-align: center; line-height: 1.7; }
.co-form-note a { color: var(--cyan); }

/* 右侧汇总 */
.co-side { position: sticky; top: 20px; }
.co-sum {
    background: linear-gradient(170deg, rgba(16,40,69,.96), rgba(9,24,42,.98));
    border: 1px solid rgba(32,195,235,.18); border-radius: var(--radius-lg); padding: 20px;
}
.co-sum h3 { font-size: 14.5px; font-weight: 700; color: var(--txt); margin: 0 0 14px; }
.co-sum-rows { margin-bottom: 12px; }
.co-sum-row { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; padding: 5px 0; }
.co-sum-row span { color: var(--txt-mute); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.co-sum-row b { color: var(--txt-dim); font-weight: 600; flex: 0 0 auto; }
.co-sum-total {
    display: flex; justify-content: space-between; align-items: baseline; gap: 8px;
    padding-top: 12px; border-top: 1px solid var(--line);
}
.co-sum-total span { font-size: 13px; color: var(--txt-dim); font-weight: 600; }
.co-sum-total strong { font-size: 20px; font-weight: 800; color: var(--txt); font-variant-numeric: tabular-nums; }
.co-sum-total strong em { font-size: 12px; font-style: normal; color: var(--txt-mute); font-weight: 500; margin-left: 2px; }
.co-sum-tips { list-style: none; padding: 12px 0 0; margin: 12px 0 0; border-top: 1px solid var(--line-soft); }
.co-sum-tips li { font-size: 11.5px; color: var(--txt-mute); padding: 3px 0; }
.co-sum-tips li::before { content: '·'; margin-right: 6px; color: var(--cyan); }

@media (max-width: 880px) {
    .co-layout { grid-template-columns: 1fr; }
    .co-side { position: static; }
    .co-pay { grid-template-columns: 1fr; }
    .co-pay-right { justify-content: flex-start; }
}
@media (max-width: 560px) {
    .co-page { padding: 28px 0 50px; }
    .co-head h1 { font-size: 23px; }
    .co-item { padding: 12px 16px; }
    .co-pay, .co-form { padding: 16px; }
    .co-warn { margin: 0 16px 16px; }
    .co-card-head { padding: 13px 16px; }
}

/* ============================================================
   订单详情页 /order/{no}
   ============================================================ */
.od-page { padding: 44px 0 72px; }

.od-empty { text-align: center; padding: 80px 20px; }
.od-empty h3 { font-size: 20px; color: var(--txt); margin-bottom: 10px; }
.od-empty p { color: var(--txt-mute); margin-bottom: 24px; }

.od-head {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    margin-bottom: 20px; flex-wrap: wrap;
}
.od-head h1 { font-size: 26px; font-weight: 800; color: var(--txt); margin: 0 0 6px; }
.od-no { font-size: 12.5px; color: var(--txt-mute); font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace; }

.od-status {
    font-size: 12.5px; font-weight: 700; padding: 6px 14px; border-radius: 999px;
    border: 1px solid var(--line);
}
.od-status-warning { color: #FCD34D; background: rgba(245,158,11,.12); border-color: rgba(245,158,11,.28); }
.od-status-info    { color: #93C5FD; background: rgba(22,119,255,.14); border-color: rgba(22,119,255,.3); }
.od-status-success { color: #4ADE80; background: rgba(34,197,94,.12); border-color: rgba(34,197,94,.26); }
.od-status-danger  { color: #F87171; background: rgba(239,68,68,.12); border-color: rgba(239,68,68,.26); }
.od-status-muted   { color: var(--txt-mute); background: rgba(111,163,187,.08); }

.od-banner {
    display: flex; gap: 14px; align-items: flex-start;
    padding: 16px 20px; border-radius: var(--radius-lg);
    margin-bottom: 20px; border: 1px solid;
}
.od-banner strong { font-size: 14px; display: block; margin-bottom: 4px; }
.od-banner p { font-size: 13px; margin: 0; line-height: 1.7; }
.od-banner-ok   { background: rgba(34,197,94,.08); border-color: rgba(34,197,94,.22); }
.od-banner-ok strong { color: #4ADE80; }
.od-banner-ok p { color: var(--txt-dim); }
.od-banner-info { background: rgba(22,119,255,.08); border-color: rgba(22,119,255,.22); }
.od-banner-info strong { color: #93C5FD; }
.od-banner-info p { color: var(--txt-dim); }
.od-banner-warn { background: rgba(245,158,11,.07); border-color: rgba(245,158,11,.22); }
.od-banner-warn strong { color: #FCD34D; }
.od-banner-warn p { color: var(--txt-dim); }

.od-layout { display: grid; grid-template-columns: 1fr 280px; gap: 20px; align-items: start; }

/* 卡片 */
.od-card {
    background: linear-gradient(170deg, rgba(16,40,69,.9), rgba(9,24,42,.94));
    border: 1px solid var(--line); border-radius: var(--radius-lg);
    margin-bottom: 14px; overflow: hidden;
}
.od-card-head {
    padding: 14px 20px; border-bottom: 1px solid var(--line-soft);
    background: rgba(11,29,51,.5);
}
.od-card-head h2 { font-size: 14px; font-weight: 700; color: var(--txt); margin: 0; }

/* 订单信息 */
.od-meta { margin: 0; padding: 18px 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.od-meta > div { display: flex; flex-direction: column; gap: 3px; }
.od-meta > .od-full { grid-column: 1 / -1; }
.od-meta dt { font-size: 11.5px; color: var(--txt-mute); margin: 0; }
.od-meta dd { font-size: 13px; color: var(--txt-dim); margin: 0; font-weight: 500; }
.od-meta dd b { color: var(--cyan); font-weight: 700; font-variant-numeric: tabular-nums; }
.od-mono { font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace; word-break: break-all; font-size: 12px !important; }

/* 商品 */
.od-items { padding: 2px 0; }
.od-item {
    display: flex; align-items: center; gap: 14px;
    padding: 13px 20px; border-bottom: 1px solid var(--line-soft);
}
.od-item:last-child { border-bottom: none; }
.od-item-info { flex: 1; min-width: 0; }
.od-item-info h3 { font-size: 14px; font-weight: 700; color: var(--txt); margin: 0 0 3px; }
.od-item-info p { font-size: 12px; color: var(--txt-mute); margin: 0; }
.od-item-qty { font-size: 13px; color: var(--txt-mute); flex: 0 0 auto; }
.od-item-price { font-size: 14.5px; font-weight: 700; color: var(--txt); flex: 0 0 84px; text-align: right; font-variant-numeric: tabular-nums; }

/* 交付信息 */
.od-deliver { padding: 18px 20px; }
.od-deliver pre {
    background: rgba(7,20,38,.7); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 16px;
    white-space: pre-wrap; word-break: break-all; overflow-x: auto;
    font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
    font-size: 13px; color: var(--txt-dim); line-height: 1.75; margin: 0 0 12px;
}
.od-deliver .btn { display: inline-flex; align-items: center; gap: 6px; }

/* 待付款 */
.od-pending { padding: 18px 20px; }
.od-pending-note { font-size: 12px; color: var(--txt-mute); margin: 14px 0 0; line-height: 1.7; }

/* 右侧 */
.od-side { position: sticky; top: 20px; }
.od-sum {
    background: linear-gradient(170deg, rgba(16,40,69,.96), rgba(9,24,42,.98));
    border: 1px solid rgba(32,195,235,.18); border-radius: var(--radius-lg); padding: 20px;
}
.od-sum h3 { font-size: 14.5px; font-weight: 700; color: var(--txt); margin: 0 0 14px; }
.od-sum-row { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; padding: 5px 0; }
.od-sum-row span { color: var(--txt-mute); }
.od-sum-row b { color: var(--txt-dim); font-weight: 600; }
.od-sum-total {
    display: flex; justify-content: space-between; align-items: baseline; gap: 8px;
    padding-top: 12px; border-top: 1px solid var(--line); margin-top: 8px;
}
.od-sum-total span { font-size: 13px; color: var(--txt-dim); font-weight: 600; }
.od-sum-total strong { font-size: 20px; font-weight: 800; color: var(--txt); font-variant-numeric: tabular-nums; }
.od-sum-total strong em { font-size: 12px; font-style: normal; color: var(--txt-mute); font-weight: 500; margin-left: 2px; }

@media (max-width: 820px) {
    .od-layout { grid-template-columns: 1fr; }
    .od-side { position: static; }
    .od-meta { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .od-page { padding: 28px 0 50px; }
    .od-head h1 { font-size: 21px; }
    .od-card-head { padding: 12px 16px; }
    .od-meta, .od-item, .od-deliver, .od-pending { padding-left: 16px; padding-right: 16px; }
}

/* ============================================================
   用户中心 /account
   ============================================================ */
.ac-page { padding: 44px 0 72px; }
.ac-layout { display: grid; grid-template-columns: 220px 1fr; gap: 22px; align-items: start; }

/* 侧栏 */
.ac-side {
    background: linear-gradient(170deg, rgba(16,40,69,.9), rgba(9,24,42,.94));
    border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 18px; position: sticky; top: 20px;
}
.ac-user { display: flex; align-items: center; gap: 11px; padding-bottom: 15px; border-bottom: 1px solid var(--line-soft); margin-bottom: 12px; }
.ac-avatar {
    width: 40px; height: 40px; flex: 0 0 40px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #20C3EB);
    color: #fff; font-size: 17px; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
}
.ac-user-txt { min-width: 0; }
.ac-username { font-size: 14px; font-weight: 700; color: var(--txt); margin-bottom: 2px; overflow: hidden; text-overflow: ellipsis; }
.ac-email { font-size: 11.5px; color: var(--txt-mute); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.ac-menu { list-style: none; padding: 0; margin: 0; }
.ac-menu li { margin-bottom: 3px; }
.ac-menu li:last-child { margin: 10px 0 0; padding-top: 10px; border-top: 1px solid var(--line-soft); }
.ac-menu form { margin: 0; }
.ac-menu a, .ac-menu button {
    display: flex; align-items: center; gap: 9px; width: 100%;
    padding: 9px 11px; border-radius: 9px; border: 1px solid transparent;
    background: transparent; color: var(--txt-mute); font-size: 13px; font-weight: 600;
    font-family: inherit; text-align: left; cursor: pointer;
    transition: background .15s, color .15s, border-color .15s;
}
.ac-menu a:hover, .ac-menu button:hover { background: rgba(22,119,255,.09); color: var(--txt-dim); }
.ac-menu a.is-on {
    background: rgba(22,119,255,.16); border-color: rgba(22,119,255,.36); color: #93C5FD;
}
.ac-menu svg { flex: 0 0 auto; opacity: .85; }

/* 主区 */
.ac-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.ac-head h1 { font-size: 24px; font-weight: 800; color: var(--txt); margin: 0; }
.ac-count { font-size: 12.5px; color: var(--txt-mute); }

/* 订单列表 */
.ac-orders { display: flex; flex-direction: column; gap: 8px; }
.ac-order {
    display: flex; align-items: center; gap: 14px;
    padding: 15px 18px; border-radius: var(--radius-lg);
    background: linear-gradient(170deg, rgba(16,40,69,.9), rgba(9,24,42,.94));
    border: 1px solid var(--line); color: inherit;
    transition: border-color .15s, transform .15s;
}
.ac-order:hover { border-color: rgba(32,195,235,.34); transform: translateY(-1px); }
.ac-order-main { flex: 1; min-width: 0; }
.ac-order-no {
    font-size: 13.5px; font-weight: 700; color: var(--txt); margin-bottom: 3px;
    font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
}
.ac-order-time { font-size: 11.5px; color: var(--txt-mute); }
.ac-order-amt { font-size: 15px; font-weight: 700; color: var(--txt); font-variant-numeric: tabular-nums; flex: 0 0 auto; }
.ac-order-amt em { font-size: 11.5px; font-style: normal; color: var(--txt-mute); font-weight: 500; }
.ac-order-go { flex: 0 0 auto; color: var(--txt-mute); display: flex; }
.ac-order:hover .ac-order-go { color: var(--cyan); }

/* 账户信息 */
.ac-card {
    background: linear-gradient(170deg, rgba(16,40,69,.9), rgba(9,24,42,.94));
    border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px;
}
.ac-fields { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ac-fields > div { display: flex; flex-direction: column; gap: 5px; }
.ac-fields dt { font-size: 11.5px; color: var(--txt-mute); margin: 0; }
.ac-fields dd { font-size: 14.5px; font-weight: 600; color: var(--txt); margin: 0; }

@media (max-width: 760px) {
    .ac-layout { grid-template-columns: 1fr; }
    .ac-side { position: static; }
    .ac-fields { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
    .ac-page { padding: 28px 0 50px; }
    .ac-head h1 { font-size: 20px; }
    .ac-order { flex-wrap: wrap; gap: 9px; padding: 13px 15px; }
    .ac-order-main { flex: 1 1 100%; }
}
