/* Shared live-monitor themes. Scores, flags, photos and sponsor images keep their colors. */
html[data-lm-banners="off"] .lm-footer.has-banner,
html[data-lm-banners="off"] .lm-banner-strip,
html[data-lm-banners="off"] .banner { display: none !important; }
html[data-lm-banners="off"] .lm-stage.has-teams .lm-bottom-stack.has-banner {
    height: 46px;
    min-height: 46px;
}

html[data-lm-theme="light"] {
    color-scheme: light;
    --bg: #f0f5f2; --panel: #fff; --panel2: #e5eee8; --line: #c5d5cb;
    --green: #087b3c; --green2: #24683f; --muted: #50665a; --white: #172b20;
    --red: #bd2424; --gold: #80600c;
    --lm-bg: #f0f5f2; --lm-panel: #fff; --lm-panel-2: #e5eee8;
    --lm-ink: #172b20; --lm-muted: #50665a; --lm-line: #c5d5cb;
    --lm-accent: #087b3c; --lm-gold: #80600c; --lm-score: #172b20;
    background: #f0f5f2; color: #172b20;
}
html[data-lm-theme="light"] body { background: #f0f5f2; color: #172b20; }

/* Individual leaderboard. */
html[data-lm-theme="light"] body.lm-monitor { background: linear-gradient(135deg,#f7faf8,#e6f0e9); }
html[data-lm-theme="light"] .lm-topbar,
html[data-lm-theme="light"] .lm-team-card,
html[data-lm-theme="light"] .lm-footer { background: #fff; box-shadow: 0 5px 20px #173b2110; }
html[data-lm-theme="light"] .lm-title h1 { text-shadow: none; }
html[data-lm-theme="light"] .lm-chip { background: #e5eee8; }
html[data-lm-theme="light"] .lm-status p,
html[data-lm-theme="light"] .THECUT,
html[data-lm-theme="light"] .Tcut { background: #fff0cb; color: #735208; }
html[data-lm-theme="light"] .lm-board thead th,
html[data-lm-theme="light"] .HEADSCORING,
html[data-lm-theme="light"] .HEADSCORING2 { background: #e5eee8; color: #50665a; }
html[data-lm-theme="light"] .lm-board tbody tr { background: #fff; }
html[data-lm-theme="light"] .lm-board tbody tr.scoresRowBgAlternate { background: #eef4f0; }
html[data-lm-theme="light"] .lm-player p,
html[data-lm-theme="light"] .lm-live,
html[data-lm-theme="light"] .lm-team-label,
html[data-lm-theme="light"] .lm-team-name,
html[data-lm-theme="light"] .lm-team-score.is-over { color: #172b20; }
html[data-lm-theme="light"] .lm-team-score.is-under { color: #bd2424; }

/* TOP 10 and Four Ball Team Points. */
html[data-lm-theme="light"] .top { background: linear-gradient(110deg,#dceee2,#f6faf7); }
html[data-lm-theme="light"] .kicker,
html[data-lm-theme="light"] .brand { color: #24683f; }
html[data-lm-theme="light"] .clock small,
html[data-lm-theme="light"] .country,
html[data-lm-theme="light"] .thru,
html[data-lm-theme="light"] .foot { color: #50665a; }
html[data-lm-theme="light"] .sub,
html[data-lm-theme="light"] .board th { background: #e5eee8; color: #50665a; border-color: #c5d5cb; }
html[data-lm-theme="light"] .tag { background: #cbe8d5; color: #24683f; }
html[data-lm-theme="light"] .board { background: #fff; box-shadow: 0 5px 20px #173b2110; }
html[data-lm-theme="light"] td { border-color: #c5d5cb; }
html[data-lm-theme="light"][data-lm-variant="top10"] tbody tr:nth-child(even) td,
html[data-lm-theme="light"] .board tr:nth-child(even) td { background: #eaf2ed; }
html[data-lm-theme="light"] .board .pos,
html[data-lm-theme="light"] .board .score,
html[data-lm-theme="light"] .empty { color: #087b3c; }
html[data-lm-theme="light"] .board .neg { color: #bd2424; }
html[data-lm-theme="light"] .board .thru { color: #50665a; }
html[data-lm-theme="light"] .empty-row td { color: #687c70; }

/* Match play brackets. */
html[data-lm-theme="light"] #lmm-top,
html[data-lm-theme="light"] #lmm-foot { background: linear-gradient(90deg,#d8eafa,#edf4fa); border-color: #abc9e1; }
html[data-lm-theme="light"] #lmm-clock,
html[data-lm-theme="light"] .round-head,
html[data-lm-theme="light"] #lmm-tabs .tab { color: #355d7d; }
html[data-lm-theme="light"] .match { background: #fff; border-color: #b7cbdb; box-shadow: 0 2px 8px #173b2110; }
html[data-lm-theme="light"] .match .ply + .ply { border-color: #c5d5df; }
html[data-lm-theme="light"] .match .ply .st { color: #355d7d; }
html[data-lm-theme="light"] .match .ply.leader { background: #dfedf9; }
html[data-lm-theme="light"] .match .ply.leader .st { color: #075d96; }
html[data-lm-theme="light"] .match .ply.win { background: #d9efdf; }
html[data-lm-theme="light"] .match .ply.win .st,
html[data-lm-theme="light"] .match.status-finished .mstat { color: #176831; }
html[data-lm-theme="light"] .match .ply.lose,
html[data-lm-theme="light"] .match .mstat .tt { color: #586e80; }
html[data-lm-theme="light"] .match .mstat { background: #edf3f8; color: #355d7d; border-color: #b7cbdb; }
html[data-lm-theme="light"] .match.status-live .mstat { color: #075d96; }
html[data-lm-theme="light"] .match.status-pending { opacity: .8; }
html[data-lm-theme="light"] #lmm-empty { color: #172b20 !important; }

/* MatchQ and Team Points position monitor. */
html[data-lm-theme="light"] #lado { background: #e3ece7; }
html[data-lm-theme="light"] #card { background: #fff; }
html[data-lm-theme="light"] #lado h1,
html[data-lm-theme="light"] #top h1,
html[data-lm-theme="light"] #cpos,
html[data-lm-theme="light"] #cstats .g,
html[data-lm-theme="light"] #msg,
html[data-lm-theme="light"] table.std td.t,
html[data-lm-theme="light"] table.det td.pt,
html[data-lm-theme="light"] table.mq td.pt { color: #80600c; }
html[data-lm-theme="light"] table.std th,
html[data-lm-theme="light"] table.std td.p,
html[data-lm-theme="light"] table.std td.c,
html[data-lm-theme="light"] table.det th,
html[data-lm-theme="light"] table.det td.rn,
html[data-lm-theme="light"] table.mq th,
html[data-lm-theme="light"] table.mq td.g,
html[data-lm-theme="light"] table.mq td.st,
html[data-lm-theme="light"] #tit .lbl,
html[data-lm-theme="light"] #top .rd,
html[data-lm-theme="light"] #cstats .ch { color: #50665a; border-color: #c5d5cb; }
html[data-lm-theme="light"] table.std tr.cur td { background: #c9e4d4; color: #172b20; }
html[data-lm-theme="light"] table.std tr.cur td.t { color: #715309; }
html[data-lm-theme="light"] table.det tr.fut td { color: #687c70; }
html[data-lm-theme="light"] table.mq td.j .eq { color: #075d96; }
html[data-lm-theme="light"] tr.live td { background: #e4eee8; }
html[data-lm-theme="light"] tr.live td.st { color: #bd2424; }
html[data-lm-theme="light"] tr.finished td.st { color: #176831; }
html[data-lm-theme="light"] tr.finished td.j .nm.win { color: #172b20; }

/* Legacy LMF and the Team Points matrix (including its embedded standings). */
html[data-lm-theme="dark"][data-lm-variant="legacy"],
html[data-lm-theme="dark"][data-lm-variant="matrix"],
html[data-lm-theme="dark"][data-lm-variant="matrix-widget"],
html[data-lm-theme="dark"][data-lm-variant="legacy"] body,
html[data-lm-theme="dark"][data-lm-variant="matrix"] body,
html[data-lm-theme="dark"][data-lm-variant="matrix-widget"] body { background: #07120d; color: #f5f8f6; }
html[data-lm-theme="dark"][data-lm-variant="legacy"] .par,
html[data-lm-theme="dark"][data-lm-variant="legacy"] .scoresRowBgAlternate { background: #1c3024; }
html[data-lm-theme="dark"][data-lm-variant="legacy"] .impar,
html[data-lm-theme="dark"][data-lm-variant="legacy"] .scoresRowBg,
html[data-lm-theme="dark"][data-lm-variant="legacy"] .BODYSCORING { background: #102017; color: #f5f8f6; }
html[data-lm-theme="dark"][data-lm-variant="legacy"] .HEADSCORING,
html[data-lm-theme="dark"][data-lm-variant="legacy"] .HEADSCORING2,
html[data-lm-theme="dark"][data-lm-variant="legacy"] .Tcut { background: #284132; color: #f5f8f6; }
html[data-lm-theme="dark"][data-lm-variant="matrix"] #SCORINGBOX,
html[data-lm-theme="dark"][data-lm-variant="matrix"] #BOARDSCORINGBOX,
html[data-lm-theme="dark"][data-lm-variant="matrix-widget"] #LISTA,
html[data-lm-theme="dark"][data-lm-variant="matrix-widget"] div[style*="background-color:#e9e9e9"] { background: #16271d !important; color: #f5f8f6; }
html[data-lm-theme="dark"][data-lm-variant="matrix"] #AND1 { color: #f5f8f6; }
html[data-lm-theme="dark"][data-lm-variant="matrix"] .CUADCEL,
html[data-lm-theme="dark"][data-lm-variant="matrix"] .CUADBLOK { border-color: #375441; }
