/* league-phone.css — the league section on a phone (20261014lg1).
   Scoped to <= 720px and body.mw-league-tabs (set by the mobile chrome in
   game.html). Desktop pixels untouched. */
@media (max-width: 720px) {
  /* ── header + pills ─────────────────────────────────────────────── */
  body.mw-league-tabs #mwLeagueChrome { background: #121517 !important; }
  body.mw-league-tabs #mwLeagueHead { padding: 10px 14px 0 !important; background: #121517 !important; }
  body.mw-league-tabs #mwLeagueHead #sbLeagueCtx { display: flex !important; flex-direction: column; gap: 6px; }
  body.mw-league-tabs #mwLeagueHead #sbLeagueName,
  body.mw-league-tabs #mwLeagueHead .sb-league-name { font-family: 'DM Sans', system-ui, sans-serif !important; font-size: 20px !important; font-weight: 800 !important; letter-spacing: 0 !important; text-transform: none !important; color: #fff !important; line-height: 1.15 !important; }
  body.mw-league-tabs #mwLeagueHead .sb-league-lbl { display: none !important; }
  body.mw-league-tabs #mwLeagueHead .sb-divpick { display: inline-flex !important; align-items: center; gap: 6px; background: rgba(255,255,255,.1) !important; color: #fff !important; border: none !important; border-radius: 8px !important; font-size: 12px !important; font-weight: 700 !important; padding: 5px 9px !important; width: auto !important; align-self: flex-start; font-family: inherit; }
  body.mw-league-tabs #lpHeadSub { font-size: 12px; color: #b7bdc3; padding: 2px 0 8px; min-height: 14px; }
  body.mw-league-tabs #mwLeagueHead #sbDivisionPick,
  body.mw-league-tabs #mwLeagueHead select { background: rgba(255,255,255,.1) !important; color: #fff !important; border: none !important; border-radius: 8px !important; font-size: 12px !important; font-weight: 700 !important; padding: 5px 9px !important; width: auto !important; max-width: 100%; }
  body.mw-league-tabs #mwLeagueTabs { display: flex !important; gap: 6px !important; padding: 8px 14px 12px !important; background: #121517 !important; overflow-x: auto !important; scrollbar-width: none; border: none !important; }
  body.mw-league-tabs #mwLeagueTabs::-webkit-scrollbar { display: none; }
  body.mw-league-tabs #mwLeagueTabs .mwlt { flex: none !important; padding: 8px 13px !important; border-radius: 18px !important; font-family: 'DM Sans', system-ui, sans-serif !important; font-size: 12.5px !important; font-weight: 800 !important; letter-spacing: 0 !important; text-transform: none !important; color: #b7bdc3 !important; background: rgba(255,255,255,.08) !important; border: none !important; min-height: 0 !important; line-height: 1.2 !important; }
  body.mw-league-tabs #mwLeagueTabs .mwlt.on { background: #99231a !important; color: #fff !important; }
  body.mw-league-tabs #mwLeagueTabs .mwlt::after, body.mw-league-tabs #mwLeagueTabs .mwlt::before { display: none !important; }

  /* ── desktop furniture off ───────────────────────────────────────── */
  body.mw-league-tabs .manage-header, body.mw-league-tabs #manageStatChips { display: none !important; }
  body.mw-league-tabs #manageSection { padding: 0 0 90px !important; }
  body.mw-league-tabs .manage-shell { background: transparent !important; border: none !important; box-shadow: none !important; border-radius: 0 !important; }
  body.mw-league-tabs .manage-body { padding: 0 !important; }
  /* our pane replaces the desktop pane for the tabs we draw */
  body.mw-league-tabs #manageBody.lp-own > .manage-pane { display: none !important; }
  body.mw-league-tabs #manageBody.lp-own > #lpPane { display: block; }

  /* ── shared bits ─────────────────────────────────────────────────── */
  #lpPane { font-family: 'DM Sans', system-ui, sans-serif; color: #121517; padding-top: 12px; }
  #lpPane .lp-k { font-size: 10px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: #7b8896; }
  #lpPane .lp-card { background: #fffefb; border: 1px solid rgba(18,21,23,.1); border-radius: 14px; padding: 14px; margin: 0 14px 12px; }
  #lpPane .lp-row-h { display: flex; align-items: center; }
  #lpPane .lp-row-h .lp-k { flex: 1; }
  #lpPane .lp-row-h a { font-size: 12px; font-weight: 700; color: #99231a; text-decoration: none; }
  #lpPane .lp-btn { display: block; width: 100%; border: none; border-radius: 12px; padding: 13px; text-align: center; font-size: 14px; font-weight: 800; font-family: inherit; cursor: pointer; margin-top: 12px; background: #99231a; color: #fff; }
  #lpPane .lp-btn-dark { background: #121517; color: #fff; }
  #lpPane .lp-vs { color: #99231a; font-weight: 800; }
  #lpPane .lp-chev { color: #b7bdc3; font-size: 20px; line-height: 1; flex: none; }
  #lpPane .lp-pill { flex: none; font-size: 10px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; padding: 4px 8px; border-radius: 6px; color: #fff; background: #4b5258; }
  #lpPane .lp-pill.g { background: #2f6b4f; } #lpPane .lp-pill.r { background: #99231a; } #lpPane .lp-pill.d { background: #7b8896; }
  #lpPane .lp-chips { display: flex; gap: 8px; padding: 0 14px 4px; overflow-x: auto; scrollbar-width: none; }
  #lpPane .lp-chip { flex: none; padding: 8px 13px; border-radius: 16px; background: #fffefb; border: 1px solid rgba(18,21,23,.12); font-size: 12.5px; font-weight: 700; cursor: pointer; }
  #lpPane .lp-chip.on { background: #121517; color: #fff; border-color: #121517; }
  #lpPane .lp-wk { padding: 12px 14px 4px; font-size: 10px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: #7b8896; }
  #lpPane .lp-list { margin: 0 14px 4px; background: #fffefb; border: 1px solid rgba(18,21,23,.1); border-radius: 14px; overflow: hidden; }
  #lpPane .lp-row { display: flex; align-items: center; gap: 12px; padding: 12px; min-height: 58px; border-top: 1px solid rgba(18,21,23,.07); cursor: pointer; }
  #lpPane .lp-list .lp-row:first-child { border-top: none; }
  #lpPane .lp-row.hot { outline: 2px solid #99231a; outline-offset: -2px; border-radius: 12px; }
  #lpPane .lp-row-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
  #lpPane .lp-row-txt b { font-size: 14px; font-weight: 800; line-height: 1.2; }
  #lpPane .lp-row-txt b small { font-weight: 600; color: #7b8896; font-size: 11px; margin-left: 6px; }
  #lpPane .lp-row-txt span { font-size: 11.5px; color: #7b8896; line-height: 1.3; }
  #lpPane .lp-ic { width: 42px; height: 42px; border-radius: 12px; background: #f2efe8; color: #121517; display: grid; place-items: center; font-size: 12px; font-weight: 800; flex: none; }
  #lpPane .lp-ic.round { border-radius: 50%; }
  #lpPane .lp-ic.d { background: #121517; color: #fff; } #lpPane .lp-ic.r { background: #99231a; color: #fff; }
  #lpPane .lp-num { width: 30px; height: 30px; border-radius: 50%; background: #f2efe8; display: grid; place-items: center; font-size: 11px; font-weight: 800; flex: none; }
  #lpPane .lp-val { font-size: 15px; font-weight: 800; }
  #lpPane .lp-empty { padding: 24px 14px; text-align: center; color: #7b8896; font-size: 13px; }
  #lpPane .lp-note { padding: 4px 14px 10px; font-size: 11.5px; color: #7b8896; }

  /* ── home ────────────────────────────────────────────────────────── */
  #lpPane .lp-hero { background: #121517; color: #fff; border: none; }
  #lpPane .lp-hero.hot { background: #99231a; }
  #lpPane .lp-hero .lp-k { color: #d4d7d9; }
  #lpPane .lp-hero.hot .lp-k { color: #f6d0cc; }
  #lpPane .lp-hero-t { font-size: 20px; font-weight: 800; margin-top: 4px; line-height: 1.15; }
  #lpPane .lp-hero .lp-vs { color: #f6d0cc; }
  #lpPane .lp-hero-s { font-size: 12px; color: #d4d7d9; margin-top: 3px; }
  #lpPane .lp-hero.hot .lp-hero-s { color: #f6d0cc; }
  /* the action is always a button you can see: red on the dark card, dark on the red one */
  #lpPane .lp-hero .lp-btn { background: #99231a; color: #fff; }
  #lpPane .lp-hero.hot .lp-btn { background: #121517; color: #fff; }
  #lpPane .lp-tr { display: grid; grid-template-columns: 22px 1fr 36px 36px; gap: 6px; align-items: center; padding: 8px 0; border-top: 1px solid rgba(18,21,23,.07); font-size: 12.5px; color: #4b5258; }
  #lpPane .lp-tr b { color: #121517; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  #lpPane .lp-tr.me { background: rgba(153,35,26,.08); margin: 0 -14px; padding: 8px 14px; }
  #lpPane .lp-th { font-size: 10px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; color: #7b8896; border-top: none; padding-top: 10px; }
  #lpPane .lp-th span, #lpPane .lp-th b { font-weight: 800; color: #7b8896; }
  #lpPane .lp-fx { display: flex; align-items: center; gap: 8px; padding: 10px 0; border-top: 1px solid rgba(18,21,23,.07); font-size: 13px; cursor: pointer; }
  #lpPane .lp-fx .t { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  #lpPane .lp-fx .sc { font-weight: 800; min-width: 44px; text-align: center; background: #f2efe8; border-radius: 8px; padding: 4px 6px; }
  #lpPane .lp-fx .sc.w { background: #2f6b4f; color: #fff; } #lpPane .lp-fx .sc.l { background: #99231a; color: #fff; }
  #lpPane .lp-chat-teaser { display: flex; align-items: center; gap: 10px; cursor: pointer; }
  #lpPane .lp-chat-teaser > div { flex: 1; }
  #lpPane .lp-chat-s { font-size: 13px; margin-top: 2px; }

  /* ── table ───────────────────────────────────────────────────────── */
  #lpPane .lp-table { padding: 10px 12px; margin-top: 8px; }
  #lpPane .lp-tr7 { display: grid; grid-template-columns: 20px 1fr 26px 26px 26px 36px 34px; gap: 4px; align-items: center; padding: 8px 0; border-top: 1px solid rgba(18,21,23,.07); font-size: 12.5px; color: #4b5258; cursor: pointer; }
  #lpPane .lp-tr7 b { color: #121517; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  #lpPane .lp-tr7 b small { display: block; font-size: 10.5px; font-weight: 600; color: #7b8896; }
  #lpPane .lp-tr7.me { background: rgba(153,35,26,.08); margin: 0 -12px; padding: 8px 12px; }
  #lpPane .lp-tr7.lp-th { cursor: default; }
  #lpPane .lp-tr8 { display: grid; grid-template-columns: 18px 1fr 24px 24px 24px 34px 34px 32px; gap: 4px; align-items: center; padding: 8px 0; border-top: 1px solid rgba(18,21,23,.07); font-size: 12.5px; color: #4b5258; cursor: pointer; }
  #lpPane .lp-tr8 b { color: #121517; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  #lpPane .lp-tr8.me { background: rgba(153,35,26,.08); margin: 0 -12px; padding: 8px 12px; }
  #lpPane .lp-tr8.lp-th { cursor: default; }
  #lpPane .lp-tr8 .lp-gd { color: #99231a; font-weight: 700; }
  #lpPane .lp-tr8 .lp-ld { color: #1e7a3e; font-weight: 700; }
  #lpPane .lp-tr8.lp-th .lp-gd, #lpPane .lp-tr8.lp-th .lp-ld { color: inherit; font-weight: inherit; }

  /* ── the fixture page ────────────────────────────────────────────── */
  #lpFxPage { position: fixed; inset: 0; z-index: 93; background: #f2efe8; display: none; flex-direction: column; font-family: 'DM Sans', system-ui, sans-serif; color: #121517; }
  #lpFxPage.open { display: flex; }
  body.lp-fx-open { overflow: hidden !important; }
  #lpFxPage .lp-fx-head { display: flex; align-items: center; gap: 8px; padding: 10px 14px 0; background: #121517; color: #fff; }
  #lpFxPage .lp-back { width: 36px; height: 36px; border: none; background: transparent; color: #fff; font-size: 22px; cursor: pointer; margin-left: -8px; border-radius: 10px; font-family: inherit; }
  #lpFxPage .lp-fx-title { font-size: 20px; font-weight: 800; flex: 1; }
  #lpFxPage .lp-fx-wk { font-size: 9.5px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; padding: 4px 8px; border-radius: 6px; background: rgba(255,255,255,.12); }
  #lpFxPage .lp-fx-score { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; padding: 12px 14px 0; background: #121517; color: #fff; }
  #lpFxPage .lp-fx-team b { display: block; font-size: 17px; font-weight: 800; line-height: 1.1; }
  #lpFxPage .lp-fx-team span { display: block; font-size: 10px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: #b7bdc3; margin-top: 3px; }
  #lpFxPage .lp-fx-team.r { text-align: right; }
  #lpFxPage .lp-fx-num { font-size: 30px; font-weight: 800; letter-spacing: 1px; white-space: nowrap; }
  #lpFxPage .lp-fx-num i { font-style: normal; color: #99231a; }
  #lpFxPage .lp-fx-meta { padding: 8px 14px 14px; background: #121517; color: #b7bdc3; font-size: 12px; }
  #lpFxPage .lp-fx-body { flex: 1; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 0 0 96px; }
  #lpFxPage .lp-fx-body .fx-expand-panel { background: transparent !important; border: none !important; padding: 12px 14px !important; border-radius: 0 !important; }
  /* the match-night strip and games list inside, nudged to the mock */
  #lpFxPage .fx-team-header { display: none !important; }      /* the page header carries the teams */
  #lpFxPage .mn-strip { background: #fffefb; border: 2px solid #99231a; border-radius: 14px; padding: 4px; margin-bottom: 12px; }
  #lpFxPage .mn-strip > div { border: none !important; background: transparent !important; box-shadow: none !important; }
  #lpFxPage .mn-strip .mn-act, #lpFxPage .mn-strip button { border-radius: 12px !important; font-weight: 800 !important; min-height: 44px; font-size: 14px !important; }
  #lpFxPage .mn-strip a.mn-act { min-height: 0; font-size: 12px !important; }
  #lpFxPage .fx-admin-edit { border-radius: 12px !important; font-weight: 800 !important; }
  #lpFxPage .tmn-wrap { background: #fffefb; border: 1px solid rgba(18,21,23,.1); border-radius: 14px; padding: 4px 0 2px; margin-top: 8px; }
  #lpFxPage .tmn-games-header { padding: 10px 12px 6px !important; margin-bottom: 0 !important; }
  #lpFxPage .tmn-fixture-score { font-size: 15px; font-weight: 800; }
  #lpFxPage .tmn-fixture-winner { display: none !important; }
  #lpFxPage .tmn-game-row { grid-template-columns: 22px minmax(0,1fr) auto minmax(0,1fr) !important; gap: 8px !important; padding: 10px 12px !important; margin: 0 !important; background: transparent !important; border: none !important; border-top: 1px solid rgba(18,21,23,.07) !important; border-radius: 0 !important; opacity: 1 !important; }
  #lpFxPage .tmn-game-row.done .tmn-name { text-decoration: none !important; color: #7b8896 !important; font-weight: 600 !important; }
  #lpFxPage .tmn-game-row.done .tmn-name.winner { color: #121517 !important; font-weight: 800 !important; }
  #lpFxPage .tmn-name { font-size: 13.5px !important; white-space: normal !important; line-height: 1.2 !important; }
  #lpFxPage .tmn-name.away { text-align: right; }
  #lpFxPage .tmn-vs { font-size: 11px; font-weight: 800; color: #7b8896; }
  #lpFxPage .tmn-score { display: inline-flex; gap: 2px; align-items: center; background: #f2efe8; border-radius: 8px; padding: 5px 8px; font-size: 12.5px; font-weight: 800; color: #121517; }
  #lpFxPage .tmn-score .win { color: #2f6b4f; }
  #lpFxPage .tmn-game-row .tmn-meta { grid-column: 1 / -1 !important; padding-left: 30px !important; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
  #lpFxPage .tmn-game-row.done .tmn-meta { display: none !important; }
  #lpFxPage .tmn-game-row.done { cursor: pointer; }
  #lpFxPage .tmn-meta-badge { font-size: 10px !important; font-weight: 800 !important; letter-spacing: .5px; text-transform: uppercase; color: #7b8896 !important; background: transparent !important; border: none !important; padding: 0 !important; }
  #lpFxPage .tmn-btn { border-radius: 9px !important; font-weight: 800 !important; font-size: 12px !important; padding: 7px 12px !important; min-height: 34px; }
  #lpFxPage .tmn-btn.start { background: #99231a !important; color: #fff !important; border: none !important; }
  #lpFxPage .tmn-btn.sub { background: #fffefb !important; color: #121517 !important; border: 1px solid rgba(18,21,23,.14) !important; }

  /* ── the team page ───────────────────────────────────────────────── */
  #lpTeamPage { position: fixed; inset: 0; z-index: 93; background: #f2efe8; display: none; flex-direction: column; font-family: 'DM Sans', system-ui, sans-serif; color: #121517; }
  #lpTeamPage.open { display: flex; }
  body.lp-team-open { overflow: hidden !important; }
  #lpTeamPage .lp-fx-head { display: flex; align-items: center; gap: 8px; padding: 10px 14px 0; background: #121517; color: #fff; }
  #lpTeamPage .lp-back { width: 36px; height: 36px; border: none; background: transparent; color: #fff; font-size: 22px; cursor: pointer; margin-left: -8px; border-radius: 10px; font-family: inherit; }
  #lpTeamPage .lp-fx-title { font-size: 20px; font-weight: 800; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  #lpTeamPage .lp-fx-wk { font-size: 9.5px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; padding: 5px 9px; border-radius: 6px; background: rgba(255,255,255,.12); color: #fff; text-decoration: none; }
  #lpTeamPage .lp-team-sub { padding: 4px 14px 0; background: #121517; color: #b7bdc3; font-size: 12px; }
  #lpTeamPage .lp-team-stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; padding: 12px 14px 14px; background: #121517; color: #fff; text-align: center; }
  #lpTeamPage .lp-team-stats > div { background: rgba(255,255,255,.08); border-radius: 12px; padding: 10px 6px; }
  #lpTeamPage .lp-team-stats b { display: block; font-size: 17px; font-weight: 800; letter-spacing: 1px; white-space: nowrap; }
  #lpTeamPage .lp-team-stats span { display: block; font-size: 9px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; color: #b7bdc3; margin-top: 2px; }
  #lpTeamPage .lp-team-body { flex: 1; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; padding-bottom: 90px; }
  #lpTeamPage .lp-k { font-size: 10px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: #7b8896; }
  #lpTeamPage .lp-row-h { display: flex; align-items: center; } #lpTeamPage .lp-row-h .lp-k { flex: 1; } #lpTeamPage .lp-row-h a { font-size: 12px; font-weight: 700; color: #99231a; text-decoration: none; }
  #lpTeamPage .lp-list { margin: 0 14px 4px; background: #fffefb; border: 1px solid rgba(18,21,23,.1); border-radius: 14px; overflow: hidden; }
  #lpTeamPage .lp-row { display: flex; align-items: center; gap: 12px; padding: 12px; min-height: 58px; border-top: 1px solid rgba(18,21,23,.07); cursor: pointer; }
  #lpTeamPage .lp-list .lp-row:first-child { border-top: none; }
  #lpTeamPage .lp-row-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
  #lpTeamPage .lp-row-txt b { font-size: 14px; font-weight: 800; line-height: 1.2; } #lpTeamPage .lp-row-txt span { font-size: 11.5px; color: #7b8896; line-height: 1.3; }
  #lpTeamPage .lp-ic { width: 42px; height: 42px; border-radius: 12px; background: #f2efe8; color: #121517; display: grid; place-items: center; font-size: 12px; font-weight: 800; flex: none; }
  #lpTeamPage .lp-ic.round { border-radius: 50%; } #lpTeamPage .lp-ic.d { background: #121517; color: #fff; } #lpTeamPage .lp-ic.r { background: #99231a; color: #fff; }
  #lpTeamPage .lp-pill { flex: none; font-size: 10px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; padding: 4px 8px; border-radius: 6px; color: #fff; background: #4b5258; }
  #lpTeamPage .lp-pill.g { background: #2f6b4f; } #lpTeamPage .lp-pill.r { background: #99231a; } #lpTeamPage .lp-pill.d { background: #7b8896; }
  #lpTeamPage .lp-chev { color: #b7bdc3; font-size: 20px; line-height: 1; flex: none; }
  body.mw-league-tabs #teamBreakdownModal { z-index: 96 !important; }
  /* manage-team page */
  #lpManagePage { position: fixed; inset: 0; z-index: 95; background: #f2efe8; display: none; flex-direction: column; font-family: 'DM Sans', system-ui, sans-serif; color: #121517; }
  #lpManagePage.open { display: flex; }
  #lpManagePage.lp-busy { pointer-events: none; opacity: .7; }
  body.lp-manage-open { overflow: hidden !important; }
  #lpManagePage .lp-fx-head { display: flex; align-items: center; gap: 8px; padding: 10px 14px 0; background: #121517; color: #fff; }
  #lpManagePage .lp-back { width: 36px; height: 36px; border: none; background: transparent; color: #fff; font-size: 22px; cursor: pointer; margin-left: -8px; border-radius: 10px; font-family: inherit; }
  #lpManagePage .lp-fx-title { font-size: 20px; font-weight: 800; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  #lpManagePage .lp-fx-wk { font-size: 9.5px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; padding: 5px 9px; border-radius: 6px; background: rgba(255,255,255,.12); color: #fff; text-decoration: none; }
  #lpManagePage .lp-team-sub { padding: 4px 14px 12px; background: #121517; color: #b7bdc3; font-size: 12px; }
  #lpManagePage .lp-manage-body { flex: 1; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; }
  #lpManagePage .lp-k { font-size: 10px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: #7b8896; }
  #lpManagePage .lp-row-h { display: flex; align-items: center; } #lpManagePage .lp-row-h .lp-k { flex: 1; }
  #lpManagePage .lp-list { margin: 0 14px 4px; background: #fffefb; border: 1px solid rgba(18,21,23,.1); border-radius: 14px; overflow: hidden; }
  #lpManagePage .lp-row { display: flex; align-items: center; gap: 12px; padding: 12px; min-height: 58px; border-top: 1px solid rgba(18,21,23,.07); cursor: pointer; }
  #lpManagePage .lp-list .lp-row:first-child { border-top: none; }
  #lpManagePage .lp-row.off .lp-row-txt b, #lpManagePage .lp-row.off .lp-row-txt span { color: #b7bdc3; } #lpManagePage .lp-row.off .lp-ic { opacity: .5; }
  #lpManagePage .lp-row-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
  #lpManagePage .lp-row-txt b { font-size: 14px; font-weight: 800; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } #lpManagePage .lp-row-txt span { font-size: 11.5px; color: #7b8896; line-height: 1.3; }
  #lpManagePage .lp-ic, .lp-sheet .lp-ic { width: 40px; height: 40px; border-radius: 50%; background: #f2efe8; color: #121517; display: grid; place-items: center; font-size: 12px; font-weight: 800; flex: none; }
  #lpManagePage .lp-ic.d { background: #121517; color: #fff; } #lpManagePage .lp-ic.r { background: #99231a; color: #fff; } #lpManagePage .lp-ic.g { background: #fff3dc; color: #a8730c; }
  #lpManagePage .lp-rb { flex: none; font-size: 9.5px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; padding: 4px 8px; border-radius: 6px; background: #f2efe8; color: #4b5258; }
  #lpManagePage .lp-rb.c { background: #99231a; color: #fff; } #lpManagePage .lp-rb.v { background: #121517; color: #fff; } #lpManagePage .lp-rb.g { background: #fff3dc; color: #a8730c; }
  #lpManagePage .lp-chev { color: #b7bdc3; font-size: 20px; line-height: 1; flex: none; }
  #lpManagePage .lp-empty { padding: 24px 14px; text-align: center; color: #7b8896; font-size: 13px; }
  #lpManagePage .lp-add-bar { display: flex; gap: 8px; padding: 10px 14px calc(70px + env(safe-area-inset-bottom, 0px)); background: #f2efe8; border-top: 1px solid rgba(18,21,23,.08); }
  #lpManagePage .lp-add-in { flex: 1; min-width: 0; border: 1px solid rgba(18,21,23,.14); border-radius: 12px; padding: 12px 14px; font-size: 14px; font-family: inherit; background: #fffefb; color: #121517; }
  #lpManagePage .lp-add-btn { border: none; border-radius: 12px; padding: 12px 18px; background: #99231a; color: #fff; font-size: 14px; font-weight: 800; font-family: inherit; cursor: pointer; }
  /* the action sheet */
  .lp-sheet-wrap { position: fixed; inset: 0; z-index: 97; font-family: 'DM Sans', system-ui, sans-serif; color: #121517; }
  .lp-sheet-dim { position: absolute; inset: 0; background: rgba(18,21,23,.5); }
  .lp-sheet { position: absolute; left: 0; right: 0; bottom: 0; background: #fffefb; border-radius: 20px 20px 0 0; box-shadow: 0 -12px 40px rgba(18,21,23,.35); padding: 10px 0 0; max-height: 85vh; overflow-y: auto; }
  .lp-sheet-handle { width: 40px; height: 4px; border-radius: 2px; background: #d4d7d9; margin: 0 auto 10px; }
  .lp-sheet-who { display: flex; align-items: center; gap: 12px; padding: 4px 14px 12px; }
  .lp-sheet-nm { font-size: 17px; font-weight: 800; } .lp-sheet-s { font-size: 12px; color: #7b8896; }
  .lp-act { display: block; width: 100%; text-align: left; border: none; border-top: 1px solid rgba(18,21,23,.07); background: transparent; padding: 15px 14px; font-size: 15px; font-weight: 700; font-family: inherit; color: #121517; cursor: pointer; }
  .lp-act.red { color: #99231a; }
  .lp-act-cancel { display: block; width: 100%; border: 1px solid rgba(18,21,23,.14); border-radius: 12px; background: #fffefb; padding: 13px; font-size: 14px; font-weight: 800; font-family: inherit; color: #121517; cursor: pointer; }

  /* ── MORE sheet ──────────────────────────────────────────────────── */
  body.mw-league-tabs #mwMoreSheet .modal { border-radius: 20px 20px 0 0 !important; padding: 10px 0 70px !important; background: #f2efe8 !important; max-height: 80vh; overflow-y: auto; }
  body.mw-league-tabs #mwMoreSheet .mwms-title { font-family: 'DM Sans', system-ui, sans-serif !important; font-size: 10px !important; font-weight: 800 !important; letter-spacing: 1px !important; text-transform: uppercase !important; color: #7b8896 !important; padding: 6px 14px !important; }
  body.mw-league-tabs #mwMoreSheet .mwms-title::before { content: ''; display: block; width: 40px; height: 4px; border-radius: 2px; background: #d4d7d9; margin: 0 auto 12px; }
  body.mw-league-tabs #mwMoreSheetList { margin: 0 14px; background: #fffefb; border: 1px solid rgba(18,21,23,.1); border-radius: 14px; overflow: hidden; }
  body.mw-league-tabs #mwMoreSheetList .mwms-row { display: flex !important; align-items: center; gap: 12px; width: 100%; padding: 13px 12px !important; min-height: 54px; border: none !important; border-top: 1px solid rgba(18,21,23,.07) !important; background: transparent !important; color: #121517 !important; font-family: 'DM Sans', system-ui, sans-serif !important; font-size: 14px !important; font-weight: 800 !important; text-transform: none !important; letter-spacing: 0 !important; text-align: left; }
  body.mw-league-tabs #mwMoreSheetList .mwms-row:first-child { border-top: none !important; }
  body.mw-league-tabs #mwMoreSheetList .mwms-row.on { color: #99231a !important; }
  body.mw-league-tabs #mwMoreSheetList .mwms-dot { width: 36px; height: 36px; border-radius: 10px; background: #f2efe8 !important; flex: none; display: grid; place-items: center; font-size: 11px; font-weight: 800; color: #4b5258; }
  body.mw-league-tabs #mwMoreSheetList .mwms-row.on .mwms-dot { color: #fff; }
  body.mw-league-tabs #mwMoreSheetList .mwms-row.on .mwms-dot { background: #99231a !important; }
  body.mw-league-tabs #mwMoreSheetList .mwms-row::after { content: '\203A'; margin-left: auto; color: #b7bdc3; font-size: 20px; font-weight: 400; }

  /* ── team breakdown modal as a page ──────────────────────────────── */
  body.mw-league-tabs #teamBreakdownModal { padding: 0 !important; align-items: stretch !important; }
  body.mw-league-tabs #teamBreakdownModal > div { max-width: none !important; max-height: none !important; border-radius: 0 !important; border: none !important; height: 100%; }

  /* ── 20261015lg3: QA fixes ───────────────────────────────────────── */
  /* a singles / doubles match page: big first-throw choice, one big Start */
  #lpFxPage.lp-fx-single .lp-fx-body .fx-expand-panel { padding: 16px 14px !important; }
  #lpFxPage.lp-fx-single .lp-fx-body .fx-expand-panel > div:first-child { font-size: 15px !important; font-weight: 700; margin-bottom: 14px; }
  #lpFxPage.lp-fx-single .lp-fx-body label, #lpFxPage.lp-fx-single .lp-fx-body .fx-starter-label { font-size: 10px !important; letter-spacing: 1.2px; text-transform: uppercase; color: #6b6f73; font-weight: 800; }
  #lpFxPage.lp-fx-single .lp-fx-body select { width: 100% !important; min-height: 52px !important; font-size: 16px !important; font-weight: 700 !important; background: #fffefb !important; border: 1px solid #e4dfd4 !important; border-radius: 12px !important; padding: 0 14px !important; margin: 6px 0 12px !important; color: #121517 !important; }
  #lpFxPage.lp-fx-single .lp-fx-body .fx-start-btn { display: block !important; width: 100% !important; min-height: 56px !important; font-size: 17px !important; font-weight: 800 !important; border-radius: 14px !important; background: #ba2e1b !important; color: #fff !important; border: none !important; margin: 4px 0 10px !important; }
  #lpFxPage.lp-fx-single .lp-fx-body .fx-admin-edit { display: block !important; width: 100% !important; min-height: 48px !important; font-size: 14px !important; border-radius: 12px !important; background: #fffefb !important; border: 1px solid #e4dfd4 !important; color: #121517 !important; margin: 0 !important; }
  #lpFxPage.lp-fx-single .lp-fx-body .fx-expand-panel > div { display: block !important; }
  /* long links in the night strip must wrap, not run off the screen */
  #lpFxPage .mn-strip a.mn-act, #lpFxPage .mn-strip .mn-act { white-space: normal !important; text-align: left; line-height: 1.3; word-break: break-word; }
  /* team breakdown page: the table fits the phone, scrolls on its own */
  body.mw-league-tabs #teamBreakdownModal #tbmBody { padding: 8px 12px 24px !important; }
  body.mw-league-tabs #teamBreakdownModal .lt-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 -12px; padding: 0 12px; }
  body.mw-league-tabs #teamBreakdownModal .lt { font-size: 12px !important; min-width: 100%; }
  body.mw-league-tabs #teamBreakdownModal .lt th, body.mw-league-tabs #teamBreakdownModal .lt td { padding: 8px 5px !important; font-size: 12px !important; white-space: nowrap; }
  body.mw-league-tabs #teamBreakdownModal .lt .lt-player-name { font-size: 13px !important; }
  body.mw-league-tabs #teamBreakdownModal .lt th:nth-child(6), body.mw-league-tabs #teamBreakdownModal .lt td:nth-child(6), body.mw-league-tabs #teamBreakdownModal .lt th:nth-child(7), body.mw-league-tabs #teamBreakdownModal .lt td:nth-child(7) { display: none; }
  body.mw-league-tabs #teamBreakdownModal .lt .lt-player-wrap img, body.mw-league-tabs #teamBreakdownModal .lt .lt-player-wrap span:first-child { width: 22px !important; height: 22px !important; }
  body.mw-league-tabs #teamBreakdownModal > div > div:first-child { padding: 14px 14px 6px !important; }
  body.mw-league-tabs #teamBreakdownModal #tbmBody > div:first-child { display: grid !important; grid-template-columns: 1fr 1fr; gap: 8px; }
  /* knockout competitions stack on the phone */
  body.mw-league-tabs .kw-grid, body.mw-league-tabs .kw-strip { display: grid !important; grid-template-columns: 1fr !important; gap: 10px; }
  /* the scorer owns the screen while a match is on */
  body.lp-match-on #mwLeagueChrome, body.lp-match-on #lpFxPage, body.lp-match-on #lpTeamPage, body.lp-match-on #lpManagePage { display: none !important; }
  .lp-st { font-style: normal; font-weight: 800; color: #99231a; }
  .lp-st.od { color: #a8730c; }
  .lp-st.live { color: #1e7a3e; }
}
