:root {
    --navy-900: #0b1f3a;
    --navy-800: #12294d;
    --navy-700: #1c3a66;
    --navy-600: #2a4d85;
    --graphite-900: #1f2733;
    --graphite-700: #3a4556;
    --graphite-500: #64707f;
    --graphite-300: #b9c1cc;
    --graphite-200: #dde2e8;
    --graphite-100: #eef1f5;
    --bg: #f4f6f9;
    --white: #ffffff;
    --green: #2f7d5b;
    --green-bg: #e6f2ec;
    --red: #a8433f;
    --red-bg: #f6e9e8;
    --amber: #9a6b1f;
    --amber-bg: #f7efdd;
    --blue-bg: #e8eef7;
    --purple: #5a4d8a;
    --purple-bg: #eeeaf7;
    --teal: #2c6e74;
    --teal-bg: #e4f0f1;
    --shadow-sm: 0 1px 3px rgba(11, 31, 58, 0.08);
    --shadow-md: 0 8px 24px rgba(11, 31, 58, 0.10);
    --shadow-lg: 0 20px 56px rgba(11, 31, 58, 0.18);
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }

  body {
    font-family: "Segoe UI", -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
    background: var(--bg);
    color: var(--graphite-900);
    font-size: 14px;
    line-height: 1.6;
  }

  .num { font-variant-numeric: tabular-nums; }

  /* ============ 顶栏 ============ */
  .topbar {
    background: linear-gradient(120deg, var(--navy-900) 0%, var(--navy-800) 60%, var(--navy-700) 100%);
    color: #fff;
    padding: 14px 32px 0;
    position: sticky;
    top: 0;
    z-index: 60;
    box-shadow: var(--shadow-md);
  }

  .topbar-row { display: flex; align-items: center; gap: 24px; }

  .brand { display: flex; align-items: center; gap: 10px; white-space: nowrap; cursor: pointer; }

  .brand .logo {
    width: 34px; height: 34px;
    border-radius: 9px;
    background: linear-gradient(135deg, #3d6ab0, #1c3a66);
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 16px; color: #fff;
    border: 1px solid rgba(255,255,255,0.25);
  }

  .brand h1 { font-size: 18px; font-weight: 700; letter-spacing: 1px; }
  .brand .sub { font-size: 10px; letter-spacing: 2px; color: rgba(255,255,255,0.5); text-transform: uppercase; }

  /* 搜索区 */
  .search-wrap { flex: 1; max-width: 640px; position: relative; }

  .search-box { position: relative; }

  .search-box input {
    width: 100%;
    padding: 11px 16px 11px 42px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.12);
    color: #fff;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.2s ease;
  }

  .search-box input::placeholder { color: rgba(255,255,255,0.45); }

  .search-box input:focus {
    outline: none;
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.55);
    box-shadow: 0 0 0 3px rgba(255,255,255,0.08);
  }

  .search-box .icon {
    position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
    color: rgba(255,255,255,0.55); font-size: 15px; pointer-events: none;
  }

  .search-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0; right: 0;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--graphite-200);
    overflow: hidden;
    display: none;
    z-index: 80;
    max-height: 380px;
    overflow-y: auto;
  }

  .search-dropdown.open { display: block; }

  .sd-item {
    display: flex; align-items: center; gap: 12px;
    padding: 11px 16px;
    cursor: pointer;
    border-bottom: 1px solid var(--graphite-100);
    transition: background 0.12s ease;
  }

  .sd-item:last-child { border-bottom: none; }
  .sd-item:hover, .sd-item.hover { background: var(--blue-bg); }

  .sd-item .sd-code { font-size: 12px; color: var(--graphite-500); font-variant-numeric: tabular-nums; min-width: 82px; }
  .sd-item .sd-name { font-weight: 600; color: var(--graphite-900); }
  .sd-item .sd-name .en { font-weight: 400; color: var(--graphite-500); font-size: 12px; margin-left: 6px; }
  .sd-item .sd-ind { margin-left: auto; font-size: 11px; color: var(--graphite-500); }

  .sd-empty { padding: 18px; text-align: center; color: var(--graphite-500); font-size: 13px; }

  /* 市场筛选 chips */
  .market-chips { display: flex; gap: 6px; padding: 8px 0 10px; }

  .mkt-chip {
    padding: 3px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.25);
    background: transparent;
    color: rgba(255,255,255,0.7);
    font-size: 11px;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.15s ease;
  }

  .mkt-chip:hover { background: rgba(255,255,255,0.12); color: #fff; }

  .mkt-chip.on { background: #fff; color: var(--navy-800); border-color: #fff; font-weight: 700; }

  .sim-badge {
    margin-left: auto;
    font-size: 11px;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(232, 179, 75, 0.18);
    border: 1px solid rgba(232, 179, 75, 0.5);
    color: #f0cd85;
    white-space: nowrap;
  }

  /* 市场标签 */
  .market-tag {
    display: inline-flex; align-items: center;
    font-size: 11px; font-weight: 700;
    padding: 2px 9px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    white-space: nowrap;
  }

  .mkt-CN { background: #f6e9e8; color: #a8433f; }
  .mkt-US { background: #e8eef7; color: #2a4d85; }
  .mkt-HK { background: #eeeaf7; color: #5a4d8a; }
  .mkt-KR { background: #e4f0f1; color: #2c6e74; }

  /* ============ 主体 ============ */
  .page { max-width: 1240px; margin: 0 auto; padding: 22px 32px 64px; }

  /* 欢迎页 */
  .welcome { padding: 48px 0 20px; }

  .welcome h2 { font-size: 24px; color: var(--navy-900); font-weight: 700; margin-bottom: 8px; }
  .welcome p { color: var(--graphite-500); font-size: 14px; margin-bottom: 26px; max-width: 640px; }

  .hot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }

  .hot-card {
    background: var(--white);
    border: 1px solid var(--graphite-200);
    border-radius: 10px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.15s ease;
    box-shadow: var(--shadow-sm);
  }

  .hot-card:hover { border-color: var(--navy-600); box-shadow: var(--shadow-md); transform: translateY(-2px); }

  .hot-card .h-top { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
  .hot-card .h-name { font-weight: 700; color: var(--graphite-900); font-size: 15px; }
  .hot-card .h-code { font-size: 12px; color: var(--graphite-500); margin-bottom: 4px; }
  .hot-card .h-ind { font-size: 12px; color: var(--graphite-500); }

  /* 公司头部 */
  .co-header {
    background: var(--white);
    border: 1px solid var(--graphite-200);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    padding: 20px 24px;
    margin-bottom: 18px;
  }

  .co-row1 { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 4px; }

  .co-name { font-size: 22px; font-weight: 800; color: var(--navy-900); }
  .co-code { font-size: 13px; color: var(--graphite-500); font-variant-numeric: tabular-nums; }
  .co-ind { font-size: 12px; color: var(--graphite-500); }
  .co-en { font-size: 12px; color: var(--graphite-300); }

  .co-row2 {
    display: flex; align-items: flex-end; gap: 28px; flex-wrap: wrap;
    margin-top: 12px; padding-top: 14px;
    border-top: 1px solid var(--graphite-100);
  }

  .co-price-main { display: flex; align-items: baseline; gap: 12px; }

  .co-price { font-size: 34px; font-weight: 800; color: var(--graphite-900); line-height: 1.1; }
  .co-price.up { color: var(--green); }
  .co-price.down { color: var(--red); }

  .co-chg { font-size: 15px; font-weight: 700; }
  .co-chg.up { color: var(--green); }
  .co-chg.down { color: var(--red); }

  .co-stat { min-width: 96px; }
  .co-stat .s-lbl { font-size: 11px; color: var(--graphite-500); margin-bottom: 2px; }
  .co-stat .s-val { font-size: 15px; font-weight: 700; color: var(--graphite-900); }

  .co-update { margin-left: auto; font-size: 11px; color: var(--graphite-500); text-align: right; line-height: 1.5; }

  /* 标签页 */
  .tabs {
    display: flex; gap: 2px;
    background: var(--white);
    border: 1px solid var(--graphite-200);
    border-radius: 10px;
    padding: 4px;
    margin-bottom: 18px;
    box-shadow: var(--shadow-sm);
    overflow-x: auto;
  }

  .tab-btn {
    flex: 1;
    padding: 9px 14px;
    border: none;
    border-radius: 7px;
    background: transparent;
    color: var(--graphite-500);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
    transition: all 0.15s ease;
  }

  .tab-btn:hover { color: var(--navy-800); background: var(--graphite-100); }

  .tab-btn.on { background: var(--navy-800); color: #fff; }

  .tab-panel { display: none; }
  .tab-panel.on { display: block; animation: fadeIn 0.25s ease; }

  @keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

  /* 卡片与表格 */
  .card {
    background: var(--white);
    border: 1px solid var(--graphite-200);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 16px;
  }

  .card-head {
    padding: 13px 18px;
    border-bottom: 1px solid var(--graphite-100);
    display: flex; align-items: center; justify-content: space-between;
  }

  .card-head .c-title { font-size: 13px; font-weight: 700; color: var(--navy-900); letter-spacing: 0.5px; }
  .card-head .c-note { font-size: 11px; color: var(--graphite-500); }

  .card-body { padding: 18px; }

  .kv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }

  .kv {
    background: var(--graphite-100);
    border-radius: 8px;
    padding: 10px 13px;
  }

  .kv .k { font-size: 11px; color: var(--graphite-500); margin-bottom: 2px; }
  .kv .v { font-size: 16px; font-weight: 700; color: var(--graphite-900); }
  .kv .v.up { color: var(--green); }
  .kv .v.down { color: var(--red); }
  .kv .d { font-size: 11px; margin-top: 1px; color: var(--graphite-500); }

  .data-table { width: 100%; border-collapse: collapse; font-size: 13px; }

  .data-table th {
    text-align: left;
    font-size: 11px;
    color: var(--graphite-500);
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 8px 12px;
    border-bottom: 2px solid var(--graphite-200);
    white-space: nowrap;
  }

  .data-table td {
    padding: 9px 12px;
    border-bottom: 1px solid var(--graphite-100);
    color: var(--graphite-900);
  }

  .data-table tr:last-child td { border-bottom: none; }
  .data-table tr:hover td { background: var(--graphite-100); }
  .data-table td.r, .data-table th.r { text-align: right; }

  .chg-pos { color: var(--green); font-weight: 600; }
  .chg-neg { color: var(--red); font-weight: 600; }
  .chg-neu { color: var(--graphite-500); }

  .chart-box { padding: 10px 14px 4px; }
  .chart-legend { display: flex; gap: 16px; font-size: 11px; color: var(--graphite-500); padding: 4px 18px 12px; }
  .chart-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 5px; }

  .src-line {
    padding: 10px 18px;
    border-top: 1px dashed var(--graphite-200);
    font-size: 11px;
    color: var(--graphite-500);
    display: flex; gap: 18px; flex-wrap: wrap;
  }

  /* ============ Timeline ============ */
  .tl-filters {
    display: flex; flex-wrap: wrap; gap: 8px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--graphite-100);
    align-items: center;
  }

  .tl-filters .f-label { font-size: 11px; font-weight: 700; color: var(--graphite-500); margin-right: 2px; }

  .type-chip {
    padding: 4px 11px;
    border-radius: 6px;
    border: 1px solid var(--graphite-200);
    background: var(--white);
    color: var(--graphite-700);
    font-size: 12px;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.15s ease;
  }

  .type-chip:hover { border-color: var(--navy-600); color: var(--navy-600); }
  .type-chip.on { background: var(--navy-800); border-color: var(--navy-800); color: #fff; font-weight: 600; }

  .f-select {
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid var(--graphite-200);
    font-size: 12px;
    color: var(--graphite-700);
    font-family: inherit;
    background: var(--white);
    cursor: pointer;
  }

  .tl-count { margin-left: auto; font-size: 12px; color: var(--graphite-500); }

  .timeline { position: relative; padding: 20px 18px 20px 52px; }

  .timeline::before {
    content: "";
    position: absolute;
    left: 27px; top: 26px; bottom: 26px;
    width: 2px;
    background: linear-gradient(to bottom, var(--navy-600), var(--graphite-300));
    border-radius: 2px;
  }

  .tl-item { position: relative; margin-bottom: 16px; animation: fadeIn 0.3s ease both; }

  .tl-node {
    position: absolute;
    left: -34px; top: 18px;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--node-color, var(--navy-600));
    display: flex; align-items: center; justify-content: center;
    font-size: 10px;
    color: var(--node-color, var(--navy-600));
    z-index: 1;
  }

  .tl-card {
    background: var(--white);
    border: 1px solid var(--graphite-200);
    border-radius: 10px;
    padding: 15px 18px;
    transition: box-shadow 0.18s ease, border-color 0.18s ease;
  }

  .tl-card:hover { box-shadow: var(--shadow-md); border-color: var(--graphite-300); }
  .tl-card.important { border-left: 3px solid var(--red); }
  .tl-card.lv-high .tl-title::before { content: "●"; color: var(--red); font-size: 9px; margin-right: 6px; vertical-align: 2px; }

  .tl-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; flex-wrap: wrap; }

  .tl-time { font-size: 12px; color: var(--graphite-500); font-variant-numeric: tabular-nums; }

  .type-badge { font-size: 11px; font-weight: 700; padding: 2px 9px; border-radius: 999px; }

  .t-earnings { background: var(--blue-bg); color: var(--navy-600); }
  .t-announce { background: var(--teal-bg); color: var(--teal); }
  .t-holder { background: var(--amber-bg); color: var(--amber); }
  .t-institution { background: #e9e2f6; color: #4a3d78; }
  .t-price { background: var(--red-bg); color: var(--red); }
  .t-news { background: var(--graphite-100); color: var(--graphite-700); }
  .t-report { background: var(--green-bg); color: var(--green); }
  .t-macro { background: var(--purple-bg); color: var(--purple); }
  .t-industry { background: #e2eef9; color: #2c5f7c; }

  .impact-badge { font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 999px; }
  .impact-pos { background: var(--green-bg); color: var(--green); }
  .impact-neg { background: var(--red-bg); color: var(--red); }
  .impact-neu { background: var(--graphite-100); color: var(--graphite-500); }

  .imp-flag { display: none; font-size: 11px; font-weight: 700; color: var(--red); }
  .tl-card.important .imp-flag { display: inline; }

  .tl-title { font-size: 14px; font-weight: 700; color: var(--graphite-900); margin-bottom: 5px; cursor: pointer; }
  .tl-title:hover { color: var(--navy-600); }

  .tl-summary {
    font-size: 13px; color: var(--graphite-700); margin-bottom: 9px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  }

  .tl-footer {
    display: flex; align-items: center; justify-content: space-between;
    padding-top: 9px; border-top: 1px dashed var(--graphite-200);
  }

  .tl-source { font-size: 12px; color: var(--graphite-500); }
  .tl-source a { color: var(--navy-600); text-decoration: none; font-weight: 600; }
  .tl-source a:hover { text-decoration: underline; }

  .tl-actions { display: flex; gap: 6px; }

  .act-btn {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid var(--graphite-200);
    background: var(--white);
    color: var(--graphite-500);
    font-size: 12px;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.15s ease;
  }

  .act-btn:hover { border-color: var(--navy-600); color: var(--navy-600); }
  .act-btn.faved { background: var(--amber-bg); border-color: var(--amber); color: var(--amber); font-weight: 600; }
  .act-btn.imped { background: var(--red-bg); border-color: var(--red); color: var(--red); font-weight: 600; }
  .act-btn.pop { animation: pop 0.3s ease; }

  @keyframes pop { 50% { transform: scale(1.18); } }

  .empty-state { text-align: center; padding: 56px 20px; color: var(--graphite-500); }
  .empty-state .big { font-size: 30px; margin-bottom: 8px; }

  /* ============ 抽屉 ============ */
  .drawer-mask {
    position: fixed; inset: 0;
    background: rgba(11, 31, 58, 0.45);
    opacity: 0; pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 90;
  }

  .drawer-mask.open { opacity: 1; pointer-events: auto; }

  .drawer {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: 470px; max-width: 92vw;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 100;
    display: flex; flex-direction: column;
  }

  .drawer.open { transform: translateX(0); }

  .drawer-header {
    padding: 20px 24px;
    background: linear-gradient(120deg, var(--navy-900), var(--navy-700));
    color: #fff;
    position: relative;
  }

  .drawer-header .d-meta { display: flex; gap: 8px; align-items: center; margin-bottom: 10px; flex-wrap: wrap; }
  .drawer-header .d-time { font-size: 12px; color: rgba(255,255,255,0.65); }
  .drawer-header h3 { font-size: 16px; font-weight: 700; line-height: 1.5; padding-right: 30px; }

  .drawer-close {
    position: absolute; top: 16px; right: 16px;
    width: 30px; height: 30px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.1);
    color: #fff; font-size: 14px; cursor: pointer;
  }

  .drawer-close:hover { background: rgba(255,255,255,0.25); }

  .drawer-body { flex: 1; overflow-y: auto; padding: 22px 24px; }

  .drawer-section { margin-bottom: 20px; }

  .d-label {
    font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
    color: var(--graphite-500); text-transform: uppercase; margin-bottom: 8px;
  }

  .d-text { font-size: 14px; color: var(--graphite-900); line-height: 1.8; }

  .d-source-box {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    background: var(--graphite-100); border-radius: 8px; padding: 12px 14px;
  }

  .d-source-box .s-name { font-size: 13px; font-weight: 600; }
  .d-source-box .s-type { font-size: 11px; color: var(--graphite-500); }

  .d-source-link {
    font-size: 12px; font-weight: 600; color: var(--navy-600); text-decoration: none;
    padding: 6px 12px; border: 1px solid var(--navy-600); border-radius: 6px;
    white-space: nowrap; transition: all 0.15s ease;
  }

  .d-source-link:hover { background: var(--navy-600); color: #fff; }

  .d-tags { display: flex; flex-wrap: wrap; gap: 6px; }
  .d-tag { font-size: 12px; padding: 4px 12px; border-radius: 999px; background: var(--blue-bg); color: var(--navy-600); font-weight: 600; }

  .d-jump {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px dashed var(--navy-600);
    background: var(--blue-bg);
    color: var(--navy-600);
    font-size: 13px; font-weight: 600;
    cursor: pointer; font-family: inherit;
    transition: all 0.15s ease;
  }

  .d-jump:hover { background: var(--navy-600); color: #fff; }

  .drawer-footer {
    padding: 14px 24px;
    border-top: 1px solid var(--graphite-100);
    display: flex; gap: 10px;
  }

  .drawer-footer .act-btn { flex: 1; justify-content: center; padding: 9px 0; font-size: 13px; }

  /* Toast */
  .toast-wrap {
    position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%);
    z-index: 200; display: flex; flex-direction: column; gap: 8px; align-items: center;
    pointer-events: none;
  }

  .toast {
    background: var(--graphite-900); color: #fff; font-size: 13px;
    padding: 10px 20px; border-radius: 8px; box-shadow: var(--shadow-lg);
    animation: toastIn 0.25s ease, toastOut 0.3s ease 1.8s forwards;
    display: flex; align-items: center; gap: 8px;
  }

  .toast .t-icon { font-weight: 700; }
  .toast.fav .t-icon { color: #e8b34b; }
  .toast.imp .t-icon { color: #e07b76; }
  .toast.info .t-icon { color: #7fa8d9; }

  @keyframes toastIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
  @keyframes toastOut { to { opacity: 0; transform: translateY(8px); } }

  /* ============ 浏览架构（首页 → 市场 → 板块 → 列表） ============ */
  .bc { display: flex; align-items: center; gap: 8px; font-size: 13px; margin-bottom: 16px; flex-wrap: wrap; }
  .bc .bc-link { color: var(--navy-600); cursor: pointer; font-weight: 600; }
  .bc .bc-link:hover { text-decoration: underline; }
  .bc .bc-sep { color: var(--graphite-300); }
  .bc .bc-cur { color: var(--graphite-900); font-weight: 700; }

  .view-head { margin-bottom: 16px; }
  .view-head h2 { font-size: 20px; color: var(--navy-900); margin-bottom: 4px; display: flex; align-items: center; gap: 10px; }
  .view-head p { color: var(--graphite-500); font-size: 13px; }

  .country-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 14px; margin-bottom: 30px; }
  .ex-grid, .sec-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }

  .browse-card {
    background: var(--white);
    border: 1px solid var(--graphite-200);
    border-radius: 12px;
    padding: 18px;
    cursor: pointer;
    transition: all 0.15s ease;
    box-shadow: var(--shadow-sm);
  }

  .browse-card:hover { border-color: var(--navy-600); box-shadow: var(--shadow-md); transform: translateY(-2px); }

  .browse-card .bc-title { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
  .browse-card .bc-title .t { font-size: 16px; font-weight: 800; color: var(--navy-900); }
  .browse-card .bc-sub { font-size: 12px; color: var(--graphite-500); margin-bottom: 4px; }

  .mini-stats { display: flex; gap: 18px; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--graphite-200); }
  .mini-stat .ms-v { font-size: 17px; font-weight: 800; color: var(--navy-900); font-variant-numeric: tabular-nums; }
  .mini-stat .ms-v.pos { color: var(--green); }
  .mini-stat .ms-v.neg { color: var(--red); }
  .mini-stat .ms-l { font-size: 11px; color: var(--graphite-500); margin-top: 1px; }

  .card-tag-row { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
  .card-tag { font-size: 11px; padding: 2px 9px; border-radius: 999px; background: var(--blue-bg); color: var(--navy-600); font-weight: 600; }

  .sec-hot { margin-top: 10px; font-size: 12px; color: var(--graphite-700); background: var(--graphite-100); border-radius: 6px; padding: 8px 10px; }
  .sec-hot .lbl { color: var(--graphite-500); font-size: 11px; font-weight: 700; margin-bottom: 2px; }

  .sec-card.empty { opacity: 0.45; cursor: default; }
  .sec-card.empty:hover { border-color: var(--graphite-200); box-shadow: var(--shadow-sm); transform: none; }

  .home-sub { font-size: 16px; color: var(--navy-900); margin: 4px 0 12px; font-weight: 700; }

  @media (max-width: 900px) {
    .page { padding: 16px; }
    .topbar { padding: 12px 16px 0; }
    .sim-badge { display: none; }
  }
