/* Round 258 (Jared, t889u): phone matchup lineups get the R255 roster section-card
   look — More-style rounded cards and Inter Tight / SF Pro type at the roster sizes.
   The head-to-head row (left player | pts | slot | pts | right player) is unchanged.
   Score header, week selector, duel / Coach Stash, and matchup long-press stay.
   Desktop (>=1100px) keeps the pre-R227/R258 grid exactly. Fonts come from
   roster-sheet.css (@font-face RSSheet); this file does not edit day.css /
   night.css / t3.css / dp.css / roster-sheet.css / dp-marks.css. */

/* Section wrappers are transparent on desktop so the existing .mgrid card is unchanged. */
.mgrid .mg-sec{display:contents}

@media (max-width:1099.98px){

/* Inter Tight / SF Pro stack — same as .rcards.rsheet, only the matchup grid */
.mgrid.msheet,
.mgrid.msheet .mg-h,
.mgrid.msheet .mrow,
.mgrid.msheet .mp,
.mgrid.msheet .mp-nm,
.mgrid.msheet .mp-name,
.mgrid.msheet .mp-game,
.mgrid.msheet .mp-stat,
.mgrid.msheet .mpts,
.mgrid.msheet .mpts b,
.mgrid.msheet .mpts span,
.mgrid.msheet .mslot,
.mgrid.msheet .mslot span{
  font-family:-apple-system,"SF Pro Text","SF Pro Display","RSSheet","Inter Tight",system-ui,sans-serif!important;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  font-kerning:normal;
}

/* unwrap the outer card so each .mg-sec is the card; overflow visible so .bg-bobble is not clipped */
.mgrid.msheet{
  background:transparent!important;border:0!important;box-shadow:none!important;
  overflow:visible!important;border-radius:0!important;padding:0!important;margin:0!important;
  transform:none!important;filter:none!important;isolation:auto!important;
}

/* each lineup section is a More / roster section card */
.mgrid.msheet .mg-sec{
  display:block;
  background:#fff;
  border:1px solid #d5dae2;
  border-radius:16px;
  box-shadow:0 1px 2px rgba(15,23,42,.10),0 4px 14px rgba(15,23,42,.10);
  overflow:hidden;
  margin:12px 0 0 0;
  transform:none!important;filter:none!important;
}
.mgrid.msheet .mg-sec:last-child{margin-bottom:12px}

/* section header: same type as More .mgroup>h2 / roster .rsec (Day navy bar) */
.mgrid.msheet .mg-h{
  background:#1b2a4a!important;color:#fff!important;
  border:0!important;border-radius:0!important;border-bottom:0!important;
  box-shadow:none!important;margin:0!important;
  padding:9px 16px!important;font-size:12px!important;font-weight:700!important;
  letter-spacing:.7px!important;text-transform:uppercase!important;
  line-height:1.2!important;text-align:left!important;
}

/* rows: hairlines, even 56px height (name + 2 schedule lines); last hairline stays */
.mgrid.msheet .mrow{
  border-top:0!important;margin:0!important;border-radius:0!important;
  overflow:visible;background:#fff!important;
  height:56px;min-height:56px!important;box-sizing:border-box;
  box-shadow:none!important;border-bottom:1px solid #eef1f5!important;
}
.mgrid.msheet:has(.mp-stat) .mrow:not(.total){height:72px;min-height:72px!important}
.mgrid.msheet .mrow.bench{background:#fff!important}
.mgrid.msheet .mrow.total{height:48px;min-height:48px!important;background:#f4f6f8!important;font-weight:700}

.mgrid.msheet .mrow .mslot{background:transparent!important;align-self:stretch}
.mgrid.msheet .mrow .mp{
  min-width:0;overflow:hidden;
  padding-top:4px!important;padding-bottom:2px!important;
  align-self:stretch;height:100%;width:100%;box-sizing:border-box;
  display:flex;flex-direction:column;justify-content:flex-start;align-items:stretch;
}
.mgrid.msheet .mrow .mp-l{padding-left:12px!important}
.mgrid.msheet .mrow .mp-r{padding-right:12px!important;text-align:right}

.mgrid.msheet .mrow .mp-nm{flex-wrap:nowrap;white-space:nowrap;min-width:0;max-width:100%;overflow:hidden;flex:none;width:100%}
.mgrid.msheet .mrow .mp-nm .mp-name{
  flex:0 1 auto;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  font-weight:650!important;font-size:13px!important;color:#0f141c!important;
  letter-spacing:-.02em;line-height:1.15;text-decoration:none!important;
}
.mgrid.msheet .mrow .mp-nm>:not(.mp-name){flex:none}
/* R321 / R330: fade the whole final-game player cell; points stay full-strength.
   Child opacities reset so they don't compound with the cell fade. */
.mgrid.msheet .mp.is-final{opacity:.58}
.mgrid.msheet .mp.is-final .mp-name,
.mgrid.msheet .mp.is-final .mp-name .full,
.mgrid.msheet .mp.is-final .mp-name .short,
.mgrid.msheet .mp.is-final .mp-game.dv-good .mg-match,
.mgrid.msheet .mp.is-final .mp-game.dv-bad .mg-match{opacity:1}
.mgrid.msheet .mrow:has(.mp-l.is-final) .mpts-l>span{opacity:.58}
.mgrid.msheet .mrow:has(.mp-r.is-final) .mpts-r>span{opacity:.58}
.mgrid.msheet .mrow .mp-game{
  display:flex;flex-direction:column;align-items:flex-start;gap:0;
  white-space:normal!important;overflow:visible;text-overflow:unset;
  font-size:10px!important;font-weight:400!important;color:#9aa0a5!important;
  margin-top:1px!important;line-height:1.15;letter-spacing:0;opacity:1!important;
  min-width:0;max-width:100%;width:100%;
}
.mgrid.msheet .mrow .mp-r .mp-game{align-items:flex-end;text-align:right}
.mgrid.msheet .mrow .mp-game.dv-good{color:#1a7f37!important;font-weight:600!important}
.mgrid.msheet .mrow .mp-game.dv-bad{color:#c0392b!important;font-weight:600!important}
.mgrid.msheet .mrow .mp-game .live{color:#2f9d80!important;font-weight:700!important;font-size:9.5px!important;letter-spacing:.04em}
/* split 'BUF @ NYJ' and 'Sun 1:00 PM' onto two untruncated lines */
.mgrid.msheet .mrow .mp-game .mg-sep,
.mgrid.msheet .mrow .mp-game .mg-fin{display:none!important}
.mgrid.msheet .mrow .mp-game .mg-opp,
.mgrid.msheet .mrow .mp-game .mg-pm{display:inline!important}
.mgrid.msheet .mrow .mp-game .mg-match,
.mgrid.msheet .mrow .mp-game .mg-when,
.mgrid.msheet .mrow .mp-game .mg-kick{
  display:block;white-space:nowrap;overflow:visible;text-overflow:unset;
  max-width:100%;font-weight:inherit;line-height:1.15;
}
.mgrid.msheet .mrow .mp-game .mg-when,
.mgrid.msheet .mrow .mp-game .mg-kick{font-size:9.5px!important}
.mgrid.msheet .mrow .mp-game .mg-kick{display:block!important}
/* final/live: result stays on the matchup line; the second line is the live
   clock or Final (not the kickoff date). Hide the duplicate clock that still
   lives in .mg-when so the roster/desktop one-line text is unchanged. */
.mgrid.msheet .mrow .mp-game:has(.mg-kick) .mg-when .live{display:none!important}
.mgrid.msheet .mrow .mp-game:has(.mg-kick) .mg-top{
  display:flex;flex-direction:row;flex-wrap:nowrap;align-items:baseline;gap:4px;min-width:0;
}
.mgrid.msheet .mrow .mp-r .mp-game:has(.mg-kick) .mg-top{justify-content:flex-end}
.mgrid.msheet .mrow .mp-game:not(:has(.mg-kick)) .mg-top{display:contents}
.mgrid.msheet .mrow .mp-stat{font-size:9.5px!important;color:#5c6570!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.15;margin-top:1px}
.mgrid.msheet .mrow .mp>.muted{font-style:italic;font-size:13px;font-weight:500;color:#9aa3b0!important}

/* week points: ink until that player's NFL game is final, then teal-green; TOT stays green; proj under in gray */
.mgrid.msheet .mrow .mpts{white-space:nowrap;font-family:inherit!important}
.mgrid.msheet .mrow .mpts b{
  font-size:14px!important;font-weight:700!important;
  font-variant-numeric:tabular-nums;letter-spacing:-.02em;line-height:1.1;
  font-family:inherit!important;
}
.mgrid.msheet .mrow:not(.total) .mpts b{color:#0f141c!important}
.mgrid.msheet .mrow:not(.total) .mpts b.is-final,
.mgrid.msheet .mrow.total .mpts b{color:#1e8a6a!important}
.mgrid.msheet .mrow:not(.total) .mpts b.is-pre,
.mgrid.msheet .mrow.total .mpts b.is-pre{color:#9aa0a5!important;font-weight:500!important}
.mgrid.msheet .mrow .mpts span{
  display:block;color:#9aa0a5!important;font-size:11px!important;font-weight:400!important;
  margin-top:1px;line-height:1.2;font-family:inherit!important;
}
.mgrid.msheet .mrow .mpts span.lproj{color:#c0392b!important;font-weight:600!important}

/* position pills — same 9px pastel language as the roster sheet */
.mgrid.msheet .mslot span,
.mgrid.msheet .mslot span.spill{
  min-width:32px!important;padding:4px 6px!important;border-radius:8px!important;
  font-size:9px!important;font-weight:650!important;letter-spacing:.04em!important;
  border:0!important;line-height:1.15;height:auto!important;
  background:#eef1f6!important;color:#5b6574!important;
}
.mgrid.msheet .mslot span.sp-QB,
.gcx-pl .sp-QB{background:#fde8ee!important;color:#c43b5c!important}
.mgrid.msheet .mslot span.sp-RB,
.gcx-pl .sp-RB{background:#e5f7ee!important;color:#1f9a62!important}
.mgrid.msheet .mslot span.sp-WR,
.gcx-pl .sp-WR{background:#e6f4f8!important;color:#1b7f9a!important}
.mgrid.msheet .mslot span.sp-TE,
.gcx-pl .sp-TE{background:#f8f0d8!important;color:#a07a14!important}
.mgrid.msheet .mslot span.sp-K,
.gcx-pl .sp-K{background:#efe8f8!important;color:#6b4aa8!important}
.mgrid.msheet .mslot span.sp-DEF,
.gcx-pl .sp-DEF{background:#f8ece0!important;color:#b86a20!important}
.mgrid.msheet .mslot span.sp-FLEX,
.gcx-pl .sp-FLEX{background:#eef1f6!important;color:#5b6574!important}
.mgrid.msheet .mslot span.sp-BN,
.gcx-pl .sp-BN{background:#fde8ee!important;color:#c43b5c!important}
.mgrid.msheet .mslot span.sp-IR,
.gcx-pl .sp-IR{background:#f8e4e4!important;color:#a33b3b!important}
.mgrid.msheet .mrow.total .mslot span{background:#1b2a4a!important;color:#fff!important}

/* long-press still highlights the player cell; no new ghost on the roster */
.mgrid.msheet .mp.lpm-src,.mgrid.msheet .mp.lpm-tgt{border-radius:8px}

/* ---- Night: More card token + black appbar bar ---- */
html[data-skin=night] .mgrid.msheet{background:transparent!important}
html[data-skin=night] .mgrid.msheet .mg-sec{
  background:#161617;border-color:#2e2e31;
  box-shadow:0 1px 2px rgba(0,0,0,.5),0 4px 14px rgba(0,0,0,.35);
}
html[data-skin=night] .mgrid.msheet .mg-h{background:#000!important;color:#fff!important}
html[data-skin=night] .mgrid.msheet .mrow,
html[data-skin=night] .mgrid.msheet .mrow.bench{
  background:#161617!important;border-bottom-color:#2e2e31!important;box-shadow:none!important;
}
html[data-skin=night] .mgrid.msheet .mrow.total{background:#121213!important}
html[data-skin=night] .mgrid.msheet .mrow .mp-nm .mp-name,
html[data-skin=night] .mgrid.msheet .mrow .mp-name,
html[data-skin=night] .mgrid.msheet .mrow .mp-name .full,
html[data-skin=night] .mgrid.msheet .mrow .mp-name .short{color:#f1f5f9!important}
html[data-skin=night] .mgrid.msheet .mrow .mp-game{color:#8b93a0!important}
html[data-skin=night] .mgrid.msheet .mrow .mp-game.dv-good{color:#7ee2a8!important}
html[data-skin=night] .mgrid.msheet .mrow .mp-game.dv-bad{color:#f0a0a0!important}
html[data-skin=night] .mgrid.msheet .mrow .mp-game .live{color:#3d7fff!important}
html[data-skin=night] .mgrid.msheet .mrow:not(.total) .mpts b{color:#f1f5f9!important}
html[data-skin=night] .mgrid.msheet .mrow:not(.total) .mpts b.is-final,
html[data-skin=night] .mgrid.msheet .mrow.total .mpts b{color:#3d7fff!important}
html[data-skin=night] .mgrid.msheet .mrow:not(.total) .mpts b.is-pre,
html[data-skin=night] .mgrid.msheet .mrow.total .mpts b.is-pre{color:#8b93a0!important;font-weight:500!important}
html[data-skin=night] .mgrid.msheet .mrow .mpts span{color:#8b93a0!important}
html[data-skin=night] .mgrid.msheet .mrow .mp>.muted{color:#8b93a0!important}
html[data-skin=night] .mgrid.msheet .mslot span{background:#2a2c31!important;color:#c5cad3!important}
html[data-skin=night] .gcx-pl .pos,html[data-skin=night] .gcx-pl .spill{background:#2a2c31!important;color:#c5cad3!important}
html[data-skin=night] .mgrid.msheet .mslot span.sp-QB,
html[data-skin=night] .gcx-pl .sp-QB{background:#3a2228!important;color:#f0a0b0!important}
html[data-skin=night] .mgrid.msheet .mslot span.sp-RB,
html[data-skin=night] .gcx-pl .sp-RB{background:#1e2744!important;color:#a8b6ff!important}
html[data-skin=night] .mgrid.msheet .mslot span.sp-WR,
html[data-skin=night] .gcx-pl .sp-WR{background:#1c2e34!important;color:#7ec8d8!important}
html[data-skin=night] .mgrid.msheet .mslot span.sp-TE,
html[data-skin=night] .gcx-pl .sp-TE{background:#332e1c!important;color:#f0d48a!important}
html[data-skin=night] .mgrid.msheet .mslot span.sp-K,
html[data-skin=night] .gcx-pl .sp-K{background:#2a2438!important;color:#c4b5fd!important}
html[data-skin=night] .mgrid.msheet .mslot span.sp-DEF,
html[data-skin=night] .gcx-pl .sp-DEF{background:#33281c!important;color:#f0c090!important}
html[data-skin=night] .mgrid.msheet .mslot span.sp-FLEX,
html[data-skin=night] .gcx-pl .sp-FLEX{background:#2a2c31!important;color:#c5cad3!important}
html[data-skin=night] .mgrid.msheet .mslot span.sp-BN,
html[data-skin=night] .gcx-pl .sp-BN{background:#3a2228!important;color:#f0a0b0!important}
html[data-skin=night] .mgrid.msheet .mrow.total .mslot span{background:#000!important;color:#3d7fff!important}

/* ---- T3: same card geometry; black appbar bar, More gold only if a header accent is needed ---- */
html[data-skin=t3] .mgrid.msheet{background:transparent!important}
html[data-skin=t3] .mgrid.msheet .mg-sec{
  background:#161617;border-color:#2e2e31;
  box-shadow:0 1px 2px rgba(0,0,0,.5),0 4px 14px rgba(0,0,0,.35);
}
/* R316: T3 navy section bars become Eastern burgundy. */
html[data-skin=t3] .mgrid.msheet .mg-h{background:#773141!important;color:#fff!important}
html[data-skin=t3] .mgrid.msheet .mrow,
html[data-skin=t3] .mgrid.msheet .mrow.bench{
  background:#161617!important;border-bottom-color:#2e2e31!important;box-shadow:none!important;
}
html[data-skin=t3] .mgrid.msheet .mrow.total{background:#121213!important}
html[data-skin=t3] .mgrid.msheet .mrow .mp-nm .mp-name,
html[data-skin=t3] .mgrid.msheet .mrow .mp-name,
html[data-skin=t3] .mgrid.msheet .mrow .mp-name .full,
html[data-skin=t3] .mgrid.msheet .mrow .mp-name .short{color:#f1f5f9!important}
html[data-skin=t3] .mgrid.msheet .mrow .mp-game{color:#8b93a0!important}
html[data-skin=t3] .mgrid.msheet .mrow .mp-game.dv-good{color:#3ddc91!important}
html[data-skin=t3] .mgrid.msheet .mrow .mp-game.dv-bad{color:#f0a0a0!important}
html[data-skin=t3] .mgrid.msheet .mrow:not(.total) .mpts b{color:#f1f5f9!important}
/* R315: T3 final / TOT points use --t3-gold; Final status text stays as-is. */
html[data-skin=t3] .mgrid.msheet .mrow:not(.total) .mpts b.is-final,
html[data-skin=t3] .mgrid.msheet .mrow.total .mpts b{color:#ffc928!important}
html[data-skin=t3] .mgrid.msheet .mrow:not(.total) .mpts b.is-pre,
html[data-skin=t3] .mgrid.msheet .mrow.total .mpts b.is-pre{color:#8b93a0!important;font-weight:500!important}
html[data-skin=t3] .mgrid.msheet .mrow .mpts span{color:#8b93a0!important}
html[data-skin=t3] .mgrid.msheet .mrow .mp>.muted{color:#8b93a0!important}
html[data-skin=t3] .mgrid.msheet .mslot span{background:#2a2c31!important;color:#c5cad3!important}
html[data-skin=t3] .gcx-pl .pos,html[data-skin=t3] .gcx-pl .spill{background:#2a2c31!important;color:#c5cad3!important}
html[data-skin=t3] .mgrid.msheet .mslot span.sp-QB,
html[data-skin=t3] .gcx-pl .sp-QB{background:#3a2228!important;color:#f0a0b0!important}
html[data-skin=t3] .mgrid.msheet .mslot span.sp-RB,
html[data-skin=t3] .gcx-pl .sp-RB{background:#1c3228!important;color:#86efac!important}
html[data-skin=t3] .mgrid.msheet .mslot span.sp-WR,
html[data-skin=t3] .gcx-pl .sp-WR{background:#1c2e34!important;color:#7ec8d8!important}
html[data-skin=t3] .mgrid.msheet .mslot span.sp-TE,
html[data-skin=t3] .gcx-pl .sp-TE{background:#332e1c!important;color:#f0d48a!important}
html[data-skin=t3] .mgrid.msheet .mslot span.sp-K,
html[data-skin=t3] .gcx-pl .sp-K{background:#2a2438!important;color:#c4b5fd!important}
html[data-skin=t3] .mgrid.msheet .mslot span.sp-DEF,
html[data-skin=t3] .gcx-pl .sp-DEF{background:#33281c!important;color:#f0c090!important}
html[data-skin=t3] .mgrid.msheet .mslot span.sp-FLEX,
html[data-skin=t3] .gcx-pl .sp-FLEX{background:#2a2c31!important;color:#c5cad3!important}
html[data-skin=t3] .mgrid.msheet .mslot span.sp-BN,
html[data-skin=t3] .gcx-pl .sp-BN{background:#3a2228!important;color:#f0a0b0!important}
html[data-skin=t3] .mgrid.msheet .mrow.total .mslot span{background:#000!important;color:#ffc928!important}

/* ---- DP / Overtime: forest header bar, #7ef9e4 on the TOT accent ---- */
html[data-skin=dp] .mgrid.msheet{background:transparent!important}
html[data-skin=dp] .mgrid.msheet .mg-sec{
  background:#0f1a18;border-color:#24393a;
  box-shadow:0 1px 2px rgba(0,0,0,.5),0 4px 14px rgba(0,0,0,.35);
}
html[data-skin=dp] .mgrid.msheet .mg-h{background:#3c8979!important;color:#fff!important}
html[data-skin=dp] .mgrid.msheet .mrow,
html[data-skin=dp] .mgrid.msheet .mrow.bench{
  background:#0f1a18!important;border-bottom-color:#24393a!important;box-shadow:none!important;
}
html[data-skin=dp] .mgrid.msheet .mrow.total{background:#0b1514!important}
html[data-skin=dp] .mgrid.msheet .mrow .mp-nm .mp-name,
html[data-skin=dp] .mgrid.msheet .mrow .mp-name,
html[data-skin=dp] .mgrid.msheet .mrow .mp-name .full,
html[data-skin=dp] .mgrid.msheet .mrow .mp-name .short{color:#f1f5f9!important}
html[data-skin=dp] .mgrid.msheet .mrow .mp-game{color:#8b93a0!important}
html[data-skin=dp] .mgrid.msheet .mrow .mp-game.dv-good{color:#3ddc91!important}
html[data-skin=dp] .mgrid.msheet .mrow .mp-game.dv-bad{color:#f0a0a0!important}
html[data-skin=dp] .mgrid.msheet .mrow:not(.total) .mpts b{color:#f1f5f9!important}
html[data-skin=dp] .mgrid.msheet .mrow:not(.total) .mpts b.is-final,
html[data-skin=dp] .mgrid.msheet .mrow.total .mpts b{color:#3ddc91!important}
html[data-skin=dp] .mgrid.msheet .mrow:not(.total) .mpts b.is-pre,
html[data-skin=dp] .mgrid.msheet .mrow.total .mpts b.is-pre{color:#8b93a0!important;font-weight:500!important}
html[data-skin=dp] .mgrid.msheet .mrow .mpts span{color:#8b93a0!important}
html[data-skin=dp] .mgrid.msheet .mrow .mp>.muted{color:#9db8b2!important}
html[data-skin=dp] .mgrid.msheet .mslot span{background:#1a2a28!important;color:#c5dad6!important}
html[data-skin=dp] .gcx-pl .pos,html[data-skin=dp] .gcx-pl .spill{background:#1a2a28!important;color:#c5dad6!important}
html[data-skin=dp] .mgrid.msheet .mslot span.sp-QB,
html[data-skin=dp] .gcx-pl .sp-QB{background:#3a2228!important;color:#f0a0b0!important}
html[data-skin=dp] .mgrid.msheet .mslot span.sp-RB,
html[data-skin=dp] .gcx-pl .sp-RB{background:#1c3228!important;color:#86efac!important}
html[data-skin=dp] .mgrid.msheet .mslot span.sp-WR,
html[data-skin=dp] .gcx-pl .sp-WR{background:#1c2e34!important;color:#7ec8d8!important}
html[data-skin=dp] .mgrid.msheet .mslot span.sp-TE,
html[data-skin=dp] .gcx-pl .sp-TE{background:#332e1c!important;color:#f0d48a!important}
html[data-skin=dp] .mgrid.msheet .mslot span.sp-K,
html[data-skin=dp] .gcx-pl .sp-K{background:#2a2438!important;color:#c4b5fd!important}
html[data-skin=dp] .mgrid.msheet .mslot span.sp-DEF,
html[data-skin=dp] .gcx-pl .sp-DEF{background:#33281c!important;color:#f0c090!important}
html[data-skin=dp] .mgrid.msheet .mslot span.sp-FLEX,
html[data-skin=dp] .gcx-pl .sp-FLEX{background:#1a2a28!important;color:#c5dad6!important}
html[data-skin=dp] .mgrid.msheet .mslot span.sp-BN,
html[data-skin=dp] .gcx-pl .sp-BN{background:#3a2228!important;color:#f0a0b0!important}
html[data-skin=dp] .mgrid.msheet .mrow.total .mslot span{background:#3c8979!important;color:#7ef9e4!important}

}

/* R329 (Jared t1028u): once the player's NFL game is final, the red/green
   matchup-difficulty color on 'SF vs SEA' goes muted gray (same fade family
   as the R321 name). Live and upcoming stay colored. Scores and the Final
   status line are left alone. */
.mgrid.msheet .mrow .mp.is-final .mp-game.dv-good .mg-match,
.mgrid.msheet .mrow .mp.is-final .mp-game.dv-bad .mg-match{
  color:#9aa0a5!important;font-weight:400!important;
}
html[data-skin=night] .mgrid.msheet .mrow .mp.is-final .mp-game.dv-good .mg-match,
html[data-skin=night] .mgrid.msheet .mrow .mp.is-final .mp-game.dv-bad .mg-match,
html[data-skin=t3] .mgrid.msheet .mrow .mp.is-final .mp-game.dv-good .mg-match,
html[data-skin=t3] .mgrid.msheet .mrow .mp.is-final .mp-game.dv-bad .mg-match,
html[data-skin=dp] .mgrid.msheet .mrow .mp.is-final .mp-game.dv-good .mg-match,
html[data-skin=dp] .mgrid.msheet .mrow .mp.is-final .mp-game.dv-bad .mg-match{
  color:#8b93a0!important;font-weight:400!important;
}

/* ---- Heritage: olive header bar, brass gold on the TOT accent; position / W-L colours stay ---- */
html[data-skin=heritage] .mgrid.msheet{background:transparent!important}
html[data-skin=heritage] .mgrid.msheet .mg-sec{
  background:#17140f;border-color:#3a3428;
  box-shadow:0 1px 2px rgba(0,0,0,.5),0 4px 14px rgba(0,0,0,.35);
}
html[data-skin=heritage] .mgrid.msheet .mg-h{background:#3f4f2c!important;color:#f3ecd8!important}
html[data-skin=heritage] .mgrid.msheet .mrow,
html[data-skin=heritage] .mgrid.msheet .mrow.bench{
  background:#17140f!important;border-bottom-color:#3a3428!important;box-shadow:none!important;
}
html[data-skin=heritage] .mgrid.msheet .mrow.total{background:#12150e!important}
html[data-skin=heritage] .mgrid.msheet .mrow .mp-nm .mp-name,
html[data-skin=heritage] .mgrid.msheet .mrow .mp-name,
html[data-skin=heritage] .mgrid.msheet .mrow .mp-name .full,
html[data-skin=heritage] .mgrid.msheet .mrow .mp-name .short{color:#f3ecd8!important}
html[data-skin=heritage] .mgrid.msheet .mrow .mp-game{color:#b5aa90!important}
html[data-skin=heritage] .mgrid.msheet .mrow .mp-game.dv-good{color:#b8c47a!important}
html[data-skin=heritage] .mgrid.msheet .mrow .mp-game.dv-bad{color:#f0a0a0!important}
html[data-skin=heritage] .mgrid.msheet .mrow:not(.total) .mpts b{color:#f3ecd8!important}
html[data-skin=heritage] .mgrid.msheet .mrow:not(.total) .mpts b.is-final,
html[data-skin=heritage] .mgrid.msheet .mrow.total .mpts b{color:#d4b45a!important}
html[data-skin=heritage] .mgrid.msheet .mrow:not(.total) .mpts b.is-pre,
html[data-skin=heritage] .mgrid.msheet .mrow.total .mpts b.is-pre{color:#b5aa90!important;font-weight:500!important}
html[data-skin=heritage] .mgrid.msheet .mrow .mpts span{color:#b5aa90!important}
html[data-skin=heritage] .mgrid.msheet .mrow .mp>.muted{color:#b5aa90!important}
html[data-skin=heritage] .mgrid.msheet .mslot span,html[data-skin=heritage] .gcx-pl .pos,html[data-skin=heritage] .gcx-pl .spill{background:#211c14!important;color:#e6dfc8!important;border:1px solid #3a3428!important}
html[data-skin=heritage] .mgrid.msheet .mslot span.sp-QB,
html[data-skin=heritage] .gcx-pl .sp-QB{background:#2a181c!important;color:#f0a0b0!important;border-color:#6b3a42!important}
html[data-skin=heritage] .mgrid.msheet .mslot span.sp-RB,
html[data-skin=heritage] .gcx-pl .sp-RB{background:#1a2014!important;color:#b8c47a!important;border-color:#3f4f2c!important}
html[data-skin=heritage] .mgrid.msheet .mslot span.sp-WR,
html[data-skin=heritage] .gcx-pl .sp-WR{background:#221c14!important;color:#d4c48a!important;border-color:#6a5428!important}
html[data-skin=heritage] .mgrid.msheet .mslot span.sp-TE,
html[data-skin=heritage] .gcx-pl .sp-TE{background:#241c10!important;color:#d4b45a!important;border-color:#8a6a28!important}
html[data-skin=heritage] .mgrid.msheet .mslot span.sp-K,
html[data-skin=heritage] .gcx-pl .sp-K{background:#1c181e!important;color:#c4b0c8!important;border-color:#4a3a50!important}
html[data-skin=heritage] .mgrid.msheet .mslot span.sp-DEF,
html[data-skin=heritage] .gcx-pl .sp-DEF{background:#241c14!important;color:#e0c090!important;border-color:#6b4a28!important}
html[data-skin=heritage] .mgrid.msheet .mslot span.sp-FLEX,
html[data-skin=heritage] .gcx-pl .sp-FLEX{background:#211c14!important;color:#b5aa90!important;border-color:#3a3428!important}
html[data-skin=heritage] .mgrid.msheet .mslot span.sp-BN,
html[data-skin=heritage] .gcx-pl .sp-BN{background:#2a181c!important;color:#f0a0b0!important;border-color:#6b3a42!important}
html[data-skin=heritage] .mgrid.msheet .mrow.total .mslot span{background:#12150e!important;color:#d4b45a!important;border-color:#d4b45a!important}
