/* =====================================================================
   AI卡包 · 暗黑科技风导航站 · 基础设计系统
   ---------------------------------------------------------------------
   所有颜色 / 圆角 / 字体都来自 CSS 变量，皮肤在 themes/<code>/theme.json 里定义。
   本文件只负责结构（布局与组件），不要在这里写死具体色值。
   ===================================================================== */

/* ---------- 基础重置 ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font-sans, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif);
    font-size: 15px;
    line-height: 1.65;
    color: var(--text, #e8f3ff);
    background-color: var(--bg, #05070c);
    background-image:
        radial-gradient(1100px 620px at 8% -8%, var(--hero-glow-1, rgba(33, 230, 255, .14)), transparent 62%),
        radial-gradient(900px 520px at 96% 2%, var(--hero-glow-2, rgba(52, 245, 197, .09)), transparent 60%);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* 背景网格层（在内容之下） */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(to right, var(--grid, rgba(90, 170, 220, .05)) 1px, transparent 1px),
        linear-gradient(to bottom, var(--grid, rgba(90, 170, 220, .05)) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .85), transparent 62%);
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .85), transparent 62%);
}

img { max-width: 100%; height: auto; border: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }

::selection { background: var(--accent, #21e6ff); color: var(--accent-ink, #031018); }

:focus-visible {
    outline: 2px solid var(--accent, #21e6ff);
    outline-offset: 2px;
}

.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    margin: -1px; padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* 滚动条 */
* { scrollbar-width: thin; scrollbar-color: var(--line-strong, rgba(120, 200, 255, .3)) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
    background: var(--line-strong, rgba(120, 200, 255, .3));
    border-radius: 6px;
    border: 3px solid transparent;
    background-clip: content-box;
}

/* ---------- 布局容器 ---------- */
.wrap {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}

.page {
    position: relative;
    z-index: 1;
    min-height: 60vh;
    padding-bottom: 10px;
}

/* ---------- 顶部导航 ---------- */
.topbar {
    position: sticky;
    top: 0;
    z-index: 800;
    border-bottom: 1px solid var(--line, rgba(120, 200, 255, .14));
    background: rgba(5, 7, 12, .68);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    backdrop-filter: blur(18px) saturate(140%);
    transition: background .25s ease, box-shadow .25s ease;
}

.topbar.is-scrolled {
    background: rgba(5, 7, 12, .92);
    box-shadow: 0 12px 34px rgba(0, 0, 0, .5);
}

.topbar-inner {
    display: flex;
    align-items: center;
    gap: 18px;
    height: 66px;
}

.brand { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }

.brand-mark {
    width: 34px; height: 34px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    border: 1px solid var(--line-strong, rgba(120, 200, 255, .3));
    background: radial-gradient(circle at 30% 25%, var(--accent-soft, rgba(33, 230, 255, .12)), rgba(0, 0, 0, .45));
    color: var(--accent, #21e6ff);
    font-family: var(--font-mono, monospace);
    font-weight: 800;
    font-size: 15px;
    box-shadow: inset 0 0 14px var(--accent-soft, rgba(33, 230, 255, .12));
}

.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 15px; letter-spacing: .02em; }
.brand-text em {
    font-style: normal;
    font-family: var(--font-mono, monospace);
    font-size: 9px;
    letter-spacing: .18em;
    color: var(--muted, #7d90a5);
}

.nav-links { display: flex; gap: 2px; margin-left: 6px; }
.nav-links a {
    padding: 7px 11px;
    border-radius: 8px;
    font-size: 13.5px;
    color: var(--text-dim, #a9bcd0);
    transition: color .16s ease, background .16s ease;
}
.nav-links a:hover { color: var(--text, #e8f3ff); background: rgba(255, 255, 255, .05); }
.nav-links a.is-active { color: var(--accent, #21e6ff); background: var(--accent-soft, rgba(33, 230, 255, .12)); }

.topbar-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.topbar-search {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 210px;
    padding: 6px 12px;
    border: 1px solid var(--line, rgba(120, 200, 255, .14));
    border-radius: 999px;
    background: rgba(0, 0, 0, .3);
    transition: border-color .16s ease, box-shadow .16s ease;
}
.topbar-search:focus-within {
    border-color: var(--accent, #21e6ff);
    box-shadow: 0 0 0 3px var(--accent-soft, rgba(33, 230, 255, .12));
}
.topbar-search i { color: var(--muted, #7d90a5); font-size: 12px; }
.topbar-search input {
    width: 100%;
    padding: 3px 0;
    border: 0;
    outline: 0;
    background: transparent;
    font-size: 12.5px;
    color: var(--text, #e8f3ff);
}
.topbar-search input::placeholder { color: var(--muted, #7d90a5); }

.icon-btn {
    width: 34px; height: 34px;
    display: inline-grid;
    place-items: center;
    border: 1px solid var(--line, rgba(120, 200, 255, .14));
    border-radius: 9px;
    background: rgba(255, 255, 255, .03);
    color: var(--text-dim, #a9bcd0);
    cursor: pointer;
    transition: all .16s ease;
}
.icon-btn:hover { color: var(--accent, #21e6ff); border-color: var(--line-strong, rgba(120, 200, 255, .3)); }
.icon-btn.is-hidden { display: none; }

.lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 34px;
    padding: 0 11px;
    border: 1px solid var(--line, rgba(120, 200, 255, .14));
    border-radius: 9px;
    font-family: var(--font-mono, monospace);
    font-size: 11px;
    letter-spacing: .08em;
    color: var(--text-dim, #a9bcd0);
    transition: all .16s ease;
}
.lang-btn:hover { color: var(--accent, #21e6ff); border-color: var(--line-strong, rgba(120, 200, 255, .3)); }

.burger { display: none; }

.mobile-nav { display: none; }

/* ---------- Hero ---------- */
.hero { padding: 34px 0 6px; }

.hero-panel {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr);
    align-items: center;
    gap: 36px;
    padding: 40px;
    border: 1px solid var(--line-strong, rgba(120, 200, 255, .3));
    border-radius: var(--radius-lg, 20px);
    background:
        linear-gradient(160deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .012) 55%, rgba(0, 0, 0, .2)),
        var(--bg-2, #080c14);
    box-shadow: var(--shadow, 0 18px 50px rgba(0, 0, 0, .55));
}

/* 四角切角装饰 */
.hero-panel::before,
.hero-panel::after {
    content: "";
    position: absolute;
    width: 54px; height: 54px;
    border: 1px solid var(--accent, #21e6ff);
    opacity: .45;
    pointer-events: none;
}
.hero-panel::before { left: -1px; top: -1px; border-right: 0; border-bottom: 0; border-radius: var(--radius-lg, 20px) 0 0 0; }
.hero-panel::after { right: -1px; bottom: -1px; border-left: 0; border-top: 0; border-radius: 0 0 var(--radius-lg, 20px) 0; }

.hero-copy { position: relative; z-index: 1; }

.eyebrow {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    font-family: var(--font-mono, monospace);
    font-size: 11px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--accent, #21e6ff);
}
.eyebrow .pulse {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--accent, #21e6ff);
    box-shadow: 0 0 12px var(--accent-glow, rgba(33, 230, 255, .35));
    animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: .55; transform: scale(.85); }
    50% { opacity: 1; transform: scale(1.1); }
}

.hero-title {
    margin: 14px 0 12px;
    font-size: clamp(26px, 3.1vw, 44px);
    line-height: 1.18;
    letter-spacing: -.015em;
}
.hero-title em {
    font-style: normal;
    background: linear-gradient(94deg, var(--accent, #21e6ff), var(--accent-2, #34f5c5) 58%, var(--accent-3, #ffc857));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-sub {
    max-width: 62ch;
    margin: 0 0 24px;
    color: var(--text-dim, #a9bcd0);
    font-size: 14.5px;
}

.hero-search {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 640px;
    padding: 6px 7px 6px 18px;
    border: 1px solid var(--line-strong, rgba(120, 200, 255, .3));
    border-radius: 999px;
    background: rgba(0, 0, 0, .34);
    transition: border-color .18s ease, box-shadow .18s ease;
}
.hero-search:focus-within {
    border-color: var(--accent, #21e6ff);
    box-shadow: 0 0 0 3px var(--accent-soft, rgba(33, 230, 255, .12)), 0 0 32px -6px var(--accent-glow, rgba(33, 230, 255, .35));
}
.hero-search i { color: var(--accent, #21e6ff); font-size: 14px; }
.hero-search input {
    flex: 1;
    min-width: 0;
    padding: 9px 0;
    border: 0;
    outline: 0;
    background: transparent;
    font-size: 15px;
}
.hero-search input::placeholder { color: var(--muted, #7d90a5); }
.hero-search button {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 20px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(94deg, var(--accent, #21e6ff), var(--accent-2, #34f5c5));
    color: var(--accent-ink, #031018);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 22px -10px var(--accent-glow, rgba(33, 230, 255, .35));
    transition: transform .16s ease, filter .16s ease;
}
.hero-search button:hover { transform: translateY(-1px); filter: brightness(1.05); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }

.chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border: 1px solid var(--line, rgba(120, 200, 255, .14));
    border-radius: 999px;
    background: rgba(255, 255, 255, .02);
    font-size: 12.5px;
    color: var(--text-dim, #a9bcd0);
    transition: all .16s ease;
}
.chip:hover { color: var(--accent, #21e6ff); border-color: var(--accent, #21e6ff); background: var(--accent-soft, rgba(33, 230, 255, .12)); }
.chip.is-on {
    color: var(--accent, #21e6ff);
    border-color: color-mix(in srgb, var(--accent, #21e6ff) 55%, transparent);
    background: var(--accent-soft, rgba(33, 230, 255, .12));
    box-shadow: 0 0 0 1px var(--accent-soft, rgba(33, 230, 255, .12)) inset;
}
.chip .count { font-family: var(--font-mono, monospace); font-size: 10px; color: var(--muted, #7d90a5); }

.hero-stats {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.stat {
    position: relative;
    overflow: hidden;
    padding: 16px 18px;
    border: 1px solid var(--line, rgba(120, 200, 255, .14));
    border-radius: var(--radius, 14px);
    background: rgba(0, 0, 0, .24);
}
.stat::after {
    content: "";
    position: absolute;
    right: -18px; top: -18px;
    width: 54px; height: 54px;
    background: radial-gradient(circle, var(--accent-soft, rgba(33, 230, 255, .12)), transparent 70%);
}
.stat strong {
    display: block;
    font-family: var(--font-mono, monospace);
    font-size: 24px;
    line-height: 1.2;
    color: var(--accent, #21e6ff);
    letter-spacing: -.01em;
}
.stat span { font-size: 11.5px; letter-spacing: .1em; color: var(--muted, #7d90a5); }

/* ---------- 精选推荐 ---------- */
.feature-band {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 12px;
    margin-top: 22px;
}

.feature {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px 24px;
    border: 1px solid var(--line-strong, rgba(120, 200, 255, .3));
    border-radius: var(--radius-lg, 20px);
    background:
        linear-gradient(110deg, var(--accent-soft, rgba(33, 230, 255, .12)), transparent 55%),
        var(--panel, rgba(255, 255, 255, .035));
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature:hover {
    transform: translateY(-2px);
    border-color: var(--accent, #21e6ff);
    box-shadow: 0 18px 44px rgba(0, 0, 0, .5), 0 0 0 1px var(--accent-soft, rgba(33, 230, 255, .12));
}

.feature-icon {
    width: 56px; height: 56px;
    flex: 0 0 auto;
    border-radius: 14px;
    border: 1px solid var(--line-strong, rgba(120, 200, 255, .3));
    background: rgba(0, 0, 0, .4);
    padding: 8px;
    object-fit: contain;
}

.feature-body { min-width: 0; flex: 1; }
.feature-kicker {
    font-family: var(--font-mono, monospace);
    font-size: 10px;
    letter-spacing: .2em;
    color: var(--accent-2, #34f5c5);
    text-transform: uppercase;
}
.feature-title { margin: 2px 0 4px; font-size: 17px; font-weight: 700; }
.feature-desc {
    margin: 0;
    font-size: 12.5px;
    line-height: 1.6;
    color: var(--muted, #7d90a5);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.feature-shot {
    width: 168px;
    flex: 0 0 auto;
    align-self: stretch;
    max-height: 96px;
    border-radius: 10px;
    border: 1px solid var(--line, rgba(120, 200, 255, .14));
    object-fit: cover;
}

.feature-arrow {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid var(--line-strong, rgba(120, 200, 255, .3));
    color: var(--accent, #21e6ff);
    background: var(--accent-soft, rgba(33, 230, 255, .12));
    transition: transform .2s ease, background .2s ease;
}
.feature:hover .feature-arrow { transform: translateX(3px); background: var(--accent, #21e6ff); color: var(--accent-ink, #031018); }

/* ---------- 双栏布局（侧栏 + 内容） ---------- */
.layout {
    display: grid;
    grid-template-columns: 232px minmax(0, 1fr);
    gap: 26px;
    align-items: start;
    margin-top: 28px;
}

.layout--detail { grid-template-columns: minmax(0, 1fr) 320px; }

/* ---------- 左侧目录 ---------- */
.rail {
    position: sticky;
    top: 82px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    padding: 16px;
    border: 1px solid var(--line, rgba(120, 200, 255, .14));
    border-radius: var(--radius, 14px);
    background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .012));
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.rail-title {
    margin: 0 0 10px;
    font-family: var(--font-mono, monospace);
    font-size: 10px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--muted, #7d90a5);
}

.rail-item {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 7px 9px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 13px;
    color: var(--text-dim, #a9bcd0);
    transition: all .15s ease;
}
.rail-item i.fa { width: 16px; text-align: center; font-size: 12px; opacity: .8; flex: 0 0 auto; }
.rail-item span.rail-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rail-item:hover { color: var(--text, #e8f3ff); background: rgba(255, 255, 255, .05); }
.rail-item.is-active {
    color: var(--accent, #21e6ff);
    background: var(--accent-soft, rgba(33, 230, 255, .12));
    border-color: var(--line-strong, rgba(120, 200, 255, .3));
}

.rail-badge {
    margin-left: auto;
    font-family: var(--font-mono, monospace);
    font-size: 10px;
    color: var(--muted, #7d90a5);
    flex: 0 0 auto;
}

.rail-divider { height: 1px; margin: 10px 4px; background: var(--line, rgba(120, 200, 255, .14)); }

.rail-group { position: relative; }
.rail-group .rail-toggle { width: 100%; text-align: left; background: none; border: 1px solid transparent; cursor: pointer; }
.rail-group .rail-toggle::after {
    content: "\f105";
    font-family: FontAwesome;
    font-size: 10px;
    color: var(--muted, #7d90a5);
    margin-left: 4px;
    flex: 0 0 auto;
}

.rail-flyout {
    display: none;
    position: absolute;
    left: 100%;
    top: -8px;
    z-index: 900;
    width: 268px;
    margin-left: 10px;
    padding: 12px;
    border: 1px solid var(--line-strong, rgba(120, 200, 255, .3));
    border-radius: var(--radius, 14px);
    background: var(--bg-elev, #0b111a);
    box-shadow: var(--shadow, 0 18px 50px rgba(0, 0, 0, .55));
}
.rail-group:hover .rail-flyout,
.rail-group:focus-within .rail-flyout { display: block; }

.rail-flyout-title {
    margin: 0 0 8px;
    font-family: var(--font-mono, monospace);
    font-size: 10px;
    letter-spacing: .16em;
    color: var(--muted, #7d90a5);
}

.rail-flyout-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.rail-flyout-grid a {
    padding: 6px 8px;
    border-radius: 7px;
    font-size: 12px;
    color: var(--text-dim, #a9bcd0);
    background: rgba(255, 255, 255, .03);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.rail-flyout-grid a:hover { color: var(--accent, #21e6ff); background: var(--accent-soft, rgba(33, 230, 255, .12)); }

/* ---------- 区块 ---------- */
.section { margin-top: 34px; scroll-margin-top: 92px; }

.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
    padding-bottom: 11px;
    border-bottom: 1px solid var(--line, rgba(120, 200, 255, .14));
}

.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .01em;
}

.section-icon {
    width: 30px; height: 30px;
    display: inline-grid;
    place-items: center;
    border-radius: 9px;
    border: 1px solid var(--line-strong, rgba(120, 200, 255, .3));
    background: var(--accent-soft, rgba(33, 230, 255, .12));
    color: var(--accent, #21e6ff);
    font-size: 13px;
    flex: 0 0 auto;
}

.section-count {
    padding: 2px 7px;
    border: 1px solid var(--line, rgba(120, 200, 255, .14));
    border-radius: 5px;
    font-family: var(--font-mono, monospace);
    font-size: 10px;
    color: var(--muted, #7d90a5);
}

.section-more {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12.5px;
    color: var(--text-dim, #a9bcd0);
    white-space: nowrap;
    transition: color .16s ease;
}
.section-more:hover { color: var(--accent, #21e6ff); }

/* ---------- 卡片网格 ---------- */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(248px, 1fr));
    gap: 12px;
}

.card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 78px;
    padding: 13px 38px 13px 13px;
    border: 1px solid var(--line, rgba(120, 200, 255, .14));
    border-radius: var(--radius, 14px);
    background: var(--panel, rgba(255, 255, 255, .035));
    overflow: hidden;
    transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.card::before {
    content: "";
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--accent, #21e6ff), transparent);
    opacity: 0;
    transition: opacity .18s ease;
}

.card:hover {
    transform: translateY(-2px);
    border-color: var(--line-strong, rgba(120, 200, 255, .3));
    background: var(--panel-2, rgba(255, 255, 255, .065));
    box-shadow: 0 16px 34px rgba(0, 0, 0, .42);
}
.card:hover::before { opacity: 1; }

.card-icon {
    width: 40px; height: 40px;
    flex: 0 0 auto;
    border-radius: 10px;
    border: 1px solid var(--line, rgba(120, 200, 255, .14));
    background: rgba(0, 0, 0, .35);
    padding: 4px;
    object-fit: contain;
}
.card-icon--fa {
    display: grid;
    place-items: center;
    padding: 0;
    color: var(--accent, #21e6ff);
    font-size: 15px;
    background: var(--accent-soft, rgba(33, 230, 255, .12));
}

/* 没有 favicon 时的字母徽标：按站点名哈希出一个色相，避免满屏同款灰图标 */
.site-ico {
    flex: 0 0 auto;
    border-radius: 10px;
    object-fit: contain;
}
.site-ico--text {
    display: grid;
    place-items: center;
    padding: 0;
    font-family: var(--font-mono, monospace);
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1;
    color: hsl(var(--h, 190) 92% 74%);
    border: 1px solid hsl(var(--h, 190) 80% 60% / .38);
    background:
        linear-gradient(140deg, hsl(var(--h, 190) 90% 50% / .30), hsl(var(--h, 190) 90% 50% / .06)),
        rgba(255, 255, 255, .02);
    box-shadow: inset 0 0 12px hsl(var(--h, 190) 90% 55% / .18);
}

.card-body { min-width: 0; flex: 1; }
.card-title {
    display: block;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.45;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.card-desc {
    display: block;
    font-size: 12px;
    color: var(--muted, #7d90a5);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.5;
}

.card-go {
    position: absolute;
    right: 12px; bottom: 12px;
    width: 20px; height: 20px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid var(--line, rgba(120, 200, 255, .14));
    color: var(--muted, #7d90a5);
    font-size: 9px;
    opacity: .7;
    transition: all .18s ease;
}
.card:hover .card-go {
    color: var(--accent-ink, #031018);
    background: var(--accent, #21e6ff);
    border-color: var(--accent, #21e6ff);
    opacity: 1;
    transform: translateX(2px);
}

/* ---------- 榜单 ---------- */
.rank {
    overflow: hidden;
    border: 1px solid var(--line, rgba(120, 200, 255, .14));
    border-radius: var(--radius, 14px);
    background: var(--panel, rgba(255, 255, 255, .035));
}

.rank-head {
    display: flex;
    gap: 4px;
    padding: 8px;
    border-bottom: 1px solid var(--line, rgba(120, 200, 255, .14));
    background: rgba(0, 0, 0, .22);
}

.rank-tab {
    flex: 1;
    padding: 8px 4px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: var(--muted, #7d90a5);
    font-size: 12.5px;
    cursor: pointer;
    transition: all .16s ease;
}
.rank-tab:hover { color: var(--text, #e8f3ff); }
.rank-tab.is-active {
    background: var(--accent-soft, rgba(33, 230, 255, .12));
    color: var(--accent, #21e6ff);
    font-weight: 650;
}

.rank-pane { display: none; padding: 8px; }
.rank-pane.is-active { display: block; }

.rank-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    border-radius: 8px;
    transition: background .15s ease;
}
.rank-row:hover { background: rgba(255, 255, 255, .045); }

.rank-no {
    width: 22px; height: 22px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border: 1px solid var(--line, rgba(120, 200, 255, .14));
    border-radius: 6px;
    font-family: var(--font-mono, monospace);
    font-size: 10.5px;
    color: var(--muted, #7d90a5);
}
.rank-no.top { color: var(--accent, #21e6ff); border-color: var(--line-strong, rgba(120, 200, 255, .3)); background: var(--accent-soft, rgba(33, 230, 255, .12)); }

.rank-icon {
    width: 28px; height: 28px;
    flex: 0 0 auto;
    border-radius: 7px;
    background: rgba(0, 0, 0, .3);
    object-fit: contain;
    padding: 2px;
}

.rank-info { min-width: 0; flex: 1; }
.rank-name {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.rank-desc {
    display: block;
    font-size: 11px;
    color: var(--muted, #7d90a5);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ---------- 资讯 ---------- */
.dual {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 22px;
    align-items: start;
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.post-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 18px;
    border: 1px solid var(--line, rgba(120, 200, 255, .14));
    border-radius: var(--radius, 14px);
    background: var(--panel, rgba(255, 255, 255, .035));
    transition: all .18s ease;
}
.post-card:hover {
    transform: translateY(-2px);
    border-color: var(--line-strong, rgba(120, 200, 255, .3));
    background: var(--panel-2, rgba(255, 255, 255, .065));
    box-shadow: 0 16px 34px rgba(0, 0, 0, .42);
}

.post-cat {
    font-family: var(--font-mono, monospace);
    font-size: 10px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--accent-2, #34f5c5);
}

.post-title {
    margin: 0;
    font-size: 14.5px;
    font-weight: 650;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-excerpt {
    margin: 0;
    font-size: 12.5px;
    line-height: 1.6;
    color: var(--muted, #7d90a5);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-family: var(--font-mono, monospace);
    font-size: 10.5px;
    color: var(--muted, #7d90a5);
}

/* 文章列表行（资讯页） */
.list-panel {
    border: 1px solid var(--line, rgba(120, 200, 255, .14));
    border-radius: var(--radius, 14px);
    background: var(--panel, rgba(255, 255, 255, .035));
    overflow: hidden;
}

.post-row {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr) 22px;
    gap: 18px;
    align-items: start;
    padding: 18px 20px;
    border-bottom: 1px solid var(--line, rgba(120, 200, 255, .14));
    transition: background .16s ease;
}
.post-row:last-child { border-bottom: 0; }
.post-row:hover { background: rgba(255, 255, 255, .045); }

.post-row-date {
    font-family: var(--font-mono, monospace);
    font-size: 11px;
    color: var(--muted, #7d90a5);
    line-height: 1.9;
}

.post-row-body { min-width: 0; }
.post-row-title { margin: 0 0 4px; font-size: 15px; font-weight: 650; }
.post-row-desc { margin: 0 0 6px; font-size: 12.5px; color: var(--muted, #7d90a5); }
.post-row-meta { display: flex; flex-wrap: wrap; gap: 12px; font-family: var(--font-mono, monospace); font-size: 10.5px; color: var(--muted, #7d90a5); }
.post-row-arrow { color: var(--muted, #7d90a5); display: grid; place-items: center; height: 100%; }

/* ---------- 页面标题 ---------- */
.page-head { padding: 34px 0 18px; }
.page-head h1 {
    margin: 10px 0 8px;
    font-size: clamp(24px, 2.6vw, 34px);
    line-height: 1.2;
    letter-spacing: -.01em;
}
.page-sub { margin: 0; font-size: 13.5px; color: var(--muted, #7d90a5); }

.filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 18px; }

/* ---------- 面包屑 ---------- */
.crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 18px 0 6px;
    font-family: var(--font-mono, monospace);
    font-size: 11.5px;
    color: var(--muted, #7d90a5);
}
.crumbs a { color: var(--text-dim, #a9bcd0); }
.crumbs a:hover { color: var(--accent, #21e6ff); }
.crumbs .sep { opacity: .5; }
.crumbs .is-current { color: var(--accent, #21e6ff); }

/* ---------- 详情页 ---------- */
.detail-hero {
    position: relative;
    overflow: hidden;
    padding: 28px;
    border: 1px solid var(--line-strong, rgba(120, 200, 255, .3));
    border-radius: var(--radius-lg, 20px);
    background:
        radial-gradient(900px 400px at 88% -10%, var(--accent-soft, rgba(33, 230, 255, .12)), transparent 60%),
        linear-gradient(160deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .012) 60%, rgba(0, 0, 0, .22));
    box-shadow: var(--shadow, 0 18px 50px rgba(0, 0, 0, .55));
}

.detail-top { display: flex; align-items: flex-start; gap: 22px; }

.detail-icon {
    width: 76px; height: 76px;
    flex: 0 0 auto;
    border-radius: 18px;
    border: 1px solid var(--line-strong, rgba(120, 200, 255, .3));
    background: rgba(0, 0, 0, .4);
    padding: 9px;
    object-fit: contain;
}

.detail-info { min-width: 0; flex: 1; }

.detail-kicker {
    font-family: var(--font-mono, monospace);
    font-size: 10px;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--accent-2, #34f5c5);
}

.detail-title {
    margin: 8px 0 8px;
    font-size: clamp(21px, 2.4vw, 30px);
    line-height: 1.22;
    letter-spacing: -.01em;
}

.detail-desc {
    margin: 0 0 14px;
    max-width: 66ch;
    font-size: 13.5px;
    color: var(--text-dim, #a9bcd0);
}

.chip-row { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-chip {
    padding: 3px 9px;
    border: 1px solid var(--line, rgba(120, 200, 255, .14));
    border-radius: 999px;
    font-size: 11.5px;
    color: var(--muted, #7d90a5);
    transition: all .15s ease;
}
.tag-chip:hover { color: var(--accent, #21e6ff); border-color: var(--accent, #21e6ff); }

.detail-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: 9px;
    border: 1px solid transparent;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all .16s ease;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(94deg, var(--accent, #21e6ff), var(--accent-2, #34f5c5));
    color: var(--accent-ink, #031018);
    box-shadow: 0 10px 26px -12px var(--accent-glow, rgba(33, 230, 255, .35));
}
.btn-primary:hover { filter: brightness(1.06); transform: translateY(-1px); }

.btn-ghost {
    border-color: var(--line-strong, rgba(120, 200, 255, .3));
    color: var(--text-dim, #a9bcd0);
    background: rgba(255, 255, 255, .03);
}
.btn-ghost:hover { color: var(--accent, #21e6ff); border-color: var(--accent, #21e6ff); }

.btn-danger {
    background: #ff4d4f;
    color: #fff;
}

.detail-shot {
    margin-top: 18px;
    border: 1px solid var(--line, rgba(120, 200, 255, .14));
    border-radius: var(--radius, 14px);
    overflow: hidden;
    background: rgba(0, 0, 0, .3);
}
.detail-shot img { display: block; width: 100%; max-height: 340px; object-fit: cover; }

.panel {
    padding: 24px;
    border: 1px solid var(--line, rgba(120, 200, 255, .14));
    border-radius: var(--radius, 14px);
    background: var(--panel, rgba(255, 255, 255, .035));
}

.panel-title {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 16px;
    font-size: 15px;
    font-weight: 700;
}
.panel-title i.fa { color: var(--accent, #21e6ff); }

.meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--line, rgba(120, 200, 255, .14));
    font-family: var(--font-mono, monospace);
    font-size: 11px;
    color: var(--muted, #7d90a5);
}

/* ---------- 富文本 ---------- */
.prose {
    font-size: 14.5px;
    line-height: 1.9;
    color: var(--text-dim, #a9bcd0);
    overflow-wrap: break-word;
}
.prose p { margin: 0 0 14px; }
.prose h2, .prose h3, .prose h4 { margin: 24px 0 12px; color: var(--text, #e8f3ff); font-weight: 700; line-height: 1.4; }
.prose h2 { font-size: 18px; }
.prose h3 { font-size: 16px; }
.prose h4 { font-size: 15px; }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 22px; list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 6px; }
.prose a {
    color: var(--accent, #21e6ff);
    border-bottom: 1px dashed var(--line-strong, rgba(120, 200, 255, .3));
}
.prose a:hover { border-bottom-style: solid; }
.prose img {
    max-width: 100%;
    border-radius: 10px;
    border: 1px solid var(--line, rgba(120, 200, 255, .14));
    margin: 14px 0;
}
.prose blockquote {
    margin: 16px 0;
    padding: 12px 16px;
    border-left: 2px solid var(--accent, #21e6ff);
    background: var(--accent-soft, rgba(33, 230, 255, .12));
    color: var(--text-dim, #a9bcd0);
}
.prose pre {
    padding: 16px;
    border: 1px solid var(--line, rgba(120, 200, 255, .14));
    border-radius: 10px;
    background: rgba(0, 0, 0, .35);
    overflow-x: auto;
    font-family: var(--font-mono, monospace);
    font-size: 12.5px;
}
.prose table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 13px; }
.prose th, .prose td { border: 1px solid var(--line, rgba(120, 200, 255, .14)); padding: 8px 10px; }
.prose th { background: rgba(255, 255, 255, .04); }

/* 警告 / 提示块 */
.notice {
    padding: 12px 16px;
    border: 1px solid var(--line-strong, rgba(120, 200, 255, .3));
    border-radius: var(--radius-sm, 10px);
    background: var(--accent-soft, rgba(33, 230, 255, .12));
    font-size: 13px;
    color: var(--text-dim, #a9bcd0);
}

.empty {
    padding: 48px 20px;
    text-align: center;
    color: var(--muted, #7d90a5);
    font-size: 13.5px;
}
.empty i.fa { display: block; margin-bottom: 10px; font-size: 26px; opacity: .5; }

/* ---------- 分页 ---------- */
.pager {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 32px 0 12px;
}

.page-btn {
    min-width: 36px;
    height: 36px;
    display: inline-grid;
    place-items: center;
    padding: 0 12px;
    border: 1px solid var(--line, rgba(120, 200, 255, .14));
    border-radius: 8px;
    font-family: var(--font-mono, monospace);
    font-size: 12.5px;
    color: var(--text-dim, #a9bcd0);
    transition: all .16s ease;
}
.page-btn:hover { border-color: var(--accent, #21e6ff); color: var(--accent, #21e6ff); }
.page-btn.is-active {
    background: var(--accent-soft, rgba(33, 230, 255, .12));
    border-color: var(--accent, #21e6ff);
    color: var(--accent, #21e6ff);
}

/* ---------- 广告位 ---------- */
.ad-slot {
    position: relative;
    margin: 22px 0;
    min-height: 20px;
}
.ad-slot .ad-label {
    position: absolute;
    top: -12px; left: 0;
    font-family: var(--font-mono, monospace);
    font-size: 9px;
    letter-spacing: .18em;
    color: var(--muted, #7d90a5);
    opacity: .6;
}

/* ---------- 公众号卡片 ---------- */
.wx-card {
    padding: 18px 14px;
    border: 1px solid var(--line, rgba(120, 200, 255, .14));
    border-radius: var(--radius, 14px);
    background: var(--panel, rgba(255, 255, 255, .035));
    text-align: center;
    margin-bottom: 16px;
}
.wx-card strong { display: block; font-size: 13px; margin-bottom: 3px; }
.wx-card p { margin: 0 0 10px; font-size: 11.5px; color: var(--muted, #7d90a5); }
.wx-card img { width: 120px; height: 120px; border-radius: 8px; border: 1px solid var(--line, rgba(120, 200, 255, .14)); }

/* ---------- FAQ ---------- */
.faq-block { margin-top: 22px; }
.faq-title { display: flex; align-items: center; gap: 9px; font-size: 15px; margin: 0 0 12px; }
.faq-title i.fa { color: var(--accent, #21e6ff); }
.faq-item {
    border: 1px solid var(--line, rgba(120, 200, 255, .14));
    border-radius: var(--radius-sm, 10px);
    background: rgba(255, 255, 255, .025);
    margin-bottom: 8px;
    padding: 12px 16px;
}
.faq-item summary { cursor: pointer; font-size: 13.5px; font-weight: 600; color: var(--text, #e8f3ff); }
.faq-item p { margin: 10px 0 0; font-size: 13px; color: var(--muted, #7d90a5); }

/* ---------- 页脚 ---------- */
.footer {
    position: relative;
    z-index: 1;
    margin-top: 64px;
    padding: 36px 0 26px;
    border-top: 1px solid var(--line, rgba(120, 200, 255, .14));
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .35));
}

.footer-inner { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr); gap: 24px; }

.footer-brand { display: flex; align-items: flex-start; gap: 11px; }
.footer-brand strong { display: block; font-size: 16px; margin-bottom: 4px; }
.footer-brand p { margin: 0; max-width: 46ch; font-size: 12.5px; color: var(--muted, #7d90a5); line-height: 1.7; }

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-content: flex-start;
    gap: 8px 20px;
    font-size: 13px;
    color: var(--text-dim, #a9bcd0);
}
.footer-links a:hover { color: var(--accent, #21e6ff); }

.footer-meta {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    margin-top: 6px;
    padding-top: 16px;
    border-top: 1px solid var(--line, rgba(120, 200, 255, .14));
    font-family: var(--font-mono, monospace);
    font-size: 11px;
    color: var(--muted, #7d90a5);
}

/* ---------- 皮肤切换面板 ---------- */
.skin-dock { position: fixed; right: 22px; bottom: 88px; z-index: 950; }

.dock-btn {
    width: 44px; height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line-strong, rgba(120, 200, 255, .3));
    border-radius: 50%;
    background: rgba(8, 12, 18, .9);
    color: var(--accent, #21e6ff);
    cursor: pointer;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .55);
    transition: all .18s ease;
}
.dock-btn:hover { border-color: var(--accent, #21e6ff); box-shadow: 0 12px 30px rgba(0, 0, 0, .55), 0 0 0 3px var(--accent-soft, rgba(33, 230, 255, .12)); }

.skin-panel {
    position: absolute;
    right: 0;
    bottom: 56px;
    width: 278px;
    padding: 14px;
    border: 1px solid var(--line-strong, rgba(120, 200, 255, .3));
    border-radius: var(--radius, 14px);
    background: rgba(8, 12, 18, .96);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow, 0 18px 50px rgba(0, 0, 0, .55));
    animation: skinIn .16s ease;
}
@keyframes skinIn {
    from { transform: translateY(6px); }
    to { transform: translateY(0); }
}

.skin-panel-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 650;
}
.skin-panel-head em {
    font-style: normal;
    font-family: var(--font-mono, monospace);
    font-size: 9.5px;
    letter-spacing: .2em;
    color: var(--muted, #7d90a5);
}

.skin-list { display: grid; gap: 6px; }

.skin-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 9px;
    border: 1px solid transparent;
    border-radius: 9px;
    transition: all .15s ease;
}
.skin-item:hover { background: rgba(255, 255, 255, .045); border-color: var(--line, rgba(120, 200, 255, .14)); }
.skin-item.is-active {
    border-color: var(--accent, #21e6ff);
    background: var(--accent-soft, rgba(33, 230, 255, .12));
}

.skin-swatches { display: flex; gap: 3px; flex: 0 0 auto; }
.skin-swatches i {
    width: 13px; height: 13px;
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, .22);
}

.skin-text { min-width: 0; flex: 1; }
.skin-text strong { display: block; font-size: 12.5px; font-weight: 650; }
.skin-text em { display: block; font-style: normal; font-size: 10.5px; color: var(--muted, #7d90a5); }
.skin-check { color: var(--accent, #21e6ff); font-size: 11px; }

.skin-note {
    margin: 10px 2px 0;
    font-size: 10.5px;
    line-height: 1.55;
    color: var(--muted, #7d90a5);
}
.skin-note code {
    font-family: var(--font-mono, monospace);
    color: var(--accent-2, #34f5c5);
}

/* ---------- 返回顶部 ---------- */
.backtop {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 940;
    width: 44px; height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line-strong, rgba(120, 200, 255, .3));
    border-radius: 50%;
    background: rgba(8, 12, 18, .9);
    color: var(--text-dim, #a9bcd0);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all .22s ease;
}
.backtop.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.backtop:hover { color: var(--accent, #21e6ff); border-color: var(--accent, #21e6ff); }

/* ---------- 模态框（举报） ---------- */
.modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, .66);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}
.modal.is-open { display: flex; }

.modal-card {
    width: min(440px, 100%);
    padding: 24px;
    border: 1px solid var(--line-strong, rgba(120, 200, 255, .3));
    border-radius: var(--radius, 14px);
    background: var(--bg-elev, #0b111a);
    box-shadow: var(--shadow, 0 18px 50px rgba(0, 0, 0, .55));
}
.modal-card h3 { margin: 0 0 16px; font-size: 16px; }

.field { margin-bottom: 14px; }
.field label { display: block; margin-bottom: 6px; font-size: 12px; color: var(--muted, #7d90a5); }

.input, .select {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid var(--line, rgba(120, 200, 255, .14));
    border-radius: 8px;
    background: rgba(0, 0, 0, .3);
    color: var(--text, #e8f3ff);
    font-size: 13px;
    outline: none;
}
.input:focus, .select:focus { border-color: var(--accent, #21e6ff); }

/* ---------- 跳转页 ---------- */
.jump-wrap {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
}
.jump-card {
    width: min(520px, 100%);
    padding: 34px 30px;
    text-align: center;
    border: 1px solid var(--line-strong, rgba(120, 200, 255, .3));
    border-radius: var(--radius-lg, 20px);
    background:
        radial-gradient(700px 300px at 50% -20%, var(--accent-soft, rgba(33, 230, 255, .12)), transparent 60%),
        var(--bg-2, #080c14);
    box-shadow: var(--shadow, 0 18px 50px rgba(0, 0, 0, .55));
}
.jump-badge {
    width: 62px; height: 62px;
    display: grid;
    place-items: center;
    margin: 0 auto 16px;
    border: 1px solid var(--line-strong, rgba(120, 200, 255, .3));
    border-radius: 50%;
    background: var(--accent-soft, rgba(33, 230, 255, .12));
    color: var(--accent, #21e6ff);
    font-size: 24px;
}
.jump-badge.is-danger { color: #ff6b6b; border-color: rgba(255, 107, 107, .4); background: rgba(255, 107, 107, .12); }
.jump-card h2 { margin: 0 0 8px; font-size: 20px; }
.jump-card > p { margin: 0 0 18px; font-size: 13px; color: var(--muted, #7d90a5); }
.jump-site {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 18px 0;
    text-align: left;
}
.jump-site img { width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line, rgba(120, 200, 255, .14)); }
.jump-host {
    padding: 10px 14px;
    margin: 0 0 16px;
    border: 1px solid var(--line, rgba(120, 200, 255, .14));
    border-radius: 8px;
    background: rgba(0, 0, 0, .3);
    font-family: var(--font-mono, monospace);
    font-size: 12.5px;
    color: var(--text-dim, #a9bcd0);
    word-break: break-all;
}
.jump-note { font-size: 12px; color: var(--muted, #7d90a5); text-align: left; }
.jump-links { margin-top: 16px; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; font-size: 12px; }
.jump-links a { color: var(--text-dim, #a9bcd0); }
.jump-links a:hover { color: var(--accent, #21e6ff); }

/* ---------- 工具类 ---------- */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 12px; }
.mt-2 { margin-top: 22px; }
.mt-3 { margin-top: 34px; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 12px; }
.mb-2 { margin-bottom: 22px; }
.text-muted { color: var(--muted, #7d90a5); }
.text-dim { color: var(--text-dim, #a9bcd0); }
.text-accent { color: var(--accent, #21e6ff); }
.mono { font-family: var(--font-mono, monospace); }
.stack { display: grid; gap: 16px; }
.stack-sm { display: grid; gap: 10px; }
.center { text-align: center; }

/* =====================================================================
   响应式
   ===================================================================== */
@media (max-width: 1180px) {
    .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .topbar-search { display: none; }
}

@media (max-width: 1024px) {
    .layout { grid-template-columns: 200px minmax(0, 1fr); gap: 20px; }
    .layout--detail { grid-template-columns: minmax(0, 1fr) 290px; }
    .dual { grid-template-columns: minmax(0, 1fr) 290px; }
}

@media (max-width: 960px) {
    .nav-links { display: none; }
    .burger { display: inline-grid; }
    .topbar-search { display: none; }

    .mobile-nav {
        display: none;
        padding: 12px 0 16px;
        border-top: 1px solid var(--line, rgba(120, 200, 255, .14));
    }
    .mobile-nav.is-open { display: block; }
    .mobile-nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
    .mobile-nav-links a {
        padding: 9px 12px;
        border: 1px solid var(--line, rgba(120, 200, 255, .14));
        border-radius: 8px;
        font-size: 13px;
        color: var(--text-dim, #a9bcd0);
    }
    .mobile-nav-links a.is-active { color: var(--accent, #21e6ff); border-color: var(--accent, #21e6ff); }
    .mobile-search { display: flex; margin-top: 8px; width: 100%; }
    .mobile-search input { font-size: 13px; }

    .layout, .layout--detail, .dual { grid-template-columns: minmax(0, 1fr); gap: 22px; }

    .rail {
        position: static;
        max-height: none;
        display: flex;
        flex-wrap: nowrap;
        gap: 6px;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 10px;
    }
    .rail-title, .rail-divider, .rail-badge, .rail-flyout { display: none !important; }
    .rail-group { flex: 0 0 auto; }
    .rail-group .rail-toggle { width: auto; }
    .rail-group .rail-toggle::after { display: none; }
    .rail-item {
        flex: 0 0 auto;
        white-space: nowrap;
        border-color: var(--line, rgba(120, 200, 255, .14));
    }
    .rail-item span.rail-name { overflow: visible; }

    .hero-panel { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 28px 22px; }
    .hero-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .stat { padding: 12px; }
    .stat strong { font-size: 18px; }

    .gallery, .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .post-grid { grid-template-columns: 1fr; }

    .detail-top { gap: 16px; }
    .detail-icon { width: 60px; height: 60px; border-radius: 14px; }
}

@media (max-width: 640px) {
    .wrap { padding: 0 16px; }
    .topbar-inner { height: 60px; gap: 10px; }
    .brand-text em { display: none; }
    .topbar-actions { gap: 8px; }

    .hero { padding-top: 22px; }
    .hero-title { font-size: 25px; }
    .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hero-search { padding-left: 14px; }
    .hero-search button { padding: 9px 14px; }

    .cards, .gallery { grid-template-columns: 1fr; }
    .card { min-height: 72px; }

    .feature { flex-wrap: wrap; padding: 18px; }
    .feature-shot { display: none; }

    .post-row { grid-template-columns: minmax(0, 1fr) 18px; gap: 10px; padding: 16px; }
    .post-row-date { grid-column: 1 / -1; font-size: 10.5px; }

    .page-head { padding-top: 24px; }
    .section { margin-top: 26px; }
    .section-title { font-size: 15px; }

    .footer-inner { grid-template-columns: 1fr; }
    .footer-links { justify-content: flex-start; }
    .footer { margin-top: 40px; }

    .skin-dock { right: 14px; bottom: 78px; }
    .backtop { right: 14px; bottom: 14px; width: 40px; height: 40px; }
    .skin-panel { width: min(278px, calc(100vw - 28px)); }

    .detail-hero { padding: 20px; }
    .detail-top { flex-direction: column; }
    .detail-icon { width: 56px; height: 56px; }

    .panel { padding: 18px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }
}
