/* ============================================================================
 *  matchday.css — dzień meczowy: karty meczów, wyniki, stan "na żywo",
 *  szkielety ładowania, blok z odliczaniem na stronie głównej, strefy w tabeli.
 *  Ładowany po polish.css. Usunięcie jednej linijki <link> przywraca stary wygląd.
 * ========================================================================== */

:root{
  --md-promo:#3ddc84;
  --md-playoff:#f0b429;
  --md-rel:#ff5d5d;
}

/* ---------- karta meczu (terminarz, profil, historia) ---------- */
.th-card{
  padding:18px 20px 16px;
  border-radius:var(--r-card,14px);
  border:1px solid rgba(255,255,255,.08);
  background:var(--card-top,none),#0c0c0c;
  box-shadow:0 18px 40px -28px rgba(0,0,0,.9);
}
.th-card:hover{
  transform:none;
  border-color:rgba(255,255,255,.22);
  box-shadow:0 18px 40px -26px rgba(0,0,0,.95);
}
.th-bg-logo{ opacity:.2; }
.th-bg::after{
  background:
    radial-gradient(38% 60% at 50% 20%,rgba(12,12,12,.5),transparent 78%),
    linear-gradient(180deg,rgba(12,12,12,.15) 0%,rgba(12,12,12,.4) 30%,#0c0c0c 68%,#0c0c0c 100%);
}

.th-card .th-meta{ font-size:11px; }
.th-card .th-meta span:first-child{ color:#d9d4c7; font-weight:600; }
.th-card .th-meta-bottom{ margin-bottom:18px; font-size:10px; }

/* nazwy i podział gospodarz / gość */
.th-card .th-main{ gap:14px; margin-bottom:18px; }
.th-card .th-name{
  font-family:var(--display);
  font-size:18px; font-weight:700; letter-spacing:.02em; line-height:1.1;
  max-width:160px;
}
.th-card .th-team::after{
  font:600 9.5px/1 'Inter',sans-serif; letter-spacing:.16em; text-transform:uppercase;
  color:#6f6a62; margin-top:-2px;
}
.th-card .th-home::after{ content:'Gospodarz'; }
.th-card .th-away::after{ content:'Gość'; }
.th-card .th-logo{
  width:60px; height:60px; border-radius:16px;
  border:1px solid rgba(255,255,255,.12);
}

/* wynik jak na tablicy stadionowej */
.th-score{
  gap:0; align-items:center;
  font-family:var(--display); font-weight:800;
  font-size:46px; line-height:1; letter-spacing:.01em;
  font-variant-numeric:tabular-nums;
  color:#fff; background:#050505;
  border:1px solid rgba(255,255,255,.12); border-radius:12px;
  padding:7px 16px 9px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.07), 0 14px 26px -16px #000;
}
.th-score .score-num{ min-width:.7em; text-align:center; transition:opacity .2s ease; }
.th-score .score-sep{ margin:0 9px; font-weight:600; opacity:.32; position:relative; top:-3px; }
.th-score .wo-stat{ font:600 12px 'Inter',sans-serif; opacity:.7; margin:0 4px; }
.th-score:has(.score-winner) .score-num:not(.score-winner){ opacity:.48; }
.th-score .score-winner::after{
  bottom:-6px; width:60%; height:2px;
  background:var(--polish-ink,#f5f2ea);
}
.th-vs{
  width:44px; height:44px;
  font-family:var(--display); font-size:15px; font-weight:700; letter-spacing:.08em;
  color:#8f8a7f; background:#080808; border:1px solid rgba(255,255,255,.12);
}

/* statusy: zielony znaczy wyłącznie "na żywo" */
.th-status,.m-status{
  font-family:'Inter',sans-serif; font-size:10px; font-weight:700; letter-spacing:.08em;
  padding:5px 11px; border-radius:999px;
  background:rgba(255,255,255,.05); color:#a9a498; border:1px solid rgba(255,255,255,.1);
}
.th-status.done,.m-status.done{
  background:rgba(255,255,255,.04); color:#a9a498; border-color:rgba(255,255,255,.12);
}
.th-status-live,.m-status-live{
  display:inline-flex !important; align-items:center; gap:7px;
  color:var(--live) !important;
  border-color:rgba(61,220,132,.42) !important;
  background:rgba(61,220,132,.1) !important;
}
.th-status-live::before,.m-status-live::before,.md-livetag::before{
  content:''; flex:none; width:7px; height:7px; border-radius:50%;
  background:var(--live);
  box-shadow:0 0 0 0 rgba(61,220,132,.6);
  animation:mdPulse 1.6s ease-out infinite;
}
@keyframes mdPulse{
  0%{ box-shadow:0 0 0 0 rgba(61,220,132,.55); }
  70%{ box-shadow:0 0 0 8px rgba(61,220,132,0); }
  100%{ box-shadow:0 0 0 0 rgba(61,220,132,0); }
}
.th-card:has(.th-status-live){ border-color:rgba(61,220,132,.32); }
.th-card:has(.th-status-live) .th-score{ border-color:rgba(61,220,132,.38); }

@media (max-width:640px){
  .th-card{ padding:16px 14px 14px; }
  .th-card .th-logo{ width:46px; height:46px; border-radius:13px; }
  .th-card .th-name{ font-size:15px; max-width:96px; }
  .th-score{ font-size:34px; padding:6px 12px 8px; }
  .th-score .score-sep{ margin:0 6px; }
  .th-vs{ width:38px; height:38px; font-size:13px; }
}
@media (prefers-reduced-motion:reduce){
  .th-status-live::before,.m-status-live::before,.md-livetag::before{ animation:none; }
}

/* ---------- szkielety ładowania ---------- */
.sk-match{
  display:flex; align-items:center; justify-content:space-between; gap:14px;
  padding:22px 20px; margin-bottom:12px;
  border:1px solid rgba(255,255,255,.07); border-radius:var(--r-card,14px);
  background:var(--card-top,none),#0c0c0c;
}
.sk-team{ flex:1; display:flex; flex-direction:column; align-items:center; gap:10px; min-width:0; }
.sk-team .skel-logo{ width:56px; height:56px; border-radius:14px; }
.sk-team .skel-line{ width:62%; max-width:120px; }
.sk-score{ flex:none; width:96px; height:52px; border-radius:12px; }
.sk-bar{ height:34px; width:100%; max-width:420px; border-radius:10px; margin:0 0 14px; }
.sk-card{
  padding:22px 20px; border:1px solid rgba(255,255,255,.07); border-radius:var(--r-card,14px);
  background:var(--card-top,none),#0c0c0c; display:flex; flex-direction:column; gap:12px;
}
.sk-card .skel-title{ height:20px; width:58%; }
.sk-card .skel-line{ width:84%; }
.sk-card .skel-line.short{ width:44%; }
.sk-stack{ display:flex; align-items:center; gap:6px; }
.sk-stack .skel{ width:30px; height:30px; border-radius:50%; }
@media (max-width:640px){
  .sk-match{ padding:18px 14px; }
  .sk-team .skel-logo{ width:44px; height:44px; }
  .sk-score{ width:78px; height:42px; }
}

/* ---------- strona główna: najbliższy mecz + ostatnie wyniki ---------- */
.md-wrap{
  display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,1fr); gap:14px;
  margin-top:22px;
}
.md-panel{
  position:relative; overflow:hidden;
  padding:22px 24px;
  border:1px solid rgba(255,255,255,.08); border-radius:var(--r-card,14px);
  background:var(--card-top,none),#0c0c0c;
  box-shadow:0 18px 40px -28px rgba(0,0,0,.9);
}
.md-eyebrow{
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  font:700 11px/1.2 'Inter',sans-serif; letter-spacing:.14em; text-transform:uppercase;
  color:#8f8a7f; margin-bottom:18px;
}
.md-eyebrow b{ color:#d9d4c7; font-weight:700; }
.md-livetag{
  display:inline-flex; align-items:center; gap:7px;
  color:var(--live); letter-spacing:.1em;
}
.md-next{ cursor:pointer; transition:border-color .18s ease; }
.md-next:hover{ border-color:rgba(255,255,255,.22); }
.md-next.md-live{ border-color:rgba(61,220,132,.34); }
.md-teams{ display:flex; align-items:center; justify-content:space-between; gap:12px; }
.md-team{ flex:1; min-width:0; display:flex; flex-direction:column; align-items:center; gap:10px; text-align:center; }
.md-logo{
  width:64px; height:64px; border-radius:18px; flex:none;
  background:#050505 center/cover no-repeat;
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 8px 20px -8px rgba(0,0,0,.7);
}
.md-tname{
  font-family:var(--display); font-weight:700; font-size:19px; letter-spacing:.02em; line-height:1.1;
  max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
}
.md-mid{ flex:none; display:flex; flex-direction:column; align-items:center; gap:8px; }
.md-count{ display:flex; gap:6px; }
.md-unit{
  min-width:50px; padding:7px 6px 6px; text-align:center;
  background:#050505; border:1px solid rgba(255,255,255,.1); border-radius:10px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06);
}
.md-unit b{
  display:block; font-family:var(--display); font-weight:800; font-size:30px; line-height:1;
  font-variant-numeric:tabular-nums; color:#fff;
}
.md-unit small{
  display:block; margin-top:3px;
  font:600 8.5px/1 'Inter',sans-serif; letter-spacing:.14em; text-transform:uppercase; color:#6f6a62;
}
.md-due{
  font-family:var(--display); font-weight:800; font-size:26px; letter-spacing:.06em;
  text-transform:uppercase; color:#fff;
}
.md-when{
  margin-top:18px; text-align:center;
  font:500 12.5px/1.4 'Inter',sans-serif; color:#a9a498;
}
.md-when b{ color:#d9d4c7; font-weight:600; }
.md-live-score{
  font-family:var(--display); font-weight:800; font-size:54px; line-height:1; letter-spacing:.01em;
  font-variant-numeric:tabular-nums; color:#fff; background:#050505;
  border:1px solid rgba(61,220,132,.38); border-radius:12px; padding:7px 18px 9px;
}
.md-live-score i{ font-style:normal; margin:0 8px; opacity:.32; position:relative; top:-3px; }

.md-list{ display:flex; flex-direction:column; }
.md-res{
  display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); align-items:center; gap:12px;
  padding:11px 8px; margin:0 -8px; border-radius:10px; cursor:pointer;
  border-top:1px solid rgba(255,255,255,.05);
  transition:background-color .15s ease;
}
.md-res:first-child{ border-top:none; }
.md-res:hover{ background:rgba(255,255,255,.04); }
.md-rt{ display:flex; align-items:center; gap:9px; min-width:0; font-size:13.5px; font-weight:500; color:#b4afa3; }
.md-rt span{ overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.md-rt.home{ justify-content:flex-end; text-align:right; }
.md-rt.win{ color:#fff; font-weight:700; }
.md-rl{
  flex:none; width:24px; height:24px; border-radius:50%;
  background:#050505 center/cover no-repeat; border:1px solid rgba(255,255,255,.14);
}
.md-rs{
  min-width:62px; text-align:center;
  font-family:var(--display); font-weight:800; font-size:22px; letter-spacing:.02em; line-height:1;
  font-variant-numeric:tabular-nums; color:#fff;
  padding:4px 10px 5px; background:#050505; border:1px solid rgba(255,255,255,.1); border-radius:8px;
}
.md-rs .wo-stat{ font:600 10px 'Inter',sans-serif; opacity:.7; }
.md-empty{ padding:18px 0 6px; font-size:13px; color:#8f8a7f; }
.md-wrap .sk-match{ margin:0; }

@media (max-width:900px){
  .md-wrap{ grid-template-columns:1fr; }
}
@media (max-width:520px){
  .md-panel{ padding:18px 16px; }
  .md-logo{ width:50px; height:50px; border-radius:14px; }
  .md-tname{ font-size:16px; }
  .md-unit{ min-width:42px; }
  .md-unit b{ font-size:24px; }
  .md-live-score{ font-size:40px; padding:6px 12px 8px; }
  .md-rt{ font-size:12.5px; }
  .md-rs{ min-width:54px; font-size:19px; }
}

/* ---------- tabele: strefy i legenda ---------- */
table.t-table tr[class*="zone-"] td:first-child{ position:relative; font-weight:700; }
tr.zone-promo td:first-child{ box-shadow:inset 3px 0 0 var(--md-promo); color:var(--md-promo); }
tr.zone-playoff td:first-child{ box-shadow:inset 3px 0 0 var(--md-playoff); color:var(--md-playoff); }
tr.zone-rel td:first-child{ box-shadow:inset 3px 0 0 var(--md-rel); color:var(--md-rel); }
tr.zone-promo{ background:linear-gradient(90deg,rgba(61,220,132,.06),transparent 40%); }
tr.zone-playoff{ background:linear-gradient(90deg,rgba(240,180,41,.06),transparent 40%); }
tr.zone-rel{ background:linear-gradient(90deg,rgba(255,93,93,.06),transparent 40%); }
.th-zone-legend{
  display:flex; flex-wrap:wrap; gap:8px 18px; margin:10px 2px 0;
  font:500 11.5px 'Inter',sans-serif; color:#8f8a7f;
}
.th-zone-legend span{ display:inline-flex; align-items:center; gap:7px; }
.th-zone-legend i{ width:10px; height:10px; border-radius:3px; flex:none; }
.th-zone-legend .promo i{ background:var(--md-promo); }
.th-zone-legend .playoff i{ background:var(--md-playoff); }
.th-zone-legend .rel i{ background:var(--md-rel); }

/* ---------- zakładka "Statystyki" w szczegółach meczu ---------- */
.ms-wrap{ display:flex; flex-direction:column; gap:14px; }
.ms-note{ padding:9px 12px; border-radius:10px; border:1px solid rgba(255,138,30,.35); background:rgba(255,138,30,.08); font-size:12.5px; color:var(--ink-dim,#bbb); }
.ms-head{ display:flex; align-items:center; justify-content:space-between; gap:10px; font-size:13px; }
.ms-head span{ color:var(--ink-dim,#999); font-size:11px; text-transform:uppercase; letter-spacing:.6px; }
.ms-compare{ display:flex; flex-direction:column; gap:10px; padding:14px; border-radius:14px; border:1px solid rgba(255,255,255,.08); background:#0c0c0c; }
.ms-row{ display:grid; grid-template-columns:46px 1fr 46px; align-items:center; gap:10px; }
.ms-val{ font-weight:800; font-size:14px; color:var(--ink-dim,#aaa); }
.ms-val:last-child{ text-align:right; }
.ms-val.lead{ color:var(--ink,#fff); }
.ms-mid{ display:flex; flex-direction:column; gap:5px; }
.ms-label{ text-align:center; font-size:11px; text-transform:uppercase; letter-spacing:.5px; color:var(--ink-dim,#999); }
.ms-bar{ display:flex; height:6px; border-radius:99px; overflow:hidden; background:rgba(255,255,255,.06); gap:2px; }
.ms-bar i{ display:block; height:100%; transition:width .4s ease; }
.ms-bar-h{ background:linear-gradient(90deg,#fff,#cfcfcf); }
.ms-bar-a{ background:linear-gradient(90deg,#6b6b6b,#9a9a9a); }
.ms-h{ margin:6px 0 0; font-size:12.5px; text-transform:uppercase; letter-spacing:.6px; color:var(--ink-dim,#aaa); }
.ms-bests{ display:grid; grid-template-columns:repeat(auto-fill,minmax(170px,1fr)); gap:10px; }
.ms-best{ display:flex; flex-direction:column; gap:3px; padding:12px; border-radius:12px; border:1px solid rgba(255,255,255,.08); background:#0c0c0c; }
.ms-best-t{ font-size:10.5px; text-transform:uppercase; letter-spacing:.6px; color:var(--ink-dim,#999); }
.ms-best b{ font-size:14px; }
.ms-best-v{ font-size:12px; color:var(--accent,#ff8a1e); font-weight:700; }
.ms-table-wrap{ overflow-x:auto; border-radius:12px; border:1px solid rgba(255,255,255,.08); }
.ms-table{ width:100%; border-collapse:collapse; font-size:12.5px; min-width:640px; }
.ms-table th{ text-align:center; padding:9px 8px; font-size:10.5px; text-transform:uppercase; letter-spacing:.4px; color:var(--ink-dim,#999); background:rgba(255,255,255,.03); white-space:nowrap; }
.ms-table td{ text-align:center; padding:8px; border-top:1px solid rgba(255,255,255,.05); white-space:nowrap; }
.ms-table th:first-child,.ms-table td.ms-name{ text-align:left; font-weight:700; }
.ms-table small{ color:var(--ink-dim,#999); }
.ms-src{ display:block; font-size:9.5px; text-transform:uppercase; letter-spacing:.4px; color:var(--ink-dim,#888); }
.ms-dash{ color:rgba(255,255,255,.25); }
.ms-neg{ color:#ff7b7b !important; }
.ms-yc,.ms-rc{ display:inline-block; min-width:16px; padding:1px 5px; border-radius:4px; font-weight:800; color:#111; margin:0 2px; }
.ms-yc{ background:#f1c40f; }
.ms-rc{ background:#e74c3c; color:#fff; }
.ms-detail td{ text-align:left; padding:0 10px 8px; border-top:0; white-space:normal; }
.ms-detail summary{ cursor:pointer; font-size:11px; color:var(--ink-dim,#999); padding:2px 0; }
.ms-bd{ display:flex; flex-wrap:wrap; gap:6px; padding:6px 0 2px; }
.ms-bd span{ padding:3px 8px; border-radius:99px; font-size:11px; background:rgba(255,255,255,.05); }
.ms-bd .pos b{ color:#58d68d; }
.ms-bd .neg b{ color:#ff7b7b; }
.ms-foot{ font-size:11.5px; color:var(--ink-dim,#888); line-height:1.5; }
@media(max-width:600px){ .ms-row{ grid-template-columns:38px 1fr 38px; } }

/* edycja statystyk meczu */
.ms-toolbar{ display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
.ms-sel{ padding:6px 8px; border-radius:8px; border:1px solid rgba(255,255,255,.14); background:#111; color:var(--ink,#fff); font-size:12px; max-width:240px; }
.ms-danger{ border-color:rgba(231,76,60,.55) !important; color:#ff8c82 !important; }
.ms-overlay{ position:fixed; inset:0; z-index:9999; display:flex; align-items:center; justify-content:center; padding:16px; background:rgba(0,0,0,.72); backdrop-filter:blur(3px); }
.ms-modal{ width:min(520px,100%); max-height:90vh; overflow:auto; padding:18px; border-radius:16px; border:1px solid rgba(255,255,255,.12); background:#0c0c0c; }
.ms-modal h3{ margin:0 0 4px; font-size:16px; }
.ms-modal-note{ margin:0 0 12px; font-size:12px; color:var(--ink-dim,#999); }
.ms-fields{ display:grid; grid-template-columns:repeat(2,1fr); gap:10px; }
.ms-fld{ display:flex; flex-direction:column; gap:4px; font-size:11px; text-transform:uppercase; letter-spacing:.4px; color:var(--ink-dim,#999); }
.ms-fld input{ padding:8px; border-radius:8px; border:1px solid rgba(255,255,255,.14); background:#111; color:var(--ink,#fff); font-size:14px; }
.ms-modal-btns{ display:flex; gap:8px; justify-content:flex-end; margin-top:16px; }

/* ===== STATYSTYKI meczu — odświeżony wygląd ===== */
.ms-wrap{ gap:18px; }
.ms-head{ display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:14px; padding:2px 4px 0; }
.ms-head b{ font-family:'Barlow Condensed',sans-serif; font-weight:800; font-size:clamp(18px,3.4vw,26px); letter-spacing:.02em; text-transform:uppercase; line-height:1.05; }
.ms-head .ms-team-h{ text-align:left; color:#fff; }
.ms-head .ms-team-a{ text-align:right; color:#a9a9a9; }
.ms-head span{ padding:5px 12px; border-radius:999px; border:1px solid var(--line2,#333); background:rgba(255,255,255,.04); font-size:10px; font-weight:700; letter-spacing:.14em; white-space:nowrap; }

.ms-compare{ gap:0; padding:6px 16px 10px; border-radius:18px; border:1px solid var(--line2,#2a2a2a); background:linear-gradient(180deg,#101010,#0a0a0a); box-shadow:0 10px 30px rgba(0,0,0,.35); }
.ms-group{ padding:12px 0 6px; }
.ms-group + .ms-group{ border-top:1px solid rgba(255,255,255,.06); }
.ms-group-t{ margin-bottom:10px; font-size:10px; font-weight:800; letter-spacing:.2em; text-transform:uppercase; color:var(--ink-dim,#8a8378); }
.ms-row{ grid-template-columns:52px 1fr 52px; gap:12px; padding:6px 0; }
.ms-val{ font-family:'Barlow Condensed',sans-serif; font-weight:700; font-size:22px; line-height:1; color:#6f6f6f; font-variant-numeric:tabular-nums; }
.ms-val.lead{ color:#fff; }
.ms-label{ font-size:10.5px; font-weight:600; letter-spacing:.12em; color:#a6a198; }
.ms-bar{ height:7px; gap:3px; background:transparent; }
.ms-bar i{ border-radius:99px; }
.ms-bar-h{ background:linear-gradient(90deg,#9a9a9a,#fff); }
.ms-bar-a{ background:linear-gradient(90deg,#4a4a4a,#7d7d7d); }
.ms-row.lead-home .ms-bar-a{ opacity:.45; }
.ms-row.lead-away .ms-bar-h{ opacity:.45; }
.ms-row.lead-away .ms-bar-a{ background:linear-gradient(90deg,#b5b5b5,#e8e8e8); }

.ms-h{ display:flex; align-items:center; gap:9px; margin:4px 0 -6px; font-family:'Barlow Condensed',sans-serif; font-size:20px; font-weight:800; letter-spacing:.03em; color:#fff; }
.ms-dot{ width:9px; height:9px; border-radius:50%; flex:none; }
.ms-dot-h{ background:#fff; }
.ms-dot-a{ background:#6f6f6f; }

.ms-bests{ gap:12px; grid-template-columns:repeat(auto-fill,minmax(180px,1fr)); }
.ms-best{ position:relative; gap:5px; padding:14px 14px 13px; border-radius:16px; border:1px solid var(--line2,#2a2a2a); background:linear-gradient(180deg,#121212,#0b0b0b); overflow:hidden; transition:transform .18s ease,border-color .18s ease; }
.ms-best::before{ content:''; position:absolute; left:0; top:0; bottom:0; width:3px; background:linear-gradient(180deg,#fff,#555); opacity:.7; }
.ms-best:hover{ transform:translateY(-2px); border-color:#555; }
.ms-best-t{ font-size:9.5px; font-weight:800; letter-spacing:.18em; color:var(--ink-dim,#8a8378); }
.ms-best b{ font-size:15px; font-weight:700; color:#fff; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.ms-best-v{ font-family:'Barlow Condensed',sans-serif; font-size:19px; font-weight:800; letter-spacing:.02em; color:#d9d9d9; }
.ms-best-mvp{ border-color:rgba(255,138,30,.55); background:radial-gradient(120% 140% at 0% 0%,rgba(255,138,30,.16),#0b0b0b 60%); }
.ms-best-mvp::before{ background:linear-gradient(180deg,#ffb35c,#ff8a1e); opacity:1; }
.ms-best-mvp .ms-best-v{ font-size:28px; color:#ffa24a; }

.ms-table-wrap{ border-radius:16px; border:1px solid var(--line2,#2a2a2a); background:#0b0b0b; }
.ms-table{ min-width:700px; font-size:13px; }
.ms-table th{ padding:11px 8px; font-size:9.5px; font-weight:800; letter-spacing:.14em; background:#111; border-bottom:1px solid var(--line2,#2a2a2a); }
.ms-table td{ padding:10px 8px; border-top:1px solid rgba(255,255,255,.04); font-variant-numeric:tabular-nums; }
.ms-table tbody tr:not(.ms-detail):nth-child(4n+1) td,
.ms-table tbody tr:not(.ms-detail):nth-child(4n+3) td{ background:transparent; }
.ms-table tbody tr:not(.ms-detail):hover td{ background:rgba(255,255,255,.035); }
.ms-table td.ms-name,.ms-table th:first-child{ position:sticky; left:0; z-index:1; background:#0b0b0b; min-width:132px; box-shadow:1px 0 0 rgba(255,255,255,.05); }
.ms-table th:first-child{ background:#111; }
.ms-table td.ms-name{ color:#fff; font-weight:700; }
.ms-table tbody tr:hover td.ms-name{ background:#121212; }
.ms-table td small{ font-size:10.5px; margin-left:3px; }

.lu-rating-chip.ms-r-top{ background:linear-gradient(135deg,#ff8a1e,#ffc36b); color:#1a1000; }
.lu-rating-chip.ms-r-good{ background:linear-gradient(135deg,#9a9a9a,#fff); color:#0a0a0a; }
.lu-rating-chip.ms-r-mid{ background:#2a2a2a; color:#e6e6e6; }
.lu-rating-chip.ms-r-low{ background:rgba(231,76,60,.18); color:#ff8c82; box-shadow:inset 0 0 0 1px rgba(231,76,60,.45); }
.ms-table .lu-rating-chip{ display:inline-block; min-width:40px; text-align:center; }

.ms-yc,.ms-rc{ border-radius:3px; min-width:18px; padding:2px 6px; font-size:11px; }
.ms-detail summary{ padding:4px 2px; }
.ms-detail summary:hover{ color:#fff; }
.ms-bd span{ border:1px solid rgba(255,255,255,.06); }
.ms-foot{ padding:12px 14px; border-radius:12px; border:1px dashed rgba(255,255,255,.1); background:rgba(255,255,255,.02); font-size:11.5px; }

@media(max-width:600px){
  .ms-head{ grid-template-columns:1fr; text-align:center; gap:8px; }
  .ms-head .ms-team-h,.ms-head .ms-team-a{ text-align:center; }
  .ms-head span{ order:-1; justify-self:center; }
  .ms-compare{ padding:4px 12px 8px; }
  .ms-row{ grid-template-columns:40px 1fr 40px; gap:8px; }
  .ms-val{ font-size:19px; }
  .ms-bests{ grid-template-columns:1fr 1fr; gap:10px; }
  .ms-best-mvp{ grid-column:1 / -1; }
}
