/* dc-lgdesign.css (BUILD559, UI, 25 Oct 2026): the league page in the site redesign. PART 1 = BUILD556's dc-homedesign.css ca097531030e2d5e re-scoped
   #homeLive -> #lgMatches (the header rules apply as on home). PART 2 = the league page's own. */
/* BUILD556 THE HOME PAGE DESIGN (UI, 25 Oct 2026; the FOUNDER ~11:4x in UI's chat: "sab par kam shuru karo ... pahle ek page se shuru karo";
   Fable's design: design_work/site_audit_20261023/out/home/NOTES.md). CSS only, scoped to the home board (#lgMatches) and the header:
   the 60 s reconciler and the 22 s tick compare the card's markup / text, so no card is reshaped after it is drawn. */

/* the board's four views: one segmented row, 44 px, the selected one raised with a gold dot (not colour alone) */
#lgMatches .hlBar{padding:0!important;margin:0 0 12px!important;background:none!important;border:0!important}
#lgMatches .hlTabs{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;padding:4px;margin:0!important;
  border-radius:14px;background:var(--dcTrack);border:0;width:100%;box-sizing:border-box}
#lgMatches .hlTab{min-height:44px!important;height:auto!important;display:flex!important;align-items:center;justify-content:center;gap:6px;
  margin:0!important;padding:0 4px!important;border-radius:10px!important;background:transparent!important;border:0!important;
  box-shadow:none!important;color:var(--dcText2)!important;font:700 14px/1.1 Archivo,var(--font-text)!important;letter-spacing:0!important;
  text-transform:none!important;white-space:nowrap;text-decoration:none!important;min-width:0}
#lgMatches .hlTab.on{background:var(--dcCard)!important;color:var(--dcInk)!important;
  box-shadow:0 1px 2px rgba(15,23,42,.08),0 4px 12px rgba(15,23,42,.08)!important}
#lgMatches .hlTab.on::before{content:"";width:10px;height:10px;border-radius:50%;background:#f4c840;box-shadow:inset 0 0 0 1.5px #c69200;flex:none}
#lgMatches .hlTab:focus-visible{outline:2px solid #c69200;outline-offset:2px}

/* the card: one wrapped row of parts; the header row = format chip, the match name, the status chip */
#lgMatches .mCard{display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;align-items:center!important;justify-content:flex-start!important;
  align-content:flex-start;column-gap:8px;row-gap:12px;padding:16px!important;text-align:left!important;
  border-radius:16px!important;box-sizing:border-box}
#lgMatches .mCard > *{flex:1 1 100%;min-width:0;order:30;margin:0!important}
#lgMatches .mCard .mTop,#lgMatches .mCard .mTop .mComp,#lgMatches .mCard .fxTop,#lgMatches .mCard .fxBadges,#lgMatches .mCard .fxMain,
#lgMatches .mCard.live .mStatus,#lgMatches .mCard .mBottom2,#lgMatches .mCard .fxCta{display:contents!important}
#lgMatches .mCard .mHeadRow2{display:none!important}
/* the parts lifted out of their wrappers (display:contents) each take a full row unless named below */
#lgMatches .mCard .mGround,#lgMatches .mCard .fxTeams,#lgMatches .mCard .fxTime,#lgMatches .mCard .fxVenue,#lgMatches .mCard .stTxt,
#lgMatches .mCard .mToss,#lgMatches .mCard .fxToss,#lgMatches .mCard .dcWatchCardRow{flex:1 1 100%!important;min-width:0;max-width:100%!important;margin:0!important}
#lgMatches .mCard .mFmtSlot,#lgMatches .mCard .fxFmt{order:1;flex:0 0 auto}
#lgMatches .mCard .fxFmt{display:inline-flex;align-items:center;height:28px;padding:0 10px;border-radius:999px;font:800 13px/1 Archivo,var(--font-text);
  letter-spacing:.02em;background:var(--dcTrack);color:var(--dcText2);border:0}
#lgMatches .mCard .mCompTx,#lgMatches .mCard .srs2{order:2;flex:1 1 0;min-width:0;font:600 14px/1.25 Archivo,var(--font-text)!important;
  color:var(--dcMuted)!important;text-transform:none!important;letter-spacing:0!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  -webkit-mask-image:linear-gradient(90deg,#000 88%,transparent);mask-image:linear-gradient(90deg,#000 88%,transparent)}
#lgMatches .mCard .mTag,#lgMatches .mCard .fxTag{order:3;flex:0 0 auto;display:inline-flex!important;align-items:center;gap:6px;height:28px;width:auto!important;
  padding:0 10px!important;border-radius:999px;font:800 12px/1 Archivo,var(--font-text)!important;letter-spacing:.06em;text-transform:uppercase;
  background:var(--dcTrack)!important;color:var(--dcText2)!important;border:0!important;position:static!important;clip:auto!important;overflow:visible!important;
  height:28px!important;margin:0!important;white-space:nowrap!important}
/* the FOUNDER 25 Oct ~12:1x in UI's chat: "live upcoming chip ke charo oor ek golden line banao taki segretation dikhe" */
#lgMatches .mCard .mTag,#lgMatches .mCard .fxTag{box-shadow:inset 0 0 0 1.5px #c69200!important}
html[data-theme="dark"] #lgMatches .mCard .mTag,html[data-theme="dark"] #lgMatches .mCard .fxTag{box-shadow:inset 0 0 0 1.5px #f4c840!important}
#lgMatches .mCard.fin .mTag::after{content:"Result"}
#lgMatches .mCard.live .mTag{background:#fdecec!important;color:#b91c1c!important}
#lgMatches .mCard.live .mTag::before{content:"";width:8px;height:8px;border-radius:50%;background:#dc2626}
#lgMatches .mCard.live .mTag::after{content:"Live"}
#lgMatches .mCard .fxTag{background:#e6eeff!important;color:#1d4ed8!important}
html[data-theme="dark"] #lgMatches .mCard.live .mTag{background:#3b1a22!important;color:#fca5a5!important}
html[data-theme="dark"] #lgMatches .mCard .fxTag{background:#1e2f57!important;color:#93c5fd!important}

/* the teams: one row each, flag and name on the left, the score on the right in Archivo tabular ("429/4 50 Ov"); the winner bold */
#lgMatches .mCard .mTms{order:10;display:flex!important;flex-direction:column;gap:10px}
#lgMatches .mCard .mVs{display:none!important}
#lgMatches .mCard .mTms .tCol{display:flex!important;flex-direction:row!important;align-items:center;justify-content:space-between;gap:10px;
  width:100%;text-align:left!important;min-width:0}
#lgMatches .mCard .tn2,#lgMatches .mCard .fxTeam{display:flex!important;flex-direction:row!important;align-items:center;justify-content:flex-start!important;
  gap:10px;min-width:0;flex:1 1 auto}
#lgMatches .mCard .tCol.right .tn2 .dcCrest{order:-1}
#lgMatches .mCard .nmTxt,#lgMatches .mCard .nm3{font:600 17px/1.25 Archivo,var(--font-text)!important;color:var(--dcInk);white-space:nowrap;overflow:hidden;
  text-overflow:ellipsis;min-width:0}
#lgMatches .mCard .tCol.won .nmTxt{font-weight:800!important}
#lgMatches .mCard .sc2{flex:0 0 auto;text-align:right!important;white-space:nowrap;font-family:Archivo,var(--font-text)!important;font-variant-numeric:tabular-nums;
  font-size:22px!important;font-weight:800!important;color:var(--dcInk);letter-spacing:0}
#lgMatches .mCard .sc2 small{font-size:14px!important;font-weight:600;color:var(--dcMuted);margin-left:2px}
#lgMatches .mCard .dcCrest{width:28px!important;height:20px!important;border-radius:4px!important;flex:none}
#lgMatches .mCard .dcCrest img{object-fit:cover}

/* the upcoming card: the teams, then the start time and the ground; the 12-hour IST time is the board's own text */
#lgMatches .mCard .fxTeams{order:10;display:flex!important;flex-direction:column;gap:10px}
#lgMatches .mCard .fxTime{order:11;flex:1 1 auto;display:flex!important;flex-direction:column;align-items:flex-start!important;text-align:left!important;gap:2px}
#lgMatches .mCard .fxTime .lbl{font:600 13px/1.2 Archivo,var(--font-text)!important;color:var(--dcMuted)!important;text-transform:none!important;letter-spacing:0!important}
#lgMatches .mCard .fxTime .d{font:600 13px/1.2 Archivo,var(--font-text)!important;color:#15803d!important}
html[data-theme="dark"] #lgMatches .mCard .fxTime .d{color:#4ade80!important}
#lgMatches .mCard .fxTime .t{font:800 22px/1.15 Archivo,var(--font-text)!important;font-variant-numeric:tabular-nums;color:var(--gold2)!important}
#lgMatches .mCard .fxVenue,#lgMatches .mCard .mGround{order:12;font:500 14px/1.3 Archivo,var(--font-text)!important;color:var(--dcMuted)!important;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-transform:none!important;letter-spacing:0!important}
#lgMatches .mCard .fxVenue::before,#lgMatches .mCard .mGround::before{content:none!important}
#lgMatches .mCard .mGround,#lgMatches .mCard .mGround .gTxt,#lgMatches .mCard .fxVenue span{justify-content:flex-start!important;text-align:left!important;
  color:var(--dcMuted)!important;font-weight:500!important;font-size:14px!important}
#lgMatches .mCard .fxTime{border:0!important;padding:0!important;box-shadow:none!important;background:none!important}
/* the FOUNDER 25 Oct ~12:0x in UI's chat: "time ground sab green me likho acha lagega": the start time, its day and the ground in green */
#lgMatches .mCard .fxTime .t,#lgMatches .mCard .fxTime .d,#lgMatches .mCard .mGround,#lgMatches .mCard .mGround .gTxt,#lgMatches .mCard .fxVenue,
#lgMatches .mCard .fxVenue span{color:#15803d!important}
html[data-theme="dark"] #lgMatches .mCard .fxTime .t,html[data-theme="dark"] #lgMatches .mCard .fxTime .d,html[data-theme="dark"] #lgMatches .mCard .mGround,
html[data-theme="dark"] #lgMatches .mCard .mGround .gTxt,html[data-theme="dark"] #lgMatches .mCard .fxVenue,
html[data-theme="dark"] #lgMatches .mCard .fxVenue span{color:#4ade80!important}
#lgMatches .mCard .fxToss,#lgMatches .mCard .mToss,#lgMatches .mCard .stTxt{order:13;font:500 13px/1.35 Archivo,var(--font-text)!important}
#lgMatches .mCard .dcWatchCardRow{order:14}
#lgMatches .mCard .dcWatchCardRow:empty,#lgMatches .mCard .fxToss:empty{display:none!important}

/* the result: the verdict in a pill (green for a win, grey otherwise), the player of the match, Deep replay gold, the date on the right */
#lgMatches .mCard.fin .mStatus{order:13;display:flex!important;flex-direction:column;gap:8px}
#lgMatches .mCard .finVerdict{padding:10px 12px!important;border-radius:12px!important;font:600 14px/1.35 Archivo,var(--font-text)!important;
  background:#e8f6ee!important;color:#14532d!important}
#lgMatches .mCard .finVerdict b{font-weight:800}
html[data-theme="dark"] #lgMatches .mCard .finVerdict{background:#123326!important;color:#bbf7d0!important}
#lgMatches .mCard .finVerdict.nr,#lgMatches .mCard .finVerdict.ab{background:var(--dcTrack)!important;color:var(--dcInk)!important}
#lgMatches .mCard .finMom{font:500 13px/1.3 Archivo,var(--font-text)!important;display:flex;gap:8px;align-items:center}
#lgMatches .mCard .finMom .lbl{font-size:12px!important;letter-spacing:.04em}
#lgMatches .mCard.fin .mBottom{order:20;display:flex!important;align-items:center;justify-content:space-between;gap:10px}
#lgMatches .mCard .mPill.deep{display:inline-flex!important;align-items:center;gap:6px;min-height:36px;padding:0 14px!important;border-radius:10px!important;
  background:#f4c840!important;color:#191104!important;font:800 14px/1 Archivo,var(--font-text)!important;border:0!important}
#lgMatches .mCard .mWhen{font:500 13px/1.2 Archivo,var(--font-text)!important;color:var(--dcMuted)!important;display:inline-flex;gap:6px;align-items:center}

/* the actions: Match room / Venue / Alerts, 48 px each, one row */
#lgMatches .mCard .fxAct,#lgMatches .mCard .fxAlt,#lgMatches .mCard .dcBell{order:20;flex:1 1 0!important;min-width:0;min-height:48px!important;
  display:inline-flex!important;align-items:center;justify-content:center;gap:6px;padding:0 6px!important;border-radius:12px!important;
  border:1px solid var(--dcLine)!important;background:var(--dcCard)!important;box-shadow:none!important;
  font:700 14px/1.1 Archivo,var(--font-text)!important;color:var(--gold2)!important;text-transform:none!important;letter-spacing:0!important;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;position:static!important}
#lgMatches .mCard .fxAlt{order:21}
#lgMatches .mCard .dcBell{order:22}
#lgMatches .mCard .fxAct .mPill{all:unset;font:inherit;color:inherit}
/* the short labels of the design ("Match room", "Venue") are drawn, the long ones stay the accessible text: the card's own text is never
   changed (the 22 s tick compares it) */
#lgMatches .mCard .fxAct .mPill,#lgMatches .mCard .fxAlt{font-size:0!important}
#lgMatches .mCard .fxAct .mPill::after{content:"Match room";font-size:14px}
#lgMatches .mCard .fxAlt::after{content:"Venue";font-size:14px}
#lgMatches .mCard .fxAct > span[aria-hidden],#lgMatches .mCard .fxAct > span:not(.mPill):last-child,#lgMatches .mCard .fxAlt > span{display:none}
#lgMatches .mCard .dcBell svg{width:18px;height:18px}
#lgMatches .mCard .dcBell.on{background:#fff7d6!important;border-color:#f4c840!important}
html[data-theme="dark"] #lgMatches .mCard .dcBell.on{background:#3a3010!important}

/* the full board link: a 48 px button */
#lgMatches .hlAllBtn{min-height:48px!important;display:flex!important;align-items:center;justify-content:center;gap:8px;border-radius:12px!important;
  font:700 15px/1 Archivo,var(--font-text)!important}

/* the header in one row at 360 and 412, every control 44 px; the search field 48 px */
@media (max-width:600px){
  header.bar{flex-wrap:nowrap!important}
  header.bar .wordmark{min-height:44px!important;display:inline-flex!important;align-items:center;flex:0 1 auto;min-width:0}
  #dcHdrCtl{gap:6px!important;width:auto!important;flex:0 0 auto!important;margin-left:auto!important;justify-content:flex-end!important}
  #dcHdrCtl .dcProChip{min-height:44px!important;padding:0 12px!important;font-size:14px!important;border-radius:999px!important}
  #dcHdrCtl .dcProChip .dcProLong{display:none!important}
  #dcHdrCtl .dcAuthBtn{width:44px!important;min-width:44px!important;height:44px!important;padding:0!important;border-radius:50%!important;justify-content:center!important}
  #dcHdrCtl .dcAuthBtn > span{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important}
  #dcHdrCtl .themeBtn{width:44px!important;height:44px!important}
  #dcMobSQ{min-height:48px!important;font-size:16px!important}
}

/* the live card stays WHITE in dark mode (html.dcLiveWhiteAll, dc-matchcard.css): it keeps the light-mode colours of this design */
html.dcLiveWhiteAll[data-theme="dark"] #lgMatches .mCard.live .mTag{background:#fdecec!important;color:#b91c1c!important;box-shadow:inset 0 0 0 1.5px #c69200!important}
html.dcLiveWhiteAll[data-theme="dark"] #lgMatches .mCard.live .mGround,html.dcLiveWhiteAll[data-theme="dark"] #lgMatches .mCard.live .mGround .gTxt{color:#15803d!important}
html.dcLiveWhiteAll[data-theme="dark"] #lgMatches .mCard.live .fxAct,html.dcLiveWhiteAll[data-theme="dark"] #lgMatches .mCard.live .fxAlt,
html.dcLiveWhiteAll[data-theme="dark"] #lgMatches .mCard.live .dcBell{background:#ffffff!important;border-color:#e8edf5!important;color:#8a6500!important}
html.dcLiveWhiteAll[data-theme="dark"] #lgMatches .mCard.live .mCompTx{color:#64748b!important}
html.dcLiveWhiteAll[data-theme="dark"] #lgMatches .mCard.live .fxFmt,html.dcLiveWhiteAll[data-theme="dark"] #lgMatches .mCard.live .mFmtSlot .fxFmt{background:#eef2f7;color:#334155}
#lgMatches .mCard .fxVenue,#lgMatches .mCard .fxVenue span{padding:0!important;margin:0!important;border:0!important}
#lgMatches .mCard .finVerdict b{color:inherit!important}
#lgMatches .mCard .finMom .who{font-size:13px!important}
/* v2 (the 558 gate on Match Centre): a played match with no ball-by-ball shows a plain "Match room" pill in place of Deep replay (14 px, 36 px);
   a side with no flag shows its initials badge at 12 px on a neutral ground (4.5:1 whatever the team colour) */
#lgMatches .mCard .mBottom .mPill:not(.deep){display:inline-flex!important;align-items:center;min-height:36px;padding:0 14px!important;border-radius:10px!important;
  border:1px solid var(--dcLine)!important;background:var(--dcCard)!important;color:var(--gold2)!important;font:700 14px/1 Archivo,var(--font-text)!important}
#lgMatches .mCard .dcCrestFb{font:800 12px/1 Archivo,var(--font-text)!important;letter-spacing:0!important;background:var(--dcTrack)!important;color:var(--dcInk)!important}
#lgMatches .mCard .scDelta{font-size:12px!important}   /* the run-1 gate on 556: the "+6" score flash was 11.2 px */

/* ---- BUILD559: the league page's own parts (Fable's design: design_work/site_audit_20261023/out/leagues/NOTES.md) -------------------------- */
/* the competition row: the same as Match Centre (chips 44 px, "All competitions" 13 px) */
#lgTabsHost .dcLgTab{min-height:44px!important;height:auto!important;padding:0 14px!important;font:700 14px/1 Archivo,var(--font-text)!important;
  letter-spacing:0!important;text-transform:none!important;border-radius:12px!important}
#lgTabsHost .dcLgMore{min-height:44px!important;font:700 13px/1.1 Archivo,var(--font-text)!important;letter-spacing:0!important;text-transform:none!important}
#lgTabsHost .dcLgEye{font-size:12px!important}
/* the tiles: four small ones in one row (Teams · Seasons · First · Latest), then one wide "Matches on record" with one "Complete record" chip */
#kpis{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important;margin-top:16px!important}
#kpis .kpi{padding:10px 8px!important;min-width:0;text-align:center;border-radius:12px!important}
#kpis .kpi .l{font:700 12px/1.2 Archivo,var(--font-text)!important;letter-spacing:0!important;text-transform:none!important;color:var(--dcText2)!important;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#kpis .kpi .v{font:800 20px/1.15 Archivo,var(--font-text)!important;font-variant-numeric:tabular-nums;margin-top:4px!important;color:var(--dcInk)}
#kpis .kpi .cov{font:600 12px/1.2 Archivo,var(--font-text)!important;letter-spacing:0!important;text-transform:none!important;color:var(--dcText2)!important;
  white-space:normal!important}
#kpis .kpi.kpiWide{grid-column:1 / -1;display:flex;align-items:center;justify-content:space-between;gap:10px;text-align:left;padding:12px 14px!important;flex-wrap:wrap}
#kpis .kpi.kpiWide .v{font-size:24px!important;margin:0!important;order:2}
#kpis .kpi.kpiWide .l{font-size:14px!important;order:1;flex:1 1 auto}
#kpis .kpi.kpiWide .covOk,#kpis .kpi.kpiWide .cov{order:3;flex:1 1 100%}
#kpis .covOk{display:inline-flex;align-items:center;gap:6px;width:max-content;max-width:100%;min-height:28px;padding:0 12px;border-radius:999px;
  font:700 13px/1 Archivo,var(--font-text);background:#14532d;color:#bbf7d0}
@media (min-width:861px){ #kpis{grid-template-columns:repeat(4,minmax(0,1fr)) 1.6fr!important} #kpis .kpi.kpiWide{grid-column:auto} }
/* the matches' head: readable, 4.5:1 */
#lgMatchesSum .mk{font:800 13px/1.2 Archivo,var(--font-text)!important;letter-spacing:.08em!important;color:#8a6500!important}
#lgMatchesSum .mc2{font:600 13px/1.2 Archivo,var(--font-text)!important;color:var(--dcText2)!important}
html[data-theme="dark"] #lgMatchesSum .mk{color:#f4c840!important}
#lgMatchesAll{display:inline-flex;align-items:center;min-height:44px;font:700 14px/1 Archivo,var(--font-text)!important}

/* ---- BUILD573 (UI, 25 Oct 2026; the FOUNDER 16:57: "डीप रूम के बाद क्या लिखा है पता नहीं चल रहा ... वेन्यू भी थोड़ा राइट में ... बॉक्स भी थोड़ा
   डिफरेंट"): the live card's three buttons are three identical boxes. The played card's plain-pill rule above also matched the live footer
   (.mBottom.mBottom2) and drew the hidden "Enter the deep room" as a pill inside the Match room box; it is unset again here (1,5,0). ---- */
#lgMatches .mCard .mBottom .fxAct .mPill:not(.deep),#lgMatches .mCard .fxAct .mPill:not(.deep){all:unset!important;display:inline!important;font-size:0!important}
#lgMatches .mCard .fxAct .mPill::after{content:"Match room";font-size:14px}
#lgMatches .mCard .fxAct,#lgMatches .mCard .fxAlt,#lgMatches .mCard .dcBell{gap:0!important;justify-content:center!important;text-align:center!important;padding:0 4px!important;
  min-height:48px!important;height:48px!important;box-sizing:border-box!important;border-radius:12px!important;border-width:1px!important;border-style:solid!important;margin:0!important}   /* the bell carried margin-left 8 px: Venue sat off the middle */
#lgMatches .mCard .dcBell{gap:6px!important}
/* never clipped: a label that does not fit on one line wraps inside the 48 px box; the desktop's narrow cards (80 px buttons) use 13 px */
#lgMatches .mCard .fxAct,#lgMatches .mCard .fxAlt{white-space:normal!important;text-overflow:clip!important}
#lgMatches .mCard .fxAct .mPill::after,#lgMatches .mCard .fxAlt::after{white-space:normal;line-height:1.1;text-align:center}
@media (min-width:900px){#lgMatches .mCard .fxAct .mPill::after,#lgMatches .mCard .fxAlt::after{font-size:13px}#lgMatches .mCard .dcBell{font-size:13px!important}}
