/* ================================================================
   閺佺増宓侀惇瀣緲 璺?RACE COMMAND / OPS v7
   绾版娊绮﹂惌鍐测叿鎼?+ 濮楁瑩鍣炬稉鏄忓 + 閸愭媽鎽戦柆銉︾ゴ + 閺傝鐗搁弮妤佹暪閸?
   ================================================================ */
.db-shell{
  --db-orange:#FF5A1E;
  --db-amber:#FFC53D;
  --db-ice:#78E1F5;
  --db-green:#4DE0A4;
  --db-red:#FF5C55;
  --db-line:rgba(255,255,255,.08);
  --db-mut:#8995A1;
  --db-faint:#525D69;
  --db-panel:#0D1217;
  display:flex; flex-direction:column; gap:12px; padding-bottom:8px;
  color:#E9EEF3; font-variant-numeric:tabular-nums;
}
.db-shell button{font-family:inherit}
.db-panel{
  position:relative; overflow:hidden; border:1px solid var(--db-line); border-radius:10px;
  background:linear-gradient(155deg,rgba(19,25,32,.96),rgba(8,11,14,.98));
  box-shadow:0 16px 44px rgba(0,0,0,.26),inset 0 1px 0 rgba(255,255,255,.035);
}
.db-panel::before{
  content:""; position:absolute; left:16px; right:16px; top:0; height:1px; pointer-events:none;
  background:linear-gradient(90deg,transparent,rgba(255,90,30,.45),rgba(255,197,61,.18),transparent);
}

/* ---------------- HERO / RACE COMMAND ---------------- */
.db-hero{
  position:relative; overflow:hidden; border:1px solid var(--db-line); border-top-color:rgba(255,90,30,.55);
  border-radius:12px; padding:22px 24px 14px; min-height:274px;
  background:
    radial-gradient(760px 300px at 82% -10%,rgba(255,90,30,.16),transparent 62%),
    radial-gradient(420px 260px at 1% 105%,rgba(255,197,61,.055),transparent 70%),
    linear-gradient(145deg,#11161C 0%,#07090B 68%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.045),0 26px 70px rgba(0,0,0,.42);
}
.db-hero::before{
  content:""; position:absolute; inset:0 0 auto 0; height:2px; z-index:5;
  background:linear-gradient(90deg,rgba(255,90,30,.8),rgba(255,90,30,.12) 38%,rgba(255,197,61,.25) 72%,transparent);
}
.db-hero::after{
  content:""; position:absolute; right:-94px; top:-120px; width:310px; height:310px; border-radius:50%;
  border:1px solid rgba(255,90,30,.1); box-shadow:0 0 90px rgba(255,90,30,.06) inset; pointer-events:none;
}
.db-hero-photo{position:absolute; right:0; top:0; width:46%; height:100%; z-index:0; overflow:hidden; pointer-events:none}
.db-hero-photo img{width:100%; height:100%; object-fit:cover; object-position:center 44%; opacity:.46; filter:brightness(1.45) saturate(.62) contrast(1.12); display:block}
.db-hero-photo::after{
  content:""; position:absolute; inset:0;
  background:
    linear-gradient(90deg,#0C1015 0%,rgba(12,16,21,.8) 14%,rgba(12,16,21,.22) 54%,rgba(12,16,21,.04) 100%),
    linear-gradient(180deg,rgba(11,14,18,.45),rgba(7,9,11,.85));
}
.db-hero-grid{
  position:absolute; inset:0; pointer-events:none; opacity:.8;
  background-image:linear-gradient(rgba(255,255,255,.032) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.032) 1px,transparent 1px);
  background-size:44px 44px;
  -webkit-mask-image:linear-gradient(90deg,#000 0%,rgba(0,0,0,.62) 56%,transparent 90%);
  mask-image:linear-gradient(90deg,#000 0%,rgba(0,0,0,.62) 56%,transparent 90%);
}
.db-scan{
  position:absolute; top:0; bottom:0; left:-34%; width:32%; z-index:1; pointer-events:none;
  background:linear-gradient(90deg,transparent,rgba(255,90,30,.055) 46%,rgba(255,197,61,.03) 60%,transparent);
  animation:dbScan 11s linear infinite;
}
@keyframes dbScan{0%{left:-36%}100%{left:114%}}
.db-watermark{
  position:absolute; right:14px; bottom:-20px; z-index:1; pointer-events:none; white-space:nowrap;
  font-family:"DIN Alternate",Arial,sans-serif; font-size:clamp(72px,8vw,116px); line-height:1;
  font-weight:900; letter-spacing:-4px; color:rgba(255,255,255,.03);
}
.db-watermark span{color:rgba(255,90,30,.08); margin-left:6px}
.db-hero-body{position:relative; z-index:3; display:grid; grid-template-columns:minmax(0,1fr) 290px; gap:20px; align-items:stretch}
.db-hero-left{min-width:0; display:flex; flex-direction:column; justify-content:center}
.db-eyebrow{display:flex; align-items:center; flex-wrap:wrap; gap:7px; font-family:"DIN Alternate",Arial,sans-serif;
  font-size:9.6px; font-weight:700; letter-spacing:2.2px; color:#83909D; white-space:nowrap}
.db-eyebrow i{font-style:normal; color:#39424C; letter-spacing:0}
.db-eyebrow b{color:#D1D9E1; font-size:10px; letter-spacing:1.4px}
.db-eyebrow em{font-style:normal; margin-left:2px; padding:1px 4px; border:1px solid rgba(255,90,30,.28);
  border-radius:2px; color:#FF9A69; font-size:8.5px; letter-spacing:1px; background:rgba(255,90,30,.06)}
.db-live-dot{width:6px; height:6px; border-radius:50%; background:var(--db-orange);
  box-shadow:0 0 0 0 rgba(255,90,30,.5); animation:dbPulse 1.9s infinite; flex:0 0 auto}
@keyframes dbPulse{0%{box-shadow:0 0 0 0 rgba(255,90,30,.5)}70%{box-shadow:0 0 0 8px rgba(255,90,30,0)}100%{box-shadow:0 0 0 0 rgba(255,90,30,0)}}
.db-startlights{display:flex; align-items:center; gap:8px; margin-top:10px}
.db-startlights>span{font-family:"DIN Alternate",Arial,sans-serif; font-size:8.8px; letter-spacing:1.4px; color:#6B7784}
.db-startlights>b{font-family:"DIN Alternate",Arial,sans-serif; font-size:8.8px; letter-spacing:1px; color:#B9825B}
.db-lamps{display:inline-flex; gap:4px; padding:3px 5px; border:1px solid rgba(255,255,255,.08); border-radius:3px; background:#07090B}
.db-lamps i{display:block; width:7px; height:7px; border-radius:50%; background:#21160F; border:1px solid rgba(255,120,60,.18)}
.db-lamps.armed i:nth-child(2),.db-lamps.armed i:nth-child(4){background:#FF5A1E; box-shadow:0 0 7px rgba(255,90,30,.7)}
.db-lamps.green i{background:#2F3A31; border-color:rgba(77,224,164,.16)}
.db-lamps.green i:nth-child(3){background:#4DE0A4; box-shadow:0 0 9px rgba(77,224,164,.75)}
.db-hero h1{margin:12px 0 6px; font-size:clamp(29px,3vw,42px); line-height:1.03; font-weight:900;
  letter-spacing:-1.2px; color:#F1F5F8}
.db-hero h1 span{
  margin-left:0; color:#FF7A45; text-shadow:0 0 30px rgba(255,90,30,.28);
  background:linear-gradient(95deg,#FFB57A,#FF5A1E 72%); -webkit-background-clip:text; background-clip:text;
  -webkit-text-fill-color:transparent;
}
.db-hero p{margin:0; max-width:620px; font-size:13px; line-height:1.62; color:#94A1AE; font-weight:400}
.db-season{margin-top:18px; max-width:760px}
.db-season-head{display:flex; align-items:baseline; justify-content:space-between; gap:10px;
  font-family:"DIN Alternate",Arial,sans-serif; font-size:12.5px; letter-spacing:1.1px; color:#747F8C}
.db-season-head b{font-size:12.5px; font-weight:700; letter-spacing:.9px; color:#B7C1CC}
.db-season-track{position:relative; display:grid; grid-template-columns:repeat(var(--n,5),minmax(0,1fr)); margin-top:12px}
.db-season-track::before{content:""; position:absolute; left:3px; right:3px; top:5px; height:1px;
  background:linear-gradient(90deg,rgba(255,255,255,.14),rgba(255,90,30,.34) 55%,rgba(255,197,61,.22))}
.db-season-node{position:relative; min-width:0; padding-top:16px; cursor:pointer}
.db-season-node>i{position:absolute; top:1px; left:0; width:8px; height:8px; border-radius:50%;
  background:#242C35; border:1px solid rgba(255,255,255,.16); z-index:1}
.db-season-node.open>i{background:var(--db-orange); border-color:rgba(255,90,30,.5); box-shadow:0 0 12px rgba(255,90,30,.7)}
.db-season-node.soon>i{background:var(--db-amber); border-color:rgba(255,197,61,.4); box-shadow:0 0 11px rgba(255,197,61,.55)}
.db-season-node.done>i{background:#3F4A56; border-color:rgba(255,255,255,.12)}
.db-season-idx{position:absolute; top:3px; right:2px; font-family:"DIN Alternate",Arial,sans-serif; font-size:10.5px; letter-spacing:.6px; color:#55606C}
.db-season-node>b{display:block; font-family:"DIN Alternate",Arial,sans-serif; font-size:14px; color:#CBD4DD; letter-spacing:.3px; line-height:1.15}
.db-season-node.open>b,.db-season-node.soon>b{color:#FFD49A}
.db-season-name{display:block; margin-top:2px; font-size:13px; color:#8E9AA7; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.db-season-node>em{display:block; margin-top:2px; font-style:normal; font-size:11.8px; letter-spacing:.4px; color:#66727F}
.db-season-node.open>em{color:#FF9464}
.db-season-node.soon>em{color:#C7A45A}
.db-season-node:hover .db-season-name{color:#D6DFE7}
.db-nextnote{margin-top:14px; display:flex; align-items:center; gap:7px; font-family:"DIN Alternate",Arial,sans-serif;
  font-size:12.5px; letter-spacing:.8px; color:#7A8692; white-space:nowrap; overflow:hidden}
.db-nextnote b{color:#D6DEE6; font-size:14px; letter-spacing:.4px; overflow:hidden; text-overflow:ellipsis}
.db-nextnote i{font-style:normal; color:#B4BFC9}
.db-nextnote em{font-style:normal; color:#FF9A69; letter-spacing:.5px; margin-left:auto}
.db-note-pulse{width:5px; height:5px; border-radius:50%; background:var(--db-amber); box-shadow:0 0 8px rgba(255,197,61,.6)}

.db-hero-right{position:relative; display:flex; flex-direction:column; justify-content:center; gap:10px;
  padding-left:20px; border-left:1px solid rgba(255,255,255,.065)}
.db-raceclock{position:relative; overflow:hidden; padding:12px 12px 10px; border:1px solid rgba(255,255,255,.085);
  border-radius:6px; background:linear-gradient(155deg,rgba(255,90,30,.07),rgba(7,9,12,.72))}
.db-raceclock::before{content:""; position:absolute; left:0; top:0; bottom:0; width:2px; background:var(--db-orange); box-shadow:0 0 10px rgba(255,90,30,.55)}
.db-clock-top{display:flex; align-items:flex-start; justify-content:space-between; gap:8px;
  font-family:"DIN Alternate",Arial,sans-serif; font-size:11.5px; letter-spacing:.8px; color:#8A96A3}
.db-clock-top span{line-height:1.2}
.db-clock-top b{color:#FFC98E; font-size:13px; letter-spacing:.7px; margin-top:0}
.db-clock-main{display:flex; align-items:baseline; gap:4px; margin-top:6px}
.db-clock-main em{font-style:normal; font-family:"DIN Alternate",Arial,sans-serif; font-size:15px; color:#FF9A69; letter-spacing:.4px}
.db-clock-main b{font-family:"DIN Alternate",Arial,sans-serif; font-size:46px; line-height:.95; font-weight:900; color:#FFF1E4; letter-spacing:-1px; text-shadow:0 0 22px rgba(255,90,30,.25)}
.db-clock-main span{font-family:"DIN Alternate",Arial,sans-serif; font-size:11.5px; letter-spacing:.7px; color:#8F9AA6; margin-left:2px}
.db-clock-meta{margin-top:5px; font-family:"DIN Alternate",Arial,sans-serif; font-size:12.5px; letter-spacing:.3px; color:#8A96A2; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.db-clock-sub{margin-top:4px; font-family:"DIN Alternate",Arial,sans-serif; font-size:19px; letter-spacing:1.4px; color:#FFD18E}
.db-cap{padding:10px 12px 9px; border:1px solid rgba(255,255,255,.085); border-radius:6px; background:rgba(5,8,11,.48)}
.db-cap-top{display:flex; align-items:center; justify-content:space-between; font-family:"DIN Alternate",Arial,sans-serif; font-size:11.5px; letter-spacing:.9px; color:#84909C}
.db-cap-top b{color:#E6EDF3; font-size:13px; letter-spacing:.4px}
.db-cap-bar{height:4px; margin-top:7px; border-radius:2px; background:rgba(255,255,255,.06); overflow:hidden}
.db-cap-bar i{display:block; height:100%; background:linear-gradient(90deg,#FF5A1E,#FFC53D); box-shadow:0 0 9px rgba(255,90,30,.45)}
.db-cap-meta{display:flex; align-items:center; justify-content:space-between; gap:8px; margin-top:5px; font-family:"DIN Alternate",Arial,sans-serif; font-size:11.5px; letter-spacing:.4px; color:#7B8794; white-space:nowrap}
.db-mini{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); border-top:1px solid rgba(255,255,255,.065); padding-top:9px}
.db-mini>div{text-align:center; border-right:1px solid rgba(255,255,255,.055)}
.db-mini>div:last-child{border-right:0}
.db-mini span{display:block; font-size:11.5px; letter-spacing:.5px; color:#7C8894; margin-bottom:3px}
.db-mini b{font-family:"DIN Alternate",Arial,sans-serif; font-size:18px; color:#DCE4EB}
.db-mini b.warn{color:#FFC53D}
.db-hero-foot{position:relative; z-index:3; display:flex; align-items:center; flex-wrap:wrap; gap:6px 14px; margin-top:16px; padding-top:11px; border-top:1px solid rgba(255,255,255,.065)}
.db-hero-foot span{display:inline-flex; align-items:center; gap:4px; font-family:"DIN Alternate",Arial,sans-serif; font-size:11.5px; letter-spacing:.9px; color:#6F7B88; white-space:nowrap}
.db-hero-foot i{width:4px; height:4px; border-radius:50%; background:var(--db-amber); box-shadow:0 0 6px rgba(255,197,61,.6)}
.db-hero-foot b{font-size:12.5px; color:#BCC7D1; letter-spacing:.3px}
.db-checker{position:absolute; left:0; right:0; bottom:0; height:4px; opacity:.32;
  background:repeating-linear-gradient(90deg,#fff 0 4px,#0A0C0E 4px 8px,#fff 8px 12px,#0A0C0E 12px 16px)}
.db-checker::after{content:""; position:absolute; inset:0; background:linear-gradient(90deg,rgba(255,90,30,.7),rgba(255,197,61,.35) 40%,transparent 75%)}

/* ---------------- KPI / LIVE PIT BOARD ---------------- */
.db-kpis{display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:9px}
.db-kpi{
  position:relative; overflow:hidden; min-height:113px; padding:11px 12px 11px; cursor:pointer;
  border:1px solid var(--db-line); border-radius:7px;
  background:linear-gradient(155deg,#141A21,#0A0D11);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.03);
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;
}
.db-kpi:hover{transform:translateY(-2px); border-color:rgba(255,90,30,.3); box-shadow:0 16px 32px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.05)}
.db-kpi::before{content:""; position:absolute; left:0; top:0; right:0; height:2px; background:linear-gradient(90deg,var(--k),transparent 65%); opacity:.72}
.db-kpi::after{content:""; position:absolute; width:100px; height:100px; right:-42px; bottom:-46px; border-radius:50%;
  background:radial-gradient(circle,rgba(255,90,30,.14),transparent 68%); pointer-events:none}
.db-kpi.orange{--k:#FF5A1E}
.db-kpi.gold{--k:#FFC53D}
.db-kpi.ice{--k:#78E1F5}
.db-kpi.steel{--k:#A9B5C2}
.db-kpi.gold::after{background:radial-gradient(circle,rgba(255,197,61,.13),transparent 68%)}
.db-kpi.ice::after{background:radial-gradient(circle,rgba(120,225,245,.1),transparent 68%)}
.db-kpi.steel::after{background:radial-gradient(circle,rgba(169,181,194,.1),transparent 68%)}
.db-kpi-top{display:flex; align-items:center; gap:6px}
.db-kpi-idx{font-family:"DIN Alternate",Arial,sans-serif; font-size:10px; letter-spacing:1.2px; color:#65717E}
.db-kpi-tag{font-family:"DIN Alternate",Arial,sans-serif; font-size:9px; letter-spacing:.8px; color:#7A8794; padding:1px 3px; border:1px solid rgba(255,255,255,.07); border-radius:2px}
.db-kpi-dot{width:5px; height:5px; margin-left:auto; border-radius:50%; background:#3A424C}
.db-kpi.orange .db-kpi-dot{background:var(--k); box-shadow:0 0 8px rgba(255,90,30,.7)}
.db-kpi.gold .db-kpi-dot{background:var(--k); box-shadow:0 0 8px rgba(255,197,61,.6)}
.db-kpi.ice .db-kpi-dot{background:var(--k); box-shadow:0 0 8px rgba(120,225,245,.5)}
.db-kpi-label{margin-top:9px; display:flex; align-items:baseline; justify-content:space-between; gap:6px; font-size:13px; color:#95A2AF; letter-spacing:.5px}
.db-kpi-label em{font-style:normal; font-family:"DIN Alternate",Arial,sans-serif; font-size:10px; letter-spacing:1.1px; color:#6B7885; white-space:nowrap}
.db-kpi-val{display:flex; align-items:baseline; gap:4px; margin-top:3px; min-width:0}
.db-kpi-val b{font-family:"DIN Alternate",Arial,sans-serif; font-size:25px; line-height:1; font-weight:900; color:#F3F7FA; letter-spacing:-.5px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.db-kpi-val b.money{font-size:20px; letter-spacing:-.3px}
.db-kpi-val b{color:var(--k); text-shadow:0 0 18px rgba(255,255,255,.04)}
.db-kpi.steel .db-kpi-val b{color:#DCE4EB}
.db-kpi-val span{font-family:"DIN Alternate",Arial,sans-serif; font-size:10px; color:#7E8C99; letter-spacing:.7px; white-space:nowrap}
.db-kpi-sub{margin-top:6px; font-size:11px; color:#82909D; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.db-kpi-rail{position:absolute; left:12px; right:12px; bottom:8px; display:flex; align-items:center; gap:3px}
.db-kpi-rail i{display:block; height:2px; flex:1; background:linear-gradient(90deg,var(--k),rgba(255,255,255,.05)); opacity:.4}
.db-kpi-rail i:nth-child(2){opacity:.24}
.db-kpi-rail i:nth-child(3){opacity:.14}
.db-kpi-rail span{margin-left:2px; font-family:"DIN Alternate",Arial,sans-serif; font-size:10px; color:#7C8A97}

/* ---------------- MAIN / LAP TRACE + NEXT RACE ---------------- */
.db-main{display:grid; grid-template-columns:minmax(0,1.62fr) minmax(260px,.8fr); gap:12px; align-items:stretch}
.db-head{display:flex; align-items:flex-start; justify-content:space-between; gap:10px; padding:13px 15px 0}
.db-kicker{font-family:"DIN Alternate",Arial,sans-serif; font-size:11px; letter-spacing:1.8px; color:#5B6774; margin-bottom:4px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.db-title{font-size:17px; line-height:1.2; font-weight:800; color:#EDF2F6; letter-spacing:.2px}
.db-head-meta{display:flex; align-items:center; gap:7px; padding-top:2px; font-family:"DIN Alternate",Arial,sans-serif; font-size:11px; color:#62707D; white-space:nowrap}
.db-pill{display:inline-flex; align-items:center; height:23px; padding:0 8px; border:1px solid rgba(255,255,255,.09); border-radius:2px;
  font-size:11px; letter-spacing:.9px; color:#8C98A5; background:rgba(255,255,255,.025)}
.db-pill.hot{border-color:rgba(255,90,30,.3); color:#FF9E72; background:rgba(255,90,30,.06)}
.db-pill.warn{border-color:rgba(255,197,61,.27); color:#FFD07A; background:rgba(255,197,61,.05)}
.db-chart{padding:4px 12px 0}
.db-chart svg{display:block; width:100%; height:auto; min-height:138px}
.db-chart-x{display:grid; grid-template-columns:repeat(var(--n,7),minmax(0,1fr)); padding:1px 10px 0 34px;
  font-family:"DIN Alternate",Arial,sans-serif; font-size:8.8px; color:#545F6C; text-align:center}
.db-trend-foot{display:flex; align-items:stretch; margin:10px 15px 13px; padding-top:9px; border-top:1px solid rgba(255,255,255,.06)}
.db-trend-foot>div{padding:0 12px; border-right:1px solid rgba(255,255,255,.055)}
.db-trend-foot>div:first-child{padding-left:0}
.db-trend-foot .grow{flex:1; text-align:right; border-right:0; padding-right:0}
.db-trend-foot span{display:block; font-size:8.8px; letter-spacing:1.1px; color:#5F6B78; margin-bottom:3px}
.db-trend-foot b{font-family:"DIN Alternate",Arial,sans-serif; font-size:16px; color:#E9EEF3}
.db-trend-foot b.up{font-size:10.5px; color:#FFAF85}
.db-trend-foot b.down{font-size:10.5px; color:#78E1F5}

.db-next{display:flex; flex-direction:column}
.db-next-media{position:relative; flex:1 1 auto; min-height:124px; background-color:#11161B; background-size:cover; background-position:center 44%;
  border-bottom:1px solid rgba(255,255,255,.07); overflow:hidden}
.db-next-media::after{content:""; position:absolute; inset:0; background-image:linear-gradient(rgba(255,255,255,.03) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.03) 1px,transparent 1px); background-size:28px 28px; opacity:.5; pointer-events:none}
.db-next-media-top{position:absolute; left:11px; right:11px; top:10px; display:flex; align-items:center; justify-content:space-between; z-index:2; font-family:"DIN Alternate",Arial,sans-serif; font-size:8.5px; letter-spacing:1.2px; color:#B6C1CB}
.db-next-media-top b{color:#FFC58B; font-size:9.2px; letter-spacing:1px; padding:1px 4px; border:1px solid rgba(255,197,61,.24); background:rgba(255,197,61,.06)}
.db-next-date{position:absolute; left:11px; bottom:9px; z-index:2; display:flex; align-items:baseline; gap:5px}
.db-next-date em{font-style:normal; font-family:"DIN Alternate",Arial,sans-serif; font-size:9.2px; letter-spacing:1.3px; color:#FFD18E}
.db-next-date b{font-family:"DIN Alternate",Arial,sans-serif; font-size:30px; line-height:.9; font-weight:900; color:#F9F3EA; letter-spacing:-1px; text-shadow:0 0 18px rgba(0,0,0,.4)}
.db-next-state{position:absolute; right:11px; bottom:10px; z-index:2; display:inline-flex; align-items:center; gap:4px;
  padding:2px 5px; border:1px solid rgba(77,224,164,.24); background:rgba(77,224,164,.06); border-radius:2px;
  font-family:"DIN Alternate",Arial,sans-serif; font-size:8px; letter-spacing:.8px; color:#7BE0B2}
.db-next-state i{width:3px; height:3px; border-radius:50%; background:var(--db-green); box-shadow:0 0 6px rgba(77,224,164,.7)}
.db-next-body{padding:10px 12px 12px; display:flex; flex-direction:column; flex:0 0 auto; min-height:0}
.db-next-k{font-family:"DIN Alternate",Arial,sans-serif; font-size:8.5px; letter-spacing:1px; color:#57626F}
.db-next-body h3{margin:3px 0 2px; font-size:15px; line-height:1.2; font-weight:800; color:#EEF3F7; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.db-next-body p{margin:0; font-size:9.6px; line-height:1.45; color:#697582; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.db-next-stats{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:5px; margin-top:8px; padding-top:7px; border-top:1px solid rgba(255,255,255,.06)}
.db-next-stats span{display:block; font-size:8.5px; letter-spacing:.6px; color:#586470; margin-bottom:2px}
.db-next-stats b{display:block; font-family:"DIN Alternate",Arial,sans-serif; font-size:10.5px; color:#BFD0DC; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.db-next-stats b.hot{color:#FF9A69}
.db-next-cap{margin-top:7px}
.db-next-cap-top{display:flex; align-items:center; justify-content:space-between; font-family:"DIN Alternate",Arial,sans-serif; font-size:8.5px; color:#5C6874}
.db-next-cap-top b{color:#FFD08E}
.db-btn{display:inline-flex; align-items:center; justify-content:center; gap:4px; height:27px; padding:0 10px;
  border:1px solid rgba(255,255,255,.1); border-radius:3px; background:rgba(255,255,255,.03); color:#AAB5C0;
  font-size:10px; letter-spacing:.3px; cursor:pointer; transition:.15s; white-space:nowrap}
.db-btn:hover{border-color:rgba(255,120,60,.36); color:#F1F4F7}
.db-btn.primary{margin-top:9px; height:29px; border-color:rgba(255,90,30,.55); color:#1A0E06; font-weight:800;
  background:linear-gradient(180deg,#FFB36E,#FF5A1E); box-shadow:0 6px 18px rgba(255,90,30,.18)}
.db-btn.primary:hover{filter:brightness(1.06); border-color:#FFC27C}
.db-btn.ghost{height:23px; padding:0 8px; font-size:9.2px; color:#7F8B98; background:transparent}

/* ---------------- LOWER / STANDINGS + QUEUE + CALENDAR ---------------- */
.db-lower{display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; align-items:stretch}
.db-rank{grid-column:1/-1}
.db-queue,.db-cal{display:flex; flex-direction:column; min-width:0}
.db-queue-list,.db-cal-list{flex:1; display:flex; flex-direction:column; justify-content:space-around}
.db-rank-legend{display:grid; grid-template-columns:26px 30px minmax(0,1fr) 58px; gap:8px; padding:8px 15px 3px;
  font-family:"DIN Alternate",Arial,sans-serif; font-size:8.8px; letter-spacing:.7px; color:#45505C}
.db-rank-legend span:nth-child(3){grid-column:3/4}
.db-rank-legend span:last-child{text-align:right}
.db-rank-list{padding:2px 15px 10px}
.db-rank-row{display:grid; grid-template-columns:26px 28px minmax(0,1fr) minmax(42px,.55fr) 58px; align-items:center; gap:8px; padding:8px 0; border-bottom:1px solid rgba(255,255,255,.045)}
.db-rank-row:last-child{border-bottom:0}
.db-rank-no{font-family:"DIN Alternate",Arial,sans-serif; font-size:12px; color:#58636F; letter-spacing:.5px}
.db-rank-row.p1 .db-rank-no{color:#FFD166}
.db-rank-row.p2 .db-rank-no{color:#BFC9D3}
.db-rank-row.p3 .db-rank-no{color:#D39A71}
.db-rank-ava{width:27px; height:27px; border-radius:50%; overflow:hidden; display:flex; align-items:center; justify-content:center;
  border:1px solid rgba(255,255,255,.14); background:linear-gradient(135deg,#343C46,#171B20); font-size:11px; font-weight:800; color:#C0C9D2}
.db-rank-row.p1 .db-rank-ava{border-color:rgba(255,197,61,.44); box-shadow:0 0 10px rgba(255,197,61,.12)}
.db-rank-ava img{width:100%; height:100%; object-fit:cover; display:block}
.db-rank-info{min-width:0}
.db-rank-info b{display:block; font-size:13px; color:#E3E9EF; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.db-rank-info i{display:block; margin-top:2px; font-style:normal; font-size:10.2px; color:#5F6B78; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.db-rank-track{height:3px; background:rgba(255,255,255,.055); border-radius:2px; overflow:hidden}
.db-rank-track i{display:block; height:100%; background:linear-gradient(90deg,rgba(255,90,30,.55),#FFC53D); border-radius:2px}
.db-rank-row.p1 .db-rank-track i{background:linear-gradient(90deg,#FFB342,#FFF0B0); box-shadow:0 0 8px rgba(255,197,61,.25)}
.db-rank-pts{font-family:"DIN Alternate",Arial,sans-serif; font-size:14.5px; color:#E8EEF4; text-align:right}
.db-rank-pts em{display:block; margin-top:1px; font-style:normal; font-size:8.2px; letter-spacing:.8px; color:#4F5A66}

.db-queue-list{padding:9px 15px 0}
.db-queue-row{display:grid; grid-template-columns:54px minmax(0,1fr) 34px 12px; align-items:center; gap:8px; padding:10px 0;
  border-bottom:1px solid rgba(255,255,255,.045); cursor:pointer; transition:.18s}
.db-queue-row:hover{padding-left:3px}
.db-queue-row:last-child{border-bottom:0}
.db-queue-code{font-family:"DIN Alternate",Arial,sans-serif; font-size:10.5px; letter-spacing:1px; color:#58636F}
.db-queue-name{font-size:13px; color:#ADB8C4; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.db-queue-n{font-family:"DIN Alternate",Arial,sans-serif; font-size:19px; color:#66717E; text-align:right}
.db-queue-n.warn{color:#FFC53D}
.db-queue-ar{font-size:15px; color:#414B57; text-align:right}
.db-queue-foot{display:flex; align-items:center; gap:6px; margin:8px 15px 10px; padding-top:7px; border-top:1px dashed rgba(255,255,255,.07);
  font-size:11px; color:#505C68; letter-spacing:.3px}
.db-queue-foot i{width:4px; height:4px; border-radius:50%; background:#FF5A1E; box-shadow:0 0 7px rgba(255,90,30,.5); margin-left:auto}

.db-cal-list{padding:8px 13px 9px}
.db-cal-row{display:grid; grid-template-columns:40px minmax(0,1fr) 46px 56px; align-items:center; gap:7px; padding:9px 0;
  border-bottom:1px solid rgba(255,255,255,.045); cursor:pointer; transition:.18s}
.db-cal-row:last-child{border-bottom:0}
.db-cal-row:hover{background:rgba(255,255,255,.018)}
.db-cal-date{display:flex; flex-direction:column; align-items:flex-start; gap:1px}
.db-cal-date b{font-family:"DIN Alternate",Arial,sans-serif; font-size:10px; font-weight:700; letter-spacing:.7px; color:#FFA071}
.db-cal-date i{font-style:normal; font-family:"DIN Alternate",Arial,sans-serif; font-size:19px; line-height:1; color:#DCE4EB}
.db-cal-row.soon .db-cal-date b{color:#FFC53D}
.db-cal-row.past .db-cal-date b{color:#5B6673}
.db-cal-info{min-width:0}
.db-cal-info b{display:block; font-size:13px; color:#D7DFE7; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.db-cal-info i{display:block; margin-top:2px; font-style:normal; font-size:10.5px; color:#596571; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.db-cal-bar{height:3px; background:rgba(255,255,255,.055); border-radius:2px; overflow:hidden}
.db-cal-bar i{display:block; height:100%; background:linear-gradient(90deg,#FF5A1E,#FFC53D); border-radius:2px}
.db-cal-n{font-family:"DIN Alternate",Arial,sans-serif; font-size:12px; color:#9BA7B3; text-align:right; white-space:nowrap}
.db-cal-n em{font-style:normal; font-size:9.5px; color:#515C68}

/* ---------------- ROUTE LOG ---------------- */
.db-route-body{display:grid; grid-template-columns:230px minmax(0,1fr) minmax(0,1fr); gap:16px; padding:13px 15px 15px}
.db-route-main{padding-right:15px; border-right:1px solid rgba(255,255,255,.055)}
.db-route-k{font-family:"DIN Alternate",Arial,sans-serif; font-size:10.5px; letter-spacing:1.3px; color:#57636F}
.db-route-total{display:flex; align-items:baseline; gap:6px; margin-top:6px}
.db-route-total b{font-family:"DIN Alternate",Arial,sans-serif; font-size:37px; line-height:1; font-weight:900; color:#FF8A55; letter-spacing:-1px; text-shadow:0 0 22px rgba(255,90,30,.2)}
.db-route-total span{font-family:"DIN Alternate",Arial,sans-serif; font-size:11px; letter-spacing:1.1px; color:#6D7986}
.db-route-stats{display:flex; gap:18px; margin-top:12px}
.db-route-stats span{display:block; font-size:10.5px; letter-spacing:.6px; color:#57636F; margin-bottom:2px}
.db-route-stats b{font-family:"DIN Alternate",Arial,sans-serif; font-size:16px; color:#D9E2EA}
.db-route-stats i{font-style:normal; font-size:10px; color:#63707C; margin-left:2px}
.db-route-line{display:flex; align-items:center; gap:6px; margin-top:13px; font-family:"DIN Alternate",Arial,sans-serif; font-size:10px; letter-spacing:.7px; color:#4E5A66}
.db-route-line i{flex:1; height:1px; background:linear-gradient(90deg,rgba(255,90,30,.65),rgba(255,197,61,.28)); position:relative}
.db-route-line i::after{content:""; position:absolute; right:0; top:-2px; width:5px; height:5px; border-radius:50%; background:var(--db-amber); box-shadow:0 0 8px rgba(255,197,61,.6)}
.db-route-col{min-width:0}
.db-subhead{display:flex; align-items:baseline; justify-content:space-between; gap:6px; margin-bottom:10px; font-size:12px; letter-spacing:.5px; color:#96A2AE}
.db-subhead span{font-size:10px; color:#505C68; letter-spacing:.3px}
.db-mrow{display:grid; grid-template-columns:70px minmax(0,1fr) 92px; align-items:center; gap:6px; margin-bottom:9px}
.db-mrow-n{font-size:11.5px; color:#8793A0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.db-mrow-track{height:3px; background:rgba(255,255,255,.05); border-radius:2px; overflow:hidden}
.db-mrow-track i{display:block; height:100%; border-radius:2px; background:linear-gradient(90deg,rgba(255,90,30,.7),rgba(255,197,61,.9))}
.db-mrow-track.ice i{background:linear-gradient(90deg,rgba(120,225,245,.55),rgba(120,225,245,.95))}
.db-mrow-v{font-family:"DIN Alternate",Arial,sans-serif; font-size:12px; color:#CDD7E0; text-align:right; white-space:nowrap}
.db-mrow-v em{font-style:normal; font-size:9.5px; color:#5D6975; margin-left:1px}

.db-footline{display:flex; align-items:center; justify-content:space-between; gap:10px; padding:1px 3px 4px;
  font-family:"DIN Alternate",Arial,sans-serif; font-size:10px; letter-spacing:1.2px; color:#3E4854}
.db-footline span:last-child{color:#5D6875}

/* ---------------- MOTION ---------------- */
@keyframes dbIn{from{opacity:0; transform:translateY(8px)}to{opacity:1; transform:none}}
.db-hero,.db-kpis,.db-main,.db-lower,.db-route{animation:dbIn .48s ease both}
.db-kpis{animation-delay:.05s}.db-main{animation-delay:.1s}.db-lower{animation-delay:.15s}.db-route{animation-delay:.2s}

/* ---------------- RESPONSIVE ---------------- */
@media (min-width:1400px){
  .db-lower{grid-template-columns:repeat(3,minmax(0,1fr))}
  .db-rank{grid-column:auto}
}
@media (max-width:1080px){
  .db-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
  .db-main{grid-template-columns:minmax(0,1.42fr) minmax(242px,.8fr)}
  .db-route-body{grid-template-columns:180px minmax(0,1fr) minmax(0,1fr)}
}
@media (max-width:960px){
  .db-hero{padding:18px 18px 12px}
  .db-hero-body{grid-template-columns:1fr; gap:13px}
  .db-hero-right{border-left:0; border-top:1px solid rgba(255,255,255,.065); padding:12px 0 0;
    display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:8px; align-items:stretch}
  .db-mini{grid-column:1/-1; margin-top:0}
  .db-hero-photo{width:54%}
  .db-main{grid-template-columns:1fr}
  .db-route-body{grid-template-columns:160px minmax(0,1fr) minmax(0,1fr)}
}
@media (max-width:880px){
  .db-lower{grid-template-columns:1fr}
  .db-rank,.db-queue,.db-cal{grid-column:auto}
  .db-route-body{grid-template-columns:1fr; gap:10px; padding:10px 13px 12px}
  .db-route-main{border-right:0; border-bottom:1px solid rgba(255,255,255,.055); padding:0 0 10px}
}
@media (max-width:760px){
  .db-shell{gap:10px}
  .db-hero{padding:14px 13px 10px; min-height:0}
  .db-hero h1{margin-top:10px; font-size:29px}
  .db-hero p{font-size:12.5px; line-height:1.58}
  .db-startlights{gap:6px}
  .db-season{margin-top:14px}
  .db-season-head{font-size:12px; letter-spacing:.7px}
  .db-season-head b{font-size:12px}
  .db-season-node>b{font-size:13.5px}
  .db-season-name{font-size:12.5px; letter-spacing:0; padding-right:0}
  .db-season-node>em{font-size:11.5px}
  .db-season-idx{display:none}
  .db-hero-right{grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:8px; padding-top:10px}
  .db-mini{display:grid; grid-column:1/-1; border-top:1px solid rgba(255,255,255,.065); padding-top:9px}
  .db-raceclock{padding:10px 10px 9px}
  .db-clock-top{font-size:10.8px; letter-spacing:.5px}
  .db-clock-top b{font-size:12px}
  .db-clock-main{flex-wrap:wrap}
  .db-clock-main span{flex-basis:100%; margin:2px 0 0}
  .db-clock-main b{font-size:42px}
  .db-clock-sub{font-size:18px}
  .db-hero-foot{gap:6px 12px; margin-top:14px; padding-top:10px}
  .db-hero-foot span{font-size:11.5px}
  .db-kpis{gap:8px}
  .db-kpi{min-height:112px; padding:10px 11px 10px}
  .db-kpi-label{font-size:12px; margin-top:8px}
  .db-kpi-label em{font-size:9.5px}
  .db-kpi-val b{font-size:24px}
  .db-kpi-val b.money{font-size:18px}
  .db-kpi-sub{font-size:10.5px}
  .db-head{padding:11px 13px 0}
  .db-title{font-size:15px}
  .db-kicker{font-size:10px}
  .db-chart{padding:3px 10px 0}
  .db-trend-foot{margin:9px 13px 12px}
  .db-trend-foot>div{padding:0 9px}
  .db-next-media{min-height:116px}
  .db-lower{gap:10px}
  .db-route-body{grid-template-columns:1fr; gap:10px; padding:10px 13px 12px}
  .db-route-main{border-right:0; border-bottom:1px solid rgba(255,255,255,.055); padding:0 0 10px}
  .db-route-line{margin-top:8px}
  .db-route-total b{font-size:34px}
  .db-route-stats{margin-top:8px}
  .db-mrow{margin-bottom:6px}
  .db-cal-list{padding:7px 13px 7px}
  .db-cal-row{padding:6px 0}
  .db-footline{font-size:9.2px; letter-spacing:.9px}
}
@media (max-width:520px){
  .db-hero h1{font-size:27px}
  .db-hero-right{grid-template-columns:1fr}
  .db-mini{grid-column:auto; border-top:0; padding-top:0}
  .db-hero-foot span:nth-child(n+3){display:none}
  .db-kpis{grid-template-columns:1fr 1fr}
  .db-kpi-label em{display:none}
  .db-kpi-val b{font-size:22px}
  .db-kpi-val b.money{font-size:17px}
  .db-next-stats{grid-template-columns:1fr 1fr}
  .db-next-stats>div:last-child{grid-column:1/-1}
  .db-rank-legend{grid-template-columns:24px 26px minmax(0,1fr) 48px}
  .db-rank-row{grid-template-columns:24px 26px minmax(0,1fr) 48px; gap:6px}
  .db-rank-track{display:none}
  .db-cal-row{grid-template-columns:31px minmax(0,1fr) 38px}
  .db-cal-bar{display:none}
  .db-footline span:nth-child(2){display:none}
}
@media (prefers-reduced-motion:reduce){
  .db-scan,.db-live-dot{animation:none}
  .db-hero,.db-kpis,.db-main,.db-lower,.db-route{animation:none}
  .db-kpi{transition:none}
}

/* ---------------- STORE OPS (mall role) ---------------- */
.db-lower.solo{grid-template-columns:1fr}
.db-lower.solo .db-queue{grid-column:1/-1}
.db-store-panel{display:flex; flex-direction:column}
.db-store-body{padding:10px 15px 2px}
.db-store-bar{display:grid; grid-template-columns:84px minmax(0,1fr) 34px; align-items:center; gap:10px; padding:7px 0}
.db-store-bar>span{font-size:12px; color:#95A2AF; white-space:nowrap}
.db-store-bar>i{display:block; height:5px; background:rgba(255,255,255,.06); border-radius:3px; overflow:hidden}
.db-store-bar>i>em{display:block; height:100%; border-radius:3px; background:linear-gradient(90deg,#FF5A1E,#FFC53D)}
.db-store-bar>i>em.gold{background:linear-gradient(90deg,rgba(255,197,61,.55),#FFC53D)}
.db-store-bar>i>em.red{background:linear-gradient(90deg,rgba(255,90,30,.45),#FF7A70)}
.db-store-bar>i>em.green{background:linear-gradient(90deg,rgba(77,224,164,.45),#4DE0A4)}
.db-store-bar>b{font-family:"DIN Alternate",Arial,sans-serif; font-size:15px; color:#DCE4EB; text-align:right}
.db-store-recent{margin:10px 15px 12px; padding-top:8px; border-top:1px solid rgba(255,255,255,.065); flex:1}
.db-store-recent-head{display:flex; align-items:center; justify-content:space-between; padding-bottom:5px; font-family:"DIN Alternate",Arial,sans-serif; font-size:9.4px; letter-spacing:1.1px; color:#5F6B78}
.db-store-recent-head b{font-family:inherit; font-size:11px; letter-spacing:.3px; color:#9AA6B2; font-weight:600}
.db-store-row{display:grid; grid-template-columns:92px minmax(0,1fr) 72px 66px; align-items:center; gap:8px; padding:7px 0; border-bottom:1px solid rgba(255,255,255,.045)}
.db-store-row:last-child{border-bottom:0}
.db-store-no{font-family:"DIN Alternate",Arial,sans-serif; font-size:10.5px; letter-spacing:.4px; color:#7B8794; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.db-store-buyer{font-size:12px; color:#C1CBD4; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.db-store-state{font-size:10.5px; color:#FFC53D; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.db-store-state.st-shipping{color:#FF9A69}
.db-store-state.st-aftersale{color:#FF8A80}
.db-store-state.st-done{color:#63DCA8}
.db-store-amt{font-family:"DIN Alternate",Arial,sans-serif; font-size:12.5px; color:#E8EEF4; text-align:right; white-space:nowrap}
@media (max-width:960px){
  .db-store-row{grid-template-columns:78px minmax(0,1fr) 64px 58px}
}

/* ---------------- DASHBOARD DRIVE MODE ---------------- */
.db-modebar{
  display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap;
  padding:8px 11px 8px 13px; border:1px solid var(--db-line); border-radius:9px;
  background:
    linear-gradient(90deg,rgba(255,255,255,.035),rgba(255,255,255,.012) 38%,transparent 80%),
    #090C0F;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035);
}
.db-modebar-id{display:flex; align-items:baseline; gap:9px; min-width:0}
.db-modebar-id span{font-family:"DIN Alternate",Arial,sans-serif; font-size:9px; letter-spacing:1.35px; color:#66727E; white-space:nowrap}
.db-modebar-id b{font-family:"DIN Alternate",Arial,sans-serif; font-size:11px; letter-spacing:.9px; color:#B9C4CE; font-weight:600; white-space:nowrap}
.db-mode-switch{display:flex; align-items:center; gap:2px; padding:3px; border:1px solid rgba(255,255,255,.075); border-radius:8px; background:#06080A}
.db-mode-btn{
  position:relative; display:flex; align-items:center; gap:6px; min-height:29px; padding:3px 9px 3px 4px;
  border:0; border-radius:5px; background:transparent; color:#74808C; cursor:pointer;
  transition:background .16s,color .16s,box-shadow .16s;
}
.db-mode-btn:hover{color:#B7C1CB; background:rgba(255,255,255,.035)}
.db-mode-btn.on{
  color:#F5F8FA;
  background:linear-gradient(180deg,rgba(255,90,30,.20),rgba(255,90,30,.055));
  box-shadow:inset 0 0 0 1px rgba(255,90,30,.34);
}
.db-mode-badge{
  display:grid; place-items:center; width:20px; height:20px; border-radius:3px;
  background:#141A1F; border:1px solid rgba(255,255,255,.075); color:#75818D;
  font-family:"DIN Alternate",Arial,sans-serif; font-size:12px; font-weight:900; line-height:1;
}
.db-mode-btn.on .db-mode-badge{background:var(--db-orange); color:#080A0C; box-shadow:0 0 12px rgba(255,90,30,.34)}
.db-mode-btn b{font-size:11.5px; letter-spacing:.2px; font-weight:600; white-space:nowrap}
.db-mode-btn em{font-style:normal; font-family:"DIN Alternate",Arial,sans-serif; font-size:8px; letter-spacing:1.1px; color:#5D6874; white-space:nowrap}
.db-mode-btn.on em{color:rgba(255,255,255,.62)}
.sp-shell .db-modebar-id b{color:#FF8078}
.sp-shell .db-mode-btn.on{background:linear-gradient(180deg,rgba(255,59,48,.24),rgba(255,59,48,.06)); box-shadow:inset 0 0 0 1px rgba(255,59,48,.42)}
.sp-shell .db-mode-btn.on .db-mode-badge{background:#FF3B30; color:#0A0708; box-shadow:0 0 14px rgba(255,59,48,.42)}

/* ---------------- SPORT MODE / RACE TELEMETRY CONSOLE ---------------- */
.sp-shell{
  --sp-red:#FF4B3E;
  --sp-cyan:#3FD8FF;
  --sp-lime:#B8F25A;
  --sp-amber:#FFB648;
  --sp-violet:#B795FF;
  --sp-text:#E8F0F6;
  --sp-mut:#74818E;
  --sp-line:rgba(255,255,255,.085);
  --sp-panel:#0B1014;
  display:flex; flex-direction:column; gap:12px; padding-bottom:10px;
  color:var(--sp-text); font-variant-numeric:tabular-nums;
}
.sp-shell button{font-family:inherit}
.sp-panel{position:relative; overflow:hidden; border:1px solid var(--sp-line); border-radius:7px;
  background:linear-gradient(180deg,rgba(16,23,29,.94),rgba(8,12,15,.97));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035)}
.sp-head{display:flex; align-items:flex-start; justify-content:space-between; gap:10px; padding:11px 13px 8px; border-bottom:1px solid rgba(255,255,255,.055)}
.sp-kicker{font-family:"DIN Alternate",Arial,sans-serif; font-size:8px; letter-spacing:1.35px; color:#62707D}
.sp-head h2{margin:4px 0 0; font-size:14px; line-height:1.15; font-weight:800; color:#EAF2F8; letter-spacing:.2px}
.sp-pill{padding:2px 6px; border:1px solid rgba(255,75,62,.28); border-radius:2px; background:rgba(255,75,62,.075); color:#FF837A; font-family:"DIN Alternate",Arial,sans-serif; font-size:8px; letter-spacing:.9px; white-space:nowrap}
.sp-pill.demo{border-color:rgba(255,182,72,.25); background:rgba(255,182,72,.065); color:#FFCE7D}
.sp-pill.live{border-color:rgba(63,216,255,.28); background:rgba(63,216,255,.07); color:#8CE9FF}

/* command / broadcast HUD */
.sp-command{position:relative; overflow:hidden; border:1px solid rgba(255,255,255,.11); border-radius:8px;
  background:
    radial-gradient(700px 300px at 82% -10%,rgba(255,75,62,.19),transparent 64%),
    radial-gradient(420px 240px at 2% 112%,rgba(63,216,255,.055),transparent 72%),
    linear-gradient(135deg,#10161B 0%,#080B0E 56%,#0D0709 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.055),0 22px 60px rgba(0,0,0,.42)}
.sp-command::before{content:""; position:absolute; inset:0 0 auto; height:2px; z-index:5;
  background:linear-gradient(90deg,var(--sp-red) 0%,rgba(255,75,62,.34) 30%,rgba(63,216,255,.25) 62%,rgba(255,182,72,.30) 82%,transparent)}
.sp-command-bg{position:absolute; right:0; top:0; width:54%; height:100%; z-index:0; overflow:hidden; pointer-events:none}
.sp-command-bg img{width:100%; height:100%; object-fit:cover; object-position:center 45%; opacity:.34; filter:grayscale(.18) brightness(.82) saturate(.72) contrast(1.22); display:block}
.sp-command-bg::after{content:""; position:absolute; inset:0;
  background:linear-gradient(90deg,#0B0F13 0%,rgba(11,15,19,.94) 12%,rgba(11,15,19,.36) 52%,rgba(8,9,11,.10) 100%),
  linear-gradient(180deg,rgba(8,10,12,.12),rgba(8,10,12,.74))}
.sp-command-grid{position:absolute; inset:0; z-index:1; pointer-events:none; opacity:.62; background-image:
  linear-gradient(rgba(255,255,255,.03) 1px,transparent 1px),
  linear-gradient(90deg,rgba(255,255,255,.03) 1px,transparent 1px);
  background-size:38px 38px; -webkit-mask-image:linear-gradient(90deg,#000 0%,rgba(0,0,0,.72) 54%,transparent 92%); mask-image:linear-gradient(90deg,#000 0%,rgba(0,0,0,.72) 54%,transparent 92%)}
.sp-command-top{position:relative; z-index:3; display:flex; align-items:center; justify-content:space-between; gap:12px; padding:9px 16px; border-bottom:1px solid rgba(255,255,255,.06); background:linear-gradient(90deg,rgba(0,0,0,.28),rgba(0,0,0,.08))}
.sp-command-tag{display:flex; align-items:center; flex-wrap:wrap; gap:6px; font-family:"DIN Alternate",Arial,sans-serif; font-size:8.8px; letter-spacing:1.35px; color:#84919D}
.sp-command-tag .dot{width:5px; height:5px; border-radius:50%; background:var(--sp-red); box-shadow:0 0 8px rgba(255,75,62,.65)}
.sp-command-tag b{color:#FF7C72; font-size:9.2px}
.sp-command-tag i{font-style:normal; color:#414C57}
.sp-command-tag em{font-style:normal; padding:1px 5px; border:1px solid rgba(255,75,62,.3); background:rgba(255,75,62,.08); color:#FF857B; font-size:8.3px}
.sp-command-state{display:flex; align-items:center; gap:8px; font-family:"DIN Alternate",Arial,sans-serif; font-size:8.4px; letter-spacing:1.05px; color:#6F7B87; white-space:nowrap}
.sp-command-state b{padding:2px 7px; border:1px solid rgba(184,242,90,.24); background:rgba(184,242,90,.06); color:#CBF79A; font-size:8.8px}
.sp-command-body{position:relative; z-index:3; display:grid; grid-template-columns:minmax(0,1fr) 356px; align-items:start; gap:26px; padding:17px 20px 14px}
.sp-command-copy{min-width:0}
.sp-lights{display:flex; align-items:center; gap:8px; margin-bottom:8px; font-family:"DIN Alternate",Arial,sans-serif; font-size:8.4px; letter-spacing:1.15px; color:#6E7A86}
.sp-lamps{display:flex; gap:4px}
.sp-lamps i{width:9px; height:9px; border-radius:50%; background:#3A1414; box-shadow:inset 0 0 0 1px rgba(255,255,255,.09)}
.sp-lamps.armed i:nth-child(1),.sp-lamps.armed i:nth-child(2),.sp-lamps.armed i:nth-child(3){background:var(--sp-red); box-shadow:0 0 9px rgba(255,75,62,.55)}
.sp-lamps.green i{background:var(--sp-lime); box-shadow:0 0 10px rgba(184,242,90,.5)}
.sp-lights b{font-family:"DIN Alternate",Arial,sans-serif; font-size:8.8px; color:#FF7E75; letter-spacing:1.1px}
.sp-command h1{margin:0 0 9px; font-size:clamp(34px,3.3vw,46px); line-height:1; font-weight:900; letter-spacing:-1.4px; color:#F7FBFE}
.sp-command h1 span{color:var(--sp-red); text-shadow:0 0 32px rgba(255,75,62,.33)}
.sp-command p{margin:0; max-width:630px; font-size:12.4px; line-height:1.55; color:#95A2AF}
.sp-meta{display:flex; align-items:flex-start; flex-wrap:wrap; gap:6px; margin-top:12px}
.sp-meta div{display:flex; flex-direction:column; gap:2px; padding:5px 8px; border:1px solid rgba(255,255,255,.07); border-radius:3px; background:rgba(255,255,255,.02); min-width:0}
.sp-meta span{font-family:"DIN Alternate",Arial,sans-serif; font-size:7.3px; letter-spacing:1px; color:#61707D; white-space:nowrap}
.sp-meta b{font-size:10.8px; color:#C7D3DC; font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.sp-tower{display:grid; grid-template-columns:1fr 1fr; gap:8px; min-width:0}
.sp-tower-card{position:relative; overflow:hidden; min-width:0; padding:9px 10px 8px; border:1px solid rgba(255,255,255,.10); border-radius:5px; background:linear-gradient(180deg,rgba(10,14,18,.82),rgba(5,7,9,.78)); backdrop-filter:blur(5px); box-shadow:inset 0 1px 0 rgba(255,255,255,.05)}
.sp-tower-card::before{content:""; position:absolute; left:0; top:0; bottom:0; width:2px; background:var(--tone)}
.sp-tower-head{display:flex; align-items:center; justify-content:space-between; gap:6px; font-family:"DIN Alternate",Arial,sans-serif; font-size:7.2px; letter-spacing:.9px; color:#6A7783; white-space:nowrap; overflow:hidden}
.sp-tower-head b{font-size:8px; color:var(--tone); letter-spacing:.5px}
.sp-count{display:flex; align-items:flex-end; gap:5px; margin-top:4px}
.sp-count em{font-style:normal; font-family:"DIN Alternate",Arial,sans-serif; font-size:12px; color:#FF9188; padding-bottom:4px}
.sp-count b{font-family:"DIN Alternate",Arial,sans-serif; font-size:40px; line-height:.9; font-weight:900; letter-spacing:-2px; color:#F3F7FA}
.sp-count span{font-family:"DIN Alternate",Arial,sans-serif; font-size:7.5px; letter-spacing:.8px; color:#7B8793; padding-bottom:3px; white-space:nowrap}
.sp-count-sub{font-family:"DIN Alternate",Arial,sans-serif; font-size:10.6px; letter-spacing:.9px; color:#FFA59D; padding-top:5px; white-space:nowrap}
.sp-tower-lap strong{display:block; margin-top:5px; font-family:"DIN Alternate",Arial,sans-serif; font-size:22px; line-height:1; font-weight:900; letter-spacing:-1px; color:#FFE5AA; white-space:nowrap}
.sp-tower-lap small{display:block; margin-top:4px; font-size:8px; color:#66737F; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.sp-ticker{position:relative; z-index:3; display:flex; align-items:center; flex-wrap:wrap; gap:5px 16px; padding:7px 18px; border-top:1px solid rgba(255,255,255,.065); background:rgba(0,0,0,.26); font-family:"DIN Alternate",Arial,sans-serif; font-size:8px; letter-spacing:.95px; color:#65727E}
.sp-ticker span{display:inline-flex; align-items:center; gap:4px}
.sp-ticker b{font-size:8.8px; color:#B9C7D2; letter-spacing:.4px}
.sp-ticker .live{color:#FF857B}
.sp-ticker .live i{width:4px; height:4px; border-radius:50%; background:var(--sp-red); box-shadow:0 0 7px rgba(255,75,62,.65)}
.sp-ticker .right{margin-left:auto; color:#55626F}

/* six-dial telemetry strip */
.sp-dials{display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:8px}
.sp-dial{position:relative; overflow:hidden; display:flex; align-items:center; gap:10px; min-height:102px; padding:10px 11px; border:1px solid var(--sp-line); border-radius:6px;
  background:linear-gradient(142deg,rgba(19,27,33,.94),rgba(8,12,15,.96)); box-shadow:inset 0 1px 0 rgba(255,255,255,.035); transition:border-color .18s,background .18s}
.sp-dial::after{content:""; position:absolute; right:-20%; bottom:-35%; width:120px; height:80px; border-radius:50%; background:radial-gradient(circle,var(--tone),transparent 68%); opacity:.055; pointer-events:none}
.sp-dial[data-kpi-go]{cursor:pointer}
.sp-dial[data-kpi-go]:hover{border-color:rgba(255,255,255,.2); background:linear-gradient(142deg,rgba(23,32,39,.96),rgba(9,13,17,.97))}
.sp-ring{position:relative; flex:0 0 auto; width:76px; height:76px; border-radius:50%;
  background:conic-gradient(from 0deg,var(--tone) 0 var(--p),rgba(255,255,255,.075) var(--p) 100%);
  box-shadow:0 0 20px color-mix(in srgb,var(--tone) 16%,transparent)}
.sp-ring::before{content:""; position:absolute; inset:-3px; border-radius:50%; pointer-events:none; opacity:.42;
  background:repeating-conic-gradient(from 0deg,rgba(255,255,255,.17) 0 .7deg,transparent .7deg 6deg);
  -webkit-mask:radial-gradient(circle,transparent 0 71%,#000 72% 76%,transparent 77%); mask:radial-gradient(circle,transparent 0 71%,#000 72% 76%,transparent 77%)}
.sp-ring-in{position:absolute; inset:6px; border-radius:50%; display:grid; place-items:center; align-content:center; gap:1px;
  background:radial-gradient(circle at 50% 34%,#151E25 0%,#080C10 68%); box-shadow:inset 0 0 13px rgba(0,0,0,.75),inset 0 1px 0 rgba(255,255,255,.04)}
.sp-ring-in b{font-family:"DIN Alternate",Arial,sans-serif; font-size:24px; line-height:.92; font-weight:900; letter-spacing:-1px; color:#F3F7FA; white-space:nowrap}
.sp-ring-in span{font-family:"DIN Alternate",Arial,sans-serif; font-size:7px; letter-spacing:1px; color:#76838F}
.sp-dial-copy{min-width:0; flex:1; display:flex; flex-direction:column}
.sp-dial-code{font-family:"DIN Alternate",Arial,sans-serif; font-size:7px; letter-spacing:1.1px; color:#5B6875; white-space:nowrap}
.sp-dial-name{margin-top:2px; font-family:"DIN Alternate",Arial,sans-serif; font-size:10.4px; line-height:1.05; letter-spacing:.55px; font-weight:700; color:#DCE6EE; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.sp-dial-sub{margin-top:4px; font-size:8.4px; line-height:1.3; color:#75818D; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.sp-spark{display:block; width:100%; height:15px; margin-top:5px; opacity:.9}
.sp-spark polyline{fill:none; stroke:var(--tone); stroke-width:1; stroke-linecap:round}

/* telemetry deck */
.sp-deck{display:grid; grid-template-columns:minmax(0,1.55fr) minmax(322px,.82fr); gap:12px; align-items:stretch}
.sp-trace-panel{display:flex; flex-direction:column; min-width:0}
.sp-trace-wrap{position:relative; height:194px; margin:10px 13px 6px; border:1px solid rgba(255,255,255,.055); border-radius:4px; overflow:hidden;
  background:
    linear-gradient(rgba(255,255,255,.028) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.02) 1px,transparent 1px),
    radial-gradient(620px 220px at 50% 100%,rgba(63,216,255,.035),transparent 70%),
    #070B0E;
  background-size:100% 48px,6.25% 100%,auto,auto}
.sp-trace-axis{position:absolute; left:7px; top:7px; bottom:7px; z-index:2; display:flex; flex-direction:column; justify-content:space-between; font-family:"DIN Alternate",Arial,sans-serif; font-size:7.4px; color:#4F5C68; pointer-events:none}
.sp-trace-axis span{position:relative; padding-right:3px}
.sp-trace-svg{position:absolute; z-index:1; left:27px; right:5px; top:5px; bottom:5px; width:calc(100% - 32px); height:calc(100% - 10px); overflow:visible}
.sp-trace-svg .line{fill:none; stroke-width:1.4; stroke-linecap:round; stroke-linejoin:round; vector-effect:non-scaling-stroke}
.sp-trace-svg .speed{stroke:var(--sp-cyan); filter:drop-shadow(0 0 3px rgba(63,216,255,.42))}
.sp-trace-svg .throttle{stroke:var(--sp-lime); stroke-width:1.1; opacity:.95}
.sp-trace-svg .brake{stroke:var(--sp-red); stroke-width:1.05; opacity:.9}
.sp-trace-svg .area{stroke:none; fill:url(#spTraceFill)}
.sp-trace-svg .sector{stroke:rgba(255,255,255,.13); stroke-width:1; stroke-dasharray:2 4; vector-effect:non-scaling-stroke}
.sp-trace-svg .zero{stroke:rgba(255,255,255,.18); stroke-width:1; vector-effect:non-scaling-stroke}
.sp-axis-label{font-family:"DIN Alternate",Arial,sans-serif; font-size:8px; letter-spacing:.8px; fill:#6B7885}
.sp-sector-flag{position:absolute; z-index:2; top:5px; transform:translateX(-50%); padding:1px 4px; border:1px solid rgba(255,255,255,.08); border-radius:2px; background:rgba(7,11,14,.8); font-family:"DIN Alternate",Arial,sans-serif; font-size:7.2px; letter-spacing:.7px; color:#84919D; pointer-events:none}
.sp-trace-sweep{position:absolute; z-index:2; top:0; bottom:0; left:2%; width:1px; background:linear-gradient(180deg,transparent,rgba(63,216,255,.55),transparent); box-shadow:0 0 9px rgba(63,216,255,.4); animation:spSweep 11s linear infinite; pointer-events:none}
@keyframes spSweep{0%{left:3%;opacity:0}8%{opacity:.9}92%{opacity:.45}100%{left:97%;opacity:0}}
.sp-trace-foot{display:grid; grid-template-columns:1fr 1fr 1fr auto; gap:8px; align-items:center; padding:0 13px 10px; font-family:"DIN Alternate",Arial,sans-serif; font-size:7.6px; letter-spacing:.8px; color:#65727E}
.sp-trace-foot span{display:flex; align-items:center; gap:5px; white-space:nowrap; min-width:0}
.sp-trace-foot i{width:11px; height:2px; border-radius:1px; flex:0 0 auto}
.sp-trace-foot .s i{background:var(--sp-cyan); box-shadow:0 0 6px rgba(63,216,255,.4)}
.sp-trace-foot .t i{background:var(--sp-lime)}
.sp-trace-foot .b i{background:var(--sp-red)}
.sp-trace-foot b{color:#C8D4DE; font-size:8.8px; font-weight:600}
.sp-trace-foot em{font-style:normal; color:#586572; padding-left:3px}
.sp-trace-foot .note{margin-left:auto; color:#4F5B67; letter-spacing:.3px; font-size:7.4px; text-align:right}

/* circuit map */
.sp-map-panel{display:flex; flex-direction:column; min-width:0}
.sp-map-wrap{position:relative; flex:1; min-height:158px; margin:7px 11px 0; overflow:hidden; border:1px solid rgba(255,255,255,.045); border-radius:4px;
  background:
    radial-gradient(340px 180px at 52% 48%,rgba(255,75,62,.055),transparent 72%),
    linear-gradient(rgba(255,255,255,.026) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.02) 1px,transparent 1px),
    #070A0D;
  background-size:auto,26px 26px,26px 26px,auto}
.sp-map-svg{position:absolute; inset:4px 4px 18px; width:calc(100% - 8px); height:calc(100% - 22px); display:block}
.sp-map-path{fill:none; stroke:url(#spTrackGrad); stroke-width:4.2; stroke-linecap:round; stroke-linejoin:round; filter:drop-shadow(0 0 5px rgba(255,75,62,.22))}
.sp-map-car{filter:drop-shadow(0 0 6px rgba(255,255,255,.5))}
.sp-map-line{fill:none; stroke:rgba(255,255,255,.28); stroke-width:.9; stroke-dasharray:5 5}
.sp-map-start{fill:var(--sp-text)}
.sp-map-start-hole{fill:#080B0E}
.sp-map-node{fill:#0A0E12; stroke-width:1.3}
.sp-map-node.s1{stroke:var(--sp-cyan)}.sp-map-node.s2{stroke:var(--sp-amber)}.sp-map-node.s3{stroke:var(--sp-lime)}
.sp-map-label{font-family:"DIN Alternate",Arial,sans-serif; font-size:8px; letter-spacing:.8px; fill:#8997A4}
.sp-map-s1{fill:var(--sp-cyan)}.sp-map-s2{fill:var(--sp-amber)}.sp-map-s3{fill:var(--sp-lime)}
.sp-map-read{position:absolute; left:8px; right:8px; bottom:5px; display:flex; align-items:center; justify-content:space-between; gap:8px; font-family:"DIN Alternate",Arial,sans-serif; font-size:7px; letter-spacing:.9px; color:#5B6874}
.sp-map-read b{color:#B9C6D1; font-size:8.2px; letter-spacing:.4px}
.sp-sector-strip{display:grid; grid-template-columns:repeat(3,1fr); gap:5px; padding:7px 11px 8px}
.sp-sector-strip div{padding:5px 6px; border:1px solid rgba(255,255,255,.055); border-radius:3px; background:rgba(255,255,255,.017); min-width:0}
.sp-sector-strip span{display:block; font-family:"DIN Alternate",Arial,sans-serif; font-size:7px; letter-spacing:.9px; color:#63707D}
.sp-sector-strip b{display:block; margin-top:2px; font-family:"DIN Alternate",Arial,sans-serif; font-size:10px; color:#D5E0E8; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.sp-sector-strip em{display:block; margin-top:1px; font-style:normal; font-family:"DIN Alternate",Arial,sans-serif; font-size:7.2px; color:#5F6C78}

/* standings + sector split */
.sp-main{display:grid; grid-template-columns:minmax(0,1.32fr) minmax(300px,.78fr); gap:12px; align-items:stretch}
.sp-board-list{padding:4px 12px 8px}
.sp-board-row{display:grid; grid-template-columns:27px minmax(0,1fr) minmax(72px,.8fr) 62px; align-items:center; gap:8px; padding:6px 5px; border-bottom:1px solid rgba(255,255,255,.04); cursor:pointer; transition:background .16s}
.sp-board-row:last-child{border-bottom:0}
.sp-board-row:nth-child(odd){background:rgba(255,255,255,.012)}
.sp-board-row:hover{background:rgba(63,216,255,.035)}
.sp-rank{font-family:"DIN Alternate",Arial,sans-serif; font-size:16px; line-height:1; font-weight:900; color:#4E5C69}
.sp-board-row.lead .sp-rank{color:var(--sp-red); text-shadow:0 0 16px rgba(255,75,62,.3)}
.sp-who{min-width:0}
.sp-who b{display:block; font-size:12.2px; color:#E3ECF3; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.sp-who small{display:block; margin-top:1px; font-size:9px; color:#697682; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.sp-track{position:relative; height:4px; border-radius:2px; background:rgba(255,255,255,.06); overflow:hidden}
.sp-track i{display:block; height:100%; border-radius:2px; background:linear-gradient(90deg,rgba(255,75,62,.38),var(--sp-red)); box-shadow:0 0 6px rgba(255,75,62,.18)}
.sp-board-row.lead .sp-track i{background:linear-gradient(90deg,rgba(255,182,72,.34),var(--sp-amber)); box-shadow:0 0 6px rgba(255,182,72,.18)}
.sp-pts{text-align:right; white-space:nowrap}
.sp-pts b{font-family:"DIN Alternate",Arial,sans-serif; font-size:17px; color:#EDF3F8; font-weight:900}
.sp-pts small{display:block; font-family:"DIN Alternate",Arial,sans-serif; font-size:6.8px; letter-spacing:.9px; color:#606D79}
.sp-empty{padding:18px 0; text-align:center; font-size:12px; color:#66727E}
.sp-sector-panel{display:flex; flex-direction:column}
.sp-sector-split{padding:5px 12px 3px}
.sp-sector-row{display:grid; grid-template-columns:20px minmax(0,1fr) 62px; align-items:center; gap:7px; padding:7px 0; border-bottom:1px solid rgba(255,255,255,.04)}
.sp-sector-row:last-child{border-bottom:0}
.sp-sector-row span{font-family:"DIN Alternate",Arial,sans-serif; font-size:9px; letter-spacing:.5px; color:#7B8894}
.sp-sector-row i{display:block; height:5px; border-radius:2px; background:rgba(255,255,255,.06); overflow:hidden}
.sp-sector-row i b{display:block; height:100%; border-radius:2px; background:linear-gradient(90deg,rgba(255,182,72,.38),var(--sp-amber))}
.sp-sector-row em{font-style:normal; font-family:"DIN Alternate",Arial,sans-serif; font-size:10px; color:#C6D2DC; text-align:right; white-space:nowrap}
.sp-sector-row:nth-child(1) i b{background:linear-gradient(90deg,rgba(63,216,255,.35),var(--sp-cyan))}
.sp-sector-row:nth-child(3) i b{background:linear-gradient(90deg,rgba(184,242,90,.34),var(--sp-lime))}
.sp-env-grid{display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:5px; padding:6px 12px 8px; margin-top:auto}
.sp-env-grid div{padding:5px 6px; border:1px solid rgba(255,255,255,.05); border-radius:3px; background:rgba(255,255,255,.016); min-width:0}
.sp-env-grid span{display:block; font-family:"DIN Alternate",Arial,sans-serif; font-size:6.8px; letter-spacing:.8px; color:#5F6C78}
.sp-env-grid b{display:block; margin-top:2px; font-family:"DIN Alternate",Arial,sans-serif; font-size:11px; color:#D2DDE6; white-space:nowrap}
.sp-tele-note{padding:0 12px 8px; font-size:7.6px; color:#4F5B67; letter-spacing:.2px}

/* race calendar / grid / ops */
.sp-lower{display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,.86fr) minmax(0,.86fr); gap:12px}
.sp-cal-list,.sp-grid-list,.sp-ops-list{padding:4px 12px 7px}
.sp-cal-row{display:grid; grid-template-columns:27px 41px minmax(0,1fr) 32px; align-items:center; gap:6px; padding:6px 3px; border-bottom:1px solid rgba(255,255,255,.04); cursor:pointer; transition:background .16s}
.sp-cal-row:last-child{border-bottom:0}
.sp-cal-row:hover{background:rgba(63,216,255,.03)}
.sp-cal-r{font-family:"DIN Alternate",Arial,sans-serif; font-size:8.8px; letter-spacing:.55px; color:#FF8178}
.sp-cal-date{font-family:"DIN Alternate",Arial,sans-serif; font-size:9.6px; color:#9CAAB6}
.sp-cal-name{min-width:0}
.sp-cal-name b{display:block; font-size:10.8px; color:#D7E2EA; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.sp-cal-name small{display:block; margin-top:1px; font-size:8.8px; color:#64717D; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.sp-cal-row em{font-style:normal; font-family:"DIN Alternate",Arial,sans-serif; font-size:8px; letter-spacing:.55px; color:#697681; text-align:right}
.sp-cal-row.open em{color:var(--sp-lime)}.sp-cal-row.soon em{color:var(--sp-amber)}.sp-cal-row.past em{color:#596672}
.sp-grid-row{display:grid; grid-template-columns:27px minmax(0,1fr) 45px; align-items:center; gap:7px; padding:6px 3px; border-bottom:1px solid rgba(255,255,255,.04); cursor:pointer}
.sp-grid-row:last-child{border-bottom:0}
.sp-grid-row:hover{background:rgba(63,216,255,.03)}
.sp-gate{display:grid; place-items:center; width:23px; height:23px; border:1px solid rgba(255,75,62,.26); border-radius:3px; background:rgba(255,75,62,.06); color:#FF847B; font-family:"DIN Alternate",Arial,sans-serif; font-size:9.5px; font-weight:900}
.sp-grid-row span:not(.sp-gate){min-width:0}
.sp-grid-row b{display:block; font-size:11px; color:#DEE8EE; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.sp-grid-row small{display:block; margin-top:1px; font-size:8.6px; color:#64717D; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.sp-grid-row em{font-style:normal; font-family:"DIN Alternate",Arial,sans-serif; font-size:13px; color:#FFE0A1; text-align:right; white-space:nowrap}
.sp-grid-row em small{display:block; font-size:6.5px; letter-spacing:.7px; color:#606D79}
.sp-ops{display:flex; flex-direction:column}
.sp-op-row{display:grid; grid-template-columns:39px minmax(0,1fr) 24px 9px; align-items:center; gap:4px; padding:7px 3px; border-bottom:1px solid rgba(255,255,255,.04); cursor:pointer}
.sp-op-row:last-child{border-bottom:0}
.sp-op-row:hover{background:rgba(255,182,72,.025)}
.sp-op-code{font-family:"DIN Alternate",Arial,sans-serif; font-size:6.8px; letter-spacing:.6px; color:#63707C}
.sp-op-name{font-size:10.3px; color:#B8C5CF; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.sp-op-row b{font-family:"DIN Alternate",Arial,sans-serif; font-size:14px; color:#FFD27A; text-align:right}
.sp-op-row em{font-style:normal; font-size:11px; color:#56636F; text-align:right}
.sp-btn{display:flex; align-items:center; justify-content:space-between; gap:8px; margin:auto 12px 10px; padding:7px 9px; border:1px solid rgba(255,75,62,.24); border-radius:3px; background:rgba(255,75,62,.065); color:#FF958C; font-size:10.2px; cursor:pointer; transition:background .16s,border-color .16s}
.sp-btn:hover{background:rgba(255,75,62,.13); border-color:rgba(255,75,62,.4)}
.sp-btn span{font-family:"DIN Alternate",Arial,sans-serif; font-size:13px}
.sp-foot{display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap; padding:2px 2px 0; font-family:"DIN Alternate",Arial,sans-serif; font-size:8.2px; letter-spacing:1px; color:#52606C}
.sp-foot span:nth-child(2){color:#63717D}

@media (max-width:1180px){
  .sp-command-body{grid-template-columns:minmax(0,1fr) 318px; gap:20px}
  .sp-dials{grid-template-columns:repeat(3,minmax(0,1fr))}
  .sp-deck{grid-template-columns:minmax(0,1.4fr) minmax(300px,.8fr)}
  .sp-main{grid-template-columns:minmax(0,1.2fr) minmax(290px,.8fr)}
  .sp-lower{grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr)}
  .sp-ops{grid-column:1/-1}
  .sp-ops-list{display:grid; grid-template-columns:1fr 1fr; column-gap:20px}
  .sp-op-row:nth-last-child(2){border-bottom:0}
}
@media (max-width:980px){
  .sp-command-body{grid-template-columns:1fr; gap:14px; padding:14px 16px 12px}
  .sp-command h1{font-size:34px}
  .sp-command p{max-width:none; font-size:12px}
  .sp-command-bg{width:62%; opacity:.8}
  .sp-tower{grid-template-columns:1fr 1fr; max-width:420px}
  .sp-deck{grid-template-columns:1fr}
  .sp-main{grid-template-columns:1fr}
  .sp-lower{grid-template-columns:1fr 1fr}
  .sp-ops{grid-column:1/-1}
  .sp-env-grid{margin-top:0}
}
@media (max-width:620px){
  .sp-shell{gap:9px}
  .sp-command-body{padding:12px 12px 10px}
  .sp-command h1{font-size:29px}
  .sp-command p{font-size:11.5px; line-height:1.5}
  .sp-meta{gap:5px}
  .sp-command-bg{width:78%; opacity:.52}
  .sp-command-top{padding:8px 11px}
  .sp-command-state span{display:none}
  .sp-tower{grid-template-columns:1fr 1fr; max-width:none}
  .sp-count b{font-size:34px}
  .sp-tower-lap strong{font-size:19px}
  .sp-ticker{padding:6px 12px; gap:4px 12px}
  .sp-ticker .right{display:none}
  .sp-dials{grid-template-columns:1fr 1fr; gap:6px}
  .sp-dial{min-height:92px; padding:8px 9px; gap:8px}
  .sp-ring{width:64px; height:64px}
  .sp-ring-in b{font-size:20px}
  .sp-dial-name{font-size:9.2px}
  .sp-dial-sub{font-size:8px}
  .sp-spark{margin-top:3px}
  .sp-trace-wrap{height:168px; margin:8px 9px 5px}
  .sp-trace-svg{left:23px; width:calc(100% - 27px)}
  .sp-trace-axis{font-size:6.8px; left:5px}
  .sp-sector-flag{font-size:6.6px}
  .sp-trace-foot{grid-template-columns:1fr 1fr 1fr; padding:0 9px 8px; gap:5px}
  .sp-trace-foot .note{grid-column:1/-1; margin-left:0; text-align:left}
  .sp-map-wrap{min-height:148px; margin:6px 8px 0}
  .sp-sector-strip{padding:6px 8px 7px; gap:4px}
  .sp-sector-strip b{font-size:8.5px}
  .sp-board-row{grid-template-columns:23px minmax(0,1fr) 54px}
  .sp-track{display:none}
  .sp-standings .sp-head h2{font-size:13px}
  .sp-lower{grid-template-columns:1fr}
  .sp-ops{grid-column:auto}
  .sp-ops-list{display:block}
  .sp-op-row:nth-last-child(2){border-bottom:1px solid rgba(255,255,255,.04)}
  .sp-env-grid{grid-template-columns:1fr 1fr}
  .sp-foot span:nth-child(3){display:none}
}
@media (prefers-reduced-motion:reduce){
  .sp-trace-sweep{animation:none; opacity:0}
  .sp-map-car{display:none}
}

/* ================= SINGLE-SCREEN RACE WALL (DESKTOP) ================= */
@media (min-width:1240px){
  .content:has(.sp-shell){padding-bottom:8px}
  .sp-shell{
    display:grid; grid-template-columns:repeat(12,minmax(0,1fr));
    grid-template-rows:auto auto minmax(0,1fr) minmax(0,.82fr) auto;
    height:calc(100vh - 86px); min-height:690px;
    gap:10px; padding-bottom:0; align-items:stretch;
  }
  .sp-deck,.sp-main,.sp-lower{display:contents}
  .sp-command{grid-column:1/-1; grid-row:1}
  .sp-dials{grid-column:1/-1; grid-row:2; gap:6px}
  .sp-trace-panel{grid-column:1/7; grid-row:3}
  .sp-map-panel{grid-column:7/10; grid-row:3}
  .sp-standings{grid-column:10/13; grid-row:3}
  .sp-sector-panel{grid-column:1/4; grid-row:4}
  .sp-cal{grid-column:4/8; grid-row:4}
  .sp-gridlist{grid-column:8/10; grid-row:4}
  .sp-ops{grid-column:10/13; grid-row:4}
  .sp-foot{grid-column:1/-1; grid-row:5}

  /* hero */
  .sp-command-top{padding:6px 15px}
  .sp-command-body{grid-template-columns:minmax(0,1fr) 338px; gap:18px; padding:9px 18px 8px}
  .sp-command h1{font-size:clamp(32px,2.85vw,38px); margin:0 0 6px}
  .sp-lights{margin-bottom:5px}
  .sp-command p{font-size:11.4px; line-height:1.4; max-width:660px}
  .sp-meta{margin-top:7px; gap:5px}
  .sp-meta div{padding:3px 6px}
  .sp-meta b{font-size:9.6px}
  .sp-tower-card{padding:6px 9px 5px}
  .sp-count b{font-size:32px}
  .sp-count-sub{padding-top:3px; font-size:9.8px}
  .sp-tower-lap strong{font-size:18px; margin-top:3px}
  .sp-tower-lap small{margin-top:2px}
  .sp-ticker{padding:4px 16px; gap:4px 14px}

  /* dials */
  .sp-dial{min-height:80px; padding:7px 9px; gap:8px}
  .sp-ring{width:62px; height:62px}
  .sp-ring-in{inset:5px}
  .sp-ring-in b{font-size:20px}
  .sp-ring-in span{font-size:6.4px}
  .sp-dial-code{font-size:6.6px; letter-spacing:.9px}
  .sp-dial-name{font-size:9.4px; margin-top:1px}
  .sp-dial-sub{font-size:7.8px; margin-top:3px}
  .sp-spark{height:11px; margin-top:3px}

  /* panel chrome */
  .sp-head{padding:6px 10px 5px}
  .sp-kicker{font-size:7.2px; letter-spacing:1.1px}
  .sp-head h2{font-size:12.2px; margin-top:2px}
  .sp-pill{font-size:7.2px; padding:1px 5px}

  /* telemetry + map */
  .sp-trace-wrap{flex:1; height:auto; min-height:120px; margin:6px 10px 4px}
  .sp-trace-foot{padding:0 10px 6px; font-size:7px}
  .sp-trace-foot b{font-size:8.2px}
  .sp-trace-foot .note{font-size:6.9px}
  .sp-map-wrap{min-height:92px; margin:5px 9px 0}
  .sp-map-svg{inset:2px 2px 15px; width:calc(100% - 4px); height:calc(100% - 17px)}
  .sp-map-read{bottom:3px; font-size:6.5px}
  .sp-sector-strip{padding:4px 9px 5px; gap:4px}
  .sp-sector-strip div{padding:3px 5px}
  .sp-sector-strip span{font-size:6.5px}
  .sp-sector-strip b{font-size:9.2px; margin-top:1px}
  .sp-sector-strip em{font-size:6.8px}

  /* standings */
  .sp-board-list{padding:2px 9px 5px}
  .sp-board-row{grid-template-columns:22px minmax(0,1fr) minmax(46px,.62fr) 52px; gap:6px; padding:2px 4px; line-height:1}
  .sp-rank{font-size:12px}
  .sp-who b{font-size:10.8px; line-height:1.15}
  .sp-who small{font-size:7.8px; line-height:1.15; margin-top:1px}
  .sp-track{height:3px}
  .sp-pts b{font-size:14px}
  .sp-pts small{font-size:6px}

  /* sectors + environment */
  .sp-sector-split{padding:3px 10px 2px}
  .sp-sector-row{grid-template-columns:16px minmax(0,1fr) 54px; gap:6px; padding:3px 0; line-height:1}
  .sp-sector-row span{font-size:8px}
  .sp-sector-row i{height:4px}
  .sp-sector-row em{font-size:8.8px}
  .sp-env-grid{padding:3px 10px 5px; gap:4px}
  .sp-env-grid div{padding:3px 5px}
  .sp-env-grid span{font-size:6.1px}
  .sp-env-grid b{font-size:9.4px; margin-top:1px}
  .sp-tele-note{padding:0 10px 5px; font-size:6.6px}

  /* calendar / grid / ops */
  .sp-cal-list,.sp-grid-list,.sp-ops-list{padding:2px 9px 4px}
  .sp-cal-row{grid-template-columns:23px 35px minmax(0,1fr) 28px; gap:5px; padding:2px; line-height:1}
  .sp-cal-r{font-size:8px}
  .sp-cal-date{font-size:8.6px}
  .sp-cal-name b{font-size:9.6px; line-height:1.15}
  .sp-cal-name small{font-size:7.6px; line-height:1.15; margin-top:1px}
  .sp-cal-row em{font-size:7px}
  .sp-grid-row{grid-template-columns:24px minmax(0,1fr) 40px; gap:6px; padding:2px; line-height:1}
  .sp-gate{width:19px; height:19px; font-size:8.2px}
  .sp-grid-row b{font-size:10px; line-height:1.15}
  .sp-grid-row small{font-size:7.6px; line-height:1.15; margin-top:1px}
  .sp-grid-row em{font-size:11.2px}
  .sp-op-row{grid-template-columns:32px minmax(0,1fr) 20px 8px; gap:4px; padding:3px 2px; line-height:1}
  .sp-op-code{font-size:6.2px}
  .sp-op-name{font-size:9.4px; line-height:1.2}
  .sp-op-row b{font-size:12px}
  .sp-btn{margin:auto 9px 6px; padding:4px 7px; font-size:9px}
  .sp-foot{padding:0 2px; font-size:7.3px}
}

@media (min-width:1240px) and (max-height:820px){
  .sp-shell{min-height:620px}
  .sp-command-body{padding:7px 18px 6px}
  .sp-command h1{font-size:34px; margin:0 0 5px}
  .sp-command p{display:none}
  .sp-lights{margin-bottom:4px}
  .sp-meta{margin-top:5px}
  .sp-tower-card{padding:5px 8px 4px}
  .sp-count b{font-size:28px}
  .sp-count-sub{padding-top:2px}
  .sp-tower-lap strong{font-size:17px; margin-top:2px}
  .sp-dial{min-height:72px; padding:6px 8px}
  .sp-ring{width:56px; height:56px}
  .sp-ring-in b{font-size:18px}
  .sp-spark{height:9px}
  .sp-head{padding:5px 10px 4px}
  .sp-head h2{margin-top:1px}
  .sp-board-row{padding:1px 4px}
  .sp-cal-row,.sp-grid-row{padding:1px 2px}
  .sp-op-row{padding:2px 2px}
  .sp-trace-wrap{min-height:110px; margin-top:5px}
}

/* ===== CPC Race Intelligence 璺?single-event tech console ===== */
.app.ec-sport .content{
  background:
    radial-gradient(980px 520px at 50% -8%, rgba(54, 211, 230, .075), transparent 62%),
    linear-gradient(180deg, #020708 0%, #031012 46%, #020708 100%);
}
.app.ec-sport .topbar{
  background:linear-gradient(180deg, #041113, #020809);
  border-bottom:1px solid rgba(255,255,255,0.16);
  box-shadow:0 10px 30px rgba(0,0,0,.45), inset 0 -1px 0 rgba(54,211,230,.08);
}
.app.ec-sport .topbar::after{
  content:""; position:absolute; left:0; right:0; bottom:-1px; height:1px;
  background:linear-gradient(90deg, transparent, rgba(54,211,230,0.55) 18%, rgba(54,211,230,.42) 60%, transparent);
}
.app.ec-sport #viewTitle{color:#ffffff; text-shadow:0 0 16px rgba(255,255,255,0.18);}
.app.ec-sport #viewSub{color:#8d8d8d;}

.ec-shell{
  --ec-green:#36d3e6;
  --ec-cyan:#33d6ff;
  --ec-red:#ff5d55;
  --ec-amber:#ffc84a;
  --ec-line:rgba(255,255,255,0.14);
  --ec-line-soft:rgba(255,255,255,.065);
  --ec-panel:#061214;
  --ec-panel-2:#041012;
  --ec-text:#fbfbfb;
  --ec-mut:#9b9b9b;
  position:relative;
  display:flex;
  flex-direction:column;
  gap:9px;
  min-width:0;
  color:var(--ec-text);
  font-variant-numeric:tabular-nums;
}
.ec-shell::after{
  content:""; position:absolute; inset:0; pointer-events:none; z-index:40;
  background:repeating-linear-gradient(180deg, rgba(255,255,255,.018) 0 1px, transparent 1px 4px);
  opacity:.45;
}
.ec-panel{
  position:relative;
  min-width:0; min-height:0;
  display:flex; flex-direction:column;
  overflow:hidden;
  border:1px solid var(--ec-line);
  border-radius:3px;
  background:
    linear-gradient(180deg, rgba(8,26,27,.92), rgba(3,13,15,.96) 46%, rgba(2,9,11,.98));
  box-shadow:
    inset 0 0 0 1px rgba(54,211,230,.025),
    inset 0 0 24px rgba(54,211,230,.025),
    0 10px 26px rgba(0,0,0,.35);
}
.ec-panel::before, .ec-panel::after{
  content:""; position:absolute; width:9px; height:9px; pointer-events:none; z-index:3;
  border-color:rgba(54,211,230,0.52); border-style:solid;
}
.ec-panel::before{left:-1px; top:-1px; border-width:1px 0 0 1px;}
.ec-panel::after{right:-1px; bottom:-1px; border-width:0 1px 1px 0;}
.ec-head{
  display:flex; align-items:center; gap:7px;
  flex:0 0 auto;
  padding:6px 9px 5px;
  border-bottom:1px solid rgba(255,255,255,0.10);
  background:linear-gradient(90deg, rgba(21,255,177,.055), rgba(54,211,230,.022) 45%, transparent);
}
.ec-hex{
  width:12px; height:14px; flex:0 0 auto;
  background:linear-gradient(180deg, #9cecf3, #0b5862);
  clip-path:polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%);
  box-shadow:0 0 12px rgba(54,211,230,0.35);
}
.ec-head-copy{min-width:0;display:flex;flex-direction:column;}
.ec-kicker{font:700 7.24px/1.1 "Bahnschrift","Segoe UI",sans-serif;letter-spacing:.16em;color:#848484;}
.ec-head h2{margin:1px 0 0;font:700 13.65px/1.1 "Segoe UI","Microsoft YaHei",sans-serif;color:#ffffff;letter-spacing:.04em;white-space:nowrap;}
.ec-head-live{
  margin-left:auto; display:flex; align-items:center; gap:4px;
  font:700 7.83px/1.1 "Bahnschrift","Segoe UI",sans-serif;letter-spacing:.1em;color:#a5a5a5;white-space:nowrap;
}
.ec-head-live i{width:5px;height:5px;border-radius:50%;background:var(--ec-green);box-shadow:0 0 8px rgba(54,211,230,0.80);}
.ec-chip{
  display:inline-flex; align-items:center; padding:2px 5px;
  border:1px solid rgba(255,255,255,.14); border-radius:2px;
  font:700 7.48px/1.1 "Segoe UI","Microsoft YaHei",sans-serif;letter-spacing:.05em;
}
.ec-chip.live{color:#9cecf3;border-color:rgba(255,255,255,0.24);background:rgba(255,255,255,0.05);}
.ec-chip.soon{color:#ffd57c;border-color:rgba(255,200,74,.3);background:rgba(255,200,74,.06);}
.ec-chip.past{color:#a7a7a7;border-color:rgba(255,255,255,.14);background:rgba(255,255,255,.03);}
.ec-head-btn{
  flex:0 0 auto; padding:3px 6px;
  border:1px solid rgba(255,255,255,0.18); border-radius:2px;
  background:rgba(255,255,255,0.04); color:#c9c9c9;
  font:600 8.31px/1.1 "Segoe UI","Microsoft YaHei",sans-serif;
  cursor:pointer; white-space:nowrap;
}
.ec-head-btn:hover{color:#ffffff;border-color:rgba(54,211,230,0.52);background:rgba(255,255,255,0.08);box-shadow:0 0 12px rgba(255,255,255,0.10);}
.ec-head-meta{display:flex;align-items:center;gap:7px;margin-left:auto;font:700 8.08px/1.1 "Bahnschrift","Segoe UI",sans-serif;letter-spacing:.06em;color:#9b9b9b;}
.ec-body{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden;}
.ec-loading{padding:14px 10px;color:#8c8c8c;font:500 10.09px/1.5 "Segoe UI","Microsoft YaHei",sans-serif;}
.ec-empty{padding:10px 8px;color:#818181;font:500 10.09px/1.4 "Segoe UI","Microsoft YaHei",sans-serif;text-align:center;}
.ec-empty.wide{grid-column:1/-1;}
.ec-note{
  flex:0 0 auto; padding:3px 8px 4px;
  font:500 8.08px/1.2 "Segoe UI","Microsoft YaHei",sans-serif;color:#737373;
  border-top:1px solid rgba(255,255,255,.05);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}

/* ----- overview ----- */
.ec-overview-body{display:flex;flex-direction:column;flex:1;min-height:0;}
.ec-event-pick{padding:7px 9px 6px;border-bottom:1px solid rgba(255,255,255,.06);flex:0 0 auto;}
.ec-event-pick label{display:block;margin-bottom:3px;font:700 7.48px/1.1 "Bahnschrift","Segoe UI",sans-serif;letter-spacing:.12em;color:#878787;}
.ec-select-shell{position:relative;}
.ec-select-shell select{
  width:100%; height:26px; padding:0 24px 0 8px;
  appearance:none; -webkit-appearance:none;
  border:1px solid rgba(255,255,255,0.20); border-radius:2px;
  background:linear-gradient(180deg,#031112,#020b0d);
  color:#fcfcfc; font:600 11.28px/26px "Segoe UI","Microsoft YaHei",sans-serif;
  outline:none; cursor:pointer;
}
.ec-select-shell select:focus{border-color:rgba(54,211,230,0.60);box-shadow:0 0 0 2px rgba(255,255,255,0.07);}
.ec-select-shell i{position:absolute;right:8px;top:50%;transform:translateY(-50%);color:#b4b4b4;font-style:normal;font-size:11.87px;pointer-events:none;}
.ec-overview-main{flex:1;min-height:0;display:flex;align-items:center;gap:10px;padding:8px 9px 5px;}
.ec-gauge{
  --p:0;
  position:relative; flex:0 0 86px; width:86px; height:86px; border-radius:50%;
  background:conic-gradient(from -90deg, var(--ec-green) calc(var(--p) * 1%), rgba(255,255,255,.055) 0);
  box-shadow:0 0 22px rgba(255,255,255,0.10), inset 0 0 10px rgba(0,0,0,.4);
  padding:2px;
}
.ec-gauge::before{content:"";position:absolute;inset:4px;border-radius:50%;background:#031012;border:1px solid rgba(255,255,255,0.15);}
.ec-gauge::after{
  content:"";position:absolute;inset:-4px;border-radius:50%;
  background:repeating-conic-gradient(rgba(54,211,230,0.45) 0 1deg, transparent 1deg 10deg);
  -webkit-mask:radial-gradient(farthest-side, transparent calc(100% - 1px), #000 0);
  mask:radial-gradient(farthest-side, transparent calc(100% - 1px), #000 0);
  opacity:.45;
}
.ec-gauge-in{position:relative;z-index:2;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;}
.ec-gauge-in b{font:800 23.74px/1 "Bahnschrift","Segoe UI",sans-serif;color:#ffffff;text-shadow:0 0 14px rgba(54,211,230,0.35);}
.ec-gauge-in span{margin-top:2px;font:600 7.48px/1.1 "Segoe UI","Microsoft YaHei",sans-serif;color:#a3a3a3;white-space:nowrap;}
.ec-gauge-in em{margin-top:2px;font:800 8.54px/1 "Bahnschrift","Segoe UI",sans-serif;font-style:normal;color:var(--ec-green);}
.ec-ov-kpis{flex:1;min-width:0;display:grid;grid-template-columns:1fr 1fr;gap:5px 8px;}
.ec-ov-kpis div{min-width:0;display:flex;flex-direction:column;justify-content:center;padding:3px 4px;border-left:1px solid rgba(255,255,255,0.11);}
.ec-ov-kpis span{font:500 7.36px/1.1 "Segoe UI","Microsoft YaHei",sans-serif;color:#888888;white-space:nowrap;}
.ec-ov-kpis b{margin-top:1px;font:800 17.81px/1 "Bahnschrift","Segoe UI",sans-serif;color:#ffffff;}
.ec-overview-foot{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:6px;padding:4px 9px 5px;border-top:1px solid rgba(255,255,255,.055);font:500 7.83px/1.1 "Segoe UI","Microsoft YaHei",sans-serif;color:#878787;}
.ec-overview-foot b{color:#e5e5e5;font-weight:700;}

/* ----- stage / circuit ----- */
.ec-stage{padding:0;}
.ec-stage-photo{position:absolute;inset:0;overflow:hidden;z-index:0;}
.ec-stage-photo img{width:100%;height:100%;object-fit:cover;object-position:center 58%;opacity:.28;filter:saturate(.55) contrast(1.15) brightness(.72);}
.ec-stage-shade{
  position:absolute;inset:0;z-index:1;
  background:
    radial-gradient(420px 210px at 54% 48%, rgba(32,241,174,.13), transparent 68%),
    linear-gradient(90deg, rgba(2,8,10,.92) 0%, rgba(2,9,11,.48) 42%, rgba(2,10,12,.78) 100%),
    linear-gradient(180deg, rgba(2,7,9,.34), rgba(2,8,10,.94) 92%);
}
.ec-stage::after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background-image:linear-gradient(rgba(54,211,230,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(54,211,230,.035) 1px,transparent 1px);background-size:32px 32px;-webkit-mask-image:radial-gradient(circle at 54% 44%,#000,transparent 78%);mask-image:radial-gradient(circle at 54% 44%,#000,transparent 78%);}
.ec-stage-svg{position:absolute;z-index:2;left:16%;right:8%;top:2%;bottom:0;width:76%;height:96%;pointer-events:none;filter:drop-shadow(0 0 10px rgba(54,211,230,.16));}
.ec-globe-lines{fill:none;stroke:rgba(54,211,230,.40);stroke-width:.9;stroke-dasharray:none;opacity:.72;}
.ec-globe-lines circle{stroke:rgba(54,211,230,0.46);stroke-dasharray:3 6;}
.ec-globe-lines circle:nth-child(1){stroke:rgba(54,211,230,0.50);stroke-width:1.15;stroke-dasharray:8 12;}
.ec-globe-lines ellipse{stroke:rgba(54,211,230,.42);}
.ec-globe-lines line{stroke:rgba(54,211,230,.28);}
.ec-track-glow{fill:none;stroke:rgba(255,255,255,0.14);stroke-width:9;filter:blur(3px);}
.ec-track-line{fill:none;stroke:url(#ecRouteGrad);stroke-width:2.4;stroke-dasharray:10 7;animation:ecDash 14s linear infinite;}
@keyframes ecDash{to{stroke-dashoffset:-170;}}
.ec-track-nodes circle{fill:#031012;stroke:var(--ec-green);stroke-width:1.2;}
.ec-track-nodes circle:nth-child(2n){fill:rgba(255,255,255,0.13);stroke:rgba(54,211,230,0.40);}
.ec-track-labels text{fill:#a7a7a7;font:700 8.31px "Bahnschrift","Segoe UI",sans-serif;letter-spacing:.12em;}
.ec-stage-top{position:absolute;z-index:5;left:14px;top:10px;right:14px;min-width:0;}
.ec-topline{display:flex;align-items:center;gap:5px;font:700 7.72px/1.1 "Bahnschrift","Segoe UI",sans-serif;letter-spacing:.13em;color:#969696;}
.ec-topline i{font-style:normal;color:#5f5f5f;}
.ec-topline b{color:#e7e7e7;}
.ec-live-dot{width:5px;height:5px;border-radius:50%;background:var(--ec-green);box-shadow:0 0 0 2px rgba(255,255,255,0.10),0 0 9px rgba(54,211,230,0.55);}
.ec-stage h1{margin:5px 0 0;max-width:76%;font:800 33.24px/1.02 "Bahnschrift","Segoe UI","Microsoft YaHei",sans-serif;letter-spacing:.01em;color:#effffb;text-shadow:0 0 22px rgba(255,255,255,0.13),0 3px 16px rgba(0,0,0,.8);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.ec-stage-name{margin-top:2px;max-width:72%;font:500 9.02px/1.2 "Segoe UI","Microsoft YaHei",sans-serif;letter-spacing:.04em;color:#989898;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.ec-stage-meta{position:absolute;z-index:5;left:14px;right:14px;bottom:52px;display:flex;gap:5px;flex-wrap:wrap;}
.ec-stage-meta span{display:inline-flex;align-items:center;gap:5px;padding:3px 5px;border:1px solid rgba(54,211,230,.13);background:rgba(2,10,12,.62);border-radius:2px;font:700 7.01px/1.1 "Bahnschrift","Segoe UI",sans-serif;letter-spacing:.08em;color:#8c8c8c;white-space:nowrap;}
.ec-stage-meta i{font-style:normal;color:#747474;}
.ec-stage-meta b{font:600 8.79px/1.1 "Segoe UI","Microsoft YaHei",sans-serif;color:#f2f2f2;letter-spacing:0;}
.ec-stage-strip{position:absolute;z-index:5;left:0;right:0;bottom:0;height:46px;display:grid;grid-template-columns:1.2fr .8fr .7fr;background:linear-gradient(180deg,rgba(2,10,12,.55),rgba(2,10,12,.92));border-top:1px solid rgba(255,255,255,0.10);}
.ec-stage-strip > div{min-width:0;padding:5px 9px 4px;border-right:1px solid rgba(255,255,255,.055);display:flex;flex-direction:column;justify-content:center;}
.ec-stage-strip > div:last-child{border-right:0;}
.ec-stage-strip span{font:700 7.01px/1.1 "Bahnschrift","Segoe UI",sans-serif;letter-spacing:.12em;color:#848484;white-space:nowrap;}
.ec-stage-strip b{margin-top:2px;font:800 17.81px/1 "Bahnschrift","Segoe UI",sans-serif;color:#f2f4f5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.ec-stage-strip em{margin-top:1px;font:500 7.6px/1.1 "Segoe UI","Microsoft YaHei",sans-serif;font-style:normal;color:#8d8d8d;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}

/* ----- race state ----- */
.ec-race-state-body{flex:1;min-height:0;display:flex;flex-direction:column;padding:8px 9px 6px;}
.ec-state-rings{flex:0 0 auto;display:grid;grid-template-columns:1fr 1fr;gap:8px;justify-items:center;padding:2px 0 7px;border-bottom:1px solid rgba(255,255,255,.06);}
.ec-ring{
  --p:0;
  position:relative;width:72px;height:72px;border-radius:50%;
  background:conic-gradient(from -90deg, var(--ec-green) calc(var(--p) * 1%), rgba(255,255,255,.055) 0);
  box-shadow:0 0 16px rgba(255,255,255,0.10);
  padding:2px;
}
.ec-ring.amber{background:conic-gradient(from -90deg, var(--ec-amber) calc(var(--p) * 1%), rgba(255,255,255,.055) 0);box-shadow:0 0 16px rgba(255,200,74,.10);}
.ec-ring::before{content:"";position:absolute;inset:4px;border-radius:50%;background:#031012;border:1px solid rgba(255,255,255,0.13);}
.ec-ring > div{position:relative;z-index:2;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;}
.ec-ring b{font:800 17.81px/1 "Bahnschrift","Segoe UI",sans-serif;color:#ffffff;}
.ec-ring span{margin-top:1px;font:600 7.01px/1.1 "Segoe UI","Microsoft YaHei",sans-serif;color:#999999;white-space:nowrap;}
.ec-ring em{margin-top:1px;font:700 7.24px/1.1 "Bahnschrift","Segoe UI",sans-serif;font-style:normal;color:#797979;white-space:nowrap;}
.ec-state-grid{flex:0 0 auto;display:grid;grid-template-columns:1fr 1fr;gap:4px 7px;padding:6px 0 5px;}
.ec-state-grid div{display:grid;grid-template-columns:1fr auto;align-items:center;gap:5px;padding:2px 3px;border-bottom:1px solid rgba(255,255,255,.045);}
.ec-state-grid span{font:500 7.6px/1.1 "Segoe UI","Microsoft YaHei",sans-serif;color:#8c8c8c;white-space:nowrap;}
.ec-state-grid b{font:800 14.25px/1 "Bahnschrift","Segoe UI",sans-serif;color:#ffffff;text-align:right;}
.ec-state-grid em{grid-column:1/-1;font:700 6.41px/1 "Bahnschrift","Segoe UI",sans-serif;font-style:normal;letter-spacing:.1em;color:#696969;text-align:right;}
.ec-group-bars{flex:1;min-height:0;overflow:hidden;border-top:1px solid rgba(255,255,255,.055);padding-top:4px;}
.ec-gb-head{display:flex;justify-content:space-between;gap:6px;margin-bottom:2px;font:700 6.65px/1 "Bahnschrift","Segoe UI",sans-serif;letter-spacing:.09em;color:#797979;}
.ec-gb{display:grid;grid-template-columns:66px minmax(0,1fr) 34px;align-items:center;gap:4px;padding:2px 0;}
.ec-gb span{font:500 7.48px/1.1 "Segoe UI","Microsoft YaHei",sans-serif;color:#a5a5a5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.ec-gb div{height:3px;background:rgba(255,255,255,.055);overflow:hidden;}
.ec-gb i{display:block;height:100%;background:linear-gradient(90deg,#1c97a6,var(--ec-green));box-shadow:0 0 7px rgba(54,211,230,0.35);}
.ec-gb b{font:700 7.24px/1 "Bahnschrift","Segoe UI",sans-serif;color:#d6d6d6;text-align:right;white-space:nowrap;}
.ec-gb-more{padding-top:2px;font:500 6.89px/1 "Segoe UI","Microsoft YaHei",sans-serif;color:#787878;text-align:right;}

/* ----- main three panels ----- */
.ec-main{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;min-height:0;}
.ec-vcounts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;padding:6px 7px 4px;flex:0 0 auto;}
.ec-vcounts div{min-width:0;padding:3px 4px 2px;border:1px solid rgba(255,255,255,.065);background:rgba(255,255,255,0.02);}
.ec-vcounts b{display:block;font:800 14.25px/1 "Bahnschrift","Segoe UI",sans-serif;color:#f2f4f5;}
.ec-vcounts span{display:block;margin-top:1px;font:500 7.12px/1.1 "Segoe UI","Microsoft YaHei",sans-serif;color:#8c8c8c;white-space:nowrap;}
.ec-vcounts b.ok{color:var(--ec-green);} .ec-vcounts b.warn{color:var(--ec-amber);}
.ec-vcounts b.bad{color:var(--ec-red);} .ec-vcounts b.mut{color:#aaaaaa;}
.ec-vlist{flex:1;min-height:0;padding:0 7px 3px;overflow:hidden;}
.ec-vrow{display:grid;grid-template-columns:5px minmax(0,1fr) auto;align-items:center;gap:5px;padding:2.5px 2px;border-bottom:1px solid rgba(255,255,255,.045);}
.ec-vrow:last-child{border-bottom:0;}
.ec-vdot{width:4px;height:4px;border-radius:50%;background:#828282;}
.ec-vdot.ok{background:var(--ec-green);box-shadow:0 0 7px rgba(54,211,230,0.55);}
.ec-vdot.warn{background:var(--ec-amber);} .ec-vdot.bad{background:var(--ec-red);} .ec-vdot.mut{background:#959595;}
.ec-vwho{min-width:0;display:flex;flex-direction:column;}
.ec-vwho b{font:700 10.32px/1.1 "Segoe UI","Microsoft YaHei",sans-serif;color:#ffffff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.ec-vwho small{margin-top:1px;font:500 7.6px/1.1 "Segoe UI","Microsoft YaHei",sans-serif;color:#858585;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.ec-vrow em{font:700 7.36px/1.1 "Segoe UI","Microsoft YaHei",sans-serif;font-style:normal;padding:2px 4px;border:1px solid rgba(255,255,255,.1);border-radius:2px;white-space:nowrap;}
.ec-vrow em.ok{color:#c2e85a;border-color:rgba(255,255,255,0.19);background:rgba(255,255,255,0.04);}
.ec-vrow em.warn{color:#ffd57c;border-color:rgba(255,200,74,.24);background:rgba(255,200,74,.05);}
.ec-vrow em.bad{color:#ff8a82;border-color:rgba(255,93,85,.26);background:rgba(255,93,85,.05);}
.ec-vrow em.mut{color:#ababab;border-color:rgba(255,255,255,.12);}

.ec-lap-summary{display:grid;grid-template-columns:1.15fr .85fr;gap:7px;padding:5px 8px;border-bottom:1px solid rgba(255,255,255,.06);flex:0 0 auto;}
.ec-lap-summary > div{min-width:0;}
.ec-lap-summary > div + div{border-left:1px solid rgba(255,255,255,.06);padding-left:8px;}
.ec-lap-summary span{display:block;font:700 7.12px/1.1 "Bahnschrift","Segoe UI",sans-serif;letter-spacing:.11em;color:#848484;}
.ec-lap-summary b{display:block;margin-top:2px;font:800 19px/1 "Bahnschrift","Segoe UI",sans-serif;color:#f2f4f5;}
.ec-lap-summary small{display:block;margin-top:2px;font:500 7.95px/1.1 "Segoe UI","Microsoft YaHei",sans-serif;color:#878787;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.ec-lap-list{flex:1;min-height:0;padding:1px 7px 2px;overflow:hidden;}
.ec-lrow{display:grid;grid-template-columns:19px minmax(0,1fr) 54px 38px;align-items:center;gap:4px;padding:2.5px 2px;border-bottom:1px solid rgba(255,255,255,.045);}
.ec-lrow:last-child{border-bottom:0;}
.ec-lrank{font:800 10.09px/1 "Bahnschrift","Segoe UI",sans-serif;color:#828282;}
.ec-lrow:first-child .ec-lrank{color:var(--ec-green);}
.ec-lwho{min-width:0;display:flex;flex-direction:column;}
.ec-lwho b{font:700 10.32px/1.1 "Segoe UI","Microsoft YaHei",sans-serif;color:#ffffff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.ec-lwho small{margin-top:1px;font:500 7.6px/1.1 "Segoe UI","Microsoft YaHei",sans-serif;color:#858585;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.ec-ltime{font:800 10.09px/1 "Bahnschrift","Segoe UI",sans-serif;color:#fbfbfb;text-align:right;white-space:nowrap;}
.ec-lgap{font:700 7.36px/1.1 "Bahnschrift","Segoe UI",sans-serif;font-style:normal;color:#858585;text-align:right;white-space:nowrap;}
.ec-lrow:first-child .ec-lgap{color:#5cd4e2;}

.ec-finish-counts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:5px 7px 4px;flex:0 0 auto;}
.ec-finish-counts div{min-width:0;padding:3px 4px 2px;border:1px solid rgba(255,255,255,.06);background:rgba(255,255,255,0.01);}
.ec-finish-counts b{display:block;font:800 15.43px/1 "Bahnschrift","Segoe UI",sans-serif;color:#f2f4f5;}
.ec-finish-counts span{display:block;margin-top:1px;font:500 7.12px/1.1 "Segoe UI","Microsoft YaHei",sans-serif;color:#8c8c8c;white-space:nowrap;}
.ec-finish-counts b.ok{color:var(--ec-green);} .ec-finish-counts b.bad{color:var(--ec-red);} .ec-finish-counts b.mut{color:#aaaaaa;}
.ec-finish-grid{flex:1;min-height:0;display:grid;grid-template-columns:1.15fr .85fr;gap:7px;padding:0 7px 4px;overflow:hidden;}
.ec-fin-block{min-width:0;display:flex;flex-direction:column;}
.ec-subhead{display:flex;align-items:center;justify-content:space-between;gap:5px;padding:2px 0;border-bottom:1px solid rgba(255,255,255,.06);}
.ec-subhead span{font:700 7.01px/1.1 "Bahnschrift","Segoe UI",sans-serif;letter-spacing:.09em;color:#848484;}
.ec-subhead b{font:800 9.5px/1 "Bahnschrift","Segoe UI",sans-serif;color:#f2f2f2;}
.ec-finrow{display:grid;grid-template-columns:15px minmax(0,1fr) auto;align-items:center;gap:4px;padding:2.5px 0;border-bottom:1px solid rgba(255,255,255,.04);}
.ec-finrow:last-child{border-bottom:0;}
.ec-finrank{font:800 9.26px/1 "Bahnschrift","Segoe UI",sans-serif;color:#828282;}
.ec-finwho{min-width:0;display:flex;flex-direction:column;}
.ec-finwho b{font:700 9.97px/1.1 "Segoe UI","Microsoft YaHei",sans-serif;color:#ffffff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.ec-finwho small{margin-top:1px;font:500 7.24px/1.1 "Segoe UI","Microsoft YaHei",sans-serif;color:#858585;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.ec-finrow em{font:700 8.19px/1.1 "Bahnschrift","Segoe UI",sans-serif;font-style:normal;color:#afafaf;white-space:nowrap;}
.ec-finrow.dnf em,.ec-finrow.dnf .ec-finrank{color:var(--ec-red);}

/* ----- results ----- */
.ec-results{flex:0 0 auto;}
.ec-res-grid{
  flex:1;min-height:0;display:grid;grid-template-columns:repeat(var(--cols),minmax(0,1fr));
  gap:0 13px;padding:4px 8px 2px;overflow:hidden;
}
.ec-res-grid.is-single{grid-template-columns:1fr !important;}
.ec-res-chart{flex:0 0 32px;margin:0 11px;padding:1px 0 0;border-top:1px solid rgba(54,211,230,.08);overflow:hidden;}
.ec-chart-head{display:flex;align-items:center;justify-content:space-between;gap:8px;height:8px;}
.ec-chart-head span{font:700 6.76px/1 "Bahnschrift","Segoe UI",sans-serif;letter-spacing:.09em;color:#787878;white-space:nowrap;}
.ec-chart-head span:last-child{color:#a2a2a2;}
.ec-res-chart svg{display:block;width:100%;height:21px;}
.ec-chart-area{fill:url(#ecTraceFill);}
.ec-chart-line{fill:none;stroke:#36d3e6;stroke-width:2.3;filter:drop-shadow(0 0 4px rgba(54,211,230,0.50));}
.ec-chart-dot{fill:#eeeeee;stroke:#151515;stroke-width:1.2;}
.ec-res-strip{
  flex:0 0 auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;
  padding:4px 9px 5px;border-top:1px solid rgba(255,255,255,0.09);
  background:linear-gradient(90deg,rgba(255,255,255,0.03),rgba(54,211,230,.015) 50%,transparent);
}
.ec-res-strip > div{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:6px;row-gap:2px;align-items:center;}
.ec-res-strip span{font:700 6.76px/1 "Bahnschrift","Segoe UI",sans-serif;letter-spacing:.09em;color:#787878;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.ec-res-strip b{font:800 8.54px/1 "Bahnschrift","Segoe UI",sans-serif;color:#e6e6e6;text-align:right;white-space:nowrap;}
.ec-res-strip > div > div{grid-column:1/-1;height:2px;background:rgba(255,255,255,.055);overflow:hidden;}
.ec-res-strip i{display:block;height:100%;background:linear-gradient(90deg,#157d8b,var(--ec-green));box-shadow:0 0 5px rgba(255,255,255,0.24);}
.ec-resgroup{min-width:0;display:flex;flex-direction:column;min-height:0;}
.ec-resgroup + .ec-resgroup{border-left:1px solid rgba(255,255,255,.06);padding-left:11px;}
.ec-resgroup-head{display:flex;align-items:center;justify-content:space-between;gap:5px;padding:1px 1px 3px;border-bottom:1px solid rgba(255,255,255,0.10);flex:0 0 auto;}
.ec-resgroup-head b{font:700 9.61px/1.1 "Segoe UI","Microsoft YaHei",sans-serif;color:#f6f6f6;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.ec-resgroup-head span{font:700 7.12px/1.1 "Bahnschrift","Segoe UI",sans-serif;color:#888888;white-space:nowrap;}
.ec-resgroup-body{flex:1;min-height:0;overflow:hidden;}
.ec-resrow{display:grid;grid-template-columns:18px minmax(0,1fr) 54px 30px;align-items:center;gap:4px;padding:2px 1px;border-bottom:1px solid rgba(255,255,255,.042);}
.ec-resrow:last-child{border-bottom:0;}
.ec-rrank{font:800 9.73px/1 "Bahnschrift","Segoe UI",sans-serif;color:#7b7b7b;}
.ec-resrow:first-child .ec-rrank{color:var(--ec-green);}
.ec-rwho{min-width:0;display:flex;flex-direction:column;}
.ec-rwho b{font:700 9.97px/1.08 "Segoe UI","Microsoft YaHei",sans-serif;color:#ffffff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.ec-rwho small{margin-top:1px;font:500 7.24px/1.08 "Segoe UI","Microsoft YaHei",sans-serif;color:#828282;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.ec-rtime{font:800 9.97px/1 "Bahnschrift","Segoe UI",sans-serif;color:#f1f1f1;text-align:right;white-space:nowrap;}
.ec-rtag{font:700 6.89px/1.1 "Segoe UI","Microsoft YaHei",sans-serif;font-style:normal;text-align:right;color:#c0c0c0;white-space:nowrap;}
.ec-resrow.dnf .ec-rwho b,.ec-resrow.dnf .ec-rtime{color:#ff8a82;}
.ec-resrow.dnf .ec-rtag{color:var(--ec-red);}

.ec-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 2px;font:700 7.72px/1.1 "Bahnschrift","Segoe UI",sans-serif;letter-spacing:.1em;color:#686868;white-space:nowrap;overflow:hidden;}

/* ---------- desktop grid ---------- */
@media (min-width:1240px){
  .ec-shell{
    height:calc(100vh - 86px);
    min-height:690px;
    display:grid;
    grid-template-columns:330px minmax(0,1fr) 330px;
    grid-template-rows:258px 218px minmax(0,1fr) auto;
    gap:8px 9px;
  }
  .ec-overview{grid-column:1;grid-row:1;}
  .ec-stage{grid-column:2;grid-row:1;}
  .ec-race-state{grid-column:3;grid-row:1;}
  .ec-main{grid-column:1/-1;grid-row:2;}
  .ec-results{grid-column:1/-1;grid-row:3;min-height:0;}
  .ec-foot{grid-column:1/-1;grid-row:4;padding:0 2px;}
  .ec-head{padding:6px 8px 5px;}
  .ec-head h2{font-size:13.06px;}
  .ec-vrow{padding:2px;}
  .ec-lrow{padding:2px;}
  .ec-finrow{padding:2px 0;}
  .ec-resrow{padding:1px 1px;}
  .ec-res-grid{--cols:auto;padding:3px 8px 1px;}
}

@media (min-width:1240px) and (max-height:840px){
  .ec-shell{grid-template-rows:218px 180px minmax(0,1fr) auto;gap:7px 9px;min-height:620px;}
  .ec-head{padding:5px 8px 4px;}
  .ec-head h2{font-size:12.02px;}
  .ec-overview-main{padding:5px 8px 3px;gap:8px;}
  .ec-event-pick{padding:5px 8px 4px;}
  .ec-select-shell select{height:24px;line-height:24px;font-size:10.21px;}
  .ec-gauge{flex-basis:72px;width:72px;height:72px;}
  .ec-gauge-in b{font-size:19.28px;}
  .ec-ov-kpis b{font-size:14.74px;}
  .ec-overview-foot{padding:3px 8px;font-size:7.04px;}
  .ec-stage h1{font-size:27.22px;margin-top:4px;}
  .ec-stage-name{font-size:7.71px;}
  .ec-stage-svg{left:14%;right:6%;width:82%;height:96%;}
  .ec-stage-meta{bottom:45px;gap:4px;}
  .ec-stage-meta span{padding:2px 4px;font-size:6.12px;}
  .ec-stage-meta b{font-size:7.6px;}
  .ec-stage-strip{height:40px;}
  .ec-stage-strip b{font-size:14.74px;}
  .ec-race-state-body{padding:5px 8px 4px;}
  .ec-state-rings{padding:0 0 4px;gap:5px;}
  .ec-ring{width:62px;height:62px;}
  .ec-ring b{font-size:14.74px;}
  .ec-state-grid{padding:4px 0 3px;}
  .ec-state-grid b{font-size:12.47px;}
  .ec-group-bars{padding-top:2px;}
  .ec-gb{padding:1px 0;}
  .ec-vcounts{padding:4px 6px 3px;}
  .ec-vcounts b{font-size:11.91px;}
  .ec-vcounts span{font-size:6.24px;}
  .ec-vrow{padding:1.5px 2px;}
  .ec-vwho b,.ec-lwho b{font-size:9.3px;}
  .ec-lap-summary{padding:3px 7px;}
  .ec-lap-summary b{font-size:15.88px;}
  .ec-lrow{padding:1.5px 2px;}
  .ec-finish-counts{padding:3px 6px 2px;}
  .ec-finish-counts b{font-size:12.47px;}
  .ec-finrow{padding:1.5px 0;}
  .ec-resrow{padding:2px 1px;}
  .ec-rwho b{font-size:9.07px;}
  .ec-rwho small{display:none;}
  .ec-rtime{font-size:9.07px;}
  .ec-note{padding:2px 7px 3px;font-size:7.04px;}
}

@media (min-width:1240px) and (max-height:760px){
  .ec-shell{grid-template-rows:198px 166px minmax(0,1fr) auto;}
  .ec-overview-main{padding-top:3px;}
  .ec-gauge{flex-basis:64px;width:64px;height:64px;}
  .ec-gauge-in b{font-size:16.38px;}
  .ec-gauge-in span{display:none;}
  .ec-stage h1{font-size:24.02px;}
  .ec-stage-name{display:none;}
  .ec-stage-meta{bottom:42px;}
  .ec-ring{width:56px;height:56px;}
  .ec-state-rings{padding-bottom:2px;}
  .ec-state-grid div{padding:0 2px;}
  .ec-group-bars{display:none;}
  .ec-vcounts{display:none;}
  .ec-lap-summary{padding:2px 6px;}
  .ec-finish-counts{display:none;}
  .ec-finish-grid{padding-top:2px;}
  .ec-note{display:none;}
  .ec-res-strip{display:none;}
  .ec-res-chart{display:none;}
  .ec-resrow{padding:0 1px;}
}

/* ---------- responsive stack ---------- */
@media (max-width:1239px){
  .ec-shell{display:flex;flex-direction:column;}
  .ec-overview,.ec-stage,.ec-race-state{min-height:0;}
  .ec-stage{min-height:260px;}
  .ec-main{grid-template-columns:repeat(2,minmax(0,1fr));}
  .ec-finish{grid-column:1/-1;}
  .ec-res-grid{--cols:2 !important;}
  .ec-resgroup:nth-child(3){grid-column:1/-1;border-left:0;padding-left:0;border-top:1px solid rgba(255,255,255,.06);margin-top:5px;padding-top:4px;}
  .ec-overview-main{padding:10px;}
  .ec-gauge{flex-basis:96px;width:96px;height:96px;}
}
@media (max-width:900px){
  .ec-shell{gap:7px;}
  .ec-stage{min-height:300px;}
  .ec-stage h1{font-size:31.67px;max-width:92%;white-space:normal;}
  .ec-stage-name{white-space:normal;}
  .ec-stage-svg{left:4%;right:0;width:96%;}
  .ec-main{grid-template-columns:1fr;}
  .ec-finish{grid-column:auto;}
  .ec-res-grid{--cols:1 !important;gap:0;}
  .ec-resgroup + .ec-resgroup{border-left:0;padding-left:0;border-top:1px solid rgba(255,255,255,.07);margin-top:5px;padding-top:4px;}
  .ec-resgroup:nth-child(3){border-top:1px solid rgba(255,255,255,.07);}
  .ec-overview,.ec-race-state,.ec-main .ec-panel,.ec-results{min-height:auto;}
  .ec-vlist,.ec-lap-list,.ec-finish-grid{overflow:visible;}
  .ec-race-state-body{min-height:230px;}
  .ec-note{white-space:normal;}
}
@media (max-width:520px){
  .ec-stage h1{font-size:26.12px;}
  .ec-stage-meta{position:static;padding:0 12px 50px;margin-top:70px;}
  .ec-stage-strip{grid-template-columns:1fr 1fr;}
  .ec-stage-strip > div:last-child{display:none;}
  .ec-vcounts{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;}
  .ec-vcounts div{display:flex;align-items:baseline;gap:5px;padding:7px 7px 6px;}
  .ec-vcounts b{font-size:20px;}
  .ec-vcounts span{font-size:9.5px;margin-top:0;}
  .ec-finish-grid{grid-template-columns:1fr;}
  .ec-overview-main{gap:8px;}
  .ec-gauge{flex-basis:82px;width:82px;height:82px;}
}

/* top mode switch follows the console palette in sport mode */
.app.ec-sport .tb-mode-btn.is-sport{
  border-color:rgba(54,211,230,0.34);
  background:
    linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.01) 46%,rgba(0,0,0,.18)),
    linear-gradient(110deg,rgba(255,255,255,0.07),transparent 48%),
    #041012;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.10),inset 0 -1px 0 rgba(0,0,0,.72),0 0 0 1px rgba(255,255,255,0.04),0 3px 18px rgba(255,255,255,0.06);
}
.app.ec-sport .tb-mode-btn.is-sport .tb-mode-badge{
  background:linear-gradient(180deg,#9cecf3,#1a9eae);
  border-color:rgba(126,255,216,.8);
  color:#121212;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.35),0 0 13px rgba(54,211,230,0.34);
}
.app.ec-sport .tb-mode-btn.is-sport .tb-mode-copy em{color:#c5c5c5;}
.app.ec-sport .tb-mode-btn.is-sport .tb-mode-copy b{color:#ffffff;}
.app.ec-sport .tb-mode-btn.is-sport .tb-mode-rail i.s{background:#36d3e6;box-shadow:0 0 7px rgba(54,211,230,0.60);}
.app.ec-sport .tb-mode-btn.is-sport:focus-visible{outline-color:rgba(54,211,230,0.50);}

/* ===== final palette: black / white + cyan, red, lime, purple, amber ===== */
.app.ec-sport .content{
  background:
    radial-gradient(980px 520px at 50% -8%, rgba(54,211,230,.045), transparent 62%),
    linear-gradient(180deg,#030405 0%,#08090a 46%,#030405 100%);
}
.app.ec-sport .topbar{
  background:linear-gradient(180deg,#111214,#08090a);
  border-bottom-color:rgba(255,255,255,.12);
  box-shadow:0 10px 30px rgba(0,0,0,.45), inset 0 -1px 0 rgba(255,255,255,.04);
}
.app.ec-sport .topbar::after{
  background:linear-gradient(90deg, transparent, rgba(255,255,255,.32) 18%, rgba(255,75,85,.48) 58%, transparent);
}

.ec-shell{
  --ec-green:#36d3e6;
  --ec-cyan:#36d3e6;
  --ec-red:#ff4b55;
  --ec-amber:#ffc247;
  --ec-lime:#b9e33b;
  --ec-purple:#a26bff;
  --ec-line:rgba(255,255,255,.13);
  --ec-line-soft:rgba(255,255,255,.065);
  --ec-panel:#0d0e10;
  --ec-panel-2:#08090b;
  --ec-text:#f2f4f5;
  --ec-mut:#8b9399;
  color:var(--ec-text);
}
.ec-panel{
  border-color:rgba(255,255,255,.13);
  background:linear-gradient(180deg,rgba(19,21,24,.94),rgba(11,12,14,.97) 46%,rgba(6,7,8,.99));
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.018), inset 0 0 24px rgba(255,255,255,.015), 0 10px 26px rgba(0,0,0,.4);
}
.ec-panel::before,.ec-panel::after{border-color:rgba(255,255,255,.34);}
.ec-head{
  border-bottom-color:rgba(255,255,255,.10);
  background:linear-gradient(90deg,rgba(255,255,255,.05),rgba(54,211,230,.018) 45%,transparent);
}
.ec-head h2{color:#f2f4f5;}
.ec-head-live{color:#a3aaaf;}
.ec-head-live i,.ec-live-dot{background:#ff4b55;box-shadow:0 0 0 2px rgba(255,75,85,.10),0 0 9px rgba(255,75,85,.55);}
.ec-chip.live{color:#d5f47a;border-color:rgba(185,227,59,.32);background:rgba(185,227,59,.07);}
.ec-chip.soon{color:#ffd27a;border-color:rgba(255,194,71,.32);background:rgba(255,194,71,.07);}
.ec-chip.past{color:#9ba1a6;border-color:rgba(255,255,255,.14);background:rgba(255,255,255,.03);}
.ec-head-btn{color:#aeb5ba;border-color:rgba(255,255,255,.17);background:rgba(255,255,255,.035);}
.ec-head-btn:hover{color:#fff;border-color:rgba(54,211,230,.5);background:rgba(54,211,230,.08);box-shadow:0 0 12px rgba(54,211,230,.12);}

.ec-overview{border-top-color:rgba(54,211,230,.55);}
.ec-stage{border-top-color:rgba(54,211,230,.55);}
.ec-race-state{border-top-color:rgba(255,194,71,.55);}
.ec-verify{border-top-color:rgba(185,227,59,.55);}
.ec-laps{border-top-color:rgba(54,211,230,.55);}
.ec-finish{border-top-color:rgba(255,75,85,.50);}
.ec-results{border-top-color:rgba(162,107,255,.50);}

.ec-overview .ec-head{background:linear-gradient(90deg,rgba(54,211,230,.055),transparent);}
.ec-race-state .ec-head{background:linear-gradient(90deg,rgba(255,194,71,.06),transparent);}
.ec-verify .ec-head{background:linear-gradient(90deg,rgba(185,227,59,.06),transparent);}
.ec-laps .ec-head{background:linear-gradient(90deg,rgba(54,211,230,.055),transparent);}
.ec-finish .ec-head{background:linear-gradient(90deg,rgba(255,75,85,.06),transparent);}
.ec-results .ec-head{background:linear-gradient(90deg,rgba(162,107,255,.06),transparent);}

.ec-overview .ec-hex{background:linear-gradient(180deg,#8fe9f2,#147d8a);box-shadow:0 0 12px rgba(54,211,230,.30);}
.ec-race-state .ec-hex{background:linear-gradient(180deg,#ffe09b,#a87110);box-shadow:0 0 12px rgba(255,194,71,.30);}
.ec-verify .ec-hex{background:linear-gradient(180deg,#e0f788,#7f9c18);box-shadow:0 0 12px rgba(185,227,59,.30);}
.ec-laps .ec-hex{background:linear-gradient(180deg,#8fe9f2,#147d8a);box-shadow:0 0 12px rgba(54,211,230,.30);}
.ec-finish .ec-hex{background:linear-gradient(180deg,#ff9a9f,#b3242c);box-shadow:0 0 12px rgba(255,75,85,.30);}
.ec-results .ec-hex{background:linear-gradient(180deg,#c9a7ff,#5e369b);box-shadow:0 0 12px rgba(162,107,255,.30);}

.ec-select-shell select{background:linear-gradient(180deg,#121417,#090a0c);border-color:rgba(255,255,255,.17);color:#f2f4f5;}
.ec-select-shell select:focus{border-color:rgba(54,211,230,.55);box-shadow:0 0 0 2px rgba(54,211,230,.08);}
.ec-select-shell i{color:#8e969b;}
.ec-overview-foot{color:#8f969b;border-top-color:rgba(255,255,255,.06);}
.ec-overview-foot b{color:#d5dadd;}
.ec-ov-kpis div{border-left-color:rgba(255,255,255,.12);}
.ec-ov-kpis span{color:#8b9297;}
.ec-ov-kpis b{color:#f2f4f5;}
.ec-ov-kpis div:nth-child(1) b{color:#36d3e6;}
.ec-ov-kpis div:nth-child(2) b{color:#f2f4f5;}
.ec-ov-kpis div:nth-child(3) b{color:#b9e33b;}
.ec-ov-kpis div:nth-child(4) b{color:#ffc247;}
.ec-gauge{background:conic-gradient(from -90deg,#36d3e6 calc(var(--p) * 1%),rgba(255,255,255,.05) 0);box-shadow:0 0 22px rgba(54,211,230,.14),inset 0 0 10px rgba(0,0,0,.4);}
.ec-gauge::before{background:#0b0c0e;border-color:rgba(255,255,255,.13);}
.ec-gauge::after{background:repeating-conic-gradient(rgba(54,211,230,.42) 0 1deg,transparent 1deg 10deg);opacity:.4;}
.ec-gauge-in b{color:#f5f7f8;text-shadow:0 0 14px rgba(54,211,230,.22);}
.ec-gauge-in span{color:#8f969b;}
.ec-gauge-in em{color:#36d3e6;}

.ec-stage-shade{
  background:
    radial-gradient(420px 210px at 54% 48%, rgba(54,211,230,.10), transparent 68%),
    linear-gradient(90deg,rgba(4,5,6,.94) 0%,rgba(7,8,9,.46) 42%,rgba(6,7,8,.80) 100%),
    linear-gradient(180deg,rgba(4,5,6,.34),rgba(5,6,7,.95) 92%);
}
.ec-globe-lines{stroke:rgba(54,211,230,.34);}
.ec-globe-lines circle{stroke:rgba(54,211,230,.40);}
.ec-globe-lines circle:nth-child(1){stroke:rgba(255,255,255,.32);}
.ec-globe-lines ellipse{stroke:rgba(54,211,230,.35);}
.ec-globe-lines line{stroke:rgba(54,211,230,.22);}
.ec-track-glow{stroke:rgba(54,211,230,.16);}
.ec-track-nodes circle{fill:#070809;stroke:#36d3e6;}
.ec-track-nodes circle:nth-child(2n){fill:rgba(54,211,230,.14);stroke:rgba(54,211,230,.36);}
.ec-track-labels text{fill:#9aa1a6;}
.ec-topline{color:#a5acb1;}
.ec-topline i{color:#5d6368;}
.ec-topline b{color:#eef1f3;}
.ec-stage-name{color:#9ca3a8;}
.ec-stage-meta span{background:rgba(7,8,9,.72);border-color:rgba(255,255,255,.10);color:#8c9398;}
.ec-stage-meta i{color:#70777c;}
.ec-stage-meta b{color:#e7ebed;}
.ec-stage-strip{background:linear-gradient(180deg,rgba(7,8,9,.55),rgba(6,7,8,.94));border-top-color:rgba(255,255,255,.10);}
.ec-stage-strip span{color:#838a90;}
.ec-stage-strip b{color:#f4f6f7;}
.ec-stage-strip em{color:#939a9f;}

.ec-race-state-body{color:#f2f4f5;}
.ec-ring{background:conic-gradient(from -90deg,#36d3e6 calc(var(--p) * 1%),rgba(255,255,255,.05) 0);box-shadow:0 0 16px rgba(54,211,230,.10);}
.ec-ring.amber{background:conic-gradient(from -90deg,#ffc247 calc(var(--p) * 1%),rgba(255,255,255,.05) 0);box-shadow:0 0 16px rgba(255,194,71,.09);}
.ec-ring::before{background:#0b0c0e;border-color:rgba(255,255,255,.11);}
.ec-ring b{color:#f4f6f7;}
.ec-ring span{color:#8f969b;}
.ec-ring em{color:#7f868b;}
.ec-state-grid div{border-bottom-color:rgba(255,255,255,.055);}
.ec-state-grid span{color:#8b9297;}
.ec-state-grid b{color:#f2f4f5;}
.ec-state-grid div:nth-child(1) b{color:#b9e33b;}
.ec-state-grid div:nth-child(2) b{color:#ff4b55;}
.ec-state-grid div:nth-child(3) b{color:#9ba2a7;}
.ec-state-grid div:nth-child(4) b{color:#36d3e6;}
.ec-state-grid em{color:#72797e;}
.ec-group-bars{border-top-color:rgba(255,255,255,.06);}
.ec-gb-head{color:#777e83;}
.ec-gb span{color:#9aa1a6;}
.ec-gb b{color:#c9ced1;}
.ec-gb:nth-child(2) i{background:linear-gradient(90deg,#117986,#36d3e6);}
.ec-gb:nth-child(3) i{background:linear-gradient(90deg,#687e12,#b9e33b);}
.ec-gb:nth-child(4) i{background:linear-gradient(90deg,#906c10,#ffc247);}
.ec-gb:nth-child(5) i{background:linear-gradient(90deg,#52348a,#a26bff);}
.ec-gb:nth-child(2) b{color:#69e1ed;}
.ec-gb:nth-child(3) b{color:#c9ea66;}
.ec-gb:nth-child(4) b{color:#ffd27a;}
.ec-gb:nth-child(5) b{color:#bb9aff;}

.ec-vcounts div,.ec-finish-counts div{background:rgba(255,255,255,.025);border-color:rgba(255,255,255,.07);}
.ec-vcounts span,.ec-finish-counts span{color:#8b9297;}
.ec-vcounts b,.ec-finish-counts b{color:#f2f4f5;}
.ec-vcounts b.ok,.ec-finish-counts b.ok{color:#b9e33b;}
.ec-vcounts b.warn,.ec-finish-counts b.warn{color:#ffc247;}
.ec-vcounts b.bad,.ec-finish-counts b.bad{color:#ff4b55;}
.ec-vcounts b.mut,.ec-finish-counts b.mut{color:#969da2;}
.ec-vrow em.ok{color:#c9ea66;border-color:rgba(185,227,59,.28);background:rgba(185,227,59,.06);}
.ec-vrow em.warn{color:#ffd27a;border-color:rgba(255,194,71,.28);background:rgba(255,194,71,.06);}
.ec-vrow em.bad{color:#ff8089;border-color:rgba(255,75,85,.28);background:rgba(255,75,85,.06);}
.ec-vdot.ok{background:#b9e33b;box-shadow:0 0 7px rgba(185,227,59,.55);}
.ec-vdot.warn{background:#ffc247;}
.ec-vdot.bad{background:#ff4b55;}

.ec-lap-summary{border-bottom-color:rgba(255,255,255,.06);}
.ec-lap-summary span{color:#838a90;}
.ec-lap-summary b{color:#f4f6f7;}
.ec-lap-summary small{color:#92999e;}
.ec-lrow{border-bottom-color:rgba(255,255,255,.045);}
.ec-lrank{color:#8b9297;}
.ec-lrow:first-child .ec-lrank{color:#36d3e6;}
.ec-lwho b{color:#f0f3f4;}
.ec-lwho small{color:#8e959a;}
.ec-ltime{color:#eceff1;}
.ec-lgap{color:#858c91;}
.ec-lrow:first-child .ec-lgap{color:#b9e33b;}
.ec-note{color:#777e83;border-top-color:rgba(255,255,255,.05);}

.ec-finish-grid{color:#f2f4f5;}
.ec-subhead{border-bottom-color:rgba(255,255,255,.06);}
.ec-subhead span{color:#838a90;}
.ec-subhead b{color:#f1f3f4;}
.ec-finrow{border-bottom-color:rgba(255,255,255,.04);}
.ec-finrank{color:#8b9297;}
.ec-finwho b{color:#eff2f3;}
.ec-finwho small{color:#8f969b;}
.ec-finrow em{color:#a5acb1;}
.ec-finrow.dnf em,.ec-finrow.dnf .ec-finrank{color:#ff4b55;}

.ec-res-grid{color:#f2f4f5;}
.ec-resgroup + .ec-resgroup{border-left-color:rgba(255,255,255,.06);}
.ec-resgroup-head{border-bottom-color:rgba(255,255,255,.10);}
.ec-resgroup-head b{color:#f0f3f4;}
.ec-resgroup-head span{color:#858c91;}
.ec-resgroup:nth-child(1) .ec-resgroup-head{border-bottom-color:rgba(54,211,230,.32);}
.ec-resgroup:nth-child(1) .ec-resgroup-head b{color:#63e3ee;}
.ec-resgroup:nth-child(2) .ec-resgroup-head{border-bottom-color:rgba(185,227,59,.32);}
.ec-resgroup:nth-child(2) .ec-resgroup-head b{color:#c9ea66;}
.ec-resgroup:nth-child(3) .ec-resgroup-head{border-bottom-color:rgba(255,194,71,.32);}
.ec-resgroup:nth-child(3) .ec-resgroup-head b{color:#ffd27a;}
.ec-resgroup:nth-child(4) .ec-resgroup-head{border-bottom-color:rgba(162,107,255,.32);}
.ec-resgroup:nth-child(4) .ec-resgroup-head b{color:#bb9aff;}
.ec-resgroup:nth-child(5) .ec-resgroup-head{border-bottom-color:rgba(255,75,85,.32);}
.ec-resgroup:nth-child(5) .ec-resgroup-head b{color:#ff8a92;}
.ec-resrow{border-bottom-color:rgba(255,255,255,.042);}
.ec-rrank{color:#8b9297;}
.ec-resrow:first-child .ec-rrank{color:#36d3e6;}
.ec-rwho b{color:#eff2f3;}
.ec-rwho small{color:#8d9499;}
.ec-rtime{color:#e8ecee;}
.ec-rtag{color:#9aa1a6;}
.ec-resrow.dnf .ec-rwho b,.ec-resrow.dnf .ec-rtime{color:#ff4b55;}
.ec-resrow.dnf .ec-rtag{color:#ff4b55;}
.ec-res-chart{border-top-color:rgba(255,255,255,.06);}
.ec-chart-head span{color:#838a90;}
.ec-chart-head span:last-child{color:#a5acb1;}
.ec-chart-area{fill:url(#ecTraceFill);}
.ec-chart-line{stroke:#36d3e6;filter:drop-shadow(0 0 4px rgba(54,211,230,.45));}
.ec-chart-dot{fill:#b9e33b;stroke:#070809;}

.ec-res-strip{border-top-color:rgba(255,255,255,.08);background:linear-gradient(90deg,rgba(255,255,255,.025),transparent 60%);}
.ec-res-strip span{color:#838a90;}
.ec-res-strip b{color:#c9ced1;}
.ec-res-strip > div:nth-child(1) i{background:linear-gradient(90deg,#687e12,#b9e33b);box-shadow:0 0 5px rgba(185,227,59,.30);}
.ec-res-strip > div:nth-child(2) i{background:linear-gradient(90deg,#906c10,#ffc247);box-shadow:0 0 5px rgba(255,194,71,.30);}
.ec-res-strip > div:nth-child(3) i{background:linear-gradient(90deg,#117986,#36d3e6);box-shadow:0 0 5px rgba(54,211,230,.30);}
.ec-res-strip > div:nth-child(1) b{color:#c9ea66;}
.ec-res-strip > div:nth-child(2) b{color:#ffd27a;}
.ec-res-strip > div:nth-child(3) b{color:#69e1ed;}
.ec-foot{color:#777e83;}

.app.ec-sport .tb-mode-btn.is-sport{
  border-color:rgba(255,75,85,.38);
  background:
    linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.01) 46%,rgba(0,0,0,.18)),
    linear-gradient(110deg,rgba(255,75,85,.08),transparent 48%),
    #0c0d0e;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.10),inset 0 -1px 0 rgba(0,0,0,.72),0 0 0 1px rgba(255,75,85,.05),0 3px 18px rgba(255,75,85,.08);
}
.app.ec-sport .tb-mode-btn.is-sport .tb-mode-badge{
  background:linear-gradient(180deg,#ff7b82,#df2e39);
  border-color:rgba(255,123,130,.82);
  color:#140506;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.30),0 0 13px rgba(255,75,85,.30);
}
.app.ec-sport .tb-mode-btn.is-sport .tb-mode-copy em{color:#ff9198;}
.app.ec-sport .tb-mode-btn.is-sport .tb-mode-copy b{color:#f2f4f5;}
.app.ec-sport .tb-mode-btn.is-sport .tb-mode-rail i.s{background:#ff4b55;box-shadow:0 0 7px rgba(255,75,85,.6);}
.app.ec-sport .tb-mode-btn.is-sport:focus-visible{outline-color:rgba(255,75,85,.5);}


@media (min-width:1240px) and (min-height:841px){ .ec-shell{grid-template-rows:238px 218px minmax(0,1fr) auto;} .ec-resrow{padding:1px 1px;} .ec-resgroup-head{padding-bottom:2px;} .ec-res-chart{flex-basis:22px;} .ec-res-chart svg{height:12px;} }

@media (min-width:1240px){ .ec-vrow{padding:0.5px 2px;} .ec-vcounts{padding:5px 7px 3px;} .ec-vwho b{font-size:9.5px;} .ec-vwho small{font-size:6.8px;} .ec-vrow em{font-size:6.8px;padding:1px 3px;} }

@media (min-width:1240px) and (max-height:840px){ .ec-vwho small{display:none;} }

@media (min-width:1240px) and (max-height:840px){ .ec-vrow{padding:1.2px 3px;} .ec-vwho b{font-size:10.5px;} .ec-vrow em{font-size:7.5px;padding:1px 4px;} }

/* ===== readability pass 璺?top overview / stage / race state ===== */
.ec-kicker{font-size:8.8px;}
.ec-panel-tag{font-size:7.8px;}
.ec-ov-kpis span{font-size:9.1px;}
.ec-overview-foot{font-size:8.6px;}
.ec-stage-name{font-size:10.2px;}
.ec-stage-meta span{font-size:8.4px;padding:4px 6px;}
.ec-stage-meta b{font-size:10.1px;}
.ec-stage-strip{height:51px;}
.ec-stage-strip span{font-size:8.4px;}
.ec-stage-strip em{font-size:9px;}
.ec-stage-meta{bottom:57px;}
.ec-ring span{font-size:8.3px;}
.ec-ring em{font-size:8.6px;}
.ec-state-grid span{font-size:9px;}
.ec-state-grid em{font-size:7.8px;}
.ec-gb-head{font-size:7.8px;}
.ec-gb span{font-size:8.8px;}
.ec-gb b{font-size:8.5px;}
.ec-gb-more{font-size:8.2px;}

/* keep all three entry groups visible after label enlargement */
.ec-group-bars{display:flex;align-items:center;gap:8px;flex-wrap:nowrap;overflow:hidden;}
.ec-group-bars .ec-gb-head{display:none;}
.ec-group-bars .ec-gb{display:flex;align-items:baseline;gap:3px;padding:0;min-width:0;white-space:nowrap;}
.ec-group-bars .ec-gb span{font-size:8.6px;}
.ec-group-bars .ec-gb div{display:none;}
.ec-group-bars .ec-gb b{font-size:8.4px;text-align:right;}
.ec-group-bars .ec-gb-more{display:none;}

/* ===== wide-screen readability 璺?1600px+ ===== */
@media (min-width:1600px){
  .ec-kicker{font-size:10px;}
  .ec-panel-tag{font-size:8.6px;}
  .ec-ov-kpis span{font-size:10.6px;}
  .ec-overview-foot{font-size:9.8px;}
  .ec-topline{font-size:9.6px;}
  .ec-stage-name{font-size:11.5px;}
  .ec-stage-meta span{font-size:9.6px;}
  .ec-stage-meta b{font-size:11.4px;}
  .ec-stage-strip span{font-size:9.6px;}
  .ec-stage-strip em{font-size:10.2px;}
  .ec-ring span{font-size:9.6px;}
  .ec-ring em{font-size:9.8px;}
  .ec-state-grid span{font-size:10.2px;}
  .ec-state-grid em{font-size:8.8px;}
  .ec-group-bars .ec-gb span{font-size:9.6px;}
  .ec-group-bars .ec-gb b{font-size:9.4px;}
  .ec-vcounts span{font-size:9.6px;}
  .ec-vwho b{font-size:11.8px;}
  .ec-vwho small{font-size:9.4px;}
  .ec-lwho b{font-size:11.8px;}
  .ec-lwho small{font-size:9.4px;}
  .ec-rwho b{font-size:11.8px;}
  .ec-rwho small{font-size:9px;}
  .ec-rtime{font-size:11.8px;}
  .ec-rrank{font-size:11px;}
  .ec-resgroup-head b{font-size:11.4px;}
  .ec-resgroup-head span{font-size:9.4px;}
  .ec-finwho b{font-size:11.8px;}
  .ec-finwho small{font-size:9px;}
  .ec-finrow em{font-size:9.6px;}
  .ec-head h2{font-size:16px;}
}
/* ===== wide-screen readability v2 ===== */
@media (min-width:1600px) and (min-height:841px){
  .ec-kicker{font-size:11px;}
  .ec-panel-tag{font-size:9px;}
  .ec-ov-kpis span{font-size:12px;}
  .ec-overview-foot{font-size:10.8px;}
  .ec-topline{font-size:10.4px;}
  .ec-stage-name{font-size:12.5px;}
  .ec-stage-meta span{font-size:10.8px;}
  .ec-stage-meta b{font-size:12.6px;}
  .ec-stage-strip span{font-size:10.8px;}
  .ec-stage-strip em{font-size:11.4px;}
  .ec-ring span{font-size:10.6px;}
  .ec-ring em{font-size:10.8px;}
  .ec-state-grid span{font-size:11.4px;}
  .ec-state-grid em{font-size:9.6px;}
  .ec-group-bars .ec-gb span{font-size:10.8px;}
  .ec-group-bars .ec-gb b{font-size:10.4px;}
  .ec-vcounts span{font-size:10.6px;}
  .ec-vwho b{font-size:12.5px;}
  .ec-vwho small{font-size:10px;}
  .ec-lwho b{font-size:12.5px;}
  .ec-lwho small{font-size:10px;}
  .ec-rwho b{font-size:12.5px;}
  .ec-rwho small{font-size:9.6px;}
  .ec-rtime{font-size:12.5px;}
  .ec-rrank{font-size:11.5px;}
  .ec-resgroup-head b{font-size:12px;}
  .ec-resgroup-head span{font-size:10px;}
  .ec-finwho b{font-size:12.5px;}
  .ec-finwho small{font-size:9.6px;}
  .ec-finrow em{font-size:10px;}
  .ec-head h2{font-size:18px;}
}
/* ===== wide-screen readability v3 璺?keep data rows compact ===== */
@media (min-width:1600px) and (min-height:841px){
  .ec-vcounts span{font-size:9.6px;}
  .ec-vwho b{font-size:11.8px;}
  .ec-vwho small{font-size:9.4px;}
  .ec-lwho b{font-size:11.8px;}
  .ec-lwho small{font-size:9.4px;}
  .ec-rwho b{font-size:11.8px;}
  .ec-rwho small{font-size:9px;}
  .ec-rtime{font-size:11.8px;}
  .ec-rrank{font-size:11px;}
  .ec-resgroup-head b{font-size:11.4px;}
  .ec-resgroup-head span{font-size:9.4px;}
  .ec-finwho b{font-size:11.8px;}
  .ec-finwho small{font-size:9px;}
  .ec-finrow em{font-size:9.6px;}
  .ec-head h2{font-size:16px;}
}
/* compact rider metadata on wide screens so all six fit */
@media (min-width:1600px) and (min-height:841px){
  .ec-vwho small{margin-top:0;font-size:9px;}
  .ec-lwho small{margin-top:0;}
  .ec-vrow{padding:1px 2px;}
}
/* wide screens: keep check-in names/status only, all six visible */
@media (min-width:1600px) and (min-height:841px){
  .ec-vwho small{display:none;}
  .ec-vrow{padding:2px 2px;}
}
/* short wide screens: keep all result rows, drop only the secondary line */
@media (min-width:1600px) and (min-height:841px) and (max-height:920px){
  .ec-rwho small{display:none;}
  .ec-rrow{padding-top:1px;padding-bottom:1px;}
}
/* wide screens: two-column check-in, preserving rider metadata */
@media (min-width:1600px) and (min-height:841px){
  .ec-vlist{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:18px;align-content:start;}
  .ec-vwho small{display:block;font-size:9.4px;margin-top:0;}
  .ec-vrow{padding:2px 2px;}
}
/* ===== results group filter ===== */
.ec-res-tabs{display:flex;align-items:center;gap:4px;min-width:0;}
.ec-res-tab{
  appearance:none;cursor:pointer;border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.025);color:#9aa3a8;border-radius:2px;
  font:700 9.6px/1 "Segoe UI","Microsoft YaHei",sans-serif;letter-spacing:.02em;
  padding:4px 7px;white-space:nowrap;transition:background .12s,color .12s,border-color .12s;
}
.ec-res-tab:hover{color:#f2f4f5;border-color:rgba(255,255,255,.34);background:rgba(255,255,255,.055);}
.ec-res-tab.is-on{background:#36d3e6;border-color:#36d3e6;color:#031014;}
.ec-res-tab.is-static{cursor:default;}
.ec-res-tabs .ec-res-tab:nth-child(3).is-on{background:#b9e33b;border-color:#b9e33b;color:#0b1200;}
.ec-res-tabs .ec-res-tab:nth-child(4).is-on{background:#ffc247;border-color:#ffc247;color:#160f00;}
.ec-resgroup-head[data-ec-group-head]{cursor:pointer;user-select:none;}
.ec-resgroup-head[data-ec-group-head]:hover{background:rgba(255,255,255,.035);}
.ec-res-grid.is-filtered{grid-template-columns:1fr !important;gap:0;}
.ec-res-grid.is-filtered .ec-resgroup{display:none;}
.ec-res-grid.is-filtered .ec-resgroup.is-on{display:flex;border-left:0;padding-left:0;}
.ec-body.has-res-filter .ec-res-chart{display:none;}
@media (min-width:1600px){
  .ec-res-tab{font-size:11px;padding:4px 8px;}
}
@media (min-width:1240px) and (max-width:1599px){
  .ec-results .ec-res-chart{display:none;}
}
@media (max-width:760px){
  .ec-res-tabs{display:none;}
}
/* ===== stacked three-panel layout ===== */
@media (min-width:1240px){
  .ec-shell.ec-shell-stacked{
    height:auto;
    min-height:0;
    grid-template-rows:258px auto auto auto;
  }
  .ec-main.ec-main-stacked{
    display:flex;
    flex-direction:column;
    gap:9px;
    min-height:0;
  }
  .ec-main-stacked > .ec-panel{flex:0 0 auto;}
  .ec-main-stacked .ec-verify{min-height:280px;}
  .ec-main-stacked .ec-laps{min-height:300px;}
  .ec-main-stacked .ec-finish{min-height:300px;}
  .ec-shell-stacked .ec-results{min-height:380px;}

  .ec-main-stacked .ec-head{padding:9px 14px 8px;gap:10px;}
  .ec-main-stacked .ec-hex{width:15px;height:18px;}
  .ec-main-stacked .ec-kicker{font-size:10.5px;}
  .ec-main-stacked .ec-head h2{font-size:22px;}
  .ec-main-stacked .ec-head-btn{font-size:11px;padding:5px 9px;}

  .ec-main-stacked .ec-vcounts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:9px 14px 8px;}
  .ec-main-stacked .ec-vcounts div{display:flex;align-items:baseline;gap:9px;padding:8px 11px 7px;}
  .ec-main-stacked .ec-vcounts b{font-size:26px;}
  .ec-main-stacked .ec-vcounts span{font-size:12.5px;margin-top:0;}

  .ec-main-stacked .ec-vlist{
    display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
    column-gap:24px;align-content:start;padding:0 14px 8px;
  }
  .ec-main-stacked .ec-vrow{padding:10px 8px;gap:10px;}
  .ec-main-stacked .ec-vdot{width:7px;height:7px;}
  .ec-main-stacked .ec-vwho b{font-size:16px;}
  .ec-main-stacked .ec-vwho small{font-size:12px;margin-top:3px;}
  .ec-main-stacked .ec-vrow em{font-size:11px;padding:4px 8px;}

  .ec-main-stacked .ec-lap-summary{padding:9px 14px;gap:14px;}
  .ec-main-stacked .ec-lap-summary span{font-size:10.5px;}
  .ec-main-stacked .ec-lap-summary b{font-size:26px;margin-top:4px;}
  .ec-main-stacked .ec-lap-summary small{font-size:11.5px;margin-top:4px;}
  .ec-main-stacked .ec-lap-list{
    display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
    column-gap:28px;align-content:start;padding:4px 14px 8px;
  }
  .ec-main-stacked .ec-lrow{padding:10px 8px;gap:8px;}
  .ec-main-stacked .ec-lrank{font-size:14px;}
  .ec-main-stacked .ec-lwho b{font-size:16px;}
  .ec-main-stacked .ec-lwho small{font-size:12px;margin-top:3px;}
  .ec-main-stacked .ec-ltime{font-size:16px;}
  .ec-main-stacked .ec-lgap{font-size:11px;}

  .ec-main-stacked .ec-finish-counts{display:grid;gap:10px;padding:9px 14px 7px;}
  .ec-main-stacked .ec-finish-counts div{padding:8px 10px 7px;}
  .ec-main-stacked .ec-finish-counts b{font-size:24px;}
  .ec-main-stacked .ec-finish-counts span{font-size:11.5px;margin-top:3px;}
  .ec-main-stacked .ec-finish-grid{
    grid-template-columns:minmax(0,2.15fr) minmax(0,.85fr);
    column-gap:28px;padding:4px 14px 9px;
  }
  .ec-main-stacked .ec-subhead span{font-size:10.5px;}
  .ec-main-stacked .ec-subhead b{font-size:14px;}
  .ec-main-stacked .ec-fin-block:first-child{
    display:grid;grid-template-columns:1fr 1fr;
    column-gap:24px;align-content:start;
  }
  .ec-main-stacked .ec-fin-block:first-child .ec-subhead{grid-column:1/-1;}
  .ec-main-stacked .ec-finrow{padding:10px 0;gap:8px;}
  .ec-main-stacked .ec-finrank{font-size:13px;}
  .ec-main-stacked .ec-finwho b{font-size:16px;}
  .ec-main-stacked .ec-finwho small{font-size:12px;margin-top:3px;}
  .ec-main-stacked .ec-finrow em{font-size:12px;}
}
@media (min-width:1240px) and (max-height:840px){
  .ec-shell.ec-shell-stacked{grid-template-rows:218px auto auto auto;}
}
/* keep leader row name readable */
.ec-resrow:first-child .ec-rwho b{color:#eff2f3;}

/* ===== four primary panels in one row (1x4) ===== */
@media (min-width:1240px){
  .ec-main.ec-main-1x4{
    display:grid;
    grid-template-columns:minmax(0,1.34fr) repeat(3,minmax(0,1fr));
    gap:10px;
    min-height:0;
    height:clamp(400px,calc(100vh - 360px),640px);
  }
  .ec-main-1x4 > .ec-panel{height:100%;min-height:0;min-width:0;}
  .ec-main-1x4 > .ec-results{grid-column:auto;grid-row:auto;min-height:0;}

  .ec-main-1x4 .ec-head{padding:8px 10px 7px;gap:6px;}
  .ec-main-1x4 .ec-hex{width:13px;height:16px;flex:0 0 auto;}
  .ec-main-1x4 .ec-kicker{font-size:9.5px;letter-spacing:.12em;}
  .ec-main-1x4 .ec-head h2{font-size:19px;line-height:1.05;}
  .ec-main-1x4 .ec-head-btn{font-size:9.5px;padding:4px 6px;white-space:nowrap;}

  .ec-main-1x4 .ec-vcounts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;padding:8px 10px 7px;}
  .ec-main-1x4 .ec-vcounts div{display:block;padding:6px 7px 5px;}
  .ec-main-1x4 .ec-vcounts b{font-size:22px;}
  .ec-main-1x4 .ec-vcounts span{font-size:9.5px;margin-top:3px;overflow:hidden;text-overflow:ellipsis;}

  .ec-main-1x4 .ec-vlist{display:block;overflow-y:auto;padding:0 10px 8px;}
  .ec-main-1x4 .ec-vrow{padding:8px 4px;gap:7px;}
  .ec-main-1x4 .ec-vwho b{font-size:13.5px;}
  .ec-main-1x4 .ec-vwho small{font-size:10.5px;margin-top:2px;}
  .ec-main-1x4 .ec-vrow em{font-size:10px;padding:3px 6px;}

  .ec-main-1x4 .ec-lap-summary{padding:8px 10px;gap:10px;}
  .ec-main-1x4 .ec-lap-summary span{font-size:9.5px;}
  .ec-main-1x4 .ec-lap-summary b{font-size:22px;margin-top:3px;}
  .ec-main-1x4 .ec-lap-summary small{font-size:10.5px;margin-top:3px;}
  .ec-main-1x4 .ec-lap-list{display:block;overflow-y:auto;padding:3px 10px 8px;}
  .ec-main-1x4 .ec-lrow{padding:8px 4px;gap:6px;grid-template-columns:22px minmax(0,1fr) 62px 40px;}
  .ec-main-1x4 .ec-lrank{font-size:12.5px;}
  .ec-main-1x4 .ec-lwho b{font-size:13.5px;}
  .ec-main-1x4 .ec-lwho small{font-size:10.5px;margin-top:2px;}
  .ec-main-1x4 .ec-ltime{font-size:14px;}
  .ec-main-1x4 .ec-lgap{font-size:10px;}

  .ec-main-1x4 .ec-finish-counts{display:grid;gap:6px;padding:8px 10px 7px;}
  .ec-main-1x4 .ec-finish-counts div{padding:6px 7px 5px;}
  .ec-main-1x4 .ec-finish-counts b{font-size:22px;}
  .ec-main-1x4 .ec-finish-counts span{font-size:9.5px;margin-top:2px;overflow:hidden;text-overflow:ellipsis;}
  .ec-main-1x4 .ec-finish-grid{grid-template-columns:minmax(0,1.75fr) minmax(0,.85fr);gap:8px;overflow-y:auto;padding:0 10px 8px;align-content:start;}
  .ec-main-1x4 .ec-subhead{padding:4px 0;}
  .ec-main-1x4 .ec-subhead span{font-size:9px;}
  .ec-main-1x4 .ec-subhead b{font-size:12px;}
  .ec-main-1x4 .ec-finrow{padding:7px 0;gap:5px;}
  .ec-main-1x4 .ec-finrank{font-size:11.5px;}
  .ec-main-1x4 .ec-finwho b{font-size:13px;}
  .ec-main-1x4 .ec-finwho small{font-size:10px;margin-top:2px;}
  .ec-main-1x4 .ec-finrow em{font-size:10.5px;}

  .ec-main-1x4 .ec-results .ec-head{flex-wrap:wrap;align-items:flex-start;}
  .ec-main-1x4 .ec-results .ec-head-copy{flex:1 1 auto;}
  .ec-main-1x4 .ec-results .ec-head-meta{width:100%;flex-wrap:wrap;justify-content:flex-start;gap:5px;padding-top:3px;}
  .ec-main-1x4 .ec-res-tabs{gap:3px;flex-wrap:wrap;}
  .ec-main-1x4 .ec-res-tabs .ec-res-tab{font-size:9px;padding:3px 5px;}
  .ec-main-1x4 .ec-results .ec-head-btn{font-size:9px;padding:3px 5px;}
  .ec-main-1x4 .ec-res-grid{
    display:block !important;
    overflow-y:auto;
    padding:4px 10px 2px;
  }
  .ec-main-1x4 .ec-resgroup + .ec-resgroup{
    border-left:0;padding-left:0;margin-top:6px;padding-top:5px;
    border-top:1px solid rgba(255,255,255,.07);
  }
  .ec-main-1x4 .ec-resgroup-body{overflow:visible;}
  .ec-main-1x4 .ec-resgroup-head{padding:3px 1px 4px;}
  .ec-main-1x4 .ec-resgroup-head b{font-size:11.5px;}
  .ec-main-1x4 .ec-resgroup-head span{font-size:9px;}
  .ec-main-1x4 .ec-resrow{grid-template-columns:16px minmax(0,1fr) 56px 30px;gap:4px;padding:5px 1px;}
  .ec-main-1x4 .ec-rrank{font-size:11px;}
  .ec-main-1x4 .ec-rwho b{font-size:12.5px;}
  .ec-main-1x4 .ec-rwho small{font-size:9.5px;}
  .ec-main-1x4 .ec-rtime{font-size:12.5px;}
  .ec-main-1x4 .ec-res-chart{display:none;}
  .ec-main-1x4 .ec-res-strip{padding:4px 8px 5px;gap:5px;}
  .ec-main-1x4 .ec-res-strip span{font-size:7px;}
  .ec-main-1x4 .ec-res-strip b{font-size:9px;}
}
@media (min-width:1240px) and (max-width:1599px){
  .ec-main-1x4 .ec-head h2{font-size:21px;}
  .ec-main-1x4 .ec-kicker{font-size:9.5px;}
  .ec-main-1x4 .ec-vcounts b,.ec-main-1x4 .ec-finish-counts b,.ec-main-1x4 .ec-lap-summary b{font-size:24px;}
  .ec-main-1x4 .ec-vcounts span,.ec-main-1x4 .ec-finish-counts span{font-size:10.5px;}
  .ec-main-1x4 .ec-vwho b,.ec-main-1x4 .ec-lwho b,.ec-main-1x4 .ec-finwho b{font-size:14px;}
  .ec-main-1x4 .ec-vwho small,.ec-main-1x4 .ec-lwho small{font-size:11px;}
  .ec-main-1x4 .ec-ltime{font-size:15px;}
  .ec-main-1x4 .ec-rwho b{font-size:13.5px;}
  .ec-main-1x4 .ec-rtime{font-size:14px;}
}
@media (min-width:1600px){
  .ec-main-1x4 .ec-head{padding:10px 13px 9px;}
  .ec-main-1x4 .ec-kicker{font-size:10.5px;}
  .ec-main-1x4 .ec-head h2{font-size:24px;}
  .ec-main-1x4 .ec-head-btn{font-size:10.5px;padding:5px 8px;}

  .ec-main-1x4 .ec-vcounts{padding:10px 13px 9px;gap:7px;}
  .ec-main-1x4 .ec-vcounts div{padding:9px 10px 8px;}
  .ec-main-1x4 .ec-vcounts b{font-size:29px;}
  .ec-main-1x4 .ec-vcounts span{font-size:11.5px;margin-top:4px;}

  .ec-main-1x4 .ec-vlist{padding:0 13px 10px;}
  .ec-main-1x4 .ec-vrow{padding:12px 6px;gap:9px;}
  .ec-main-1x4 .ec-vwho b{font-size:16.5px;}
  .ec-main-1x4 .ec-vwho small{font-size:12px;margin-top:3px;}
  .ec-main-1x4 .ec-vrow em{font-size:11.5px;padding:4px 8px;}

  .ec-main-1x4 .ec-lap-summary{padding:10px 13px;gap:12px;}
  .ec-main-1x4 .ec-lap-summary span{font-size:10.5px;}
  .ec-main-1x4 .ec-lap-summary b{font-size:29px;margin-top:4px;}
  .ec-main-1x4 .ec-lap-summary small{font-size:12px;margin-top:4px;}
  .ec-main-1x4 .ec-lap-list{padding:4px 13px 10px;}
  .ec-main-1x4 .ec-lrow{padding:12px 6px;gap:8px;grid-template-columns:24px minmax(0,1fr) 72px 46px;}
  .ec-main-1x4 .ec-lrank{font-size:14px;}
  .ec-main-1x4 .ec-lwho b{font-size:16.5px;}
  .ec-main-1x4 .ec-lwho small{font-size:12px;margin-top:3px;}
  .ec-main-1x4 .ec-ltime{font-size:17px;}
  .ec-main-1x4 .ec-lgap{font-size:11.5px;}

  .ec-main-1x4 .ec-finish-counts{padding:10px 13px 9px;gap:8px;}
  .ec-main-1x4 .ec-finish-counts div{padding:9px 10px 8px;}
  .ec-main-1x4 .ec-finish-counts b{font-size:29px;}
  .ec-main-1x4 .ec-finish-counts span{font-size:11.5px;margin-top:4px;}
  .ec-main-1x4 .ec-finish-grid{padding:0 13px 10px;gap:11px;grid-template-columns:minmax(0,1.85fr) minmax(0,.75fr);}
  .ec-main-1x4 .ec-subhead{padding:5px 0;}
  .ec-main-1x4 .ec-subhead span{font-size:10px;}
  .ec-main-1x4 .ec-subhead b{font-size:13.5px;}
  .ec-main-1x4 .ec-finrow{padding:9px 0;gap:6px;}
  .ec-main-1x4 .ec-finrank{font-size:13px;}
  .ec-main-1x4 .ec-finwho b{font-size:15.5px;}
  .ec-main-1x4 .ec-finwho small{font-size:11.5px;margin-top:3px;}
  .ec-main-1x4 .ec-finrow em{font-size:12px;}

  .ec-main-1x4 .ec-res-tabs .ec-res-tab{font-size:10px;padding:4px 6px;}
  .ec-main-1x4 .ec-results .ec-head-btn{font-size:10px;padding:4px 6px;}
  .ec-main-1x4 .ec-res-grid{padding:5px 13px 3px;}
  .ec-main-1x4 .ec-resgroup-head{padding:5px 1px 5px;}
  .ec-main-1x4 .ec-resgroup-head b{font-size:13.5px;}
  .ec-main-1x4 .ec-resgroup-head span{font-size:10px;}
  .ec-main-1x4 .ec-resrow{grid-template-columns:18px minmax(0,1fr) 66px 34px;gap:5px;padding:8px 1px;}
  .ec-main-1x4 .ec-rrank{font-size:12px;}
  .ec-main-1x4 .ec-rwho b{font-size:14.5px;}
  .ec-main-1x4 .ec-rwho small{font-size:10.5px;}
  .ec-main-1x4 .ec-rtime{font-size:15.5px;}
  .ec-main-1x4 .ec-res-strip{padding:5px 10px 6px;gap:7px;}
  .ec-main-1x4 .ec-res-strip span{font-size:8px;}
  .ec-main-1x4 .ec-res-strip b{font-size:10px;}
}

/* ===== race-stage HUD layer ===== */
.ec-stage .ec-hud{
  position:absolute;
  inset:0;
  z-index:4;
  pointer-events:none;
  overflow:hidden;
}
.ec-hud-corner{
  position:absolute;
  width:22px;height:22px;
  border:1px solid rgba(54,211,230,.52);
  box-shadow:0 0 7px rgba(54,211,230,.18), inset 0 0 7px rgba(54,211,230,.10);
}
.ec-hud-corner.tl{left:9px;top:9px;border-right:0;border-bottom:0;}
.ec-hud-corner.tr{right:9px;top:9px;border-left:0;border-bottom:0;}
.ec-hud-corner.bl{left:9px;bottom:9px;border-right:0;border-top:0;}
.ec-hud-corner.br{right:9px;bottom:9px;border-left:0;border-top:0;}

.ec-hud-live{
  position:absolute;
  z-index:6;
  right:14px;top:12px;
  display:inline-flex;align-items:center;gap:5px;
  padding:4px 7px 3px;
  border:1px solid rgba(255,75,85,.34);
  background:linear-gradient(180deg,rgba(255,75,85,.10),rgba(255,75,85,.03));
  color:#ff938b;
  font:800 9px/1 "Bahnschrift","Segoe UI",sans-serif;
  letter-spacing:.18em;
  box-shadow:0 0 12px rgba(255,75,85,.08), inset 0 0 8px rgba(255,75,85,.06);
}
.ec-hud-live > i{
  width:5px;height:5px;border-radius:50%;
  background:#ff4b55;
  box-shadow:0 0 9px rgba(255,75,85,.95);
  animation:ecHudPulse 1.5s ease-in-out infinite;
}

.ec-hud-orbit{
  position:absolute;
  left:54.5%;top:50%;
  height:88%;aspect-ratio:1;
  border-radius:50%;
  transform:translate(-50%,-50%);
  border:1px solid rgba(54,211,230,.20);
  box-shadow:inset 0 0 22px rgba(54,211,230,.06),0 0 18px rgba(54,211,230,.04);
}
.ec-hud-orbit.b{
  height:68%;
  border-style:dashed;
  border-color:rgba(185,227,59,.30);
  opacity:.72;
  animation:ecHudOrbit 26s linear infinite;
}
.ec-hud-orbit.b::before{
  content:"";position:absolute;left:50%;top:-3px;
  width:5px;height:5px;border-radius:50%;
  transform:translateX(-50%);
  background:#b9e33b;
  box-shadow:0 0 10px rgba(185,227,59,.9);
}

.ec-hud-scan{
  position:absolute;
  left:24%;right:24%;top:28%;
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(54,211,230,.72),rgba(255,255,255,.55),rgba(54,211,230,.72),transparent);
  box-shadow:0 0 9px rgba(54,211,230,.40);
  opacity:0;
  animation:ecHudScan 7s ease-in-out infinite;
}

.ec-hud-rail{
  position:absolute;
  top:18%;bottom:14%;
  width:26px;
  opacity:.46;
  background:repeating-linear-gradient(180deg,rgba(54,211,230,.72) 0 1px,transparent 1px 10px);
  -webkit-mask-image:linear-gradient(180deg,transparent,#000 15%,#000 85%,transparent);
  mask-image:linear-gradient(180deg,transparent,#000 15%,#000 85%,transparent);
}
.ec-hud-rail.left{left:9px;border-left:1px solid rgba(54,211,230,.28);}
.ec-hud-rail.right{right:9px;border-right:1px solid rgba(54,211,230,.28);}
.ec-hud-rail::after{
  content:"";position:absolute;left:0;right:0;top:0;height:18%;
  background:linear-gradient(180deg,transparent,rgba(54,211,230,.42),transparent);
  animation:ecHudRail 4.8s linear infinite;
}
.ec-hud-rail.right::after{animation-delay:-2.4s;}

.ec-hud-finish{
  position:absolute;
  left:0;right:0;bottom:0;height:5px;
  background:repeating-conic-gradient(rgba(222,231,234,.62) 0 25%,rgba(3,9,11,.92) 0 50%) 0 0/10px 10px;
  opacity:.22;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 10%,#000 90%,transparent);
  mask-image:linear-gradient(90deg,transparent,#000 10%,#000 90%,transparent);
}

@keyframes ecHudPulse{
  0%,100%{opacity:.45;transform:scale(.9);}
  50%{opacity:1;transform:scale(1.15);}
}
@keyframes ecHudOrbit{
  from{rotate:0deg;}
  to{rotate:360deg;}
}
@keyframes ecHudScan{
  0%,100%{top:24%;opacity:0;}
  12%{opacity:.85;}
  55%{top:64%;opacity:.55;}
  88%{opacity:.15;}
}
@keyframes ecHudRail{
  0%{transform:translateY(-110%);opacity:0;}
  18%{opacity:1;}
  82%{opacity:.85;}
  100%{transform:translateY(460%);opacity:0;}
}
@media (prefers-reduced-motion:reduce){
  .ec-hud-live > i,.ec-hud-orbit.b,.ec-hud-scan,.ec-hud-rail::after{animation:none;}
  .ec-hud-scan{top:48%;opacity:.35;}
}

/* ===== v90 unified race command hologram ===== */
.ec-stage{
  overflow:hidden;
  perspective:900px;
  perspective-origin:64% 52%;
  background:
    radial-gradient(720px 330px at 22% 52%, rgba(54,211,230,.055), transparent 72%),
    radial-gradient(620px 280px at 78% 54%, rgba(54,211,230,.065), transparent 72%),
    radial-gradient(340px 160px at 8% 94%, rgba(255,46,58,.10), transparent 72%),
    linear-gradient(180deg,#071014 0%,#04080a 100%);
}
.ec-stage::before{
  content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
  background:
    linear-gradient(90deg, rgba(255,58,68,.62) 0 13%, rgba(255,58,68,.12) 13% 16%, transparent 16%) top/100% 2px no-repeat,
    linear-gradient(90deg, rgba(4,8,10,.94) 0%, rgba(4,8,10,.66) 24%, transparent 44%),
    radial-gradient(520px 210px at 74% 52%, rgba(54,211,230,.05), transparent 70%);
}
.ec-stage::after{
  content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
  background-image:
    linear-gradient(rgba(88,230,242,.038) 1px,transparent 1px),
    linear-gradient(90deg,rgba(88,230,242,.038) 1px,transparent 1px);
  background-size:34px 34px;
  -webkit-mask-image:radial-gradient(ellipse at 72% 55%,#000 0 20%,transparent 70%);
  mask-image:radial-gradient(ellipse at 72% 55%,#000 0 20%,transparent 70%);
  opacity:.55;
}

.ec-stage-grid{
  position:absolute;z-index:0;left:-30%;right:-30%;bottom:-150px;height:430px;
  pointer-events:none;
  background-image:
    linear-gradient(rgba(54,211,230,.16) 1px,transparent 1px),
    linear-gradient(90deg,rgba(54,211,230,.12) 1px,transparent 1px);
  background-size:64px 48px;
  transform:perspective(560px) rotateX(63deg);
  transform-origin:center bottom;
  opacity:.36;
  -webkit-mask-image:linear-gradient(0deg,#000 0 38%,transparent 84%);
  mask-image:linear-gradient(0deg,#000 0 38%,transparent 84%);
  animation:ecGridMove 14s linear infinite;
}
@keyframes ecGridMove{
  from{background-position:0 0,0 0;}
  to{background-position:0 48px,0 0;}
}

.ec-stage-beam{
  position:absolute;z-index:2;left:-14%;bottom:-25%;width:84%;height:180%;
  pointer-events:none;
  background:
    linear-gradient(101deg,transparent 27%,rgba(255,46,58,.26) 27.6%,rgba(255,46,58,.05) 43%,transparent 44%),
    linear-gradient(101deg,transparent 46%,rgba(255,255,255,.05) 46.3%,transparent 46.8%),
    linear-gradient(78deg,transparent 58%,rgba(54,211,230,.055) 58.4%,transparent 59%);
  filter:blur(1.4px);
  transform:skewX(-9deg);
  opacity:.9;
  animation:ecBeam 7.5s ease-in-out infinite;
}
@keyframes ecBeam{
  0%,100%{opacity:.55;transform:translateX(-16px) skewX(-9deg);}
  45%{opacity:.95;transform:translateX(10px) skewX(-9deg);}
}

/* left timing spine */
.ec-stage-spine{
  position:absolute;z-index:5;left:9px;top:16px;bottom:16px;width:1px;
  pointer-events:none;
  background:linear-gradient(180deg,transparent,rgba(54,211,230,.30) 10%,rgba(54,211,230,.10) 54%,rgba(255,58,68,.28) 88%,transparent);
}
.ec-stage-spine i{
  position:absolute;left:-2px;width:5px;height:1px;
  background:rgba(120,235,245,.55);
  box-shadow:0 0 5px rgba(54,211,230,.35);
}
.ec-stage-spine i:nth-child(1){top:8%;}
.ec-stage-spine i:nth-child(2){top:22%;width:9px;}
.ec-stage-spine i:nth-child(3){top:38%;}
.ec-stage-spine i:nth-child(4){top:52%;width:9px;}
.ec-stage-spine i:nth-child(5){top:66%;}
.ec-stage-spine i:nth-child(6){top:78%;width:9px;background:rgba(255,90,98,.55);}
.ec-stage-spine i:nth-child(7){top:89%;background:rgba(255,90,98,.4);}
.ec-stage-spine i:nth-child(8){top:96%;width:9px;background:rgba(255,90,98,.65);}

/* hologram canvas */
.ec-stage-holo{
  position:absolute;z-index:3;left:31%;right:1px;top:-2px;bottom:-2px;
  pointer-events:none;
}
.ec-holo-radar{
  position:absolute;z-index:0;left:50%;top:54%;width:84%;height:80%;
  transform:translate(-50%,-50%);
  border-radius:50%;
  background:
    repeating-radial-gradient(ellipse at center,transparent 0 30px,rgba(54,211,230,.055) 31px,transparent 32px),
    radial-gradient(ellipse at center,rgba(54,211,230,.07) 0%,rgba(54,211,230,.018) 48%,transparent 70%);
  box-shadow:inset 0 0 80px rgba(54,211,230,.045);
}
.ec-holo-radar::before,.ec-holo-radar::after{
  content:"";position:absolute;pointer-events:none;
  background:rgba(54,211,230,.14);
}
.ec-holo-radar::before{left:50%;top:6%;bottom:6%;width:1px;}
.ec-holo-radar::after{top:50%;left:5%;right:5%;height:1px;}
.ec-holo-ring{
  position:absolute;left:50%;top:50%;width:100%;height:100%;
  transform:translate(-50%,-50%);
  border-radius:50%;
  border:1px solid rgba(54,211,230,.20);
}
.ec-holo-ring.r2{
  width:77%;height:77%;
  border-style:dashed;
  border-color:rgba(185,227,59,.26);
  animation:ecSpin 36s linear infinite;
}
.ec-holo-ring.r3{
  width:55%;height:55%;
  border-color:rgba(54,211,230,.14);
  border-style:dotted;
}
.ec-holo-sweep{
  position:absolute;inset:0;
  border-radius:50%;
  background:conic-gradient(from 0deg,rgba(54,211,230,.20),rgba(54,211,230,.03) 20%,transparent 32%);
  -webkit-mask-image:radial-gradient(circle,transparent 0 14%,#000 42% 100%);
  mask-image:radial-gradient(circle,transparent 0 14%,#000 42% 100%);
  animation:ecSpin 13s linear infinite;
}
@keyframes ecSpin{to{transform:rotate(360deg);}}

.ec-track-map{
  position:absolute;z-index:2;inset:0;width:100%;height:100%;
  overflow:visible;
}
.ec-holo-rings ellipse{
  fill:none;stroke:rgba(54,211,230,.20);stroke-width:1;
  stroke-dasharray:2 9;
}
.ec-holo-rings ellipse:nth-child(2){stroke:rgba(54,211,230,.13);stroke-dasharray:12 16;}
.ec-holo-rings ellipse:nth-child(3){stroke:rgba(185,227,59,.14);stroke-dasharray:1 7;}
.ec-holo-radials line{stroke:rgba(54,211,230,.11);stroke-width:1;}
.ec-holo-terrain path{
  fill:none;stroke:rgba(54,211,230,.09);stroke-width:1;
  stroke-dasharray:4 10;
}
.ec-radar-sweep{
  transform-box:view-box;transform-origin:380px 170px;
  animation:ecRadar 10s linear infinite;
  opacity:.65;
}
@keyframes ecRadar{to{transform:rotate(360deg);}}

.ec-track-fill{fill:rgba(54,211,230,.035);stroke:none;}
.ec-track-shadow{
  fill:none;stroke:#000;stroke-width:24;stroke-linecap:round;stroke-linejoin:round;
  transform:translateY(18px);opacity:.68;filter:blur(8px);
}
.ec-track-wall{
  fill:none;stroke:rgba(11,76,85,.82);stroke-width:10;
  stroke-linecap:round;stroke-linejoin:round;
  transform:translateY(10px);filter:blur(.5px);
}
.ec-track-glow{
  fill:none;stroke:#31d8ea;stroke-width:18;stroke-linecap:round;stroke-linejoin:round;
  opacity:.26;filter:blur(9px);
  animation:ecTrackGlow 5.2s ease-in-out infinite;
}
@keyframes ecTrackGlow{0%,100%{opacity:.20;}50%{opacity:.38;}}
.ec-track-line{
  fill:none;stroke:url(#ecTrackGrad);stroke-width:4.6;
  stroke-linecap:round;stroke-linejoin:round;
  filter:drop-shadow(0 5px 0 rgba(9,70,80,.55)) drop-shadow(0 0 8px rgba(54,211,230,.55));
}
.ec-track-pulse{
  fill:none;stroke:rgba(238,255,255,.96);stroke-width:2.4;
  stroke-linecap:round;stroke-linejoin:round;
  stroke-dasharray:9 165;
  filter:drop-shadow(0 0 8px rgba(160,255,255,.9));
  animation:ecTrackPulse 6.4s linear infinite;
}
@keyframes ecTrackPulse{to{stroke-dashoffset:-174;}}

.ec-holo-nodes circle{
  fill:rgba(5,12,14,.92);stroke:#79eef4;stroke-width:1.2;
  filter:drop-shadow(0 0 5px rgba(88,234,245,.6));
  animation:ecNodePulse 2.8s ease-in-out infinite;
}
.ec-holo-nodes circle.core{fill:#eafefe;stroke:none;animation:none;}
.ec-holo-nodes circle.top{
  fill:#d8feff;stroke:none;
  filter:drop-shadow(0 0 7px rgba(130,250,255,.95));
}
.ec-holo-nodes line{stroke:rgba(54,211,230,.55);stroke-width:1;stroke-dasharray:2 3;}
.ec-holo-nodes line.beam{stroke:rgba(54,211,230,.34);stroke-dasharray:2 4;}
.ec-holo-gate rect{opacity:.9;}
.ec-holo-gate circle{fill:#ff4b55;filter:drop-shadow(0 0 8px rgba(255,58,68,.9));animation:ecNodePulse 1.8s ease-in-out infinite;}
.ec-holo-gantry path,.ec-holo-gantry rect{filter:drop-shadow(0 0 5px rgba(84,235,246,.25));}
.ec-holo-gantry .gbeam{
  stroke:rgba(255,72,82,.26);stroke-width:1;stroke-dasharray:3 8;
}
.ec-holo-gantry .glamps circle{
  fill:#ff4b55;filter:drop-shadow(0 0 6px rgba(255,58,68,.9));
  animation:ecNodePulse 1.4s ease-in-out infinite;
}
.ec-holo-gantry .glamps circle:nth-child(2){animation-delay:.12s;}
.ec-holo-gantry .glamps circle:nth-child(3){animation-delay:.24s;}
.ec-holo-gantry .glamps circle:nth-child(4){animation-delay:.36s;}
.ec-holo-gantry .glamps circle:nth-child(5){animation-delay:.48s;}
.ec-sector-gates path{
  fill:none;stroke:rgba(121,238,244,.65);stroke-width:1.1;
  filter:drop-shadow(0 0 4px rgba(54,211,230,.4));
}
.ec-sector-gates rect{
  fill:rgba(7,14,16,.88);stroke:rgba(255,194,71,.7);stroke-width:1;
  filter:drop-shadow(0 0 5px rgba(255,194,71,.35));
}
.ec-sector-gates circle{
  fill:#ffc247;filter:drop-shadow(0 0 6px rgba(255,194,71,.95));
  animation:ecNodePulse 2s ease-in-out infinite;
}
.ec-holo-sectors text{
  fill:rgba(142,209,214,.68);
  font:700 10px/1 "Bahnschrift","Segoe UI",sans-serif;
  letter-spacing:.12em;
}
@keyframes ecNodePulse{
  0%,100%{opacity:.45;}
  50%{opacity:1;}
}

.ec-holo-scan{
  position:absolute;z-index:4;left:7%;right:7%;top:28%;height:1px;
  background:linear-gradient(90deg,transparent,rgba(54,211,230,.64),rgba(255,255,255,.42),rgba(54,211,230,.64),transparent);
  box-shadow:0 0 12px rgba(54,211,230,.42);
  animation:ecHoloScan 7.5s ease-in-out infinite;
}
@keyframes ecHoloScan{
  0%,100%{top:24%;opacity:0;}
  12%{opacity:.55;}
  55%{top:72%;opacity:.34;}
  86%{opacity:.08;}
}
.ec-holo-particles{position:absolute;z-index:5;inset:0;overflow:hidden;}
.ec-holo-particles i{
  position:absolute;bottom:8%;width:2px;height:2px;border-radius:50%;
  background:#a8f8ff;box-shadow:0 0 7px rgba(120,240,255,.9);
  opacity:0;
  animation:ecParticle 6s linear infinite;
}
.ec-holo-particles i:nth-child(1){left:9%;animation-delay:-1s;}
.ec-holo-particles i:nth-child(2){left:16%;animation-delay:-3.2s;bottom:14%;}
.ec-holo-particles i:nth-child(3){left:24%;animation-delay:-4.8s;}
.ec-holo-particles i:nth-child(4){left:32%;animation-delay:-2.1s;bottom:4%;}
.ec-holo-particles i:nth-child(5){left:41%;animation-delay:-5.5s;}
.ec-holo-particles i:nth-child(6){left:50%;animation-delay:-.6s;bottom:12%;}
.ec-holo-particles i:nth-child(7){left:58%;animation-delay:-3.8s;}
.ec-holo-particles i:nth-child(8){left:66%;animation-delay:-5.1s;bottom:6%;}
.ec-holo-particles i:nth-child(9){left:73%;animation-delay:-1.7s;}
.ec-holo-particles i:nth-child(10){left:79%;animation-delay:-4.1s;bottom:15%;}
.ec-holo-particles i:nth-child(11){left:86%;animation-delay:-2.6s;}
.ec-holo-particles i:nth-child(12){left:92%;animation-delay:-5.8s;bottom:5%;}
@keyframes ecParticle{
  0%{opacity:0;transform:translateY(0) scale(.7);}
  18%{opacity:.8;}
  78%{opacity:.45;}
  100%{opacity:0;transform:translateY(-130px) scale(1.2);}
}

.ec-holo-bars{
  position:absolute;z-index:5;right:3.2%;bottom:13%;height:52%;width:7%;
  display:flex;align-items:flex-end;justify-content:flex-end;gap:4px;
  opacity:.55;
}
.ec-holo-bars i{
  display:block;width:3px;border-radius:1px;
  background:linear-gradient(180deg,rgba(255,90,98,.9),rgba(54,211,230,.25));
  box-shadow:0 0 6px rgba(54,211,230,.18);
  height:24%;
  animation:ecBars 3.6s ease-in-out infinite;
}
.ec-holo-bars i:nth-child(2){height:52%;animation-delay:-1.2s;}
.ec-holo-bars i:nth-child(3){height:34%;animation-delay:-.4s;}
.ec-holo-bars i:nth-child(4){height:72%;animation-delay:-2.1s;}
.ec-holo-bars i:nth-child(5){height:44%;animation-delay:-2.7s;}
.ec-holo-bars i:nth-child(6){height:88%;animation-delay:-.9s;}
.ec-holo-bars i:nth-child(7){height:58%;animation-delay:-3.1s;}
.ec-holo-bars i:nth-child(8){height:38%;animation-delay:-1.7s;}
.ec-holo-bars i:nth-child(9){height:66%;animation-delay:-2.4s;}
.ec-holo-bars i:nth-child(10){height:28%;animation-delay:-3.4s;}
@keyframes ecBars{
  0%,100%{transform:scaleY(.62);opacity:.45;}
  50%{transform:scaleY(1);opacity:1;}
}

.ec-holo-corner{
  position:absolute;z-index:6;width:18px;height:18px;
  border:1px solid rgba(78,232,244,.42);
}
.ec-holo-corner.tl{left:6px;top:6px;border-right:0;border-bottom:0;}
.ec-holo-corner.tr{right:6px;top:6px;border-left:0;border-bottom:0;}
.ec-holo-corner.bl{left:6px;bottom:6px;border-right:0;border-top:0;}
.ec-holo-corner.br{right:6px;bottom:6px;border-left:0;border-top:0;}

/* left editorial column */
.ec-stage-top{z-index:6;left:20px;right:67%;top:11px;}
.ec-topline{
  font:700 9.5px/1.1 "Bahnschrift","Segoe UI",sans-serif;
  letter-spacing:.14em;color:#8fa3a8;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.ec-topline b{color:#cf3f47;}
.ec-topline em{font-style:normal;}
.ec-stage h1{
  position:relative;margin-top:9px;width:max-content;max-width:100%;
  font:800 43px/1.0 "Bahnschrift","Segoe UI","Microsoft YaHei",sans-serif;
  letter-spacing:0;color:#f1fbf9;
  text-shadow:0 0 30px rgba(255,255,255,.06),0 4px 20px rgba(0,0,0,.9);
  overflow:hidden;
}
.ec-stage h1::after{
  content:"";position:absolute;z-index:3;top:-14%;bottom:-14%;left:-14%;width:12%;
  background:linear-gradient(90deg,transparent,rgba(54,211,230,.10) 18%,rgba(124,246,255,.55) 46%,rgba(255,255,255,.30) 53%,rgba(255,92,104,.20) 72%,transparent);
  filter:blur(.8px);opacity:0;pointer-events:none;
  animation:ecTitleScan 7s linear infinite;
}
@keyframes ecTitleScan{
  0%,5%{left:-14%;opacity:0;}
  7%{opacity:.85;}
  13%{left:104%;opacity:.55;}
  16%,100%{left:104%;opacity:0;}
}
.ec-title-char{
  position:relative;display:inline-block;white-space:pre;
  animation:ecTitlePower 7s linear infinite;
  animation-delay:calc(var(--i) * .1s);
  animation-fill-mode:backwards;
  will-change:transform,opacity,filter,text-shadow;
}
@keyframes ecTitlePower{
  0%{opacity:.56;transform:translateY(7px) scaleY(.94);filter:blur(1.2px);
    text-shadow:0 0 30px rgba(255,255,255,.06),0 4px 20px rgba(0,0,0,.9);}
  2%{opacity:.74;transform:translate3d(-2px,-1px,0) skewX(-3deg);filter:blur(.35px);
    text-shadow:3px 0 rgba(255,58,68,.65),-3px 0 rgba(54,211,230,.58),0 0 22px rgba(54,211,230,.22);}
  3.5%{opacity:.96;transform:translate3d(2px,0,0) skewX(1deg);filter:blur(0);
    text-shadow:-2.5px 0 rgba(255,58,68,.52),2.5px 0 rgba(54,211,230,.48),0 0 14px rgba(255,255,255,.1);}
  5%{opacity:1;transform:translateY(-1px);
    text-shadow:0 0 30px rgba(255,255,255,.08),0 4px 20px rgba(0,0,0,.9);}
  7%,90%{opacity:1;transform:none;filter:none;
    text-shadow:0 0 30px rgba(255,255,255,.06),0 4px 20px rgba(0,0,0,.9);}
  96%,100%{opacity:.6;transform:translateY(2px);filter:blur(.6px);
    text-shadow:0 0 30px rgba(255,255,255,.06),0 4px 20px rgba(0,0,0,.9);}
}
.ec-stage-name{
  margin-top:7px;max-width:100%;
  font:500 10.5px/1.2 "Segoe UI","Microsoft YaHei",sans-serif;
  letter-spacing:.05em;color:#8f9ca1;
  animation:ecNameWake 7s linear infinite;
}
@keyframes ecNameWake{
  0%{opacity:.38;transform:translateY(2px);}
  5%,90%{opacity:1;transform:none;}
  97%,100%{opacity:.38;transform:translateY(1px);}
}
.ec-stage-record{
  position:absolute;z-index:6;left:20px;bottom:52px;
  display:flex;flex-direction:column;min-width:0;pointer-events:none;
}
.ec-stage-record::before{
  content:"";position:absolute;left:-11px;top:11px;bottom:-2px;width:1px;
  background:linear-gradient(180deg,rgba(255,90,98,.65),rgba(54,211,230,.25));
}
.ec-stage-record::after{
  content:"";position:absolute;left:0;right:-28px;top:12px;height:1px;
  background:linear-gradient(90deg,rgba(255,90,98,.42),rgba(54,211,230,.12) 52%,transparent);
}
.ec-stage-record span{
  font:800 9px/1 "Bahnschrift","Segoe UI",sans-serif;
  letter-spacing:.16em;color:#ff6a72;white-space:nowrap;
  animation:ecDataWake 7s linear infinite;
}
.ec-stage-record span i{font-style:normal;color:#5d7075;padding:0 3px;}
.ec-stage-record b{
  margin-top:4px;
  font:800 31px/.95 "Bahnschrift","Segoe UI",sans-serif;
  font-variant-numeric:tabular-nums;
  letter-spacing:.005em;color:#f3fbf9;
  text-shadow:1.5px 0 rgba(255,58,68,.30),-1.5px 0 rgba(54,211,230,.25),0 0 24px rgba(255,255,255,.05),0 3px 16px rgba(0,0,0,.9);
  white-space:nowrap;
  animation:ecDataWake 7s linear infinite .08s;
}
.ec-stage-record em{
  margin-top:4px;font-style:normal;
  font:600 11.5px/1.15 "Segoe UI","Microsoft YaHei",sans-serif;
  letter-spacing:.03em;color:#a8b6ba;white-space:nowrap;
  animation:ecDataWake 7s linear infinite .16s;
}
@keyframes ecDataWake{
  0%{opacity:.55;}
  4%,91%{opacity:1;}
  97%,100%{opacity:.64;}
}

.ec-stage-sweep{
  position:absolute;z-index:1;left:-38%;top:-18%;width:55%;height:136%;
  background:linear-gradient(100deg,transparent 6%,rgba(255,58,68,.10) 30%,rgba(255,255,255,.05) 48%,rgba(255,246,240,.22) 51%,rgba(255,255,255,.72) 53%,rgba(255,255,255,.24) 54.5%,rgba(255,58,68,.14) 58%,transparent 76%);
  transform:skewX(-17deg);
  pointer-events:none;filter:blur(.2px);
  animation:ecSweep 7s cubic-bezier(.3,.6,.4,1) infinite;
}
@keyframes ecSweep{
  0%,8%{transform:translateX(-30%) skewX(-17deg);opacity:0;}
  12%{opacity:.75;}
  28%{transform:translateX(110%) skewX(-17deg);opacity:.75;}
  36%,100%{transform:translateX(110%) skewX(-17deg);opacity:0;}
}

.ec-stage-start{
  position:absolute;z-index:6;left:20px;bottom:21px;
  display:flex;align-items:center;gap:9px;
}
.ec-stage-start::before{
  content:"";position:absolute;z-index:-1;left:-12px;right:-18px;top:-4px;bottom:-7px;
  border-left:2px solid rgba(255,58,68,.58);
  border-top:1px solid rgba(255,58,68,.16);
  border-bottom:1px solid rgba(255,58,68,.24);
  background:linear-gradient(90deg,rgba(255,58,68,.10),rgba(255,58,68,.02) 62%,transparent);
  clip-path:polygon(0 0,100% 0,calc(100% - 14px) 100%,0 100%);
}
.ec-stage-start .ec-start-comet{
  position:absolute;left:0;bottom:-4px;width:46px;height:2px;
  background:linear-gradient(90deg,rgba(255,58,68,0),rgba(255,58,68,.38) 46%,rgba(255,58,68,.92) 82%,#fff);
  border-radius:2px;
  box-shadow:0 0 10px rgba(255,58,68,.85),0 0 26px rgba(255,45,55,.35);
  animation:ecStartRun 2s linear infinite;
}
@keyframes ecStartRun{
  0%{left:0;opacity:0;}
  8%{opacity:1;}
  86%{opacity:1;}
  100%{left:46vw;opacity:0;}
}
.ec-stage-start::after{
  content:"";position:absolute;z-index:-1;left:0;bottom:-3px;width:46vw;height:1px;
  background:linear-gradient(90deg,rgba(255,58,68,.62),rgba(255,58,68,.26) 34%,rgba(54,211,230,.10) 68%,transparent);
  box-shadow:0 0 9px rgba(255,58,68,.22);
  animation:ecStartLine 4.8s ease-in-out infinite;
}
@keyframes ecStartLine{0%,100%{opacity:.35;}50%{opacity:.85;}}
.ec-stage-start i{
  position:relative;
  width:18px;height:18px;border-radius:50%;
  border:1px solid rgba(255,58,68,.22);
  background:#4a1116;
  box-shadow:inset 0 0 3px rgba(255,255,255,.04);
  animation:ecLamp1 7s linear infinite;
}
.ec-stage-start i::after{
  content:"";position:absolute;left:50%;top:100%;width:2px;height:24px;
  transform:translateX(-50%);
  background:linear-gradient(180deg,rgba(255,58,68,.48),transparent);
  filter:blur(.7px);
}
.ec-stage-start i:nth-child(2){animation-name:ecLamp2;}
.ec-stage-start i:nth-child(3){animation-name:ecLamp3;}
.ec-stage-start i:nth-child(4){animation-name:ecLamp4;}
.ec-stage-start i:nth-child(5){animation-name:ecLamp5;}
@keyframes ecLamp1{
  0%,5%{opacity:.32;background:#4a1116;border-color:rgba(255,58,68,.22);box-shadow:inset 0 0 3px rgba(255,255,255,.04);}
  8%,68%{opacity:1;background:#ff3842;border-color:rgba(255,58,68,.48);box-shadow:0 0 15px rgba(255,45,55,.85),0 0 34px rgba(255,45,55,.24),inset 0 0 3px #ffd3d5;}
  72%,100%{opacity:.32;background:#4a1116;border-color:rgba(255,58,68,.22);box-shadow:inset 0 0 3px rgba(255,255,255,.04);}
}
@keyframes ecLamp2{
  0%,8%{opacity:.32;background:#4a1116;border-color:rgba(255,58,68,.22);box-shadow:inset 0 0 3px rgba(255,255,255,.04);}
  11%,68%{opacity:1;background:#ff3842;border-color:rgba(255,58,68,.48);box-shadow:0 0 15px rgba(255,45,55,.85),0 0 34px rgba(255,45,55,.24),inset 0 0 3px #ffd3d5;}
  72%,100%{opacity:.32;background:#4a1116;border-color:rgba(255,58,68,.22);box-shadow:inset 0 0 3px rgba(255,255,255,.04);}
}
@keyframes ecLamp3{
  0%,11%{opacity:.32;background:#4a1116;border-color:rgba(255,58,68,.22);box-shadow:inset 0 0 3px rgba(255,255,255,.04);}
  14%,68%{opacity:1;background:#ff3842;border-color:rgba(255,58,68,.48);box-shadow:0 0 15px rgba(255,45,55,.85),0 0 34px rgba(255,45,55,.24),inset 0 0 3px #ffd3d5;}
  72%,100%{opacity:.32;background:#4a1116;border-color:rgba(255,58,68,.22);box-shadow:inset 0 0 3px rgba(255,255,255,.04);}
}
@keyframes ecLamp4{
  0%,14%{opacity:.32;background:#4a1116;border-color:rgba(255,58,68,.22);box-shadow:inset 0 0 3px rgba(255,255,255,.04);}
  17%,68%{opacity:1;background:#ff3842;border-color:rgba(255,58,68,.48);box-shadow:0 0 15px rgba(255,45,55,.85),0 0 34px rgba(255,45,55,.24),inset 0 0 3px #ffd3d5;}
  72%,100%{opacity:.32;background:#4a1116;border-color:rgba(255,58,68,.22);box-shadow:inset 0 0 3px rgba(255,255,255,.04);}
}
@keyframes ecLamp5{
  0%,17%{opacity:.32;background:#4a1116;border-color:rgba(255,58,68,.22);box-shadow:inset 0 0 3px rgba(255,255,255,.04);}
  20%,68%{opacity:1;background:#ff3842;border-color:rgba(255,58,68,.48);box-shadow:0 0 15px rgba(255,45,55,.85),0 0 34px rgba(255,45,55,.24),inset 0 0 3px #ffd3d5;}
  72%,100%{opacity:.32;background:#4a1116;border-color:rgba(255,58,68,.22);box-shadow:inset 0 0 3px rgba(255,255,255,.04);}
}
.ec-start-flash{
  position:absolute;z-index:11;left:-2px;top:7px;width:110px;height:4px;
  pointer-events:none;opacity:0;
  background:linear-gradient(90deg,transparent,rgba(255,250,240,.16) 13%,rgba(255,250,240,.96) 50%,rgba(255,250,240,.16) 87%,transparent);
  filter:blur(2.6px) drop-shadow(0 0 7px rgba(255,72,76,.78));
  animation:ecStartFlash 7s linear infinite;
}
@keyframes ecStartFlash{
  0%,66%{opacity:0;transform:scaleX(.6);}
  69%{opacity:1;transform:scaleX(1.06);}
  74%{opacity:.5;transform:scaleX(1.02);}
  80%,100%{opacity:0;transform:scaleX(.96);}
}
.ec-stage-start span{
  position:relative;  margin-left:10px;
  display:flex;flex-direction:row;align-items:baseline;gap:9px;
  font:800 9.5px/1 "Bahnschrift","Segoe UI",sans-serif;
  letter-spacing:.15em;color:#ff7780;white-space:nowrap;
}
.ec-stage-start span b{
  display:inline-block;
  color:#f2fbf9;font-size:24px;line-height:.95;
  font-weight:800;letter-spacing:.02em;
  text-shadow:0 0 18px rgba(255,58,68,.18),0 3px 12px rgba(0,0,0,.9);
}
.ec-stage-start .ec-count-progress{
  position:absolute;right:42px;bottom:-3px;width:54px;height:2px;
  background:linear-gradient(90deg,rgba(255,58,68,.20),rgba(255,58,68,.98));
  box-shadow:0 0 8px rgba(255,58,68,.30);
  transform:scaleX(0);transform-origin:0 50%;
  animation:ecCount 7s linear infinite;
}
@keyframes ecCount{
  0%{transform:scaleX(0);opacity:.5;}
  54%{transform:scaleX(1);opacity:1;}
  88%{transform:scaleX(1);opacity:.9;}
  100%{transform:scaleX(1);opacity:0;}
}
@keyframes ecLamp{
  0%,100%{opacity:.72;box-shadow:0 0 9px rgba(255,45,55,.55),0 0 20px rgba(255,45,55,.14);}
  40%{opacity:1;box-shadow:0 0 18px rgba(255,45,55,.95),0 0 44px rgba(255,45,55,.32),inset 0 0 4px #ffd3d5;}
}

/* round numeral, only where there is room */
.ec-stage-round{
  position:absolute;z-index:2;left:36.5%;top:42px;
  pointer-events:none;user-select:none;
  font-family:"Bahnschrift","Segoe UI",sans-serif;
}
.ec-stage-vanish{
  position:absolute;inset:0;z-index:4;pointer-events:none;opacity:.9;
}
.ec-stage-vanish svg{width:100%;height:100%;display:block;}
.ec-stage-vanish path{
  fill:none;
  stroke:#ff5a62;
  stroke-width:2.3;
  stroke-dasharray:60 60;
  stroke-dashoffset:60;
  opacity:0;
  vector-effect:non-scaling-stroke;
  filter:drop-shadow(0 0 7px rgba(255,58,68,.75));
  animation:ecRay1 7s cubic-bezier(.25,.7,.3,1) infinite;
}
.ec-stage-vanish path.c{
  stroke:#59e8f4;
  filter:drop-shadow(0 0 7px rgba(54,211,230,.62));
}
.ec-stage-vanish path.r2{animation:ecRay2 7s cubic-bezier(.25,.7,.3,1) infinite;}
.ec-stage-vanish path.r3{animation:ecRay3 7s cubic-bezier(.25,.7,.3,1) infinite;}
@keyframes ecRay1{
  0%,5%{stroke-dashoffset:60;opacity:0;}
  10%{opacity:1;}
  18%,88%{stroke-dashoffset:0;opacity:1;}
  96%,100%{stroke-dashoffset:0;opacity:0;}
}
@keyframes ecRay2{
  0%,18%{stroke-dashoffset:60;opacity:0;}
  24%{opacity:1;}
  36%,88%{stroke-dashoffset:0;opacity:1;}
  96%,100%{stroke-dashoffset:0;opacity:0;}
}
@keyframes ecRay3{
  0%,36%{stroke-dashoffset:60;opacity:0;}
  42%{opacity:1;}
  54%,88%{stroke-dashoffset:0;opacity:1;}
  96%,100%{stroke-dashoffset:0;opacity:0;}
}
.ec-stage-vanish circle{
  fill:rgba(255,90,100,.75);
  stroke:rgba(255,150,156,.85);
  stroke-width:1;
  vector-effect:non-scaling-stroke;
}
.ec-gate-hit{
  position:absolute;left:48.5%;top:56%;width:28px;height:28px;margin:-14px 0 0 -14px;
  border:1.8px solid rgba(255,90,100,.90);border-radius:50%;
  box-shadow:0 0 18px rgba(255,58,68,.65),inset 0 0 8px rgba(255,58,68,.25);
  opacity:0;animation:ecGateHit 7s ease-out infinite;
}
@keyframes ecGateHit{
  0%,64%{opacity:0;transform:scale(.5);}
  70%{opacity:.95;transform:scale(1);}
  82%{opacity:.55;transform:scale(1.8);}
  93%,100%{opacity:0;transform:scale(2.2);}
}
@media (max-width:1599px){
  .ec-stage-vanish{display:none;}
}
html.still .ec-stage-vanish path{
  animation:none!important;stroke-dashoffset:0!important;opacity:1!important;
}
html.still .ec-gate-hit{
  animation:none!important;opacity:.88!important;transform:scale(1.05)!important;
}
html.still .ec-stage-start .ec-count-progress{
  animation:none!important;transform:scaleX(1)!important;opacity:.9!important;
}
html.still .ec-title-char,
html.still .ec-stage-name,
html.still .ec-stage-record span,
html.still .ec-stage-record b,
html.still .ec-stage-record em{
  animation:none!important;opacity:1!important;transform:none!important;filter:none!important;
}
html.still .ec-stage h1::after{
  animation:none!important;opacity:0!important;
}
html.still .ec-stage-start i{
  animation:none!important;opacity:1!important;background:#ff3842!important;
  border-color:rgba(255,58,68,.48)!important;
  box-shadow:0 0 15px rgba(255,45,55,.85),0 0 34px rgba(255,45,55,.24),inset 0 0 3px #ffd3d5!important;
}
html.still .ec-stage-sweep{
  animation:none!important;opacity:0!important;transform:translateX(75%) skewX(-17deg)!important;
}
html.still .ec-start-flash{
  animation:none!important;opacity:0!important;
}

.ec-stage-round::before{
  content:"";position:absolute;left:18px;top:calc(100% - 6px);width:150px;height:30px;
  background:linear-gradient(90deg,rgba(255,58,68,.20),rgba(255,58,68,.05) 56%,transparent 84%);
  filter:blur(9px);transform:skewX(-28deg);pointer-events:none;
}
.ec-stage-round::after{
  content:"";position:absolute;left:0;top:104%;width:150px;height:86px;
  background:radial-gradient(ellipse at 50% 0,rgba(255,58,68,.14),transparent 68%);
  filter:blur(15px);pointer-events:none;
}
.ec-stage-round small{
  display:block;
  font:700 8.5px/1 "Bahnschrift","Segoe UI",sans-serif;
  letter-spacing:.32em;color:#607d84;
}
.ec-stage-round b{
  display:block;margin-top:2px;
  font:800 100px/.86 "Bahnschrift","Segoe UI",sans-serif;
  letter-spacing:-.01em;
  color:rgba(255,58,68,.045);
  -webkit-text-stroke:1px rgba(255,86,94,.25);
  text-shadow:4px 5px 0 rgba(0,0,0,.38),9px 11px 0 rgba(255,58,68,.035),0 0 40px rgba(255,45,55,.10);
  transform: rotateY(-18deg) rotateX(2deg);
  transform-origin:0 50%;
  margin-left:-44px;
}

/* chrome */
.ec-hud-corner{
  width:26px;height:26px;border-color:rgba(84,235,246,.46);
  box-shadow:0 0 8px rgba(54,211,230,.16),inset 0 0 9px rgba(54,211,230,.08);
}
.ec-hud-live{
  right:13px;top:11px;
  padding:4px 8px 3px;
  border-color:rgba(255,58,68,.42);
  background:linear-gradient(180deg,rgba(255,58,68,.14),rgba(255,58,68,.03));
  color:#ff8c90;font-size:9.5px;
}
.ec-hud-speed{
  right:4%;height:2px;
  background:linear-gradient(90deg,transparent,rgba(255,58,68,.55),rgba(255,196,146,.18),transparent);
  transform:skewX(-18deg);filter:blur(.7px);
  animation:ecHudSpeed 5.4s ease-in-out infinite;
}
.ec-hud-speed.s1{top:29%;width:44%;right:6%;}
.ec-hud-speed.s2{top:51%;width:56%;right:2%;animation-delay:-1.8s;}
.ec-hud-speed.s3{top:71%;width:36%;right:10%;animation-delay:-3.6s;}
.ec-hud-finish{
  height:5px;opacity:.30;
  background:repeating-conic-gradient(rgba(225,235,238,.70) 0 25%,rgba(3,9,11,.96) 0 50%) 0 0/10px 10px;
}
@keyframes ecHudSpeed{
  0%,100%{opacity:0;transform:translateX(-26px) skewX(-18deg);}
  18%{opacity:.55;}
  55%{opacity:.14;transform:translateX(14px) skewX(-18deg);}
  85%{opacity:.04;}
}

@media (prefers-reduced-motion:reduce){
  .ec-stage-grid,.ec-stage-beam,.ec-holo-sweep,.ec-holo-ring.r2,.ec-radar-sweep,
  .ec-track-pulse,.ec-holo-scan,.ec-holo-particles i,.ec-stage-start i,.ec-hud-speed,.ec-track-glow,
  .ec-title-char,.ec-stage-name,.ec-stage-record span,.ec-stage-record b,.ec-stage-record em,
  .ec-stage h1::after{animation:none;}
  .ec-holo-scan{top:48%;opacity:.3;}
  .ec-track-pulse{stroke-dashoffset:-60;}
}
@media (min-width:1600px){
  .ec-track-map{transform:scale(1.18);transform-origin:center 54%;}
}
@media (min-width:1000px) and (max-width:1599px){
  .ec-track-map{transform:scale(1.12);transform-origin:center 54%;}
}

/* responsive */
@media (max-width:1599px){
  .ec-stage h1{font-size:36px;}
  .ec-stage-top{right:67.5%;}
  .ec-topline{font-size:9px;letter-spacing:.09em;}
  .ec-topline-x{display:none;}
  .ec-stage-round{display:none;}
  .ec-stage-start{gap:6px;bottom:14px;}
  .ec-stage-start i{width:12px;height:12px;}
  .ec-stage-start span{font-size:10px;margin-left:7px;}
  .ec-stage-start span b{font-size:22px;}
  .ec-stage-record b{font-size:27px;}
  .ec-stage-record em{font-size:10.5px;}
}
@media (max-width:1279px){
  .ec-stage h1{font-size:30px;}
  .ec-stage-round{display:none;}
  .ec-stage-top{left:16px;right:64%;}
  .ec-stage-record{left:16px;bottom:46px;}
  .ec-stage-record b{font-size:24px;}
  .ec-stage-record em{font-size:10px;}
  .ec-stage-start{left:16px;bottom:18px;}
  .ec-stage-start span{display:none;}
  .ec-stage-holo{left:33%;}
  .ec-stage-name{display:none;}
}
@media (max-width:900px){
  .ec-stage h1{font-size:25px;white-space:normal;}
  .ec-stage-top{right:58%;}
  .ec-stage-holo{left:44%;opacity:.75;}
  .ec-stage-record{bottom:42px;}
  .ec-stage-record b{font-size:21px;}
  .ec-stage-start{bottom:16px;}
  .ec-stage-round{display:none;}
  .ec-hud-speed{display:none;}
  .ec-holo-particles{display:none;}
}

/* ===== overview refinement v145 璺?hierarchy + readability ===== */
@media (min-width:1240px){
  .ec-overview .ec-head{padding:7px 9px 6px;gap:8px;}
  .ec-overview .ec-hex{width:14px;height:17px;}
  .ec-overview .ec-kicker{font-size:9.8px;letter-spacing:.15em;color:#9aa3a8;}
  .ec-overview .ec-head h2{margin-top:2px;font-size:16px;letter-spacing:.06em;}
  .ec-overview .ec-head-live{font-size:9.4px;gap:5px;color:#a9b1b6;}
  .ec-overview .ec-head-live i{width:6px;height:6px;}
  .ec-overview .ec-chip{font-size:9.2px;padding:2px 6px;letter-spacing:.04em;}

  .ec-overview .ec-overview-body{background:radial-gradient(120% 86% at 0 0,rgba(54,211,230,.035),transparent 58%);}
  .ec-overview .ec-event-pick{position:relative;padding:8px 9px 8px 12px;border-bottom-color:rgba(255,255,255,.08);background:linear-gradient(90deg,rgba(54,211,230,.055),transparent 72%);}
  .ec-overview .ec-event-pick::before{content:"";position:absolute;left:0;top:9px;bottom:9px;width:2px;background:linear-gradient(180deg,rgba(54,211,230,.92),rgba(54,211,230,.14));box-shadow:0 0 9px rgba(54,211,230,.34);pointer-events:none;}
  .ec-overview .ec-event-pick label{margin-bottom:4px;font-size:10.4px;letter-spacing:.09em;color:#a2abb0;}
  .ec-overview .ec-select-shell::before{content:"";position:absolute;left:10px;top:8px;bottom:8px;width:2px;border-radius:1px;background:linear-gradient(180deg,#4fe5f3,rgba(54,211,230,.16));z-index:1;pointer-events:none;}
  .ec-overview .ec-select-shell select{height:31px;padding:0 36px 0 18px;font:650 13.4px/31px "Segoe UI","Microsoft YaHei",sans-serif;letter-spacing:.01em;color-scheme:dark;background:linear-gradient(90deg,rgba(54,211,230,.07),rgba(0,0,0,0) 36%),linear-gradient(180deg,#14171a,#0a0c0e);border-color:rgba(255,255,255,.18);box-shadow:inset 0 0 0 1px rgba(54,211,230,.05),inset 0 8px 20px rgba(0,0,0,.35);}
  .ec-overview .ec-select-shell select:hover{border-color:rgba(54,211,230,.42);}
  .ec-overview .ec-select-shell select:focus{border-color:rgba(54,211,230,.58);box-shadow:0 0 0 2px rgba(54,211,230,.08),inset 0 0 18px rgba(54,211,230,.06);}
  .ec-overview .ec-select-shell option{background:#0a0f12;color:#eef4f5;font:600 14px/1.7 "Segoe UI","Microsoft YaHei",sans-serif;}
  .ec-overview .ec-select-shell option:checked{background:#12383e;color:#9cf6ff;}
  .ec-overview .ec-select-shell option:disabled{color:#788287;}
  .ec-overview .ec-select-shell i{right:0;top:0;bottom:0;transform:none;width:30px;display:flex;align-items:center;justify-content:center;border-left:1px solid rgba(255,255,255,.08);background:linear-gradient(180deg,rgba(54,211,230,.10),rgba(54,211,230,.02));color:#a8f1f7;font-size:14px;transition:background .12s,color .12s;}
  .ec-overview .ec-select-shell:focus-within i{background:rgba(54,211,230,.16);color:#e3fdff;}

  .ec-overview .ec-overview-main{padding:9px 9px 6px;gap:11px;}
  .ec-overview .ec-gauge{flex:0 0 90px;width:90px;height:90px;box-shadow:0 0 26px rgba(54,211,230,.18),inset 0 0 10px rgba(0,0,0,.42);}
  .ec-overview .ec-gauge::after{opacity:.55;}
  .ec-overview .ec-gauge-in b{font-size:30px;letter-spacing:-.01em;}
  .ec-overview .ec-gauge-in span{margin-top:2px;font-size:11.2px;color:#aab2b7;}
  .ec-overview .ec-gauge-in em{margin-top:2px;font-size:11.6px;letter-spacing:.02em;}

  .ec-overview .ec-ov-kpis{align-self:stretch;align-content:center;gap:0 10px;}
  .ec-overview .ec-ov-kpis div{justify-content:center;padding:5px 3px 5px 9px;border-left-color:rgba(255,255,255,.14);}
  .ec-overview .ec-ov-kpis div:nth-child(3),.ec-overview .ec-ov-kpis div:nth-child(4){border-top:1px solid rgba(255,255,255,.06);}
  .ec-overview .ec-ov-kpis span{font-size:12px;line-height:1.2;letter-spacing:.02em;color:#a9b1b6;}
  .ec-overview .ec-ov-kpis b{margin-top:3px;font-size:22px;font-variant-numeric:tabular-nums;letter-spacing:.01em;}

  .ec-overview .ec-overview-foot{padding:6px 9px 6px;gap:8px;font-size:11.2px;color:#9ba4a9;}
  .ec-overview .ec-overview-foot span{display:flex;align-items:baseline;gap:4px;min-width:0;white-space:nowrap;}
  .ec-overview .ec-overview-foot span + span{padding-left:9px;border-left:1px solid rgba(255,255,255,.09);}
  .ec-overview .ec-overview-foot b{font:700 12px/1.1 "Bahnschrift","Segoe UI",sans-serif;color:#eef2f4;letter-spacing:.01em;}
}

@media (min-width:1240px) and (max-height:840px){
  .ec-overview .ec-head{padding:6px 8px 5px;}
  .ec-overview .ec-hex{width:12px;height:15px;}
  .ec-overview .ec-kicker{font-size:9px;}
  .ec-overview .ec-head h2{font-size:15px;}
  .ec-overview .ec-head-live{font-size:8.4px;}
  .ec-overview .ec-chip{font-size:8px;padding:1px 5px;}
  .ec-overview .ec-event-pick{padding:6px 8px 6px 10px;}
  .ec-overview .ec-event-pick::before{top:7px;bottom:7px;}
  .ec-overview .ec-event-pick label{font-size:9.6px;margin-bottom:3px;}
  .ec-overview .ec-select-shell::before{top:6px;bottom:6px;} .ec-overview .ec-select-shell option{font-size:13.2px;} .ec-overview .ec-select-shell i{width:28px;font-size:13px;}
  .ec-overview .ec-select-shell select{height:27px;padding:0 34px 0 16px;font-size:12.4px;line-height:27px;}
  .ec-overview .ec-overview-main{padding:6px 8px 4px;gap:9px;}
  .ec-overview .ec-gauge{flex-basis:78px;width:78px;height:78px;}
  .ec-overview .ec-gauge-in b{font-size:26px;}
  .ec-overview .ec-gauge-in span{font-size:10.2px;}
  .ec-overview .ec-gauge-in em{font-size:10.4px;}
  .ec-overview .ec-ov-kpis{gap:0 8px;}
  .ec-overview .ec-ov-kpis div{padding:4px 3px 4px 8px;}
  .ec-overview .ec-ov-kpis span{font-size:10.8px;}
  .ec-overview .ec-ov-kpis b{margin-top:2px;font-size:19px;}
  .ec-overview .ec-overview-foot{padding:5px 8px;font-size:10.2px;}
  .ec-overview .ec-overview-foot b{font-size:11px;}
}

@media (min-width:1600px) and (min-height:841px){
  .ec-overview .ec-kicker{font-size:10px;}
  .ec-overview .ec-head h2{font-size:17px;}
  .ec-overview .ec-head-live{font-size:9.4px;}
  .ec-overview .ec-chip{font-size:9px;}
  .ec-overview .ec-event-pick label{font-size:11px;}
  .ec-overview .ec-select-shell select{height:32px;font-size:14px;line-height:32px;}
  .ec-overview .ec-gauge{flex-basis:94px;width:94px;height:94px;}
  .ec-overview .ec-gauge-in b{font-size:31px;}
  .ec-overview .ec-gauge-in span{font-size:11px;}
  .ec-overview .ec-gauge-in em{font-size:11.4px;}
  .ec-overview .ec-ov-kpis span{font-size:12.2px;}
  .ec-overview .ec-ov-kpis b{font-size:22px;}
  .ec-overview .ec-overview-foot{font-size:11.4px;}
  .ec-overview .ec-overview-foot b{font-size:12.2px;}
}













/* ===== event picker v150 璺?custom dark listbox ===== */
.ec-select-shell .ec-select-native{
  position:absolute!important;left:0;top:0;width:1px!important;height:1px!important;
  padding:0!important;margin:0!important;border:0!important;opacity:0!important;
  pointer-events:none!important;clip:rect(0 0 0 0)!important;overflow:hidden!important;
}
.ec-overview .ec-select-trigger{
  position:relative;display:flex;align-items:center;width:100%;height:31px;
  padding:0 44px 0 18px;border:1px solid rgba(255,255,255,.18);border-radius:2px;
  background:linear-gradient(90deg,rgba(54,211,230,.07),rgba(0,0,0,0) 36%),linear-gradient(180deg,#14171a,#0a0c0e);
  box-shadow:inset 0 0 0 1px rgba(54,211,230,.05),inset 0 8px 20px rgba(0,0,0,.35);
  color:#f2f4f5;font:650 13.4px/1 "Segoe UI","Microsoft YaHei",sans-serif;letter-spacing:.01em;
  text-align:left;cursor:pointer;outline:none;transition:border-color .14s,box-shadow .14s,background .14s;
}
.ec-overview .ec-select-trigger:hover{border-color:rgba(54,211,230,.42);box-shadow:inset 0 0 0 1px rgba(54,211,230,.10),inset 0 8px 20px rgba(0,0,0,.32),0 0 14px rgba(54,211,230,.07);}
.ec-overview .ec-select-trigger:focus-visible,
.ec-overview .ec-select-trigger[aria-expanded="true"]{border-color:rgba(54,211,230,.62);box-shadow:0 0 0 2px rgba(54,211,230,.09),inset 0 0 20px rgba(54,211,230,.08),0 0 20px rgba(54,211,230,.10);}
.ec-select-value{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.ec-overview .ec-select-trigger i,
.ec-overview .ec-select-shell .ec-select-trigger i{
  right:0;top:0;bottom:0;transform:none;width:32px;display:flex;align-items:center;justify-content:center;
  border-left:1px solid rgba(255,255,255,.08);border-radius:0 1px 1px 0;
  background:linear-gradient(180deg,rgba(54,211,230,.13),rgba(54,211,230,.025));color:#a8f1f7;
  transition:background .14s,border-color .14s;
}
.ec-overview .ec-select-trigger i::before{
  content:"";width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent;
  border-top:5px solid #9beef6;transform:translateY(1px);transition:transform .16s,border-color .16s;
}
.ec-overview .ec-select-trigger[aria-expanded="true"] i{background:linear-gradient(180deg,rgba(54,211,230,.22),rgba(54,211,230,.05));border-left-color:rgba(54,211,230,.28);}
.ec-overview .ec-select-trigger[aria-expanded="true"] i::before{border-top-color:#eafeff;transform:rotate(180deg) translateY(-1px);}
.ec-overview .ec-event-pick label{display:flex;align-items:baseline;font-size:11.2px;}
.ec-overview .ec-label-k{color:#b6c0c5;letter-spacing:.07em;}
.ec-overview .ec-label-cn{margin-left:4px;color:#738188;font-size:9.6px;font-weight:600;letter-spacing:.14em;}

.ec-select-menu{
  position:fixed;z-index:12000;box-sizing:border-box;padding:5px 5px 6px;
  background:linear-gradient(180deg,#0c1215 0%,#070a0c 100%);
  border:1px solid rgba(54,211,230,.34);border-radius:3px;
  box-shadow:0 22px 50px rgba(0,0,0,.68),inset 0 0 0 1px rgba(255,255,255,.025),0 0 30px rgba(54,211,230,.10);
  color:#eef4f5;overflow:auto;overscroll-behavior:contain;
  scrollbar-width:thin;scrollbar-color:rgba(54,211,230,.42) #070a0c;
  animation:ecSelMenuIn .15s ease-out;
}
.ec-select-menu::before{
  content:"";position:absolute;left:0;right:0;top:0;height:1px;pointer-events:none;
  background:linear-gradient(90deg,rgba(54,211,230,0),rgba(126,239,251,.9) 18%,rgba(54,211,230,.55) 62%,rgba(54,211,230,0));
}
.ec-select-menu-head{
  position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;
  padding:5px 7px 6px;background:rgba(9,13,15,.96);border-bottom:1px solid rgba(255,255,255,.07);
  font:700 9.2px/1 "Bahnschrift","Segoe UI",sans-serif;letter-spacing:.17em;color:#7d8c93;
}
.ec-select-menu-head em{font-style:normal;color:#4d5f67;letter-spacing:.13em;}
.ec-select-opt{
  position:relative;display:flex;align-items:center;gap:9px;width:100%;
  padding:8px 8px;border:0;border-bottom:1px solid rgba(255,255,255,.055);border-radius:2px;
  background:transparent;color:#e7eef0;text-align:left;cursor:pointer;
  transition:background .12s,box-shadow .12s;
}
.ec-select-menu .ec-select-opt:last-child{border-bottom:0;}
.ec-select-opt:hover{background:rgba(54,211,230,.075);}
.ec-select-opt:focus-visible{outline:1px solid rgba(54,211,230,.55);outline-offset:-1px;background:rgba(54,211,230,.075);}
.ec-select-opt.is-on{background:linear-gradient(90deg,rgba(54,211,230,.14),rgba(54,211,230,.035) 62%,transparent);box-shadow:inset 0 0 0 1px rgba(54,211,230,.09);}
.ec-select-opt.is-on::before{content:"";position:absolute;left:0;top:5px;bottom:5px;width:2px;border-radius:1px;background:linear-gradient(180deg,#7feffb,rgba(54,211,230,.22));box-shadow:0 0 8px rgba(54,211,230,.36);}
.ec-opt-idx{flex:0 0 19px;font:700 10px/1 "Bahnschrift","Segoe UI",sans-serif;letter-spacing:.04em;color:#5c6e76;}
.ec-select-opt.is-on .ec-opt-idx{color:#36d3e6;}
.ec-opt-copy{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px;}
.ec-opt-copy b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:650 13.6px/1.18 "Segoe UI","Microsoft YaHei",sans-serif;letter-spacing:.01em;color:#eef4f5;}
.ec-opt-copy small{display:block;font:500 11.2px/1.1 "Bahnschrift","Segoe UI",sans-serif;letter-spacing:.055em;color:#95a5ac;}
.ec-select-opt.is-on .ec-opt-copy b{color:#a7f8ff;}
.ec-select-opt.is-on .ec-opt-copy small{color:#9cb0b7;}
.ec-opt-now{
  flex:0 0 auto;padding:2px 5px;border:1px solid rgba(185,227,59,.30);border-radius:2px;
  background:rgba(185,227,59,.07);font:700 9.2px/1 "Segoe UI","Microsoft YaHei",sans-serif;
  font-style:normal;letter-spacing:.08em;color:#c5eb62;
}
.ec-select-menu::-webkit-scrollbar{width:6px;}
.ec-select-menu::-webkit-scrollbar-track{background:#070a0c;}
.ec-select-menu::-webkit-scrollbar-thumb{background:rgba(54,211,230,.32);border-radius:3px;}
@keyframes ecSelMenuIn{from{opacity:0;transform:translateY(-3px);}to{opacity:1;transform:translateY(0);}}

@media (min-width:1240px) and (max-height:840px){
  .ec-overview .ec-event-pick label{font-size:10.4px;}
  .ec-overview .ec-label-cn{font-size:9px;}
  .ec-overview .ec-select-trigger{height:27px;padding:0 38px 0 16px;font-size:12.4px;}
  .ec-overview .ec-select-trigger i{width:28px;}
  .ec-select-menu{padding:4px 4px 5px;}
  .ec-select-opt{padding:7px 7px;gap:8px;}
  .ec-opt-copy b{font-size:12.7px;}
  .ec-opt-copy small{font-size:10.8px;}
  .ec-select-menu-head{font-size:8.8px;padding:4px 6px 5px;}
}
@media (min-width:1600px) and (min-height:841px){
  .ec-overview .ec-event-pick label{font-size:11.6px;}
  .ec-overview .ec-label-cn{font-size:10px;}
  .ec-overview .ec-select-trigger{height:32px;padding:0 46px 0 18px;font-size:14px;}
  .ec-overview .ec-select-trigger i{width:34px;}
}
@media (prefers-reduced-motion:reduce){
  .ec-select-menu{animation:none;}
  .ec-overview .ec-select-trigger i::before{transition:none;}
}

/* ===== RIDER CHECK-IN / 鏉烇附澧滈弽鎼佺崣閿涘牊濮ら柆?+ 瀵偓鐠ф稑寮婚梼鑸殿唽閿?===== */
.ec-ci-head-live{
  margin-left:auto; display:inline-flex; align-items:center; gap:5px;
  font:700 9px/1 "Bahnschrift","Segoe UI",sans-serif;letter-spacing:.10em;
  color:#8fa4a7;white-space:nowrap;
}
.ec-ci-head-live i{
  width:5px;height:5px;border-radius:50%;background:#36d3e6;
  box-shadow:0 0 0 2px rgba(54,211,230,.10),0 0 10px rgba(54,211,230,.65);
}
.ec-main-1x4 .ec-verify{overflow:hidden;}
.ec-ci-body{
  flex:1;min-height:0;display:flex;flex-direction:column;gap:5px;
  padding:7px 8px 8px;overflow:hidden;
  background:
    radial-gradient(120% 70% at 50% 0%,rgba(54,211,230,.045),transparent 64%),
    linear-gradient(180deg,rgba(255,255,255,.012),rgba(0,0,0,.10));
}
.ec-ci-phase{
  flex:0 0 auto;display:flex;align-items:stretch;gap:4px;
  padding:3px;border:1px solid rgba(255,255,255,.09);border-radius:2px;
  background:rgba(0,0,0,.16);
}
.ec-ci-pt{
  flex:1 1 0;min-width:0;display:flex;align-items:center;justify-content:center;gap:5px;
  height:28px;padding:0 6px;border:1px solid transparent;border-radius:2px;
  background:transparent;color:#8f9a9c;cursor:pointer;
  font:700 11.2px/1 "Segoe UI","Microsoft YaHei",sans-serif;
}
.ec-ci-pt em{
  font:500 8.6px/1 "Segoe UI","Microsoft YaHei",sans-serif;font-style:normal;
  color:#697476;white-space:nowrap;
}
.ec-ci-pt:hover{color:#e8f4f5;background:rgba(255,255,255,.035);}
.ec-ci-pt.is-on{
  color:#eaffff;border-color:rgba(54,211,230,.30);
  background:linear-gradient(180deg,rgba(54,211,230,.15),rgba(54,211,230,.035));
  box-shadow:inset 0 0 16px rgba(54,211,230,.08),0 0 10px rgba(54,211,230,.06);
}
.ec-ci-pt.is-on em{color:#9fdde3;}
.ec-ci-auto{
  flex:0 0 auto;min-width:42px;display:flex;align-items:center;justify-content:center;
  font:700 7.6px/1 "Bahnschrift","Segoe UI",sans-serif;letter-spacing:.10em;
  color:#758184;border-left:1px solid rgba(255,255,255,.07);padding:0 3px;
}
.ec-ci-auto.is-auto{color:#c8e76a;}

.ec-ci-groups{
  flex:0 0 auto;display:flex;gap:4px;min-width:0;
}
.ec-ci-g{
  flex:1 1 0;min-width:0;height:38px;padding:3px 3px 2px;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;
  border:1px solid rgba(255,255,255,.085);border-radius:2px;
  background:linear-gradient(180deg,rgba(255,255,255,.035),rgba(0,0,0,.08));
  color:#959fa1;cursor:pointer;overflow:hidden;
}
.ec-ci-g span{
  width:100%;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  font:700 9.6px/1 "Segoe UI","Microsoft YaHei",sans-serif;color:#b8c2c4;
}
.ec-ci-g b{
  width:100%;text-align:center;white-space:nowrap;
  font:700 8.6px/1 "Bahnschrift","Segoe UI",sans-serif;letter-spacing:.03em;color:#738083;
}
.ec-ci-g:hover{border-color:rgba(255,255,255,.16);background:rgba(255,255,255,.04);}
.ec-ci-g.is-on{
  border-color:rgba(54,211,230,.44);
  background:linear-gradient(180deg,rgba(54,211,230,.16),rgba(54,211,230,.025));
  box-shadow:inset 0 0 14px rgba(54,211,230,.10),0 0 8px rgba(54,211,230,.08);
}
.ec-ci-g.is-on span{color:#eaffff;}
.ec-ci-g.is-on b{color:#9fe7ed;}
.ec-ci-g.is-done:not(.is-on){border-color:rgba(194,232,90,.22);}
.ec-ci-g.is-done b{color:#c8e76a;}

.ec-ci-scope{
  flex:0 0 auto;height:38px;display:flex;align-items:center;gap:6px;padding:0 8px;
  border:1px solid rgba(255,255,255,.085);border-radius:2px;
  background:linear-gradient(90deg,rgba(54,211,230,.075),rgba(0,0,0,.06));
  overflow:hidden;
}
.ec-ci-scope-k{
  font:700 7.8px/1 "Bahnschrift","Segoe UI",sans-serif;letter-spacing:.11em;color:#7e9699;white-space:nowrap;
}
.ec-ci-scope b{font:800 16px/1 "Bahnschrift","Segoe UI",sans-serif;color:#eaffff;}
.ec-ci-scope em{font:500 9.4px/1 "Segoe UI","Microsoft YaHei",sans-serif;font-style:normal;color:#b8c2c4;white-space:nowrap;}
.ec-ci-scope small{margin-left:auto;font:500 8.8px/1 "Segoe UI","Microsoft YaHei",sans-serif;color:#7d888a;white-space:nowrap;}

.ec-ci-scan{
  flex:0 0 auto;padding:6px 8px 4px;border:1px solid rgba(54,211,230,.17);border-radius:2px;
  background:
    linear-gradient(180deg,rgba(54,211,230,.065),rgba(0,0,0,.16)),
    rgba(0,0,0,.10);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035);
  transition:border-color .18s,box-shadow .18s;
  cursor:text;
}
.ec-ci-scan.is-ok{border-color:rgba(194,232,90,.42);box-shadow:inset 0 0 20px rgba(194,232,90,.045),0 0 12px rgba(194,232,90,.06);}
.ec-ci-scan.is-block{border-color:rgba(255,93,85,.48);box-shadow:inset 0 0 20px rgba(255,93,85,.05),0 0 12px rgba(255,93,85,.07);}
.ec-ci-scan.is-warn{border-color:rgba(255,200,74,.36);box-shadow:inset 0 0 18px rgba(255,200,74,.035);}
.ec-ci-scan.is-scan{border-color:rgba(54,211,230,.50);}
.ec-ci-scan-top{display:flex;align-items:center;gap:8px;min-width:0;}
.ec-ci-scan-title{
  min-width:0;display:flex;align-items:center;gap:6px;
  font:700 10.2px/1 "Bahnschrift","Segoe UI",sans-serif;letter-spacing:.10em;color:#dff8fa;white-space:nowrap;
}
.ec-ci-bars{display:inline-flex;align-items:flex-end;gap:2px;height:10px;flex:0 0 auto;}
.ec-ci-bars i{display:block;width:1px;background:#7fcbd2;box-shadow:0 0 5px rgba(54,211,230,.35);}
.ec-ci-bars i:nth-child(1){height:4px;} .ec-ci-bars i:nth-child(2){height:7px;}
.ec-ci-bars i:nth-child(3){height:10px;} .ec-ci-bars i:nth-child(4){height:6px;}
.ec-ci-bars i:nth-child(5){height:3px;}
.ec-ci-scan-top > em{
  margin-left:auto;padding:2px 5px;border:1px solid rgba(255,255,255,.12);border-radius:2px;
  font:700 8.6px/1 "Segoe UI","Microsoft YaHei",sans-serif;font-style:normal;color:#a8b7b9;
  white-space:nowrap;max-width:48%;overflow:hidden;text-overflow:ellipsis;
}
.ec-ci-scan-row{display:flex;align-items:center;gap:5px;margin-top:5px;}
.ec-ci-input{
  flex:1 1 auto;min-width:0;height:28px;padding:0 8px;
  border:1px solid rgba(255,255,255,.15);border-radius:2px;
  background:#020707;color:#f4ffff;outline:none;
  font:600 11.4px/1 "Segoe UI","Microsoft YaHei",sans-serif;letter-spacing:.01em;
  box-shadow:inset 0 1px 5px rgba(0,0,0,.55);
}
.ec-ci-input::placeholder{color:#667476;font-weight:500;font-size:9.6px;}
.ec-ci-input:focus{border-color:rgba(54,211,230,.64);box-shadow:inset 0 1px 5px rgba(0,0,0,.55),0 0 0 2px rgba(54,211,230,.08);}
.ec-ci-scan-btn{
  flex:0 0 46px;height:28px;border:1px solid #62e0ec;border-radius:3px;
  background:linear-gradient(180deg,#7beaf4,#36D3E6);
  color:#031315;cursor:pointer;font:800 10.2px/1 "Segoe UI","Microsoft YaHei",sans-serif;
  box-shadow:0 0 0 1px rgba(0,0,0,.18) inset,0 0 12px rgba(54,211,230,.12);
}
.ec-ci-scan-btn:hover{border-color:#a3f4fa;background:linear-gradient(180deg,#9af2f8,#4bdce9);}
.ec-ci-hint,.ec-ci-flashline{
  min-height:14px;margin-top:4px;display:flex;align-items:center;gap:5px;min-width:0;
  font:500 9.1px/1.15 "Segoe UI","Microsoft YaHei",sans-serif;color:#758184;
}
.ec-ci-hint{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.ec-ci-flashline b{font-weight:700;color:#eaf6f7;white-space:nowrap;}
.ec-ci-flashline em{font-style:normal;color:#9baaac;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.ec-ci-flashline .ec-ci-flash-copy{min-width:0;display:flex;align-items:center;gap:5px;overflow:hidden;}
.ec-ci-flash-dot{width:5px;height:5px;border-radius:50%;flex:0 0 auto;background:#7fcbd2;}
.ec-ci-flashline.ok{color:#c8e76a;} .ec-ci-flashline.ok .ec-ci-flash-dot{background:#c8e76a;box-shadow:0 0 8px rgba(194,232,90,.55);}
.ec-ci-flashline.block{color:#ff8a82;} .ec-ci-flashline.block .ec-ci-flash-dot{background:#ff5d55;box-shadow:0 0 8px rgba(255,93,85,.5);}
.ec-ci-flashline.warn{color:#ffd27a;} .ec-ci-flashline.warn .ec-ci-flash-dot{background:#ffc247;}
.ec-ci-flashline.scan{color:#9fe7ed;} .ec-ci-flashline.scan .ec-ci-flash-dot{animation:ciPulse 1s infinite;}
.ec-ci-inline-btn{
  margin-left:auto;flex:0 0 auto;padding:2px 5px;border:1px solid rgba(255,255,255,.20);border-radius:2px;
  background:rgba(255,255,255,.055);color:#eaf6f7;cursor:pointer;
  font:700 8.2px/1.1 "Segoe UI","Microsoft YaHei",sans-serif;white-space:nowrap;
}
.ec-ci-inline-btn:hover{border-color:rgba(54,211,230,.48);background:rgba(54,211,230,.12);}
@keyframes ciPulse{0%,100%{opacity:.35;}50%{opacity:1;}}

.ec-ci-stats{
  flex:0 0 auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;
}
.ec-ci-stat{
  min-width:0;padding:6px 7px 5px;border:1px solid rgba(255,255,255,.075);border-radius:2px;
  background:linear-gradient(180deg,rgba(255,255,255,.026),rgba(0,0,0,.08));
}
.ec-ci-stat span{
  display:block;font:500 9.8px/1 "Segoe UI","Microsoft YaHei",sans-serif;color:#8d999b;white-space:nowrap;
}
.ec-ci-stat b{
  display:block;margin-top:3px;font:800 25px/1 "Bahnschrift","Segoe UI",sans-serif;letter-spacing:-.01em;color:#f3fbff;
}
.ec-ci-stat em{
  display:block;margin-top:2px;font:500 8.8px/1 "Segoe UI","Microsoft YaHei",sans-serif;font-style:normal;
  color:#7c888a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.ec-ci-stat.is-ok b{color:#c8e76a;} .ec-ci-stat.is-warn b{color:#ffc247;} .ec-ci-stat.is-bad b{color:#ff6c63;}

.ec-ci-alert{
  flex:0 0 auto;min-height:22px;display:flex;align-items:center;gap:6px;padding:3px 7px;
  border:1px solid rgba(255,255,255,.065);border-radius:2px;background:rgba(255,255,255,.017);
  font:500 9.3px/1.15 "Segoe UI","Microsoft YaHei",sans-serif;color:#879496;
}
.ec-ci-alert i{width:4px;height:4px;border-radius:50%;flex:0 0 auto;background:#6b7a7c;}
.ec-ci-alert.is-warn{border-color:rgba(255,200,74,.18);background:rgba(255,200,74,.035);color:#d7c28b;}
.ec-ci-alert.is-warn i{background:#ffc247;box-shadow:0 0 8px rgba(255,194,71,.4);}
.ec-ci-meter{
  flex:0 0 auto;display:flex;align-items:center;gap:6px;height:14px;
}
.ec-ci-meter > span{flex:1 1 auto;height:3px;background:rgba(255,255,255,.075);overflow:hidden;}
.ec-ci-meter > span i{display:block;height:100%;background:linear-gradient(90deg,#1c97a6,#36d3e6,#c8e76a);box-shadow:0 0 7px rgba(54,211,230,.28);}
.ec-ci-meter em{flex:0 0 auto;font:700 8.6px/1 "Bahnschrift","Segoe UI",sans-serif;font-style:normal;color:#9fb5b7;}

.ec-ci-list{
  flex:1 1 auto;min-height:0;display:flex;flex-direction:column;
  border-top:1px solid rgba(255,255,255,.06);
}
.ec-ci-list-head{
  flex:0 0 auto;display:flex;align-items:center;gap:5px;min-width:0;height:28px;
}
.ec-ci-tabs{display:flex;align-items:center;gap:3px;min-width:0;overflow:hidden;}
.ec-ci-tab{
  display:inline-flex;align-items:center;gap:3px;padding:2px 5px;border:1px solid transparent;border-radius:2px;
  background:transparent;color:#778486;cursor:pointer;white-space:nowrap;
  font:600 9.6px/1.15 "Segoe UI","Microsoft YaHei",sans-serif;
}
.ec-ci-tab b{font:700 8.8px/1 "Bahnschrift","Segoe UI",sans-serif;color:#657173;}
.ec-ci-tab.is-on{border-color:rgba(54,211,230,.26);background:rgba(54,211,230,.08);color:#e8fbfc;}
.ec-ci-tab.is-on b{color:#9fe7ed;}
.ec-ci-tab:hover{color:#dff7f8;}
.ec-ci-count{
  margin-left:auto;flex:0 0 auto;font:600 8.8px/1 "Segoe UI","Microsoft YaHei",sans-serif;color:#748183;white-space:nowrap;
}
.ec-ci-rows{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;padding-right:1px;}
.ec-ci-row{
  display:grid;grid-template-columns:6px minmax(0,1fr) auto;align-items:center;gap:6px;
  padding:5px 2px;border-bottom:1px solid rgba(255,255,255,.042);min-height:32px;
}
.ec-ci-row:last-child{border-bottom:0;}
.ec-ci-dot{width:5px;height:5px;border-radius:50%;background:#899496;flex:0 0 auto;}
.ec-ci-dot.ok{background:#c8e76a;box-shadow:0 0 7px rgba(194,232,90,.45);}
.ec-ci-dot.warn{background:#ffc247;box-shadow:0 0 6px rgba(255,194,71,.25);}
.ec-ci-dot.bad{background:#ff5d55;box-shadow:0 0 7px rgba(255,93,85,.4);}
.ec-ci-dot.mut{background:#9aa5a7;}
.ec-ci-who{min-width:0;display:flex;flex-direction:column;gap:1px;}
.ec-ci-who b{
  font:700 12px/1.12 "Segoe UI","Microsoft YaHei",sans-serif;color:#f1f8f9;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.ec-ci-who small{
  font:500 9.3px/1.15 "Segoe UI","Microsoft YaHei",sans-serif;color:#7f8b8d;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.ec-ci-tag{
  font:700 8.8px/1.1 "Segoe UI","Microsoft YaHei",sans-serif;font-style:normal;padding:2px 4px;
  border:1px solid rgba(255,255,255,.11);border-radius:2px;white-space:nowrap;
}
.ec-ci-tag.ok{color:#c8e76a;border-color:rgba(194,232,90,.23);background:rgba(194,232,90,.045);}
.ec-ci-tag.warn{color:#ffd27a;border-color:rgba(255,194,71,.24);background:rgba(255,194,71,.045);}
.ec-ci-tag.bad{color:#ff8a82;border-color:rgba(255,93,85,.26);background:rgba(255,93,85,.045);}
.ec-ci-tag.mut{color:#a8b2b4;border-color:rgba(255,255,255,.12);}
.ec-ci-empty{padding:10px 8px;font:500 9.6px/1.4 "Segoe UI","Microsoft YaHei",sans-serif;color:#778486;text-align:center;}

.ec-main-1x4 .ec-ci-stat b{font-size:27px;}
.ec-main-1x4 .ec-ci-who b{font-size:12.4px;}
@media (min-width:1600px){
  .ec-ci-body{padding:9px 11px 10px;gap:6px;}
  .ec-ci-pt{height:31px;font-size:12.6px;}
  .ec-ci-pt em{font-size:9.2px;}
  .ec-ci-auto{font-size:8.2px;}
  .ec-ci-g{height:42px;}
  .ec-ci-g span{font-size:10.6px;} .ec-ci-g b{font-size:9px;}
  .ec-ci-scan{padding:8px 10px 6px;}
  .ec-ci-scan-title{font-size:11.4px;}
  .ec-ci-input{height:31px;font-size:12.6px;}
  .ec-ci-scan-btn{height:31px;flex-basis:52px;font-size:11.2px;}
  .ec-ci-hint,.ec-ci-flashline{font-size:9.8px;min-height:16px;}
  .ec-ci-stat{padding:8px 9px 7px;}
  .ec-ci-stat span{font-size:10.4px;} .ec-ci-stat b{font-size:31px;} .ec-ci-stat em{font-size:9.2px;}
  .ec-ci-alert{font-size:9.8px;min-height:24px;}
  .ec-ci-list-head{height:31px;}
  .ec-ci-tab{font-size:10.2px;} .ec-ci-tab b{font-size:9.2px;}
  .ec-ci-row{padding:6px 2px;min-height:35px;gap:7px;}
  .ec-ci-who b{font-size:13.6px;} .ec-ci-who small{font-size:9.8px;}
  .ec-ci-tag{font-size:9.2px;padding:3px 5px;}
}
@media (min-width:1240px) and (max-height:840px){
  .ec-ci-body{padding:5px 7px 6px;gap:4px;}
  .ec-ci-phase{padding:2px;}
  .ec-ci-pt{height:26px;font-size:10.6px;gap:3px;}
  .ec-ci-pt em{font-size:7.6px;}
  .ec-ci-auto{min-width:38px;font-size:7px;}
  .ec-ci-g{height:34px;padding:2px 2px 1px;}
  .ec-ci-g span{font-size:8.8px;} .ec-ci-g b{font-size:7.6px;}
  .ec-ci-scope{height:34px;padding:0 7px;}
  .ec-ci-scope b{font-size:14px;} .ec-ci-scope em{font-size:8.6px;} .ec-ci-scope small{font-size:7.8px;}
  .ec-ci-scan{padding:4px 7px 3px;}
  .ec-ci-scan-top{height:14px;}
  .ec-ci-scan-title{font-size:9.2px;gap:4px;}
  .ec-ci-scan-row{margin-top:4px;}
  .ec-ci-input{height:25px;font-size:10.4px;}
  .ec-ci-scan-btn{height:25px;flex-basis:42px;font-size:9.2px;}
  .ec-ci-hint,.ec-ci-flashline{font-size:8.2px;min-height:12px;margin-top:3px;}
  .ec-ci-stat{padding:4px 6px 4px;}
  .ec-ci-stat span{font-size:8.6px;} .ec-ci-stat b{font-size:21px;margin-top:2px;} .ec-ci-stat em{font-size:7.8px;margin-top:1px;}
  .ec-ci-alert{min-height:20px;padding:2px 6px;font-size:8.2px;}
  .ec-ci-meter{height:12px;}
  .ec-ci-list-head{height:25px;}
  .ec-ci-tab{font-size:8.6px;padding:1px 4px;} .ec-ci-tab b{font-size:7.8px;}
  .ec-ci-count{font-size:7.8px;}
  .ec-ci-row{min-height:28px;padding:4px 2px;gap:5px;}
  .ec-ci-who b{font-size:10.8px;} .ec-ci-who small{font-size:8.2px;}
  .ec-ci-tag{font-size:7.8px;padding:1px 3px;}
  .ec-main-1x4 .ec-ci-stat b{font-size:21px;}
}
@media (max-width:1239px){
  .ec-verify{min-height:520px;}
  .ec-ci-body{overflow:visible;}
  .ec-ci-list{min-height:210px;}
}

@media (min-width:1240px) and (max-height:840px){
  .ec-main.ec-main-1x4{height:clamp(420px,calc(100vh - 315px),462px);}
}
@media (min-width:1600px) and (max-height:840px){
  .ec-ci-pt{height:28px;font-size:11.6px;}
  .ec-ci-pt em{font-size:8.4px;}
  .ec-ci-g span{font-size:9.6px;} .ec-ci-g b{font-size:8.8px;}
  .ec-ci-scope b{font-size:15px;} .ec-ci-scope em{font-size:9.2px;} .ec-ci-scope small{font-size:8.4px;}
  .ec-ci-scan-title{font-size:10.2px;}
  .ec-ci-input{height:27px;font-size:11.4px;}
  .ec-ci-scan-btn{height:27px;flex-basis:46px;font-size:10.2px;}
  .ec-ci-hint,.ec-ci-flashline{font-size:9px;min-height:14px;}
  .ec-ci-stat span{font-size:9.2px;} .ec-ci-stat b{font-size:24px;} .ec-ci-stat em{font-size:8.4px;}
  .ec-ci-alert{font-size:9px;min-height:22px;}
  .ec-ci-tab{font-size:9.4px;} .ec-ci-tab b{font-size:8.8px;}
  .ec-ci-who b{font-size:12px;} .ec-ci-who small{font-size:9px;}
  .ec-ci-tag{font-size:8.4px;padding:2px 4px;}
  .ec-main-1x4 .ec-ci-stat b{font-size:24px;}
}

/* ---- 閹殿偆鐖滈弬鐟扮础閿涙碍澹傞惍浣圭仚 / 閹藉嫬鍎氭径?娑撱倖銆傞敍娑欏鏉堟挾娲块幒銉ユ躬鏉堟挸鍙嗗鍡樺ⅵ鐎涙绱濇稉宥呭晙閸楁洜瀚崡鐘炽€?---- */
.ec-ci-ways{
  flex:0 0 auto;height:28px;display:flex;align-items:center;gap:1px;padding:2px;
  border:1px solid rgba(255,255,255,.14);border-radius:3px;background:rgba(3,10,12,.55);
}
.ec-ci-way{
  flex:0 0 auto;height:22px;padding:0 7px;border:0;border-radius:2px;
  background:transparent;color:#718789;cursor:pointer;
  font:700 9.1px/1 "Microsoft YaHei",sans-serif;letter-spacing:.01em;white-space:nowrap;
}
.ec-ci-way:hover{background:rgba(54,211,230,.09);color:#c9f4f8;}
.ec-ci-way.is-on{
  color:#eaffff;background:linear-gradient(180deg,rgba(54,211,230,.34),rgba(54,211,230,.12));
  box-shadow:inset 0 0 0 1px rgba(54,211,230,.36);
}
.ec-ci-way.is-on:hover{background:linear-gradient(180deg,rgba(54,211,230,.4),rgba(54,211,230,.16));}
.ec-ci-way:active{transform:translateY(1px);}
@media (min-width:1240px) and (max-height:840px){
  .ec-ci-ways{height:25px;padding:1px;}
  .ec-ci-way{height:21px;padding:0 6px;font-size:8.6px;}
}
@media (min-width:1600px) and (max-height:840px){
  .ec-ci-ways{height:27px;padding:1px;}
  .ec-ci-way{height:23px;padding:0 7px;font-size:9px;}
}


/* ---- 閹藉嫬鍎氭径瀛樺閻焦璇炵仦?---- */
.ec-cam-modal{
  position:fixed;inset:0;z-index:10000;display:none;align-items:center;justify-content:center;
  padding:14px;background:rgba(1,6,7,.86);backdrop-filter:blur(8px);
}
.ec-cam-modal.is-open{display:flex;}
.ec-cam-panel{
  width:min(92vw,820px);max-height:94vh;display:flex;flex-direction:column;
  border:1px solid rgba(54,211,230,.38);background:#061012;color:#eaf6f7;
  box-shadow:0 24px 80px rgba(0,0,0,.6),0 0 0 1px rgba(0,0,0,.35) inset;
}
.ec-cam-head{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:10px 12px;border-bottom:1px solid rgba(255,255,255,.09);
  background:linear-gradient(180deg,rgba(54,211,230,.08),rgba(54,211,230,.01));
}
.ec-cam-head>div{display:flex;align-items:baseline;gap:8px;min-width:0;}
.ec-cam-head b{font:800 12px/1 "Bahnschrift","Segoe UI",sans-serif;letter-spacing:.08em;color:#eaffff;}
.ec-cam-head span{font:600 9.6px/1 "Microsoft YaHei",sans-serif;color:#7f9698;}
.ec-cam-close{
  border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.04);color:#cfe0e2;
  border-radius:2px;height:26px;padding:0 9px;cursor:pointer;
  font:600 10px/1 "Microsoft YaHei",sans-serif;
}
.ec-cam-close:hover{border-color:rgba(255,77,66,.55);color:#ffb3ad;}
.ec-cam-sub{
  padding:7px 12px;font:500 10.4px/1.4 "Segoe UI","Microsoft YaHei",sans-serif;color:#8fa3a5;
  border-bottom:1px solid rgba(255,255,255,.06);
}
.ec-cam-sub b{color:#c8e76a;font-weight:800;}
.ec-cam-stage{
  position:relative;width:100%;aspect-ratio:16/10;min-height:240px;background:#000;overflow:hidden;
}
.ec-cam-stage video{width:100%;height:100%;display:block;object-fit:cover;background:#000;}
.ec-cam-frame{
  position:absolute;left:50%;top:48%;width:48%;aspect-ratio:1;transform:translate(-50%,-50%);
  border:1px solid rgba(54,211,230,.32);box-shadow:0 0 0 100vmax rgba(0,0,0,.18);
  pointer-events:none;
}
.ec-cam-frame i{position:absolute;width:20px;height:20px;border:2px solid #36D3E6;}
.ec-cam-frame i:nth-child(1){left:-2px;top:-2px;border-right:0;border-bottom:0;}
.ec-cam-frame i:nth-child(2){right:-2px;top:-2px;border-left:0;border-bottom:0;}
.ec-cam-frame i:nth-child(3){left:-2px;bottom:-2px;border-right:0;border-top:0;}
.ec-cam-frame i:nth-child(4){right:-2px;bottom:-2px;border-left:0;border-top:0;}
.ec-cam-scanline{
  position:absolute;left:26%;right:26%;top:50%;height:1px;background:linear-gradient(90deg,transparent,rgba(54,211,230,.8),transparent);
  box-shadow:0 0 12px rgba(54,211,230,.5);animation:ecCamScan 2.4s ease-in-out infinite;pointer-events:none;
}
@keyframes ecCamScan{0%{top:30%;opacity:.25}50%{top:68%;opacity:.95}100%{top:30%;opacity:.25}}
.ec-cam-status{
  position:absolute;left:50%;bottom:10px;transform:translateX(-50%);max-width:88%;
  padding:5px 10px;border:1px solid rgba(255,255,255,.14);border-radius:2px;
  background:rgba(2,10,11,.78);color:#cfe0e2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  font:600 10.4px/1.2 "Microsoft YaHei",sans-serif;
}
.ec-cam-status.is-ok{color:#c8e76a;border-color:rgba(200,231,106,.35);}
.ec-cam-status.is-bad{color:#ff9d96;border-color:rgba(255,77,66,.4);}
.ec-cam-status.is-wait{color:#9fdfe7;border-color:rgba(54,211,230,.35);}
.ec-cam-foot{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  padding:8px 12px;border-top:1px solid rgba(255,255,255,.08);background:#041012;
}
.ec-cam-foot span{font:500 9.4px/1.3 "Microsoft YaHei",sans-serif;color:#7f9698;min-width:0;}
.ec-cam-foot span.is-ok{color:#c8e76a;} .ec-cam-foot span.is-bad{color:#ff9d96;}
.ec-cam-restart{
  flex:0 0 auto;height:26px;padding:0 10px;border:1px solid rgba(54,211,230,.36);border-radius:2px;
  background:rgba(54,211,230,.1);color:#dffbff;cursor:pointer;font:700 10px/1 "Microsoft YaHei",sans-serif;
}
.ec-cam-restart:hover{background:rgba(54,211,230,.2);}
@media (max-width:760px){
  .ec-cam-modal{padding:0;}
  .ec-cam-panel{width:100vw;height:100dvh;max-height:none;border-left:0;border-right:0;}
  .ec-cam-stage{aspect-ratio:auto;flex:1 1 auto;min-height:0;}
  .ec-cam-frame{width:64%;}
  .ec-cam-head{padding:12px;}
  .ec-cam-foot{padding:10px 12px;}
}

/* ---- 閹躲儱鎮曠拠锔藉剰閸愬懐娈戦弽鍥у櫙閺嶆悂鐛欐禍宀€娣惍?---- */
.entry-qr-card{
  margin-top:12px;padding:10px;display:flex;align-items:center;gap:12px;
  border:1px solid rgba(54,211,230,.25);border-radius:6px;
  background:linear-gradient(135deg,rgba(54,211,230,.07),rgba(255,255,255,.02));
}
.entry-qr-copy{min-width:0;flex:1 1 auto;display:flex;flex-direction:column;gap:4px;}
.entry-qr-copy b{font:800 13px/1.2 "Microsoft YaHei",sans-serif;color:#eaf6f7;}
.entry-qr-copy span{font:500 10px/1.45 "Microsoft YaHei",sans-serif;color:#809597;}
.entry-qr-copy code{font:700 11px/1.2 "Cascadia Mono","Consolas",monospace;color:#c8e76a;word-break:break-all;}
.entry-qr-code{
  flex:0 0 104px;width:104px;height:104px;display:flex;align-items:center;justify-content:center;
  background:#fff;border-radius:4px;overflow:hidden;
}
.entry-qr-code svg{width:100%;height:100%;display:block;}
.entry-qr-off{font:600 10px/1.3 "Microsoft YaHei",sans-serif;color:#7a2e2e;padding:6px;text-align:center;}

/* ===== v166 閺嶆悂鐛欓崡鈥冲讲鐠囩粯鈧冨濞ｆ唻绱伴弨鎯с亣閸忔娊鏁亸蹇撶摟閿涘苯鍣虹亸鎴﹀櫢婢跺秵顢嬮崪灞芥珨闂?===== */
.ec-verify .ec-kicker{font-size:10.2px;letter-spacing:.13em;color:#9db0b2;}
.ec-ci-head-live{font-size:10.4px;color:#a8b9bb;letter-spacing:.08em;gap:6px;}
.ec-ci-head-live i{width:6px;height:6px;box-shadow:0 0 0 2px rgba(54,211,230,.10),0 0 11px rgba(54,211,230,.7);}
.ec-ci-body{padding:8px 10px 10px;gap:6px;}
.ec-ci-phase{padding:3px;border-radius:3px;border-color:rgba(255,255,255,.10);background:linear-gradient(180deg,rgba(255,255,255,.025),rgba(0,0,0,.14));}
.ec-ci-pt{
  height:34px;padding:0 8px;gap:6px;border-radius:3px;
  font-size:12.4px;color:#9ba7a9;
}
.ec-ci-pt em{font-size:10.2px;color:#879496;}
.ec-ci-pt.is-on{
  border-color:rgba(54,211,230,.34);
  background:linear-gradient(180deg,rgba(54,211,230,.18),rgba(54,211,230,.045));
  box-shadow:inset 3px 0 0 rgba(54,211,230,.82),inset 0 0 20px rgba(54,211,230,.07);
}
.ec-ci-pt.is-on em{color:#a8e8ee;}

.ec-ci-scan{padding:8px 10px 7px;border-radius:3px;border-color:rgba(54,211,230,.22);}
.ec-ci-scan-title{font-size:11.6px;gap:7px;}
.ec-ci-scan-top > em{font-size:9.6px;padding:3px 6px;border-radius:3px;color:#b6c6c8;}
.ec-ci-scan-row{gap:6px;margin-top:7px;}
.ec-ci-input{height:32px;padding:0 10px;border-radius:3px;font-size:12.6px;}
.ec-ci-input::placeholder{font-size:10.8px;color:#7c8a8c;}
.ec-ci-ways{height:32px;padding:3px;border-radius:4px;}
.ec-ci-way{height:26px;padding:0 8px;font-size:10.2px;}
.ec-ci-scan-btn{height:32px;flex-basis:50px;border-radius:3px;font-size:11.2px;}
.ec-ci-hint,.ec-ci-flashline{min-height:16px;margin-top:6px;font-size:10.4px;color:#93a0a2;}
.ec-ci-inline-btn{font-size:9.2px;padding:3px 6px;border-radius:3px;}

.ec-ci-stats{gap:6px;}
.ec-ci-stat{
  position:relative;padding:9px 9px 8px 12px;border-radius:3px;
  border-color:rgba(255,255,255,.10);
  background:linear-gradient(180deg,rgba(255,255,255,.028),rgba(0,0,0,.08));
}
.ec-ci-stat:before{content:"";position:absolute;left:0;top:0;bottom:0;width:2px;background:rgba(255,255,255,.18);}
.ec-ci-stat.is-ok:before{background:#c8e76a;}
.ec-ci-stat.is-warn:before{background:#ffc247;}
.ec-ci-stat.is-bad:before{background:#ff6c63;}
.ec-ci-stat span{font-size:11px;color:#a1adaf;}
.ec-ci-stat b{font-size:30px;margin-top:4px;}
.ec-ci-stat em{font-size:10.2px;margin-top:3px;color:#8b989a;}

.ec-ci-alert{min-height:24px;padding:4px 9px;border-radius:3px;font-size:10.4px;color:#9aa7a9;}
.ec-ci-meter{height:18px;gap:8px;}
.ec-ci-meter > span{height:4px;border-radius:2px;}
.ec-ci-meter em{font-size:10.8px;color:#b0c1c3;}

.ec-ci-list{border-top-color:rgba(255,255,255,.08);}
.ec-ci-list-head{height:34px;gap:8px;}
.ec-ci-tabs{gap:10px;}
.ec-ci-tab{
  padding:4px 1px 5px;border:0;border-bottom:2px solid transparent;border-radius:0;
  background:transparent;font-size:11px;color:#8d9a9c;
}
.ec-ci-tab b{font-size:10px;color:#7b898b;}
.ec-ci-tab.is-on{border:0;border-bottom-color:#36d3e6;background:transparent;color:#f1ffff;box-shadow:none;}
.ec-ci-tab.is-on b{color:#8feaf1;}
.ec-ci-tab:hover{color:#e1f7f8;}
.ec-ci-count{font-size:10.2px;color:#8a9799;}
.ec-ci-rows{padding-right:2px;}
.ec-ci-row{
  grid-template-columns:7px minmax(0,1fr) auto;gap:8px;
  padding:7px 3px;min-height:38px;border-bottom-color:rgba(255,255,255,.055);border-radius:3px;
}
.ec-ci-row:hover{background:rgba(54,211,230,.035);}
.ec-ci-dot{width:6px;height:6px;}
.ec-ci-who b{font-size:13.8px;line-height:1.15;}
.ec-ci-who small{font-size:10.8px;color:#95a2a4;}
.ec-ci-tag{font-size:10.2px;padding:3px 6px;border-radius:3px;}
.ec-ci-empty{font-size:10.6px;color:#8b989a;}
.ec-main-1x4 .ec-ci-stat b{font-size:31px;}
.ec-main-1x4 .ec-ci-who b{font-size:13.8px;}

@media (min-width:1240px) and (max-height:840px){
  .ec-ci-body{padding:6px 8px 7px;gap:5px;}
  .ec-ci-pt{height:31px;font-size:11.4px;}
  .ec-ci-pt em{font-size:9.6px;}
  .ec-ci-scan{padding:6px 8px 5px;}
  .ec-ci-scan-title{font-size:10.8px;}
  .ec-ci-scan-row{gap:5px;margin-top:6px;}
  .ec-ci-input{height:29px;font-size:11.6px;}
  .ec-ci-input::placeholder{font-size:10.2px;}
  .ec-ci-ways{height:29px;padding:2px;}
  .ec-ci-way{height:24px;padding:0 7px;font-size:9.4px;}
  .ec-ci-scan-btn{height:29px;flex-basis:46px;font-size:10.4px;}
  .ec-ci-hint,.ec-ci-flashline{font-size:10px;min-height:15px;margin-top:5px;}
  .ec-ci-stat{padding:7px 8px 7px 10px;}
  .ec-ci-stat span{font-size:10.2px;}
  .ec-ci-stat b{font-size:27px;}
  .ec-ci-stat em{font-size:9.8px;}
  .ec-ci-alert{font-size:9.8px;min-height:22px;}
  .ec-ci-meter{height:16px;}
  .ec-ci-meter em{font-size:10px;}
  .ec-ci-list-head{height:31px;}
  .ec-ci-tab{font-size:10.4px;}
  .ec-ci-tab b{font-size:9.6px;}
  .ec-ci-count{font-size:9.6px;}
  .ec-ci-row{min-height:34px;padding:5px 3px;}
  .ec-ci-who b{font-size:12.8px;}
  .ec-ci-who small{font-size:10.2px;}
  .ec-ci-tag{font-size:9.6px;padding:2px 4px;}
  .ec-main-1x4 .ec-ci-stat b{font-size:27px;}
  .ec-main-1x4 .ec-ci-who b{font-size:12.8px;}
}
@media (min-width:1600px) and (max-height:840px){
  .ec-ci-pt{height:32px;font-size:11.8px;}
  .ec-ci-pt em{font-size:9.8px;}
  .ec-ci-input{height:30px;font-size:12px;}
  .ec-ci-ways{height:30px;}
  .ec-ci-way{height:25px;font-size:9.6px;}
  .ec-ci-scan-btn{height:30px;flex-basis:48px;font-size:10.6px;}
  .ec-ci-stat b{font-size:28px;}
  .ec-main-1x4 .ec-ci-stat b{font-size:28px;}
}

/* 缂佸嫬鍩嗛崚鍥ㄥ床閺夆槄绱伴弨瑙勫灇 3 閸掓ぞ琚辩悰宀嬬礉鐎涙褰块弴鏉戙亣閿涘奔绗夐崘宥嗗皨閹存劒绔撮弶?*/
.ec-ci-groups{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
  grid-auto-rows:30px;gap:4px;
}
.ec-ci-g{
  height:30px;padding:4px 8px;border-radius:3px;
  flex-direction:row;align-items:center;justify-content:space-between;gap:8px;
}
.ec-ci-g span{
  width:auto;flex:1 1 auto;text-align:left;
  font-size:10.2px;line-height:1;
}
.ec-ci-g b{
  width:auto;flex:0 0 auto;text-align:right;
  font-size:10.2px;letter-spacing:.02em;
}
@media (min-width:1240px) and (max-height:840px){
  .ec-ci-groups{grid-auto-rows:28px;}
  .ec-ci-g{height:28px;padding:3px 7px;}
  .ec-ci-g span{font-size:9.8px;}
  .ec-ci-g b{font-size:9.4px;}
}

/* 閺嶆悂鐛欓崡鈥炽仈闁煉绱伴幓鎰仛闂婂啿绱戦崗?+ 缁傝崵鍤庡鍛倱濮濄儳濮搁幀?*/
.ec-ci-head-right{
  margin-left:auto;display:inline-flex;align-items:center;gap:8px;flex:0 0 auto;
}
.ec-ci-lane{
  height:18px;min-width:24px;padding:0 5px;display:inline-grid;place-items:center;
  border:1px solid rgba(54,211,230,.20);border-radius:3px;
  background:rgba(54,211,230,.05);color:#8ecbd1;
  font:700 9px/1 "Bahnschrift","Consolas",monospace;letter-spacing:.06em;
}
.ec-ci-head-right .ec-ci-head-live{margin-left:0;}
.ec-ci-head-live.is-queue{color:#ffc247;}
.ec-ci-head-live.is-queue i{background:#ffc247;box-shadow:0 0 0 2px rgba(255,194,71,.10),0 0 10px rgba(255,194,71,.65);}
.ec-ci-head-live.is-offline{color:#d9a55e;}
.ec-ci-head-live.is-offline i{background:#d9a55e;box-shadow:0 0 0 2px rgba(217,165,94,.10),0 0 10px rgba(217,165,94,.55);}
.ec-ci-sound{
  position:relative;width:24px;height:24px;display:grid;place-items:center;flex:0 0 24px;
  border:1px solid rgba(54,211,230,.24);border-radius:4px;background:rgba(54,211,230,.07);
  color:#9fe7ed;cursor:pointer;padding:0;
}
.ec-ci-sound:hover{border-color:rgba(54,211,230,.5);background:rgba(54,211,230,.14);}
.ec-ci-sound svg{width:16px;height:16px;display:block;overflow:visible;}
.ec-ci-sound svg path:first-child{fill:currentColor;stroke:none;}
.ec-ci-sound svg .ec-ci-sound-wave{fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;}
.ec-ci-sound.is-off{color:#718083;border-color:rgba(255,255,255,.12);background:rgba(255,255,255,.03);}
.ec-ci-sound.is-off .ec-ci-sound-wave{display:none;}
.ec-ci-sound.is-off:after{
  content:"";position:absolute;left:5px;top:11px;width:14px;height:1px;background:#ff7f73;transform:rotate(-45deg);
}

/* 閹殿偆鐖滈幋鎰閿涙矮鑵戞径顔笺亣鐎?+ 鏉炲浼勭純鈺嬬礉1.3 缁夋帒鎮楅懛顏勫З濞戝牆銇?*/
.ec-ci-success{
  position:fixed;inset:0;z-index:9990;display:flex;align-items:center;justify-content:center;
  pointer-events:none;opacity:0;transition:opacity .18s ease;
  background:radial-gradient(circle at center,rgba(1,8,9,.38),rgba(1,8,9,.16) 55%,rgba(1,8,9,0) 78%);
}
.ec-ci-success.is-on{opacity:1;}
.ec-ci-success-card{
  min-width:330px;max-width:min(620px,86vw);padding:26px 42px 22px;
  display:flex;flex-direction:column;align-items:center;text-align:center;
  border:1px solid rgba(54,211,230,.62);border-radius:8px;
  background:linear-gradient(180deg,rgba(7,27,30,.97),rgba(2,10,12,.98));
  box-shadow:0 24px 90px rgba(0,0,0,.62),0 0 70px rgba(54,211,230,.16),inset 0 0 0 1px rgba(255,255,255,.03);
  transform:scale(.94);transition:transform .22s cubic-bezier(.2,.9,.25,1.15);
}
.ec-ci-success.is-on .ec-ci-success-card{transform:scale(1);}
.ec-ci-success-mark{
  width:42px;height:42px;display:grid;place-items:center;margin-bottom:12px;
  border:1px solid rgba(200,231,106,.68);border-radius:50%;
  color:#d9f58a;font:800 22px/1 "Segoe UI","Microsoft YaHei",sans-serif;
  background:rgba(200,231,106,.08);box-shadow:0 0 24px rgba(200,231,106,.20);
}
.ec-ci-success-card b{
  font:800 34px/1.08 "Microsoft YaHei","Segoe UI",sans-serif;
  letter-spacing:.04em;color:#f2ffff;
}
.ec-ci-success-card em{
  margin-top:9px;font:700 12.5px/1.4 "Microsoft YaHei",sans-serif;
  color:#a9e8ee;letter-spacing:.04em;
}
.ec-ci-success-card small{
  margin-top:13px;font:700 9.8px/1 "Bahnschrift","Segoe UI",sans-serif;
  letter-spacing:.20em;color:#8fa2a4;
}
@media (max-width:760px){
  .ec-ci-success-card{min-width:0;width:calc(100vw - 36px);padding:24px 22px 20px;}
  .ec-ci-success-card b{font-size:30px;}
}
@media (prefers-reduced-motion:reduce){
  .ec-ci-success,.ec-ci-success-card{transition:none;}
}

/* ===== v168 鏉烇附澧滈弽鎼佺崣閸欏府绱扮粩顖欐櫠娴狀亣銆冮惄妯哄 =====
   閻╊喗鐖ｉ敍姘躲€夌粵鎯у剼閸欏本銆傚鈧崗鐐解偓浣瑰閻礁灏崓蹇氱翻閸忋儳绮撶粩顖樷偓浣虹埠鐠佲€宠嫙閹存劒绔撮弶鈥插崕鐞涖劌鐢妴浣告倳閸楁洑绱崗鍫ユ苟閸?5 鐞涘被鈧?*/
.ec-verify{
  --ci-lime:#c8e76a;
  --ci-cyan:#36d3e6;
  --ci-amber:#ffc247;
  --ci-red:#ff6c63;
  border-top-color:rgba(200,231,106,.62);
}
.ec-verify .ec-head{
  padding:7px 10px 6px;
  border-bottom-color:rgba(200,231,106,.16);
  background:linear-gradient(100deg,rgba(200,231,106,.075),rgba(54,211,230,.018) 54%,transparent);
}
.ec-verify .ec-kicker{font-size:10.4px;letter-spacing:.14em;color:#a7b9b7;}
.ec-verify .ec-head h2{font-size:20px;line-height:1.05;letter-spacing:.03em;}
.ec-verify .ec-hex{
  width:13px;height:15px;margin-right:1px;
  background:linear-gradient(180deg,#e8ff9b,#77951c);
  box-shadow:0 0 15px rgba(200,231,106,.30);
}
.ec-ci-head-right{gap:6px;}
.ec-ci-head-right .ec-ci-head-live{
  min-height:20px;padding:0 6px 0 7px;gap:5px;
  border:1px solid rgba(54,211,230,.16);border-radius:10px;
  background:rgba(54,211,230,.043);
  font-size:10px;letter-spacing:.04em;color:#a7c3c5;
}
.ec-ci-head-right .ec-ci-head-live i{width:5px;height:5px;}
.ec-ci-head-right .ec-ci-head-live.is-queue{
  border-color:rgba(255,194,71,.24);background:rgba(255,194,71,.055);
}
.ec-ci-head-right .ec-ci-head-live.is-offline{
  border-color:rgba(217,165,94,.22);background:rgba(217,165,94,.05);
}
.ec-ci-lane{
  height:20px;min-width:26px;padding:0 5px;border-radius:3px;
  border-color:rgba(54,211,230,.24);background:rgba(54,211,230,.06);
  color:#9fe7ed;font-size:9.4px;
}
.ec-ci-sound{width:26px;height:26px;flex-basis:26px;border-radius:3px;}
.ec-ci-sound svg{width:15px;height:15px;}

.ec-ci-body{
  gap:4px;padding:6px 9px 7px;
  background:
    radial-gradient(100% 55% at 50% 0%,rgba(200,231,106,.032),transparent 65%),
    linear-gradient(180deg,rgba(255,255,255,.012),rgba(0,0,0,.10));
}

/* 閸欏本銆傞敍姘剼娑撯偓缂佸嫬鐢紓鏍у娇閻ㄥ嫮鈥栧鈧崗绛圭礉閼板奔绗夐弰顖欒⒈鐞涘本鏋冪€?*/
.ec-ci-phase{
  gap:5px;padding:2px;border-radius:4px;
  border-color:rgba(255,255,255,.10);
  background:rgba(0,0,0,.22);
}
.ec-ci-pt{
  height:30px;padding:0 9px;gap:8px;justify-content:flex-start;
  border:1px solid rgba(255,255,255,.055);border-radius:3px;
  background:rgba(255,255,255,.012);
  font-size:12.2px;
}
.ec-ci-pt-no{
  width:20px;height:20px;flex:0 0 20px;display:grid;place-items:center;
  border:1px solid rgba(255,255,255,.13);border-radius:2px;
  background:rgba(0,0,0,.14);color:#7e8e90;
  font:700 9.2px/1 "Bahnschrift","Segoe UI",sans-serif;letter-spacing:.03em;
}
.ec-ci-pt-body{
  min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:2px;
}
.ec-ci-pt-body > span{
  font:700 12.2px/1 "Segoe UI","Microsoft YaHei",sans-serif;color:#b7c3c5;
  white-space:nowrap;
}
.ec-ci-pt-body > em{
  max-width:100%;font:500 9.8px/1 "Segoe UI","Microsoft YaHei",sans-serif;font-style:normal;
  color:#7c8a8c;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.ec-ci-pt:hover{border-color:rgba(255,255,255,.14);background:rgba(255,255,255,.04);}
.ec-ci-pt.is-on[data-ci-mode="report"]{
  border-color:rgba(200,231,106,.34);
  background:linear-gradient(180deg,rgba(200,231,106,.16),rgba(200,231,106,.025));
  box-shadow:inset 2px 0 0 var(--ci-lime),inset 0 0 22px rgba(200,231,106,.055);
}
.ec-ci-pt.is-on[data-ci-mode="race"]{
  border-color:rgba(54,211,230,.34);
  background:linear-gradient(180deg,rgba(54,211,230,.16),rgba(54,211,230,.025));
  box-shadow:inset 2px 0 0 var(--ci-cyan),inset 0 0 22px rgba(54,211,230,.055);
}
.ec-ci-pt.is-on .ec-ci-pt-body > span{color:#f5ffff;}
.ec-ci-pt.is-on[data-ci-mode="report"] .ec-ci-pt-body > em{color:#d7efa0;}
.ec-ci-pt.is-on[data-ci-mode="race"] .ec-ci-pt-body > em{color:#a7e8ee;}
.ec-ci-pt.is-on[data-ci-mode="report"] .ec-ci-pt-no{
  border-color:rgba(200,231,106,.36);background:rgba(200,231,106,.09);color:#e7ffab;
}
.ec-ci-pt.is-on[data-ci-mode="race"] .ec-ci-pt-no{
  border-color:rgba(54,211,230,.36);background:rgba(54,211,230,.09);color:#a8f1f7;
}

/* 缂佸嫬鍩嗛弶鈽呯窗閸旂姳绔撮弶鈩冪€紒鍡楃暚閹存劕瀹抽敍灞炬＆娣囨繄鏆€ 3鑴?閿涘奔绡冩稉宥囨暏閸愬秴顦婚幐鍌濈箻鎼达附娼?*/
.ec-ci-groups{gap:3px;grid-auto-rows:28px;}
.ec-ci-g{
  position:relative;height:28px;padding:3px 8px 4px;border-radius:3px;overflow:hidden;
}
.ec-ci-g-fill{
  position:absolute;left:0;bottom:0;height:2px;width:var(--ci-gpct,0%);
  background:rgba(54,211,230,.55);transition:width .2s ease;
}
.ec-ci-g.is-done .ec-ci-g-fill{background:rgba(200,231,106,.72);}
.ec-ci-g.is-on .ec-ci-g-fill{background:var(--ci-cyan);box-shadow:0 0 8px rgba(54,211,230,.38);}
.ec-ci-g.is-on{border-color:rgba(54,211,230,.48);}
.ec-ci-g span{font-size:10.2px;}
.ec-ci-g b{font-size:10px;}

/* 閹殿偆鐖滅紒鍫㈩伂閿涙艾娴橀弽?+ 鏉堟挸鍙?+ 閸欏本銆傞弬鐟扮础 + 鐎圭偛绺鹃弽鎼佺崣 */
.ec-ci-scan{
  padding:4px 9px 3px;border-radius:4px;
  border-color:rgba(54,211,230,.26);
  background:linear-gradient(180deg,rgba(54,211,230,.075),rgba(0,0,0,.18)),rgba(0,0,0,.10);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035),0 8px 20px rgba(0,0,0,.10);
}
.ec-ci-scan-top{min-height:16px;gap:7px;}
.ec-ci-scan-title{font-size:11.8px;color:#eaffff;gap:7px;}
.ec-ci-scan-title small{
  margin-left:1px;font:700 8.6px/1 "Bahnschrift","Segoe UI",sans-serif;
  letter-spacing:.14em;color:#6f9296;
}
.ec-ci-scan-top > em{
  max-width:54%;padding:3px 6px;border-radius:3px;
  border-color:rgba(54,211,230,.16);background:rgba(54,211,230,.04);
  font-size:9.8px;color:#9fb8bb;
}
.ec-ci-scan-row{gap:6px;margin-top:4px;}
.ec-ci-input-wrap{
  flex:1 1 auto;min-width:0;height:32px;display:flex;align-items:center;gap:7px;
  padding:0 7px 0 9px;border:1px solid rgba(255,255,255,.16);border-radius:3px;
  background:#020707;box-shadow:inset 0 1px 6px rgba(0,0,0,.65);
  transition:border-color .16s ease,box-shadow .16s ease;
}
.ec-ci-input-wrap:focus-within{
  border-color:rgba(54,211,230,.64);
  box-shadow:inset 0 1px 6px rgba(0,0,0,.65),0 0 0 2px rgba(54,211,230,.07),0 0 14px rgba(54,211,230,.05);
}
.ec-ci-scan-glyph{
  width:14px;height:14px;flex:0 0 14px;fill:none;stroke:#65cbd5;stroke-width:1.5;
  stroke-linecap:round;opacity:.9;
}
.ec-ci-input{
  flex:1 1 auto;min-width:0;height:100%;padding:0;border:0;border-radius:0;
  background:transparent;box-shadow:none;font-size:12.6px;
}
.ec-ci-input:focus{border:0;box-shadow:none;}
.ec-ci-input::placeholder{font-size:10.6px;color:#7f8e90;}
.ec-ci-key{
  flex:0 0 18px;min-width:18px;height:17px;display:grid;place-items:center;
  border:1px solid rgba(255,255,255,.13);border-radius:2px;
  background:rgba(255,255,255,.035);color:#829598;
  font:700 10px/1 "Bahnschrift","Consolas",monospace;
}
.ec-ci-ways{
  flex:0 0 108px;height:32px;padding:3px;gap:2px;border-radius:3px;
  border-color:rgba(255,255,255,.10);background:rgba(0,0,0,.28);
}
.ec-ci-way{flex:1 1 0;height:24px;padding:0 4px;font-size:9.8px;}
.ec-ci-way.is-on{box-shadow:inset 0 0 0 1px rgba(54,211,230,.34);}
.ec-ci-scan-btn{
  flex:0 0 52px;height:32px;border-radius:3px;font-size:11.6px;
  box-shadow:0 0 0 1px rgba(0,0,0,.18) inset,0 0 16px rgba(54,211,230,.10);
}
.ec-ci-hint,.ec-ci-flashline{min-height:14px;margin-top:4px;font-size:10.4px;color:#9ba9ab;}
.ec-ci-inline-btn{font-size:9.8px;padding:3px 6px;}

/* 娑撳銆嶇紒鐔活吀楠炶埖鍨氭稉鈧弶鈥插崕鐞涖劌鐢敍姘瑝閸愬秴鍎氭稉澶夐嚋閻欘剛鐝涚亸蹇撳幢 */
.ec-ci-stats{
  gap:0;border:1px solid rgba(255,255,255,.10);border-radius:4px;
  overflow:hidden;background:linear-gradient(180deg,rgba(255,255,255,.022),rgba(0,0,0,.10));
}
.ec-ci-stat{
  padding:5px 9px 5px 10px;border:0;border-left:1px solid rgba(255,255,255,.070);
  border-radius:0;background:transparent;
}
.ec-ci-stat:first-child{border-left:0;}
.ec-ci-stat:before{
  left:0;right:0;top:0;bottom:auto;width:auto;height:2px;
  background:rgba(54,211,230,.38);
}
.ec-ci-stat.is-ok:before{background:var(--ci-lime);}
.ec-ci-stat.is-warn:before{background:var(--ci-amber);}
.ec-ci-stat.is-bad:before{background:var(--ci-red);}
.ec-ci-stat.is-ok{background:linear-gradient(180deg,rgba(200,231,106,.032),transparent 60%);}
.ec-ci-stat.is-warn{background:linear-gradient(180deg,rgba(255,194,71,.026),transparent 60%);}
.ec-ci-stat > span{font-size:10.8px;color:#a5b2b4;letter-spacing:.015em;}
.ec-ci-stat b{font-size:28px;margin-top:2px;line-height:1;font-variant-numeric:tabular-nums;}
.ec-ci-stat em{font-size:10.2px;margin-top:1px;line-height:1.1;color:#8d9a9c;}
.ec-ci-stat-bar{
  position:absolute;left:0;right:0;bottom:0;height:2px;
  background:rgba(0,0,0,.22);overflow:hidden;
}
.ec-ci-stat-bar i{
  display:block;height:100%;
  background:linear-gradient(90deg,rgba(200,231,106,.35),var(--ci-lime));
  box-shadow:0 0 8px rgba(200,231,106,.28);
}

/* 閸氬秴宕熼敍姘喘閸忓牓婀堕崙?5 鐞涘矉绱辨い鐢殿劮鐠佲剝鏆熼崑姘灇鐏忓繗鍏岄崶濠忕礉鐞涘矂顩婚弨鍦Ц閹浇寤?*/
.ec-ci-list{border-top-color:rgba(255,255,255,.085);}
.ec-ci-list-head{height:28px;gap:6px;}
.ec-ci-tabs{gap:5px;}
.ec-ci-tab{
  gap:4px;padding:3px 5px 4px;border:0;border-bottom:2px solid transparent;border-radius:0;
  background:transparent;font-size:11.2px;color:#8e9c9e;
}
.ec-ci-tab b{
  min-width:17px;height:14px;padding:0 4px;display:inline-flex;align-items:center;justify-content:center;
  border-radius:7px;background:rgba(255,255,255,.05);
  font:700 9.2px/1 "Bahnschrift","Segoe UI",sans-serif;
}
.ec-ci-tab[data-ci-tab="pending"] b{color:var(--ci-amber);}
.ec-ci-tab[data-ci-tab="reported"] b,.ec-ci-tab[data-ci-tab="checked"] b{color:var(--ci-lime);}
.ec-ci-tab[data-ci-tab="all"] b{color:#9fe7ed;}
.ec-ci-tab[data-ci-tab="excluded"] b{color:#ff8b83;}
.ec-ci-tab.is-on{
  border:0;border-bottom:2px solid var(--ci-cyan);background:transparent;
  color:#f4ffff;box-shadow:none;
}
.ec-ci-tab.is-on b{background:rgba(255,255,255,.07);}
.ec-ci-tab:hover{color:#e1f7f8;background:rgba(255,255,255,.018);}
.ec-ci-count{font-size:10.2px;color:#95a3a5;}
.ec-ci-rows{padding-right:3px;}
.ec-ci-rows::-webkit-scrollbar{width:4px;}
.ec-ci-rows::-webkit-scrollbar-track{background:transparent;}
.ec-ci-rows::-webkit-scrollbar-thumb{background:rgba(54,211,230,.22);border-radius:3px;}
.ec-ci-row{
  grid-template-columns:3px minmax(0,1fr) auto;gap:9px;
  padding:4px 3px 4px 2px;min-height:38px;
  border-bottom-color:rgba(255,255,255,.050);border-radius:2px;
}
.ec-ci-row:nth-child(even){background:rgba(255,255,255,.012);}
.ec-ci-row:hover{background:rgba(54,211,230,.040);}
.ec-ci-body.is-report .ec-ci-row{min-height:35.9px;padding:3px 3px 3px 2px;}
.ec-ci-rail{
  width:3px;height:24px;border-radius:2px;background:#899496;opacity:.55;
}
.ec-ci-rail.ok{background:var(--ci-lime);box-shadow:0 0 8px rgba(200,231,106,.28);}
.ec-ci-rail.warn{background:var(--ci-amber);box-shadow:0 0 7px rgba(255,194,71,.22);}
.ec-ci-rail.bad{background:var(--ci-red);box-shadow:0 0 8px rgba(255,108,99,.26);}
.ec-ci-rail.mut{background:#9aa5a7;}
.ec-ci-who{gap:1px;}
.ec-ci-who b{font-size:14.2px;line-height:1.12;letter-spacing:.01em;}
.ec-ci-who small{font-size:10.6px;line-height:1.14;color:#98a6a8;}
.ec-ci-tag{
  display:inline-flex;align-items:center;gap:4px;padding:3px 6px;border-radius:2px;
  font-size:10.3px;
}
.ec-ci-tag:before{
  content:"";width:4px;height:4px;border-radius:50%;flex:0 0 4px;background:currentColor;opacity:.82;
}
.ec-ci-tag.ok{background:rgba(200,231,106,.055);}
.ec-ci-tag.warn{background:rgba(255,194,71,.055);}
.ec-ci-tag.bad{background:rgba(255,108,99,.055);}
.ec-ci-tag.mut{background:rgba(255,255,255,.035);}
.ec-ci-empty{font-size:10.8px;color:#8f9d9f;}

@media (min-width:1240px) and (max-height:840px){
  .ec-verify .ec-head{padding:5px 8px 5px;}
  .ec-verify .ec-head h2{font-size:18px;}
  .ec-verify .ec-kicker{font-size:9.6px;}
  .ec-ci-head-right{gap:5px;}
  .ec-ci-head-right .ec-ci-head-live{min-height:18px;font-size:9.4px;padding:0 5px 0 6px;}
  .ec-ci-lane{height:18px;min-width:24px;font-size:8.8px;}
  .ec-ci-sound{width:24px;height:24px;flex-basis:24px;}
  .ec-ci-body{padding:6px 8px 7px;gap:4px;}
  .ec-ci-phase{padding:2px;gap:4px;}
  .ec-ci-pt{height:30px;padding:0 8px;gap:7px;}
  .ec-ci-pt-no{width:18px;height:18px;flex-basis:18px;font-size:8.6px;}
  .ec-ci-pt-body > span{font-size:11.2px;}
  .ec-ci-pt-body > em{font-size:9px;}
  .ec-ci-groups{gap:4px;grid-auto-rows:27px;}
  .ec-ci-g{height:27px;padding:2px 7px 4px;}
  .ec-ci-g span{font-size:9.6px;}
  .ec-ci-g b{font-size:9.2px;}
  .ec-ci-scan{padding:4px 8px 3px;}
  .ec-ci-scan-top{min-height:15px;}
  .ec-ci-scan-title{font-size:10.6px;gap:6px;}
  .ec-ci-scan-title small{font-size:8px;}
  .ec-ci-scan-top > em{font-size:9.2px;padding:2px 5px;max-width:58%;}
  .ec-ci-scan-row{gap:5px;margin-top:4px;}
  .ec-ci-input-wrap{height:30px;gap:6px;padding:0 6px 0 8px;}
  .ec-ci-scan-glyph{width:13px;height:13px;flex-basis:13px;}
  .ec-ci-input{font-size:11.6px;}
  .ec-ci-input::placeholder{font-size:10px;}
  .ec-ci-key{height:16px;flex-basis:17px;min-width:17px;font-size:9.4px;}
  .ec-ci-ways{flex-basis:102px;height:30px;padding:2px;}
  .ec-ci-way{height:24px;font-size:9.2px;}
  .ec-ci-scan-btn{flex-basis:48px;height:30px;font-size:10.8px;}
  .ec-ci-hint,.ec-ci-flashline{min-height:13px;margin-top:3px;font-size:9.8px;}
  .ec-ci-stat{padding:5px 8px 6px 9px;}
  .ec-ci-stat > span{font-size:10px;}
  .ec-ci-stat b{font-size:25px;}
  .ec-ci-stat em{font-size:9.6px;}
  .ec-ci-list-head{height:28px;}
  .ec-ci-tab{font-size:10.4px;padding:2px 4px 3px;}
  .ec-ci-tab b{min-width:16px;height:13px;font-size:8.6px;}
  .ec-ci-count{font-size:9.6px;}
  .ec-ci-row{min-height:35px;padding:3px 3px 3px 2px;gap:8px;}
  .ec-ci-rail{height:22px;}
  .ec-ci-who b{font-size:13.2px;}
  .ec-ci-who small{font-size:9.9px;}
  .ec-ci-tag{font-size:9.7px;padding:2px 5px;}
}




/* ===== v169 RACE STATE閿涙艾寮婚悳顖欏瘜閸擃垵銆?+ 閸掑棙顔岄崚璇插 + 閸ユ稑鍨?timing strip ===== */
@property --p{syntax:"<number>";inherits:false;initial-value:0;}

@keyframes ecLivePulse{
  0%,100%{opacity:.55;transform:scale(.92);box-shadow:0 0 0 2px rgba(255,75,85,.10),0 0 7px rgba(255,75,85,.45);}
  50%{opacity:1;transform:scale(1.12);box-shadow:0 0 0 3px rgba(255,75,85,.06),0 0 13px rgba(255,75,85,.70);}
}
.ec-race-state .ec-head-live i{animation:ecLivePulse 2.2s ease-in-out infinite;}

.ec-race-state-body{padding:6px 9px 5px;}

/* 娑撹澹囩悰銊ㄥ煃閿涙艾涔忔径褍褰哥亸蹇嬧偓浣稿彙閻劍鎸夐獮鍐茬唨閸戝棛鍤?*/
.ec-state-deck{
  position:relative;flex:0 0 100px;height:100px;
  display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);
  align-items:stretch;padding:0 2px;box-sizing:border-box;
}
.ec-state-deck::before{
  content:"";position:absolute;left:34%;right:32%;top:57px;height:1px;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.12) 16%,rgba(255,255,255,.12) 84%,transparent);
  z-index:0;
}
.ec-dial{position:relative;z-index:1;display:grid;grid-template-rows:14px minmax(0,1fr);justify-items:center;align-items:center;min-width:0;padding-bottom:0;}
.ec-dial-tag{display:flex;align-items:center;justify-content:center;gap:4px;white-space:nowrap;}
.ec-dial-tag i{
  display:inline-flex;align-items:center;justify-content:center;height:11px;padding:0 3px;
  font:800 5.8px/1 "Bahnschrift","Segoe UI",sans-serif;font-style:normal;letter-spacing:.04em;
  color:#ffc247;background:rgba(255,194,71,.07);border:1px solid rgba(255,194,71,.26);
}
.ec-dial-tag span{font:700 6.2px/1 "Bahnschrift","Segoe UI",sans-serif;letter-spacing:.16em;color:#9aa1a6;}
.ec-dial-sub .ec-dial-tag i{color:#8f979c;background:rgba(255,255,255,.025);border-color:rgba(255,255,255,.13);}
.ec-dial-sub .ec-dial-tag span{color:#72797e;}

/* 閸﹀棛骞嗛敍姘箽閻ｆ瑥鑸伴悩璁圭礉鐠囶厺绠熼弨瑙勫灇 12 / 10 閺嶇厧鍨庡▓浣冾吀閺佹澘娅?*/
.ec-ring{
  --p:0;--seg:30deg;
  position:relative;width:86px;height:86px;border-radius:50%;padding:0;
  background-color:#0b0c0e;
  background-image:conic-gradient(from -90deg,#36d3e6 0 calc(var(--p) * 1%),rgba(255,255,255,.055) 0);
  box-shadow:0 0 0 1px rgba(54,211,230,.13),0 0 20px rgba(54,211,230,.10),inset 0 0 0 1px rgba(255,255,255,.035);
  transition:--p 1.05s steps(12,end),--deg 1.05s steps(12,end);
}
.ec-ring.amber{
  background-color:#0b0c0e;
  background-image:conic-gradient(from -90deg,#ffc247 0 calc(var(--p) * 1%),rgba(255,255,255,.055) 0);
  box-shadow:0 0 0 1px rgba(255,194,71,.12),0 0 16px rgba(255,194,71,.08),inset 0 0 0 1px rgba(255,255,255,.03);
  transition:--p 1.05s steps(10,end),--deg 1.05s steps(10,end);
}
.ec-ring::before{
  content:"";position:absolute;inset:6px;border-radius:50%;
  background:radial-gradient(circle at 50% 34%,#14171a 0%,#0a0b0d 62%,#060708 100%);
  border:1px solid rgba(255,255,255,.12);
  box-shadow:inset 0 0 13px rgba(0,0,0,.88);
}
.ec-ring::after{
  content:"";position:absolute;inset:0;border-radius:50%;pointer-events:none;
  background:repeating-conic-gradient(from -90deg,transparent 0 calc(var(--seg) - 3.1deg),rgba(5,6,7,.98) calc(var(--seg) - 3.1deg) var(--seg));
  -webkit-mask:radial-gradient(circle closest-side,transparent 0 82%,#000 83%);
  mask:radial-gradient(circle closest-side,transparent 0 82%,#000 83%);
}
.ec-ring > div{position:relative;z-index:2;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;}
.ec-dial-main .ec-ring b{font-size:25px;line-height:.98;letter-spacing:-.02em;text-shadow:0 0 16px rgba(54,211,230,.22);}
.ec-dial-main .ec-ring span{margin-top:2px;font-size:6.8px;color:#a7adb1;}
.ec-dial-main .ec-ring em{margin-top:2px;font-size:8.2px;color:#c9f8ff;}
.ec-dial-sub .ec-ring{width:62px;height:62px;}
.ec-dial-sub .ec-ring::before{inset:5px;}
.ec-dial-sub .ec-ring b{font-size:20px;line-height:.98;text-shadow:0 0 14px rgba(255,194,71,.20);}
.ec-dial-sub .ec-ring span{margin-top:1px;font-size:6.1px;color:#93999d;}
.ec-dial-sub .ec-ring em{margin-top:1px;font-size:7.2px;color:#ffd77f;}

/* 閸ユ稑鍨?timing strip閿涙矮绗夐崘宥嗘Ц 2鑴? Excel */
.ec-state-strip{
  position:relative;flex:0 0 40px;height:40px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));
  margin:1px 0 6px;border:1px solid rgba(255,255,255,.075);overflow:hidden;
  background:linear-gradient(180deg,rgba(255,255,255,.035),rgba(255,255,255,.012));
}
.ec-state-strip > div{position:relative;min-width:0;padding:4px 5px 3px;border-left:1px solid rgba(255,255,255,.065);}
.ec-state-strip > div:first-child{border-left:0;}
.ec-state-strip > div::before{content:"";position:absolute;left:0;right:0;top:0;height:2px;background:var(--ss-c,rgba(255,255,255,.15));opacity:.55;}
.ec-ss-finish{--ss-c:#b9e33b;}
.ec-ss-ret{--ss-c:#ff4b55;}
.ec-ss-pending{--ss-c:#838a8f;}
.ec-ss-scored{--ss-c:#36d3e6;}
.ec-state-strip span{display:flex;align-items:center;gap:4px;min-width:0;font:600 7.35px/1.1 "Segoe UI","Microsoft YaHei",sans-serif;color:#c1c7cb;white-space:nowrap;}
.ec-state-strip em{font:700 5.35px/1 "Bahnschrift","Segoe UI",sans-serif;font-style:normal;letter-spacing:.08em;color:#777e83;}
.ec-state-strip b{display:block;margin-top:3px;font:800 19px/1 "Bahnschrift","Segoe UI",sans-serif;text-align:left;color:#f2f4f5;}
.ec-ss-finish b{color:#ccf16a;}
.ec-ss-ret b{color:#ff6b73;}
.ec-ss-pending b{color:#b8bec2;}
.ec-ss-scored b{color:#5fe0ef;}

/* 缂佸嫬鍩?lane閿涙矮绗侀弶鈥崇敨閸掕瀹抽惃鍕缓闁搫绱濇稉宥呭晙閺勵垱娅橀柅姘兊閼瑰弶鏆熺€?*/
.ec-group-bars{display:block;flex:1;min-height:0;overflow:hidden;border-top:0;padding-top:0;}
.ec-lane-head{display:flex;align-items:center;justify-content:space-between;gap:6px;margin:0 0 3px;font:700 6.1px/1 "Bahnschrift","Segoe UI",sans-serif;letter-spacing:.10em;color:#7b8287;}
.ec-lane-head span:first-child{display:flex;align-items:center;gap:5px;min-width:0;}
.ec-lane-head em{font:500 6.15px/1 "Segoe UI","Microsoft YaHei",sans-serif;font-style:normal;letter-spacing:.02em;color:#666d72;}
.ec-lane{
  display:grid;grid-template-columns:14px 44px minmax(0,1fr) 44px;align-items:center;gap:5px;
  height:14px;min-width:0;
}
.ec-lane-no{font:700 5.8px/1 "Bahnschrift","Segoe UI",sans-serif;color:#5d656a;text-align:center;border-right:1px solid rgba(255,255,255,.07);}
.ec-lane-name{font:600 7.35px/1.1 "Segoe UI","Microsoft YaHei",sans-serif;color:#aab0b4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.ec-lane-track{
  position:relative;height:5px;min-width:0;border-radius:1px;
  background:
    repeating-linear-gradient(90deg,rgba(255,255,255,.10) 0 1px,transparent 1px 10%),
    rgba(255,255,255,.055);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.025);
}
.ec-lane-track::before,.ec-lane-track::after{content:"";position:absolute;top:-2px;width:1px;height:9px;background:rgba(255,255,255,.18);}
.ec-lane-track::before{left:0;}
.ec-lane-track::after{right:0;}
.ec-lane-track i{
  position:absolute;left:0;top:0;bottom:0;width:var(--w,0%);border-radius:1px;
  background:linear-gradient(90deg,#1c97a6,#36d3e6);
  box-shadow:0 0 8px rgba(54,211,230,.30);
  transition:width .9s cubic-bezier(.16,1,.3,1);
}
.ec-lane-track em{
  position:absolute;left:var(--w,0%);top:-2px;width:2px;height:9px;transform:translateX(-1px);
  background:#e8fcff;box-shadow:0 0 7px rgba(54,211,230,.80);
  transition:left .9s cubic-bezier(.16,1,.3,1);
}
.ec-lane-count{font:800 7.7px/1 "Bahnschrift","Segoe UI",sans-serif;color:#eef2f3;text-align:right;white-space:nowrap;}
.ec-lane-count span{color:#f1f5f6;}
.ec-lane-count em{font:700 5.8px/1 "Bahnschrift","Segoe UI",sans-serif;font-style:normal;color:#737a7f;}
.ec-lane.is-zero .ec-lane-track em{display:none;}
.ec-lane.is-zero .ec-lane-count span{color:#8a9196;}
.ec-lane-more{padding-top:2px;font:500 6.4px/1 "Segoe UI","Microsoft YaHei",sans-serif;color:#686f74;text-align:right;}

/* 缁毖冨櫨濡楋綇绱版稉宥堝厴閹跺﹤寮婚悳顖氬竾閹存劒琚辨稉顏勭毈閻?*/
@media (min-width:1240px) and (max-height:840px){
  .ec-race-state-body{padding:4px 8px 3px;}
  .ec-state-deck{flex-basis:84px;height:84px;}
  .ec-state-deck::before{top:48px;}
  .ec-dial{grid-template-rows:12px minmax(0,1fr);padding-bottom:0;}
  .ec-dial-tag i{height:10px;font-size:5.4px;}
  .ec-dial-tag span{font-size:5.8px;}
  .ec-dial-main .ec-ring{width:70px;height:70px;}
  .ec-dial-main .ec-ring::before{inset:5px;}
  .ec-dial-main .ec-ring b{font-size:21px;}
  .ec-dial-main .ec-ring span{font-size:6.2px;}
  .ec-dial-main .ec-ring em{font-size:7.2px;}
  .ec-dial-sub .ec-ring{width:52px;height:52px;}
  .ec-dial-sub .ec-ring::before{inset:4px;}
  .ec-dial-sub .ec-ring b{font-size:17px;}
  .ec-dial-sub .ec-ring span{font-size:5.6px;}
  .ec-dial-sub .ec-ring em{font-size:6.5px;}
  .ec-state-strip{flex-basis:34px;height:34px;margin-bottom:4px;}
  .ec-state-strip > div{padding:3px 4px 2px;}
  .ec-state-strip span{font-size:6.7px;gap:3px;}
  .ec-state-strip em{font-size:5px;}
  .ec-state-strip b{margin-top:2px;font-size:16px;}
  .ec-lane-head{margin-bottom:2px;font-size:5.7px;}
  .ec-lane{height:12px;}
  .ec-lane-name{font-size:6.9px;}
  .ec-lane-count{font-size:7.2px;}
}

@media (min-width:1240px) and (max-height:760px){
  .ec-race-state-body{padding:4px 8px 4px;}
  .ec-state-deck{flex-basis:74px;height:74px;}
  .ec-state-deck::before{top:42px;}
  .ec-dial{grid-template-rows:10px minmax(0,1fr);}
  .ec-dial-main .ec-ring{width:58px;height:58px;}
  .ec-dial-main .ec-ring::before{inset:4px;}
  .ec-dial-main .ec-ring b{font-size:17px;}
  .ec-dial-main .ec-ring span{font-size:5.6px;}
  .ec-dial-main .ec-ring em{font-size:6.4px;}
  .ec-dial-sub .ec-ring{width:44px;height:44px;}
  .ec-dial-sub .ec-ring::before{inset:3px;}
  .ec-dial-sub .ec-ring b{font-size:14px;}
  .ec-dial-sub .ec-ring span{font-size:5px;}
  .ec-dial-sub .ec-ring em{font-size:5.8px;}
  .ec-state-strip{flex-basis:30px;height:30px;margin-bottom:4px;}
  .ec-state-strip > div{padding:2px 4px 2px;}
  .ec-state-strip span{font-size:6.2px;}
  .ec-state-strip b{margin-top:2px;font-size:14px;}
  .ec-group-bars{display:block;}
  .ec-lane-head{display:none;}
  .ec-lane{height:11px;grid-template-columns:12px 40px minmax(0,1fr) 40px;}
  .ec-lane-name{font-size:6.7px;}
  .ec-lane-count{font-size:6.8px;}
}

@media (prefers-reduced-motion:reduce){
  .ec-ring{transition:none;}
  .ec-race-state .ec-head-live i{animation:none;}
  .ec-lane-track i,.ec-lane-track em{transition:none;}
}



/* ===== v176 RACE STATE 閸旂姷鐖滈敍姘愁唨閻滎垬鈧浇顕伴弫鑸偓涔碼ne 闁姤婀侀崢瀣彥閹?===== */
@property --deg{syntax:"<angle>";inherits:true;initial-value:0deg;}
.ec-race-state-body{padding:4px 9px 4px;}

.ec-state-deck{flex:0 0 102px;height:102px;}
.ec-state-deck::before{top:57px;}
.ec-dial{grid-template-rows:12px minmax(0,1fr);}
.ec-dial-tag i{height:12px;padding:0 4px;font-size:6.2px;}
.ec-dial-tag span{font-size:6.8px;letter-spacing:.17em;}

.ec-dial-main .ec-ring{width:90px;height:90px;outline:1px solid rgba(54,211,230,.13);outline-offset:2px;}
.ec-dial-main .ec-ring b{font-size:28px;}
.ec-dial-main .ec-ring span{margin-top:3px;font-size:7.2px;}
.ec-dial-main .ec-ring em{margin-top:2px;font-size:8.8px;}
.ec-dial-sub .ec-ring{width:66px;height:66px;outline:1px solid rgba(255,194,71,.10);outline-offset:2px;}
.ec-dial-sub .ec-ring .ec-ring-tip{--tip-r:-30px;}
.ec-dial-sub .ec-ring b{font-size:22px;}
.ec-dial-sub .ec-ring span{font-size:6.4px;}
.ec-dial-sub .ec-ring em{font-size:7.6px;}
.ec-ring-cap{
  position:absolute;left:calc(50% - 1px);top:0;width:2px;height:6px;border-radius:1px;
  background:#e7fcff;box-shadow:0 0 6px rgba(54,211,230,.8);z-index:3;opacity:.9;
}
.ec-ring.amber .ec-ring-cap{background:#ffe2a1;box-shadow:0 0 6px rgba(255,194,71,.75);}
.ec-ring-tip{
  --tip-r:-42px;
  position:absolute;left:calc(50% - 2px);top:calc(50% - 2px);width:4px;height:4px;border-radius:50%;
  background:#effeff;box-shadow:0 0 7px rgba(54,211,230,.9),0 0 14px rgba(54,211,230,.45);
  transform:rotate(var(--deg)) translateY(var(--tip-r));
  transform-origin:center;z-index:4;pointer-events:none;
}
.ec-ring.amber .ec-ring-tip{background:#fff1c8;box-shadow:0 0 7px rgba(255,194,71,.9),0 0 14px rgba(255,194,71,.4);}

.ec-state-strip{flex:0 0 42px;height:42px;margin:1px 0 5px;}
.ec-state-strip > div{padding:4px 5px 3px;}
.ec-state-strip span{font-size:7.8px;gap:4px;}
.ec-state-strip em{font-size:5.6px;}
.ec-state-strip b{margin-top:3px;font-size:22px;letter-spacing:-.02em;}
.ec-state-strip > div > i{
  position:absolute;right:5px;bottom:4px;
  font:600 6.2px/1 "Segoe UI","Microsoft YaHei",sans-serif;font-style:normal;
  color:var(--ss-c,rgba(255,255,255,.4));opacity:.7;
}

.ec-lane-head{margin:0 0 2px;font-size:6.5px;}
.ec-lane-head em{font-size:6.2px;}
.ec-lane{
  grid-template-columns:16px 46px minmax(0,1fr) 46px;gap:5px;
  height:15px;padding-left:1px;box-sizing:border-box;
  border-left:2px solid rgba(54,211,230,.22);
  background:linear-gradient(90deg,rgba(54,211,230,.045),transparent 48%);
}
.ec-lane.is-zero{border-left-color:rgba(255,255,255,.12);background:linear-gradient(90deg,rgba(255,255,255,.018),transparent 48%);}
.ec-lane-no{
  display:flex;align-items:center;justify-content:center;height:15px;
  font-size:6.2px;color:#7f878c;border:1px solid rgba(255,255,255,.075);border-right:0;
  background:rgba(255,255,255,.025);box-sizing:border-box;
}
.ec-lane-name{font-size:7.8px;color:#b9bfc3;}
.ec-lane-track{height:6px;}
.ec-lane-track::before,.ec-lane-track::after{top:-2px;height:10px;}
.ec-lane-track::before{background:rgba(255,194,71,.55);}
.ec-lane-track::after{background:rgba(255,255,255,.32);}
.ec-lane-track i{box-shadow:0 0 10px rgba(54,211,230,.38);}
.ec-lane-track em{top:-2px;width:3px;height:10px;transform:translateX(-1.5px);}
.ec-lane-count{font-size:8.4px;}
.ec-lane-count em{font-size:6.2px;}
.ec-lane-more{font-size:6.6px;}

@media (min-width:1240px) and (max-height:840px){
  .ec-race-state-body{padding:3px 8px 3px;}
  .ec-state-deck{flex-basis:84px;height:84px;}
  .ec-state-deck::before{top:47px;}
  .ec-dial{grid-template-rows:11px minmax(0,1fr);}
  .ec-dial-tag i{height:10px;font-size:5.7px;}
  .ec-dial-tag span{font-size:6px;}
  .ec-dial-main .ec-ring{width:70px;height:70px;}
  .ec-dial-main .ec-ring .ec-ring-tip{--tip-r:-32px;}
  .ec-dial-main .ec-ring b{font-size:22px;}
  .ec-dial-main .ec-ring span{font-size:6.4px;}
  .ec-dial-main .ec-ring em{font-size:7.4px;}
  .ec-dial-sub .ec-ring{width:52px;height:52px;}
  .ec-dial-sub .ec-ring .ec-ring-tip{--tip-r:-24px;}
  .ec-dial-sub .ec-ring b{font-size:18px;}
  .ec-dial-sub .ec-ring span{font-size:5.8px;}
  .ec-dial-sub .ec-ring em{font-size:6.8px;}
  .ec-state-strip{flex-basis:34px;height:34px;margin-bottom:4px;}
  .ec-state-strip > div{padding:3px 4px 2px;}
  .ec-state-strip span{font-size:6.8px;gap:3px;}
  .ec-state-strip em{font-size:5px;}
  .ec-state-strip b{margin-top:2px;font-size:18px;}
  .ec-state-strip > div > i{right:4px;bottom:3px;font-size:5.4px;}
  .ec-lane-head{margin-bottom:2px;font-size:6px;}
  .ec-lane{height:13px;grid-template-columns:14px 42px minmax(0,1fr) 42px;}
  .ec-lane-no{height:13px;font-size:5.7px;}
  .ec-lane-name{font-size:7.2px;}
  .ec-lane-track{height:5px;}
  .ec-lane-count{font-size:7.6px;}
}

@media (min-width:1240px) and (max-height:759px){
  .ec-race-state-body{padding:3px 8px 3px;}
  .ec-state-deck{flex-basis:76px;height:76px;}
  .ec-state-deck::before{top:43px;}
  .ec-dial{grid-template-rows:10px minmax(0,1fr);}
  .ec-dial-tag i{height:9px;font-size:5.2px;}
  .ec-dial-tag span{font-size:5.5px;}
  .ec-dial-main .ec-ring{width:60px;height:60px;}
  .ec-dial-main .ec-ring .ec-ring-tip{--tip-r:-28px;}
  .ec-dial-main .ec-ring b{font-size:19px;}
  .ec-dial-main .ec-ring span{font-size:5.6px;}
  .ec-dial-main .ec-ring em{font-size:6.6px;}
  .ec-dial-sub .ec-ring{width:46px;height:46px;}
  .ec-dial-sub .ec-ring .ec-ring-tip{--tip-r:-22px;}
  .ec-dial-sub .ec-ring b{font-size:15px;}
  .ec-dial-sub .ec-ring span{font-size:5.2px;}
  .ec-dial-sub .ec-ring em{font-size:6px;}
  .ec-state-strip{flex-basis:32px;height:32px;margin-bottom:3px;}
  .ec-state-strip > div{padding:2px 4px 2px;}
  .ec-state-strip span{font-size:6.4px;}
  .ec-state-strip b{margin-top:1px;font-size:16px;}
  .ec-state-strip > div > i{right:4px;bottom:2px;font-size:5px;}
  .ec-group-bars{display:block;}
  .ec-lane-head{display:none;}
  .ec-lane{height:11px;grid-template-columns:12px 40px minmax(0,1fr) 40px;border-left-width:1px;}
  .ec-lane-no{height:11px;font-size:5.3px;}
  .ec-lane-name{font-size:6.8px;}
  .ec-lane-count{font-size:7px;}
}


/* ===== v181 閸欘垵顕伴幀褌绱崗鍫窗RACE STATE 娴?330 缁愬嫬宕遍幍鈺佸煂 380/430 鐎硅棄宕?===== */
@media (min-width:1240px){
  .ec-shell{grid-template-columns:330px minmax(0,1fr) 380px;}
  .ec-race-state .ec-head{padding:7px 10px 6px;gap:9px;}
  .ec-race-state .ec-kicker{font-size:9.6px;letter-spacing:.15em;}
  .ec-race-state .ec-head h2{font-size:22px;line-height:1.08;}
  .ec-race-state-body{padding:3px 10px 3px;}
  .ec-state-deck{flex-basis:100px;height:100px;}
  .ec-state-deck::before{top:58px;}
  .ec-dial{grid-template-rows:13px minmax(0,1fr);}
  .ec-dial-tag i{height:12px;padding:0 4px;font-size:6.6px;}
  .ec-dial-tag span{font-size:7.2px;}
  .ec-dial-main .ec-ring{width:90px;height:90px;}
  .ec-dial-main .ec-ring .ec-ring-tip{--tip-r:-42px;}
  .ec-dial-main .ec-ring b{font-size:30px;}
  .ec-dial-main .ec-ring span{font-size:9px;}
  .ec-dial-main .ec-ring em{font-size:9.6px;}
  .ec-dial-sub .ec-ring{width:68px;height:68px;}
  .ec-dial-sub .ec-ring .ec-ring-tip{--tip-r:-31px;}
  .ec-dial-sub .ec-ring b{font-size:23px;}
  .ec-dial-sub .ec-ring span{font-size:7.8px;}
  .ec-dial-sub .ec-ring em{font-size:8.8px;}
  .ec-state-strip{flex-basis:42px;height:42px;margin:1px 0 6px;}
  .ec-state-strip > div{padding:3px 6px 2px;}
  .ec-state-strip span{font-size:9px;gap:5px;}
  .ec-state-strip em{font-size:6.1px;}
  .ec-state-strip b{margin-top:1px;font-size:24px;}
  .ec-state-strip > div > i{right:6px;bottom:3px;font-size:6.6px;}
  .ec-lane-head{font-size:7.2px;margin-bottom:3px;}
  .ec-lane-head em{font-size:6.9px;}
  .ec-lane{height:15px;grid-template-columns:17px 50px minmax(0,1fr) 50px;gap:6px;}
  .ec-lane-no{height:15px;font-size:6.6px;}
  .ec-lane-name{font-size:9.4px;}
  .ec-lane-track{height:6px;}
  .ec-lane-count{font-size:9.6px;}
  .ec-lane-count em{font-size:6.8px;}
}

@media (min-width:1240px) and (max-height:840px){
  .ec-race-state .ec-head{padding:5px 9px 4px;}
  .ec-race-state .ec-head h2{font-size:22px;}
  .ec-race-state .ec-kicker{font-size:9.2px;}
  .ec-race-state-body{padding:2px 9px 2px;}
  .ec-state-deck{flex-basis:84px;height:84px;}
  .ec-state-deck::before{top:47px;}
  .ec-dial{grid-template-rows:10px minmax(0,1fr);}
  .ec-dial-tag i{height:10px;font-size:6px;}
  .ec-dial-tag span{font-size:6.8px;}
  .ec-dial-main .ec-ring{width:74px;height:74px;}
  .ec-dial-main .ec-ring .ec-ring-tip{--tip-r:-34px;}
  .ec-dial-main .ec-ring b{font-size:26px;}
  .ec-dial-main .ec-ring span{font-size:8.2px;}
  .ec-dial-main .ec-ring em{font-size:8.8px;}
  .ec-dial-sub .ec-ring{width:54px;height:54px;}
  .ec-dial-sub .ec-ring .ec-ring-tip{--tip-r:-24px;}
  .ec-dial-sub .ec-ring b{font-size:19px;}
  .ec-dial-sub .ec-ring span{font-size:7.2px;}
  .ec-dial-sub .ec-ring em{font-size:8px;}
  .ec-state-strip{flex-basis:36px;height:36px;margin:1px 0 4px;}
  .ec-state-strip > div{padding:2px 5px 2px;}
  .ec-state-strip span{font-size:8.4px;gap:4px;}
  .ec-state-strip em{font-size:5.6px;}
  .ec-state-strip b{margin-top:1px;font-size:20px;}
  .ec-state-strip > div > i{right:5px;bottom:2px;font-size:6px;}
  .ec-lane-head{font-size:6.8px;margin-bottom:3px;}
  .ec-lane-head em{font-size:6.3px;}
  .ec-lane{height:13px;grid-template-columns:15px 46px minmax(0,1fr) 46px;gap:5px;}
  .ec-lane-no{height:13px;font-size:6px;}
  .ec-lane-name{font-size:8.6px;}
  .ec-lane-track{height:5px;}
  .ec-lane-count{font-size:9px;}
  .ec-lane-count em{font-size:6.2px;}
}

@media (min-width:1600px){
  .ec-shell{grid-template-columns:330px minmax(0,1fr) 430px;}
  .ec-race-state .ec-head{padding:4px 11px 3px;}
  .ec-race-state .ec-kicker{font-size:10px;}
  .ec-race-state .ec-head h2{font-size:26px;}
  .ec-race-state-body{padding:2px 11px 2px;}
  .ec-state-deck{flex-basis:124px;height:124px;}
  .ec-state-deck::before{top:68px;}
  .ec-dial{grid-template-rows:12px minmax(0,1fr);}
  .ec-dial-main .ec-ring{width:112px;height:112px;}
  .ec-dial-main .ec-ring .ec-ring-tip{--tip-r:-53px;width:5px;height:5px;left:calc(50% - 2.5px);top:calc(50% - 2.5px);}
  .ec-dial-main .ec-ring b{font-size:38px;}
  .ec-dial-main .ec-ring span{font-size:10.2px;}
  .ec-dial-main .ec-ring em{font-size:10.8px;}
  .ec-dial-sub .ec-ring{width:84px;height:84px;}
  .ec-dial-sub .ec-ring .ec-ring-tip{--tip-r:-39px;}
  .ec-dial-sub .ec-ring b{font-size:28px;}
  .ec-dial-sub .ec-ring span{font-size:9px;}
  .ec-dial-sub .ec-ring em{font-size:10px;}
  .ec-state-strip{flex-basis:44px;height:44px;}
  .ec-state-strip span{font-size:10px;}
  .ec-state-strip b{font-size:26px;}
  .ec-state-strip > div > i{font-size:7.2px;}
  .ec-lane{height:14.8px;grid-template-columns:18px 56px minmax(0,1fr) 56px;gap:6px;}
  .ec-lane-no{height:14.8px;font-size:7px;}
  .ec-lane-name{font-size:11px;}
  .ec-lane-track{height:7px;}
  .ec-lane-count{font-size:11.2px;}
}

@media (min-width:1600px) and (max-height:840px){
  .ec-state-deck{flex-basis:84px;height:84px;}
  .ec-state-deck::before{top:47px;}
  .ec-dial-main .ec-ring{width:74px;height:74px;}
  .ec-dial-main .ec-ring .ec-ring-tip{--tip-r:-34px;}
  .ec-dial-main .ec-ring b{font-size:26px;}
  .ec-dial-main .ec-ring span{font-size:8.4px;}
  .ec-dial-main .ec-ring em{font-size:9px;}
  .ec-dial-sub .ec-ring{width:54px;height:54px;}
  .ec-dial-sub .ec-ring .ec-ring-tip{--tip-r:-24px;}
  .ec-dial-sub .ec-ring b{font-size:19px;}
  .ec-dial-sub .ec-ring span{font-size:7.4px;}
  .ec-dial-sub .ec-ring em{font-size:8.2px;}
  .ec-state-strip{flex-basis:36px;height:36px;}
  .ec-state-strip span{font-size:8.8px;}
  .ec-state-strip b{font-size:20px;}
  .ec-lane{height:13px;grid-template-columns:16px 50px minmax(0,1fr) 50px;}
  .ec-lane-name{font-size:9.2px;}
  .ec-lane-count{font-size:9.6px;}
}
@media (min-width:1600px) and (min-height:841px){
  .ec-shell.ec-shell-stacked{grid-template-rows:284px auto auto auto;}
  .ec-main.ec-main-1x4{height:clamp(400px,calc(100vh - 386px),640px);}
}
/* ===== v194 readability final: fixed head height + compact fit ===== */
@media (min-width:1600px) and (min-height:841px){
  .ec-race-state .ec-head{height:44px;min-height:0;padding:0 11px;}
}
@media (min-width:1240px) and (max-height:840px){
  .ec-race-state .ec-head{height:36px;min-height:0;padding:0 9px;}
  .ec-race-state .ec-head h2{font-size:20px;}
  .ec-race-state .ec-kicker{font-size:9px;}
  .ec-race-state-body{padding:4px 8px;gap:0;}
  .ec-state-deck{flex-basis:82px;height:82px;}
  .ec-state-deck::before{top:47px;}
  .ec-dial{grid-template-rows:10px minmax(0,1fr);}
  .ec-dial-main .ec-ring{width:70px;height:70px;}
  .ec-dial-main .ec-ring .ec-ring-tip{--tip-r:-32px;}
  .ec-dial-main .ec-ring b{font-size:25px;}
  .ec-dial-main .ec-ring span{font-size:8.2px;}
  .ec-dial-main .ec-ring em{font-size:8.8px;}
  .ec-dial-sub .ec-ring{width:52px;height:52px;}
  .ec-dial-sub .ec-ring .ec-ring-tip{--tip-r:-23px;}
  .ec-dial-sub .ec-ring b{font-size:18px;}
  .ec-dial-sub .ec-ring span{font-size:7.2px;}
  .ec-dial-sub .ec-ring em{font-size:8px;}
  .ec-state-strip{flex-basis:36px;height:36px;margin:0;}
  .ec-state-strip > div{padding:2px 5px 1px;}
  .ec-state-strip span{font-size:8.6px;gap:4px;}
  .ec-state-strip em{font-size:5.6px;}
  .ec-state-strip b{font-size:20px;}
  .ec-state-strip > div > i{font-size:6.6px;}
  .ec-lane-head{font-size:7px;margin-bottom:1px;}
  .ec-lane-head em{font-size:6.6px;}
  .ec-lane{height:12px;grid-template-columns:16px 50px minmax(0,1fr) 50px;gap:5px;}
  .ec-lane-no{height:11px;font-size:6.4px;}
  .ec-lane-name{font-size:9px;}
  .ec-lane-track{height:6px;}
  .ec-lane-count{font-size:9.4px;}
  .ec-lane-count em{font-size:6.6px;}
}

/* ===== v195 readable-large: wider card, bigger operational type ===== */
@media (min-width:1600px){
  .ec-shell{grid-template-columns:330px minmax(0,1fr) 480px;}
}
@media (min-width:1600px) and (min-height:841px){
  .ec-shell.ec-shell-stacked{grid-template-rows:288px auto auto auto;}
  .ec-main.ec-main-1x4{height:clamp(400px,calc(100vh - 390px),640px);}
  .ec-race-state .ec-head{height:42px;min-height:0;padding:0 12px;}
  .ec-race-state .ec-head h2{font-size:28px;line-height:1;}
  .ec-race-state .ec-kicker{font-size:10.2px;}
  .ec-race-state-body{padding:4px 11px;gap:0;}
  .ec-state-deck{flex-basis:126px;height:126px;}
  .ec-state-deck::before{top:69px;}
  .ec-dial{grid-template-rows:12px minmax(0,1fr);}
  .ec-dial-tag{height:12px;font-size:7.4px;}
  .ec-dial-main .ec-ring{width:114px;height:114px;}
  .ec-dial-main .ec-ring .ec-ring-tip{--tip-r:-54px;}
  .ec-dial-main .ec-ring b{font-size:40px;}
  .ec-dial-main .ec-ring span{font-size:11px;}
  .ec-dial-main .ec-ring em{font-size:11.5px;}
  .ec-dial-sub .ec-ring{width:86px;height:86px;}
  .ec-dial-sub .ec-ring .ec-ring-tip{--tip-r:-40px;}
  .ec-dial-sub .ec-ring b{font-size:30px;}
  .ec-dial-sub .ec-ring span{font-size:9.6px;}
  .ec-dial-sub .ec-ring em{font-size:10.6px;}
  .ec-state-strip{flex-basis:48px;height:48px;margin:0;}
  .ec-state-strip > div{padding:2px 7px 1px;}
  .ec-state-strip span{font-size:10.8px;gap:4px;}
  .ec-state-strip em{font-size:6.6px;}
  .ec-state-strip b{font-size:30px;}
  .ec-state-strip > div > i{right:6px;bottom:2px;font-size:8px;}
  .ec-lane-head{font-size:9px;margin-bottom:1px;}
  .ec-lane-head em{font-size:7.6px;}
  .ec-lane{height:18px;grid-template-columns:19px 58px minmax(0,1fr) 58px;gap:6px;}
  .ec-lane-no{height:15px;font-size:7.2px;}
  .ec-lane-name{font-size:13.5px;}
  .ec-lane-track{height:8px;}
  .ec-lane-count{font-size:13.5px;}
  .ec-lane-count em{font-size:9.6px;}
}

/* ===== v196 max-readable within 480x288: drop tiny dial tags, enlarge data type ===== */
@media (min-width:1600px) and (min-height:841px){
  .ec-dial-tag{display:none;}
  .ec-state-deck{flex-basis:120px;height:120px;}
  .ec-state-deck::before{top:60px;}
  .ec-dial{grid-template-rows:0 minmax(0,1fr);}
  .ec-dial-main .ec-ring{width:120px;height:120px;}
  .ec-dial-main .ec-ring .ec-ring-tip{--tip-r:-57px;}
  .ec-dial-main .ec-ring b{font-size:42px;}
  .ec-dial-main .ec-ring span{font-size:11.5px;}
  .ec-dial-main .ec-ring em{font-size:12px;}
  .ec-dial-sub .ec-ring{width:90px;height:90px;}
  .ec-dial-sub .ec-ring .ec-ring-tip{--tip-r:-42px;}
  .ec-dial-sub .ec-ring b{font-size:31px;}
  .ec-dial-sub .ec-ring span{font-size:10px;}
  .ec-dial-sub .ec-ring em{font-size:11px;}
  .ec-state-strip{flex-basis:48px;height:48px;margin:0;}
  .ec-state-strip > div{padding:2px 7px 1px;}
  .ec-state-strip span{font-size:11px;gap:4px;}
  .ec-state-strip em{font-size:6.8px;}
  .ec-state-strip b{font-size:32px;}
  .ec-state-strip > div > i{right:7px;bottom:2px;font-size:8.4px;}
  .ec-lane-head{font-size:9px;margin-bottom:1px;}
  .ec-lane-head em{font-size:7.8px;}
  .ec-lane{height:20px;grid-template-columns:20px 60px minmax(0,1fr) 60px;gap:6px;}
  .ec-lane-no{height:16px;font-size:7.4px;}
  .ec-lane-name{font-size:15px;}
  .ec-lane-track{height:8px;}
  .ec-lane-count{font-size:15px;}
  .ec-lane-count em{font-size:10.6px;}
}

/* v196b: hidden tag removed, dial grid must be one row */
@media (min-width:1600px) and (min-height:841px){
  .ec-dial{grid-template-rows:minmax(0,1fr);}
}

/* ===== v198 full-height race rail (>=1680x841) ===== */
@media (min-width:1680px) and (min-height:841px){
  .ec-shell{grid-template-columns:330px minmax(0,1fr) 480px;}
  .ec-shell.ec-shell-stacked{grid-template-rows:288px auto auto auto;}
  .ec-main.ec-main-1x4{height:clamp(400px,calc(100vh - 390px),640px);}
  .ec-race-state{grid-column:3;grid-row:1/3;}
  .ec-main.ec-main-1x4{grid-column:1/3;grid-row:2;grid-template-columns:minmax(0,1.34fr) repeat(2,minmax(0,1fr));}
  .ec-main.ec-main-1x4 > .ec-finish{display:none;}
  .ec-race-tall .ec-head{height:64px;min-height:0;padding:0 14px;}
  .ec-race-tall .ec-head h2{font-size:34px;line-height:1;}
  .ec-race-tall .ec-kicker{font-size:12px;}
  .ec-race-tall .ec-head-live{font-size:10px;}
  .ec-race-tall .ec-race-state-body{padding:8px 12px 8px;}
  .ec-race-tall .ec-state-deck{flex:0 0 236px;height:236px;}
  .ec-race-tall .ec-state-deck::before{top:126px;}
  .ec-race-tall .ec-dial{grid-template-rows:16px minmax(0,1fr);}
  .ec-race-tall .ec-dial-tag{display:flex;height:16px;font-size:9px;}
  .ec-race-tall .ec-dial-main .ec-ring{width:220px;height:220px;}
  .ec-race-tall .ec-dial-main .ec-ring .ec-ring-tip{--tip-r:-106px;}
  .ec-race-tall .ec-dial-main .ec-ring b{font-size:66px;}
  .ec-race-tall .ec-dial-main .ec-ring span{font-size:14px;}
  .ec-race-tall .ec-dial-main .ec-ring em{font-size:15px;}
  .ec-race-tall .ec-dial-sub .ec-ring{width:160px;height:160px;}
  .ec-race-tall .ec-dial-sub .ec-ring .ec-ring-tip{--tip-r:-76px;}
  .ec-race-tall .ec-dial-sub .ec-ring b{font-size:50px;}
  .ec-race-tall .ec-dial-sub .ec-ring span{font-size:12px;}
  .ec-race-tall .ec-dial-sub .ec-ring em{font-size:13px;}
  .ec-race-tall .ec-state-strip{flex:0 0 80px;height:80px;margin:0;}
  .ec-race-tall .ec-state-strip > div{padding:5px 9px 4px;}
  .ec-race-tall .ec-state-strip span{font-size:12px;gap:5px;}
  .ec-race-tall .ec-state-strip em{font-size:8px;}
  .ec-race-tall .ec-state-strip b{font-size:44px;}
  .ec-race-tall .ec-state-strip > div > i{right:9px;bottom:4px;font-size:9px;}
  .ec-race-tall .ec-group-bars{flex:0 0 auto;}
  .ec-race-tall .ec-lane-head{font-size:11px;margin-bottom:2px;}
  .ec-race-tall .ec-lane-head em{font-size:9px;}
  .ec-race-tall .ec-lane{height:34px;grid-template-columns:24px 78px minmax(0,1fr) 78px;gap:8px;}
  .ec-race-tall .ec-lane-no{height:20px;font-size:9px;}
  .ec-race-tall .ec-lane-name{font-size:19px;}
  .ec-race-tall .ec-lane-track{height:12px;}
  .ec-race-tall .ec-lane-count{font-size:19px;}
  .ec-race-tall .ec-lane-count em{font-size:12px;}
  .ec-race-tall .ec-finish{flex:1 1 auto;min-height:0;height:auto;margin-top:10px;border:0;border-top:1px solid rgba(255,255,255,.08);border-radius:0;background:transparent;box-shadow:none;}
  .ec-race-tall .ec-finish .ec-head{height:38px;min-height:0;padding:0 2px;background:none;}
  .ec-race-tall .ec-finish .ec-head h2{font-size:20px;}
  .ec-race-tall .ec-finish .ec-kicker{font-size:10px;}
  .ec-race-tall .ec-finish .ec-head-btn{font-size:10px;padding:4px 8px;}
  .ec-race-tall .ec-finish-counts{display:none;}
  .ec-race-tall .ec-finish .ec-body{flex:1;min-height:0;overflow:hidden;padding:0;}
  .ec-race-tall .ec-finish-grid{height:100%;grid-template-columns:1.1fr .9fr;gap:12px;padding:2px 2px 4px;}
  .ec-race-tall .ec-subhead span{font-size:10.5px;}
  .ec-race-tall .ec-subhead b{font-size:14px;}
  .ec-race-tall .ec-finrow{padding:8px 0;gap:7px;grid-template-columns:20px minmax(0,1fr) auto;}
  .ec-race-tall .ec-finrank{font-size:12px;}
  .ec-race-tall .ec-finwho b{font-size:14px;}
  .ec-race-tall .ec-finwho small{font-size:10px;margin-top:2px;}
  .ec-race-tall .ec-finrow em{font-size:11px;}
}

/* v198b: roster scroll + remove duplicate kicker */
@media (min-width:1680px) and (min-height:841px){
  .ec-race-tall .ec-finish .ec-kicker{display:none;}
  .ec-race-tall .ec-finish-grid{overflow-y:auto;padding-right:4px;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.22) transparent;}
  .ec-race-tall .ec-finish-grid::-webkit-scrollbar{width:4px;}
  .ec-race-tall .ec-finish-grid::-webkit-scrollbar-thumb{background:rgba(255,255,255,.20);border-radius:2px;}
  .ec-race-tall .ec-finish-grid::-webkit-scrollbar-track{background:transparent;}
}

/* ===== v200 compact rail width + roster entry/modal ===== */
@media (min-width:1600px) and (max-height:840px){
  .ec-shell{grid-template-columns:330px minmax(0,1fr) 430px;}
}
.ec-roster-btn{color:#ffd98a;border-color:rgba(255,194,71,.26);}
.ec-roster-btn em{font-style:normal;color:#ffc247;margin-left:4px;}
.ec-roster-modal{position:fixed;inset:0;z-index:10001;display:none;}
.ec-roster-modal.is-open{display:block;}
.ec-roster-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.66);backdrop-filter:blur(3px);}
.ec-roster-dialog{position:relative;width:min(900px,92vw);max-height:84vh;margin:7vh auto 0;display:flex;flex-direction:column;background:linear-gradient(180deg,#081113,#061010);border:1px solid rgba(255,194,71,.28);box-shadow:0 0 40px rgba(0,0,0,.65),0 0 0 1px rgba(255,255,255,.04) inset;}
.ec-roster-head{display:flex;align-items:center;gap:12px;padding:14px 18px 12px;border-bottom:1px solid rgba(255,255,255,.08);background:linear-gradient(90deg,rgba(255,194,71,.08),transparent);}
.ec-roster-head .ec-kicker{font-size:10px;}
.ec-roster-head h2{margin:3px 0 0;font-size:28px;line-height:1;color:#f4f5f5;}
.ec-roster-close{margin-left:auto;height:32px;padding:0 14px;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.03);color:#e7e7e7;font:600 12px/1 "Segoe UI","Microsoft YaHei",sans-serif;cursor:pointer;}
.ec-roster-body{display:grid;grid-template-columns:1.15fr .85fr;gap:24px;padding:14px 18px 18px;overflow:auto;}
.ec-roster-body .ec-fin-block{min-width:0;}
.ec-roster-body .ec-subhead{padding:6px 0;}
.ec-roster-body .ec-subhead span{font-size:11px;}
.ec-roster-body .ec-subhead b{font-size:16px;}
.ec-roster-body .ec-finrow{grid-template-columns:24px minmax(0,1fr) auto;gap:10px;padding:10px 0;}
.ec-roster-body .ec-finrank{font-size:13px;}
.ec-roster-body .ec-finwho b{font-size:15px;}
.ec-roster-body .ec-finwho small{font-size:11px;margin-top:2px;}
.ec-roster-body .ec-finrow em{font-size:12px;}
@media (max-width:760px){
  .ec-roster-dialog{width:94vw;margin-top:4vh;max-height:88vh;}
  .ec-roster-body{grid-template-columns:1fr;gap:16px;}
}

/* ===== v201 single-station command / scope switcher ===== */
.db-season-head{position:relative}
.db-scope-all{
  height:25px; padding:0 9px; margin-left:auto; margin-right:9px;
  display:inline-flex; align-items:center; gap:4px;
  border:1px solid rgba(255,255,255,.12); border-radius:3px;
  background:rgba(255,255,255,.025); color:#8A96A3;
  font-family:"DIN Alternate",Arial,sans-serif; font-size:10px; letter-spacing:.75px;
  cursor:pointer; transition:.16s; white-space:nowrap;
}
.db-scope-all em{font-style:normal; color:#FFC53D; font-size:10px}
.db-scope-all:hover{border-color:rgba(255,120,60,.4); color:#F0E4D8; background:rgba(255,90,30,.07)}
.db-scope-all.on{border-color:rgba(255,90,30,.46); color:#FFD1B8; background:rgba(255,90,30,.09); box-shadow:0 0 14px rgba(255,90,30,.12)}
.db-season-node.is-dim{opacity:.38; filter:saturate(.65)}
.db-season-node.is-dim:hover{opacity:.78}
.db-season-node.is-sel{
  margin-top:-3px; padding-top:19px; border-radius:5px;
  background:linear-gradient(180deg,rgba(255,90,30,.105),rgba(255,90,30,0) 70%);
}
.db-season-node.is-sel::before{
  content:""; position:absolute; left:0; right:2px; top:-4px; height:2px;
  background:linear-gradient(90deg,#FF5A1E,#FFC53D 55%,transparent 94%);
  box-shadow:0 0 10px rgba(255,90,30,.35);
}
.db-season-node.is-sel>i{
  width:10px; height:10px; top:0; background:#FF5A1E; border-color:rgba(255,90,30,.7);
  box-shadow:0 0 0 2px rgba(255,90,30,.14),0 0 16px rgba(255,90,30,.85);
}
.db-season-node.is-sel>b{color:#FFF1E6}
.db-season-node.is-sel .db-season-name{color:#FFFFFF; font-weight:700}
.db-season-node.is-sel>em{color:#FF9E72; letter-spacing:.8px}
.db-hero-final .db-hero-photo img{filter:grayscale(.38) brightness(1.24) contrast(1.08); opacity:.36}

.db-cmd .db-hero h1{font-size:clamp(34px,3.1vw,46px)}
.db-cmd .db-hero h1 span{letter-spacing:-1px}
.db-cmd .db-lower{grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr) minmax(0,1.06fr)}
.db-cmd .db-rank{grid-column:auto}
.db-cmd .db-rank-row{padding:7px 0}
.db-cmd .db-rank-list{padding-bottom:8px}
.db-cmd .db-queue-list{justify-content:flex-start; gap:0; padding:4px 15px 10px}
.db-cmd .db-queue-row{padding:9px 0}
.db-cmd-actions{display:grid; grid-template-columns:minmax(0,1fr) auto; gap:6px; margin-top:8px}
.db-cmd-actions .db-btn.primary{margin-top:0; height:29px}
.db-cmd-actions .db-btn.ghost{height:29px; padding:0 10px; background:rgba(255,255,255,.025)}

.db-station-media{min-height:118px}
.db-station-card .db-next-body{padding-top:9px}
.db-station-card .db-next-body h3{font-size:16px}
.db-cmd-empty{padding:26px 8px 18px; text-align:center; font-size:12px; line-height:1.7; color:#8B98A5}
.db-cmd-empty span{font-size:9.5px; letter-spacing:.8px; color:#596573}

.db-final-chart{padding:10px 15px 3px; display:flex; flex-direction:column; gap:9px}
.db-final-row{display:grid; grid-template-columns:minmax(0,1.02fr) minmax(80px,1.35fr) 54px; align-items:center; gap:9px}
.db-final-name{min-width:0; display:flex; align-items:baseline; gap:6px}
.db-final-name b{font-size:12px; color:#D8E0E8; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.db-final-name i{font-style:normal; font-family:"DIN Alternate",Arial,sans-serif; font-size:8.5px; letter-spacing:.7px; color:#586471; white-space:nowrap}
.db-final-track{height:5px; background:rgba(255,255,255,.055); border:1px solid rgba(255,255,255,.045); overflow:hidden}
.db-final-track i{display:block; height:100%; background:linear-gradient(90deg,#FF5A1E,#FFC53D); box-shadow:0 0 10px rgba(255,90,30,.28)}
.db-final-val{text-align:right; font-family:"DIN Alternate",Arial,sans-serif; font-size:14px; color:#E9EEF3}
.db-final-val em{font-style:normal; font-size:9.5px; color:#64717E}
.db-final-panel .db-trend-foot{margin-top:auto}

.db-groups{display:flex; flex-direction:column; min-width:0}
.db-group-list{flex:1; display:flex; flex-direction:column; justify-content:space-around; padding:5px 15px 11px}
.db-group-row{display:grid; grid-template-columns:minmax(0,1.16fr) minmax(48px,1fr) 54px; align-items:center; gap:8px; padding:6px 0; border-bottom:1px solid rgba(255,255,255,.045)}
.db-group-row:last-child{border-bottom:0}
.db-group-name{min-width:0; display:flex; flex-direction:column; gap:2px}
.db-group-name b{font-size:12px; color:#D6DEE7; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.db-group-name i{font-style:normal; font-family:"DIN Alternate",Arial,sans-serif; font-size:8.3px; letter-spacing:.65px; color:#596572; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.db-group-track{height:5px; border:1px solid rgba(255,255,255,.05); background:rgba(255,255,255,.04); overflow:hidden}
.db-group-track i{display:block; height:100%; background:linear-gradient(90deg,#FF5A1E,#FFC53D); box-shadow:0 0 9px rgba(255,90,30,.2)}
.db-group-num{text-align:right; font-family:"DIN Alternate",Arial,sans-serif; font-size:12px; color:#E7ECF1}
.db-group-num em{font-style:normal; font-size:9px; color:#65717E}

@media (max-width:1420px){
  .db-cmd .db-lower{grid-template-columns:minmax(0,1fr) minmax(0,.9fr)}
  .db-cmd .db-groups{grid-column:1/-1}
  .db-cmd .db-group-list{display:grid; grid-template-columns:1fr 1fr; gap:0 18px}
  .db-cmd .db-group-row{padding:7px 0}
}
@media (max-width:980px){
  .db-cmd .db-lower{grid-template-columns:1fr}
  .db-cmd .db-rank,.db-cmd .db-groups{grid-column:auto}
  .db-cmd .db-group-list{grid-template-columns:1fr}
  .db-season-head{flex-wrap:wrap}
}

.db-season-head-right{display:flex; align-items:center; gap:9px; margin-left:auto}
.db-season-head-right .db-scope-all{margin-left:0; margin-right:0}
.db-clock-top span{white-space:nowrap; overflow:hidden; text-overflow:ellipsis}

.db-cmd .db-season{max-width:none}
.db-cmd .db-hero-photo{width:56%}
.db-cmd .db-nextnote{max-width:none}

.db-cmd .db-main{display:flex; flex-direction:column}
.db-cmd .db-kpis{order:1}
.db-cmd .db-lower{order:2}
.db-cmd .db-mid{order:3}
.db-cmd .db-season-head-right b{white-space:nowrap}

.db-cmd .db-kpis{order:1}
.db-cmd .db-lower{order:2}
.db-cmd .db-main{order:3}

.db-cmd .db-footline{order:99}
.db-cmd .db-cmd-meta{order:0}

.db-scope-cur{
  height:25px; padding:0 9px; display:inline-flex; align-items:center;
  border:1px solid rgba(255,90,30,.46); border-radius:3px;
  background:rgba(255,90,30,.09); color:#FFD1B8;
  font-family:"DIN Alternate",Arial,sans-serif; font-size:10px; letter-spacing:.75px;
  box-shadow:0 0 14px rgba(255,90,30,.12); white-space:nowrap;
}

.db-cmd .db-season-track::before{
  background:linear-gradient(90deg,rgba(255,255,255,.08),rgba(255,255,255,.18) 46%,rgba(255,255,255,.09));
}

.db-scope-cur{
  height:auto; padding:0; border:0; background:none; box-shadow:none;
  color:#8A96A3; gap:5px; font-size:10px; letter-spacing:.8px;
}
.db-scope-cur::before{content:""; width:5px; height:5px; border-radius:50%; background:var(--db-orange); box-shadow:0 0 8px rgba(255,90,30,.65)}

.db-cmd .db-main{display:grid; grid-template-columns:minmax(0,1.62fr) minmax(260px,.8fr); order:3}

@media (max-width:980px){
  .db-cmd .db-main{grid-template-columns:1fr}
}

/* ================================================================
   C 版 v204 · 黑橙转播台骨架 + 冷色玻璃 3D 赛道沙盘
   ================================================================ */
.db-cmd .db-hero{
  min-height:352px;padding:19px 21px 12px;border-top-color:rgba(255,90,30,.62);
  background:
    radial-gradient(720px 330px at 77% -14%,rgba(255,90,30,.17),transparent 60%),
    radial-gradient(460px 260px at 44% 116%,rgba(40,150,176,.075),transparent 68%),
    linear-gradient(142deg,#12161C 0%,#090C10 48%,#05070A 100%);
}
.db-cmd .db-hero::before{height:2px;background:linear-gradient(90deg,rgba(255,90,30,.9),rgba(255,197,61,.5) 36%,rgba(80,210,225,.16) 68%,transparent)}
.db-cmd .db-hero-photo{width:43%;opacity:.82}
.db-cmd .db-hero-photo img{filter:brightness(1.35) saturate(.5) contrast(1.2)}
.db-cmd .db-hero-body-c{
  display:grid;grid-template-columns:minmax(0,.94fr) minmax(0,1.58fr) 286px;
  gap:17px;align-items:stretch;
}
.db-cmd .db-hero-left{justify-content:flex-start;padding-top:2px;min-width:0}
.db-cmd .db-hero h1{margin:11px 0 7px;font-size:clamp(34px,3.15vw,48px);letter-spacing:-1.6px}
.db-cmd .db-hero p{max-width:440px;font-size:12.5px;line-height:1.55;color:#8E9BA7}
.db-cmd .db-eyebrow{font-size:9px;letter-spacing:1.8px;gap:6px}
.db-cmd .db-startlights{margin-top:9px}

/* hero action rail */
.db-cmd .db-hero-actions{display:flex;gap:7px;margin-top:12px;max-width:440px}
.db-cmd .db-ha{
  flex:1;min-width:0;height:35px;display:flex;align-items:center;gap:6px;padding:0 10px;border-radius:5px;
  border:1px solid rgba(255,255,255,.10);background:rgba(255,255,255,.028);color:#B7C1CC;
  font:inherit;font-size:11.5px;font-weight:600;cursor:pointer;transition:.16s;white-space:nowrap;
}
.db-cmd .db-ha:hover{border-color:rgba(255,90,30,.4);color:#FFD8C6;background:rgba(255,90,30,.06);transform:translateY(-1px)}
.db-cmd .db-ha em{font-style:normal;font-family:"DIN Alternate",Arial;font-size:15px;font-weight:800;color:#FF9A69;letter-spacing:.3px}
.db-cmd .db-ha i{margin-left:auto;font-style:normal;color:#FF7A3D;font-size:12px}
.db-cmd .db-ha.primary{border-color:rgba(255,90,30,.5);background:linear-gradient(135deg,#FF6A2C,#E9470F);color:#0A0B0D;font-weight:800;box-shadow:0 7px 20px rgba(255,90,30,.2)}
.db-cmd .db-ha.primary em{color:#130905}
.db-cmd .db-ha.primary i{color:#130905}
.db-cmd .db-nextnote{margin-top:13px;font-size:9px;letter-spacing:1.1px;color:#66727F}

/* glass sandbox */
.db-cmd .db-glassmap{
  position:relative;z-index:4;min-width:0;display:flex;flex-direction:column;border-radius:10px;overflow:hidden;
  border:1px solid rgba(104,216,235,.20);
  background:
    radial-gradient(120% 90% at 18% 6%,rgba(35,122,146,.22),transparent 56%),
    radial-gradient(90% 70% at 92% 100%,rgba(25,97,116,.13),transparent 60%),
    linear-gradient(158deg,rgba(9,22,29,.91),rgba(4,11,15,.96));
  box-shadow:
    inset 0 1px 0 rgba(195,247,255,.12),
    inset 0 0 0 1px rgba(4,11,15,.5),
    0 18px 52px rgba(0,0,0,.36),
    0 0 38px rgba(37,160,185,.06);
  backdrop-filter:blur(5px);
}
.db-cmd .db-glassmap::before{
  content:"";position:absolute;inset:0;pointer-events:none;z-index:1;
  background:linear-gradient(125deg,rgba(180,244,255,.075),transparent 23%,transparent 76%,rgba(100,220,235,.035));
  mix-blend-mode:screen;
}
.db-cmd .db-gm-head{
  position:relative;z-index:8;height:31px;flex:0 0 31px;display:flex;align-items:center;justify-content:space-between;gap:10px;
  padding:0 10px;border-bottom:1px solid rgba(120,220,238,.12);background:rgba(4,12,16,.42);
}
.db-cmd .db-gm-head>span{display:flex;align-items:center;gap:6px;font-family:"DIN Alternate",Arial;font-size:8.5px;letter-spacing:1.8px;color:#7FD7E8;white-space:nowrap}
.db-cmd .db-gm-head>span i{width:4px;height:4px;border-radius:50%;background:#54E6FF;box-shadow:0 0 9px rgba(84,230,255,.8)}
.db-cmd .db-gm-head .db-scope-all{height:22px;font-size:9px;padding:0 7px;border-color:rgba(105,218,235,.24);color:#89CAD8;background:rgba(48,150,172,.08);box-shadow:none}
.db-cmd .db-gm-head .db-scope-all:hover{border-color:rgba(255,120,60,.55);color:#FFB08A;background:rgba(255,90,30,.09)}
.db-cmd .db-gm-head .db-scope-all em{font-size:9px;color:inherit}

.db-cmd .db-gm-stage{
  position:relative;z-index:2;flex:1;min-height:224px;margin:0 8px;overflow:hidden;border-radius:6px;
  border:1px solid rgba(103,213,231,.10);background:rgba(5,15,20,.30);
}
.db-cmd .db-gm-grid{
  position:absolute;inset:0;z-index:0;opacity:.72;
  background-image:
    linear-gradient(rgba(112,218,236,.075) 1px,transparent 1px),
    linear-gradient(90deg,rgba(112,218,236,.075) 1px,transparent 1px),
    linear-gradient(rgba(112,218,236,.022) 1px,transparent 1px),
    linear-gradient(90deg,rgba(112,218,236,.022) 1px,transparent 1px);
  background-size:46px 46px,46px 46px,11.5px 11.5px,11.5px 11.5px;
  -webkit-mask-image:radial-gradient(120% 96% at 50% 54%,#000 46%,rgba(0,0,0,.5) 76%,transparent 100%);
  mask-image:radial-gradient(120% 96% at 50% 54%,#000 46%,rgba(0,0,0,.5) 76%,transparent 100%);
}
.db-cmd .db-gm-fade{
  position:absolute;inset:0;z-index:1;pointer-events:none;
  background:
    radial-gradient(72% 52% at 48% 62%,rgba(30,120,145,.14),transparent 70%),
    linear-gradient(180deg,rgba(2,9,13,.28),transparent 22%,transparent 80%,rgba(2,9,13,.40));
}
.db-cmd .db-gm-svg{position:absolute;inset:0;z-index:2;width:100%;height:100%;pointer-events:none}

.db-cmd .db-gm-stage::before{
  content:"";position:absolute;left:6%;right:6%;bottom:8%;height:42%;z-index:1;pointer-events:none;
  background:radial-gradient(50% 50% at 50% 50%,rgba(48,180,205,.12),transparent 72%);
  filter:blur(9px);
}

/* route nodes */
.db-cmd .db-map-node{
  position:absolute;z-index:9;transform:translate(-50%,-100%);display:flex;flex-direction:column;align-items:center;
  padding:0;border:0;background:none;color:inherit;cursor:pointer;font:inherit;text-align:left;
  transition:opacity .18s,filter .18s;outline:none;
}
.db-cmd .db-map-node.is-dim{opacity:.58}
.db-cmd .db-map-node.is-dim:hover{opacity:.95}
.db-cmd .db-map-node.is-sel{opacity:1;z-index:12}
.db-cmd .db-map-node:focus-visible .db-n-card{box-shadow:0 0 0 2px rgba(255,140,80,.8)}
.db-cmd .db-n-card{
  min-width:98px;max-width:132px;padding:5px 8px 6px;border-radius:5px;border:1px solid rgba(108,218,236,.30);
  background:linear-gradient(150deg,rgba(9,26,33,.92),rgba(4,13,18,.94));
  box-shadow:0 9px 24px rgba(0,0,0,.42),inset 0 1px 0 rgba(180,244,255,.12);
  backdrop-filter:blur(9px);transition:.2s;
}
.db-cmd .db-map-node:hover .db-n-card{transform:translateY(-3px);border-color:rgba(132,238,255,.55);box-shadow:0 14px 32px rgba(0,0,0,.48),0 0 18px rgba(70,205,228,.12)}
.db-cmd .db-map-node.is-sel .db-n-card{
  min-width:146px;max-width:166px;padding:6px 10px 8px;
  border-color:rgba(255,132,72,.60);
  background:linear-gradient(150deg,rgba(38,28,22,.95),rgba(11,17,20,.94));
  box-shadow:
    0 16px 40px rgba(0,0,0,.52),
    0 0 0 1px rgba(255,90,30,.10) inset,
    0 0 28px rgba(255,90,30,.14),
    inset 0 1px 0 rgba(255,207,172,.16);
}
.db-cmd .db-n-card::before{
  content:"";display:block;position:absolute;left:0;right:0;top:0;height:1px;border-radius:5px 5px 0 0;
  background:linear-gradient(90deg,transparent,rgba(120,225,240,.6),transparent);
}
.db-cmd .db-n-card{position:relative}
.db-cmd .db-map-node.is-sel .db-n-card::before{background:linear-gradient(90deg,transparent,#FF6A2C,#FFC53D,transparent);height:2px}
.db-cmd .db-n-top{display:flex;align-items:center;justify-content:space-between;gap:8px}
.db-cmd .db-n-top em{font-style:normal;font-family:"DIN Alternate",Arial;font-size:8px;letter-spacing:1.2px;color:#5FD3E6}
.db-cmd .db-n-top b{font-family:"DIN Alternate",Arial;font-size:9.5px;letter-spacing:.8px;color:#88A5B1;font-weight:700}
.db-cmd .db-map-node.is-sel .db-n-top em{color:#FF8A55}
.db-cmd .db-map-node.is-sel .db-n-top b{color:#FFD2B8}
.db-cmd .db-n-name{margin-top:2px;font-size:11px;line-height:1.25;font-weight:800;color:#D8F5FC;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;letter-spacing:.2px}
.db-cmd .db-map-node.is-sel .db-n-name{font-size:13.5px;color:#FFF1E7}
.db-cmd .db-n-meta{display:flex;align-items:center;gap:4px;margin-top:3px;font-family:"DIN Alternate",Arial;font-size:7.5px;letter-spacing:.7px;color:#718995;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.db-cmd .db-n-meta i{width:4px;height:4px;border-radius:50%;background:#54E6FF;box-shadow:0 0 6px rgba(84,230,255,.7);flex:0 0 4px}
.db-cmd .db-map-node.done .db-n-meta i{background:#7B8794;box-shadow:none}
.db-cmd .db-map-node.soon .db-n-meta i{background:#FFC53D;box-shadow:0 0 6px rgba(255,197,61,.6)}
.db-cmd .db-map-node.is-sel .db-n-meta{color:#C7855F}
.db-cmd .db-map-node.is-sel .db-n-meta i{background:#FF5A1E;box-shadow:0 0 8px rgba(255,90,30,.8)}
.db-cmd .db-n-mast{
  width:2px;height:20px;position:relative;
  background:linear-gradient(180deg,rgba(93,222,241,.85),rgba(44,120,138,.35));
  box-shadow:0 0 10px rgba(76,210,230,.25);
}
.db-cmd .db-map-node.is-sel .db-n-mast{background:linear-gradient(180deg,#FF7A3D,rgba(255,90,30,.28));box-shadow:0 0 12px rgba(255,90,30,.45)}
.db-cmd .db-n-mast i{position:absolute;left:-2px;bottom:-1px;width:6px;height:2px;border-radius:1px;background:rgba(92,218,236,.8)}
.db-cmd .db-n-ping{
  width:9px;height:9px;margin-top:-1px;border-radius:50%;border:1px solid rgba(99,224,242,.85);
  background:rgba(7,20,26,.9);box-shadow:0 0 10px rgba(70,214,235,.4);
}
.db-cmd .db-map-node.is-sel .db-n-ping{border-color:#FF7A3D;background:#1B0C07;box-shadow:0 0 0 0 rgba(255,90,30,.55);animation:dbNodePing 2.1s infinite}
@keyframes dbNodePing{0%{box-shadow:0 0 0 0 rgba(255,90,30,.5)}68%{box-shadow:0 0 0 9px rgba(255,90,30,0)}100%{box-shadow:0 0 0 0 rgba(255,90,30,0)}}

/* HUD / sweep / corners */
.db-cmd .db-gm-sweep{
  position:absolute;top:0;bottom:0;left:-18%;width:16%;z-index:3;pointer-events:none;
  background:linear-gradient(90deg,transparent,rgba(103,226,245,.055) 55%,rgba(173,247,255,.08) 72%,transparent);
  animation:dbGmSweep 8.5s linear infinite;
}
@keyframes dbGmSweep{0%{left:-20%}100%{left:110%}}
.db-cmd .db-gm-corner{position:absolute;z-index:7;width:10px;height:10px;pointer-events:none;opacity:.55}
.db-cmd .db-gm-corner::before,.db-cmd .db-gm-corner::after{content:"";position:absolute;background:#75DDEE}
.db-cmd .db-gm-corner::before{width:10px;height:1px}
.db-cmd .db-gm-corner::after{width:1px;height:10px}
.db-cmd .db-gm-corner.tl{left:7px;top:7px}
.db-cmd .db-gm-corner.tr{right:7px;top:7px;transform:rotate(90deg)}
.db-cmd .db-gm-corner.bl{left:7px;bottom:7px;transform:rotate(-90deg)}
.db-cmd .db-gm-corner.br{right:7px;bottom:7px;transform:rotate(180deg)}
.db-cmd .db-gm-hud{
  position:absolute;right:11px;bottom:9px;z-index:8;display:flex;align-items:center;gap:7px;
  font-family:"DIN Alternate",Arial;font-size:8px;letter-spacing:1.3px;color:#5C8794;white-space:nowrap;
}
.db-cmd .db-gm-hud em{font-style:normal;color:#5FCADF}
.db-cmd .db-gm-hud b{color:#C8E7EE;font-size:9px;letter-spacing:.8px}
.db-cmd .db-gm-hud span{color:#FF9A69;border-left:1px solid rgba(255,255,255,.13);padding-left:7px}
.db-cmd .db-gm-foot{
  position:relative;z-index:8;height:23px;flex:0 0 23px;display:flex;align-items:center;justify-content:space-between;gap:8px;
  padding:0 10px;border-top:1px solid rgba(120,220,238,.09);font-family:"DIN Alternate",Arial;font-size:7.5px;letter-spacing:1.4px;color:#4E7480;
}
.db-cmd .db-gm-foot span{white-space:nowrap}
.db-cmd .db-gm-foot b{color:#7DA7B3;font-weight:700;white-space:nowrap}
.db-cmd .db-gm-foot i{font-style:normal;color:#FF7A3D;margin:0 3px}

/* right rail gets command-console texture */
.db-cmd .db-hero-right{justify-content:flex-start;padding-top:1px;padding-left:18px;border-left-color:rgba(255,120,60,.15)}
.db-cmd .db-raceclock{background:linear-gradient(155deg,rgba(255,90,30,.075),rgba(5,8,11,.82))}

@media (max-width:1320px){
  .db-cmd .db-hero-body-c{grid-template-columns:minmax(0,.9fr) minmax(0,1.35fr) 258px;gap:12px}
  .db-cmd .db-hero h1{font-size:clamp(32px,3vw,42px)}
  .db-cmd .db-gm-stage{min-height:214px}
}
@media (max-width:1180px){
  .db-cmd .db-hero-body-c{grid-template-columns:minmax(0,1fr) 258px;grid-template-rows:auto auto}
  .db-cmd .db-glassmap{grid-column:1/-1;grid-row:2;min-height:250px}
  .db-cmd .db-gm-stage{min-height:206px}
}
@media (max-width:900px){
  .db-cmd .db-hero-body-c{grid-template-columns:1fr;grid-template-rows:auto auto auto}
  .db-cmd .db-hero-right{padding-left:0;border-left:0;border-top:1px solid rgba(255,255,255,.07);padding-top:12px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:9px}
  .db-cmd .db-mini{grid-column:1/-1}
  .db-cmd .db-gm-stage{min-height:220px}
}

/* glass sandbox depth layer */
.db-cmd .db-gm-floor{
  position:absolute;left:-20%;right:-20%;bottom:-40%;height:118%;z-index:1;pointer-events:none;
  transform:perspective(500px) rotateX(62deg);transform-origin:50% 100%;
  background-image:
    linear-gradient(rgba(96,207,226,.20) 1px,transparent 1px),
    linear-gradient(90deg,rgba(96,207,226,.20) 1px,transparent 1px);
  background-size:38px 38px;
  opacity:.3;
  -webkit-mask-image:radial-gradient(62% 60% at 50% 56%,#000 26%,rgba(0,0,0,.55) 62%,transparent 90%);
  mask-image:radial-gradient(62% 60% at 50% 56%,#000 26%,rgba(0,0,0,.55) 62%,transparent 90%);
}
.db-cmd .db-gm-floor::after{
  content:"";position:absolute;left:12%;right:12%;top:0;height:1px;
  background:linear-gradient(90deg,transparent,rgba(133,238,253,.45),transparent);
  box-shadow:0 0 22px rgba(85,218,237,.2);
}
.db-cmd .db-gm-topo ellipse{
  fill:none;stroke:rgba(96,218,236,.15);stroke-width:1;stroke-dasharray:2 9;
}
.db-cmd .db-gm-topo{opacity:.72}
@keyframes dbGmFlow{0%{stroke-dashoffset:0}100%{stroke-dashoffset:-192}}
.db-cmd .db-gm-flow{animation:dbGmFlow 7.2s linear infinite}

/* pylons + base rings read as a 3D sand table, not a flat chart */
.db-cmd .db-n-mast{height:26px}
.db-cmd .db-n-mast::after{
  content:"";position:absolute;left:50%;bottom:-7px;width:18px;height:5px;transform:translateX(-50%);
  border-radius:50%;border:1px solid rgba(105,228,245,.40);background:rgba(6,18,23,.5);
  box-shadow:0 0 9px rgba(79,216,235,.18);
}
.db-cmd .db-map-node.is-sel .db-n-mast::after{
  width:24px;height:7px;border-color:rgba(255,120,58,.55);background:rgba(22,10,6,.5);
  box-shadow:0 0 12px rgba(255,90,30,.28);
}

/* slightly larger map typography for 1558/1860 */
.db-cmd .db-n-name{font-size:11.5px}
.db-cmd .db-map-node.is-sel .db-n-name{font-size:14px}
.db-cmd .db-n-top b{font-size:10px}
.db-cmd .db-n-top em{font-size:8.5px}
.db-cmd .db-n-meta{font-size:8px}

/* expanded all-group nav: keep last group visually grounded */
.app .nav-signal{margin-bottom:2px}

/* 1440/1366 compact station map: keep labels from colliding */
@media (max-width:1500px){
  .db-cmd .db-n-card{min-width:82px;max-width:106px;padding:4px 6px 5px}
  .db-cmd .db-n-name{font-size:10.5px}
  .db-cmd .db-map-node.is-sel .db-n-card{min-width:124px;max-width:142px;padding:5px 8px 6px}
  .db-cmd .db-map-node.is-sel .db-n-name{font-size:12.5px}
  .db-cmd .db-n-meta{display:none}
  .db-cmd .db-map-node.is-sel .db-n-meta{display:flex;font-size:7.5px}
  .db-cmd .db-n-top b{font-size:9px}
  .db-cmd .db-n-top em{font-size:7.6px}
  .db-cmd .db-gm-stage{min-height:216px}
  .db-cmd .db-head-meta,.db-cmd .db-pill{white-space:nowrap}
  .db-cmd .db-pill{flex:0 0 auto}
}


