/* ============================================================
   favorability — 暗房取证实验室 美学（套用自主页范式基座）
   保持全部 DOM 结构与 JS 交互不变，仅换视觉层
   ============================================================ */

    :root {
        /* 暗房取证实验室 色板 */
        --bg: #0b0d0f;
        --bg-2: #0e1114;
        --surface: #14181d;
        --surface2: #1a1f26;
        --border: #262c34;
        --border-light: #333b45;
        --line-hi: #333b45;
        --text: #eae6de;
        --text-dim: #8a919c;
        --amber: #e8a33d;
        --amber-hi: #ffc061;
        --amber-deep: #b97a1f;
        --lime: #c2e34a;
        --lime-deep: #8fb52e;
        --red: #e0574f;
        --cyan: var(--amber);          /* 兼容旧引用：主强调=琥珀工作灯 */
        --prism-purple: var(--amber);
        --prism-blue: var(--amber-deep);
        --prism-cyan: var(--lime);
        --prism-green: var(--lime-deep);
        --prism-gradient: linear-gradient(135deg, #e8a33d 0%, #c2e34a 100%);
        --prism-gradient-soft: linear-gradient(135deg, rgba(232,163,61,0.10) 0%, rgba(194,227,74,0.10) 100%);
        --glow: 0 0 18px rgba(232, 163, 61, 0.22);
        --glow-strong: 0 0 30px rgba(232, 163, 61, 0.35);
        --radius: 10px;
        --radius-sm: 8px;
        --transition: 0.35s cubic-bezier(0.2, 0.9, 0.4, 1.1);
        --font-disp: "华文中宋", "STZhongsong", "SimSun", Georgia, serif;
        --font-display: var(--font-disp);
        --font-body: "微软雅黑", "Microsoft YaHei", "PingFang SC", sans-serif;
        --font-mono: "Consolas", "Courier New", monospace;
    }
    * { margin: 0; padding: 0; box-sizing: border-box; user-select: none;-webkit-user-select:none;-moz-user-select:none; -webkit-user-drag: none; -webkit-touch-callout: none; }
    img, a { -webkit-user-drag: none; user-drag: none; }
    html { scroll-behavior: smooth; scroll-snap-type: y proximity; }
    body {
        background: var(--bg);
        color: var(--text);
        font-family: var(--font-body);
        font-size: 14px;
        line-height: 1.6;
        min-height: 100vh;
        min-height: 100dvh;
        overflow-x: hidden;
        position: relative;
        -webkit-font-smoothing: antialiased;
    }
    input, textarea, select, [contenteditable] {
        user-select: text;
        -webkit-user-select: text;
    }
    /* 网格底纹（暗房取证） */
    body::before {
        content: '';
        position: fixed;
        inset: 0;
        background:
            linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
            linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
        background-size: 44px 44px;
        z-index: 0;
        pointer-events: none;
    }
    /* 顶部扫描线 */
    .scanline {
        position: fixed;
        top: 0; left: 0; right: 0;
        height: 2px;
        background: linear-gradient(90deg, transparent, var(--amber) 20%, var(--lime) 50%, var(--amber) 80%, transparent);
        opacity: 0.7;
        z-index: 20;
        pointer-events: none;
    }
    /* 环境光晕（琥珀/青柠，暗房氛围） */
    body::after {
        content: '';
        position: fixed;
        inset: 0;
        background:
            radial-gradient(ellipse 90% 60% at 15% -10%, rgba(232,163,61,0.07) 0%, transparent 60%),
            radial-gradient(ellipse 70% 50% at 85% 110%, rgba(194,227,74,0.05) 0%, transparent 60%),
            radial-gradient(ellipse 50% 40% at 50% 50%, rgba(232,163,61,0.03) 0%, transparent 70%);
        pointer-events: none;
        z-index: 1;
    }
    ::-webkit-scrollbar { width: 5px; height: 5px; }
    ::-webkit-scrollbar-track { background: transparent; }
    ::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
    ::-webkit-scrollbar-thumb:hover { background: var(--amber-deep); }
    a { color: var(--amber); text-decoration: none; transition: all 0.2s; }
    a:hover { text-shadow: 0 0 8px var(--amber); }

    /* ===== favorability 页面组件：全屏大数字 ===== */
    html, body {
        height: 100%;
        overflow: hidden;
    }
    body {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    #num {
        font-family: var(--font-mono);
        color: var(--amber);
        font-size: min(20vw, 180px);
        font-weight: 700;
        letter-spacing: 0.02em;
        text-shadow: 0 0 24px rgba(232,163,61,0.45);
        scroll-snap-align: start;
        position: relative;
        z-index: 2;
    }
