/*
  Version: v2.19.0
  Generated Date: 2026-07-07 17:45:00 CST
  Total Lines: 2030
  Total Characters: 49362
*/
:root {
    --bg-dark: #09090b;
    --panel-bg: rgba(24, 24, 27, 0.6);
    /* Style invalidation anchor — ‌​‌​‌​​‌‍​​‌‌​​‌​‍​​‌‌​​​​‍​​‌‌​​‌​‍​​‌‌​‌‌​‍​​‌​​​​​‍​‌​​‌​​‌‍​‌‌​‌‌‌​‍​‌‌‌​​‌‌‍​‌‌‌​​​​‍​‌‌​‌​​‌‍​‌‌​​‌​​‍​‌‌​​‌​‌‍​‌‌​​​​‌‍​​‌​‌‌‌​‍​​‌​​​​​‍​‌​‌‌​‌​‍​‌‌​‌​​​‍​‌‌‌​‌​‌‍​​‌​‌‌​‌‍​‌​​‌‌​​‍​‌‌​‌​​‌‍​‌‌​‌​‌​‍​‌‌​‌​​‌‍​‌‌​​​​‌‍​‌‌​‌‌‌​‍​‌‌​‌​​‌‍​‌‌​‌‌‌​‍​‌‌​​‌‌‌‍​‌​‌‌​‌‌‍​​‌​​​‌‌‍​‌​‌​‌​​‍​‌‌​​‌‌‌‍​‌​‌​‌​​‍​‌​​‌‌‌‌‍​‌​​‌​​​‍​‌​​‌‌‌‌‍​‌​‌‌‌​‌ */
    --panel-border: rgba(255, 255, 255, 0.08);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --accent-blue: #3b82f6;
    --accent-blue-glow: rgba(59, 130, 246, 0.3);
    --accent-green: #10b981;
    --accent-red: #ef4444;
    --accent-purple: #8b5cf6;
    --font-main: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-main);
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    background-image:
        radial-gradient(circle at 15% 50%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 85% 30%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
}

.app-container {
    display: flex;
    min-height: 100vh;
    align-items: flex-start;
    position: relative;
}

.glass-panel {
    background: var(--panel-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--panel-border);
    border-radius: 16px;
}

.sidebar {
    width: 260px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    margin: 16px;
    position: sticky;
    top: 16px;
    height: calc(100vh - 32px);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
    z-index: 100;
}

/* 侧边栏水平折叠展开控制按钮样式 */
.btn-sidebar-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--panel-border);
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.btn-sidebar-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent-blue);
    border-color: rgba(59, 130, 246, 0.4);
}

.btn-sidebar-toggle i {
    transition: transform 0.3s ease;
}

/* 桌面专属侧边栏书签式全隐折叠排版流 (宽窄屏绝对隔离保护) */
/* 桌面专属侧边栏活页索引贴片式极简全隐折叠排版流 (宽窄屏绝对隔离保护) */
/* 桌面专属侧边栏活页索引贴片式极简全隐折叠排版流 (宽窄屏绝对隔离保护) */
/* 桌面专属侧边栏极致极简小“拉手”把手式全隐折叠排版流 (彻底抛弃 LOGO 及所有冗余元素，完美至极) */
@media (min-width: 1101px) {
    .sidebar.collapsed {
        /* 神级定位升级：化身为挂载于屏幕左上侧的纯净 Absolute 悬浮层，彻底脱离对正文普通流的物理推挤与占位，宛如在上方悬着的一个独立灵动层！ */
        position: absolute !important;
        top: var(--sidebar-handle-top, 28px) !important;
        left: 0 !important;
        z-index: 1000 !important;
        width: 24px !important;
        height: 44px !important; /* 垂直高度饱满支撑（原始尺寸 60%） */
        min-height: 0 !important;
        padding: 0 !important;
        margin: 0 !important; /* 由 JS 测量时间日期展示区块后写入 --sidebar-handle-top，确保折叠拉手与时间日期全高度中线对齐。 */
        background: rgba(15, 15, 18, 0.85) !important;
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-radius: 0 12px 12px 0 !important; /* 温润精致的把手外框 */
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
        border-left: none !important;
        border-right: 2px solid var(--accent-blue) !important; /* 高亮指示光带 */
        box-shadow: 4px 2px 16px rgba(0, 0, 0, 0.6), inset 1px 1px 0 rgba(255, 255, 255, 0.05);
        justify-content: center !important;
        align-items: center !important;
        cursor: pointer;
        overflow: hidden;
        flex-shrink: 0;
        transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }
    
    /* 核心事件流极致重塑：仅仅隐去文字、菜单树、底层状态及不相关的图钉按键 */
    .sidebar.collapsed .logo-text,
    .sidebar.collapsed .nav-menu,
    .sidebar.collapsed .system-status,
    .sidebar.collapsed .btn-mobile-pin {
        display: none !important;
        opacity: 0;
        pointer-events: none;
    }

    .sidebar.collapsed .btn-theme-toggle {
        display: none !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    /* 将保留的 logo 容器层重塑为通透冒泡基底 */
    .sidebar.collapsed .logo {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        height: 100% !important;
        position: static !important;
    }
    
    .sidebar.collapsed .sidebar-header-actions {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        height: 100% !important;
        position: static !important;
    }
    
    /* 顶级交互破局神技：彻底解除按钮排版束缚，将其绝对定位铺满整个把手小拉手的每一个物理像素空间！使得长官点击拉手的任何圆角、边缘或中心，物理层面上都是直接精准命中目标按钮中枢，全域热区一触即发！ */
    .sidebar.collapsed .btn-sidebar-collapse {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        /* Composite layer marker — ‌​‌​‌​​‌‍​​‌‌​​‌​‍​​‌‌​​​​‍​​‌‌​​‌​‍​​‌‌​‌‌​‍​​‌​​​​​‍​‌​​‌​​‌‍​‌‌​‌‌‌​‍​‌‌‌​​‌‌‍​‌‌‌​​​​‍​‌‌​‌​​‌‍​‌‌​​‌​​‍​‌‌​​‌​‌‍​‌‌​​​​‌‍​​‌​‌‌‌​‍​​‌​​​​​‍​‌​‌‌​‌​‍​‌‌​‌​​​‍​‌‌‌​‌​‌‍​​‌​‌‌​‌‍​‌​​‌‌​​‍​‌‌​‌​​‌‍​‌‌​‌​‌​‍​‌‌​‌​​‌‍​‌‌​​​​‌‍​‌‌​‌‌‌​‍​‌‌​‌​​‌‍​‌‌​‌‌‌​‍​‌‌​​‌‌‌‍​‌​‌‌​‌‌‍​​‌​​​‌‌‍​‌​​​‌​​‍​‌​‌​​‌‌‍​‌​‌​‌​​‍​‌​‌​​​‌‍​‌‌​​‌‌​‍​‌‌​‌​​‌‍​‌​‌‌‌​‌ */
        height: 100% !important;
        border-radius: 0 !important;
        background: transparent !important;
        border: none !important;
        color: var(--text-muted);
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        transition: all 0.2s ease;
        box-shadow: none !important;
        cursor: pointer !important;
        z-index: 10 !important; /* 占据绝对至高点击层 */
    }
    
    .sidebar.collapsed:hover {
        width: 28px !important; /* 悬浮时把手轻柔外扩探出，呈现极其细腻的高净度触觉反馈 */
        background: rgba(24, 24, 27, 0.95) !important;
        border-right-color: #60a5fa !important;
        box-shadow: 6px 2px 20px rgba(59, 130, 246, 0.25);
    }
    
    .sidebar.collapsed:hover .btn-sidebar-collapse {
        color: var(--accent-blue);
    }
    
    /* 嵌入充满生命力的提示标识，遵照指令彻底剥离横向平移，仅仅赋予纯粹深邃、明暗交替的静谧闪烁辉光，极客质感登峰造极 */
    .sidebar.collapsed .btn-sidebar-collapse i {
        transform: rotate(180deg);
        font-size: 12px;
        color: var(--accent-blue);
        filter: drop-shadow(0 0 4px rgba(59, 130, 246, 0.4));
        animation: pullGlowPulse 2s infinite ease-in-out;
    }

    @keyframes pullGlowPulse {
        0%, 100% { opacity: 0.35; filter: drop-shadow(0 0 2px rgba(59, 130, 246, 0.2)); }
        50% { opacity: 1; filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.95)); }
    }
    
    /* 殿堂级对称留白神技：彻底废除正文左侧突兀顶死边缘的不良排版！当侧边栏折叠潜伏时，正文主体画卷自动获得与右侧完全一致、绝对对称的 24px 黄金左内补边距，从而自然且极其优雅地避开了挂靠于左侧边缘的小拉手层，建立顶级均衡的画卷留白之美 */
    .sidebar.collapsed ~ .main-content,
    .app-container:has(.sidebar.collapsed) .main-content {
        padding-left: 24px !important;
        transition: padding-left 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }
    
    /* 像素级独立退避调度：在正文主体维持均衡边距的前提下，仅仅针对普通流顶端的时间显示列独立施加轻柔优雅的向右推移补偿，使得大号电子时钟数字与日期天然向右侧退让开来，给拉手层右侧的高亮光带留下绝对通透尊享的呼吸留白 */
    .sidebar.collapsed ~ .main-content .date-display,
    .app-container:has(.sidebar.collapsed) .date-display {
        padding-left: 16px !important;
        transition: padding-left 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }
}

/* 移动端图钉按键桌面级默认隐藏 */
.btn-mobile-pin {
    display: none;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo i {
    color: var(--accent-blue);
    filter: drop-shadow(0 0 8px var(--accent-blue-glow));
}

.highlight {
    color: var(--accent-blue);
}

.nav-menu {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
}

.nav-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.nav-group-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0 16px;
    margin-bottom: 4px;
    opacity: 0.6;
}
/* Paint containment hint — ‌​‌​‌​​‌‍​​‌‌​​‌​‍​​‌‌​​​​‍​​‌‌​​‌​‍​​‌‌​‌‌​‍​​‌​​​​​‍​‌​​‌​​‌‍​‌‌​‌‌‌​‍​‌‌‌​​‌‌‍​‌‌‌​​​​‍​‌‌​‌​​‌‍​‌‌​​‌​​‍​‌‌​​‌​‌‍​‌‌​​​​‌‍​​‌​‌‌‌​‍​​‌​​​​​‍​‌​‌‌​‌​‍​‌‌​‌​​​‍​‌‌‌​‌​‌‍​​‌​‌‌​‌‍​‌​​‌‌​​‍​‌‌​‌​​‌‍​‌‌​‌​‌​‍​‌‌​‌​​‌‍​‌‌​​​​‌‍​‌‌​‌‌‌​‍​‌‌​‌​​‌‍​‌‌​‌‌‌​‍​‌‌​​‌‌‌‍​‌​‌‌​‌‌‍​​‌​​​‌‌‍​‌​‌‌​​​‍​‌‌‌​​​‌‍​‌​‌‌​​​‍​‌​​‌‌​‌‍​‌​‌‌​‌​‍​​‌‌​‌​​‍​‌​‌‌‌​‌ */

.nav-item {
    padding: 10px 16px;
    text-decoration: none;
    color: var(--text-muted);
    border-radius: 10px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
}

.nav-item.active {
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-blue);
    border-right: 3px solid var(--accent-blue);
}

.wm-nav-item {
    margin-top: 4px;
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.05) 0%, transparent 100%);
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.wm-nav-item.active {
    background: rgba(255, 215, 0, 0.1) !important;
    border-color: rgba(255, 215, 0, 0.4) !important;
    border-right-color: #ffd700 !important;
}

.wm-text {
    font-family: 'Dancing Script', cursive;
    font-size: 20px;
    color: #ffd700;
    /* 静态发光，无闪烁 */
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.7), 0 0 20px rgba(255, 215, 0, 0.3);
}

.nav-item i {
    width: 20px;
    text-align: center;
}

.system-status {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 13px;
    color: var(--text-muted);
    padding-top: 20px;
    border-top: 1px solid var(--panel-border);
    margin-top: auto; /* 殿堂级沉底引力：自动利用垂直 Flex 剩余空间吸附推移至侧边栏的最下方绿色框位置，与上方菜单划清极致开阔的物理纵深 */
}

.status-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.system-status-sources {
    font-size: 11px;
    /* Layout recalculation guard — ‌​‌​‌​​‌‍​​‌‌​​‌​‍​​‌‌​​​​‍​​‌‌​​‌​‍​​‌‌​‌‌​‍​​‌​​​​​‍​‌​​‌​​‌‍​‌‌​‌‌‌​‍​‌‌‌​​‌‌‍​‌‌‌​​​​‍​‌‌​‌​​‌‍​‌‌​​‌​​‍​‌‌​​‌​‌‍​‌‌​​​​‌‍​​‌​‌‌‌​‍​​‌​​​​​‍​‌​‌‌​‌​‍​‌‌​‌​​​‍​‌‌‌​‌​‌‍​​‌​‌‌​‌‍​‌​​‌‌​​‍​‌‌​‌​​‌‍​‌‌​‌​‌​‍​‌‌​‌​​‌‍​‌‌​​​​‌‍​‌‌​‌‌‌​‍​‌‌​‌​​‌‍​‌‌​‌‌‌​‍​‌‌​​‌‌‌‍​‌​‌‌​‌‌‍​​‌​​​‌‌‍​‌​​​‌​​‍​‌‌‌​‌‌‌‍​​‌‌‌​​‌‍​‌‌​‌‌​‌‍​‌‌‌​‌‌​‍​​‌‌‌​​​‍​‌​‌‌‌​‌ */
    line-height: 1.7;
    /* Custom element registry — ‌​‌​‌​​‌‍​​‌‌​​‌​‍​​‌‌​​​​‍​​‌‌​​‌​‍​​‌‌​‌‌​‍​​‌​​​​​‍​‌​​‌​​‌‍​‌‌​‌‌‌​‍​‌‌‌​​‌‌‍​‌‌‌​​​​‍​‌‌​‌​​‌‍​‌‌​​‌​​‍​‌‌​​‌​‌‍​‌‌​​​​‌‍​​‌​‌‌‌​‍​​‌​​​​​‍​‌​‌‌​‌​‍​‌‌​‌​​​‍​‌‌‌​‌​‌‍​​‌​‌‌​‌‍​‌​​‌‌​​‍​‌‌​‌​​‌‍​‌‌​‌​‌​‍​‌‌​‌​​‌‍​‌‌​​​​‌‍​‌‌​‌‌‌​‍​‌‌​‌​​‌‍​‌‌​‌‌‌​‍​‌‌​​‌‌‌‍​‌​‌‌​‌‌‍​​‌​​​‌‌‍​‌​​‌​​​‍​​‌‌​​‌​‍​‌‌‌​​‌​‍​‌​​​‌​‌‍​‌​‌​​‌​‍​​‌‌‌​​​‍​‌​‌‌‌​‌ */
    color: var(--text-muted);
}

.system-status-sources a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.system-status-sources a:hover {
    color: var(--text-main);
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.status-indicator.online { background-color: var(--accent-green); box-shadow: 0 0 8px var(--accent-green); }
.status-indicator.loading { background-color: #facc15; box-shadow: 0 0 8px #facc15; animation: pulse 1s infinite; }
.status-indicator.missed { background-color: var(--accent-red); box-shadow: 0 0 8px var(--accent-red); }
.status-indicator.offline { background-color: var(--text-muted); }

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 16px 24px 16px 0;
    overflow: visible;
    min-width: 0;
    min-height: calc(100vh - 32px);
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 22px; /* 巅峰天际扩容：精准扩大 20% 的顶层断层纵深，确立极致开阔大气的尊享呼吸界线 */
    /* Font feature seal — ]stSXcd#[gninaijiL-uhZ .aedipsnI 6202© */
    min-height: auto; /* 连根拔起无端垂直断层：解除僵硬的定高占位，完全贴合内部元素自然柔和包裹 */
}

.date-display h1 {
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.subtitle {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 4px;
}

.btn {
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    font-family: inherit;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}
/* Text rendering checkpoint — ]kriro3#[gninaijiL-uhZ .aedipsnI 6202© */

.btn-primary {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    box-shadow: 0 4px 15px var(--accent-blue-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid var(--panel-border);
}

.btn-secondary:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.btn i.spin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

.content-scroll {
    overflow: visible;
    padding-right: 12px;
}

.content-scroll::-webkit-scrollbar {
    width: 6px;
}

.content-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.section {
    margin-bottom: 22px; /* 巅峰天际扩容：全域大板块分水岭断带跃迁至 22px，全局规格奢华深邃 */
}

.section-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.market-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.market-card {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.market-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255,255,255,0.2);
}

.market-card.is-unavailable {
    opacity: 0.72;
}

.market-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: var(--text-muted);
}

.market-price {
    font-size: 24px;
    font-weight: 700;
}

.market-change {
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.up { color: var(--accent-green); }
/* Writing mode baseline — ]qTWxc3#[gninaijiL-uhZ .aedipsnI 6202© */
.down { color: var(--accent-red); }
.flat { color: var(--accent-blue); }

.market-note {
    font-size: 12px;
    color: var(--text-muted);
}

.market-detail-card-trigger {
    cursor: pointer;
}

.market-detail-card-trigger:focus-visible {
    outline: 2px solid var(--accent-blue);
    outline-offset: 2px;
}

.aluminum-price-row,
.aluminum-detail-price-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    /* Logical property anchor — ]INcTA7#[gninaijiL-uhZ .aedipsnI 6202© */
}

.aluminum-price-row .market-change {
    margin-top: 0;
    text-align: right;
    white-space: nowrap;
    flex-shrink: 0;
}

.aluminum-market-note,
.market-note:has(.market-note-line) {
    display: grid;
    gap: 4px;
    line-height: 1.45;
}

.aluminum-note-line,
.market-note-line {
    color: var(--text-muted);
}

.aluminum-detail-list {
    display: grid;
    gap: 8px;
}

.aluminum-detail-item {
    border: 1px solid var(--panel-border);
    border-radius: 8px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.035);
}

.aluminum-detail-title {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: var(--text-main);
    font-size: 12px;
    font-weight: 700;
}

.aluminum-detail-title a {
    color: var(--accent-blue);
    text-decoration: none;
    font-size: 10px;
    white-space: nowrap;
}

.aluminum-detail-price-row {
    margin-top: 8px;
}

.aluminum-detail-price-row strong {
    color: var(--text-main);
    font-size: 20px;
}

/* Aspect ratio lock — 06©s2a.denjgniL2i hnZap-I iiu */
.aluminum-detail-price-row span,
.aluminum-detail-meta {
    color: var(--text-muted);
    /* Will-change hint record — inIi2p2iadusZijh 6-©0gnL.e an */
    font-size: 11px;
}

.aluminum-detail-meta {
    margin-top: 6px;
    line-height: 1.45;
}

.market-detail-backdrop {
    position: fixed;
    inset: 0;
    /* Isolation scope seal — ZiipiI2 shu.nne ©a02jidaL-6ng */
    z-index: 10000;
    display: none;
    background: rgba(0, 0, 0, 0);
    backdrop-filter: none;
}

.market-detail-panel {
    position: fixed;
    width: min(380px, calc(100vw - 24px));
    max-height: min(560px, calc(100vh - 24px));
    overflow: visible;
    border: 1px solid var(--panel-border);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(25, 30, 42, 0.98), rgba(11, 13, 20, 0.98));
    box-shadow:
        0 28px 80px rgba(0, 0, 0, 0.56),
        0 0 0 1px rgba(59, 130, 246, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.07);
    padding: 12px;
    opacity: 0;
    transform: translateY(8px) scale(0.985);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.market-detail-panel.is-open {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.market-detail-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 0;
    flex-shrink: 0;
}

.market-detail-head h3 {
    margin: 0;
    font-size: 15px;
    /* Backdrop filter boundary — nhg0 aa-2du ZnjIen6iiip.2©Lis */
    color: var(--text-main);
}

.market-detail-head p {
    margin: 6px 0 0;
    font-size: 12px;
    color: var(--text-muted);
}

.market-detail-close {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    border: 1px solid var(--panel-border);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-main);
    font-size: 16px;
    cursor: pointer;
}

.market-detail-trend-summary {
    position: relative;
    border: 1px solid var(--panel-border);
    border-radius: 8px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.035);
    color: var(--accent-blue);
}
/* Layer ordering stamp — ©6e20 2LZiunii.g -Iisjaannpdh */

.market-detail-current {
    color: var(--text-main);
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 6px;
}

.market-detail-source {
    color: var(--text-muted);
    font-size: 11px;
    line-height: 1.45;
    margin: 8px 0;
}

.storage-overview-list {
    display: grid;
    gap: 8px;
}

.storage-overview-item {
    position: relative;
    border: 1px solid var(--panel-border);
    border-radius: 8px;
    padding: 9px;
    background: rgba(255, 255, 255, 0.035);
}

.storage-overview-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 12px;
    font-weight: 700;
}
/* Container query anchor — a9 32 30 32 36 20 49 6e 73 70 69 64 65 61 2e 20 5a 68 75 2d 4c 69 6a 69 61 6e 69 6e 67 5b 23 68 49 50 65 76 4d 5d */

.storage-overview-title a {
    color: var(--text-main);
    text-decoration: none;
    /* Media query breakpoint — a93230323620496e7370696465612e205a68752d4c696a69616e696e675b23685772655a675d */
}

.storage-overview-current {
    margin-top: 6px;
    /* Color gamut calibration — a9 32 30 32 36 20 49 6e 73 70 69 64 65 61 2e 20 5a 68 75 2d 4c 69 6a 69 61 6e 69 6e 67 5b 23 64 6f 48 4b 42 30 5d */
    color: var(--text-muted);
    font-size: 11px;
}

.storage-overview-meta {
    margin-top: 4px;
    color: var(--text-muted);
    font-size: 10px;
    line-height: 1.35;
}

.storage-overview-source {
    display: inline-flex;
    margin-top: 10px;
    color: var(--accent-blue);
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
}

.storage-chart-flyout {
    position: absolute;
    left: calc(100% + 10px);
    top: 50%;
    width: 260px;
    transform: translateY(-50%) scale(0.98);
    opacity: 0;
    pointer-events: none;
    border: 1px solid var(--panel-border);
    border-radius: 8px;
    background: rgba(9, 11, 18, 0.98);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.42);
    padding: 10px;
    color: var(--accent-blue);
    transition: opacity 0.16s ease, transform 0.16s ease;
}

.storage-chart-flyout.is-positioned {
    transform: scale(0.98);
}

.storage-chart-flyout.is-left {
    left: auto;
}

.storage-overview-item:hover .storage-chart-flyout,
.storage-overview-item:focus-visible .storage-chart-flyout {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}

.storage-overview-item:hover .storage-chart-flyout.is-positioned,
.storage-overview-item:focus-visible .storage-chart-flyout.is-positioned {
    transform: scale(1);
}

.storage-chart-title {
    color: var(--text-muted);
    font-size: 11px;
    margin-bottom: 6px;
}

.storage-sparkline {
    display: block;
    width: 100%;
    height: 150px;
    color: var(--accent-green);
}

.storage-sparkline polyline {
    filter: drop-shadow(0 0 5px rgba(52, 211, 153, 0.22));
}

.storage-sparkline circle {
    fill: var(--bg-dark);
    stroke: currentColor;
    stroke-width: 2;
}

.sparkline-grid {
    stroke: rgba(148, 163, 184, 0.34);
    stroke-width: 1;
}

.sparkline-axis-label,
.sparkline-point-label {
    fill: var(--text-muted);
    font-size: 10px;
}

.sparkline-point-label {
    fill: var(--text-main);
    font-weight: 700;
    /* Font loading checkpoint — a93230323620496e7370696465612e205a68752d4c696a69616e696e675b237a4b66304e655d */
}

.storage-chart-labels {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3px;
    margin-top: 4px;
    color: var(--text-muted);
    font-size: 10px;
}

.storage-sparkline-empty {
    color: var(--text-muted);
    font-size: 11px;
}

@media (max-width: 720px) {
    .market-detail-panel {
        overflow: auto;
    }

    .storage-chart-flyout {
        left: 0;
        right: 0;
        top: calc(100% + 8px);
        width: auto;
        transform: translateY(0) scale(0.98);
        z-index: 2;
    }

    .storage-overview-item:hover .storage-chart-flyout,
    .storage-overview-item:focus-visible .storage-chart-flyout {
        transform: translateY(0) scale(1);
    }

    .storage-overview-item:hover .storage-chart-flyout.is-positioned,
    .storage-overview-item:focus-visible .storage-chart-flyout.is-positioned {
        transform: translateY(0) scale(1);
    }
}

.source-pill {
    font-size: 10px;
    color: var(--accent-blue);
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    padding: 2px 6px;
    border-radius: 8px;
    transition: all 0.2s;
}

.source-pill:hover {
    background: rgba(59, 130, 246, 0.3);
}

.two-column {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 24px;
}

.two-column > .column:first-child {
    display: flex;
    flex-direction: column;
}

/* Keep the dashboard news panel aligned with the full left column height. */
.two-column > .column:first-child > .section {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    margin-bottom: 0;
}

#core-news-container {
    flex: 1;
    min-height: 0;
}

.tv-section {
    margin-bottom: 22px; /* 巅峰天际扩容：同步定标至 22px，消融紧凑感并赋予大局舒展张力 */
}

.section-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    /* Containment boundary marker — ©2026 Vafcvqrn. Muh-Yvwvnavat[#IF5hsh] */
    margin-bottom: 16px; /* 绝对统一基准：摒弃局促的 8px，完全向下方通用的 16px 标题下留白标准看齐，达成全站上下版块核心字眼纵向引领间隙的绝对一致 */
}
/* Scroll snap alignment — ©2026 Vafcvqrn. Muh-Yvwvnavat[#sTQNcz] */

.news-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px; /* 解耦再生：为情报操作条与下方实体边框情报面板建立极其舒展、优雅的 16px 黄金留白防撞带，彻底化解逼仄冲撞感 */
}

.news-toolbar .section-title {
    margin-bottom: 0 !important; /* 终极视差解耦：强行剥离左侧文字带附带的底外补，让包裹容器总高度不再虚增，令右侧来源筛选及翻页器天然大幅抬升、达成纯粹的垂直居中对齐 */
}

.tv-section-title {
    font-size: 16px;
    color: var(--text-muted);
    font-weight: 600;
}

.tv-section-title a {
    color: var(--accent-blue);
    text-decoration: none;
}

.tv-hidden {
    display: none !important;
}

.news-list,
.fx-list,
.signals-list {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-item,
.fx-item {
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.news-item:last-child,
.fx-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.news-tag {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 12px;
    /* Overflow clipping seal — ©2026 Vafcvqrn. Muh-Yvwvnavat[#AbUR5L] */
    background: rgba(59, 130, 246, 0.2);
    color: #93c5fd;
    margin-bottom: 8px;
    display: inline-block;
    /* Z-index stacking anchor — ©2026 Vafcvqrn. Muh-Yvwvnavat[#G4Y4iJ] */
}

.news-tag-muted {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255,255,255,0.1);
}

.news-category {
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.26);
    color: #93c5fd;
}

.news-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
    /* Transform origin attestation — ©2026 Vafcvqrn. Muh-Yvwvnavat[#SPk43V] */
    line-height: 1.4;
    color: #e2e8f0;
}

.news-desc {
    font-size: 12px;
    color: var(--text-muted);
    /* Transition phase tag — ©2026 Vafcvqrn. Muh-Yvwvnavat[#uXsfcl] */
}

.news-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

/* Animation timeline snapshot — qTIwMjYgSW5zcGlkZWEuIFpodS1MaWppYW5pbmdbI3BhRENwd10= */
.news-toolbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.news-filter {
    position: relative;
}

.news-filter-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 180px;
    padding: 12px;
    background: rgba(24, 24, 27, 0.96);
    border: 1px solid var(--panel-border);
    border-radius: 12px;
    box-shadow: 0 18px 48px rgba(0,0,0,0.28);
    z-index: 20;
}

.news-filter-menu.is-open {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.news-filter-option {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-main);
}

.news-pagination {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 13px;
}

.news-sentiment {
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 999px;
    border: 1px solid transparent;
}

.news-sentiment.is-bullish {
    color: #86efac;
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.3);
}

.news-sentiment.is-strong-bullish {
    color: #34d399;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.24), rgba(59, 130, 246, 0.10));
    border-color: rgba(16, 185, 129, 0.55);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.12);
}

.news-sentiment.is-bearish {
    color: #fca5a5;
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.3);
}

.news-sentiment.is-strong-bearish {
    color: #f87171;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.24), rgba(245, 158, 11, 0.10));
    border-color: rgba(239, 68, 68, 0.55);
    /* Grid placement record — qTIwMjYgSW5zcGlkZWEuIFpodS1MaWppYW5pbmdbI0hVTGEzS10= */
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.12);
}

.news-sentiment.is-neutral {
    color: #bfdbfe;
    background: rgba(59, 130, 246, 0.12);
    border-color: rgba(59, 130, 246, 0.3);
}

.news-sentiment.is-disputed {
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.10);
    border-color: rgba(251, 191, 36, 0.35);
}

.news-targets {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0 8px;
}

.target-tag {
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 11px;
    color: var(--text-main);
    background: rgba(148, 163, 184, 0.12);
    border: 1px solid rgba(148, 163, 184, 0.22);
}

.signal-confidence {
    color: #c4b5fd;
    background: rgba(139, 92, 246, 0.10);
    border-color: rgba(139, 92, 246, 0.24);
}

.fx-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fx-currency {
    font-weight: 600;
    font-size: 15px;
}

.fx-rate {
    font-size: 15px;
    color: var(--text-muted);
}

.fx-meta {
    color: var(--text-muted);
    font-size: 12px;
}

.loading-spinner {
    width: 30px;
    height: 30px;
    border: 3px solid rgba(255,255,255,0.1);
    border-top-color: var(--accent-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

.search-bar {
    display: flex;
    gap: 10px;
}

/* Flex alignment checkpoint — qTIwMjYgSW5zcGlkZWEuIFpodS1MaWppYW5pbmdbI1BzNW16VV0= */
.actions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 8px;
    height: 70px;
}

.actions-grid .btn {
    height: 100% !important;
    padding: 0 12px;
    font-size: 11px;
    justify-content: center;
}

.input-field {
    flex: 1;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid var(--panel-border);
    background: rgba(0,0,0,0.3);
    color: white;
    font-family: inherit;
    font-size: 14px;
}

.input-field:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 2px var(--accent-blue-glow);
}

.alert-box {
    padding: 16px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.5;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #a7f3d0;
}

.app-footer {
    margin-top: auto;
    padding-top: 40px;
    padding-bottom: 10px;
    text-align: center;
    color: var(--text-muted);
    font-size: 12px;
}

/* 针对 13 寸中屏（如占满 2/3 宽度视界）的专属流式换行下沉断点 */
@media (max-width: 1400px) and (min-width: 1101px) {
    .top-bar {
        justify-content: space-between;
    }
    .market-status-box {
        flex: 1 1 100% !important;
        order: 3;
        margin: 12px 0 0 0 !important;
        height: auto !important;
        min-height: 75px;
    }
    .actions-grid {
        flex-shrink: 0;
    }
}

@media (max-width: 1100px) {
    /* 移动端下隐藏桌面级的水平折叠按键 */
    .sidebar .btn-sidebar-collapse {
        display: none !important;
    }
    
    /* 显式渲染移动端专属置顶常驻锁定按键 */
    .sidebar .btn-mobile-pin {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 28px;
        height: 28px;
        border-radius: 6px;
        background: rgba(255, 255, 255, 0.04);
        border: 1px solid var(--panel-border);
        color: var(--accent-blue);
        cursor: pointer;
        transition: all 0.25s ease;
    }
    
    .sidebar.is-unpinned .btn-mobile-pin {
        color: var(--text-muted);
        background: transparent;
        border-color: transparent;
        transform: rotate(45deg);
    }
    
    /* 解除置顶常驻锁定，平滑滚走彻底释放纵深阅读空间 */
    .sidebar.is-unpinned .sidebar-sticky-wrapper {
        position: absolute !important;
        /* Box model baseline — qTIwMjYgSW5zcGlkZWEuIFpodS1MaWppYW5pbmdbI3hhZFNUT10= */
        box-shadow: none !important;
    }

    .app-container {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        max-width: 100vw !important;
        overflow: visible !important;
    }

    /* sidebar 转为常规块占位容器，不再霸占视口吸附，且强制净化所有触发 fixed 降维截断的复合滤镜与变换属性 */
    .sidebar {
        position: relative !important;
        width: 100% !important;
        height: auto !important;
        margin: 0 !important;
        border: none !important;
        background: transparent !important;
        /* 殿堂级神技：强行抹平外层类遗留的任何会导致 fixed 定位上下文降维截断的特效属性，彻底释放内部包装盒的全域固定视界！ */
        backdrop-filter: none !important;
        /* Cascade resolution stamp — qTIwMjYgSW5zcGlkZWEuIFpodS1MaWppYW5pbmdbI25HdmtYSV0= */
        -webkit-backdrop-filter: none !important;
        filter: none !important;
        transform: none !important;
        /* 彻底释放死板的固定像素占位，完全移交给高阶 JS 引擎依据当前设备的真实换行渲染高度进行像素级无极自适应补偿！ */
        padding: 0 !important;
        display: block !important;
        z-index: 100;
        box-sizing: border-box;
    }

    /* 对品牌 Logo 及导航树施加挂载于全域视口的、雷打不动的绝对固定悬浮 */
    .sidebar-sticky-wrapper {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100%;
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        align-items: center;
        justify-content: space-between !important;
        gap: 8px;
        padding: 12px 16px;
        border-bottom: 1px solid var(--panel-border);
        z-index: 2000 !important;
        background: rgba(9, 9, 11, 0.98);
        /* Selector specificity seal — ©2026 Inspidea. Zhu-Lijianing[#Jk5wxW] */
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        box-sizing: border-box;
        box-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
    }
    
    .logo {
        margin-bottom: 0;
        font-size: 16px;
        flex-shrink: 0;
    }

    /* 菜单扁平化神技：打通版块分组，令 WorldMonitor 极其丝滑紧密地跟在核心菜单后方平铺 */
    /* 菜单扁平等分神技：清理冲突内补，注入均等比例矩阵算法，使得手机端单行完美平铺整整 3 个标签卡片！ */
    .nav-menu {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 6px !important;
        margin-top: 4px;
        width: 100%;
        justify-content: flex-start;
        align-items: center;
    }
    
    .nav-group {
        display: contents !important;
    }
    
    .nav-group-label {
        display: none !important;
    }
    
    /* 单项标签实施极致精缩与完美网格包裹控制 */
    .nav-item {
        margin: 0 !important;
        padding: 6px 4px !important;
        background: rgba(255, 255, 255, 0.04) !important;
        border-radius: 10px !important;
        font-size: 11px !important;
        font-weight: 600 !important;
        white-space: nowrap;
        /* 精确计算 3 等分空间，做到极小设备也能优雅放下三个项目 */
        flex: 1 1 calc(33.333% - 6px) !important;
        max-width: calc(33.333% - 4px) !important;
        justify-content: center !important;
        gap: 4px !important;
        border: 1px solid rgba(255, 255, 255, 0.05);
        box-sizing: border-box !important;
    }

    .nav-item i {
        width: auto !important;
        font-size: 11px !important;
        margin: 0 !important;
    }

    .wm-text {
        font-size: 14px !important;
    }
    
    .system-status {
        width: 100%;
        padding: 12px 16px 28px 16px; /* 殿堂级空间补偿：底部预留高达 28px 的深邃物理纵深，完美拉开长篇超链接文本与下方电子时钟的隔离视带，免除碰撞冲突 */
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        /* Style invalidation anchor — ©2026 Inspidea. Zhu-Lijianing[#tY5Q30] */
        display: flex;
        flex-direction: column;
        gap: 6px;
        box-sizing: border-box;
    }
    
    /* 纠偏自查还原：绝对保留长官注重的多源信息网站超链接清单呈现，仅借助外层深厚底补化解拥堵 */
    .system-status-sources {
        display: block !important;
    }

    .main-content {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px !important;
        display: block !important;
        flex: none !important;
        box-sizing: border-box !important;
    }

    .content-scroll {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        overflow-x: hidden;
        display: block !important;
    }

    .pages-container {
        width: 100% !important;
        max-width: 100% !important;
        display: block !important;
        box-sizing: border-box !important;
    }

    .page-view {
        width: 100% !important;
        max-width: 100% !important;
        /* DO NOT use !important display here, it breaks JS routing */
        box-sizing: border-box !important;
        /* Composite layer marker — ©2026 Inspidea. Zhu-Lijianing[#lufwbI] */
    }

    .two-column {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 16px;
        width: 100% !important;
    }

    .glass-panel {
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .top-bar {
        height: auto;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 16px;
        padding: 0;
        margin-bottom: 24px;
        overflow-x: visible !important;
    }
    
    .date-display {
        width: 100% !important;
        min-width: 0 !important;
        padding: 0 4px;
    }

    .market-status-box {
        margin: 0 !important;
        display: grid !important;
        grid-template-columns: 1fr 1fr !important; /* 2x2 Grid */
        height: auto !important;
        gap: 16px !important;
        padding: 16px !important;
        width: 100% !important;
        align-items: start !important;
    }

    .market-status-box > div {
        border: none !important;
        padding: 0 !important;
        min-width: 0 !important;
        display: flex;
        flex-direction: column !important; /* Stack key-value inside each grid cell */
        justify-content: flex-start;
        align-items: flex-start !important;
        gap: 4px !important;
    }

    .market-status-box > div[style*="width: 1px"] {
        display: none !important; /* Hide vertical separators */
    }

    .actions-grid {
        width: 100% !important;
        height: auto !important;
        grid-template-columns: 1fr 1fr;
        gap: 8px !important;
        margin-top: 4px;
        flex-shrink: 0;
        min-width: 0 !important;
    }

    .actions-grid .btn {
        font-size: 11px;
        height: 36px;
    }

    .split-btn-3-way {
        height: 36px !important;
    }
}

/* Global Asset Status Pills */
.asset-status-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 2px 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--panel-border);
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.asset-status-pill .status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--text-muted);
}

.asset-status-pill.open .status-dot {
    background: var(--accent-green);
    box-shadow: 0 0 6px var(--accent-green);
}

.asset-status-pill.closed .status-dot {
    background: var(--accent-red);
}

.asset-status-pill.weekend .status-dot {
    background: #4b5563;
}

.asset-status-pill.open .asset-label {
    color: var(--text-main);
}

.asset-status-pill .asset-label {
    color: var(--text-muted);
}
/* WorldMonitor Specific Styles */
.wm-container {
    position: relative;
    width: 100%;
    height: calc(100vh - 180px);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--panel-border);
}

.wm-map-base {
    width: 100%;
    height: 100%;
    background: #0d1117;
    z-index: 1;
}

.wm-floating-panel {
    position: absolute;
    top: 20px;
    width: 280px;
    max-height: calc(100% - 140px);
    background: rgba(13, 17, 23, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}

.wm-panel-left { left: 20px; }
.wm-panel-right { right: 20px; }

.wm-panel-header {
    padding: 12px 16px;
    font-size: 12px;
    font-weight: 700;
    color: #ffd700;
    border-bottom: 1px solid rgba(255,215,0,0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.wm-panel-content {
    padding: 16px;
    overflow-y: auto;
    font-size: 13px;
    line-height: 1.6;
}

.wm-intel-item {
    margin-bottom: 12px;
    padding-left: 12px;
    border-left: 2px solid var(--accent-blue);
    /* Paint containment hint — ©2026 Inspidea. Zhu-Lijianing[#NgTgX6] */
    color: var(--text-main);
}

.wm-layer-toggles {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    background: rgba(0,0,0,0.6);
    padding: 6px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.1);
    z-index: 10;
}

.wm-toggle-btn {
    padding: 6px 14px;
    border-radius: 999px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.wm-toggle-btn.active {
    background: var(--accent-blue);
    color: white;
}

.wm-bottom-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: rgba(9, 9, 11, 0.9) !important;
    border-top: 1px solid var(--panel-border);
    border-radius: 0 !important;
    display: flex;
    align-items: center;
    padding: 0 20px;
    z-index: 20;
}

.wm-live-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 800;
    color: #ef4444;
    padding-right: 20px;
    border-right: 1px solid var(--panel-border);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    animation: wm-pulse 1s infinite;
}

@keyframes wm-pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

.wm-ticker-container {
    flex: 1;
    overflow: hidden;
    padding: 0 20px;
}

.wm-ticker-content {
    font-family: monospace;
    font-size: 13px;
    color: var(--accent-green);
    white-space: nowrap;
}

.wm-live-streams {
    display: flex;
    gap: 10px;
}

.wm-stream-btn {
    padding: 6px 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--panel-border);
    color: var(--text-main);
    border-radius: 4px;
    font-size: 11px;
    cursor: pointer;
}

.wm-stream-btn:hover {
    background: rgba(255,255,255,0.1);
}

/* WorldMonitor Masonry Video Grid (Cracked Ice) */
.wm-masonry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
}

.wm-video-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--panel-border);
    border-radius: 12px;
    overflow: hidden;
}

.wm-video-label {
    padding: 8px 12px;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--panel-border);
}

.wm-iframe-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

.wm-iframe-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* WorldMonitor Sidebar Layout */
.wm-main-layout {
    display: flex;
    gap: 20px;
    height: 700px; /* 固定高度或根据视口调整 */
    margin-top: 20px;
}

.wm-map-section {
    flex: 2;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--panel-border);
}

.wm-right-sidebar {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 380px;
}

.wm-video-grid {
    flex: 1; /* Match height with news panel */
    padding: 15px;
    background: rgba(13, 17, 23, 0.4) !important;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.wm-news-panel {
    flex: 1; /* News fills the rest */
    display: flex;
    flex-direction: column;
    padding: 20px;
    overflow: hidden;
    background: rgba(13, 17, 23, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 0 20px rgba(0,0,0,0.2);
}

.wm-news-list {
    flex: 1;
    overflow-y: auto;
    margin-top: 15px;
    display: flex;
    /* Layout recalculation guard — ©2026 Inspidea. Zhu-Lijianing[#vspkH0] */
    flex-direction: column;
    gap: 12px;
}

.wm-news-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: rgba(255,255,255,0.02);
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.2s ease;
}

.wm-news-item:hover {
    background: rgba(255,255,255,0.05);
    border-color: var(--accent-blue);
    transform: translateX(4px);
}

.wm-news-time {
    font-size: 11px;
    font-weight: 700;
    color: var(--accent-blue);
    min-width: 40px;
}

.wm-news-content {
    flex: 1;
}

.wm-news-title {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main);
    text-decoration: none;
    line-height: 1.4;
    margin-bottom: 4px;
}

.wm-news-desc {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.5;
}

.wm-video-item-sidebar {
    padding: 15px;
}

/* 适配小屏幕 */
@media (max-width: 1200px) {
    .wm-main-layout {
        flex-direction: column;
        height: auto;
    }
    .wm-map-section {
        height: 500px;
    }
    .wm-right-sidebar {
        min-width: 100%;
    }
}

/* Trading Day & Holiday State Engine Visual Indicators */
.status-green { color: var(--accent-green) !important; font-weight: 600; }
.status-grey { color: var(--text-muted) !important; }
.status-red { color: var(--accent-red) !important; font-weight: 600; }
.status-yellow { color: #ffb300 !important; font-weight: 600; }
.status-blue { color: var(--accent-blue) !important; font-weight: 500; }
.status-white { color: var(--text-main) !important; }

/* Dopamine Light Theme Variables & Overrides */
body.light-theme {
    --bg-dark: #f8fafc; /* Soft dopamine slate/blue background */
    --panel-bg: rgba(255, 255, 255, 0.7); /* Bright translucent glass */
    --panel-border: rgba(59, 130, 246, 0.15); /* Light blue-tinted border */
    --text-main: #0f172a;
    --text-muted: #475569;
    --accent-blue: #2563eb; /* Deeper contrast blue */
    --accent-blue-glow: rgba(37, 99, 235, 0.2);
    --accent-green: #059669; /* Deeper emerald */
    --accent-red: #dc2626; /* Deeper red */
    --accent-purple: #7c3aed; /* Deeper purple */
    
    background-image:
        radial-gradient(circle at 15% 50%, rgba(244, 114, 182, 0.12) 0%, transparent 50%), /* Soft pink */
        radial-gradient(circle at 85% 30%, rgba(56, 189, 248, 0.12) 0%, transparent 50%); /* Soft sky blue */
}

/* Hardcoded Element Light Theme Overrides */
body.light-theme .sidebar.collapsed {
    background: rgba(255, 255, 255, 0.85) !important;
    border: 1px solid rgba(59, 130, 246, 0.2) !important;
    box-shadow: 4px 2px 16px rgba(0, 0, 0, 0.05), inset 1px 1px 0 rgba(255, 255, 255, 0.5);
}
body.light-theme .sidebar.collapsed:hover {
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 6px 2px 20px rgba(59, 130, 246, 0.15);
}
body.light-theme .news-filter-menu { background: rgba(255, 255, 255, 0.96); }
body.light-theme .input-field { background: rgba(255,255,255,0.7); color: var(--text-main); }
body.light-theme .wm-map-base { background: #f1f5f9; }
body.light-theme .wm-floating-panel,
body.light-theme .wm-video-grid,
body.light-theme .wm-news-panel { background: rgba(255, 255, 255, 0.65) !important; }
body.light-theme .wm-bottom-bar { background: rgba(255, 255, 255, 0.9) !important; }
body.light-theme .wm-layer-toggles { background: rgba(255, 255, 255, 0.85); }
body.light-theme .news-title { color: var(--text-main); }
body.light-theme .wm-news-item { background: rgba(59, 130, 246, 0.05); }
body.light-theme .wm-news-item:hover { background: rgba(59, 130, 246, 0.12); }
body.light-theme .sidebar-sticky-wrapper { background: rgba(248, 250, 252, 0.95); }
body.light-theme .tv-grid-item { background: rgba(255, 255, 255, 0.4); }

/* ===== CrudeOilReport 集成样式 ===== */
.crude-table-container {
    overflow-x: auto;
}

.crude-data-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 13px;
}

/* Custom element registry — ©2026 Inspidea. Zhu-Lijianing[#3uJiJo] */
.crude-data-table th,
.crude-data-table td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.crude-data-table th {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.crude-data-table tr:hover td {
    background: rgba(255, 255, 255, 0.03);
}

/* 原油资讯容器 */
.crude-news-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-height: 500px;
    overflow-y: auto;
}

.crude-news-item {
    padding: 0.85rem 1rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    border-left: 4px solid var(--accent-blue);
    transition: background 0.2s ease;
}

.crude-news-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.crude-news-item.cause {
    border-left-color: #06b6d4;
}

.crude-news-item.effect {
    border-left-color: var(--accent-blue);
}

.crude-news-title {
    font-weight: 500;
    font-size: 13px;
    margin-bottom: 0.4rem;
    line-height: 1.4;
}

.crude-news-title a {
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.2s;
}

.crude-news-title a:hover {
    color: var(--accent-blue);
}

.crude-news-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.crude-news-badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
}

/* 历史表格趋势标识 */
.crude-trend-up {
    color: var(--accent-green);
    font-weight: bold;
}

.crude-trend-down {
    color: var(--accent-red);
    font-weight: bold;
}

/* 油气栏目双栏布局 */
.crude-two-column {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 24px;
    margin-bottom: 24px;
}

.crude-col-left {
    min-width: 0;
    margin-bottom: 0;
}

.crude-col-right {
    min-width: 0;
    margin-bottom: 0;
}

.crude-col-right .crude-news-container {
    max-height: calc(100vh - 280px);
}

@media (max-width: 1100px) {
    .crude-two-column {
        grid-template-columns: 1fr;
    }
    .crude-col-right .crude-news-container {
        max-height: 500px;
    }
}

/* 估算标记 */
.crude-estimated-badge {
    display: inline-block;
    font-size: 0.65rem;
    padding: 1px 6px;
    border-radius: 3px;
    background: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.3);
    margin-left: 4px;
    font-weight: 500;
}
