/* =====================================================================
   JEV 首页 · 可交互主舞台 + 可滑动焦点矩阵 + 带比分赛程 + 高对比科技看板
   ===================================================================== */
:root { --home: #e9e9e9; --away: #6cabdd; --home-ink: #0b0b0b; --away-ink: #0b0b0b; --spring: cubic-bezier(.34, 1.56, .64, 1); }

body { padding-bottom: 112px; }

/* ---------- 页头与遥测状态 ---------- */
.page-head { padding: var(--s-5) 0 var(--s-4); display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap; }
.page-head-l { display: flex; align-items: baseline; gap: var(--s-4); flex-wrap: wrap; }
.page-head h1 { font-size: var(--t-24); font-weight: 850; letter-spacing: -.025em; line-height: 1.15; }
.page-head .sub { color: var(--text-2); font-size: var(--t-13); display: flex; align-items: center; gap: var(--s-2); flex-wrap: wrap; }
.page-head .sub i { width: 3px; height: 3px; border-radius: 50%; background: var(--text-3); }
.tele-pills { display: flex; align-items: center; gap: var(--s-2); flex-wrap: wrap; }
.tele-pill { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--border); font-size: var(--t-12); color: var(--text-2); }
.tele-pill b { color: var(--text-1); font-weight: 700; }

.sec-t { display: flex; align-items: center; justify-content: space-between; margin: var(--s-6) 0 var(--s-3); gap: var(--s-3); flex-wrap: wrap; }
.sec-t h2 { font-size: var(--t-18); font-weight: 800; letter-spacing: -.015em; display: flex; align-items: center; gap: 8px; color: var(--text-1); }
.sec-t h2::before { content: ""; width: 4px; height: 16px; border-radius: 2px; background: var(--up); box-shadow: 0 0 8px var(--up); }
.sec-t-r { display: flex; align-items: center; gap: 10px; }
.sec-t span { font-size: var(--t-12); color: var(--text-2); }

/* ---------- ① 首页可交互主舞台 (Interactive Hero Stage) ---------- */
.hero-stage {
  position: relative; isolation: isolate; overflow: hidden;
  border-radius: 22px; border: 1px solid var(--border-strong);
  padding: var(--s-5) var(--s-6);
  box-shadow: var(--shadow-3);
  transition: border-color var(--dur);
}
.hero-bg { position: absolute; inset: 0; z-index: -2; transition: background 1s var(--ease); }
.hero-grid { position: absolute; inset: 0; z-index: -1; pointer-events: none; mask-image: radial-gradient(ellipse at center, #000 35%, transparent 85%); -webkit-mask-image: radial-gradient(ellipse at center, #000 35%, transparent 85%); }
.ghost { position: absolute; z-index: -1; font-weight: 900; line-height: .85; white-space: nowrap; pointer-events: none; user-select: none; color: transparent; -webkit-text-stroke: 1px color-mix(in srgb, var(--text-1) 6%, transparent); font-size: clamp(100px, 12vw, 200px); letter-spacing: -.04em; }
.ghost.h { left: -1vw; top: 36px; }
.ghost.a { right: -1vw; bottom: 36px; }

.hero-top {
  display: grid; grid-template-columns: minmax(0, 1fr); align-items: center;
  gap: 14px; flex-wrap: wrap; padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.hero-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: var(--t-12); color: var(--text-2); }
.hero-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--text-3); }
.hero-cd { display: inline-flex; align-items: baseline; gap: 6px; padding: 3px 11px; border-radius: 999px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--border-strong); }
.hero-cd small { font-size: var(--t-12); color: var(--text-2); font-weight: 600; }
.hero-cd { margin-left: auto; }
.hero-cd b { font-size: 13.5px; color: var(--up); font-weight: 800; }

/* 图2重点升级：主舞台右上角高颜值迷你记分牌切换轨 (.match-rail) */
.match-rail-wrap {
  margin-top: var(--s-4); padding-top: var(--s-3); border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; gap: var(--s-2); width: 100%; min-width: 0;
}
.rail-arr {
  width: 28px; height: 38px; border-radius: 10px;
  background: var(--surface-2); border: 1px solid var(--border);
  color: var(--text-2); display: inline-grid; place-items: center;
  flex-shrink: 0; transition: all .18s var(--ease);
}
.rail-arr:hover { color: var(--text-1); border-color: var(--border-strong); background: var(--surface-3); }
.match-rail {
  display: flex; align-items: center; gap: 8px;
  overflow-x: auto; scrollbar-width: none; padding: 2px;
}
.match-rail::-webkit-scrollbar { display: none; }

.m-pill {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  height: 42px; padding: 0 12px; border-radius: 12px;
  background: color-mix(in srgb, var(--surface-2) 92%, transparent);
  border: 1px solid var(--border);
  color: var(--text-2); transition: all .2s var(--ease);
  white-space: nowrap; flex-shrink: 0; overflow: hidden;
}
.m-pill:hover {
  color: var(--text-1); border-color: var(--border-strong);
  transform: translateY(-1px); background: var(--surface-3);
}
.m-pill.on {
  color: var(--text-1);
  background: linear-gradient(180deg, color-mix(in srgb, var(--up) 12%, var(--surface-2)), var(--surface-3));
  border-color: var(--up);
  box-shadow: 0 4px 18px -4px color-mix(in srgb, var(--up) 28%, transparent);
}
.m-pill.on::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 0;
  height: 2.5px; border-radius: 2px; background: var(--up);
}
.m-pill-crests {
  display: inline-flex; align-items: center;
}
.m-pill-crests > *:nth-child(2) { margin-left: -6px; }
.m-pill-info {
  display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15;
}
.m-pill-top {
  display: flex; align-items: center; gap: 5px; font-size: var(--t-12); font-weight: 700; color: var(--text-2);
}
.m-pill-top .sc {
  padding: 0 5px; border-radius: 4px; background: var(--surface);
  color: var(--up); font-family: var(--font-display); font-weight: 800;
  border: 1px solid var(--border);
}
.m-pill .nm {
  font-size: 12.5px; font-weight: 800; color: var(--text-1); margin-top: 2px;
}

/* 主舞台对阵与比分预测中枢 */
.duel { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: var(--s-6); padding: var(--s-5) 0 var(--s-4); }
.side-team { min-width: 0; }
.side-team.away { text-align: right; }
.side-tag { display: flex; align-items: center; gap: var(--s-2); font-size: var(--t-12); letter-spacing: .08em; color: var(--text-2); font-weight: 600; margin-bottom: var(--s-2); }
.side-team.away .side-tag { justify-content: flex-end; }
.side-tag i { width: 16px; height: 3px; border-radius: 2px; }
.side-row { display: flex; align-items: center; gap: var(--s-3); }
.side-team.away .side-row { flex-direction: row-reverse; }
.side-name { font-size: clamp(22px, 2.8vw, 40px); font-weight: 900; line-height: 1.08; letter-spacing: -.03em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html:not([lang^="zh"]) .side-name { font-size: clamp(18px, 2.15vw, 30px); letter-spacing: -.02em; }
.side-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: var(--s-2); font-size: var(--t-12); color: var(--text-2); }
.side-sub > span { white-space: nowrap; display: inline-flex; align-items: baseline; }
.side-team.away .side-sub { justify-content: flex-end; }
.side-sub b { font-size: var(--t-15); color: var(--text-1); margin-left: 4px; }

.verdict { text-align: center; display: flex; flex-direction: column; align-items: center; }
.verdict-k { font-size: var(--t-12); letter-spacing: .24em; color: var(--text-2); font-weight: 700; }
.verdict-pick-row {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; flex-wrap: wrap; justify-content: center;
}
.verdict-pick { font-size: var(--t-16); font-weight: 800; color: var(--text-1); }
.verdict-score-pill {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 2px 10px; border-radius: 999px;
  background: var(--up-bg); border: 1px solid color-mix(in srgb, var(--up) 45%, transparent);
  color: var(--up); font-size: 12px; font-weight: 800;
}
.big { display: inline-flex; align-items: flex-start; font-size: clamp(68px, 7.6vw, 114px); line-height: 1; margin: 4px 0; filter: drop-shadow(0 0 32px color-mix(in srgb, var(--up) 20%, transparent)); }
.big .pct { font-size: .36em; margin-top: .16em; margin-left: .04em; color: var(--up); }
.roll { display: inline-flex; overflow: hidden; height: 1em; line-height: 1em; }
.roll .col { display: flex; flex-direction: column; transition: transform .85s var(--ease); }
.roll .col span, .roll .ch { display: flex; align-items: center; justify-content: center; height: 1em; line-height: 1em; }
.verdict-sub { display: flex; justify-content: center; gap: var(--s-4); font-size: var(--t-12); color: var(--text-2); }
.verdict-sub b { font-size: var(--t-15); color: var(--text-1); margin-left: 4px; }
.verdict-sub .hi b { color: var(--up); }
.hero-stage.flash .big { animation: flashnum 1.2s var(--ease); }
@keyframes flashnum { from { color: var(--up); } }
.shock { position: absolute; z-index: 0; border-radius: 50%; pointer-events: none; border: 2px solid var(--up); transform: translate(-50%, -50%); animation: shock 1.1s var(--ease) forwards; }
@keyframes shock { from { width: 0; height: 0; opacity: .9; } to { width: 1600px; height: 1600px; opacity: 0; } }

/* 概率场 */
.field-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: var(--s-2); gap: var(--s-3); }
.field-head h3 { font-size: var(--t-12); font-weight: 600; color: var(--text-2); }
.field-head h3 em { font-style: normal; color: var(--up); font-weight: 700; }
.legend { display: flex; gap: var(--s-4); font-size: var(--t-12); color: var(--text-2); }
.legend i { display: inline-block; width: 12px; vertical-align: middle; margin-right: 5px; }
.legend .l1 { height: 7px; border-radius: 2px; background: linear-gradient(90deg, var(--home), var(--away)); }
.legend .l2 { border-top: 2px dashed var(--text-2); }
.legend .l3 { height: 7px; border-radius: 2px; background: repeating-linear-gradient(135deg, var(--up) 0 2px, transparent 2px 5px); }
.field { position: relative; display: flex; height: 82px; gap: 4px; user-select: none; touch-action: none; }
.fseg { position: relative; overflow: hidden; border-radius: 13px; min-width: 60px; display: flex; flex-direction: column; justify-content: space-between; padding: 10px 14px; text-align: left; transition: flex-basis 1.1s var(--ease), filter .2s, transform .2s var(--ease); cursor: pointer; }
.fseg:hover { filter: brightness(1.06); }
.fseg:active { transform: scale(.995); }
.fseg.home { background: var(--home); color: var(--home-ink); }
.fseg.away { background: var(--away); color: var(--away-ink); text-align: right; }
.fseg.draw { background: var(--surface-3); color: var(--text-1); }
.fseg::before { content: ""; position: absolute; inset: 0; opacity: .12; pointer-events: none; background: repeating-linear-gradient(100deg, transparent 0 22px, rgba(0,0,0,.6) 22px 23px); animation: drift 8s linear infinite; }
.fseg.away::before { animation-direction: reverse; }
@keyframes drift { to { background-position: 230px 0; } }
.fseg .lab { position: relative; font-size: var(--t-12); font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fseg .val { position: relative; font-size: 30px; line-height: 1; }
.fseg .val small { font-size: max(12px, .5em); margin-left: 2px; }
.fseg.draw .val { font-size: 23px; }
.fseg .hold { position: absolute; left: 0; bottom: 0; height: 4px; width: 0; background: currentColor; opacity: .8; }
.fseg.holding .hold { width: 100%; transition: width .75s linear; }
.fseg.picked { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--up); }
.fseg.picked::after { content: "你的判断"; position: absolute; top: 9px; right: 12px; font-size: var(--t-12); font-weight: 800; padding: 2px 7px; border-radius: 6px; background: #0a1200; color: #c6ff3d; }
html[lang^="en"] .fseg.picked::after { content: "Your Pick"; }
html[lang^="ko"] .fseg.picked::after { content: "나의 선택"; }
html[lang^="ja"] .fseg.picked::after { content: "予想"; }
html[lang^="pt"] .fseg.picked::after { content: "Palpite"; }
html[lang^="es"] .fseg.picked::after { content: "Elección"; }
.fseg.away.picked::after { right: auto; left: 12px; }
.crowd-line { position: absolute; top: -8px; bottom: -8px; width: 0; border-left: 2px dashed color-mix(in srgb, var(--text-1) 75%, transparent); transition: left 1.1s var(--ease); pointer-events: none; z-index: 2; }
.crowd-line span { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: var(--t-12); color: var(--text-2); font-weight: 600; }
.gap-band { position: absolute; top: 0; bottom: 0; z-index: 1; pointer-events: none; background: repeating-linear-gradient(135deg, var(--up) 0 2px, transparent 2px 9px), rgba(5,6,7,.42); box-shadow: inset 0 0 0 2px var(--up), 0 0 24px color-mix(in srgb, var(--up) 35%, transparent); transition: left 1.1s var(--ease), width 1.1s var(--ease), opacity .4s; }
.gap-tag { width: fit-content; margin: var(--s-2) auto 0; max-width: 100%; box-sizing: border-box; text-align: center; position: relative; white-space: normal; z-index: 3; font-size: var(--t-12); font-weight: 700; color: #0a1200; background: #c6ff3d; padding: 2px 8px; border-radius: 999px; transition: left 1.1s var(--ease); }
.gap-tag::before { content: ""; position: absolute; top: -3px; left: 50%; transform: translateX(-50%) rotate(45deg); width: 7px; height: 7px; background: #c6ff3d; }

.hero-foot { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); margin-top: var(--s-4); padding-top: var(--s-3); border-top: 1px solid var(--border); flex-wrap: wrap; }
.hero-foot-l { display: flex; align-items: center; gap: var(--s-4); flex-wrap: wrap; }
.pick-hint { display: flex; align-items: center; gap: var(--s-2); font-size: var(--t-12); color: var(--text-2); }
.pick-hint kbd { font-family: var(--font); font-size: var(--t-12); font-weight: 700; padding: 2px 7px; border-radius: 6px; background: var(--surface-3); color: var(--text-1); box-shadow: inset 0 -2px 0 rgba(255,255,255,.06); }
.pick-result { display: flex; align-items: center; gap: var(--s-2); font-size: var(--t-12); font-weight: 600; animation: pop .5s var(--spring); }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.96); } }
.camp { display: flex; gap: 6px; }
.camp div { padding: 4px 10px; border-radius: var(--r-sm); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--border); font-size: var(--t-12); color: var(--text-2); }
.camp b { font-size: var(--t-14); margin-left: 5px; }

/* 浅色模式下的主舞台修正 */
[data-theme="light"] .gap-band { background: repeating-linear-gradient(135deg, #059669 0 2px, transparent 2px 9px), rgba(255,255,255,.35); box-shadow: inset 0 0 0 2px #059669; }
[data-theme="light"] .gap-tag, [data-theme="light"] .gap-tag::before { background: #0F172A; color: #fff; }
[data-theme="light"] .fseg.home { box-shadow: inset 0 0 0 1px var(--border-strong); }

/* ---------- ② 图3重点升级：可左右滑动焦点矩阵轮播 + 右上角方向角标 + 预测比分 ---------- */
.focus-carousel-wrap {
  position: relative;
}
.focus-nav-btns {
  display: inline-flex; align-items: center; gap: 6px;
}
.fc-arr {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--surface-2); border: 1px solid var(--border-strong);
  color: var(--text-1); display: inline-grid; place-items: center;
  transition: all .18s var(--ease); box-shadow: var(--shadow-1);
}
.fc-arr:hover {
  background: var(--brand); color: var(--brand-ink); border-color: transparent;
  transform: scale(1.06);
}
[data-theme="light"] .fc-arr:hover { background: #0F172A; color: #fff; }

.focus-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 36px) / 4);
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 4px 2px 8px;
}
.focus-grid::-webkit-scrollbar { display: none; }

.fcard {
  scroll-snap-align: start;
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 11px;
  padding: 16px; cursor: pointer;
  transition: box-shadow var(--dur), transform var(--dur) var(--ease), border-color var(--dur);
}
.fcard::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .45; transition: opacity var(--dur);
  background: radial-gradient(75% 65% at 0% 0%, color-mix(in srgb, var(--h) 20%, transparent), transparent 70%), radial-gradient(75% 65% at 100% 100%, color-mix(in srgb, var(--a) 20%, transparent), transparent 70%);
}
.fcard:hover { box-shadow: var(--shadow-3); transform: translateY(-2px); border-color: var(--border-strong); }
.fcard:hover::before { opacity: .9; }
.fcard.active-focus {
  border-color: var(--up);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--up) 45%, transparent), var(--shadow-2);
}
.fcard > * { position: relative; }

/* 右上角方向角标 (.fcard-corner) */
.fcard-corner {
  position: absolute; top: 0; right: 0; z-index: 3;
  padding: 4px 10px 4px 12px;
  border-radius: 0 13px 0 12px;
  font-size: var(--t-12); font-weight: 800;
  display: inline-flex; align-items: center; gap: 4px;
  background: linear-gradient(135deg, rgba(198,255,61,0.22), rgba(16,185,129,0.28));
  border-left: 1px solid color-mix(in srgb, var(--up) 45%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--up) 45%, transparent);
  color: var(--up);
}
.fcard-corner.away-dir {
  background: linear-gradient(135deg, rgba(56,189,248,0.22), rgba(59,130,246,0.28));
  border-color: rgba(56,189,248,0.45);
  color: #38BDF8;
}
[data-theme="light"] .fcard-corner.away-dir { color: #0284C7; }

.fcard-top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 6px; font-size: var(--t-12); color: var(--text-2); padding-right: 88px; flex-wrap: wrap;
}
.fcard-teams { display: grid; gap: 8px; margin-top: 2px; }
.fteam { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 8px; }
.fteam .nm { font-size: 15px; font-weight: 750; color: var(--text-1); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fteam-sc {
  min-width: 24px; height: 22px; padding: 0 6px; border-radius: 6px;
  background: var(--surface-2); border: 1px solid var(--border);
  font-family: var(--font-display); font-size: 13px; font-weight: 800;
  color: var(--text-2); display: inline-grid; place-items: center;
}
.fteam.fav .fteam-sc {
  background: var(--up-bg); border-color: color-mix(in srgb, var(--up) 45%, transparent);
  color: var(--up);
}
.fteam .p { font-size: 18px; font-weight: 800; color: var(--text-2); min-width: 42px; text-align: right; }
.fteam.fav .p { color: var(--text-1); }

/* 焦点卡：欧亚盘口速览 + 预测比分 + 榜首模型直推条 */
.fcard-odds { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 6px 9px; border-radius: 8px; background: color-mix(in srgb, var(--surface-2) 90%, transparent); box-shadow: inset 0 0 0 1px var(--border); font-size: var(--t-12); color: var(--text-2); white-space: nowrap; overflow: hidden; }
.fcard-odds b { color: var(--text-1); font-weight: 700; }
.fcard-ai { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 7px 9px; border-radius: 8px; background: color-mix(in srgb, var(--up) 8%, var(--surface-2)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--up) 28%, transparent); font-size: var(--t-12); }
.fcard-ai .ai-l { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-2); }
.fcard-ai .ai-l b { color: var(--text-1); margin-right: 4px; }
.fcard-ai .ai-hit { flex-shrink: 0; color: var(--up); font-weight: 800; font-size: var(--t-12); }

.fcard-foot { display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); padding-top: var(--s-2); border-top: 1px solid var(--border); font-size: var(--t-12); color: var(--text-2); margin-top: auto; }
.conf { display: flex; align-items: center; gap: 6px; }
.conf svg { transform: rotate(-90deg); }
.fcard-acts { display: flex; align-items: center; gap: 6px; }
.fcard-acts .go-link { font-size: var(--t-12); font-weight: 700; color: var(--up); padding: 4px 9px; border-radius: 6px; background: var(--up-bg); transition: opacity var(--dur); }
.fcard-acts .go-link:hover { opacity: .85; }

/* ---------- ③ 主体两栏：50 场带比分赛程 + 右侧三大高对比科技看板 ---------- */
.main-grid { display: grid; grid-template-columns: minmax(0, 1fr) 376px; gap: var(--s-5); margin-top: var(--s-6); align-items: start; }
.side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 76px; }

/* 赛程面板 */
.sched-h { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); padding: var(--s-4) var(--s-5); flex-wrap: wrap; border-bottom: 1px solid var(--border); }
.sched-h-l { display: flex; align-items: center; gap: var(--s-3); flex-wrap: wrap; }
.sched-h h3 { font-size: var(--t-16); font-weight: 800; }
.days { display: flex; justify-content: space-between; gap: 4px; padding: 6px var(--s-5); overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--border); background: color-mix(in srgb, var(--surface-2) 45%, transparent); }
.days::-webkit-scrollbar { display: none; }
.day { flex: 1 1 0; min-width: 0; max-width: 96px; height: 56px; line-height: 1.2; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 1px; padding: 4px 6px; border-radius: var(--r-md); color: var(--text-2); box-shadow: inset 0 0 0 1px transparent; transition: all var(--dur); }
.day b { font-size: var(--t-14); font-weight: 700; color: var(--text-1); }
.day small { font-size: var(--t-12); }
.day:hover { background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--border); }
.day.on { background: var(--ink); color: color-mix(in srgb, var(--ink-text) 80%, transparent); box-shadow: 0 0 16px -4px color-mix(in srgb, var(--ink) 50%, transparent); }
.day.on b { color: var(--ink-text); }
.day .n { font-size: var(--t-12); }

.lg-head { display: flex; align-items: center; gap: var(--s-2); padding: 9px var(--s-5); background: var(--surface-2); border-bottom: 1px solid var(--border); font-size: var(--t-12); font-weight: 700; position: sticky; top: 58px; z-index: 2; }
.lg-head .cnt { margin-left: auto; color: var(--text-2); font-weight: 500; }
.lg-badge { width: 22px; height: 20px; padding: 0 3px; border-radius: 5px; display: grid; place-items: center; font-size: var(--t-12); font-weight: 800; color: #fff; }

/* Both fixture lists share the same reading order. The score sits on its team's line. */
.fixture-row {
  position: relative;
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr) minmax(84px, .22fr) auto;
  align-items: center;
  gap: var(--s-5);
  padding: var(--s-3) var(--s-5);
  border-bottom: 1px solid var(--border);
}
.fixture-row:last-child { border-bottom: 0; }
.fixture-row:hover, .fixture-row:focus-within { background: var(--surface-2); }
.fixture-time { display: grid; font-size: var(--t-12); color: var(--text-2); line-height: 1.4; }
.fixture-time small, .fixture-pred small { font-size: var(--t-12); color: var(--text-3); }
.fixture-time b { font-size: var(--t-14); color: var(--text-1); }
.fixture-pair { display: grid; gap: 4px; min-width: 0; color: var(--text-1); text-align: start; }
.fixture-pair::after { content: ""; position: absolute; inset: 0; }
.fixture-team { display: grid; grid-template-columns: 20px minmax(0, 1fr) minmax(3ch, max-content); align-items: center; gap: var(--s-2); }
.fixture-name { font-size: var(--t-14); font-weight: 650; line-height: 1.45; overflow-wrap: anywhere; }
.fixture-goals { text-align: end; font-size: var(--t-16); font-weight: 800; line-height: 1.3; }
.fixture-row.is-live .fixture-goals, .fixture-row.is-live .fixture-time span { color: var(--up); }
.fixture-pred { display: grid; text-align: center; align-content: center; line-height: 1.45; border-inline-start: 1px solid var(--border); }
.fixture-pred b { color: var(--text-2); font-size: var(--t-14); }
.fixture-actions { position: relative; display: flex; align-items: center; gap: var(--s-2); }
@media (min-width: 761px) {
  .fixture-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; }
  .fixture-team { grid-template-columns: minmax(0, 1fr) 20px 4ch; grid-template-areas: "name badge score"; }
  .fixture-team + .fixture-team { grid-template-columns: 4ch 20px minmax(0, 1fr); grid-template-areas: "score badge name"; }
  .fixture-team > :first-child { grid-area: badge; }
  .fixture-name { grid-area: name; }
  .fixture-team:first-child .fixture-name { text-align: end; }
  .fixture-goals { grid-area: score; padding-block: 4px; text-align: center; background: var(--surface-2); border-radius: var(--r-sm); }
}
.lg-head-interactive { width: 100%; text-align: start; }
.scores-count { color: var(--text-2); font-size: var(--t-14); font-variant-numeric: tabular-nums; }
.score-tools { display: flex; align-items: center; gap: var(--s-2); margin-inline-start: auto; }
.score-search { position: relative; min-width: 0; }
.score-filters summary { display: flex; align-items: center; gap: var(--s-2); padding: var(--s-3) var(--s-4); font-size: var(--t-13); cursor: pointer; list-style: none; }
.score-filters summary::-webkit-details-marker { display: none; }
.score-filters summary span { color: var(--text-2); }
.score-filters summary::after { content: ""; width: 7px; height: 7px; margin-inline-start: auto; border: solid var(--text-2); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.score-filters[open] summary::after { transform: rotate(225deg); }
.score-filters .sc-cat-bar { padding-block-start: 0; }
.mp-bar { display: flex; height: 5px; border-radius: 4px; overflow: hidden; gap: 1.5px; background: var(--surface-3); }
.mp-bar i { display: block; height: 100%; border-radius: 2px; }



/* ---------- ④ 图4重点升级：右侧三大高对比度、高层次科技看板 ---------- */
/* 1. AI 模型红黑路珠榜 (图4高层次发光序号 + 清晰红黑路珠圆点 + 预测比分) */
.rank-row {
  display: flex; flex-direction: column; gap: 8px;
  padding: 12px 10px; border-radius: 12px;
  background: var(--surface-2); border: 1px solid var(--border);
  margin-bottom: 9px; transition: all .18s var(--ease);
}
.rank-row:last-child { margin-bottom: 0; }
.rank-row:hover { border-color: var(--border-strong); transform: translateX(2px); }
.rank-row-top {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.rank-row-l {
  display: flex; align-items: center; gap: 10px; min-width: 0;
}
.rank-row .r {
  width: 24px; height: 24px; border-radius: 7px;
  background: var(--surface-3); border: 1px solid var(--border-strong);
  display: grid; place-items: center; font-size: 12px; font-weight: 800;
  color: var(--text-1); flex-shrink: 0;
}
.rank-row.top3 .r {
  background: var(--up-bg); color: var(--up);
  border-color: color-mix(in srgb, var(--up) 50%, transparent);
  box-shadow: 0 0 10px color-mix(in srgb, var(--up) 22%, transparent);
}
.rank-row .nm {
  font-size: 14px; font-weight: 800; color: var(--text-1);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.rank-row-r {
  display: flex; align-items: center; gap: 8px; flex-shrink: 0;
}
.rank-hit-pill {
  padding: 2px 8px; border-radius: 999px;
  background: rgba(244, 63, 94, 0.16); border: 1px solid rgba(244, 63, 94, 0.38);
  color: #FB7185; font-size: var(--t-12); font-weight: 800;
}
[data-theme="light"] .rank-hit-pill { background: #FFE4E6; color: #E11D48; }
.rank-roi {
  font-family: var(--font-display); font-size: 14.5px; font-weight: 800; color: var(--up);
}
/* 清晰可读的 10 场红黑路珠圆点（无文字小圆点） */
.rank-beads-row {
  display: flex; align-items: center; justify-content: space-between; gap: 6px;
}
.rank-beads-lbl {
  font-size: var(--t-12); color: var(--text-2); font-weight: 600;
}
.ai-beads {
  display: flex; align-items: center; gap: 5px;
}
.ai-bead {
  width: 9px; height: 9px; border-radius: 50%;
  display: inline-block; flex-shrink: 0;
}
.ai-bead.w {
  background: #F43F5E;
  box-shadow: 0 0 6px rgba(244, 63, 94, 0.5);
}
[data-theme="light"] .ai-bead.w {
  background: #E11D48;
  box-shadow: none;
}
.ai-bead.l {
  background: rgba(148, 163, 184, 0.38);
  border: 1px solid var(--border-strong);
}
[data-theme="light"] .ai-bead.l {
  background: #475569;
  border-color: #334155;
}

/* 2. 情报脉冲 (高对比度卡片 + 队徽 + 醒目冲击分胶囊) */
.intel-pulse-row {
  display: flex; flex-direction: column; gap: 7px;
  padding: 12px 13px; border-radius: 12px;
  background: var(--surface-2); border: 1px solid var(--border);
  border-left: 3.5px solid var(--up);
  margin-bottom: 10px; transition: all .18s var(--ease);
}
.intel-pulse-row.is-neg {
  border-left-color: var(--down);
}
.intel-pulse-row:last-child { margin-bottom: 0; }
.intel-pulse-row:hover {
  border-color: var(--border-strong); transform: translateX(2px);
  background: var(--surface-3);
}
.ip-top {
  display: flex; align-items: center; justify-content: space-between; gap: 6px; flex-wrap: wrap;
}
.ip-match {
  display: inline-flex; align-items: center; gap: 6px; min-width: 0; flex: 1 1 160px;
  font-size: 13px; font-weight: 800; color: var(--text-1);
}
.ip-match span {
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.ip-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 8px; border-radius: 6px;
  font-family: var(--font-display); font-size: var(--t-12); font-weight: 800;
  flex-shrink: 0; white-space: nowrap;
}
.ip-badge.pos {
  background: var(--up-bg); color: var(--up); border: 1px solid color-mix(in srgb, var(--up) 40%, transparent);
}
.ip-badge.neg {
  background: var(--down-bg); color: var(--down); border: 1px solid rgba(244, 63, 94, 0.38);
}
.intel-pulse-row p {
  font-size: 13px; color: var(--text-1); opacity: 0.94;
  line-height: 1.58; font-weight: 500;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ip-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap;
  font-size: var(--t-12); color: var(--text-2); font-weight: 600;
}

/* 3. JEV 引擎遥测舱 */
.tele-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: var(--s-3); }
.tele-cell { padding: 9px 10px; border-radius: 10px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--border); }
.tele-cell small { display: block; font-size: var(--t-12); color: var(--text-2); font-weight: 600; }
.tele-cell b { display: block; font-size: var(--t-16); color: var(--up); margin-top: 2px; }
.steps { display: grid; gap: 10px; counter-reset: s; }
.steps li { list-style: none; display: grid; grid-template-columns: 24px 1fr; gap: 10px; font-size: 12.5px; color: var(--text-2); line-height: 1.58; }
.steps li::before { counter-increment: s; content: "L" counter(s); width: 24px; height: 24px; border-radius: 6px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--border-strong); display: grid; place-items: center; font-size: var(--t-12); font-weight: 800; color: var(--up); }
.steps b { display: block; color: var(--text-1); font-size: 13.5px; font-weight: 750; }
.prediction-details { margin-top: var(--s-3); }
.prediction-details > summary { cursor: pointer; color: var(--up); font-size: var(--t-13); font-weight: 700; }
.prediction-details[open] > summary { margin-bottom: var(--s-3); }

/* ---------- 赛前资料与先验推演抽屉 ---------- */
.drawer-ov { position: fixed; inset: 0; z-index: 120; background: rgba(10,12,13,.5); backdrop-filter: blur(4px); animation: fadein var(--dur); }
.drawer-ov[hidden] { display: none; }
.drawer { position: absolute; top: 0; right: 0; bottom: 0; width: min(460px, 100vw); background: var(--surface); border-left: 1px solid var(--border-strong); box-shadow: var(--shadow-3); display: flex; flex-direction: column; animation: slidein 260ms var(--ease); }
@keyframes slidein { from { transform: translateX(24px); opacity: 0; } }
.drawer-h { display: flex; align-items: center; justify-content: space-between; padding: var(--s-4) var(--s-5); border-bottom: 1px solid var(--border); font-size: var(--t-13); color: var(--text-2); font-weight: 600; }
.drawer-b { padding: var(--s-5); overflow-y: auto; flex: 1; }
.vs-head { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--s-3); text-align: center; padding: var(--s-4); border-radius: var(--r-lg); background: var(--surface-2); border: 1px solid var(--border); }
.vs-head .t { display: flex; flex-direction: column; align-items: center; gap: var(--s-2); font-weight: 700; font-size: var(--t-15); }
.vs-head .mid { font-size: var(--t-24); font-weight: 800; }
.vs-head .mid small { display: block; font-size: var(--t-12); color: var(--text-2); font-weight: 500; margin-top: 2px; }
.drawer-prior { margin-top: var(--s-4); padding: var(--s-4); border-radius: var(--r-md); background: color-mix(in srgb, var(--up) 6%, var(--surface-2)); border: 1px solid color-mix(in srgb, var(--up) 25%, var(--border)); }
.drawer-prior-h { display: flex; justify-content: space-between; font-size: var(--t-12); color: var(--text-2); margin-bottom: 8px; }
.drawer-prior-vals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; text-align: center; margin-bottom: 8px; }
.drawer-prior-vals div { padding: 6px; border-radius: 8px; background: var(--surface); }
.drawer-prior-vals small { display: block; font-size: var(--t-12); color: var(--text-2); }
.drawer-prior-vals b { font-size: var(--t-18); }
.cmp { margin-top: var(--s-4); display: grid; gap: 2px; }
.cmp-row { display: grid; grid-template-columns: 1fr 96px 1fr; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--border); font-size: var(--t-13); }
.cmp-row span:first-child { text-align: left; font-weight: 650; }
.cmp-row span:nth-child(2) { text-align: center; font-size: var(--t-12); color: var(--text-2); }
.cmp-row span:last-child { text-align: right; font-weight: 650; }
.cmp-row .better { color: var(--up); }
.note { margin-top: var(--s-4); padding: var(--s-4); border-radius: var(--r-md); background: var(--surface-2); border: 1px solid var(--border); font-size: var(--t-12); color: var(--text-2); line-height: 1.6; }
.note b { display: block; color: var(--text-1); font-size: var(--t-13); margin-bottom: 4px; }

/* ---------- 模型页 / 情报页 ---------- */
.model-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: var(--s-4); }
.mcard { padding: var(--s-5); display: grid; grid-template-rows: subgrid; grid-row: span 5; gap: var(--s-3); min-width: 0; }
.mcard h4 { font-size: var(--t-16); font-weight: 700; }
.mcard p { font-size: var(--t-14); line-height: 1.5; color: var(--text-2); }
.kv { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-2); }
.kv div { min-width: 0; padding: var(--s-3) var(--s-2); border-radius: var(--r-md); background: var(--surface-2); text-align: center; }
.kv small { display: block; font-size: var(--t-12); color: var(--text-2); }
.kv b { display: block; font-size: var(--t-20); font-weight: 700; margin-top: var(--s-1); }
.mcard-foot { display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); flex-wrap: wrap; padding-top: var(--s-2); border-top: 1px solid var(--border); font-size: var(--t-12); }
.mcard-foot a { display: inline-flex; align-items: center; min-height: 36px; font-weight: 700; }
.hero-actions { display: flex; align-items: center; gap: var(--s-2); flex-wrap: wrap; }
.hero-actions .btn { height: 36px; }

/* ---------- 底部常驻「问 JEV」会话坞 ---------- */
.dock { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); width: min(760px, calc(100vw - 24px)); z-index: 70; }
.thread { max-height: min(52vh, 480px); overflow-y: auto; margin-bottom: 10px; padding: 0 18px 10px; border-radius: 22px; background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: inset 0 0 0 1px var(--border-strong), var(--shadow-3); display: flex; flex-direction: column; gap: 14px; scrollbar-width: none; animation: pop .35s var(--ease); }
.thread[hidden] { display: none; }
.thread-h { position: sticky; top: 0; z-index: 1; display: flex; justify-content: space-between; align-items: center; padding: 14px 0 8px; font-size: var(--t-12); color: var(--text-2); background: inherit; }
.thread-h button { color: var(--text-2); font-size: var(--t-12); }
.thread-h button:hover { color: var(--text-1); }
.ask-q { align-self: flex-end; max-width: 80%; padding: 10px 14px; border-radius: 16px 16px 4px 16px; background: var(--text-1); color: var(--bg); font-size: var(--t-14); font-weight: 500; animation: pop .3s var(--ease); }
.ask-q.intel { background: #c6ff3d; color: #0a1200; }
.ans { display: grid; grid-template-columns: 26px 1fr; gap: 12px; animation: pop .3s var(--ease); }
.ans-av { width: 26px; height: 26px; border-radius: 8px; background: #c6ff3d; display: grid; place-items: center; }
.ans-b { font-size: var(--t-14); line-height: 1.75; }
.ans-b b { color: var(--up); font-weight: 700; }
.ans-b .r { color: var(--down); font-weight: 700; }
.ans-b p + p { margin-top: 4px; }
.ans-cards { margin-top: 10px; display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px; }
.ans-cards div { padding: 10px 12px; border-radius: 12px; background: var(--surface-2); }
.ans-cards small { display: block; font-size: var(--t-12); color: var(--text-2); }
.ans-cards b { font-size: 22px; color: var(--text-1); }
.thinking { display: inline-flex; gap: 4px; padding: 6px 0; }
.thinking i { width: 6px; height: 6px; border-radius: 50%; background: var(--text-3); animation: think 1s infinite; }
.thinking i:nth-child(2) { animation-delay: .15s; }
.thinking i:nth-child(3) { animation-delay: .3s; }
@keyframes think { 50% { transform: translateY(-4px); background: var(--up); } }
.chips { display: none; gap: 6px; margin-bottom: 8px; overflow-x: auto; scrollbar-width: none; justify-content: center; }
.dock:focus-within .chips, .dock.open .chips { display: flex; }
.chip { flex-shrink: 0; height: 28px; padding: 0 12px; border-radius: 999px; font-size: var(--t-12); color: var(--text-2); background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px var(--border-strong); transition: color var(--dur); }
.chip:hover { color: var(--text-1); }
.parse { display: flex; gap: 6px; margin-bottom: 8px; justify-content: center; flex-wrap: wrap; }
.parse span { height: 26px; display: inline-flex; align-items: center; gap: 6px; padding: 0 10px; border-radius: 999px; font-size: var(--t-12); background: var(--surface); box-shadow: inset 0 0 0 1px var(--border-strong); color: var(--text-2); animation: pop .3s var(--ease); }
.parse span b { color: var(--text-1); }
.parse .pos b { color: var(--up); }
.parse .neg b { color: var(--down); }
.composer { display: flex; align-items: center; gap: 10px; padding: 7px; border-radius: 20px; background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: inset 0 0 0 1px var(--border-strong), var(--shadow-3); transition: box-shadow .25s; }
.composer:focus-within { box-shadow: inset 0 0 0 1px var(--up), 0 0 0 5px color-mix(in srgb, var(--up) 10%, transparent), var(--shadow-3); }
.mode { position: relative; display: flex; padding: 0; border-radius: 12px; background: transparent; flex-shrink: 0; }
.mode button { position: relative; z-index: 1; height: 38px; padding: 0 14px; border-radius: 12px; font-size: var(--t-12); font-weight: 800; color: #0a1200; background: #c6ff3d; transition: opacity .2s; }
.mode button.on { color: #0a1200; }
.mode .pill-bg { display: none; }
.composer textarea { flex: 1; min-height: 38px; max-height: 140px; resize: none; background: none; border: 0; outline: 0; font-size: var(--t-14); line-height: 1.55; padding: 7px 4px; }
.composer textarea::placeholder { color: var(--text-3); }
.send { width: 38px; height: 38px; border-radius: 12px; background: var(--text-1); color: var(--bg); display: grid; place-items: center; flex-shrink: 0; transition: transform .15s var(--spring), background var(--dur); }
.send:hover { background: #c6ff3d; color: #0a1200; }
.send:active { transform: scale(.9); }

@media (max-width: 1180px) {
  .focus-grid { grid-auto-columns: calc((100% - 12px) / 2); }
  .main-grid { grid-template-columns: minmax(0, 1fr); }
  .main-grid > * { min-width: 0; max-width: 100%; }
  .side { position: static; }
}
@media (max-width: 760px) {
  .page-head { padding: 12px 0 10px; gap: 10px; }
  .page-head h1 { font-size: 21px; }
  .tele-pills {
    width: 100%; flex-wrap: nowrap; overflow-x: auto;
    scrollbar-width: none; padding-bottom: 2px;
  }
  .tele-pills::-webkit-scrollbar { display: none; }
  .tele-pill { flex-shrink: 0; white-space: nowrap; }

  .hero-stage { padding: 14px; border-radius: 18px; }
  .hero-top { gap: 10px; padding-bottom: 10px; }
  .duel {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px; padding: 12px 0; align-items: stretch;
  }
  .verdict {
    grid-column: 1 / -1; grid-row: 2;
    padding-top: var(--s-3); border-top: 1px solid var(--border); padding-bottom: 0; border-bottom: 0;
  }
  .big { font-size: 56px; margin: 2px 0; }
  .verdict-sub { flex-wrap: wrap; gap: 6px 12px; font-size: var(--t-12); }
  .side-team {
    padding: 10px; border-radius: 12px;
    background: color-mix(in srgb, var(--surface-2) 68%, transparent);
    border: 1px solid var(--border);
    display: flex; flex-direction: column;
  }
  .side-tag { font-size: var(--t-12); margin-bottom: 4px; letter-spacing: 0.02em; }
  .side-row { gap: 6px; }
  .side-row .crest { width: 24px !important; height: 24px !important; display: block !important; }
  .side-name { font-size: 18px; line-height: 1.15; }
  .side-sub {
    gap: 4px 8px; margin-top: 6px; font-size: var(--t-12);
  }
  .side-sub b { font-size: 12.5px; margin-left: 2px; }
  .side-sub .tag {
    width: auto; justify-content: center; margin-top: 0;
    min-height: 44px; font-size: var(--t-12);
  }

  .field { height: 74px; }
  .fseg { padding: 8px 10px; min-width: 50px; }
  .fseg .val { font-size: 21px; }
  .fseg.draw .val { font-size: 17px; }
  .legend, .crowd-line span, .fseg.picked::after, .ghost { display: none; }

  .hero-foot { margin-top: var(--s-4); gap: 10px; }
  .hero-foot-l { width: 100%; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
  .hero-foot > div:last-child {
    width: 100%; display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-2);
  }
  .hero-foot .hero-actions .btn {
    width: 100%; justify-content: center;
    font-size: 12.5px; padding: 0 10px;
  }

  .sec-t { margin: 18px 0 10px; gap: 8px; }
  .sec-t h2 { font-size: 16px; flex-wrap: wrap; }
  .focus-grid { grid-auto-columns: 88%; }

  .sched-h { padding: 12px 14px; gap: 10px; }
  .sched-h-l { width: 100%; justify-content: space-between; }
  #hotToggle, #lgSeg button { min-height: 44px; }
  .hero-actions .btn, .mcard-foot a, .rail-arr, .fc-arr { min-height: 44px; }
  .hero-cd { margin-left: 0; }
  .sched-h h3 { font-size: 14.5px; }
  .sched-h #lgSeg {
    width: 100%; max-width: 100%; overflow-x: auto; scrollbar-width: none; display: flex;
  }
  .sched-h #lgSeg button { flex: 1; white-space: nowrap; padding: 0 6px; font-size: var(--t-12); }
  .days { justify-content: flex-start; gap: 4px; padding: 5px 12px; max-width: 100%; }
  .day { flex: 0 0 68px; min-width: 68px; max-width: 68px; height: 56px; }
  .lg-head { top: var(--header-height); padding: 8px 12px; }
  .lg-head .cnt { font-size: var(--t-12); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 65%; }
  .fixture-row {
    grid-template-columns: 44px minmax(0, 1fr) 66px 44px;
    gap: var(--s-2); padding: var(--s-2) var(--s-3);
  }
  .fixture-actions { flex-direction: column; gap: 2px; }
  .fixture-actions > :is(button, a) { width: 44px; height: 44px; }
  .scores-heading .tele-pills { width: auto; }
  .sc-console-top { flex-direction: column; align-items: stretch; padding: var(--s-3); }
  #scStatusSeg { max-width: 100%; flex-wrap: wrap; border-radius: var(--r-md); }
  #scStatusSeg button { flex: 1 0 auto; padding-inline: 5px; white-space: nowrap; }
  .score-tools { margin-inline-start: 0; }
  .score-search { flex: 1; }
  .score-search .input { width: 100%; }
  .dock { padding: 0 12px 10px; }
  .composer { padding: 5px; border-radius: 16px; gap: 6px; }
  .composer textarea { min-height: 34px; padding: 5px 4px; font-size: var(--t-14); }
  .mode button { height: 44px; padding: 0 11px; border-radius: 10px; font-size: var(--t-12); }
  .send { width: 44px; height: 44px; border-radius: 10px; }
}
@media (max-width: 360px) {
  .hero-stage { padding: 11px; }
  .duel { gap: 8px; }
  .side-team { padding: 8px; }
  .side-name { font-size: 15.5px; }
  .side-row .crest { width: 20px !important; height: 20px !important; }
  .fixture-row { grid-template-columns: 38px minmax(0, 1fr) 54px 44px; gap: var(--s-1); }
  .fixture-team { gap: 4px; }
  .fixture-actions > :is(button, a) { width: 44px; }
}
