:root {
  --bg: #0b0e11;
  --card: #1e2329;
  --card2: #181a20;
  --hover: #2b3139;
  --line: #2b3139;
  --yellow: #fcd535;
  --yellow-press: #f0b90b;
  --text: #eaecef;
  --dim: #848e9c;
  --up: #0ecb81;
  --down: #f6465d;
  --s: #f6465d;
  --a: #f0b90b;
  --b: #3b82f6;
  --c: #474d57;
  --r: 6px;
}
* { box-sizing: border-box; }
html, body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: "BinancePlex", "IBM Plex Sans", "Segoe UI", "Noto Sans TC", sans-serif;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button { font: inherit; }
.frame { max-width: 1180px; margin: 0 auto; padding: 0 12px 128px; }
.page[hidden] { display: none !important; }

/* 頂欄 */
.hero {
  position: sticky; top: 0; z-index: 25;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  margin: 0 -12px; padding: 10px 12px;
  background: var(--bg); border-bottom: 1px solid var(--line);
}
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand-logo { width: 28px; height: 28px; flex: none; }
.brand-text { min-width: 0; line-height: 1.15; }
.brand-name {
  font-size: 1rem; font-weight: 700; letter-spacing: 0.14em;
  background: linear-gradient(180deg, #ffffff 0%, #c3c9d1 55%, #8b939d 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand-page { display: flex; align-items: baseline; gap: 6px; min-width: 0; }
h1 { margin: 0; font-size: 0.72rem; font-weight: 500; color: var(--dim); line-height: 1.3; white-space: nowrap; }
.sub { margin: 0; font-size: 0.7rem; color: #5e6673; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sub::before { content: "· "; }

/* 閃屏 */
.splash {
  position: fixed; inset: 0; z-index: 100; background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  transition: opacity 0.45s ease;
}
.splash[hidden] { display: none !important; }
.splash.out { opacity: 0; pointer-events: none; }
.splash-logo { width: 96px; height: 96px; animation: oz-in 0.6s ease-out both; }
.splash-name {
  font-size: 2rem; font-weight: 700; letter-spacing: 0.3em; padding-left: 0.3em;
  background: linear-gradient(180deg, #ffffff 0%, #c3c9d1 55%, #8b939d 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.splash-tag { font-size: 0.66rem; letter-spacing: 0.32em; padding-left: 0.32em; color: var(--dim); }
@keyframes oz-in { from { opacity: 0; transform: scale(0.9) rotate(-20deg); } to { opacity: 1; transform: none; } }
.hero-right { display: flex; flex-direction: row; align-items: center; gap: 8px; flex: none; }
.hint { display: none; }
.meta { margin: 10px 0 12px; font-size: 0.75rem; color: var(--dim); }
.dim, footer { color: var(--dim); }

/* 按鈕 */
.btn-primary, .ghost, .tf-row button, .toolbar button, .tpl, .search-row button {
  border-radius: var(--r);
  padding: 7px 12px;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid var(--line);
  background: var(--hover);
  color: var(--text);
  transition: background 0.12s, border-color 0.12s, color 0.12s;
}
.btn-primary { background: var(--yellow); color: #181a20; border-color: var(--yellow); font-weight: 600; }
.btn-primary:hover { background: #fde047; }
.btn-primary:active { background: var(--yellow-press); border-color: var(--yellow-press); }
.ghost:hover, .tf-row button:hover, .toolbar button:hover, .search-row button:hover { background: #363c45; }
.tf-row button.on, .toolbar button.on, .tpl.on {
  background: #fcd5351a; border-color: var(--yellow); color: var(--yellow);
}

/* 卡片 */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  margin: 0 0 12px;
}
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 10px; }
.card-title { font-weight: 600; font-size: 0.92rem; display: flex; align-items: center; gap: 8px; }
.ico { color: var(--yellow); font-size: 0.85rem; }
.linkish, .text-btn { background: none; border: 0; color: var(--dim); font-size: 0.74rem; cursor: pointer; padding: 0; text-decoration: none; }
.text-btn { color: var(--yellow); }
.text-btn:active { color: var(--yellow-press); }

/* 模型卡 */
.model-row { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; }
.brain {
  width: 52px; height: 52px; border-radius: 8px;
  display: grid; place-items: center;
  background: var(--card2); border: 1px solid var(--line);
  color: var(--yellow); font-size: 1.4rem;
}
.model-name { font-weight: 600; }
.model-copy p { margin: 4px 0 6px; color: var(--dim); font-size: 0.78rem; line-height: 1.45; }
.pills { display: flex; gap: 6px; flex-wrap: wrap; }
.pills span { background: var(--hover); border-radius: 4px; padding: 2px 8px; font-size: 0.7rem; color: var(--dim); }
.model-score { min-width: 140px; }
.score-k { color: var(--dim); font-size: 0.72rem; }
.score-v b { font-size: 1.9rem; line-height: 1; font-weight: 600; color: var(--yellow); font-variant-numeric: tabular-nums; }
.score-v small { color: var(--dim); margin-left: 4px; }
.bar { height: 4px; border-radius: 2px; background: var(--hover); margin: 8px 0; overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: var(--yellow); }
.score-delta { font-size: 0.72rem; color: var(--up); }

/* 權重 */
.weights { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 20px; }
.w-row { display: grid; grid-template-columns: 1fr 48px 40px 40px; gap: 6px; align-items: center; font-size: 0.84rem; padding: 4px 0; }
.w-row em { font-style: normal; color: var(--text); font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.step {
  height: 34px; border-radius: 6px; border: 1px solid var(--line); background: var(--hover);
  color: var(--text); font-size: 1rem; cursor: pointer;
}
.step:active { background: var(--yellow-press); color: #181a20; border-color: var(--yellow-press); }

/* 指標 chip */
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  border-radius: 4px; padding: 5px 8px;
  background: var(--hover); border: 1px solid transparent;
  font-size: 0.76rem; display: inline-flex; align-items: center; gap: 6px;
}
.chip button { background: none; border: 0; color: var(--dim); cursor: pointer; font-size: 0.9rem; padding: 0; }
.chip button:hover { color: var(--down); }
.chip.add { border: 1px dashed #474d57; background: transparent; color: var(--dim); cursor: pointer; }
.chip.add:hover { border-color: var(--yellow); color: var(--yellow); }

.tf-row { display: flex; flex-wrap: wrap; gap: 6px; }

/* 警報 */
.alerts { display: flex; flex-direction: column; gap: 6px; }
.alert-row {
  display: grid; grid-template-columns: 1fr auto auto; gap: 8px; align-items: center;
  background: var(--card2); border-radius: 6px; padding: 10px 12px;
}
.alert-row b { display: block; font-size: 0.84rem; font-weight: 500; }
.alert-row span { color: var(--dim); font-size: 0.74rem; }
.badge-mini { background: var(--hover); border-radius: 4px; padding: 3px 8px; font-size: 0.72rem; color: var(--dim); }
.sw { width: 36px; height: 20px; border-radius: 99px; background: #474d57; position: relative; border: 0; cursor: pointer; }
.sw i { position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #eaecef; transition: 0.15s; }
.sw.on { background: var(--yellow); }
.sw.on i { left: 18px; background: #181a20; }
.chg { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 6px; font-size: 0.8rem; }
.chg div { background: var(--card2); border-radius: 6px; padding: 8px 10px; }
.chg b { display: block; color: var(--yellow); margin-bottom: 4px; font-size: 0.72rem; font-weight: 500; }
.chg span { color: var(--dim); word-break: break-all; }

/* 模板 */
.templates { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.tpl { text-align: left; min-height: 104px; background: var(--card2); }
.tpl:hover { border-color: #474d57; }
.tpl b { display: block; margin-bottom: 6px; font-weight: 600; }
.tpl p { margin: 0 0 8px; color: var(--dim); font-size: 0.74rem; line-height: 1.4; }
.tpl i { font-style: normal; font-size: 0.7rem; color: var(--yellow); }

/* 掃描 */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; margin: 0 0 10px; }
.kpi { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; }
.kpi .k { color: var(--dim); font-size: 0.7rem; }
.kpi .v { font-size: 1.1rem; font-weight: 600; margin-top: 4px; font-variant-numeric: tabular-nums; }
.toolbar { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin: 0 0 10px; }
input[type="search"], input[type="text"], input[type="password"] {
  flex: 1; min-width: 140px; width: 100%;
  background: var(--card2); color: var(--text);
  border: 1px solid var(--line); border-radius: 6px; padding: 8px 10px; font: inherit; font-size: 0.82rem;
}
input:focus { outline: none; border-color: var(--yellow); }
.wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; padding: 0; }
table { width: 100%; border-collapse: collapse; font-size: 0.8rem; min-width: 860px; }
th {
  text-align: left; background: var(--card); position: sticky; top: 0;
  padding: 10px 8px; color: var(--dim); font-weight: 500; font-size: 0.74rem;
  border-bottom: 1px solid var(--line);
}
td { padding: 9px 8px; border-top: 1px solid #252a31; font-variant-numeric: tabular-nums; }
tr:hover td { background: var(--hover); }
tr.hit td { background: #fcd53514; }
tr[data-sym] { cursor: pointer; }
.num { text-align: right; }
.sym { font-weight: 600; }
.up { color: var(--up); } .down { color: var(--down); }
.badge { display: inline-block; min-width: 1.4rem; text-align: center; padding: 1px 6px; border-radius: 4px; font-weight: 600; font-size: 0.74rem; }
.badge.g-S { background: #f6465d26; color: var(--s); }
.badge.g-A { background: #f0b90b26; color: var(--a); }
.badge.g-B { background: #3b82f626; color: #60a5fa; }
.badge.g-C { background: #474d5766; color: var(--dim); }
.tags span {
  display: inline-block; background: var(--hover); color: var(--dim);
  padding: 1px 6px; margin: 1px; font-size: 0.7rem; border-radius: 4px;
}
.side-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.side-grid h2 { margin: 0 0 8px; font-size: 0.86rem; font-weight: 600; }
.side-grid ol { margin: 0; padding-left: 20px; }
.side-grid li { font-size: 0.8rem; margin: 6px 0; }
.err { background: #f6465d1a; color: #ffb3bd; border: 1px solid #f6465d55; padding: 10px 12px; margin: 0 0 12px; border-radius: 6px; font-size: 0.8rem; }
footer { margin-top: 8px; font-size: 0.72rem; line-height: 1.6; }
.empty { text-align: center; color: var(--dim); padding: 28px !important; }

/* 抽屜 */
.picker { position: fixed; inset: 0; background: #0b0e11cc; display: grid; place-items: end center; z-index: 40; }
.picker[hidden] { display: none !important; }
.picker-panel {
  width: min(1180px, 100%); max-height: 78vh; overflow: auto;
  background: var(--card); border: 1px solid var(--line); border-bottom: 0;
  border-radius: 8px 8px 0 0; padding: 12px 12px calc(16px + env(safe-area-inset-bottom));
}
.pick-g { margin: 10px 0; }
.pick-g b { font-size: 0.74rem; color: var(--dim); font-weight: 500; }
.pick-g div { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.pick-g button { border-radius: 4px; border: 1px solid var(--line); background: var(--hover); color: var(--text); padding: 5px 10px; cursor: pointer; font-size: 0.78rem; }
.pick-g button.on { border-color: var(--yellow); color: var(--yellow); background: #fcd5351a; }
.focus-panel { max-height: 84vh; }
.focus-hero { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
.focus-hero .score-v b { font-size: 2.1rem; }
.factor { display: grid; gap: 8px; margin: 0 0 12px; }
.factor-row { display: grid; grid-template-columns: 72px 1fr 36px; gap: 8px; align-items: center; font-size: 0.78rem; }
.factor-row .bar { margin: 0; }
.llm-slot {
  background: var(--card2); border-left: 2px solid var(--yellow); border-radius: 4px;
  padding: 10px 12px; color: var(--dim); font-size: 0.8rem; line-height: 1.5; margin: 0 0 12px;
}
.llm-slot b { color: var(--text); display: block; margin-bottom: 4px; }
.focus-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }

.search-row { display: flex; gap: 6px; margin: 0 0 10px; }

/* 熱門卡 / S／A */
.hot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; }
.hot-card {
  background: var(--card2); border: 1px solid transparent; border-radius: 6px; padding: 10px;
  cursor: pointer; text-align: left; color: inherit; width: 100%;
}
.hot-card:hover { background: var(--hover); }
.hot-card.g-S { border-left: 2px solid var(--s); }
.hot-card.g-A { border-left: 2px solid var(--a); }
.hot-card b { display: block; font-size: 0.82rem; font-weight: 600; }
.hot-card em { font-style: normal; font-size: 1.1rem; font-weight: 600; color: var(--yellow); font-variant-numeric: tabular-nums; }
.hot-card span { display: block; font-size: 0.74rem; margin-top: 4px; color: var(--dim); line-height: 1.4; }
.hot-card span.up { color: var(--up); }
.hot-card span.down { color: var(--down); }

/* 新聞 */
.news-focus { display: grid; gap: 1px; background: var(--line); border-radius: 6px; overflow: hidden; }
.news-item {
  display: grid; grid-template-columns: 60px 1fr; gap: 10px;
  background: var(--card); padding: 10px 4px; color: inherit; text-decoration: none;
}
.news-item:hover { background: var(--hover); }
.news-item .mark {
  align-self: start; border-radius: 4px; background: #fcd5351a; color: var(--yellow);
  font-size: 0.68rem; text-align: center; padding: 3px 4px;
}
.news-item b { display: block; font-size: 0.84rem; font-weight: 500; line-height: 1.4; }
.news-item p { margin: 4px 0 0; color: var(--dim); font-size: 0.74rem; line-height: 1.4; }
.news-focus > .dim { background: var(--card); padding: 12px 4px; font-size: 0.8rem; }
.browse-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.browse-grid button {
  text-align: left; background: var(--card2); color: var(--text);
  border: 1px solid transparent; border-radius: 6px; padding: 10px 12px; cursor: pointer;
}
.browse-grid button:hover { background: var(--hover); }
.browse-grid button.on { border-color: var(--yellow); }
.browse-grid button b { display: block; margin-bottom: 4px; font-weight: 600; }
.browse-grid button span { color: var(--dim); font-size: 0.72rem; }

/* 報訊能量 */
.energy-wrap { display: grid; grid-template-columns: 300px 1fr; gap: 16px; align-items: start; }
.radar { background: var(--card2); border-radius: 8px; padding: 8px; }
.radar svg { display: block; width: 100%; height: auto; max-width: 300px; margin: 0 auto; }
.rg-ring { fill: none; stroke: var(--line); stroke-width: 1; }
.rg-axis { stroke: var(--line); stroke-width: 1; }
.rg-lbl { fill: var(--dim); font-size: 11px; text-anchor: middle; }
.rg-poly { fill: #fcd53533; stroke: var(--yellow); stroke-width: 1.5; stroke-linejoin: round; }
.rg-num { fill: var(--yellow); font-size: 30px; font-weight: 600; text-anchor: middle; }
.rg-sub { fill: var(--dim); font-size: 10px; text-anchor: middle; }
.flash { position: relative; max-height: 316px; overflow-y: auto; padding-left: 4px; }
.flash::before { content: ""; position: absolute; left: 48px; top: 6px; bottom: 6px; width: 1px; background: var(--line); }
.flash-row {
  position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 14px;
  padding: 7px 4px 7px 0; text-decoration: none; color: var(--text); font-size: 0.8rem; line-height: 1.45;
}
.flash-row::before {
  content: ""; position: absolute; left: 41px; top: 13px; width: 7px; height: 7px;
  border-radius: 50%; background: var(--dim); box-shadow: 0 0 0 3px var(--card);
}
.flash-row:hover span { color: var(--yellow); }
.flash-row time { color: var(--dim); font-size: 0.74rem; font-variant-numeric: tabular-nums; padding-top: 1px; }
.flash-row em { font-style: normal; color: var(--dim); font-size: 0.7rem; margin-right: 6px; }
.flash-row.hot span { color: #ff8a98; }
.flash-row.hot::before { background: var(--down); }
.flash-row.hot em { color: var(--down); }
.energy-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px; font-size: 0.74rem; color: var(--dim); }
.energy-legend b { color: var(--text); font-weight: 600; }
.geo-events { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.geo-events span { background: var(--hover); border-radius: 4px; padding: 3px 8px; font-size: 0.72rem; color: var(--dim); }

/* 底欄 */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--card); border-top: 1px solid var(--line);
  padding: 4px 8px calc(6px + env(safe-area-inset-bottom));
}
.tabbar button {
  background: none; border: 0; color: var(--dim); cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  font-size: 0.7rem; padding: 6px 0;
}
.tabbar button i { font-style: normal; font-size: 1.05rem; }
.tabbar button.on { color: var(--yellow); }

/* 跑馬燈 */
.tape {
  position: fixed; left: 0; right: 0; bottom: 54px; z-index: 29;
  display: flex; align-items: center; gap: 10px;
  background: var(--bg); border-top: 1px solid var(--line);
  padding: 6px 12px; font-size: 0.74rem;
}
.tape[hidden] { display: none !important; }
.tape b { color: var(--yellow); white-space: nowrap; font-weight: 600; }
.tape-mask { overflow: hidden; flex: 1; }
.tape-track { display: inline-flex; gap: 28px; white-space: nowrap; animation: tape 48s linear infinite; color: var(--dim); }
@keyframes tape { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* 讀盤層 */
.small { font-size: 0.74rem; margin: 0 0 10px; }
.yl { color: var(--yellow); }
.kpi-line { font-size: 0.76rem; color: var(--dim); margin: 0 0 10px; line-height: 1.6; font-variant-numeric: tabular-nums; }
.kpi-line b { color: var(--text); font-weight: 600; }
.list-head { display: flex; justify-content: space-between; padding: 0 4px 6px; font-size: 0.7rem; color: var(--dim); }
.mkt-list { display: flex; flex-direction: column; }
.mkt-row {
  display: grid; grid-template-columns: 30px 1fr auto; gap: 10px; align-items: center;
  width: 100%; padding: 12px 4px; background: none; border: 0; border-bottom: 1px solid #1e2329;
  color: var(--text); text-align: left; cursor: pointer;
}
.mkt-row:active, .mkt-row:hover { background: var(--card2); }
.mkt-row.hit { box-shadow: inset 2px 0 0 var(--yellow); }
.mkt-row .badge { justify-self: start; }
.mkt-sym { font-weight: 600; font-size: 0.92rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mkt-right { display: flex; align-items: center; gap: 10px; font-variant-numeric: tabular-nums; }
.mkt-right b { font-weight: 600; min-width: 28px; text-align: right; }
.mkt-right span { min-width: 76px; text-align: center; padding: 5px 6px; border-radius: 4px; font-size: 0.8rem; font-weight: 600; }
.mkt-right span.up { background: var(--up); color: #fff; }
.mkt-right span.down { background: var(--down); color: #fff; }
.card .mkt-row { border-bottom-color: var(--line); }
.card .mkt-row:last-child { border-bottom: 0; }
.desk-table { display: none; }
.desk-table table { min-width: 0; }
.more-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 10px 0 14px; font-size: 0.76rem; }
.more-row .ghost[hidden] { display: none; }
.model-line { margin: 0 0 12px; }
.model-line p { margin: 0 0 8px; font-size: 0.82rem; color: var(--dim); }
.model-mini { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.model-mini b { font-size: 1.5rem; font-weight: 600; color: var(--yellow); font-variant-numeric: tabular-nums; }
.model-mini small { color: var(--dim); }
.model-mini span { font-size: 0.72rem; }
.model-mini .bar { flex-basis: 100%; margin: 4px 0 0; }
.sa-grid .hot-card span {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.tune-btn { width: 100%; margin: 0 0 12px; padding: 10px; }
.focus-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 6px; }
.focus-stats div { background: var(--card2); border-radius: 6px; padding: 10px; }
.focus-stats span { display: block; font-size: 0.7rem; color: var(--dim); margin-bottom: 4px; }
.focus-stats b { font-size: 1.25rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.chg-sec { background: var(--card2); border-radius: 6px; padding: 8px 10px; }
.chg .chg-sec b { display: block; color: var(--yellow); margin-bottom: 4px; font-size: 0.74rem; font-weight: 500; }
.chg-line { display: flex; justify-content: space-between; gap: 8px; padding: 3px 0; font-variant-numeric: tabular-nums; }
.chg .chg-line span { color: var(--text); word-break: normal; }
.chg-line em { font-style: normal; font-weight: 600; }
.chg-none, .chg-more { color: var(--dim); font-size: 0.74rem; padding-top: 2px; }
.chg div.chg-line, .chg div.chg-none, .chg div.chg-more { background: none; padding-left: 0; padding-right: 0; }
.flash.is-empty::before { display: none; }
.flash-empty { display: flex; flex-direction: column; gap: 6px; padding: 24px 8px; }
.flash-empty b { color: var(--text); font-size: 0.9rem; font-weight: 600; }
.flash-empty span { color: var(--dim); font-size: 0.76rem; }
.geo-events[hidden], .page .card[hidden], .search-row[hidden], #tuneBox[hidden] { display: none !important; }
.news-cats { margin: 0 0 12px; }
button:disabled { opacity: 0.6; cursor: default; }

@media (min-width: 900px) {
  .desk-table { display: block; }
  #scanList, .list-head { display: none; }
}

@media (max-width: 760px) {
  .sub { display: none; }
  .hero-right { gap: 6px; }
  .hero-right button { padding: 6px 9px; font-size: 0.74rem; }
  .model-row { grid-template-columns: 52px 1fr; }
  .model-score { grid-column: 1 / -1; }
  .weights { grid-template-columns: 1fr; }
  .focus-stats b { font-size: 1.05rem; }
  .templates, .browse-grid { grid-template-columns: 1fr 1fr; }
  .side-grid { grid-template-columns: 1fr; }
  .alert-row { grid-template-columns: 1fr auto; }
  .badge-mini { display: none; }
  .energy-wrap { grid-template-columns: 1fr; }
  .flash { max-height: none; }
  .wrap { overflow-x: auto; }
  table { min-width: 720px; }
  .hot-grid { grid-template-columns: 1fr 1fr; }
}
.focus-panel p.dim { font-size: 0.78rem; line-height: 1.55; }
