/* ==========================================================================
   THE CHRONICLE - CYBER-ZINE REVOLUTIONARY LAYOUT (MOBILE & DESKTOP PERFECTED)
   ========================================================================== */

* { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; margin: 0; padding: 0; }
body { background-color: #0d0e10; color: #f5f6f7; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; overflow-x: hidden; -webkit-tap-highlight-color: transparent; }

/* 赛博流体雷达导航栏 */
.cyber-radar-nav { position: relative; top: 0; left: 0; width: 100%; height: 85px; background: rgba(13, 14, 16, 0.95); border-bottom: 2px solid #22252a; z-index: 1000; }
.nav-container-fluid { max-width: 1500px; margin: 0 auto; height: 100%; position: relative; }

.brand-radar { float: left; width: 200px; height: 100%; border-right: 2px solid #22252a; padding-left: 20px; cursor: pointer; position: relative; overflow: hidden; }
.glitch-logo { font-size: 22px; font-weight: 900; letter-spacing: -1px; line-height: 83px; color: #ffffff; display: inline-block; position: relative; }

/* 炫酷雷达扫描微动画 */
.radar-beam { position: absolute; top: 0; left: -100%; width: 50%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255, 59, 48, 0.15), transparent); animation: radarScan 4s infinite linear; }
@keyframes radarScan { 0% { left: -100%; } 100% { left: 200%; } }

/* 分类滚动滑道 */
.stream-rail-box { float: left; width: calc(100% - 400px); height: 100%; overflow: hidden; }
.stream-rail-scroller { line-height: 83px; white-space: nowrap; padding-left: 30px; }
.stream-rail-scroller a { display: inline-block; font-size: 13px; font-weight: 700; text-transform: uppercase; color: #8a8f98; margin-right: 40px; text-decoration: none; position: relative; transition: color 0.2s ease; }
.stream-rail-scroller a:hover, .stream-rail-scroller a.active { color: #ff3b30; }
.stream-rail-scroller a.active::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 3px; background: #ff3b30; }

.system-freq-tag { float: right; width: 200px; height: 100%; border-left: 2px solid #22252a; line-height: 83px; text-align: center; font-size: 11px; font-family: monospace; color: #626875; background: #121418; }

/* 浮雕广告带 */
.cyber-billboard-zone {max-width: 1500px;margin: 115px auto 25px auto;padding: 0 20px;clear: both;}
.billboard-emboss-hull {border: 2px solid #22252a;background: #121418;/* overflow: hidden; */position: relative;}
.billboard-laser-tag { background: #ff3b30; color: #ffffff; font-size: 9px; font-weight: 900; padding: 5px 10px; letter-spacing: 1px; float: left; text-transform: uppercase; }
.billboard-core-slot { max-width: 728px; height: 90px; line-height: 90px; margin: 0 auto; text-align: center; font-size: 11px; font-weight: bold; color: #626875; clear: both; font-family: monospace; }

/* 天马行空布局：纵向发光时间轴 */
.chronograph-universe { max-width: 1400px; margin: 0 auto; padding: 40px 20px; position: relative; clear: both; }
.chronograph-backbone-line { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: linear-gradient(to bottom, #22252a, #ff3b30, #22252a); margin-left: -1px; z-index: 1; }

.chronograph-stream-flow { position: relative; width: 100%; overflow: hidden; z-index: 2; }

/* 独立杂志感错位卡片 */
.zine-node-unit { width: 44%; margin-bottom: 60px; position: relative; background: #121418; border: 1px solid #22252a; cursor: pointer; transition: border-color 0.3s, transform 0.3s; }
.zine-node-unit:hover { border-color: #ff3b30; transform: translateY(-4px); }

/* 利用 JS 加载奇偶数，大屏完美错开排布 */
.zine-node-unit.node-left { float: left; clear: left; }
.zine-node-unit.node-right { float: right; clear: right; margin-top: 40px; }

/* 连接时间轴的激光锚点 */
.zine-node-unit::after { content: ''; position: absolute; top: 30px; width: 12px; height: 12px; background: #0d0e10; border: 2px solid #ff3b30; border-radius: 50%; z-index: 5; }
.zine-node-unit.node-left::after { right: -6.8%; }
.zine-node-unit.node-right::after { left: -6.8%; }

.node-screen-hull { width: 100%; height: 260px; overflow: hidden; background: #1a1d22; position: relative; }
.node-screen-img { width: 100%; height: 100%; object-fit: cover; display: block; border: 0; opacity: 0.85; transition: opacity 0.3s, transform 0.3s; }
.zine-node-unit:hover .node-screen-img { opacity: 1; transform: scale(1.03); }

.node-editorial-body { padding: 25px; position: relative; background: #121418; }
.node-meta-radar { font-size: 10px; font-family: monospace; font-weight: bold; color: #ff3b30; margin-bottom: 12px; letter-spacing: 1px; }
.node-meta-radar span { color: #8a8f98; margin-right: 8px; }

.node-headline-title { font-size: 22px; font-weight: 800; line-height: 1.3; color: #ffffff; letter-spacing: -0.3px; transition: color 0.2s; }
.zine-node-unit:hover .node-headline-title { color: #ff3b30; }

/* 加载控制台 */
.quantum-gate-deck { text-align: center; padding: 60px 0; clear: both; position: relative; z-index: 10; }
.quantum-trigger-btn { background: transparent; color: #ffffff; border: 2px solid #22252a; padding: 18px 60px; font-size: 12px; font-weight: bold; letter-spacing: 1.5px; text-transform: uppercase; cursor: pointer; font-family: monospace; transition: all 0.2s; }
.quantum-trigger-btn:hover { border-color: #ff3b30; color: #ff3b30; background: rgba(255,59,48,0.02); }

.quantum-loader { width: 160px; height: 4px; background: #1a1d22; margin: 0 auto; border: 1px solid #22252a; position: relative; overflow: hidden; }
.quantum-scan-line { width: 40px; height: 100%; background: #ff3b30; position: absolute; left: -40px; animation: quantumPulse 0.8s infinite linear; }
@keyframes quantumPulse { 0% { left: -40px; } 100% { left: 160px; } }

/* 全屏 3D 爆裂折叠详情舱 */
.dimension-capsule { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: #0d0e10; z-index: 2000; transition: transform 0.3s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.3s ease; opacity: 1; transform: scale(1); }
.capsule-collapsed { opacity: 0; transform: scale(0.96) rotateX(2deg); pointer-events: none; }

.capsule-header-deck { height: 80px; border-bottom: 2px solid #22252a; background: #0d0e10; padding: 0 30px; line-height: 78px; }
.btn-abort-stream { background: none; border: none; font-size: 13px; font-family: monospace; font-weight: bold; color: #ffffff; cursor: pointer; letter-spacing: 1px; }
.btn-abort-stream:hover { color: #ff3b30; }

.capsule-broadcast-nodes { float: right; font-size: 12px; font-family: monospace; }
.broadcast-lbl { color: #626875; margin-right: 10px; }
.capsule-broadcast-nodes a { color: #ffffff; text-decoration: none; margin-left: 20px; border-bottom: 1px dashed #626875; }
.capsule-broadcast-nodes a:hover { color: #ff3b30; border-bottom: 1px solid #ff3b30; }

.capsule-split-workspace { position: absolute; top: 80px; bottom: 0; left: 0; right: 0; overflow: hidden; }
.iframe-monolith-view { height: 100%; margin-right: 360px; background: #ffffff; position: relative; }
#capsule-iframe-core { width: 100%; height: 100%; border: 0; display: block; background: #ffffff; }

.capsule-revenue-monolith { width: 360px; height: 100%; float: right; background: #121418; border-left: 2px solid #22252a; padding: 30px 25px; }
.revenue-sticky-box { position: relative; width: 100%; text-align: center; }
.revenue-lbl { display: block; font-size: 10px; font-family: monospace; font-weight: bold; color: #626875; letter-spacing: 1px; margin-bottom: 20px; text-transform: uppercase; }
.revenue-box-300 { width: 300px; height: 600px; line-height: 600px; margin: 0 auto; background: #0d0e10; border: 1px solid #22252a; color: #626875; font-size: 11px; font-family: monospace; }

.iframe-cyber-loading { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: #0d0e10; z-index: 2100; text-align: center; padding-top: 20%; }
.cyber-loading-text { font-size: 12px; font-family: monospace; font-weight: bold; color: #ffffff; letter-spacing: 1.5px; margin-bottom: 20px; }
.cyber-loading-bar-wrapper { width: 240px; height: 4px; background: #1a1d22; border: 1px solid #22252a; margin: 0 auto; position: relative; overflow: hidden; }
.cyber-loading-bar-active { display: block; width: 60px; height: 100%; background: #ff3b30; position: absolute; left: -60px; animation: quantumPulse 0.7s infinite linear; }

/* 拼贴式页脚 */
.cyber-basement { background: #090a0c; border-top: 2px solid #22252a; padding: 45px 0; clear: both; position: relative; z-index: 10; }
.basement-fluid-wrap { max-width: 1400px; margin: 0 auto; padding: 0 20px; }
.basement-left { float: left; width: 50%; font-size: 11px; font-family: monospace; color: #626875; }
.basement-right { float: right; width: 50%; text-align: right; }
.basement-right a { font-size: 11px; font-family: monospace; font-weight: bold; color: #8a8f98; text-decoration: none; margin-left: 25px; }
.basement-right a:hover { color: #ffffff; text-decoration: underline; }

.hidden { display: none !important; }

/* ==========================================================================
   ⚡ 铁腕移动端磁力吸附适配（100%全宽覆盖，拒绝拉伸、完美契合单列流）
   ========================================================================== */
@media (max-width: 1024px) {
    /* 强力抹平时间轴线条，强制节点化为 100% 全宽度的纵向磁力流 */
    .chronograph-backbone-line { display: none !important; }
    .zine-node-unit { float: none !important; width: 100% !important; margin-left: 0 !important; margin-right: 0 !important; margin-top: 0 !important; margin-bottom: 24px !important; border-left: none !important; border-right: none !important; }
    .zine-node-unit::after { display: none !important; } /* 隐去时间轴锚点 */
    
    /* 强制执行 16:9 终极图像裁剪标准，彻底断绝因小屏缩放引发的任何图片变形 */
    .node-screen-hull { height: 0 !important; padding-bottom: 56.25% !important; position: relative !important; }
    .node-screen-img { position: absolute !important; top: 0 !important; left: 0 !important; width: 100% !important; height: 100% !important; }
    
    /* 极致压缩移动端内边距与文本字号 */
    .node-editorial-body { padding: 16px !important; }
    .node-headline-title { font-size: 18px !important; line-height: 1.4 !important; }
    
    /* 拦截详情舱强行退化为单列满屏，广告让位 */
    .capsule-revenue-monolith { display: none !important; }
    .iframe-monolith-view { margin-right: 0 !important; }
}

@media (max-width: 768px) {
    /* 导航栏高空防御，压缩至 60px 释放可视面积 */
    .cyber-radar-nav { height: 60px !important; }
    .nav-container-fluid { display: block !important; height: 60px !important; }
    
    .brand-radar { width: 110px !important; padding-left: 12px !important; border-right: 1px solid #22252a !important; }
    .glitch-logo { font-size: 15px !important; line-height: 58px !important; }
    .radar-beam { display: none !important; }
    
    /* 强力转换为纯手势左右滑动的单流横向传送带 */
    .stream-rail-box { 
        float: right !important; 
        width: calc(100% - 110px) !important; 
        height: 60px !important; 
        overflow-x: auto !important; 
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch !important;
    }
    .stream-rail-box::-webkit-scrollbar { display: none !important; width: 0 !important; height: 0 !important; }
    
    .stream-rail-scroller { line-height: 58px !important; padding-left: 15px !important; display: block !important; }
    .stream-rail-scroller a { margin-right: 22px !important; font-size: 12px !important; }
    .stream-rail-scroller a.active::after { height: 2px !important; }
    
    .system-freq-tag { display: none !important; }
    
    /* 移动广告区域最优化压紧 */
    .cyber-billboard-zone { margin: 76px auto 12px auto !important; padding: 0 !important; border-left: none !important; border-right: none !important; }
    .billboard-core-slot { height: 60px !important; line-height: 60px !important; font-size: 10px !important; }
    
    .chronograph-universe { padding: 10px 0 !important; }
    
    /* 详情舱移动端寸土必争 */
    .capsule-header-deck { height: 60px !important; line-height: 58px !important; padding: 0 15px !important; border-bottom: 1px solid #22252a !important; }
    .btn-abort-stream { font-size: 12px !important; line-height: 58px !important; }
    .capsule-broadcast-nodes { display: none !important; }
    .capsule-split-workspace { top: 60px !important; }
    
    /* 页脚并合收缩 */
    .basement-fluid-wrap { padding: 0 15px !important; }
    .basement-left, .basement-right { float: none !important; width: 100% !important; text-align: center !important; }
    .basement-right { margin-top: 15px !important; }
    .basement-right a { margin: 0 8px !important; }
}