/* ============================================================
   VioletWave · 紫罗兰球场体育赛事资讯门户模板
   主样式表 —— 全部代码原创，未复制任何第三方样式内容
   浅色纸感底 × 钴蓝主色 × 琥珀信号点缀
   ============================================================ */

/* ---------- 1. 主题变量 ---------- */
:root {
    --cw-blue: #8b5cf6;
    --cw-blue-d: #6d28d9;
    --cw-blue-l: #a78bfa;
    --cw-night: #4c1d95;
    --cw-deep: #5b21b6;
    --cw-signal: #f59e0b;
    --cw-signal-d: #d97706;
    --cw-ink: #0f172a;
    --cw-muted: #64748b;
    --cw-line: #e2e8f0;
    --cw-paper: #f8fafc;
    --cw-card: #ffffff;
    --cw-hull: #0b1220;
    --cw-shell: min(1120px, 100% - 32px);
    --cw-dock-w: 88px;
    --cw-helm-h: 52px;
    --cw-r: 12px;
    --cw-shadow: 0 14px 36px rgba(30, 58, 138, 0.12);
}

/* ---------- 2. 基础重置 ---------- */
*, *::before, *::after { box-sizing: border-box; }
.cw-body {
    margin: 0;
    overflow-x: clip;
    background: var(--cw-paper);
    color: var(--cw-ink);
    font-family: "Segoe UI", system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
.cw-body.mip-page { padding-right: var(--cw-dock-w); }
.cw-body a { color: var(--cw-blue-d); }
.cw-body h1, .cw-body h2, .cw-body h3, .cw-body h4, .cw-body h5 { line-height: 1.3; }
.cw-shell { width: var(--cw-shell); margin-inline: auto; padding-inline: 16px; }
.cw-hull { min-height: 100vh; display: flex; flex-direction: column; }
.cw-deck { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.mipcms-main { padding: 0; }
.list-unstyled { margin: 0; padding: 0; list-style: none; }
.cw-hide-sm { display: initial; }

/* ---------- 3. 通用组件 ---------- */
.cw-btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 10px 18px; border-radius: 999px;
    font-size: 13px; font-weight: 800; text-decoration: none;
    border: 2px solid transparent; cursor: pointer; white-space: nowrap;
}
.cw-btn.sm { padding: 6px 12px; font-size: 12px; }
.cw-btn.lg { padding: 12px 24px; font-size: 14px; }
.cw-btn--signal { color: #fff; background: linear-gradient(135deg, var(--cw-signal), var(--cw-signal-d)); box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35); }
.cw-btn--mint { color: #fff; background: linear-gradient(135deg, var(--cw-blue), var(--cw-blue-d)); box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3); }
.cw-btn--ghost { background: #fff; border-color: var(--cw-line); color: var(--cw-blue-d); }
.cw-btn--outline { background: #fff; border-color: var(--cw-blue-l); color: var(--cw-blue-d); }
.cw-btn--on-dark { background: rgba(255, 255, 255, 0.08); border-color: rgba(147, 197, 253, 0.45); color: #ede9fe; }
.cw-pill {
    display: inline-block; padding: 8px 16px; border-radius: 999px;
    font-size: 12px; font-weight: 800; text-decoration: none;
    background: #fff; border: 1px solid var(--cw-line); color: var(--cw-ink);
}
.cw-pill.is-active, .cw-pill.on { background: var(--cw-blue); color: #fff; border-color: var(--cw-blue); }
.cw-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 11px; font-weight: 900; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--cw-blue-d);
}
.cw-eyebrow.on-dark { color: #fcd34d; }
.cw-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #fcd34d, var(--cw-signal));
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.7);
    animation: cw-breathe 2.4s ease-in-out infinite;
}
@keyframes cw-breathe { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.6; transform: scale(0.82); } }

/* 图片框：圆角 + 蓝雾渐变占位底 */
.cw-frame { margin: 0; display: block; overflow: hidden; }
.cw-frame__box {
    display: block; position: relative; overflow: hidden;
    border-radius: var(--cw-r);
    background: linear-gradient(145deg, #ede9fe, #c4b5fd);
}
.cw-frame__box .frame-inner { display: block; position: relative; width: 100%; height: 100%; }
.cw-frame__box mip-img, .cw-frame__box img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cw-frame__box mip-img img { border-radius: var(--cw-r); }

/* 分区容器 */
.cw-sec { padding: 44px 0; }
.cw-sec.tight { padding: 26px 0; }
.cw-sec--paper { background: #fff; }
.cw-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 28px; margin-bottom: 26px; flex-wrap: wrap; }
.cw-head h2 { margin: 6px 0 0; font-size: 24px; font-weight: 900; color: var(--cw-night); }
.cw-head .aside-copy { max-width: 420px; margin: 0; font-size: 13px; color: var(--cw-muted); }

/* 面包屑 */
.cw-crumb { font-size: 12px; font-weight: 700; color: var(--cw-muted); margin-bottom: 14px; }
.cw-crumb a { color: var(--cw-blue-d); text-decoration: none; }

/* ---------- 4. 吸顶毛玻璃导航（Helm） ---------- */
.cw-helm {
    position: sticky; top: 0; z-index: 400; min-height: var(--cw-helm-h);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--cw-line);
}
.cw-helm__row { display: grid; grid-template-columns: auto 1fr auto; gap: 12px 16px; align-items: center; padding-block: 10px; }
.cw-helm__brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--cw-night); }
.cw-helm__mark { position: relative; flex-shrink: 0; width: 38px; height: 38px; display: grid; place-items: center; }
.cw-helm__mark .halo {
    position: absolute; inset: 0; z-index: 1; border-radius: 11px;
    background: conic-gradient(from 210deg, #8b5cf6, #a78bfa, #f59e0b, #8b5cf6);
    opacity: 0.22; animation: cw-spin 12s linear infinite;
}
@keyframes cw-spin { to { transform: rotate(360deg); } }
.cw-helm__mark .tile {
    position: relative; z-index: 2; width: 34px; height: 34px;
    display: grid; place-items: center;
    border-radius: 9px; box-shadow: 0 6px 16px rgba(30, 58, 138, 0.22);
    background: linear-gradient(140deg, var(--cw-blue), var(--cw-night));
    color: #fff; font-size: 14px; font-weight: 900; letter-spacing: 0.02em;
}
.cw-helm__mark .glint {
    position: absolute; right: 2px; top: 2px; z-index: 3; width: 7px; height: 7px; border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #fef3c7, var(--cw-signal));
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.75);
    animation: cw-glint 2.2s ease-in-out infinite;
}
@keyframes cw-glint { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.8); } }
.cw-helm__brand-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.cw-helm__brand-name { font-size: 14px; font-weight: 900; line-height: 1.15; color: var(--cw-night); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cw-helm__brand-sub { font-size: 10px; font-weight: 700; color: var(--cw-muted); line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 28ch; }
.cw-helm__trail { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 10px; min-width: 0; }
.cw-helm__trail ul { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 10px; }
.cw-helm__trail a {
    padding: 4px 10px; border-radius: 999px; text-decoration: none;
    font-size: 12px; font-weight: 800; color: var(--cw-blue-d);
    background: var(--cw-paper); border: 1px solid var(--cw-line); white-space: nowrap;
}
.cw-helm__trail a:hover, .cw-helm__trail li.active > a { color: var(--cw-night); border-color: var(--cw-blue-l); background: #f5f3ff; }
.cw-helm__acts { display: flex; align-items: center; gap: 8px; }

/* 移动端折叠导航 */
.cw-nav-state { display: none; }
.cw-burger { display: none; flex-direction: column; gap: 4px; padding: 8px; cursor: pointer; border: 1px solid var(--cw-line); border-radius: 8px; background: #fff; }
.cw-burger span { display: block; width: 16px; height: 2px; border-radius: 2px; background: var(--cw-night); }

/* ---------- 5. 右侧信标停泊坞（Dock） ---------- */
.cw-dock {
    position: fixed; right: 0; top: 0; bottom: 0; z-index: 500;
    width: var(--cw-dock-w);
    display: flex; flex-direction: column; align-items: center;
    padding: 16px 8px calc(16px + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, var(--cw-night) 0%, var(--cw-deep) 100%);
    border-left: 2px solid var(--cw-signal);
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
}
.cw-dock__beacon {
    width: 14px; height: 14px; border-radius: 50%; margin-bottom: 14px;
    background: radial-gradient(circle at 30% 30%, #fcd34d, var(--cw-signal));
    box-shadow: 0 0 16px rgba(245, 158, 11, 0.7);
    animation: cw-beacon 2.4s ease-in-out infinite;
}
@keyframes cw-beacon { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.15); opacity: 0.75; } }
.cw-dock__nav { display: flex; flex-direction: column; gap: 6px; flex: 1; width: 100%; overflow: hidden; }
.cw-dock__node {
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    padding: 10px 4px; border-radius: 10px; text-decoration: none;
    color: #ddd6fe; font-size: 10px; font-weight: 800; text-align: center;
}
.cw-dock__node:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.cw-dock__node.is-active { color: #fff; background: rgba(245, 158, 11, 0.22); box-shadow: inset 3px 0 0 var(--cw-signal); }
.cw-dock__ico { font-size: 18px; line-height: 1; }
.cw-dock__foot { margin-top: 10px; font-size: 9px; font-weight: 900; letter-spacing: 0.12em; color: rgba(191, 219, 254, 0.6); writing-mode: vertical-rl; }

/* ---------- 6. 首页视觉区（Visor） ---------- */
.cw-visor { position: relative; background: radial-gradient(ellipse 70% 90% at 15% 0%, rgba(37, 99, 235, 0.5), transparent 60%), radial-gradient(ellipse 60% 80% at 90% 100%, rgba(245, 158, 11, 0.16), transparent 55%), linear-gradient(160deg, #2e1065, var(--cw-night) 55%, var(--cw-deep)); padding: 34px 0 40px; color: #e2e8f0; }
.cw-visor__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 30px; }
.cw-visor__grid .cw-frame__box { aspect-ratio: 16 / 10; }
.cw-visor__grid a { text-decoration: none; }
.cw-visor__grid .cap {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 5;
    padding: 18px 12px 9px; font-size: 11px; font-weight: 800; color: #fff;
    background: linear-gradient(180deg, transparent, rgba(11, 18, 32, 0.78));
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cw-visor__intro { max-width: 760px; margin: 0 auto; text-align: center; }
.cw-visor__intro h1 { margin: 10px 0 12px; font-size: 28px; font-weight: 900; color: #fff; }
.cw-visor__intro h1 em { font-style: normal; color: #fcd34d; }
.cw-visor__intro p { margin: 0 auto 20px; font-size: 14px; color: #c4b5fd; max-width: 640px; }
.cw-visor__cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cw-visor__meta { display: flex; gap: 26px; justify-content: center; margin-top: 26px; flex-wrap: wrap; }
.cw-visor__meta div { text-align: center; }
.cw-visor__meta .num { font-size: 20px; font-weight: 900; color: #fcd34d; }
.cw-visor__meta .lab { font-size: 11px; font-weight: 700; color: #ddd6fe; }

/* ---------- 7. 要闻滚动带（Marquee） ---------- */
.cw-marquee { border-block: 1px solid var(--cw-line); background: #fff; overflow: hidden; }
.cw-marquee__inner { display: flex; align-items: center; gap: 14px; padding-block: 9px; }
.cw-marquee__label { flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 900; letter-spacing: 0.1em; color: var(--cw-signal-d); padding-left: 16px; }
.cw-marquee__lane { flex: 1; overflow: hidden; min-width: 0; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.cw-marquee__track { display: inline-flex; gap: 34px; white-space: nowrap; animation: cw-run 36s linear infinite; will-change: transform; }
.cw-marquee__track:hover { animation-play-state: paused; }
.cw-marquee__track a { font-size: 12px; font-weight: 700; color: var(--cw-ink); text-decoration: none; }
.cw-marquee__track a:hover { color: var(--cw-blue-d); }
.cw-marquee__track a::before { content: "◆"; color: var(--cw-blue-l); margin-right: 8px; font-size: 9px; }
@keyframes cw-run { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- 8. 栏目梯（Ladder） ---------- */
.cw-ladder__track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 1fr); gap: 12px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.cw-ladder__cell {
    display: flex; flex-direction: column; gap: 4px; text-decoration: none;
    padding: 16px 14px; border-radius: var(--cw-r);
    background: #fff; border: 1px solid var(--cw-line);
    transition: border-color 0.15s, transform 0.15s;
}
.cw-ladder__cell:hover { border-color: var(--cw-blue-l); transform: translateY(-2px); }
.cw-ladder__cell b { font-size: 14px; font-weight: 900; color: var(--cw-night); }
.cw-ladder__cell small { font-size: 11px; color: var(--cw-muted); }
.cw-ladder__cell .k { font-size: 10px; font-weight: 900; letter-spacing: 0.12em; color: var(--cw-signal-d); }

/* ---------- 9. 编辑推荐 · 拱形卡（Picks） ---------- */
.cw-picks__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cw-pick {
    display: block; text-decoration: none; padding: 18px;
    border-radius: 50% 50% 12px 12px / 20% 20% 12px 12px;
    border: 1px solid var(--cw-line); background: rgba(255, 255, 255, 0.6);
    transition: border-color 0.15s, background 0.15s;
}
.cw-pick:hover { border-color: var(--cw-blue-l); background: #f5f3ff; }
.cw-pick .cw-frame__box { aspect-ratio: 4 / 3; margin-bottom: 12px; border-radius: 46% 46% 10px 10px / 30% 30% 10px 10px; }
.cw-pick h3 { margin: 0 0 6px; font-size: 14px; font-weight: 900; color: var(--cw-night); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cw-pick p { margin: 0; font-size: 12px; color: var(--cw-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cw-pick time { display: block; margin-top: 10px; font-size: 11px; font-weight: 800; color: var(--cw-signal-d); }

/* ---------- 10. 板块导读（Brief） ---------- */
.cw-brief__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 26px; align-items: start; }
.cw-brief__lead h2 { margin: 8px 0 12px; font-size: 22px; font-weight: 900; color: var(--cw-night); }
.cw-brief__lead p { font-size: 13px; color: var(--cw-muted); }
.cw-brief__panel { display: grid; gap: 12px; }
.cw-brief__item { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; padding: 16px; border-radius: var(--cw-r); background: #fff; border: 1px solid var(--cw-line); text-decoration: none; transition: border-color 0.15s, box-shadow 0.15s; }
.cw-brief__item:hover { border-color: var(--cw-blue-l); box-shadow: var(--cw-shadow); }
.cw-brief__item .no { font-size: 20px; font-weight: 900; color: var(--cw-blue-l); font-style: normal; line-height: 1.2; }
.cw-brief__item b { display: block; font-size: 14px; font-weight: 900; color: var(--cw-night); margin-bottom: 4px; }
.cw-brief__item span { font-size: 12px; color: var(--cw-muted); }

/* ---------- 11. 赛事覆盖矩阵（Scope） ---------- */
.cw-scope__ring { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.cw-scope__tile {
    display: block; padding: 16px; border-radius: var(--cw-r); text-decoration: none;
    background: #fff; border: 1px solid var(--cw-line);
    transition: border-color 0.15s, transform 0.15s;
}
.cw-scope__tile:hover { border-color: var(--cw-blue-l); transform: translateY(-2px); }
.cw-scope__tile .ico { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 10px; border-radius: 9px; background: #f5f3ff; border: 1px solid #ede9fe; font-size: 17px; }
.cw-scope__tile b { display: block; font-size: 14px; font-weight: 900; color: var(--cw-night); margin-bottom: 4px; }
.cw-scope__tile span { font-size: 12px; color: var(--cw-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- 12. 资讯流（Stream） ---------- */
.cw-stream__feature { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 18px; align-items: stretch; margin-bottom: 18px; text-decoration: none; }
.cw-stream__feature .cw-frame__box { min-height: 260px; }
.cw-stream__feature .copy { display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 20px; border-radius: var(--cw-r); background: #fff; border: 1px solid var(--cw-line); }
.cw-stream__feature .copy time { font-size: 11px; font-weight: 900; letter-spacing: 0.1em; color: var(--cw-signal-d); }
.cw-stream__feature .copy h3 { margin: 0; font-size: 19px; font-weight: 900; color: var(--cw-night); }
.cw-stream__feature .copy p { margin: 0; font-size: 13px; color: var(--cw-muted); }
.cw-stream__rows { display: grid; gap: 10px; }
.cw-stream__row { display: grid; grid-template-columns: 78px 1fr auto; gap: 14px; align-items: center; padding: 12px 16px; border-radius: var(--cw-r); background: #fff; border: 1px solid var(--cw-line); text-decoration: none; transition: border-color 0.15s; }
.cw-stream__row:hover { border-color: var(--cw-blue-l); }
.cw-stream__row .date { font-size: 12px; font-weight: 900; color: var(--cw-signal-d); }
.cw-stream__row b { font-size: 14px; font-weight: 800; color: var(--cw-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cw-stream__row .views { font-size: 11px; font-weight: 700; color: var(--cw-muted); white-space: nowrap; }

/* ---------- 13. 图文精选（Folio） ---------- */
.cw-folio__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cw-folio__card { display: block; padding: 12px; border-radius: var(--cw-r); background: #fff; border: 1px solid var(--cw-line); text-decoration: none; transition: border-color 0.15s, box-shadow 0.15s; }
.cw-folio__card:hover { border-color: var(--cw-blue-l); box-shadow: var(--cw-shadow); }
.cw-folio__card .cw-frame__box { aspect-ratio: 16 / 9; margin-bottom: 12px; }
.cw-folio__card h3 { margin: 0 0 6px; font-size: 14px; font-weight: 900; color: var(--cw-night); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cw-folio__card p { margin: 0 0 10px; font-size: 12px; color: var(--cw-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cw-folio__card .meta { display: flex; justify-content: space-between; font-size: 11px; font-weight: 700; color: var(--cw-muted); }
.cw-folio__card .meta .date { color: var(--cw-signal-d); }

/* ---------- 14. 热榜（Hot，编号列表） ---------- */
.cw-hot__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 22px; }
.cw-hot__item { display: grid; grid-template-columns: 30px 1fr auto; gap: 12px; align-items: center; padding: 11px 4px; border-bottom: 1px dashed var(--cw-line); text-decoration: none; }
.cw-hot__item .idx { font-size: 15px; font-weight: 900; font-style: normal; color: var(--cw-blue-l); text-align: center; }
.cw-hot__item:nth-child(-n+3) .idx { color: var(--cw-signal-d); }
.cw-hot__item b { font-size: 13px; font-weight: 800; color: var(--cw-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cw-hot__item .views { font-size: 11px; color: var(--cw-muted); white-space: nowrap; }

/* ---------- 15. 多端引导带（AppBand） ---------- */
.cw-appband { background: linear-gradient(150deg, #2e1065, var(--cw-night) 60%, var(--cw-deep)); color: #e2e8f0; padding: 40px 0; }
.cw-appband__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 26px; align-items: center; }
.cw-appband h2 { margin: 10px 0 10px; font-size: 22px; font-weight: 900; color: #fff; }
.cw-appband p { margin: 0 0 18px; font-size: 13px; color: #c4b5fd; max-width: 560px; }
.cw-appband__btns { display: flex; gap: 12px; flex-wrap: wrap; }
.cw-appband__stats { display: flex; gap: 24px; margin-top: 20px; flex-wrap: wrap; }
.cw-appband__stats .num { font-size: 18px; font-weight: 900; color: #fcd34d; }
.cw-appband__stats .lab { font-size: 11px; font-weight: 700; color: #ddd6fe; }
.cw-slab { justify-self: end; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 22px 26px; border-radius: var(--cw-r); background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(147, 197, 253, 0.3); }
.cw-slab .qr { display: grid; place-items: center; width: 108px; height: 108px; border-radius: 10px; background: #fff; padding: 8px; }
.cw-slab .bars { display: flex; gap: 3px; align-items: flex-end; height: 44px; }
.cw-slab .bars i { width: 5px; border-radius: 2px; background: var(--cw-night); }
.cw-slab .bars i:nth-child(1) { height: 26px; } .cw-slab .bars i:nth-child(2) { height: 40px; } .cw-slab .bars i:nth-child(3) { height: 32px; } .cw-slab .bars i:nth-child(4) { height: 44px; } .cw-slab .bars i:nth-child(5) { height: 20px; }
.cw-slab small { font-size: 11px; font-weight: 800; color: #ddd6fe; }

/* ---------- 16. 引航承诺（Trust） ---------- */
.cw-trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.cw-trust__cell { padding: 18px 16px; border-radius: var(--cw-r); background: #fff; border: 1px solid var(--cw-line); }
.cw-trust__cell .ico { display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 10px; border-radius: 50%; background: linear-gradient(140deg, #f5f3ff, #ede9fe); color: var(--cw-blue-d); font-size: 16px; font-weight: 900; }
.cw-trust__cell b { display: block; font-size: 14px; font-weight: 900; color: var(--cw-night); margin-bottom: 5px; }
.cw-trust__cell p { margin: 0; font-size: 12px; color: var(--cw-muted); }

/* ---------- 17. 行动召唤（End CTA） ---------- */
.cw-end { padding: 40px 0 46px; }
.cw-end__box { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 34px 20px; border-radius: calc(var(--cw-r) + 6px); text-align: center; background: radial-gradient(ellipse 60% 100% at 50% 0%, rgba(96, 165, 250, 0.14), transparent 60%), #fff; border: 1px solid var(--cw-line); box-shadow: var(--cw-shadow); }
.cw-end__box h2 { margin: 0; font-size: 22px; font-weight: 900; color: var(--cw-night); }
.cw-end__box p { margin: 0; font-size: 13px; color: var(--cw-muted); max-width: 520px; }
.cw-end__box .btns { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* ---------- 18. 页脚（Harbor） ---------- */
.cw-harbor { margin-top: auto; position: relative; background: var(--cw-hull); color: #cbd5e1; font-size: 13px; overflow: hidden; }
.cw-harbor__rim { background: linear-gradient(90deg, var(--cw-blue) 0%, var(--cw-deep) 45%, var(--cw-signal) 100%); }
.cw-harbor__rim-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; min-height: 36px; }
.cw-harbor__rim-tag { font-size: 10px; font-weight: 900; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.92); }
.cw-harbor__rim-beacon { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 800; color: #fff; }
.cw-harbor__rim-beacon::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.25); animation: cw-glint 2.4s ease-in-out infinite; }
.cw-harbor__plate { position: relative; padding: 32px 0 28px; background: radial-gradient(ellipse 80% 60% at 10% 0%, rgba(37, 99, 235, 0.22), transparent 55%), radial-gradient(ellipse 60% 50% at 95% 100%, rgba(245, 158, 11, 0.12), transparent 50%), #0f172a; }
.cw-harbor__grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 860px) { .cw-harbor__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr) minmax(0, 0.9fr); gap: 28px; align-items: start; } }
.cw-harbor__mark { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--cw-r); background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(148, 163, 184, 0.18); }
.cw-harbor__mark-tile { flex-shrink: 0; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: linear-gradient(140deg, var(--cw-blue), var(--cw-night)); color: #fff; font-weight: 900; box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35); }
.cw-harbor__mark-name { display: block; margin-bottom: 6px; font-size: 16px; font-weight: 900; color: #fff; line-height: 1.2; }
.cw-harbor__mark-desc { margin: 0; font-size: 12px; line-height: 1.55; color: #94a3b8; max-width: 36ch; }
.cw-tpl-badge { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; padding: 6px 12px; border-radius: 999px; background: rgba(30, 58, 138, 0.35); border: 1px solid rgba(96, 165, 250, 0.35); font-size: 11px; font-weight: 800; color: #ddd6fe; }
.cw-tpl-badge b { color: #fcd34d; font-weight: 900; }
.cw-harbor__docks { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.cw-harbor__dock { padding: 12px 14px; border-radius: var(--cw-r); background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(148, 163, 184, 0.14); }
.cw-harbor__dock-k { display: block; margin-bottom: 10px; font-size: 10px; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; color: #fcd34d; }
.cw-harbor__dock-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.cw-harbor__dock-pills a { display: inline-block; padding: 7px 12px; border-radius: 999px; text-decoration: none; font-size: 12px; font-weight: 800; color: #ddd6fe; background: rgba(30, 58, 138, 0.35); border: 1px solid rgba(96, 165, 250, 0.25); transition: background 0.15s, border-color 0.15s, color 0.15s; }
.cw-harbor__dock-pills a:hover { color: #fff; background: rgba(37, 99, 235, 0.55); border-color: rgba(147, 197, 253, 0.55); }
.cw-harbor__terminal { padding: 16px; border-radius: var(--cw-r); background: rgba(2, 6, 23, 0.55); border: 1px solid rgba(148, 163, 184, 0.2); font-family: ui-monospace, "Cascadia Code", "Segoe UI Mono", Consolas, monospace; }
.cw-harbor__terminal-k { display: block; margin-bottom: 12px; font-size: 10px; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; color: #86efac; }
.cw-harbor__terminal-line { display: block; margin-bottom: 8px; font-size: 12px; line-height: 1.5; color: #e2e8f0; word-break: break-word; }
.cw-harbor__terminal-line:last-child { margin-bottom: 0; }
.cw-harbor__terminal-line a { color: #c4b5fd; text-decoration: none; font-weight: 700; }
.cw-harbor__terminal-line a:hover { color: #fff; text-decoration: underline; }
.cw-harbor__terminal-prompt { color: #4ade80; font-weight: 900; margin-right: 6px; }
.cw-harbor__keel { border-top: 1px solid rgba(148, 163, 184, 0.16); background: #020617; padding: 12px 0 calc(12px + env(safe-area-inset-bottom)); }
.cw-harbor__keel-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.cw-harbor__keel-copy { margin: 0; font-size: 11px; color: #64748b; font-weight: 600; }
.cw-harbor__keel-copy a { color: #94a3b8; text-decoration: none; }
.cw-harbor__keel-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.cw-harbor__keel-nav a { font-size: 11px; font-weight: 700; color: #94a3b8; text-decoration: none; }
.cw-harbor__keel-nav a:hover { color: #ddd6fe; }
.cw-harbor__keel-sep { color: #334155; font-size: 10px; user-select: none; }

/* ---------- 19. 内页：页首横幅与布局 ---------- */
.cw-pagehero { background: linear-gradient(150deg, #2e1065, var(--cw-night) 60%, var(--cw-deep)); color: #fff; padding: 26px 0; }
.cw-pagehero h1 { margin: 0; font-size: 24px; font-weight: 900; }
.cw-pagehero .sub { margin: 6px 0 0; font-size: 12px; color: #ddd6fe; font-weight: 700; }
.cw-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
.cw-panel { background: #fff; border: 1px solid var(--cw-line); border-radius: var(--cw-r); padding: 20px; }
.cw-main { display: grid; gap: 14px; min-width: 0; }

/* 文章横排卡 */
.cw-row { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 16px; align-items: stretch; padding: 14px; border-radius: var(--cw-r); background: #fff; border: 1px solid var(--cw-line); transition: border-color 0.15s, box-shadow 0.15s; }
.cw-row:hover { border-color: var(--cw-blue-l); box-shadow: var(--cw-shadow); }
.cw-row .thumb { display: block; text-decoration: none; }
.cw-row .thumb .cw-frame__box { height: 100%; min-height: 138px; }
.cw-row .info { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.cw-row .info h4 { margin: 0; font-size: 16px; font-weight: 900; }
.cw-row .info h4 a { color: var(--cw-ink); text-decoration: none; }
.cw-row .info h4 a:hover { color: var(--cw-blue-d); }
.cw-row .info .desc { margin: 0; font-size: 13px; color: var(--cw-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cw-row .info .meta { margin-top: auto; display: flex; gap: 16px; font-size: 11px; font-weight: 700; color: var(--cw-muted); }
.cw-row .info .meta .date { color: var(--cw-signal-d); }

/* 侧栏组件 */
.cw-side { display: grid; gap: 16px; }
.cw-widget { padding: 18px; border-radius: var(--cw-r); background: #fff; border: 1px solid var(--cw-line); }
.cw-widget h5 { margin: 0 0 14px; font-size: 15px; font-weight: 900; color: var(--cw-night); display: flex; align-items: center; gap: 8px; }
.cw-widget h5::before { content: ""; width: 4px; height: 16px; border-radius: 2px; background: linear-gradient(180deg, var(--cw-blue), var(--cw-signal)); }
.cw-side-list li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: baseline; padding: 8px 0; border-bottom: 1px dashed var(--cw-line); }
.cw-side-list li:last-child { border-bottom: none; }
.cw-side-list .idx { font-style: normal; font-size: 13px; font-weight: 900; color: var(--cw-blue-l); }
.cw-side-list li:nth-child(-n+3) .idx { color: var(--cw-signal-d); }
.cw-side-list a { font-size: 13px; font-weight: 600; color: var(--cw-ink); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cw-side-list a:hover { color: var(--cw-blue-d); }
.cw-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.cw-tags a { display: inline-block; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; text-decoration: none; color: var(--cw-blue-d); background: var(--cw-paper); border: 1px solid var(--cw-line); }
.cw-tags a:hover { color: #fff; background: var(--cw-blue); border-color: var(--cw-blue); }

/* 分页 */
.cw-pagination { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 22px; }
.cw-pagination a, .cw-pagination span { display: inline-grid; place-items: center; min-width: 36px; height: 36px; padding: 0 10px; border-radius: 10px; font-size: 13px; font-weight: 800; text-decoration: none; color: var(--cw-blue-d); background: #fff; border: 1px solid var(--cw-line); }
.cw-pagination .current, .cw-pagination a:hover { color: #fff; background: var(--cw-blue); border-color: var(--cw-blue); }

/* 文章详情 */
.cw-article-head { padding: 22px; }
.cw-article-head h1 { margin: 0 0 12px; font-size: 25px; font-weight: 900; color: var(--cw-night); }
.cw-detail-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 12px; font-weight: 700; color: var(--cw-muted); }
.cw-detail-meta .k { color: var(--cw-blue-d); }
.cw-detail-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.cw-detail-tags a { padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; text-decoration: none; color: var(--cw-blue-d); background: #f5f3ff; border: 1px solid #ede9fe; }
.cw-article-body { font-size: 16px; color: #1e293b; }
.cw-article-body p { margin: 0 0 14px; }
.cw-article-body h2, .cw-article-body h3 { color: var(--cw-night); margin: 22px 0 12px; }
.cw-article-body img { max-width: 100%; height: auto; border-radius: var(--cw-r); margin: 10px 0; }
.cw-article-body a { color: var(--cw-blue-d); }
.cw-article-body blockquote { margin: 14px 0; padding: 12px 16px; border-left: 3px solid var(--cw-blue-l); border-radius: 0 var(--cw-r) var(--cw-r) 0; background: var(--cw-paper); color: var(--cw-muted); }
.cw-article-nav { display: grid; gap: 10px; margin-top: 22px; }
.cw-article-nav a { display: block; padding: 12px 16px; border-radius: 10px; background: var(--cw-paper); border: 1px solid var(--cw-line); font-size: 13px; font-weight: 700; color: var(--cw-ink); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cw-article-nav a:hover { border-color: var(--cw-blue-l); }
.cw-article-nav a span { color: var(--cw-signal-d); margin-right: 10px; font-weight: 900; }
.cw-comments { margin-top: 22px; }

/* 标签页头 */
.cw-taghead { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.cw-taghead .tag-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: linear-gradient(140deg, var(--cw-blue), var(--cw-night)); color: #fff; font-size: 22px; font-weight: 900; box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3); }
.cw-taghead h2 { margin: 0; font-size: 20px; font-weight: 900; color: var(--cw-night); }
.cw-taghead p { margin: 4px 0 0; font-size: 12px; color: var(--cw-muted); }

/* 空态 */
.cw-empty { padding: 40px 20px; text-align: center; border-radius: var(--cw-r); background: #fff; border: 1px dashed var(--cw-line); color: var(--cw-muted); font-size: 14px; }
.cw-empty .emoji { font-size: 34px; margin-bottom: 10px; }

/* 搜索页 */
.cw-search-form { display: flex; gap: 10px; align-items: center; }
.cw-search-form .search-input { flex: 1; min-width: 200px; height: 46px; padding: 0 18px; border: 1px solid var(--cw-line); border-radius: 999px; background: var(--cw-paper); color: var(--cw-ink); outline: none; font-size: 14px; }
.cw-search-form .search-input:focus { border-color: var(--cw-blue-l); background: #fff; }

/* ---------- 20. 响应式 ---------- */
@media (max-width: 1020px) {
    .cw-visor__grid, .cw-picks__row, .cw-scope__ring, .cw-trust__grid { grid-template-columns: repeat(2, 1fr); }
    .cw-folio__grid { grid-template-columns: repeat(2, 1fr); }
    .cw-brief__grid, .cw-stream__feature, .cw-appband__grid { grid-template-columns: 1fr; }
    .cw-slab { justify-self: stretch; flex-direction: row; justify-content: center; }
    .cw-layout { grid-template-columns: 1fr; }
    .cw-side { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
    .cw-body.mip-page { padding-right: 0; }
    .cw-dock { display: none; }
}
@media (max-width: 768px) {
    .cw-helm__row { grid-template-columns: auto 1fr auto; }
    .cw-helm__trail { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--cw-line); padding: 12px 16px; flex-direction: column; align-items: stretch; gap: 8px; box-shadow: var(--cw-shadow); }
    .cw-helm__trail a { display: block; text-align: center; }
    .cw-nav-state:checked ~ .cw-helm__trail { display: flex; }
    .cw-burger { display: flex; }
    .cw-helm__acts .cw-btn span.hide-sm { display: none; }
    .cw-visor__intro h1 { font-size: 22px; }
    .cw-visor__grid, .cw-picks__row, .cw-scope__ring, .cw-trust__grid, .cw-folio__grid { grid-template-columns: 1fr; }
    .cw-pick { border-radius: var(--cw-r); }
    .cw-pick .cw-frame__box { border-radius: 10px; }
    .cw-hot__list { grid-template-columns: 1fr; }
    .cw-row { grid-template-columns: 1fr; }
    .cw-row .thumb .cw-frame__box { min-height: 0; aspect-ratio: 16 / 9; }
    .cw-stream__feature .cw-frame__box { min-height: 0; aspect-ratio: 16 / 9; }
    .cw-stream__row { grid-template-columns: 70px 1fr; }
    .cw-stream__row .views { display: none; }
    .cw-side { grid-template-columns: 1fr; }
    .cw-hide-sm { display: none; }
    .cw-harbor__grid { gap: 18px; }
    .cw-harbor__keel-inner { justify-content: center; text-align: center; }
}

/* ---- 变体信标视觉区实景背景图（叠加同色系暗色遮罩保证可读性）---- */
.cw-visor{background:linear-gradient(160deg,rgba(2e1065,0.90),rgba(4c1d95,0.92) 55%,rgba(5b21b6,0.88)),url("/uploads/tpl/cobaltwaveviolet/bg.jpg") center/cover no-repeat}
