/* ===== 全局变量 ===== */
:root {
    --c-bg: #ffffff;
    --c-bg-soft: #f7f9fc;
    --c-bg-card: #ffffff;
    --c-surface: #ffffff;
    --c-surface-soft: #f8fafc;
    --c-surface-2: #f1f5f9;
    --c-text: #1a1f36;
    --c-text-sub: #5b6478;
    --c-text-muted: #8a93a8;
    --c-primary: #0066ff;
    --c-primary-dark: #0050cc;
    --c-primary-soft: #e8f0ff;
    --c-border: #eef1f6;
    --c-accent-cyan: #00d4ff;
    --c-accent-purple: #7c5cff;
    --c-accent-pink: #ff6b9d;
    --c-accent-green: #00c896;
    --c-accent-orange: #ff9f43;
    --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.04);
    --shadow-md: 0 4px 16px rgba(16, 24, 40, 0.06);
    --shadow-lg: 0 12px 40px rgba(16, 24, 40, 0.10);
    --shadow-hover: 0 18px 50px rgba(0, 102, 255, 0.14);
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --maxw: 1200px;
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    color: var(--c-text);
    background: var(--c-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== 顶部导航 ===== */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--c-border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.brand-logo {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-accent-cyan) 100%);
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 22px;
    box-shadow: 0 6px 16px rgba(0, 102, 255, 0.35);
}
.brand-logo img{
    width: 38px;
    height: 38px;
    border-radius: 11px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav a {
    font-size: 15px;
    color: var(--c-text-sub);
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
}

.nav a:hover { color: var(--c-text); }

.nav a.active { color: var(--c-text); }
.nav a.active::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -24px;
    height: 2px;
    background: var(--c-primary);
    border-radius: 2px;
}

.header-actions { display: flex; align-items: center; gap: 12px; }

.header-tip-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--c-bg-soft);
    border: 1px solid var(--c-border);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    flex-shrink: 0;
}
.header-tip-btn:hover {
    background: var(--c-primary-soft);
    border-color: var(--c-primary);
    transform: scale(1.08);
}
@media (max-width: 768px) {
    .header-tip-btn { width: 32px; height: 32px; font-size: 16px; }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-primary {
    background: var(--c-primary);
    color: #fff;
    box-shadow: 0 6px 18px rgba(0, 102, 255, 0.32);
}
.btn-primary:hover {
    background: var(--c-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(0, 102, 255, 0.42);
}

.btn-ghost {
    color: var(--c-text);
    background: transparent;
}
.btn-ghost:hover { background: var(--c-bg-soft); }

.btn-lg { padding: 14px 30px; font-size: 15px; }

/* ===== Hero ===== */
.hero {
    position: relative;
    overflow: hidden;
    padding: 104px 0 80px;
    background:
        radial-gradient(1100px 520px at 18% -8%, #e8f0ff 0%, transparent 60%),
        radial-gradient(900px 480px at 88% 6%, #e6fbff 0%, transparent 55%),
        linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
}

.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
    pointer-events: none;
}
.blob-1 { width: 320px; height: 320px; top: -60px; left: -40px; background: #b3d1ff; }
.blob-2 { width: 280px; height: 280px; top: 40px; right: -60px; background: #aef0ff; }
.blob-3 { width: 220px; height: 220px; bottom: -80px; left: 40%; background: #e4dcff; }

.hero-inner {
    position: relative;
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--c-border);
    backdrop-filter: blur(6px);
    font-size: 13px;
    font-weight: 600;
    color: var(--c-primary);
    box-shadow: var(--shadow-sm);
    margin-bottom: 32px;
}
.hero-badge .dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--c-accent-green);
    box-shadow: 0 0 0 4px rgba(0, 200, 150, 0.18);
}

.hero h1 {
    font-size: 56px;
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 22px;
    background: linear-gradient(120deg, #0a1a3a 0%, #1a1f36 40%, #0066ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero h1 .accent {
    background: linear-gradient(120deg, #0066ff 0%, #00d4ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-sub {
    font-size: 19px;
    color: var(--c-text-sub);
    max-width: 620px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===== hero 首次使用引导提醒条（设置一键避险 / 查看规则） ===== */
.hero-tip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-top: 22px;
    padding: 10px 18px;
    max-width: 100%;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.66);
    border: 1px dashed color-mix(in srgb, var(--c-primary) 34%, transparent);
    backdrop-filter: blur(6px);
    font-size: 13px;
    color: var(--c-text-sub);
    text-align: left;
}
.hero-tip-icon { font-size: 15px; flex: none; }
.hero-tip-text b { color: var(--c-primary); }
.hero-tip-actions { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.hero-tip-btn {
    border: none;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--c-primary), var(--c-accent-cyan));
    padding: 6px 14px;
    border-radius: 999px;
    box-shadow: 0 4px 12px color-mix(in srgb, var(--c-primary) 32%, transparent);
    transition: transform .15s ease, box-shadow .15s ease;
    white-space: nowrap;
}
.hero-tip-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px color-mix(in srgb, var(--c-primary) 45%, transparent); }
.hero-tip-btn:active { transform: scale(.96); }
.hero-tip-link {
    border: none;
    background: none;
    cursor: pointer;
    font: inherit;
    font-weight: 600;
    color: var(--c-primary);
    display: inline-flex;
    align-items: center;
    gap: 3px;
    white-space: nowrap;
}
.hero-tip-link:hover { text-decoration: underline; }
::root[data-theme="dark"] .hero-tip { background: rgba(19, 28, 49, 0.66); }

/* ===== 打工人时光机 主推入口卡 ===== */
.wh-hero-entry {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    max-width: 680px;
    margin: 28px auto 0;
    padding: 16px 20px;
    background: linear-gradient(135deg, color-mix(in srgb, #f59e0b 12%, #fff), color-mix(in srgb, #f97316 8%, #fff));
    border: 1px solid color-mix(in srgb, #f59e0b 28%, transparent);
    border-radius: 18px;
    box-shadow: 0 12px 34px rgba(249, 115, 22, 0.14);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    transition: transform .2s ease, box-shadow .2s ease;
    text-decoration: none;
    cursor: pointer;
}
.wh-hero-entry:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 44px rgba(249, 115, 22, 0.20);
    text-decoration: none;
}
.wh-hero-entry-icon {
    width: 44px;
    height: 44px;
    flex: none;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    background: linear-gradient(135deg, #f59e0b, #f97316);
    color: #fff;
    box-shadow: 0 6px 16px rgba(249, 115, 22, 0.35);
}
.wh-hero-entry-text { flex: 1; min-width: 0; }
.wh-hero-entry-text b { display: block; font-size: 15px; color: #7c2d12; margin-bottom: 3px; }
.wh-hero-entry-text span { display: block; font-size: 13px; color: #9a6b3f; line-height: 1.5; }
.wh-hero-entry .btn { flex: none; }
[data-theme="dark"] .wh-hero-entry {
    background: rgba(120, 53, 15, 0.30);
    border-color: rgba(245, 158, 11, 0.30);
}
[data-theme="dark"] .wh-hero-entry-text b { color: #fcd34d; }
[data-theme="dark"] .wh-hero-entry-text span { color: #d6b98c; }
@media (max-width: 640px) {
    .wh-hero-entry { flex-direction: column; text-align: center; padding: 18px; }
    .wh-hero-entry-text span { display: none; }
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-top: 56px;
    flex-wrap: wrap;
}
.stat .num {
    font-size: 30px; font-weight: 800; color: var(--c-text);
    letter-spacing: -0.02em;
}
.stat .num .unit { font-size: 18px; color: var(--c-text-sub); font-weight: 600; margin-left: 2px; }
.stat .label { font-size: 13px; color: var(--c-text-muted); margin-top: 2px; }

/* ===== 通用区块 ===== */
.section { padding: 72px 0; scroll-margin-top: 84px; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px; font-weight: 700; letter-spacing: 0.08em;
    color: var(--c-primary); text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--c-primary) 10%, transparent);
    border: 1px solid color-mix(in srgb, var(--c-primary) 22%, transparent);
    margin-bottom: 16px;
}
.section-tag::before {
    content: '';
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--c-primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-primary) 18%, transparent);
}
.section-tag.hot {
    color: #ff8c42;
}
.section-tag.hot::before {
    background: #ff8c42;
    box-shadow: 0 0 0 3px rgba(255, 140, 66, 0.22);
}
.section-head h2 {
    font-size: 34px; font-weight: 800; letter-spacing: -0.02em;
    line-height: 1.2; margin-bottom: 14px;
}
.section-head p { font-size: 16px; color: var(--c-text-sub); line-height: 1.7; }

.section-head-row {
    display: flex; align-items: flex-end; justify-content: space-between;
    margin-bottom: 32px; flex-wrap: wrap; gap: 16px;
}
.section-head-row .text { max-width: 560px; }
.section-head-row .text h2 {
    font-size: 30px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 8px;
}
.section-head-row .text p { color: var(--c-text-sub); font-size: 15px; }
.link-more {
    color: var(--c-primary); font-weight: 600; font-size: 14px;
    display: inline-flex; align-items: center; gap: 4px;
    transition: gap 0.2s;
}
.link-more:hover { gap: 8px; }

/* ===== 工具卡片网格 ===== */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.tool-card {
    position: relative;
    background: var(--c-bg-card);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-md);
    padding: 26px 24px 22px;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
    overflow: hidden;
    display: flex; flex-direction: column;
}
.tool-card::before {
    content: "";
    position: absolute; inset: 0;
    background: var(--card-glow, transparent);
    opacity: 0; transition: opacity 0.28s;
    pointer-events: none;
    z-index: 0;
}
.tool-card.feature::before { display: none; }
.tool-card > * { position: relative; z-index: 1; }
.tool-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}
.tool-card:hover::before { opacity: 1; }

.tool-icon {
    width: 52px; height: 52px; border-radius: 14px;
    display: grid; place-items: center;
    font-size: 26px;
    color: #fff;
    background: var(--icon-bg, var(--c-primary));
    box-shadow: 0 8px 20px var(--icon-shadow, rgba(0,102,255,0.3));
    margin-bottom: 18px;
    position: relative;
}
.tool-tag {
    position: absolute; top: 18px; right: 18px;
    font-size: 11px; font-weight: 700; padding: 4px 10px;
    border-radius: 999px;
    background: var(--c-primary-soft); color: var(--c-primary);
}
.tool-tag.hot { background: #fff0f4; color: #ff4d79; }
.tool-tag.new { background: #e6fbef; color: var(--c-accent-green); }

.tool-card h3 {
    font-size: 18px; font-weight: 700; margin-bottom: 8px;
    letter-spacing: -0.01em;
}
.tool-card p { font-size: 14px; color: var(--c-text-sub); line-height: 1.65; flex: 1; }

.tool-foot {
    display: flex; align-items: center; justify-content: space-between;
    margin-top: 20px; padding-top: 16px;
    border-top: 1px dashed var(--c-border);
}
.tool-meta { font-size: 12px; color: var(--c-text-muted); display: flex; align-items: center; gap: 6px; }
.tool-go {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 13px; font-weight: 600; color: var(--c-primary);
    transition: gap 0.2s;
}
.tool-card:hover .tool-go { gap: 9px; }

/* 卡片配色 */
.t-blue   { --icon-bg: linear-gradient(135deg,#0066ff,#3d8bff); --icon-shadow: rgba(0,102,255,.35); --card-glow: linear-gradient(180deg, #f0f6ff, transparent 60%); }
.t-cyan   { --icon-bg: linear-gradient(135deg,#00b8d4,#00d4ff); --icon-shadow: rgba(0,212,255,.32); --card-glow: linear-gradient(180deg, #eafbff, transparent 60%); }
.t-purple { --icon-bg: linear-gradient(135deg,#7c5cff,#a78bff); --icon-shadow: rgba(124,92,255,.32); --card-glow: linear-gradient(180deg, #f3efff, transparent 60%); }
.t-pink   { --icon-bg: linear-gradient(135deg,#ff6b9d,#ff9bb6); --icon-shadow: rgba(255,107,157,.30); --card-glow: linear-gradient(180deg, #fff0f5, transparent 60%); }
.t-green  { --icon-bg: linear-gradient(135deg,#00b894,#00c896); --icon-shadow: rgba(0,200,150,.30); --card-glow: linear-gradient(180deg, #e6fbf1, transparent 60%); }
.t-orange { --icon-bg: linear-gradient(135deg,#ff8a3d,#ff9f43); --icon-shadow: rgba(255,159,67,.30); --card-glow: linear-gradient(180deg, #fff5ea, transparent 60%); }
.t-indigo { --icon-bg: linear-gradient(135deg,#3a3fbf,#5b6cff); --icon-shadow: rgba(91,108,255,.32); --card-glow: linear-gradient(180deg, #eef0ff, transparent 60%); }
.t-teal   { --icon-bg: linear-gradient(135deg,#008e9b,#00b8a9); --icon-shadow: rgba(0,184,169,.30); --card-glow: linear-gradient(180deg, #e6fbfa, transparent 60%); }

/* 大尺寸特色卡 */
.tool-card.feature {
    grid-column: span 2;
    padding: 0;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: stretch;
    min-height: 220px;
}
.tool-card.feature .ft-body { padding: 30px 32px; display: flex; flex-direction: column; justify-content: center; }
.tool-card.feature .ft-visual {
    background: linear-gradient(135deg, #0a1a3a, #1a3fb0);
    display: grid; place-items: center; position: relative; overflow: hidden;
}
.tool-card.feature .ft-visual .mock-code {
    font-family: "SFMono-Regular", Consolas, monospace;
    color: #b3d1ff; font-size: 12.5px; line-height: 1.7;
    opacity: 0.9; padding: 24px; width: 100%;
}
.tool-card.feature h3 { font-size: 22px; }

/* ===== 工具类(从内联样式迁移，便于各页复用) ===== */
.tools-grid--featured { margin-bottom: 24px; }
.section-head-row--spaced { margin-top: 56px; }
.section-head--spaced { margin-top: 56px; }
.tool-card.feature .ft-body h3 { margin-top: 10px; }
.tool-foot--clean { border: none; padding: 0; margin-top: 20px; }

/* 程序员 / 办公 双专区导航卡 */
.tools-grid--zones { margin-bottom: 10px; }
.tools-grid--zones .tool-card.feature {
    grid-column: span 1;
    display: flex;
    flex-direction: column;
    padding: 26px 24px 22px;
    min-height: 210px;
}
.tools-grid--zones .tool-card.feature h3 { font-size: 20px; }
.tools-grid--zones .tool-card.feature:hover { transform: translateY(-6px); }
@media (max-width: 860px) {
    .tools-grid--zones { grid-template-columns: 1fr; }
    .tools-grid--zones .tool-card.feature { grid-column: span 1; }
}

/* mock-code 语法高亮(语义色) */
.c-key { color: #5b6cff; }
.c-fn { color: #00d4ff; }
.c-comment { color: #5b8bff; }
.c-muted { color: #7a8caa; }

/* 页脚备案链接 */
.beian-link { margin-left: 10px; }

/* ===== 特性区 ===== */
.features { background: var(--c-bg-soft); }
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.feature {
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-md);
    padding: 32px 28px;
    transition: box-shadow 0.25s, transform 0.25s;
}
.feature:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.feature .f-icon {
    width: 46px; height: 46px; border-radius: 12px;
    background: var(--c-primary-soft);
    color: var(--c-primary);
    display: grid; place-items: center; font-size: 22px;
    margin-bottom: 18px;
}
.feature h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.feature p { font-size: 14px; color: var(--c-text-sub); line-height: 1.65; }

/* ===== CTA 横幅 ===== */
.cta-band {
    margin: 16px 0 0;
    padding: 56px 0;
    background:
        radial-gradient(700px 300px at 12% 50%, rgba(0,212,255,0.22), transparent 60%),
        linear-gradient(120deg, #0a1a3a 0%, #1a3fb0 100%);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-band h2 {
    font-size: 34px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 14px;
}
.cta-band p { font-size: 17px; opacity: 0.85; margin-bottom: 30px; }
.btn-white {
    background: #fff; color: var(--c-primary);
    box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}
.btn-white:hover { transform: translateY(-2px); }

/* ===== 页脚 ===== */
.footer {
    background: #0d1426; color: #8a93a8;
    padding: 64px 0 32px;
}
.footer-top {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer .brand { color: #fff; margin-bottom: 16px; }
.footer .brand-logo { box-shadow: none; }
.footer-desc { font-size: 14px; line-height: 1.7; max-width: 320px; }
.footer-col h4 { color: #fff; font-size: 14px; margin-bottom: 16px; font-weight: 600; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { font-size: 14px; color: #8a93a8; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }

.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a {
    width: 38px; height: 38px; border-radius: 10px;
    background: rgba(255,255,255,0.06);
    display: grid; place-items: center; font-size: 18px;
    transition: background 0.2s, transform 0.2s;
}
.footer-social a:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); }

.footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 24px; font-size: 13px; flex-wrap: wrap; gap: 12px;
}
.footer-bottom .legal { display: flex; gap: 18px; }
.footer-bottom a:hover { color: #fff; }

/* ===== 响应式 ===== */
@media (max-width: 960px) {
    .nav { display: none; }
    .hero h1 { font-size: 40px; }
    .hero-sub { font-size: 17px; }
    .tools-grid, .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .tool-card.feature { grid-column: span 2; grid-template-columns: 1fr; }
    .tool-card.feature .ft-visual { min-height: 160px; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .section-head h2, .section-head-row .text h2 { font-size: 26px; }
}
@media (max-width: 600px) {
    .hero { padding: 56px 0 40px; }
    .hero h1 { font-size: 32px; }
    .hero-stats { gap: 28px; }
    .stat .num { font-size: 24px; }
    .tools-grid, .feature-grid { grid-template-columns: 1fr; }
    .tool-card.feature { grid-column: span 1; }
    .footer-top { grid-template-columns: 1fr; }
    .section { padding: 52px 0; }
    .cta-band h2 { font-size: 26px; }
}

/* ===== Hero 实时时钟 ===== */
.hero-clock-wrap { margin-bottom: 28px; }
.hero-clock {
    font-size: 44px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.03em;
    color: var(--c-text);
    line-height: 1;
    margin-bottom: 10px;
}
.hero-state {
    font-size: 15px;
    color: var(--c-text-sub);
    font-weight: 500;
}
.hero-clock .clock-sep { opacity: 0.35; }

/* ===== 隐蔽切换按钮 ===== */
.stealth-toggle {
    position: fixed;
    bottom: 18px;
    right: 18px;
    z-index: 200;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    display: grid;
    place-items: center;
    opacity: 0.25;
    transition: opacity 0.2s, transform 0.2s;
}
.stealth-toggle::after {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--c-text-muted);
    transition: background 0.2s;
}
.stealth-toggle:hover { opacity: 0.7; transform: scale(1.15); }
body[data-mode="stealth"] .stealth-toggle { opacity: 0.5; }
body[data-mode="stealth"] .stealth-toggle::after { background: var(--c-accent-green); box-shadow: 0 0 0 3px rgba(0,200,150,0.18); }

/* ===== 入场动效 ===== */
[data-animate] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.65s cubic-bezier(0.22, 0.61, 0.36, 1);
}
[data-animate].is-visible {
    opacity: 1;
    transform: translateY(0);
}
/* 网格内错峰延迟 */
.tools-grid [data-animate]:nth-child(2) { transition-delay: 0.1s; }
.tools-grid [data-animate]:nth-child(3) { transition-delay: 0.2s; }
.feature-grid [data-animate]:nth-child(2) { transition-delay: 0.08s; }
.feature-grid [data-animate]:nth-child(3) { transition-delay: 0.16s; }
.feature-grid [data-animate]:nth-child(4) { transition-delay: 0.24s; }
.feature-grid [data-animate]:nth-child(5) { transition-delay: 0.32s; }
.feature-grid [data-animate]:nth-child(6) { transition-delay: 0.4s; }

/* 卡片图标 hover 弹跳 */
.tool-card:hover .tool-icon { animation: icon-bounce 0.5s ease; }
@keyframes icon-bounce {
    0%, 100% { transform: translateY(0); }
    30% { transform: translateY(-6px) scale(1.08); }
    60% { transform: translateY(2px) scale(0.96); }
}

/* ===== 隐蔽模式（老板键） ===== */
body[data-mode="stealth"] .hero-blob { opacity: 0.12; }
body[data-mode="stealth"] .hero {
    background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
}
body[data-mode="stealth"] .hero h1 {
    background: none;
    -webkit-text-fill-color: var(--c-text);
    color: var(--c-text);
}
body[data-mode="stealth"] .hero h1 .accent {
    background: none;
    -webkit-text-fill-color: var(--c-primary);
    color: var(--c-primary);
}
body[data-mode="stealth"] .tool-tag.hot,
body[data-mode="stealth"] .tool-tag.new { display: none; }
.stealth-hidden { display: none !important; }
.tool-tag.stealth-hidden { display: none !important; }
body[data-mode="stealth"] .cta-band {
    background: linear-gradient(120deg, #0d1426 0%, #1a2840 100%);
}

@media (max-width: 600px) {
    .hero-clock { font-size: 34px; }
}

/* ===== 全局快捷键提示弹窗 ===== */
.gh-modal {
    position: fixed;
    inset: 0;
    z-index: 10020;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    animation: gh-fade 0.18s ease;
}
.gh-modal[hidden] { display: none; }
@keyframes gh-fade { from { opacity: 0; } to { opacity: 1; } }
.gh-box {
    width: min(520px, 92vw);
    max-height: 86vh;
    overflow-y: auto;
    background: var(--c-bg-card);
    border-radius: var(--radius-lg);
    box-shadow: 0 24px 64px rgba(16, 24, 40, 0.18);
}
.gh-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px 16px;
    border-bottom: 1px solid var(--c-border);
}
.gh-head h2 { font-size: 18px; font-weight: 700; }
.gh-close {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--c-bg-soft);
    color: var(--c-text-muted);
    font-size: 18px;
    border: none;
    cursor: pointer;
    transition: all 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gh-close:hover { background: var(--c-primary-soft); color: var(--c-primary); }
.gh-tip {
    margin: 16px 24px;
    padding: 12px 16px;
    background: var(--c-primary-soft);
    border-radius: var(--radius-sm);
    color: var(--c-primary);
    font-size: 14px;
    line-height: 1.6;
}
.gh-tip strong { font-weight: 700; }
.gh-section { padding: 0 24px 16px; }
.gh-section h3 {
    font-size: 13px;
    font-weight: 700;
    color: var(--c-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
}
.gh-section ul { list-style: none; }
.gh-section li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    font-size: 14px;
    color: var(--c-text-sub);
}
.gh-section li span { margin-left: 4px; }
.gh-section kbd {
    display: inline-block;
    min-width: 22px;
    padding: 2px 7px;
    background: var(--c-bg-soft);
    border: 1px solid var(--c-border);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--c-text);
    text-align: center;
    box-shadow: 0 1px 0 var(--c-border);
}
.gh-foot {
    padding: 12px 24px 20px;
    color: var(--c-text-muted);
    font-size: 12px;
    text-align: center;
}

/* ===== iframe 沉浸模式覆盖层 ===== */
.fw-embed-overlay {
    position: fixed;
    inset: 0;
    z-index: 99998;
    background: #1e1e2e;
    display: flex;
    align-items: center;
    justify-content: center;
}
.fw-embed-overlay::after {
    content: "";
    width: 28px;
    height: 28px;
    border: 3px solid #313244;
    border-top-color: #89b4fa;
    border-radius: 50%;
    animation: fw-spin 0.7s linear infinite;
}
@keyframes fw-spin { to { transform: rotate(360deg); } }

.fw-embed {
    position: fixed;
    inset: 0;
    z-index: 99999;
    border: none;
    width: 100vw;
    height: 100vh;
    background: #1e1e2e;
    animation: fw-embed-in 0.25s ease;
}
@keyframes fw-embed-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ========================================================================
 *  顶部导航（nav-header）：单行式，参考 logamee.com
 *  左 Logo / 中 导航链接(带下拉) / 右 登录 · 快速体验 · 快捷键灯泡
 * ====================================================================== */
.nav-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    border-bottom: 1px solid var(--c-border);
}
/* 单行：品牌 | 导航 | 操作区 */
.nav-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    gap: 16px;
}

/* 导航条：居中占据中间空间（内联于 nav-top，非独立行） */
.nav-bar {
    flex: 1;
    display: flex;
    justify-content: center;
    min-width: 0;
}
.nav-bar-inner {
    display: flex;
    align-items: center;
}
.nav-bar-list {
    list-style: none;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 2px;
    margin: 0;
    padding: 0;
    /* 不可设 overflow-x:auto，否则 overflow-y 被强制为 auto 会裁剪下拉菜单 */
}
.nav-bar-item { position: relative; flex-shrink: 0; }

.nav-bar-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 64px;
    padding: 0 13px;
    font-size: 15px;
    font-weight: 500;
    color: var(--c-text-sub);
    transition: color 0.18s ease;
    white-space: nowrap;
    cursor: pointer;
    font-family: inherit;
    border: none;
    background: transparent;
    position: relative;
}
.nav-bar-link:hover { color: var(--c-text); }
.nav-bar-link.is-active {
    color: var(--c-primary);
    font-weight: 600;
}
.nav-bar-link.is-active::after {
    content: "";
    position: absolute;
    left: 13px; right: 13px; bottom: 0;
    height: 2px;
    background: var(--c-primary);
    border-radius: 2px;
}
.nav-bar-link--caret .caret {
    transition: transform 0.2s ease;
    margin-left: 1px;
    opacity: 0.55;
}
.has-dropdown:hover > .nav-bar-link--caret .caret { transform: rotate(180deg); }

/* ===== 品牌 Logo ===== */
.nav-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--c-text);
    flex-shrink: 0;
}
.nav-brand-logo {
    width: 60px;
    height: 60px;
    border-radius: 11px;
    /* background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-accent-cyan) 100%); */
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 22px;
    box-shadow: 0 6px 16px rgba(0, 102, 255, 0.32);
    transition: transform 0.2s ease;
}
/* .nav-brand:hover .nav-brand-logo { transform: translateY(-1px) rotate(-1deg); } */
.nav-brand-logo img {
    width: 97%;
    height: 97%;
    object-fit: cover;
    border-radius: 11px;
    display: block;
}
.nav-brand-name { line-height: 1; }

.has-dropdown > .nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 168px;
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: 14px;
    box-shadow: 0 18px 50px rgba(16, 24, 40, 0.14);
    padding: 0 14px 14px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-4px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
    z-index: 200;
}
.has-dropdown:hover > .nav-dropdown,
.has-dropdown:focus-within > .nav-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}
/* 顶部主题色条 */
.nav-dropdown::before {
    content: "";
    position: absolute;
    top: 0;
    left: 16px;
    right: 16px;
    height: 3px;
    background: var(--cat-color, var(--c-primary));
    border-radius: 0 0 3px 3px;
}

/* 下拉头部：icon + 父分类名 */
.nav-drop-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 4px 10px;
    margin-bottom: 6px;
    border-bottom: 1px solid var(--c-border);
}
.nav-drop-head-icon {
    width: 32px; height: 32px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    font-size: 17px;
    background: color-mix(in srgb, var(--cat-color, var(--c-primary)) 14%, #fff);
    flex-shrink: 0;
}
.nav-drop-head-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--c-text);
    line-height: 1.2;
}

/* 子分类文字列表（一行一个） */
.nav-drop-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2px;
}
.nav-drop-link {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 7px 10px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--c-text-sub);
    transition: background 0.16s ease, color 0.16s ease, transform 0.16s ease;
    white-space: nowrap;
    overflow: hidden;
}
.nav-drop-link-icon {
    flex-shrink: 0;
    width: 24px; height: 24px;
    border-radius: 6px;
    display: grid;
    place-items: center;
    font-size: 14px;
    background: color-mix(in srgb, var(--cat-color, var(--c-primary)) 12%, #fff);
    transition: transform 0.16s ease;
}
.nav-drop-link:hover { background: color-mix(in srgb, var(--cat-color, var(--c-primary)) 10%, #fff); color: var(--cat-color, var(--c-primary)); transform: translateX(2px); }
.nav-drop-link:hover .nav-drop-link-icon { transform: scale(1.1); }
.nav-drop-link.is-active { color: var(--cat-color, var(--c-primary)); background: color-mix(in srgb, var(--cat-color, var(--c-primary)) 12%, #fff); font-weight: 600; }
.nav-drop-link.is-active .nav-drop-link-icon { background: color-mix(in srgb, var(--cat-color, var(--c-primary)) 22%, #fff); }

/* ===== 右侧操作区 ===== */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.nav-ghost-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    padding: 0 16px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    color: var(--c-text);
    background: transparent;
    border: 1px solid var(--c-border);
    transition: all 0.18s ease;
    white-space: nowrap;
}
.nav-ghost-btn:hover {
    background: var(--c-bg-soft);
    border-color: color-mix(in srgb, var(--c-primary) 40%, var(--c-border));
    color: var(--c-primary);
}
.nav-primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 38px;
    padding: 0 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, var(--c-primary) 0%, color-mix(in srgb, var(--c-primary) 80%, var(--c-accent-purple)) 100%);
    box-shadow: 0 6px 18px rgba(0, 102, 255, 0.3);
    transition: all 0.18s ease;
    white-space: nowrap;
}
.nav-primary-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(0, 102, 255, 0.4);
    filter: brightness(1.05);
}

/* ===== 已登录用户头像下拉 ===== */
.nav-user {
    position: relative;
    display: inline-flex;
    align-items: center;
}
.nav-user-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 10px 4px 4px;
    border-radius: 999px;
    border: 1px solid var(--c-border, #eef1f6);
    background: var(--c-bg-soft, #f7f9fc);
    cursor: pointer;
    transition: all 0.18s ease;
    color: var(--c-text, #1a1f36);
}
.nav-user-btn:hover {
    border-color: color-mix(in srgb, var(--c-primary, #0066ff) 30%, transparent);
    background: color-mix(in srgb, var(--c-primary, #0066ff) 6%, var(--c-bg-card, #fff));
}
.nav-user-btn.is-open {
    border-color: color-mix(in srgb, var(--c-primary, #0066ff) 35%, transparent);
    background: color-mix(in srgb, var(--c-primary, #0066ff) 8%, var(--c-bg-card, #fff));
}
.nav-user-avatar {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--c-primary, #0066ff) 0%, var(--c-accent-cyan, #00d4ff) 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    display: grid;
    place-items: center;
    text-transform: uppercase;
    flex-shrink: 0;
}
.nav-user-name {
    font-size: 13px;
    font-weight: 600;
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.nav-user-btn .caret {
    color: var(--c-text-muted, #8a93a8);
    transition: transform 0.2s ease;
}
.nav-user-btn.is-open .caret {
    transform: rotate(180deg);
}

.nav-user-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 200px;
    padding: 8px;
    background: var(--c-bg-card, #fff);
    border: 1px solid var(--c-border, #eef1f6);
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(16, 24, 40, 0.12);
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.nav-user-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.nav-user-link {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 14px;
    color: var(--c-text, #1a1f36);
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    transition: background 0.15s ease;
}
.nav-user-link:hover {
    background: var(--c-bg-soft, #f7f9fc);
}
.nav-user-link--logout {
    color: #ef4444;
    font-weight: 600;
}
.nav-user-link--logout:hover {
    background: rgba(239, 68, 68, 0.08);
}
.nav-user-link-icon {
    font-size: 16px;
    width: 20px;
    text-align: center;
}

@media (max-width: 768px) {
    .nav-user-name { display: none; }
    .nav-user-btn { padding: 3px; }
    .nav-user-avatar { width: 32px; height: 32px; font-size: 15px; }
}

.nav-tip-btn {
    width: 38px; height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--c-bg-soft);
    border: 1px solid var(--c-border);
    color: var(--c-text-sub);
    cursor: pointer;
    transition: all 0.18s ease;
    flex-shrink: 0;
}
.nav-tip-btn:hover {
    background: var(--c-primary-soft);
    border-color: var(--c-primary);
    color: var(--c-primary);
    transform: scale(1.08);
}

/* ===== 移动端汉堡按钮 / 遮罩（默认隐藏，≤860px 启用） ===== */
.nav-burger {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--c-bg-soft);
    border: 1px solid var(--c-border);
    color: var(--c-text-sub);
    cursor: pointer;
    transition: all 0.18s ease;
    flex-shrink: 0;
}
.nav-burger span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-burger:hover {
    background: var(--c-primary-soft);
    border-color: var(--c-primary);
    color: var(--c-primary);
}
.nav-header.nav-open .nav-burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-header.nav-open .nav-burger span:nth-child(2) { opacity: 0; }
.nav-header.nav-open .nav-burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-mask {
    position: fixed;
    inset: 0;
    z-index: 90;
    background: rgba(15, 23, 42, 0.38);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s ease, visibility 0.22s;
}
.nav-header.nav-open .nav-mask {
    opacity: 1;
    visibility: visible;
}

/* ===== 分类落地页 ===== */
.cat-hero {
    position: relative;
    margin: 24px 0 28px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--c-border);
    background: #fff;
    box-shadow: var(--shadow-md);
}
.cat-hero-bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 20% 0%, color-mix(in srgb, var(--cat-color, var(--c-primary)) 20%, transparent) 0%, transparent 55%),
        radial-gradient(ellipse at 100% 100%, color-mix(in srgb, var(--c-accent-cyan) 15%, transparent) 0%, transparent 60%);
    pointer-events: none;
}
.cat-hero-body {
    position: relative;
    padding: 36px 32px;
    display: flex;
    align-items: center;
    gap: 20px;
}
.cat-hero-icon {
    --size: 88px;
    width: var(--size); height: var(--size);
    flex-shrink: 0;
    border-radius: 22px;
    display: grid;
    place-items: center;
    font-size: 44px;
    background: color-mix(in srgb, var(--cat-color, var(--c-primary)) 14%, #fff);
    box-shadow: 0 10px 30px color-mix(in srgb, var(--cat-color, var(--c-primary)) 22%, transparent);
}
.cat-hero-info h1 {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 6px;
}
.cat-hero-parent {
    font-size: 13px;
    color: var(--c-text-muted);
    margin-bottom: 6px;
}
.cat-hero-parent a { color: var(--c-primary); font-weight: 500; }
.cat-hero-desc {
    font-size: 14px;
    color: var(--c-text-sub);
    max-width: 680px;
    line-height: 1.7;
}

.section-sub-title {
    font-size: 16px;
    font-weight: 700;
    margin: 12px 0 14px;
    color: var(--c-text);
}
.cat-children-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
    margin-bottom: 28px;
}
.cat-child-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid var(--c-border);
    background: #fff;
    transition: all 0.2s ease;
}
.cat-child-card:hover {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--cat-color, var(--c-primary)) 50%, var(--c-border));
    box-shadow: 0 10px 24px color-mix(in srgb, var(--cat-color, var(--c-primary)) 14%, transparent);
}
.cat-child-icon {
    width: 32px; height: 32px;
    flex-shrink: 0;
    border-radius: 9px;
    background: color-mix(in srgb, var(--cat-color, var(--c-primary)) 15%, #fff);
    display: grid;
    place-items: center;
    font-size: 17px;
}
.cat-child-name { font-size: 14px; font-weight: 600; color: var(--c-text); }

.cat-empty {
    padding: 60px 0 40px;
}
.cat-empty-inner {
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
    padding: 40px 24px;
    border-radius: var(--radius-lg);
    background: var(--c-bg-soft);
    border: 1px dashed var(--c-border);
}
.cat-empty-emoji { font-size: 52px; margin-bottom: 12px; }
.cat-empty h2 { font-size: 20px; margin-bottom: 10px; color: var(--c-text); }
.cat-empty p { color: var(--c-text-sub); font-size: 14px; line-height: 1.7; }

/* ===== 响应式 ===== */
@media (max-width: 1080px) {
    .has-dropdown > .nav-dropdown { min-width: 160px; }
}
@media (max-width: 640px) {
    .nav-top { height: 54px; }
    .nav-ghost-btn { display: none; }
    .nav-primary-btn { padding: 0 14px; font-size: 13px; height: 34px; }
    .nav-tip-btn { width: 34px; height: 34px; }
    .nav-brand-name { display: none; }
    .nav-bar-link { height: 54px; padding: 0 8px; font-size: 13px; }
    .nav-bar-link.is-active::after { left: 8px; right: 8px; }
    .cat-hero-body { flex-direction: column; align-items: flex-start; padding: 24px 20px; }
    .cat-hero-icon { --size: 68px; font-size: 34px; }
    .cat-hero-info h1 { font-size: 22px; }
}

/* ===== 移动端导航：汉堡菜单 + 下拉面板（≤860px） ===== */
@media (max-width: 860px) {
    .nav-burger { display: inline-flex; }
    .nav-top { gap: 10px; }

    /* 导航条 → 固定下拉面板 */
    .nav-bar {
        display: block;
        position: fixed;
        top: 72px;
        left: 12px;
        right: 12px;
        max-height: calc(100vh - 88px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        z-index: 300;
        padding: 12px;
        border-radius: 18px;
        background: var(--c-bg-card, #fff);
        border: 1px solid var(--c-border);
        box-shadow: 0 24px 60px rgba(16, 24, 40, 0.2);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px) scale(0.98);
        transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
    }
    .nav-header.nav-open .nav-bar {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
    }
    .nav-bar-inner { display: block; width: 100%; }
    .nav-bar-list {
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        width: 100%;
    }
    .nav-bar-item { width: 100%; }
    .nav-bar-link {
        width: 100%;
        height: 46px;
        padding: 0 12px;
        border-radius: 10px;
        font-size: 15px;
        justify-content: flex-start;
    }
    .nav-bar-link:hover { background: var(--c-bg-soft); }
    .nav-bar-link.is-active {
        background: color-mix(in srgb, var(--c-primary) 10%, transparent);
    }
    .nav-bar-link.is-active::after { display: none; }
    .nav-bar-link--caret {
        justify-content: space-between;
    }
    .nav-bar-link--caret .caret { margin-left: auto; }

    /* 下拉菜单 → 面板内静态展开的子列表 */
    .has-dropdown > .nav-dropdown {
        position: static;
        min-width: 0;
        width: 100%;
        padding: 2px 0 8px 10px;
        margin: 0 0 4px;
        background: transparent;
        border: none;
        border-radius: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
    }
    .nav-dropdown::before { display: none; }
    .nav-drop-head {
        padding: 6px 4px 8px;
        margin-bottom: 2px;
        border-bottom: 1px dashed var(--c-border);
    }
    .nav-drop-head-icon { width: 28px; height: 28px; font-size: 15px; }
    .nav-drop-head-name { font-size: 13px; }
    .nav-drop-link { white-space: normal; padding: 9px 10px; }

    /* 遮罩盖住面板以下区域 */
    .nav-mask { top: 64px; }
}
@media (max-width: 640px) {
    /* 头部变矮（54px），面板与遮罩位置同步 */
    .nav-bar { top: 62px; max-height: calc(100vh - 76px); }
    .nav-mask { top: 54px; }
    .nav-brand-logo { width: 44px; height: 44px; }
}

/* ===== 每日签到条 ===== */
.checkin-bar {
    padding: 20px 0;
    margin-top: -10px;
}
.checkin-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 28px;
    border-radius: 16px;
    background: linear-gradient(135deg, color-mix(in srgb, var(--c-primary, #6366f1) 8%, var(--c-bg-card, #fff)), var(--c-bg-card, #fff));
    border: 1px solid color-mix(in srgb, var(--c-primary, #6366f1) 18%, transparent);
}
.checkin-left {
    display: flex;
    align-items: center;
    gap: 14px;
}
.checkin-emoji {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    border-radius: 12px;
    background: color-mix(in srgb, var(--c-primary, #6366f1) 12%, var(--c-bg-soft, #f9fafb));
}
.checkin-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--c-text, #1f2937);
}
.checkin-sub {
    font-size: 13px;
    color: var(--c-text-sub, #6b7280);
    margin-top: 2px;
}
.checkin-right {
    display: flex;
    align-items: center;
    gap: 20px;
}
.checkin-streak {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.2;
}
.checkin-streak-num {
    font-size: 26px;
    font-weight: 800;
    color: var(--c-primary, #6366f1);
}
/* 鱼珠积分（签到奖励） */
.checkin-points {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.2;
    cursor: help;
}
.checkin-points-num {
    font-size: 26px;
    font-weight: 800;
    color: var(--c-accent-orange, #f59e0b);
    letter-spacing: -0.02em;
}
.checkin-points-label {
    font-size: 11px;
    color: var(--c-text-muted, #9ca3af);
}
.checkin-streak-label {
    font-size: 11px;
    color: var(--c-text-muted, #9ca3af);
}
.checkin-done-btn {
    padding: 9px 22px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #22c55e;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    cursor: default;
}
@media (max-width: 640px) {
    .checkin-inner { flex-direction: column; text-align: center; gap: 16px; padding: 18px 16px; }
    .checkin-left { flex-direction: column; }
}

/* 签到条左侧可点击开日历 */
.checkin-left { cursor: pointer; }
.checkin-cal-hint {
    display: inline-block;
    margin-left: 6px;
    font-size: 12px;
    font-weight: 500;
    color: var(--c-primary, #0066ff);
    opacity: 0.75;
    transition: opacity 0.2s;
}
.checkin-left:hover .checkin-cal-hint { opacity: 1; }
.checkin-soon {
    display: inline-block;
    margin-left: 8px;
    font-size: 11px;
    font-weight: 500;
    color: var(--c-accent, #f59e0b);
    background: color-mix(in srgb, var(--c-accent, #f59e0b) 14%, transparent);
    border: 1px solid color-mix(in srgb, var(--c-accent, #f59e0b) 40%, transparent);
    border-radius: 20px;
    padding: 1px 10px;
    vertical-align: 2px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.checkin-soon:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px color-mix(in srgb, var(--c-accent, #f59e0b) 35%, transparent);
}

/* ===== 签到日历弹窗 ===== */
.ckcal-modal {
    position: fixed;
    inset: 0;
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(4px);
}
/* hidden 属性必须生效，否则一开首页就自动弹出 */
.ckcal-modal[hidden] { display: none; }
body.ckcal-open { overflow: hidden; }
.ckcal-box {
    width: 100%;
    max-width: 480px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    background: var(--c-bg-card, #fff);
    border: 1px solid var(--c-border, #eee);
    border-radius: 22px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
    padding: 24px 24px 20px;
    animation: ckcal-in 0.22s ease;
}
@keyframes ckcal-in {
    from { opacity: 0; transform: translateY(14px) scale(0.97); }
    to { opacity: 1; transform: none; }
}
.ckcal-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 16px;
}
.ckcal-head h2 {
    font-size: 19px;
    font-weight: 800;
    background: linear-gradient(90deg, var(--c-primary, #0066ff), var(--c-accent-purple, #7c5cff));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.ckcal-tagline {
    margin-top: 3px;
    font-size: 12px;
    color: var(--c-text-muted, #9ca3af);
}
.ckcal-close {
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--c-text-muted, #9ca3af);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s;
}
.ckcal-close:hover { background: var(--c-bg-soft, #f3f4f6); }
.ckcal-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 12px;
}
.ckcal-nav-mid {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}
.ckcal-nav-btn {
    width: 32px;
    height: 32px;
    flex: 0 0 auto;
    border: 1px solid var(--c-border, #eee);
    border-radius: 9px;
    background: var(--c-bg-card, #fff);
    color: var(--c-text-sub, #6b7280);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s;
}
.ckcal-nav-btn:hover {
    border-color: var(--c-primary, #0066ff);
    color: var(--c-primary, #0066ff);
}
.ckcal-title { font-size: 15px; font-weight: 700; white-space: nowrap; }
.ckcal-today-btn {
    padding: 5px 12px;
    border: 1px solid color-mix(in srgb, var(--c-primary, #0066ff) 35%, transparent);
    border-radius: 999px;
    background: color-mix(in srgb, var(--c-primary, #0066ff) 8%, transparent);
    color: var(--c-primary, #0066ff);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}
.ckcal-today-btn:hover {
    background: var(--c-primary, #0066ff);
    color: #fff;
}
.ckcal-week {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    margin-bottom: 5px;
}
.ckcal-week span {
    text-align: center;
    font-size: 12px;
    color: var(--c-text-muted, #9ca3af);
    padding: 4px 0;
}
.ckcal-week span.wk { color: var(--c-accent-pink, #ff6b9d); }
.ckcal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    min-height: 220px;
}
.ckcal-day {
    position: relative;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 13px;
    color: var(--c-text-sub, #4b5563);
    background: var(--c-bg-soft, #f5f6f8);
    transition: transform 0.15s, box-shadow 0.15s;
}
.ckcal-day.ckcal-empty { background: transparent; }
.ckcal-day:not(.ckcal-empty):not(.is-future):hover { transform: translateY(-2px); }
.ckcal-day.is-future { opacity: 0.35; }
/* 已签到：鱼珠金色渐变 */
.ckcal-day.is-checked {
    background: linear-gradient(135deg, #ffb703, #ff9f43);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 3px 10px rgba(255, 159, 67, 0.35);
}
.ckcal-day.is-checked::after {
    content: '✓';
    position: absolute;
    right: 4px;
    bottom: 2px;
    font-size: 9px;
    opacity: 0.9;
}
.ckcal-day.is-today {
    outline: 2px solid var(--c-primary, #0066ff);
    outline-offset: -2px;
    cursor: pointer;
}
.ckcal-day.is-today:not(.is-checked)::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    background: color-mix(in srgb, var(--c-primary, #0066ff) 8%, transparent);
    pointer-events: none;
}
.ckcal-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 70px 0;
    color: var(--c-text-muted, #9ca3af);
    font-size: 13px;
}
/* 月度小结 */
.ckcal-monthsum {
    margin-top: 12px;
    text-align: center;
    font-size: 13px;
    color: var(--c-text-sub, #6b7280);
}
.ckcal-monthsum b {
    color: var(--c-accent-orange, #ff9f43);
    font-size: 15px;
    font-weight: 800;
    margin: 0 2px;
}
/* 里程碑进度条 */
.ckcal-milestone {
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    background: color-mix(in srgb, var(--c-accent-purple, #7c5cff) 7%, var(--c-bg-soft, #f9fafb));
}
.ckcal-milestone-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 12px;
    color: var(--c-text-sub, #6b7280);
}
.ckcal-milestone-head b {
    color: var(--c-accent-purple, #7c5cff);
    font-weight: 800;
}
.ckcal-milestone-head > b {
    font-size: 13px;
    color: var(--c-text, #1f2937);
}
.ckcal-progress {
    height: 8px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--c-text-muted, #9ca3af) 18%, transparent);
    overflow: hidden;
}
.ckcal-progress i {
    display: block;
    height: 100%;
    width: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--c-primary, #0066ff), var(--c-accent-purple, #7c5cff));
    transition: width 0.4s ease;
}
/* 里程碑徽章 */
.ckcal-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}
.ckcal-badge {
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: var(--c-text-muted, #9ca3af);
    background: var(--c-bg-soft, #f5f6f8);
    border: 1px solid var(--c-border, #eee);
}
.ckcal-badge b { font-weight: 800; }
.ckcal-badge.is-done {
    color: #b45309;
    background: color-mix(in srgb, #ffb703 14%, transparent);
    border-color: color-mix(in srgb, #ffb703 45%, transparent);
}
.ckcal-badge.is-done b { color: #d97706; }
.ckcal-badge.is-next {
    color: var(--c-primary, #0066ff);
    background: color-mix(in srgb, var(--c-primary, #0066ff) 8%, transparent);
    border-color: color-mix(in srgb, var(--c-primary, #0066ff) 35%, transparent);
}
.ckcal-stats {
    display: flex;
    justify-content: space-around;
    margin: 14px 0 12px;
    padding: 12px 0;
    border-top: 1px dashed var(--c-border, #eee);
    border-bottom: 1px dashed var(--c-border, #eee);
}
.ckcal-stats > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}
.ckcal-stats b {
    font-size: 20px;
    font-weight: 800;
    color: var(--c-primary, #0066ff);
}
.ckcal-stats span { font-size: 12px; color: var(--c-text-muted, #9ca3af); }
.ckcal-foot {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    min-height: 40px;
}
.ckcal-donetip {
    font-size: 14px;
    font-weight: 600;
    color: #22c55e;
}
.ckcal-hint { font-size: 12px; color: var(--c-text-muted, #9ca3af); }
.ckcal-storage {
    margin-top: 12px;
    text-align: center;
    font-size: 12px;
    color: var(--c-text-muted, #9ca3af);
}
.ckcal-storage a {
    color: var(--c-primary, #0066ff);
    font-weight: 600;
    text-decoration: none;
}
@media (max-width: 480px) {
    .ckcal-box { padding: 18px 14px 14px; border-radius: 18px; }
    .ckcal-grid { min-height: 180px; gap: 4px; }
    .ckcal-week { gap: 4px; }
    .ckcal-badge { padding: 4px 8px; font-size: 11px; }
}

/* ===== 摸鱼读物横向卡片 ===== */
.reader-cards-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 22px;
    margin-bottom: 40px;
}
.reader-card-h {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 28px 24px 20px;
    border-radius: 16px;
    border: 1px solid var(--c-border, #eee);
    background: var(--c-bg-card, #fff);
    color: inherit;
    transition: all 0.24s ease;
    overflow: hidden;
}
.reader-card-h::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, transparent, transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.24s;
    pointer-events: none;
}
.reader-card-h:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}
.reader-card-h.t-cyan:hover { border-color: #0ea5e9; }
.reader-card-h.t-pink:hover { border-color: #ec4899; }
.reader-card-h.t-green:hover { border-color: #22c55e; }
.reader-card-h.t-indigo:hover { border-color: #6366f1; }
.reader-card-h-tag {
    position: absolute;
    top: 14px;
    right: 16px;
    font-size: 11px;
    font-weight: 600;
    color: var(--c-text-muted, #9ca3af);
}
.reader-card-h-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    border-radius: 13px;
    margin-bottom: 16px;
}
.reader-card-h.t-cyan .reader-card-h-icon { background: rgba(14,165,233,0.12); }
.reader-card-h.t-pink .reader-card-h-icon { background: rgba(236,72,153,0.12); }
.reader-card-h.t-green .reader-card-h-icon { background: rgba(34,197,94,0.12); }
.reader-card-h.t-indigo .reader-card-h-icon { background: rgba(99,102,241,0.12); }
.reader-card-h-title {
    font-size: 19px;
    font-weight: 800;
    color: var(--c-text, #1f2937);
    margin-bottom: 10px;
}
.reader-card-h-desc {
    font-size: 14px;
    line-height: 1.65;
    color: var(--c-text-sub, #6b7280);
    flex: 1;
    margin-bottom: 18px;
}
.reader-card-h-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid var(--c-border, #f0f0f0);
}
.reader-card-h-meta {
    font-size: 13px;
    color: var(--c-text-muted, #9ca3af);
}
.reader-card-h-go {
    font-size: 14px;
    font-weight: 600;
    transition: transform 0.16s;
}
.reader-card-h:hover .reader-card-h-go { transform: translateX(3px); }
.reader-card-h.t-cyan .reader-card-h-go { color: #0ea5e9; }
.reader-card-h.t-pink .reader-card-h-go { color: #ec4899; }
.reader-card-h.t-green .reader-card-h-go { color: #22c55e; }
.reader-card-h.t-indigo .reader-card-h-go { color: #6366f1; }
@media (max-width: 860px) {
    .reader-cards-row { grid-template-columns: 1fr; }
}

/* ===== 下个工具投票 ===== */
.vote-section { background: var(--c-bg-soft, #f9fafb); }
.vote-done {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0 auto 20px;
    padding: 10px 20px;
    max-width: 560px;
    border-radius: 999px;
    border: 1px dashed color-mix(in srgb, #10b981 45%, var(--c-border, #eee));
    background: color-mix(in srgb, #10b981 6%, var(--c-bg-card, #fff));
    font-size: 13px;
    color: var(--c-text-sub, #6b7280);
}
.vote-done-icon { font-size: 16px; }
.vote-done-link {
    color: #059669;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px dashed #059669;
}
.vote-done-link:hover { color: #047857; }
.vote-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}
.vote-loading { grid-column: 1 / -1; text-align: center; padding: 40px; color: var(--c-text-muted, #9ca3af); }
.vote-option {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 22px 22px 18px;
    border-radius: 16px;
    border: 1px solid var(--c-border, #eee);
    background: var(--c-bg-card, #fff);
    cursor: pointer;
    transition: all 0.2s;
    overflow: hidden;
}
.vote-option:hover {
    border-color: var(--c-primary, #6366f1);
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(99, 102, 241, 0.12);
}
.vote-option.is-voted {
    border-color: color-mix(in srgb, var(--c-primary, #6366f1) 55%, var(--c-border, #eee));
    background: color-mix(in srgb, var(--c-primary, #6366f1) 5%, var(--c-bg-card, #fff));
}
.vote-option.is-disabled { cursor: default; opacity: 0.92; }
.vote-option.is-disabled:hover { transform: none; box-shadow: none; }
.vote-opt-head {
    display: flex;
    align-items: center;
    gap: 12px;
}
.vote-opt-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    border-radius: 13px;
    background: color-mix(in srgb, var(--c-primary, #6366f1) 9%, var(--c-surface-soft, #f1f5f9));
}
.vote-opt-name { font-size: 15px; font-weight: 700; color: var(--c-text, #1f2937); flex: 1; line-height: 1.35; }
.vote-opt-btn {
    flex-shrink: 0;
    padding: 6px 13px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, var(--c-primary, #6366f1), color-mix(in srgb, var(--c-primary, #6366f1) 60%, #ec4899));
    box-shadow: 0 3px 8px rgba(99, 102, 241, 0.25);
    transition: transform 0.15s;
}
.vote-option:hover .vote-opt-btn { transform: scale(1.05); }
.vote-opt-check {
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--c-primary, #6366f1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
    box-shadow: 0 3px 8px rgba(99, 102, 241, 0.3);
}
.vote-opt-desc { font-size: 13px; color: var(--c-text-sub, #6b7280); line-height: 1.6; margin: 0; }
.vote-opt-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: var(--c-text-muted, #9ca3af);
    margin-top: 2px;
}
.vote-opt-bar {
    flex: 1;
    height: 6px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--c-primary, #6366f1) 14%, transparent);
    overflow: hidden;
}
.vote-opt-bar i {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--c-primary, #6366f1), color-mix(in srgb, var(--c-primary, #6366f1) 60%, #ec4899));
    transition: width 0.6s ease;
}
.vote-opt-pct { font-weight: 700; color: var(--c-primary, #6366f1); min-width: 32px; text-align: right; }
.vote-foot {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-size: 13px;
    color: var(--c-text-muted, #9ca3af);
}
.vote-total strong { color: var(--c-primary, #6366f1); font-size: 16px; }
@media (max-width: 860px) {
    .vote-grid { grid-template-columns: 1fr; }
}
:root[data-theme="dark"] .vote-opt-icon { background: color-mix(in srgb, var(--c-primary, #6366f1) 22%, var(--c-surface-soft, #131c31)); }
:root[data-theme="dark"] .vote-done { background: color-mix(in srgb, #10b981 10%, var(--c-bg-card, #131c31)); }
:root[data-theme="dark"] .vote-done-link { color: #34d399; border-color: #34d399; }
:root[data-theme="dark"] .vote-done-link:hover { color: #6ee7b7; }

/* ===== 近期更新预览 ===== */
.changelog-preview { background: var(--c-bg-soft, #f9fafb); }
.cl-preview-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 24px;
}
.clp-item {
    position: relative;
    background: var(--c-bg-card, #fff);
    border: 1px solid var(--c-border, #eef1f6);
    border-radius: var(--radius-md, 16px);
    padding: 22px 22px 20px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.clp-item::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    border-radius: var(--radius-md, 16px) 0 0 var(--radius-md, 16px);
    background: color-mix(in srgb, var(--c-primary, #0066ff) 30%, transparent);
}
.clp-item--major::before { background: var(--c-primary, #0066ff); }
.clp-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover, 0 18px 50px rgba(0,102,255,0.14));
    border-color: color-mix(in srgb, var(--c-primary, #0066ff) 35%, transparent);
}
.clp-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}
.clp-version {
    font-size: 15px;
    font-weight: 800;
    color: var(--c-primary, #0066ff);
    letter-spacing: -0.01em;
}
.clp-date {
    font-size: 12px;
    color: var(--c-text-muted, #8a93a8);
}
.clp-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 20px;
    background: var(--c-bg-soft, #f7f9fc);
    color: var(--c-text-sub, #5b6478);
}
.clp-badge--major {
    background: color-mix(in srgb, var(--c-primary, #0066ff) 12%, transparent);
    color: var(--c-primary, #0066ff);
}
.clp-title {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--c-text, #1a1f36);
    line-height: 1.4;
}
.clp-desc {
    font-size: 13px;
    line-height: 1.7;
    color: var(--c-text-sub, #5b6478);
}
.cl-preview-foot { text-align: center; }
@media (max-width: 860px) {
    .cl-preview-list { grid-template-columns: 1fr; }
}

/* ===== 鎽搁奔鏍戞礊妯箙 ===== */
.hole-banner { padding-bottom: 0; }
.hole-banner-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 24px 28px;
    border-radius: var(--radius-lg, 16px);
    background: linear-gradient(135deg, #fff7ed 0%, #fef3e2 55%, #fdf0dc 100%);
    border: 1px solid #f3e2c8;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 10px 30px rgba(180, 130, 50, 0.1);
}
.hole-banner-card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(180, 130, 50, 0.18); }
.hole-banner-icon { font-size: 40px; line-height: 1; flex-shrink: 0; }
.hole-banner-text { flex: 1; min-width: 0; }
.hole-banner-text h3 { margin: 0 0 5px; font-size: 19px; font-weight: 900; color: #92400e; }
.hole-banner-text p { margin: 0; font-size: 13.5px; line-height: 1.6; color: #a08a63; }
.hole-banner-go {
    flex-shrink: 0;
    padding: 10px 20px;
    border-radius: 999px;
    background: linear-gradient(135deg, #f59e0b, #f97316);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 6px 16px rgba(249, 115, 22, 0.35);
}
@media (max-width: 640px) {
    .hole-banner-card { flex-wrap: wrap; padding: 18px 20px; }
    .hole-banner-go { width: 100%; text-align: center; }
}

/* ===== 主推：摸鱼闹钟 ===== */
.alarm-feature {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 34px;
    border-radius: 22px;
    background: linear-gradient(160deg, #232b4a 0%, #1a2138 100%);
    border: 1px solid #3d4875;
    color: #fff;
    overflow: hidden;
    margin-bottom: 56px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 12px 36px rgba(20, 30, 70, 0.22);
}
.alarm-feature:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 56px rgba(0, 0, 0, 0.22);
}
.alarm-feature-bg {
    position: absolute;
    top: -40%;
    right: -5%;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 140, 66, 0.28), transparent 65%);
    pointer-events: none;
}
.alarm-feature-main {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 24px;
    flex: 1;
    min-width: 0;
}
.alarm-feature-icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    background: rgba(255, 140, 66, 0.16);
    border: 1px solid rgba(255, 140, 66, 0.24);
    flex-shrink: 0;
}
.alarm-feature-text { min-width: 0; }
.alarm-feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #ffb347;
    margin-bottom: 8px;
}
.alarm-feature-tag::before {
    content: '';
    width: 6px; height: 6px; border-radius: 50%;
    background: #ffb347;
    box-shadow: 0 0 0 3px rgba(255, 179, 71, 0.22);
}
.alarm-feature-text h3 {
    font-size: 26px;
    font-weight: 900;
    margin-bottom: 10px;
    color: #fff;
}
.alarm-feature-text p {
    font-size: 15px;
    color: #b6bedb;
    line-height: 1.7;
    max-width: 620px;
}
.alarm-feature-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}
.alarm-feature-badges span {
    font-size: 12px;
    font-weight: 700;
    color: #ffd9a8;
    background: rgba(255, 179, 71, 0.12);
    border: 1px solid rgba(255, 179, 71, 0.2);
    padding: 5px 11px;
    border-radius: 999px;
}
.alarm-feature-cta {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}
.alarm-feature-cta .btn-primary {
    background: linear-gradient(135deg, #ffb347, #ff8c42);
    color: #3a2400;
    box-shadow: 0 8px 24px rgba(255, 140, 66, 0.38);
}
.alarm-feature-cta .btn-primary:hover {
    background: linear-gradient(135deg, #ffc46a, #ff9e4d);
    color: #3a2400;
}
@media (max-width: 860px) {
    .alarm-feature {
        flex-direction: column;
        align-items: flex-start;
        padding: 26px;
    }
    .alarm-feature-cta { width: 100%; }
    .alarm-feature-cta .btn { width: 100%; }
}
@media (max-width: 600px) {
    .alarm-feature-main { flex-direction: column; align-items: flex-start; }
    .alarm-feature-text h3 { font-size: 22px; }
}
