        /* ═══════════════════════════════════════════
           DESIGN SYSTEM — Flat Minimal（浅色优先）
           ═══════════════════════════════════════════ */
        :root {
            --text-xs: clamp(0.7rem, 0.65rem + 0.25vw, 0.78rem);
            --text-sm: clamp(0.78rem, 0.73rem + 0.25vw, 0.88rem);
            --text-base: clamp(0.88rem, 0.83rem + 0.25vw, 1rem);
            --text-lg: clamp(1rem, 0.92rem + 0.4vw, 1.2rem);
            --text-xl: clamp(1.15rem, 1rem + 0.6vw, 1.5rem);
            --text-2xl: clamp(1.4rem, 1.15rem + 1.2vw, 2rem);
            --text-3xl: clamp(1.8rem, 1.3rem + 2.5vw, 3rem);
            --space-xs: clamp(0.2rem, 0.15rem + 0.25vw, 0.4rem);
            --space-sm: clamp(0.4rem, 0.3rem + 0.4vw, 0.65rem);
            --space-md: clamp(0.6rem, 0.4rem + 1vw, 1.2rem);
            --space-lg: clamp(1rem, 0.6rem + 2vw, 2.5rem);
            --space-xl: clamp(1.5rem, 0.8rem + 3.5vw, 4rem);
            --r-sm: 8px; --r-md: 12px; --r-lg: 16px; --r-pill: 9999px;
            --ease: cubic-bezier(0.4, 0, 0.2, 1);
        }

        /* ─── DARK ─── */
        [data-theme="dark"] {
            --bg-base: #131416;
            --bg-surface: #1c1e22;
            --bg-card: #1c1e22;
            --bg-card-hover: #23262b;
            --bg-nav: #131416;
            --bg-input: #23262b;
            --text-1: #eceef1;
            --text-2: rgba(236, 238, 241, 0.62);
            --text-3: rgba(236, 238, 241, 0.38);
            --accent: #5b8def;
            --accent-2: #e06c6c;
            --accent-3: #45b983;
            --accent-soft: rgba(91, 141, 239, 0.14);
            --accent-glow: rgba(91, 141, 239, 0.3);
            --border: rgba(255, 255, 255, 0.09);
            --border-hover: rgba(255, 255, 255, 0.18);
            --shadow-card: 0 1px 2px rgba(0,0,0,0.25);
            --shadow-hover: 0 4px 16px rgba(0,0,0,0.4);
        }

        /* ─── LIGHT ─── */
        [data-theme="light"] {
            --bg-base: #f5f6f8;
            --bg-surface: #ffffff;
            --bg-card: #ffffff;
            --bg-card-hover: #ffffff;
            --bg-nav: #ffffff;
            --bg-input: #eff1f4;
            --text-1: #1f2329;
            --text-2: #565d69;
            --text-3: #9aa1ac;
            --accent: #2563eb;
            --accent-2: #d95555;
            --accent-3: #1f9d66;
            --accent-soft: rgba(37, 99, 235, 0.08);
            --accent-glow: rgba(37, 99, 235, 0.22);
            --border: #e3e5ea;
            --border-hover: #c6cbd3;
            --shadow-card: 0 1px 2px rgba(16,24,40,0.05);
            --shadow-hover: 0 4px 16px rgba(16,24,40,0.08);
        }

        *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
        html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
        .notransition, .notransition * { transition: none !important; }
        body {
            font-family: 'Sora', 'Noto Sans SC', system-ui, sans-serif;
            background: var(--bg-base);
            color: var(--text-1);
            min-height: 100dvh;
            overflow-x: hidden;
            line-height: 1.55;
            transition: background 0.3s var(--ease), color 0.3s var(--ease);
        }

        /* ═══════════════════════════════════════════
           REDUCED MOTION
           ═══════════════════════════════════════════ */
        /* Respect reduced-motion: stop decorative animations, keep functional ones (spin) */
        @media (prefers-reduced-motion: reduce) {
            html { scroll-behavior: auto; }
            .skel-card { animation: none !important; }
        }

        /* ═══════════════════════════════════════════
           NAVBAR
           ═══════════════════════════════════════════ */
        .navbar {
            position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
            padding: 10px var(--space-lg);
            display: flex; align-items: center; justify-content: space-between;
            background: var(--bg-nav);
            border-bottom: 1px solid var(--border);
            transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
        }

        .logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
        .logo-ico {
            width: 32px; height: 32px; border-radius: 9px;
            background: var(--accent);
            display: flex; align-items: center; justify-content: center;
            font-size: 16px;
        }
        .logo-text {
            font-size: var(--text-lg); font-weight: 700;
            color: var(--text-1); letter-spacing: -0.3px;
            transition: color 0.3s var(--ease);
        }
        .logo-text span { color: var(--accent); }

        .nav-right { display: flex; align-items: center; gap: 8px; }
        .nav-links { display: flex; gap: 2px; list-style: none; }
        .nav-links a {
            color: var(--text-2); text-decoration: none;
            font-size: var(--text-sm); font-weight: 500;
            padding: 6px 14px; border-radius: var(--r-pill);
            transition: all 0.2s var(--ease);
        }
        .nav-links a:hover { color: var(--text-1); background: var(--bg-card); }
        .nav-links a.active { color: var(--accent); background: var(--accent-soft); }

        /* Nav dropdown — custom pages */
        .nav-dropdown { position: relative; }
        .nav-dropdown > a::after { content: ' ▾'; font-size: 10px; }
        .nav-dropdown-menu {
            position: absolute; top: 100%; right: 0;
            background: var(--bg-surface);
            border: 1px solid var(--border); border-radius: var(--r-md);
            padding: 4px; min-width: 140px; display: none;
            box-shadow: 0 8px 32px rgba(0,0,0,0.2);
            z-index: 1001;
        }
        .nav-dropdown:hover .nav-dropdown-menu,
        .nav-dropdown:focus-within .nav-dropdown-menu { display: block; }
        .nav-dropdown-menu a {
            display: block; padding: 8px 14px; border-radius: var(--r-sm);
            color: var(--text-2); text-decoration: none; font-size: var(--text-sm);
            white-space: nowrap;
        }
        .nav-dropdown-menu a:hover { color: var(--text-1); background: var(--accent-soft); }

        /* Theme toggle */
        .theme-btn {
            width: 34px; height: 34px;
            border: 1px solid var(--border); border-radius: var(--r-sm);
            background: var(--bg-card); color: var(--text-2);
            cursor: pointer; display: flex; align-items: center; justify-content: center;
            font-size: 15px; position: relative; overflow: hidden;
            transition: all 0.2s var(--ease);
        }
        .theme-btn:hover { border-color: var(--border-hover); color: var(--accent); }
        .theme-btn i { position: absolute; transition: transform 0.35s var(--ease), opacity 0.25s; }
        [data-theme="dark"] .theme-btn .i-sun { transform: translateY(20px); opacity: 0; }
        [data-theme="dark"] .theme-btn .i-moon { transform: translateY(0); opacity: 1; }
        [data-theme="light"] .theme-btn .i-sun { transform: translateY(0); opacity: 1; }
        [data-theme="light"] .theme-btn .i-moon { transform: translateY(-20px); opacity: 0; }

        .mob-btn {
            display: none; background: none;
            border: 1px solid var(--border); border-radius: var(--r-sm);
            padding: 6px; color: var(--text-2); cursor: pointer;
        }

        /* ═══════════════════════════════════════════
           HERO
           ═══════════════════════════════════════════ */
        .hero {
            position: relative; z-index: 1;
            padding: calc(56px + var(--space-lg)) var(--space-lg) var(--space-sm);
            text-align: center; max-width: 680px; margin: 0 auto;
        }

        .hero-tag {
            display: inline-flex; align-items: center; gap: 7px;
            padding: 3px 12px; margin-bottom: var(--space-sm);
            background: var(--accent-soft); border: 1px solid var(--border);
            border-radius: var(--r-pill);
            font-size: var(--text-xs); color: var(--accent);
            font-weight: 600; letter-spacing: 1px;
        }
        .hero-tag .dot {
            width: 5px; height: 5px; border-radius: 50%;
            background: var(--accent);
        }

        .hero-title {
            font-size: var(--text-2xl); font-weight: 700;
            line-height: 1.15; margin-bottom: 6px;
            letter-spacing: -0.5px;
            transition: color 0.2s var(--ease);
        }
        .hero-title .grad { color: var(--accent); }

        .hero-sub {
            font-size: var(--text-base); color: var(--text-2);
            margin-bottom: var(--space-sm); font-weight: 300;
            transition: color 0.2s var(--ease);
        }

        .hitokoto {
            font-size: var(--text-xs); color: var(--text-3);
            font-style: italic; margin-bottom: var(--space-sm);
        }
        .hitokoto cite { color: var(--accent); font-style: normal; margin-left: 6px; }

        /* Search */
        .search-box { position: relative; max-width: 540px; margin: 0 auto var(--space-sm); }
        .search-input {
            width: 100%; padding: 13px 48px 13px 18px;
            background: var(--bg-input); border: 1px solid var(--border);
            border-radius: var(--r-lg); color: var(--text-1);
            font-size: var(--text-base); font-family: inherit; outline: none;
            transition: all 0.3s var(--ease);
        }
        .search-input::placeholder { color: var(--text-3); }
        .search-input:focus {
            border-color: var(--accent);
            box-shadow: 0 0 0 3px var(--accent-glow);
            background: var(--bg-card-hover);
        }
        .search-go {
            position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
            width: 36px; height: 36px;
            background: var(--accent); border: none; border-radius: 10px;
            color: #fff; cursor: pointer;
            display: flex; align-items: center; justify-content: center;
            transition: all 0.25s var(--ease);
        }
        .search-go:hover { transform: translateY(-50%) scale(1.06); box-shadow: 0 4px 14px var(--accent-glow); }

        .eng-row { display: flex; justify-content: center; gap: 5px; flex-wrap: wrap; margin-bottom: var(--space-md); }
        .eng-btn {
            padding: 4px 12px; background: transparent;
            border: 1px solid var(--border); border-radius: var(--r-pill);
            color: var(--text-3); font-size: var(--text-xs);
            font-family: inherit; font-weight: 500; cursor: pointer;
            transition: all 0.2s var(--ease);
        }
        .eng-btn:hover { border-color: var(--border-hover); color: var(--text-2); }
        .eng-btn.on { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }

        /* ═══════════════════════════════════════════
           CATEGORY BAR
           ═══════════════════════════════════════════ */
        .cat-bar {
            position: relative; z-index: 1;
            max-width: 1400px; margin: 0 auto var(--space-md);
            padding: 0 var(--space-lg) 8px;
            display: flex; gap: 6px; overflow-x: auto;
            scrollbar-width: none;
        }
        /* 分类栏吸顶：滚动时吸附在 navbar（高约 53px）下方，
           实心背景避免下方卡片透出 */
        #catBar {
            position: sticky; top: 53px; z-index: 900;
            background: var(--bg-base);
            padding-top: 8px;
        }
        .cat-bar::-webkit-scrollbar { display: none; }
        .cat-bar.show-scroll,
        .cat-bar:hover {
            scrollbar-width: thin;
            scrollbar-color: var(--accent) var(--bg-card);
        }
        .cat-bar.show-scroll::-webkit-scrollbar,
        .cat-bar:hover::-webkit-scrollbar { height: 6px; display: block; }
        .cat-bar.show-scroll::-webkit-scrollbar-track,
        .cat-bar:hover::-webkit-scrollbar-track { background: var(--bg-card); border-radius: 3px; }
        .cat-bar.show-scroll::-webkit-scrollbar-thumb,
        .cat-bar:hover::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }
        .cat-pill {
            flex-shrink: 0; padding: 6px 16px;
            background: var(--bg-card); border: 1px solid var(--border);
            border-radius: var(--r-pill); color: var(--text-2);
            font-size: var(--text-sm); font-weight: 500; cursor: pointer;
            transition: all 0.25s var(--ease); white-space: nowrap;
        }
        .cat-pill:hover { background: var(--bg-card-hover); border-color: var(--border-hover); }
        .cat-pill.on { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }

        /* ═══════════════════════════════════════════
           CARDS — Compact Glass
           ═══════════════════════════════════════════ */
        .cards-area {
            position: relative; z-index: 1;
            max-width: 1400px; margin: 0 auto;
            padding: 0 var(--space-lg) var(--space-xl);
        }

        .sec-head {
            display: flex; align-items: center; gap: 10px;
            margin-bottom: var(--space-sm);
        }
        .sec-ico {
            width: 28px; height: 28px; border-radius: 7px;
            display: flex; align-items: center; justify-content: center;
            font-size: 13px; background: var(--accent-soft);
            color: var(--accent);
        }
        .sec-title {
            font-size: var(--text-base); font-weight: 600;
            color: var(--text-1); transition: color 0.2s var(--ease);
        }
        .sec-line { flex: 1; height: 1px; background: var(--border); }

        .card-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr));
            gap: 10px;
            margin-bottom: var(--space-lg);
        }

        .card {
            position: relative;
            padding: 12px;
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: var(--r-sm);
            box-shadow: var(--shadow-card);
            text-decoration: none; display: block; cursor: pointer;
            transition: transform 0.15s var(--ease), box-shadow 0.15s var(--ease), background 0.2s var(--ease);
            overflow: hidden;
        }

        .card:hover {
            background: var(--bg-card-hover);
            transform: translateY(-1px);
            box-shadow: var(--shadow-hover);
        }

        .card-row { display: flex; align-items: center; gap: 10px; }
        .card-fav {
            width: 34px; height: 34px;
            display: flex; align-items: center; justify-content: center;
            font-size: 17px; flex-shrink: 0;
        }
        .card-text { flex: 1; min-width: 0; }
        .card-name {
            font-size: var(--text-sm); font-weight: 600;
            color: var(--text-1); line-height: 1.3;
            white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
            transition: color 0.2s var(--ease);
        }
        .card-desc {
            font-size: var(--text-xs); color: var(--text-3);
            margin-top: 2px; line-height: 1.4;
            display: -webkit-box; -webkit-line-clamp: 1;
            -webkit-box-orient: vertical; overflow: hidden;
            transition: color 0.2s var(--ease);
        }

        /* ═══════════════════════════════════════════
           FOOTER
           ═══════════════════════════════════════════ */
        .footer {
            position: relative; z-index: 1;
            text-align: center; padding: var(--space-lg);
            border-top: 1px solid var(--border);
            color: var(--text-3); font-size: var(--text-xs);
            transition: border-color 0.3s var(--ease);
        }
        .footer a { color: var(--accent); text-decoration: none; }

        /* Back to top */
        .btt {
            position: fixed; bottom: 24px; right: 24px; z-index: 100;
            width: 38px; height: 38px;
            background: var(--bg-card); border: 1px solid var(--border);
            border-radius: var(--r-md);
            color: var(--text-2); cursor: pointer;
            display: flex; align-items: center; justify-content: center;
            opacity: 0; transform: translateY(10px);
            transition: all 0.3s var(--ease);
            pointer-events: none;
        }
        .btt.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
        .btt:hover { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }

        /* ═══════════════════════════════════════════
           REVEAL
           ═══════════════════════════════════════════ */
        .rv { opacity: 0; transform: translateY(10px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
        .rv.vis { opacity: 1; transform: translateY(0); }

        /* ══════════════════════════════════════════
           WEATHER WIDGET
           ═══════════════════════════════════════════ */
        .weather-widget {
            position: fixed; top: 100px; right: 48px; z-index: 99;
            padding: 8px 0;
            transition: all 0.3s var(--ease);
            opacity: 0; transform: translateX(20px);
            pointer-events: none;
        }
        .weather-widget.show { opacity: 1; transform: translateX(0); pointer-events: auto; }

        .weather-city {
            font-size: var(--text-base); font-weight: 600;
            color: var(--text-1); margin-bottom: 4px;
            display: flex; align-items: center; gap: 6px;
        }
        .weather-main {
            display: flex; align-items: center; gap: 10px;
            margin-bottom: 6px;
        }
        .weather-icon { font-size: 36px; line-height: 1; }
        .weather-temp {
            font-size: 2.2rem; font-weight: 700;
            color: var(--text-1); line-height: 1;
        }
        .weather-desc {
            font-size: var(--text-sm); color: var(--text-2);
            margin-bottom: 6px;
        }
        .weather-details {
            display: flex; gap: 14px;
            font-size: var(--text-sm); color: var(--text-3);
        }
        .weather-details span { display: flex; align-items: center; gap: 4px; }
        .weather-loading {
            font-size: var(--text-sm); color: var(--text-3);
            text-align: center; padding: 8px 0;
        }
        .weather-fetch {
            padding: var(--space-sm) var(--space-md);
            background: var(--bg-card); border: 1px solid var(--border);
            border-radius: var(--r-pill); color: var(--text-1);
            font-family: inherit; font-size: var(--text-sm); font-weight: 500;
            cursor: pointer;
            transition: all 0.3s var(--ease);
        }
        .weather-fetch:hover {
            border-color: var(--accent); color: var(--accent);
            background: var(--accent-soft);
        }
        .weather-content {
            padding: var(--space-sm) var(--space-md);
            background: var(--bg-card); border: 1px solid var(--border);
            border-radius: var(--r-md);
        }

        /* ═══════════════════════════════════════════
           RESPONSIVE
           ═══════════════════════════════════════════ */
        @media (max-width: 768px) {
            .nav-links { display: none; }
            .mob-btn { display: flex; }
            .nav-links.open {
                display: flex; flex-direction: column;
                position: absolute; top: 100%; left: 0; right: 0;
                background: var(--bg-surface);
                padding: var(--space-md); border-bottom: 1px solid var(--border);
            }
            .hero, .cards-area, .cat-bar { padding-left: var(--space-md); padding-right: var(--space-md); }
            .weather-widget { display: none; }
            /* 移动端卡片精简：只保留名称+图标+状态点 */
            .card-desc, .card-tags, .card-report, .card-star { display: none; }
        }
        @media (max-width: 480px) {
            .card-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
            .card { padding: 10px; }
            .card-fav { width: 24px; height: 24px; font-size: 11px; }
            .card-desc { display: none; }
        }

        /* LOADER */
        .loader {
            position: fixed; inset: 0; z-index: 9999;
            background: var(--bg-base);
            display: flex; flex-direction: column;
            align-items: center; justify-content: center;
            transition: opacity 0.4s, visibility 0.4s;
        }
        .loader.hide { opacity: 0; visibility: hidden; }
        .loader-spinner {
            width: 32px; height: 32px;
            border: 2px solid var(--border);
            border-top-color: var(--accent);
            border-radius: 50%;
            animation: spin 0.8s linear infinite;
        }
        @keyframes spin { to { transform: rotate(360deg); } }
        .loader-label {
            margin-top: var(--space-md);
            font-size: var(--text-sm); color: var(--text-3);
            letter-spacing: 2px; font-weight: 500;
        }


        /* ═══════════════════════════════════════════
           PHASE 3 — 站内搜索面板 / 视图切换 / 收藏 / 状态点
           ═══════════════════════════════════════════ */

        /* Search result panel */
        .search-panel {
            position: absolute; top: calc(100% + 6px); left: 0; right: 0;
            background: var(--bg-surface);
            border: 1px solid var(--border); border-radius: var(--r-md);
            box-shadow: var(--shadow-hover);
            max-height: 340px; overflow-y: auto;
            padding: 5px; z-index: 900; text-align: left;
        }
        .sr-opt {
            display: flex; align-items: center; gap: 9px;
            padding: 8px 10px; border-radius: var(--r-sm);
            cursor: pointer;
        }
        .sr-opt.active { background: var(--accent-soft); }
        .sr-opt .st-dot { flex-shrink: 0; }
        .sr-ico { font-size: 15px; flex-shrink: 0; }
        .sr-body { flex: 1; min-width: 0; }
        .sr-name {
            font-size: var(--text-sm); font-weight: 600; color: var(--text-1);
            display: flex; align-items: center; gap: 7px;
            white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
        }
        .sr-cat {
            flex-shrink: 0;
            font-size: 10px; font-weight: 500;
            padding: 1px 8px; border-radius: var(--r-pill);
            background: var(--accent-soft); color: var(--accent);
            border: 1px solid var(--border);
        }
        .sr-desc {
            font-size: var(--text-xs); color: var(--text-3);
            white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
        }
        .search-panel mark {
            background: var(--accent-soft); color: var(--accent);
            border-radius: 3px; padding: 0 1px;
        }
        .sr-empty { padding: 12px 10px; text-align: center; }
        .sr-empty p { font-size: var(--text-sm); color: var(--text-2); margin-bottom: 8px; }
        .sr-ext-row { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }
        .sr-ext-btn {
            padding: 4px 12px; font-family: inherit; font-size: var(--text-xs);
            background: var(--bg-card); border: 1px solid var(--border);
            border-radius: var(--r-pill); color: var(--text-2); cursor: pointer;
            transition: all 0.2s var(--ease);
        }
        .sr-ext-btn:hover { border-color: var(--accent); color: var(--accent); }

        /* 合并后的单条分类/视图栏 */
        .bar-group { display: flex; gap: 6px; align-items: center; flex-shrink: 0; }
        .bar-divider { flex-shrink: 0; width: 1px; height: 18px; background: var(--border); margin: 0 4px; }
        .tag-chip {
            flex-shrink: 0;
            display: inline-flex; align-items: center; gap: 6px;
            padding: 6px 8px 6px 14px;
            background: var(--accent-soft); border: 1px solid var(--accent);
            border-radius: var(--r-pill); color: var(--accent);
            font-size: var(--text-sm); font-weight: 500; white-space: nowrap;
        }
        .tag-chip-x {
            background: none; border: none; color: var(--accent);
            font-size: 11px; cursor: pointer; padding: 2px 4px;
            border-radius: 50%; font-family: inherit;
        }
        .tag-chip-x:hover { background: var(--accent-glow); }

        /* Health status dot */
        .st-dot {
            width: 7px; height: 7px; border-radius: 50%;
            flex-shrink: 0;
        }
        .card-row { padding-right: 22px; }
        .card-row .st-dot { margin-left: auto; }
        .st-online { background: var(--accent-3); }
        .st-slow { background: #e9c46a; }
        .st-offline { background: var(--accent-2); }
        .st-none { background: var(--text-3); }

        /* Card star (favorite) & report buttons */
        .card-star, .card-report {
            position: absolute; top: 5px;
            background: none; border: none; cursor: pointer;
            font-size: 13px; line-height: 1; padding: 4px;
            color: var(--text-3); border-radius: var(--r-sm);
            transition: color 0.2s var(--ease), opacity 0.2s var(--ease), background 0.2s var(--ease);
            font-family: inherit; z-index: 2;
        }
        .card-star { right: 4px; }
        .card-star:hover { color: #f0b429; }
        .card-star.on { color: #f0b429; }
        .card-report { right: 24px; opacity: 0; }
        .card:hover .card-report, .card-report.done { opacity: 1; }
        .card-report:hover { color: var(--accent-2); background: var(--bg-card-hover); }
        .card-report.done { color: var(--accent-3); cursor: default; }
        .card-report:disabled { cursor: default; }

        /* Card tags */
        .card-tags { display: flex; gap: 4px; margin-top: 6px; flex-wrap: wrap; }
        .card-tag {
            font-size: 10px; font-family: inherit;
            padding: 1px 8px; border-radius: var(--r-pill);
            background: var(--accent-soft); color: var(--accent);
            border: 1px solid var(--border); cursor: pointer;
            transition: border-color 0.2s var(--ease);
        }
        .card-tag:hover { border-color: var(--accent); }

        /* Area notes: loading / error / empty states */
        .area-note {
            text-align: center; color: var(--text-2);
            font-size: var(--text-sm);
            padding: var(--space-xl) var(--space-md);
        }
        .area-note a { color: var(--accent); text-decoration: none; margin-left: 6px; }
        .area-note a:hover { text-decoration: underline; }
        .note-btn {
            display: inline-block; margin-left: 8px;
            padding: 5px 16px; font-family: inherit; font-size: var(--text-xs);
            background: var(--accent-soft); border: 1px solid var(--accent);
            border-radius: var(--r-pill); color: var(--accent); cursor: pointer;
            transition: all 0.2s var(--ease);
        }
        .note-btn:hover { background: var(--accent-soft); }
        .bar-error { color: var(--text-3); font-size: var(--text-xs); align-self: center; }

        /* Loading skeleton */
        .skel-grid { margin-top: var(--space-md); }
        .skel-card {
            height: 62px; border-radius: var(--r-md);
            background: var(--bg-card); border: 1px solid var(--border);
            animation: skelPulse 1.2s ease-in-out infinite;
        }
        @keyframes skelPulse { 0%,100%{opacity:1} 50%{opacity:0.4} }

        /* Toast */
        .toast {
            position: fixed; bottom: 26px; left: 50%;
            transform: translate(-50%, 10px);
            background: var(--bg-surface); color: var(--text-1);
            border: 1px solid var(--border); border-radius: var(--r-pill);
            padding: 8px 20px; font-size: var(--text-sm);
            box-shadow: var(--shadow-hover);
            opacity: 0; pointer-events: none;
            transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
            z-index: 2000;
        }
        .toast.show { opacity: 1; transform: translate(-50%, 0); }

        /* Footer clear-local-data */
        .footer-clear {
            background: none; border: none; cursor: pointer;
            color: var(--text-3); font: inherit; font-size: var(--text-xs);
            margin-top: 6px; padding: 2px 4px;
            text-decoration: underline; text-underline-offset: 3px;
        }
        .footer-clear:hover { color: var(--accent-2); }

        /* Report panel（卡片「报告失效」弹出面板） */
        .report-panel {
            width: 260px; z-index: 1500;
            background: var(--bg-surface); color: var(--text-1);
            border: 1px solid var(--border); border-radius: var(--r-md);
            box-shadow: var(--shadow-hover); padding: 14px;
        }
        .report-panel-title { font-size: var(--text-sm); font-weight: 600; margin-bottom: 10px; }
        .report-panel-reasons { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
        .report-reason {
            padding: 4px 12px; font-size: var(--text-xs); font-family: inherit;
            background: var(--bg-card); color: var(--text-2);
            border: 1px solid var(--border); border-radius: var(--r-pill);
            cursor: pointer; transition: all 0.2s var(--ease);
        }
        .report-reason:hover { border-color: var(--border-hover); color: var(--text-1); }
        .report-reason.active { background: var(--accent-soft); color: var(--accent); border-color: var(--accent); }
        .report-panel-detail {
            width: 100%; min-height: 56px; resize: vertical;
            padding: 8px 10px; font-family: inherit; font-size: var(--text-xs);
            background: var(--bg-input); color: var(--text-1);
            border: 1px solid var(--border); border-radius: var(--r-sm);
            outline: none; margin-bottom: 10px;
        }
        .report-panel-detail:focus { border-color: var(--accent); }
        .report-panel-actions { display: flex; justify-content: flex-end; gap: 8px; }
        .report-cancel, .report-submit {
            padding: 6px 16px; font-size: var(--text-xs); font-family: inherit;
            border-radius: var(--r-pill); cursor: pointer; transition: all 0.2s var(--ease);
        }
        .report-cancel { background: none; color: var(--text-2); border: 1px solid var(--border); }
        .report-cancel:hover { color: var(--text-1); border-color: var(--border-hover); }
        .report-submit { background: var(--accent); color: #fff; border: none; font-weight: 600; }
        .report-submit:hover { opacity: 0.9; }
        .report-submit:disabled { opacity: 0.6; cursor: not-allowed; }

        /* Hot list view（热榜） */
        .hot-src-bar {
            display: flex; flex-wrap: wrap; gap: var(--space-sm);
            margin: 0 0 var(--space-md);
        }
        .hot-list { display: flex; flex-direction: column; gap: 6px; max-width: 860px; margin: 0 auto; }
        .hot-item {
            display: flex; align-items: center; gap: 12px;
            padding: 12px 16px; background: var(--bg-card);
            border: 1px solid var(--border); border-radius: var(--r-md);
            box-shadow: var(--shadow-card);
            text-decoration: none;
            transition: transform 0.15s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
        }
        .hot-item:hover { background: var(--bg-card-hover); border-color: var(--border-hover); transform: translateY(-1px); }
        .hot-rank {
            flex-shrink: 0; width: 22px; text-align: center;
            font-size: var(--text-sm); font-weight: 600; color: var(--text-3);
        }
        .hot-rank.top { color: var(--accent-2); }
        .hot-title {
            flex: 1; min-width: 0; color: var(--text-1); font-size: var(--text-sm);
            white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
        }
        .hot-val { flex-shrink: 0; font-size: var(--text-xs); color: var(--text-3); }
        .hot-meta { text-align: center; font-size: var(--text-xs); color: var(--text-3); padding: var(--space-sm) 0; }

        /* Home sections（搜索下方的六源热榜 + 我的收藏，仅默认「全部」视图显示） */
        .home-hot, .home-fav {
            position: relative; z-index: 1;
            max-width: 1400px; margin: 0 auto;
            padding: 0 var(--space-lg);
        }
        .home-hot-grid {
            display: grid; gap: 10px;
            grid-template-columns: repeat(3, 1fr);
            margin-bottom: var(--space-lg);
        }
        .hot-partial-note { grid-column: 1 / -1; }
        .hot-block {
            background: var(--bg-card); border: 1px solid var(--border);
            border-radius: var(--r-md); box-shadow: var(--shadow-card);
            padding: 12px 14px; min-width: 0;
        }
        .hot-block-head {
            display: flex; align-items: center; justify-content: space-between;
            margin-bottom: 8px;
        }
        .hot-block-name { font-size: var(--text-sm); font-weight: 600; color: var(--text-1); }
        .hot-block-more {
            background: none; border: none; padding: 0; cursor: pointer;
            font-family: inherit; font-size: var(--text-xs); color: var(--text-3);
            transition: color 0.2s var(--ease);
        }
        .hot-block-more:hover { color: var(--accent); }
        .hot-block-list {
            list-style: none; margin: 0; padding: 0;
            display: flex; flex-direction: column;
            counter-reset: hotrank;
        }
        .hot-block-list li { counter-increment: hotrank; display: flex; min-width: 0; }
        .hot-block-list li::before {
            content: counter(hotrank);
            flex-shrink: 0; width: 20px; line-height: 26px;
            font-size: var(--text-xs); font-weight: 600; color: var(--text-3);
        }
        .hot-block-list li:nth-child(-n+3)::before { color: var(--accent-2); }
        .hot-block-list a {
            flex: 1; min-width: 0; line-height: 26px;
            font-size: var(--text-xs); color: var(--text-2);
            text-decoration: none; white-space: nowrap;
            overflow: hidden; text-overflow: ellipsis;
            transition: color 0.2s var(--ease);
        }
        .hot-block-list a:hover { color: var(--accent); }
        @media (max-width: 1200px) {
            .home-hot-grid { grid-template-columns: repeat(2, 1fr); }
        }
        @media (max-width: 768px) {
            .home-hot, .home-fav { padding-left: var(--space-md); padding-right: var(--space-md); }
            .home-hot-grid { grid-template-columns: 1fr; }
        }
