/* ============================================================
   《元素主宰 · 反应之弈》官网样式
   基于站点设计系统（style.css 的 CSS 变量），叠加"反应池"主题
   —— 与全站保持一致的圆角 / 阴影 / 毛玻璃 / 过渡语言
   ============================================================ */

/* ----- 页面基底 ----- */
.el-body {
    --el-blue: #4a90e2;
    --el-cyan: #34d1c4;
    --el-purple: #8b7cf0;
    --el-pink: #f2a0b6;
    --el-gold: #f0b429;
    --el-green: #34c98a;
    --el-ink: #0d1017;
    --el-card: var(--surface);
    --el-glass: rgba(255, 255, 255, 0.62);
    --el-grid: rgba(74, 144, 226, 0.07);
    /* 浅色小徽标/小标签用的「深色文字」，保证在浅色底上仍达到 4.5:1 */
    --el-primary-ink: #1f5f9e;
    --el-success-ink: #0f7a52;
    --el-warn-ink: #8a5a00;
    --el-danger-ink: #b8352a;
    --el-accent-ink: #4b3fc4;
    /* 官网正文较长，把「弱化文字」提高到 4.5:1 以上的对比度（站点其它页面仍用原值） */
    --text-muted: #667085;
}
.dark-mode .el-body, .dark-mode.el-body {
    --el-glass: rgba(26, 29, 42, 0.62);
    --el-grid: rgba(120, 170, 255, 0.07);
    --el-primary-ink: #8ec0fb;
    --el-success-ink: #6ee7ab;
    --el-warn-ink: #ffca7a;
    --el-danger-ink: #ff8a9e;
    --el-accent-ink: #b9aefc;
    --text-muted: #9aa1b8;
}
/* 站点默认会挂上 .bg-flow（简写 background 会把 background-color 重置为透明），
   这里显式补回主题底色，否则暗色模式下页面会露出白色画布。 */
body.el-body {
    background-color: var(--bg);
}
.el-body {
    background-image:
        radial-gradient(1200px 600px at 12% -8%, rgba(74, 144, 226, 0.16), transparent 60%),
        radial-gradient(1000px 520px at 88% 4%, rgba(139, 124, 240, 0.14), transparent 62%),
        linear-gradient(var(--el-grid) 1px, transparent 1px),
        linear-gradient(90deg, var(--el-grid) 1px, transparent 1px);
    background-size: auto, auto, 46px 46px, 46px 46px;
    background-attachment: fixed;
}
/* 站点若启用了渐变流动背景，官网页面用固定的反应池底色，避免动画干扰阅读 */
body.el-body.bg-flow {
    background-color: var(--bg);
    background-image:
        radial-gradient(1200px 600px at 12% -8%, rgba(74, 144, 226, 0.16), transparent 60%),
        radial-gradient(1000px 520px at 88% 4%, rgba(139, 124, 240, 0.14), transparent 62%),
        linear-gradient(var(--el-grid) 1px, transparent 1px),
        linear-gradient(90deg, var(--el-grid) 1px, transparent 1px);
    background-size: auto, auto, 46px 46px, 46px 46px;
    background-attachment: fixed;
    animation: none;
}
.el-body::before { opacity: 0.5; }
.el-site { position: relative; }

/* ----- 通用容器 ----- */
.el-wrap { max-width: 1120px; margin: 0 auto; padding: 0 22px; }
.el-section { padding: 74px 0; position: relative; }
.el-section-alt {
    background: linear-gradient(180deg, transparent, rgba(74, 144, 226, 0.045) 18%, rgba(74, 144, 226, 0.045) 82%, transparent);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}
.el-section-tight { padding: 34px 0 10px; }

/* ----- 标题区 ----- */
.el-head { text-align: center; max-width: 760px; margin: 0 auto 40px; }
.el-head h2 { font-size: 1.72rem; line-height: 1.35; letter-spacing: 0.01em; }
.el-head-sub { margin-top: 12px; color: var(--text-secondary); font-size: 0.95rem; }
.el-head-icon {
    width: 52px; height: 52px; margin: 0 auto 16px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    background: var(--primary-light); color: var(--primary);
    border: 1px solid var(--primary-border);
}
.el-head-icon svg { width: 26px; height: 26px; }
.el-i-blue { background: var(--primary-light); color: var(--primary); border-color: var(--primary-border); }
.el-i-purple { background: var(--accent-light); color: var(--accent); border-color: rgba(139, 124, 240, 0.3); }
.el-i-gold { background: rgba(240, 180, 41, 0.14); color: var(--el-gold); border-color: rgba(240, 180, 41, 0.3); }
.el-i-green { background: var(--success-light); color: var(--success); border-color: var(--success-border); }
.el-i-pink { background: var(--sakura-light); color: var(--sakura-dark); border-color: var(--sakura-border); }

/* ============================================================
   访问门禁（未登录 / 未解锁）
   ============================================================ */
.el-gate { min-height: 78vh; display: flex; align-items: center; justify-content: center; padding: 40px 20px; }
.el-gate-inner { width: 100%; max-width: 560px; }
.el-gate-card {
    background: var(--el-card); border: 1px solid var(--border); border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg); padding: 40px 32px; text-align: center;
    animation: elFadeUp 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.el-gate-eyebrow {
    display: inline-flex; align-items: center; gap: 8px; font-size: 0.76rem; font-weight: 700;
    letter-spacing: 0.12em; text-transform: uppercase; color: var(--primary);
    background: var(--primary-light); border: 1px solid var(--primary-border);
    padding: 5px 12px; border-radius: 999px; margin-bottom: 18px;
}
.el-gate-icon {
    width: 74px; height: 74px; margin: 0 auto 18px; border-radius: 24px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(140deg, rgba(74,144,226,0.18), rgba(139,124,240,0.18));
    border: 1px solid var(--primary-border); color: var(--primary);
    position: relative;
}
.el-gate-icon svg { width: 34px; height: 34px; }
.el-gate-icon::after {
    content: ''; position: absolute; inset: -6px; border-radius: 28px;
    border: 1px dashed var(--primary-border); animation: elSpin 14s linear infinite;
}
.el-gate-title { font-size: 1.42rem; font-weight: 800; margin-bottom: 10px; }
.el-gate-desc { color: var(--text-secondary); font-size: 0.92rem; line-height: 1.75; margin-bottom: 22px; }
.el-gate-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.el-gate-hint {
    margin-top: 20px; padding-top: 18px; border-top: 1px dashed var(--border);
    font-size: 0.79rem; color: var(--text-muted); line-height: 1.7;
}
.el-gate-user {
    display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px;
    font-size: 0.82rem; color: var(--text-muted);
}
.el-gate-user b { color: var(--text); }
.el-gate-loader {
    width: 46px; height: 46px; margin: 0 auto 16px; border-radius: 50%;
    border: 3px solid var(--border); border-top-color: var(--primary);
    animation: elSpin 0.9s linear infinite;
}
.el-gate-loading { color: var(--text-muted); font-size: 0.9rem; }

/* 管理员预览提示条 */
.el-preview-bar {
    background: linear-gradient(90deg, rgba(139,124,240,0.16), rgba(74,144,226,0.16));
    border-bottom: 1px solid var(--accent-light);
    padding: 10px 22px; font-size: 0.82rem; color: var(--text-secondary);
    text-align: center;
}
.el-preview-bar strong { color: var(--accent); }
.el-preview-bar a { color: var(--primary); font-weight: 600; text-decoration: none; }
.el-preview-bar a:hover { text-decoration: underline; }

/* ============================================================
   Hero
   ============================================================ */
.el-hero {
    position: relative; padding: 74px 0 0; overflow: hidden;
    border-bottom: 1px solid var(--border-light);
}
.el-pool {
    position: absolute; inset: 0; pointer-events: none; overflow: hidden;
}
.el-pool-liquid {
    position: absolute; left: 50%; top: -20%; width: 120%; height: 120%;
    transform: translateX(-50%);
    background:
        radial-gradient(520px 320px at 22% 30%, rgba(74, 144, 226, 0.20), transparent 70%),
        radial-gradient(520px 320px at 78% 42%, rgba(139, 124, 240, 0.18), transparent 70%),
        radial-gradient(420px 260px at 50% 78%, rgba(52, 209, 196, 0.14), transparent 70%);
    animation: elDrift 22s ease-in-out infinite alternate;
}
.el-ion {
    position: absolute; font-family: var(--font-mono); font-weight: 700; font-size: 0.95rem;
    padding: 5px 11px; border-radius: 999px;
    border: 1px solid currentColor; opacity: 0.42;
    background: var(--el-glass); backdrop-filter: blur(4px);
    animation: elFloat 12s ease-in-out infinite;
    will-change: transform;
}
.el-ion-h  { color: #ff7a7a; left: 10%; top: 24%; animation-delay: 0s; }
.el-ion-oh { color: #4a90e2; left: 22%; top: 62%; animation-delay: -1.6s; }
.el-ion-ag { color: #b8c4d0; left: 76%; top: 22%; animation-delay: -3.1s; }
.el-ion-cl { color: #34c98a; left: 88%; top: 58%; animation-delay: -4.4s; }
.el-ion-co3{ color: #f0b429; left: 62%; top: 76%; animation-delay: -5.6s; }
.el-ion-pb { color: #9aa7b8; left: 5%;  top: 74%; animation-delay: -7.2s; }
.el-ion-i  { color: #c792ea; left: 40%; top: 12%; animation-delay: -8.5s; }
.el-ion-na { color: #ff9f68; left: 68%; top: 46%; animation-delay: -10s; }
.el-hero-inner { position: relative; max-width: 880px; margin: 0 auto; padding: 0 22px; text-align: center; }
.el-hero-badge {
    display: inline-flex; align-items: center; gap: 9px;
    font-size: 0.78rem; font-weight: 600; color: var(--text-secondary);
    background: var(--el-glass); border: 1px solid var(--border);
    padding: 6px 15px; border-radius: 999px; backdrop-filter: blur(8px);
    box-shadow: var(--shadow-sm);
}
.el-dot {
    width: 7px; height: 7px; border-radius: 50%; background: var(--success);
    box-shadow: 0 0 0 4px var(--success-light); animation: elPulse 2.4s ease-in-out infinite;
}
.el-hero-title {
    margin: 22px 0 6px; font-size: clamp(2.1rem, 5.4vw, 3.5rem); line-height: 1.16;
    font-weight: 800; letter-spacing: 0.01em;
}
.el-hero-dot { color: var(--primary); }
.el-hero-slogan {
    font-size: clamp(1rem, 2.4vw, 1.32rem); font-weight: 600; color: var(--el-primary-ink);
    letter-spacing: 0.06em; margin-bottom: 18px;
}
.el-hero-sub { color: var(--text-secondary); font-size: 0.98rem; line-height: 1.85; }
.el-hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 28px 0 14px; }
.el-btn-lg { padding: 11px 26px; font-size: 0.94rem; border-radius: 999px; }
.el-hero-note { font-size: 0.82rem; color: var(--text-muted); }
.el-hero-version {
    margin-top: 16px; display: inline-flex; gap: 10px; align-items: center; flex-wrap: wrap;
    justify-content: center; font-size: 0.8rem; color: var(--text-muted);
    font-family: var(--font-mono);
}
.el-hero-version b { color: var(--text); }

/* 数据条 */
.el-stats {
    position: relative; margin-top: 46px;
    display: flex; flex-wrap: wrap; gap: 10px 30px; justify-content: center;
    padding: 20px 22px; border-top: 1px solid var(--border-light);
    background: var(--el-glass); backdrop-filter: blur(10px);
}
.el-stats.visible { animation: elRevealIn 0.7s cubic-bezier(0.4, 0, 0.2, 1) both; }
.el-stats span { font-size: 0.88rem; color: var(--text-secondary); }
.el-stats b { font-size: 1.16rem; color: var(--el-primary-ink); font-weight: 800; margin-right: 3px; }

/* ============================================================
   价值主张
   ============================================================ */
.el-claim {
    max-width: 820px; margin: 0 auto; text-align: center;
    padding: 30px 28px; border-radius: var(--radius-lg);
    background: var(--el-card); border: 1px solid var(--border);
    box-shadow: var(--shadow); font-size: 1.02rem; line-height: 2; color: var(--text-secondary);
}
.el-claim strong { color: var(--primary); }

/* ============================================================
   玩法三步
   ============================================================ */
.el-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.el-step {
    position: relative; background: var(--el-card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 28px 24px 24px; box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.el-step:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary-border); }
.el-step-no {
    font-family: var(--font-mono); font-size: 2.1rem; font-weight: 800; line-height: 1;
    color: var(--primary); opacity: 0.22; margin-bottom: 8px;
}
.el-step h3 { font-size: 1.08rem; margin-bottom: 10px; }
.el-step p { font-size: 0.89rem; color: var(--text-secondary); line-height: 1.85; }
.el-warn {
    margin-top: 12px; padding: 10px 12px; border-radius: var(--radius-sm);
    background: var(--warning-light); color: var(--text-secondary);
    border: 1px solid rgba(243, 156, 18, 0.25); font-size: 0.83rem !important;
}
.el-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.el-chip {
    font-family: var(--font-mono); font-size: 0.78rem; font-weight: 700;
    padding: 3px 9px; border-radius: 999px;
    background: var(--primary-light); color: var(--el-primary-ink); border: 1px solid var(--primary-border);
}
.el-reactive-list { list-style: none; margin-top: 12px; display: flex; flex-direction: column; gap: 10px; }
.el-reactive-list li {
    display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; align-items: center;
    padding: 9px 12px; border-radius: var(--radius-sm); background: var(--surface-hover);
    border: 1px solid var(--border-light);
}
.el-reactive-list b { font-size: 0.82rem; }
.el-reactive-list code {
    font-family: var(--font-mono); font-size: 0.76rem; color: var(--text-secondary);
    grid-column: 2; word-break: break-all;
}
.el-reactive-list span { grid-column: 2; font-size: 0.78rem; color: var(--text-muted); }
.el-r-water { color: var(--el-primary-ink); }
.el-r-gas { color: var(--el-success-ink); }
.el-r-solid { color: var(--el-warn-ink); }
.el-r-salt { color: var(--el-accent-ink); }

/* 核心循环 */
.el-loop {
    margin-top: 26px; padding: 22px; border-radius: var(--radius-lg);
    background: var(--el-card); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.el-loop-title { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 14px; }
.el-loop-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.el-loop-node {
    padding: 8px 14px; border-radius: 999px; font-size: 0.84rem; font-weight: 600;
    background: var(--primary-light); color: var(--el-primary-ink); border: 1px solid var(--primary-border);
}
.el-loop-flow i { color: var(--text-muted); font-style: normal; }

/* 平衡度 */
.el-balance {
    margin-top: 22px; padding: 24px; border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(74,144,226,0.10), rgba(242,160,182,0.10));
    border: 1px solid var(--border);
}
.el-balance-title { font-weight: 700; margin-bottom: 10px; font-size: 0.98rem; }
.el-balance p { font-size: 0.89rem; color: var(--text-secondary); line-height: 1.85; }
.el-balance-quote { margin-top: 8px; font-weight: 700; color: var(--text) !important; }
.el-balance-meter { position: relative; height: 8px; margin-top: 18px; border-radius: 999px; background: var(--border-light); }
.el-balance-track {
    position: absolute; inset: 0; border-radius: 999px;
    background: linear-gradient(90deg, var(--el-blue), var(--el-gold) 45%, #ff7a7a 62%, var(--el-purple));
    opacity: 0.75;
}
.el-balance-knob {
    position: absolute; top: 50%; left: 62%; width: 16px; height: 16px; border-radius: 50%;
    background: var(--surface); border: 3px solid var(--primary);
    transform: translate(-50%, -50%); box-shadow: var(--shadow);
    animation: elBalance 6s ease-in-out infinite;
}

/* ============================================================
   六大特色
   ============================================================ */
.el-feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.el-feature {
    background: var(--el-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 24px; box-shadow: var(--shadow-sm); transition: transform var(--transition), box-shadow var(--transition);
}
.el-feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.el-feature h3 { font-size: 1rem; margin-bottom: 10px; display: flex; gap: 10px; align-items: baseline; }
.el-feature-badge {
    font-family: var(--font-mono); font-size: 0.72rem; font-weight: 700; color: var(--el-accent-ink);
    background: var(--accent-light); border-radius: 6px; padding: 2px 6px;
}
.el-feature p { font-size: 0.87rem; color: var(--text-secondary); line-height: 1.85; }
.el-feature-more { margin-top: 8px; color: var(--text-muted) !important; font-size: 0.82rem !important; }

/* ============================================================
   八位主宰
   ============================================================ */
.el-lord-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.el-lord {
    display: flex; gap: 16px; padding: 20px; border-radius: var(--radius-lg);
    background: var(--el-card); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
    position: relative; overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.el-lord::before {
    content: ''; position: absolute; inset: 0; opacity: 0.07;
    background: radial-gradient(220px 140px at 0% 0%, var(--lord), transparent 70%);
    pointer-events: none;
}
.el-lord:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--lord); }
.el-lord-sym {
    flex-shrink: 0; width: 54px; height: 54px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-mono); font-weight: 800; font-size: 1.24rem;
    /* 八位主宰的用色都偏亮，统一用深色字以保证对比度 */
    color: #10161f; background: var(--lord);
    box-shadow: 0 6px 18px -6px var(--lord);
}
.el-lord-body { flex: 1; min-width: 0; }
.el-lord-body h3 { font-size: 0.96rem; margin-bottom: 4px; }
.el-lord-role {
    display: inline-block; font-size: 0.72rem; font-weight: 600; color: var(--text-secondary);
    border: 1px solid var(--lord); border-radius: 999px; padding: 1px 8px; margin-bottom: 8px;
}
.el-lord-body p { font-size: 0.83rem; color: var(--text-secondary); line-height: 1.75; }
.el-lord-tree { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.el-lord-tree span {
    font-size: 0.72rem; padding: 2px 8px; border-radius: 6px;
    background: var(--surface-hover); border: 1px solid var(--border-light); color: var(--text-secondary);
}
.el-lord-foot {
    margin-top: 26px; text-align: center; font-size: 0.86rem; color: var(--text-muted); line-height: 1.9;
}

/* ============================================================
   剧情与世界观
   ============================================================ */
.el-story-quote {
    max-width: 780px; margin: 0 auto 44px; padding: 30px 28px;
    border-left: 3px solid var(--primary); border-radius: var(--radius-sm);
    background: var(--el-card); box-shadow: var(--shadow-sm);
    font-size: 1rem; line-height: 2.05; color: var(--text-secondary);
}
.el-story-quote p + p { margin-top: 4px; }
.el-story-quote strong { color: var(--text); }
.el-story-rule { color: var(--primary) !important; font-weight: 700; margin-top: 8px !important; }

.el-timeline { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.el-chapter {
    position: relative; padding: 24px 22px; border-radius: var(--radius-lg);
    background: var(--el-card); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--chapter-color, var(--primary));
}
.el-chapter-1 { --chapter-color: var(--el-blue); --chapter-ink: var(--el-primary-ink); }
.el-chapter-2 { --chapter-color: #6b7280; --chapter-ink: var(--text-secondary); }
.el-chapter-3 { --chapter-color: var(--el-purple); --chapter-ink: var(--el-accent-ink); }
.el-chapter-soon { --chapter-color: var(--border); --chapter-ink: var(--text-muted); opacity: 0.92; }
.el-chapter-tag {
    display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em;
    color: var(--chapter-ink, var(--text-secondary)); border: 1px solid var(--chapter-color); border-radius: 999px;
    padding: 2px 10px; margin-bottom: 12px;
}
.el-chapter h3 { font-size: 1.24rem; margin-bottom: 10px; letter-spacing: 0.06em; }
.el-chapter p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.85; }
.el-chapter-meta { margin-top: 12px; font-size: 0.76rem; color: var(--text-muted); line-height: 1.7; }

.el-villains { margin-top: 46px; }
.el-villains h3 { text-align: center; font-size: 1.2rem; margin-bottom: 8px; }
.el-villains-intro { text-align: center; color: var(--text-secondary); font-size: 0.88rem; margin-bottom: 24px; }
.el-villain-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.el-villain {
    text-align: center; padding: 24px 20px; border-radius: var(--radius-lg);
    background: var(--el-card); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
    opacity: 0.78;
}
.el-villain-active { opacity: 1; border-color: var(--primary-border); }
.el-villain-sym {
    width: 46px; height: 46px; margin: 0 auto 12px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-mono); font-weight: 800;
    background: var(--surface-hover); color: var(--text); border: 1px solid var(--border);
}
.el-villain-active .el-villain-sym { background: linear-gradient(140deg, rgba(74,144,226,0.18), rgba(139,124,240,0.18)); border-color: var(--primary-border); color: var(--el-primary-ink); }
.el-villain h4 { font-size: 0.98rem; margin-bottom: 6px; }
.el-villain-where { display: block; font-size: 0.72rem; color: var(--text-muted); margin-bottom: 10px; }
.el-villain p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.8; }
.el-villains-foot { margin-top: 22px; text-align: center; font-size: 0.86rem; color: var(--text-muted); }
.el-spoiler-note {
    margin-top: 30px; text-align: center; font-size: 0.79rem; color: var(--text-muted);
    line-height: 1.85; max-width: 620px; margin-left: auto; margin-right: auto;
}

/* ============================================================
   内容规模
   ============================================================ */
.el-scale-table {
    max-width: 900px; margin: 0 auto; border: 1px solid var(--border);
    border-radius: var(--radius-lg); overflow: hidden; background: var(--el-card); box-shadow: var(--shadow-sm);
}
.el-scale-row {
    display: grid; grid-template-columns: 130px 110px 1fr; gap: 12px; align-items: center;
    padding: 14px 20px; border-bottom: 1px solid var(--border-light); font-size: 0.88rem;
}
.el-scale-row:last-child { border-bottom: none; }
.el-scale-row > span:first-child { color: var(--text-secondary); }
.el-scale-row b { color: var(--el-primary-ink); font-size: 1rem; font-weight: 800; }
.el-scale-row > span:last-child { color: var(--text-muted); font-size: 0.82rem; }
.el-scale-head {
    background: var(--surface-hover); font-weight: 700; font-size: 0.78rem !important;
    letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted);
}
.el-scale-row:hover:not(.el-scale-head) { background: var(--surface-hover); }

/* ============================================================
   音乐与美术
   ============================================================ */
.el-music-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.el-track {
    position: relative; padding: 22px; border-radius: var(--radius-lg); overflow: hidden;
    background: var(--el-card); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}
.el-track:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.el-track::after {
    content: ''; position: absolute; right: -30px; top: -30px; width: 110px; height: 110px;
    border-radius: 50%; background: var(--track-color, var(--primary)); opacity: 0.10;
}
.el-track-1 { --track-color: var(--el-blue); }
.el-track-2 { --track-color: var(--el-cyan); }
.el-track-3 { --track-color: #6b7280; }
.el-track-4 { --track-color: #ff7a7a; }
.el-track-5 { --track-color: var(--el-purple); }
.el-track-6 { --track-color: var(--el-gold); }
.el-track-no { font-family: var(--font-mono); font-size: 0.76rem; color: var(--text-secondary); font-weight: 700; margin-bottom: 8px; }
.el-track h3 { font-size: 0.96rem; margin-bottom: 8px; }
.el-track p { font-size: 0.83rem; color: var(--text-secondary); line-height: 1.8; }
.el-music-note { margin-top: 18px; text-align: center; font-size: 0.79rem; color: var(--text-muted); }
.el-art {
    margin-top: 40px; padding: 26px; border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(139,124,240,0.10), rgba(52,209,196,0.10));
    border: 1px solid var(--border); text-align: center;
}
.el-art h3 { font-size: 1.06rem; margin-bottom: 12px; }
.el-art p { font-size: 0.87rem; color: var(--text-secondary); line-height: 1.9; }

/* ============================================================
   下载区
   ============================================================ */
.el-download-section { background: linear-gradient(180deg, transparent, rgba(52, 201, 138, 0.05)); }
.el-dl-skeleton { text-align: center; color: var(--text-muted); font-size: 0.88rem; padding: 34px 0; }
.el-dl-card {
    background: var(--el-card); border: 1px solid var(--border); border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg); overflow: hidden;
}
.el-dl-head {
    display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between;
    padding: 22px 26px; border-bottom: 1px solid var(--border-light);
    background: linear-gradient(120deg, rgba(74,144,226,0.10), rgba(52,201,138,0.10));
}
.el-dl-version { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.el-dl-version-num { font-size: 1.66rem; font-weight: 800; font-family: var(--font-mono); }
.el-dl-badge {
    font-size: 0.72rem; font-weight: 700; padding: 3px 10px; border-radius: 999px;
    background: var(--success-light); color: var(--el-success-ink); border: 1px solid var(--success-border);
}
.el-dl-date { font-size: 0.82rem; color: var(--text-muted); }
.el-dl-title-text { font-size: 0.9rem; color: var(--text-secondary); margin-top: 6px; }
.el-dl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 0; }
.el-dl-platform {
    padding: 26px; border-right: 1px solid var(--border-light);
    display: flex; flex-direction: column; gap: 12px;
}
.el-dl-platform:last-child { border-right: none; }
.el-dl-platform-top { display: flex; align-items: center; gap: 10px; }
.el-dl-platform-icon {
    width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
    background: var(--primary-light); color: var(--primary); border: 1px solid var(--primary-border);
}
.el-dl-platform-icon svg { width: 20px; height: 20px; }
.el-dl-platform h3 { font-size: 1rem; }
.el-dl-platform-sub { font-size: 0.78rem; color: var(--text-muted); }
.el-dl-filemeta { font-size: 0.78rem; color: var(--text-muted); font-family: var(--font-mono); line-height: 1.7; word-break: break-all; }
.el-dl-btn { width: 100%; justify-content: center; padding: 12px 20px; border-radius: var(--radius-sm); font-size: 0.92rem; }
.el-dl-req { margin-top: auto; font-size: 0.76rem; color: var(--text-muted); line-height: 1.75; padding-top: 12px; border-top: 1px dashed var(--border-light); }
.el-dl-note { padding: 14px 26px; border-top: 1px solid var(--border-light); font-size: 0.78rem; color: var(--text-muted); }

/* 新版本提示条 */
.el-update-banner {
    display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
    margin-bottom: 18px; padding: 14px 18px;
    border-radius: var(--radius-lg);
    background: linear-gradient(120deg, rgba(52, 201, 138, 0.14), rgba(74, 144, 226, 0.14));
    border: 1px solid var(--success-border);
    animation: elFadeUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.el-update-icon {
    width: 38px; height: 38px; flex-shrink: 0; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    background: var(--surface); color: var(--success); border: 1px solid var(--success-border);
}
.el-update-icon svg { width: 20px; height: 20px; animation: elSpin 12s linear infinite; }
.el-update-text { flex: 1 1 200px; min-width: 0; font-size: 0.85rem; color: var(--text-secondary); line-height: 1.7; }
.el-update-text strong { display: block; color: var(--text); font-size: 0.95rem; font-family: var(--font-mono); }
.el-update-close {
    background: none; border: none; cursor: pointer; color: var(--text-muted);
    font-size: 1.4rem; line-height: 1; padding: 0 4px; font-family: var(--font);
}
.el-update-close:hover { color: var(--text); }

/* 下载区的校验值按钮 */
.el-hash-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 2px; }
.el-hash-value { font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-muted); word-break: break-all; }
.el-copy-btn {
    border: 1px solid var(--border); background: var(--surface); color: var(--text-secondary);
    border-radius: 999px; font-size: 0.7rem; padding: 2px 9px; cursor: pointer;
    font-family: var(--font); transition: all var(--transition);
}
.el-copy-btn:hover { border-color: var(--primary); color: var(--primary); }

/* ============================================================
   更新日志
   ============================================================ */
.el-log { margin-top: 34px; }
.el-log-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.el-log-head h3 { font-size: 1.06rem; display: flex; align-items: center; gap: 8px; }
.el-log-list { display: flex; flex-direction: column; gap: 12px; }
.el-log-item {
    background: var(--el-card); border: 1px solid var(--border); border-radius: var(--radius);
    box-shadow: var(--shadow-sm); overflow: hidden;
}
.el-log-item-head {
    display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
    padding: 16px 20px; cursor: pointer; user-select: none;
    transition: background var(--transition);
}
.el-log-item-head:hover { background: var(--surface-hover); }
.el-log-ver { font-family: var(--font-mono); font-weight: 800; font-size: 1.04rem; }
.el-log-date { font-size: 0.79rem; color: var(--text-muted); }
.el-log-tag {
    font-size: 0.7rem; font-weight: 700; padding: 2px 8px; border-radius: 999px;
    background: var(--primary-light); color: var(--el-primary-ink); border: 1px solid var(--primary-border);
}
.el-log-tag-draft { background: var(--warning-light); color: var(--el-warn-ink); border-color: rgba(243,156,18,0.3); }
.el-log-summary { font-size: 0.82rem; color: var(--text-secondary); flex: 1 1 220px; min-width: 0; }
.el-log-toggle { margin-left: auto; color: var(--text-muted); transition: transform var(--transition); }
.el-log-item.open .el-log-toggle { transform: rotate(180deg); }
.el-log-body { display: none; padding: 4px 20px 20px; border-top: 1px solid var(--border-light); }
.el-log-item.open .el-log-body { display: block; }
.el-log-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }

/* Markdown 正文 */
.el-md { font-size: 0.88rem; line-height: 1.9; color: var(--text-secondary); }
.el-md h1 { font-size: 1.3rem; margin: 16px 0 10px; color: var(--text); }
.el-md h2 { font-size: 1.12rem; margin: 16px 0 8px; color: var(--text); }
.el-md h3 { font-size: 1rem; margin: 14px 0 6px; color: var(--text); }
.el-md p { margin: 8px 0; }
.el-md ul, .el-md ol { margin: 8px 0 8px 22px; }
.el-md li { margin: 3px 0; }
.el-md code {
    font-family: var(--font-mono); font-size: 0.82rem; padding: 1px 6px;
    background: var(--surface-hover); border: 1px solid var(--border-light); border-radius: 5px;
}
.el-md pre { background: var(--surface-hover); border: 1px solid var(--border-light); border-radius: var(--radius-sm); padding: 14px; overflow-x: auto; margin: 10px 0; }
.el-md pre code { background: none; border: none; padding: 0; }
.el-md blockquote { border-left: 3px solid var(--primary); padding: 6px 0 6px 14px; margin: 10px 0; color: var(--text-muted); }
.el-md a { color: var(--primary); }
.el-md hr { border: none; border-top: 1px solid var(--border-light); margin: 16px 0; }
.el-md table { width: 100%; border-collapse: collapse; margin: 10px 0; font-size: 0.82rem; }
.el-md th, .el-md td { border: 1px solid var(--border-light); padding: 7px 10px; text-align: left; }
.el-md th { background: var(--surface-hover); }
.el-md img { max-width: 100%; border-radius: var(--radius-sm); }
.el-md strong { color: var(--text); }

/* 路线图 */
.el-roadmap { margin-top: 34px; padding: 24px; border-radius: var(--radius-lg); background: var(--el-card); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.el-roadmap h3 { font-size: 1.02rem; margin-bottom: 16px; }
.el-roadmap-row { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px dashed var(--border-light); }
.el-roadmap-row:last-child { border-bottom: none; }
.el-road-tag {
    flex-shrink: 0; font-size: 0.72rem; font-weight: 700; padding: 3px 10px; border-radius: 999px;
}
.el-roadmap-done .el-road-tag { background: var(--success-light); color: var(--el-success-ink); }
.el-roadmap-doing .el-road-tag { background: var(--primary-light); color: var(--el-primary-ink); }
.el-roadmap-plan .el-road-tag { background: var(--surface-hover); color: var(--text-secondary); border: 1px solid var(--border); }
.el-roadmap-row p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.8; }

/* 分享 */
.el-share { margin-top: 24px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: center; }
.el-share-hint { font-size: 0.78rem; color: var(--text-muted); }

/* ============================================================
   开发者的话 / FAQ / 订阅
   ============================================================ */
.el-dev-note {
    max-width: 780px; margin: 0 auto; padding: 30px 28px; border-radius: var(--radius-lg);
    background: var(--el-card); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
    font-size: 0.93rem; line-height: 2.05; color: var(--text-secondary);
}
.el-dev-note p + p { margin-top: 6px; }
.el-dev-strong { color: var(--text) !important; font-weight: 600; }
.el-dev-sign { text-align: right; color: var(--text-muted) !important; font-size: 0.86rem; margin-top: 14px !important; }

.el-faq { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.el-faq-item {
    background: var(--el-card); border: 1px solid var(--border); border-radius: var(--radius);
    box-shadow: var(--shadow-sm); overflow: hidden;
}
.el-faq-item summary {
    padding: 16px 20px; cursor: pointer; font-weight: 600; font-size: 0.93rem;
    list-style: none; display: flex; align-items: center; gap: 10px;
}
.el-faq-item summary::-webkit-details-marker { display: none; }
.el-faq-item summary::before {
    content: 'Q'; flex-shrink: 0; width: 22px; height: 22px; border-radius: 7px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 0.72rem; font-weight: 800; font-family: var(--font-mono);
    background: var(--primary-light); color: var(--primary); border: 1px solid var(--primary-border);
}
.el-faq-item[open] summary { border-bottom: 1px solid var(--border-light); }
.el-faq-item p { padding: 14px 20px 18px; font-size: 0.87rem; color: var(--text-secondary); line-height: 1.9; }
.el-faq-item p a { color: var(--primary); }

.el-subscribe {
    max-width: 720px; margin: 0 auto; text-align: center; padding: 36px 28px;
    border-radius: var(--radius-xl); background: var(--el-card);
    border: 1px solid var(--border); box-shadow: var(--shadow-lg);
}
.el-subscribe h2 { font-size: 1.34rem; margin-bottom: 10px; }
.el-subscribe-text p { color: var(--text-secondary); font-size: 0.9rem; }
.el-subscribe-form { display: flex; gap: 10px; margin: 22px 0 10px; flex-wrap: wrap; justify-content: center; }
.el-subscribe-form input {
    flex: 1 1 260px; max-width: 360px; padding: 11px 16px; font-size: 0.9rem;
    border-radius: var(--radius-sm); border: 1px solid var(--border);
    background: var(--bg); color: var(--text); font-family: var(--font);
}
.el-subscribe-form input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-light); }
.el-subscribe-msg { min-height: 20px; font-size: 0.84rem; color: var(--success); }
.el-subscribe-msg.error { color: var(--danger); }
.el-subscribe-note { font-size: 0.76rem; color: var(--text-muted); }
.el-community {
    display: inline-flex; align-items: center; gap: 8px; margin-top: 20px;
    padding: 10px 18px; border-radius: 999px; text-decoration: none;
    font-size: 0.85rem; font-weight: 600; color: var(--el-primary-ink);
    background: var(--primary-light); border: 1px solid var(--primary-border);
    transition: transform var(--transition), box-shadow var(--transition);
}
.el-community:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

/* ============================================================
   页脚
   ============================================================ */
.el-footer { margin-top: 20px; padding: 46px 0 26px; border-top: 1px solid var(--border); background: var(--el-glass); backdrop-filter: blur(8px); }
.el-footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 24px; }
.el-footer-col h4 { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 12px; }
.el-footer-col a { display: block; font-size: 0.85rem; color: var(--text-secondary); text-decoration: none; padding: 3px 0; transition: color var(--transition); }
.el-footer-col a:hover { color: var(--primary); }
.el-footer-legal { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--border-light); }
.el-footer-legal p { font-size: 0.78rem; color: var(--text-muted); line-height: 1.85; }
.el-footer-engine { margin-top: 4px; opacity: 0.85; }
.el-footer .app-footer { margin-top: 22px; }

/* 解锁弹窗 */
.el-unlock-tip { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.8; margin: 4px 0 14px; }

/* ============================================================
   进场动画
   注意：默认状态必须是「可见」，只在被观察器标记 .visible 时才播放一次淡入。
   早期实现把隐藏（opacity:0）当作默认态，一旦观察器没能触发（例如区块比视口
   高十几倍时 8% 的可见比例阈值永远无法达到）内容就会永久消失——Chrome 与
   iOS Safari 都踩过这个坑（缩小窗口/双指缩放后视口变大才「突然出现」）。
   ============================================================ */
.el-reveal.visible { animation: elRevealIn 0.7s cubic-bezier(0.4, 0, 0.2, 1) both; }

@keyframes elRevealIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: none; }
}
@keyframes elFadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes elSpin { to { transform: rotate(360deg); } }
@keyframes elPulse { 0%, 100% { box-shadow: 0 0 0 4px var(--success-light); } 50% { box-shadow: 0 0 0 8px transparent; } }
@keyframes elFloat {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
    33% { transform: translate3d(16px, -22px, 0) rotate(6deg); }
    66% { transform: translate3d(-14px, -10px, 0) rotate(-5deg); }
}
@keyframes elDrift {
    0% { transform: translateX(-50%) translateY(0) scale(1); }
    100% { transform: translateX(-50%) translateY(-4%) scale(1.06); }
}
@keyframes elBalance {
    0%, 100% { left: 34%; }
    50% { left: 74%; }
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 900px) {
    .el-ion { display: none; }
    .el-ion-h, .el-ion-oh, .el-ion-ag { display: block; font-size: 0.8rem; }
    .el-section { padding: 56px 0; }
    .el-scale-row { grid-template-columns: 100px 90px 1fr; font-size: 0.82rem; }
    .el-dl-platform { border-right: none; border-bottom: 1px solid var(--border-light); }
    .el-dl-platform:last-child { border-bottom: none; }
}
@media (max-width: 620px) {
    .el-wrap { padding: 0 16px; }
    .el-gate-card { padding: 30px 20px; }
    .el-hero { padding-top: 50px; }
    .el-hero-actions .btn { flex: 1 1 100%; }
    .el-head h2 { font-size: 1.42rem; }
    .el-scale-row { grid-template-columns: 1fr auto; }
    .el-scale-row > span:last-child { grid-column: 1 / -1; }
    .el-scale-head > span:last-child { display: none; }
    .el-subscribe-form input { flex: 1 1 100%; max-width: none; }
    .el-footer-cols { grid-template-columns: 1fr 1fr; }
}

/* 减少动效偏好 */
@media (prefers-reduced-motion: reduce) {
    .el-ion, .el-pool-liquid, .el-balance-knob, .el-dot, .el-gate-icon::after { animation: none !important; }
    .el-reveal.visible, .el-stats.visible { animation: none; }
}
