:root { --gold:#ffd700; --amber:#ff9800; --deep:#ff5722; --bg:#150d04; --text:#fff3d6; --muted:#a8906a; --card:#241604; --neon-blue:#ffd700; --neon-purple:#ff9800; --neon-pink:#ff5722; --neon-cyan:#ffd700; --primary-bg:#150d04; --surface-bg:#241604; --secondary-bg:#241604; --glow-blue:rgba(255,215,0,.3); --text-primary:#fff3d6; --text-muted:#a8906a; --card-glow:0 0 30px rgba(0,0,0,.5); --transition:all .4s cubic-bezier(.4,0,.2,1); }
        * { margin:0; padding:0; box-sizing:border-box; }
        body { font-family:'Exo 2','Microsoft YaHei',sans-serif; background:var(--bg); color:var(--text); min-height:100vh; overflow-x:hidden; }
        .glow { position:fixed; inset:0; z-index:0; pointer-events:none;
            background: radial-gradient(circle at 50% 0%, rgba(255,152,0,.25), transparent 55%),
                        radial-gradient(circle at 50% 100%, rgba(255,87,34,.18), transparent 55%), var(--bg); }
        canvas { position:fixed; inset:0; z-index:0; pointer-events:none; }
        .wrap { position:relative; z-index:1; max-width:1400px; margin:0 auto; padding:20px 20px 60px; }
        .nav { display:flex; justify-content:space-between; align-items:center; padding:22px 0; border-bottom:1px solid rgba(255,215,0,.25); }
        .brand { font-family:'Orbitron',sans-serif; font-weight:700; font-size:20px; color:#fff; text-decoration:none; white-space:nowrap; }
        .brand .logo { color:var(--gold); text-shadow:0 0 14px var(--gold); }
        .brand b { color:var(--gold); }
        .nav-links { display:flex; gap:6px; flex-wrap:nowrap; }
        .nav-links a { display:flex; flex-direction:column; align-items:center; gap:4px; color:var(--muted); text-decoration:none; font-size:12px; transition:.2s; padding:8px 10px; border-radius:10px; white-space:nowrap; }
        .nav-links a i { font-size:17px; }
        .nav-links a:hover { color:var(--gold); background:rgba(255,215,0,.12); }
        .nav-links a.active { color:var(--gold); background:rgba(255,215,0,.18); }
        .hero { text-align:center; padding:90px 0 30px; }
        .hero h1 { font-family:'Orbitron',sans-serif; font-size:54px; font-weight:900; line-height:1.15; color:#fff; }
        .hero h1 .grad { background:linear-gradient(120deg, var(--gold), var(--amber), var(--deep)); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
        .hero p { color:var(--muted); font-size:16px; margin:22px 0 32px; }
        .btn { display:inline-block; padding:14px 30px; border-radius:12px; font-size:15px; font-weight:600; text-decoration:none; transition:.25s; cursor:pointer; }
        .btn-primary { background:linear-gradient(120deg,var(--gold),var(--amber)); color:#3a2400; box-shadow:0 0 26px rgba(255,215,0,.35); }
        .btn-primary:hover { transform:translateY(-3px); box-shadow:0 0 40px rgba(255,215,0,.55); }
        .btn-ghost { color:var(--gold); border:1px solid rgba(255,215,0,.4); margin-left:12px; background:transparent; }
        /* 星系 */
        .section h2 { font-family:'Orbitron',sans-serif; font-size:22px; text-align:center; color:#fff; margin-bottom:6px; }
        .section .sub { text-align:center; color:var(--muted); font-size:13px; }
        .galaxy-container { position:relative; width:750px; height:750px; margin:0 auto 20px; }
        /* 中心恒星 */
        .central-star { position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); z-index:3; text-align:center; text-decoration:none; display:block; }
        .star-core { width:100px; height:100px; margin:0 auto 12px; background:radial-gradient(circle at 35% 30%, #fff7d0, #ffd700 50%, #ff5722 100%); border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:40px; color:#3a2400; box-shadow:0 0 60px #ff9800; animation:starPulse 2s ease-in-out infinite; }
        @keyframes starPulse { 0%,100%{ transform:scale(1); box-shadow:0 0 60px #ff9800;} 50%{ transform:scale(1.1); box-shadow:0 0 80px #ff9800;} }
        .star-info h4 { font-size:18px; color:#ff9800; margin-bottom:4px; }
        .star-info p { font-size:12px; color:var(--muted); }
        /* 轨道 */
        .orbit { position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); border:1px solid rgba(255,215,0,.25); border-radius:50%; pointer-events:none; --radius:150px; }
        .orbit-1 { width:280px; height:280px; --radius:140px; animation:orbitRotate 40s linear infinite; }
        .orbit-2 { width:440px; height:440px; --radius:220px; animation:orbitRotate 60s linear infinite reverse; }
        .orbit-3 { width:600px; height:600px; --radius:300px; animation:orbitRotate 80s linear infinite; }
        .orbit-4 { width:750px; height:750px; --radius:375px; animation:orbitRotate 100s linear infinite reverse; }
        @keyframes orbitRotate { from{ transform:translate(-50%,-50%) rotate(0deg);} to{ transform:translate(-50%,-50%) rotate(360deg);} }
        /* 行星工具 */
        .planet-tool { position:absolute; top:50%; left:50%; width:110px; height:110px; display:flex; flex-direction:column; align-items:center; gap:8px; text-decoration:none; cursor:pointer; pointer-events:auto; transform:translate(-50%,-50%) rotate(var(--angle)) translateX(var(--radius)) rotate(calc(var(--angle)*-1)); }
        .planet-icon { width:60px; height:60px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:24px; color:#fff; position:relative; z-index:2; transition:var(--transition); }
        .planet-tool:hover .planet-icon { transform:scale(1.2) rotate(360deg); box-shadow:0 0 30px currentColor; }
        .planet-info { text-align:center; background:rgba(21,10,4,.85); padding:6px 10px; border-radius:10px; border:1px solid rgba(255,215,0,.25); min-width:90px; }
        .planet-info h5 { font-size:13px; color:#fff; margin-bottom:2px; }
        .planet-info p { font-size:10px; color:var(--muted); }
        /* 行星配色 */
        .planet-icon.electric { background:linear-gradient(135deg,#f59e0b,#d97706); box-shadow:0 0 20px rgba(245,158,11,.5); }
        .planet-icon.percent { background:linear-gradient(135deg,#9b59b6,#8e44ad); box-shadow:0 0 20px rgba(155,89,182,.5); }
        .planet-icon.shenlun { background:linear-gradient(135deg,#f39c12,#e67e22); box-shadow:0 0 20px rgba(243,156,18,.5); }
        .planet-icon.food { background:linear-gradient(135deg,#e74c3c,#c0392b); box-shadow:0 0 20px rgba(231,76,60,.5); }
        .planet-icon.f1 { background:linear-gradient(135deg,#e10600,#c10500); box-shadow:0 0 20px rgba(225,6,0,.5); }
        .planet-icon.file { background:linear-gradient(135deg,#667eea,#764ba2); box-shadow:0 0 20px rgba(102,126,234,.5); }
        .planet-icon.poison { background:linear-gradient(135deg,#8b5cf6,#7c3aed); box-shadow:0 0 20px rgba(139,92,246,.5); }
        .planet-icon.love { background:linear-gradient(135deg,#ec4899,#db2777); box-shadow:0 0 20px rgba(236,72,153,.5); }
        .planet-icon.calendar { background:linear-gradient(135deg,#ef4444,#dc2626); box-shadow:0 0 20px rgba(239,68,68,.5); }
        .planet-icon.housing { background:linear-gradient(135deg,#3498db,#2980b9); box-shadow:0 0 20px rgba(52,152,219,.5); }
        .planet-icon.future { background:linear-gradient(135deg,#95a5a6,#7f8c8d); box-shadow:0 0 20px rgba(149,165,166,.5); }
        .grid { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; margin-top:40px; }
        .tool { background:var(--card); border:1px solid rgba(255,215,0,.18); border-radius:16px; padding:26px 18px; text-align:center; cursor:pointer; transition:.3s; }
        .tool:hover { transform:translateY(-6px); border-color:rgba(255,215,0,.55); box-shadow:0 12px 34px rgba(255,152,0,.25); }
        .tool i { font-size:30px; margin-bottom:14px; color:var(--gold); }
        .tool h3 { font-size:15px; color:#fff; margin-bottom:7px; }
        .tool p { font-size:12px; color:var(--muted); }
        .stats { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-top:56px; }
        .stat { background:var(--card); border:1px solid rgba(255,215,0,.18); border-radius:16px; padding:28px; text-align:center; }
        .stat i { font-size:24px; color:var(--amber); margin-bottom:10px; }
        .stat b { display:block; font-family:'Orbitron',sans-serif; font-size:20px; color:#fff; }
        .stat span { font-size:13px; color:var(--muted); }
        footer { text-align:center; margin-top:64px; color:var(--muted); font-size:13px; }
        footer a { color:var(--gold); text-decoration:none; }
        @media (max-width:900px){ .grid{grid-template-columns:repeat(2,1fr);} .hero h1{font-size:38px;} }
        @media (max-width:560px){ .grid{grid-template-columns:1fr;} }

/* ===== 国考倒计时 + 每日打卡（与首页一致） ===== */
    .section { position: relative; margin-top: 54px; }
    .nav-links { flex-wrap: nowrap; gap: 6px; }
    .hero-section { background: rgba(58, 40, 4, 0.5); border: 1px solid rgba(255, 215, 0, 0.3); border-radius: 25px; padding: 44px 40px; margin-bottom: 40px; position: relative; overflow: hidden; box-shadow: 0 0 40px rgba(255, 152, 0, 0.15); }
    .hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 36px; align-items: stretch; position: relative; z-index: 1; }
    /* 金色星球装饰（带土星环，与首页一致） */
    .hero-orb { position: absolute; bottom: -70px; right: -45px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff7d0, #ffd700 55%, #ff5722 90%); box-shadow: 0 0 90px rgba(255, 215, 0, 0.55), inset -22px -22px 60px rgba(0, 0, 0, 0.5); opacity: 0.55; pointer-events: none; z-index: 0; }
    .hero-orb .ring { position: absolute; top: 50%; left: 50%; width: 360px; height: 120px; border: 2px solid rgba(255, 215, 0, 0.4); border-radius: 50%; transform: translate(-50%, -50%) rotate(-18deg); }
    @media (max-width: 600px) { .hero-orb { display: none; } }
    /* 星系控制（与首页一致） */
    .galaxy-controls { display: flex; justify-content: center; gap: 16px; margin-top: 10px; }
    .galaxy-btn { width: 50px; height: 50px; background: rgba(255, 215, 0, 0.12); border: 1px solid var(--gold); border-radius: 50%; color: var(--gold); font-size: 20px; cursor: pointer; transition: .25s; display: flex; align-items: center; justify-content: center; font-family: inherit; }
    .galaxy-btn:hover { background: var(--gold); color: #3a2400; transform: scale(1.1); box-shadow: 0 0 20px rgba(255, 215, 0, .6); }
    .galaxy-btn.paused { background: rgba(255, 87, 34, 0.2); border-color: var(--deep); color: var(--deep); }
    .hero-title { font-size: 26px; font-weight: 700; color: #fff; margin-bottom: 8px; display: flex; align-items: center; gap: 12px; }
    .hero-title i { background: linear-gradient(135deg, var(--gold), var(--amber)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
    /* 国考倒计时标题：流动渐变（金色系，与数字星河/紫罗兰星云一致） */
    .hero-main { display: inline-block; background: linear-gradient(135deg, var(--gold) 0%, var(--amber) 25%, var(--deep) 50%, var(--gold) 75%, var(--amber) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; background-size: 200% auto; animation: gradientShift 5s linear infinite; }
    .hero-subtitle { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
    .countdown-section { display: flex; gap: 12px; margin-bottom: 26px; }
    .countdown-item { flex: 1; text-align: center; background: rgba(0, 0, 0, 0.3); border: 1px solid rgba(255, 215, 0, 0.28); border-radius: 14px; padding: 16px 10px; }
    .countdown-number { font-family: 'Orbitron', 'Share Tech Mono', 'Courier New', monospace; font-size: 30px; font-weight: 700; color: #ffd700; display: block; text-shadow: 0 0 14px rgba(255,215,0,.4); }
    .countdown-label { font-size: 12px; color: var(--muted); margin-top: 4px; display: block; }
    .hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
    .btn { padding: 12px 24px; border-radius: 10px; font-size: 14px; font-weight: 600; cursor: pointer; text-decoration: none; transition: .25s; border: none; font-family: inherit; }
    .btn-primary { background: linear-gradient(120deg, #ffd700, #ff9800); color: #3a2400; box-shadow: 0 0 20px rgba(255,215,0,.4); }
    .btn-primary:hover { transform: translateY(-3px); }
    .btn-ghost { background: transparent; color: #ffd700; border: 1px solid rgba(255,215,0,.35); }
    .btn-ghost:hover { background: rgba(255,215,0,.08); }
    .hero-checkin { display: flex; }
    .checkin-card { flex: 1; background: rgba(0, 0, 0, 0.3); border: 1px solid rgba(255, 215, 0, 0.35); border-radius: 16px; padding: 22px; }
    .checkin-header { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: #fff; margin-bottom: 14px; }
    .checkin-header i { color: #ffd700; }
    .checkin-date { margin-left: auto; font-size: 12px; color: var(--muted); font-weight: 400; }
    .checkin-items { display: flex; flex-direction: column; gap: 4px; }
    .checkin-item { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; cursor: pointer; transition: .2s; }
    .checkin-item:hover { background: rgba(255,215,0,.08); }
    .checkin-box { width: 22px; height: 22px; flex: none; border: 2px solid rgba(255,215,0,.35); border-radius: 6px; display: flex; align-items: center; justify-content: center; color: transparent; font-size: 12px; transition: .2s; }
    .checkin-item.checked .checkin-box { background: #ffd700; border-color: #ffd700; color: #3a2400; }
    .checkin-label { font-size: 14px; color: var(--text); }
    .checkin-item.checked .checkin-label { text-decoration: line-through; opacity: .55; }
    .checkin-rate { margin-left: auto; width: 76px; padding: 5px 8px; border-radius: 8px; border: 1px solid rgba(255,215,0,.35); background: rgba(0,0,0,.25); color: var(--text); font-size: 13px; text-align: center; font-family: inherit; cursor: text; }
    .checkin-rate:focus { outline: none; border-color: rgba(255,215,0,.7); }
    .checkin-rate::placeholder { color: var(--muted); font-size: 12px; }
    .checkin-note { margin-left: auto; flex: 1; max-width: 200px; padding: 5px 10px; border-radius: 8px; border: 1px solid rgba(255,215,0,.35); background: rgba(0,0,0,.25); color: var(--text); font-size: 13px; font-family: inherit; cursor: text; }
    .checkin-note:focus { outline: none; border-color: rgba(255,215,0,.7); }
    .checkin-note::placeholder { color: var(--muted); font-size: 12px; }
    .checkin-footer { margin-top: 14px; }
    .checkin-history-btn { background: none; border: none; color: #ffd700; font-size: 13px; cursor: pointer; padding: 0; }
    .checkin-history-btn:hover { text-decoration: underline; }
    .checkin-modal { position: fixed; inset: 0; background: rgba(0,0,0,.65); display: none; align-items: center; justify-content: center; z-index: 100; padding: 20px; }
    .checkin-modal.open { display: flex; }
    .checkin-modal-card { background: #111; border: 1px solid rgba(255,215,0,.35); border-radius: 16px; width: min(560px, 92vw); max-height: 80vh; overflow: auto; padding: 24px; }
    .checkin-modal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; color: #fff; font-size: 16px; }
    .checkin-modal-close { background: none; border: none; color: #fff; font-size: 24px; cursor: pointer; line-height: 1; }
    .history-day { border-bottom: 1px solid rgba(255,255,255,.08); padding: 12px 0; }
    .history-date { font-size: 14px; color: #fff; margin-bottom: 8px; }
    .history-count { font-size: 12px; color: var(--muted); margin-left: 6px; }
    .history-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); padding: 3px 0; }
    .history-item.done { color: var(--text); }
    .history-item i { color: var(--muted); }
    .history-item.done i { color: #ffd700; }
    .history-rate { margin-left: auto; font-size: 12px; color: #ffd700; }
    .history-note { margin-left: auto; font-size: 12px; color: #ffd700; }
    .checkin-empty { color: var(--muted); text-align: center; padding: 20px; font-size: 14px; }
    .toast { position: fixed; top: 24px; left: 50%; transform: translateX(-50%); background: #111; color: #fff; padding: 12px 22px; border-radius: 10px; font-size: 14px; display: none; z-index: 200; box-shadow: 0 8px 30px rgba(0,0,0,.4); }
    .toast.error { background: #7c2d3a; }
    @media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
    @media (max-width: 560px) { .countdown-number { font-size: 24px; } }

/* 顶部标题框 + 流光（与现在首页一致） */
        .nav { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:18px; padding:18px 28px; margin-bottom:36px; background:rgba(255,255,255,.07); backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px); border:1px solid #ffd7004d; border-radius:20px; box-shadow:0 10px 40px rgba(0,0,0,.35); position:relative; overflow:hidden; }
        .nav::before { content:""; position:absolute; top:0; left:0; right:0; height:2px; background:linear-gradient(90deg, transparent, #ffd700, #ff9800, #ffd700, transparent); animation:scanLine 3s linear infinite; }
        @keyframes scanLine { 0%{ transform:translateX(-100%); } 100%{ transform:translateX(100%); } }

/* 左上角 logo 框 + 标题（流光渐变，与数字星河/紫罗兰星云一致） */
        .nav-brand { display:flex; align-items:center; gap:14px; text-decoration:none; }
        .brand-icon { width:52px; height:52px; flex-shrink:0; background:linear-gradient(135deg, var(--gold) 0%, var(--amber) 25%, var(--deep) 50%, var(--gold) 75%, var(--amber) 100%); background-size:200% auto; animation:gradientShift 5s linear infinite; border-radius:14px; display:flex; align-items:center; justify-content:center; font-size:22px; color:#3a2400; position:relative; overflow:hidden; box-shadow:0 0 24px rgba(255,215,0,.4); }
        .brand-icon::before { content:''; position:absolute; top:0; left:-100%; width:100%; height:100%; background:linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent); animation:shine 2.5s ease-in-out infinite; }
        @keyframes shine { 0%,100%{ transform:translateX(-100%); } 50%{ transform:translateX(100%); } }
        .brand-text { display:flex; flex-direction:column; }
        .brand-title { font-family:'Orbitron',sans-serif; font-size:20px; font-weight:700; background:linear-gradient(135deg, var(--gold), var(--amber)); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; letter-spacing:1px; white-space:nowrap; margin-bottom:2px; }
        .brand-subtitle { font-size:12px; color:var(--muted); letter-spacing:1px; }

/* 申论背诵主按钮（cta-btn 流光渐变 + 涟漪，与数字星河/紫罗兰星云一致） */
        .cta-btn { padding:16px 32px; border:none; border-radius:12px; font-family:'Orbitron',sans-serif; font-size:16px; font-weight:600; cursor:pointer; display:inline-flex; align-items:center; justify-content:center; gap:12px; transition:var(--transition); text-transform:uppercase; letter-spacing:1px; position:relative; overflow:hidden; text-decoration:none; }
        .cta-btn::before { content:''; position:absolute; top:0; left:-100%; width:100%; height:100%; background:linear-gradient(90deg, transparent, rgba(255,255,255,.3), transparent); transition:left .6s ease; }
        .cta-btn:hover::before { left:100%; }
        .cta-btn.primary { background:linear-gradient(135deg, var(--gold) 0%, var(--amber) 25%, var(--deep) 50%, var(--gold) 75%, var(--amber) 100%); background-size:200% auto; animation:gradientShift 5s linear infinite; color:#3a2400; box-shadow:0 0 30px rgba(255,215,0,.35); }
        .cta-btn.primary:hover { transform:translateY(-3px); box-shadow:0 0 40px rgba(255,215,0,.55); }
        .energy-wave { position:relative; }
        .energy-wave::after { content:''; position:absolute; top:50%; left:50%; width:0; height:0; border:2px solid var(--gold); border-radius:50%; transform:translate(-50%,-50%); animation:waveExpand 2s ease-out infinite; pointer-events:none; }
        @keyframes waveExpand { 0%{ width:0; height:0; opacity:1; } 100%{ width:150px; height:150px; opacity:0; } }
        @keyframes gradientShift { 0%{ background-position:0% 50%; } 100%{ background-position:200% 50%; } }

/* ===== 太阳光辉氛围装饰（超新星十字 / 金色魔法阵 / 帝王金钻 / 轨道卫星） =====
   页面背景层，固定在视口四边，位于内容（.wrap z-index:1）之后，不遮挡文字。 */
.amb {
    position: fixed;
    pointer-events: none;
    z-index: 0;
}

@keyframes ambSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes ambSpinReverse { from { transform: rotate(0deg); } to { transform: rotate(-360deg); } }
@keyframes ambOrbitRev {
    from { transform: rotate(0deg) translateX(var(--orbit-r, 52px)); }
    to   { transform: rotate(-360deg) translateX(var(--orbit-r, 52px)); }
}
@keyframes ambSpin3d {
    0%   { transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg); }
    100% { transform: rotateX(360deg) rotateY(360deg) rotateZ(180deg); }
}

/* 轨道卫星（工具星系右上，顺时针环 + 行星逆时针绕行） */
.amb-satellite { position: absolute; top: 40px; right: 40px; width: 130px; height: 130px; opacity: .95; }
.amb-satellite .eA { width: 100%; height: 100%; position: relative; animation: ambSpin 52s linear infinite; }
.amb-satellite .eA::before { content: ''; position: absolute; inset: 0; border: 2px dashed rgba(255, 215, 0, .4); border-radius: 50%; }
.amb-satellite .eA .star { position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px; border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #ffecb3, var(--gold) 45%, #ff8c00 75%, #c1440e);
    box-shadow: 0 0 40px var(--gold); }
.amb-satellite .eA .planet { position: absolute; top: 50%; left: 50%; width: 20px; height: 20px; margin: -10px; border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #ffe6a7, var(--amber) 60%, #c1440e);
    box-shadow: 0 0 18px var(--gold);
    --orbit-r: 52px; animation: ambOrbitRev 9s linear infinite; }

/* 超新星十字（工具星系左下角，逆时针） */
.amb-cross { position: absolute; bottom: 20px; left: 30px; width: 120px; height: 120px; opacity: .95; }
.amb-cross .eB { width: 100%; height: 100%; position: relative; animation: ambSpinReverse 44s linear infinite; }
.amb-cross .eB::before, .amb-cross .eB::after { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    background: linear-gradient(180deg, transparent, var(--gold), #ffecb3, var(--gold), transparent);
    box-shadow: 0 0 40px var(--amber); }
.amb-cross .eB::before { width: 100%; height: 7px; }
.amb-cross .eB::after { width: 7px; height: 100%; }
.amb-cross .eB .ray { position: absolute; top: 50%; left: 50%; width: 52px; height: 5px; margin: -2.5px 0 0 -26px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    box-shadow: 0 0 12px var(--amber); transform-origin: center; }
.amb-cross .eB .core { position: absolute; top: 50%; left: 50%; width: 40px; height: 40px; margin: -20px; border-radius: 50%;
    background: radial-gradient(circle, #ffecb3, var(--gold)); box-shadow: 0 0 40px var(--gold); }

/* 金色魔法阵（工具星系右下，顺时针 + 内环逆时针） */
.amb-array { position: absolute; bottom: 20px; right: 40px; width: 130px; height: 130px; opacity: .95; }
.amb-array .eC { width: 100%; height: 100%; position: relative; animation: ambSpin 46s linear infinite; }
.amb-array .eC::before { content: ''; position: absolute; inset: 0; border: 5px double var(--gold); border-radius: 50%; box-shadow: 0 0 34px rgba(255, 215, 0, .4); }
.amb-array .eC::after { content: ''; position: absolute; inset: 16px; border: 2px dashed var(--amber); border-radius: 50%; animation: ambSpinReverse 26s linear infinite; }
.amb-array .eC .rune { position: absolute; top: 50%; left: 50%; margin: -8px; font-family: 'Cinzel', 'Georgia', serif; font-weight: 900;
    color: var(--gold); text-shadow: 0 0 14px var(--amber); font-size: 16px; line-height: 1; }

/* 帝王金钻（申论背诵左下角，3D 八面体，模块内完全显示） */
.amb-diamond { position: absolute; bottom: 20px; left: 26px; width: 130px; height: 130px; opacity: .95; perspective: 700px; }
.amb-diamond .eD { width: 100%; height: 100%; position: relative; transform-style: preserve-3d; animation: ambSpin3d 18s ease-in-out infinite; }
.amb-diamond .eD .tri { position: absolute; top: 50%; left: 50%; width: 0; height: 0; margin: -35px 0 0 -40px;
    border-left: 40px solid transparent; border-right: 40px solid transparent; border-bottom: 70px solid var(--gold);
    filter: drop-shadow(0 0 10px var(--amber)); }
.amb-diamond .eD .t1 { transform: translateZ(28px) rotateX(30deg); opacity: .9; }
.amb-diamond .eD .t2 { transform: rotateY(90deg) translateZ(28px) rotateX(30deg); opacity: .7; }
.amb-diamond .eD .t3 { transform: rotateY(180deg) translateZ(28px) rotateX(30deg); opacity: .9; }
.amb-diamond .eD .t4 { transform: rotateY(270deg) translateZ(28px) rotateX(30deg); opacity: .6; }

@media (max-width: 900px) {
    .amb { display: none; }
}

/* 导航栏保持单行（不换行） */
.nav { flex-wrap: nowrap; }
.nav-links { flex-wrap: nowrap; gap: 4px; }
.nav-links a { padding: 6px 8px; }

@media (max-width: 1024px) {
    .nav { flex-wrap: wrap; }
    .nav-links { flex-wrap: wrap; }
}