/* ── Live Session (Round Robin scoreboard, standings, podium) ── */

/* Full-screen live session overlay */
.live-session {
  display: none;
  position: fixed;
  inset: 0;
  background: #ECEFF1;
  z-index: var(--z-live-session, 1330);
  flex-direction: column;
  font-family: 'Outfit', sans-serif;
  overflow: hidden;
}
#live-session.ls-dark-live {
  background: #0F1729;
}
.live-session.active { display: flex; }

body.live-session-open {
  overflow: hidden;
}

/* Session header */
.ls-header {
  background: var(--pn);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.ls-header-start {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}
.ls-header-main {
  min-width: 0;
}
.ls-back {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  padding: 10px 16px 10px 12px;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.14);
  font-family: 'Outfit', sans-serif;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
  transition: all 0.15s;
}
.ls-back:hover {
  background: rgba(255, 255, 255, 0.24);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
  transform: translateY(-1px);
}
.ls-back i { font-size: 18px; line-height: 1; }
.ls-title   { color: white; font-size: 16px; font-weight: 700; }
.ls-sub     { color: rgba(255,255,255,0.5); font-size: 11px; margin-top: 1px; }
.ls-round   { display: flex; align-items: center; gap: 10px; }
.ls-round-badge {
  background: var(--py);
  color: var(--pn);
  font-size: 13px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
}
.ls-close {
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: var(--prs);
  border: 1px solid rgba(255,255,255,0.15);
  background: transparent;
  font-family: 'Outfit', sans-serif;
  transition: all 0.15s;
}
.ls-close:hover { background: rgba(255,255,255,0.07); color: white; }

/* Tab bar */
.ls-tabs {
  display: flex;
  background: rgba(0,0,0,0.3);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  flex-shrink: 0;
}
.ls-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}
.ls-tab .ti {
  font-size: 16px;
  opacity: 0.95;
}
.ls-tab-label {
  letter-spacing: 0.01em;
}
.ls-tab:hover:not(.on) {
  color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.05);
}
.ls-tab.on {
  color: #FFEB3B;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.08);
  border-bottom-color: var(--py);
}
.ls-tab.on .ti {
  color: var(--py);
}

/* Tab hover tooltips (shootout ladder tabs) */
.ls-tab[data-ls-tip] {
  position: relative;
}
.ls-tab[data-ls-tip]::after {
  content: attr(data-ls-tip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%);
  min-width: 140px;
  max-width: 220px;
  padding: 6px 10px;
  border-radius: 8px;
  background: #1a2332;
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
  white-space: normal;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.12s, visibility 0.12s;
  z-index: 20;
}
.ls-tab[data-ls-tip]::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: calc(100% + 2px);
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #1a2332;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.12s, visibility 0.12s;
  z-index: 20;
}
.ls-tab[data-ls-tip]:hover::after,
.ls-tab[data-ls-tip]:hover::before,
.ls-tab[data-ls-tip]:focus-visible::after,
.ls-tab[data-ls-tip]:focus-visible::before {
  opacity: 1;
  visibility: visible;
}

/* Session body */
.ls-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
}

/* Court grid */
.courts-grid,
.cd-court-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: 14px;
}
@media (max-width: 767px) {
  .ls-header {
    position: sticky;
    top: 0;
    z-index: 5;
    padding-top: max(12px, env(safe-area-inset-top, 0));
  }
  .ls-tabs {
    position: sticky;
    top: 52px;
    z-index: 4;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    flex-wrap: nowrap;
  }
  .ls-tabs::-webkit-scrollbar { display: none; }
  #live-session .ls-tab {
    flex-shrink: 0;
    min-height: 48px;
    min-width: 44px;
    padding: 10px 12px;
    font-size: 13px;
    justify-content: center;
  }
  #live-session .ls-tab-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  #live-session .ls-tab .ti {
    font-size: 20px;
  }
  #live-session.ls-mlp-live .ls-tab,
  #live-session:has(.ls-mlp-screen) .ls-tab {
    padding: 10px 11px;
    min-width: 42px;
  }
  .ls-body { padding: 12px; padding-bottom: max(16px, env(safe-area-inset-bottom, 0)); }
  .courts-grid,
  .cd-court-grid { grid-template-columns: 1fr; gap: 10px; }
  .ls-close { min-height: 44px; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .courts-grid,
  .cd-court-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Match card */
.match-card {
  background: #1C2A4A;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  transition: border-color 0.2s;
}
.match-card.complete { border-color: rgba(76,175,80,0.4); }
.match-card.bye-card { opacity: 0.55; }

.mc-header {
  background: rgba(0,0,0,0.2);
  padding: 8px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mc-court  { font-size: 10px; font-weight: 600; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.6px; }
.mc-status { font-size: 10px; font-weight: 600; padding: 2px 8px; border-radius: 10px; }
.mc-status.in-progress { background: #FFF3E0; color: #E65100; }
.mc-status.done        { background: var(--success-bg); color: var(--success-fg); }
.mc-status.waiting     { background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.4); }

.mc-body { padding: 14px; }

/* Player row */
.mc-player {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--prs);
  margin-bottom: 4px;
  transition: background 0.15s;
}
.mc-player.winner { background: rgba(76,175,80,0.15); }
.mc-player.loser  { opacity: 0.5; }
.mc-av {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: white;
  flex-shrink: 0;
}
.mc-name  { flex: 1; font-size: 13px; font-weight: 500; color: white; }
.mc-dupr  { font-size: 10px; color: rgba(255,255,255,0.4); }
.mc-score-display {
  font-size: 22px;
  font-weight: 700;
  color: white;
  min-width: 32px;
  text-align: center;
}
.mc-score-display.winner-score { color: var(--pg); }

.mc-vs {
  text-align: center;
  font-size: 10px;
  font-weight: 600;
  color: rgba(255,255,255,0.2);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 2px 0;
}

/* Score entry */
.score-entry {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.score-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.score-input {
  width: 64px;
  height: 44px;
  background: rgba(255,255,255,0.07);
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: var(--prs);
  color: white;
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  font-family: 'Outfit', sans-serif;
  outline: none;
}
.score-input:focus { border-color: var(--pg); }
.score-input.valid { border-color: var(--pg); }
.score-input.invalid { border-color: #E53935; }
.score-btns { display: flex; gap: 5px; }
.score-btn {
  width: 28px; height: 28px;
  border-radius: 6px;
  border: none;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Outfit', sans-serif;
  transition: all 0.12s;
}
.score-btn-plus  { background: rgba(76,175,80,0.2);  color: var(--pg); }
.score-btn-minus { background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.5); }
.score-btn:hover { transform: scale(1.1); }
.score-sep { font-size: 18px; font-weight: 700; color: rgba(255,255,255,0.2); text-align: center; }

.complete-btn {
  width: 100%;
  margin-top: 10px;
  padding: 9px;
  background: var(--pg);
  color: white;
  border: none;
  border-radius: var(--prs);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  transition: background 0.15s;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.complete-btn:hover { background: var(--pgd); }
.complete-btn:disabled { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.3); cursor: not-allowed; }

.op-bye-bar {
  background: rgba(255, 243, 224, 0.12);
  border: 1px solid rgba(255, 183, 77, 0.35);
  border-radius: var(--prs);
  padding: 10px 12px;
  margin-bottom: 12px;
}
.op-bye-hd {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: #FFB74D;
  margin-bottom: 4px;
}
.op-bye-count {
  background: rgba(255, 183, 77, 0.25);
  padding: 1px 7px;
  border-radius: 10px;
  font-size: 10px;
}
.op-bye-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.op-bye-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  background: rgba(0, 0, 0, 0.2);
  padding: 4px 10px 4px 4px;
  border-radius: 20px;
}
.op-bye-chip .mc-av { width: 22px; height: 22px; font-size: 9px; }
.match-card.op-short-court { border-color: rgba(255, 183, 77, 0.4); }

.bye-label {
  text-align: center;
  padding: 12px;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  font-style: italic;
}

/* Next round button */
.next-round-bar {
  display: none;
  padding: 16px 20px 20px;
  text-align: center;
  background: transparent;
  background-image: none;
  box-shadow: none;
}
/* Legacy dark live session (team league without light wrap) */
.next-round-bar--dark {
  background-color: #0F1729;
  background-image: none;
}
/* Light live session — beats any cached dark .next-round-bar gradient */
.ls-content-light .next-round-bar.show,
.mlp-action-bar {
  background-color: #ECEFF1 !important;
  background-image: none !important;
  box-shadow: none !important;
}
.next-round-bar.show { display: block; }
.next-round-btn {
  padding: 12px 32px;
  background: var(--py);
  color: var(--pn);
  border: none;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  box-shadow: 0 4px 20px rgba(249,168,37,0.4);
  transition: all 0.15s;
}
.next-round-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(249,168,37,0.5); }

/* ── Standings table (live session dark UI only) ── */
#live-session .standings-table {
  width: 100%;
  border-collapse: collapse;
}
#live-session .standings-table th {
  text-align: left;
  font-size: 9px;
  font-weight: 600;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 8px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
#live-session .standings-table td {
  padding: 10px;
  font-size: 12px;
  color: rgba(255,255,255,0.85);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
#live-session .standings-table tr:first-child td { color: white; }
#live-session .standings-table tr.highlight td { background: rgba(249,168,37,0.06); }
.st-rank {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
}
.st-rank.gold   { background: var(--py); color: var(--pn); }
.st-rank.silver { background: #B0BEC5; color: white; }
.st-rank.bronze { background: #A1887F; color: white; }
.st-rank.other  { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.5); }
.st-name-cell   { display: flex; align-items: center; gap: 8px; }
.st-av {
  width: 26px; height: 26px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 700; color: white; flex-shrink: 0;
}
.st-bar {
  height: 3px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 3px;
  width: 60px;
}
.st-bar-fill { height: 3px; border-radius: 2px; background: var(--pg); }

/* ── Final standings ── */
.final-screen {
  text-align: center;
  padding: 30px 20px;
}
.final-trophy { font-size: 48px; margin-bottom: 10px; }
.final-title  { color: white; font-size: 22px; font-weight: 700; margin-bottom: 4px; }
.final-sub    { color: rgba(255,255,255,0.4); font-size: 12px; margin-bottom: 24px; }
.podium {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
}
.podium-place {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.podium-av {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: white;
}
.podium-name { font-size: 11px; font-weight: 600; color: white; text-align: center; max-width: 70px; }
.podium-score { font-size: 10px; color: rgba(255,255,255,0.4); }
.podium-block {
  border-radius: 8px 8px 0 0;
  width: 64px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 700;
}
.podium-block.p1 { height: 64px; background: var(--py); color: var(--pn); }
.podium-block.p2 { height: 48px; background: #B0BEC5; color: white; }
.podium-block.p3 { height: 36px; background: #A1887F; color: white; }
.export-btn {
  padding: 10px 24px;
  background: rgba(255,255,255,0.08);
  color: white;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 25px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  margin-top: 8px;
  transition: all 0.15s;
}
.export-btn:hover { background: rgba(255,255,255,0.15); }

/* Round progress dots */
.round-dots {
  display: flex;
  gap: 5px;
  align-items: center;
}
.round-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  transition: background 0.2s;
}
.round-dot.done    { background: var(--pg); }
.round-dot.current { background: var(--py); }

.ls-section-hd { color: rgba(255,255,255,0.85); font-size: 13px; font-weight: 600; margin-bottom: 10px; }
.ls-hint { color: rgba(255,255,255,0.45); font-size: 11px; margin-bottom: 12px; line-height: 1.45; }
.ls-sitout-hint { opacity: 0.65; font-style: italic; margin: 4px 0 2px 8px; }
.ls-round-hd { color: var(--py); font-size: 10px; font-weight: 700; letter-spacing: 0.04em; margin: 10px 0 4px; text-transform: uppercase; }
.ls-add-match { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 12px 0; }
.ls-select {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: white;
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  padding: 8px 10px;
  border-radius: 8px;
  max-width: 140px;
}
.ladder-list { display: flex; flex-direction: column; gap: 6px; }
.ladder-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
}
.ladder-rank { color: var(--py); font-weight: 700; font-size: 13px; min-width: 22px; }
.ls-log-row { font-size: 11px; color: rgba(255,255,255,0.55); padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.king-tag { font-size: 10px; margin-left: 4px; }

/* ── Session opt-in (game day check-in) ── */
#live-session .ls-body:has(.optin-screen) {
  padding: 12px clamp(12px, 2vw, 24px) 20px;
  background: #ECEFF1;
}
.optin-screen {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-bottom: 8px;
}
.optin-nav-bar {
  padding: 0 0 10px;
}
.ph-back-btn--optin {
  border-color: rgba(46, 125, 50, 0.45);
  background: linear-gradient(180deg, #F1F8F2 0%, #E8F5E9 100%);
  color: #1B5E20;
}
.ph-back-btn--optin:hover {
  border-color: var(--pg);
  color: #fff;
  background: linear-gradient(180deg, #66BB6A, var(--pg));
}
.optin-compact-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 8px 12px;
  margin-bottom: 10px;
}
.optin-compact-bar-left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
}
.optin-session-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ps);
  background: white;
  border: 0.5px solid var(--pb);
}
.optin-td-guide {
  font-size: 13px;
  color: var(--ps);
  position: relative;
}
.optin-td-guide-summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 20px;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: 13px;
  color: var(--pn);
  background: white;
  border: 0.5px solid rgba(249, 168, 37, 0.45);
  user-select: none;
}
.optin-td-guide-summary i { color: var(--py); font-size: 15px; }
.optin-td-guide-summary::-webkit-details-marker { display: none; }
.optin-td-guide-summary:hover { background: #FFF8E1; border-color: var(--py); }
.optin-td-guide[open] .optin-td-guide-summary {
  border-color: var(--py);
  background: #FFF8E1;
  color: var(--pn);
}
.optin-td-guide-body {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 20;
  min-width: min(100%, 420px);
  max-width: 480px;
  padding: 14px 16px;
  border-radius: var(--pr);
  background: white;
  border: 1px solid var(--pb);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  line-height: 1.55;
  font-size: 14px;
  color: var(--ps);
}
.optin-td-guide-body p { margin: 0 0 10px; }
.optin-td-guide-body p:last-child { margin-bottom: 0; }
.optin-td-guide-body strong { color: var(--pn); font-weight: 700; }
.optin-td-guide-note {
  font-size: 12px;
  color: #546E7A;
  font-style: italic;
  margin-top: 4px;
  padding-top: 8px;
  border-top: 0.5px solid var(--pb);
}
.optin-chip-tip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-right: 2px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #FFE082;
  font-size: 14px;
  cursor: help;
  vertical-align: middle;
}
.optin-chip-tip:hover,
.optin-chip-tip:focus-visible {
  background: rgba(249, 168, 37, 0.35);
  color: #fff;
  outline: 2px solid rgba(249, 168, 37, 0.6);
  outline-offset: 1px;
}
.optin-hero {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  margin-bottom: 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(249, 168, 37, 0.18) 0%, rgba(30, 58, 95, 0.9) 55%, #1C2A4A 100%);
  border: 1px solid rgba(249, 168, 37, 0.35);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}
.optin-hero-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--py);
  color: var(--pn);
  font-size: 24px;
  box-shadow: 0 2px 10px rgba(249, 168, 37, 0.45);
}
.optin-hero-text { flex: 1; min-width: 0; }
.optin-title {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
}
.optin-locked-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.15);
  vertical-align: middle;
}
.optin-subtitle {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
}
.optin-game-day-badge {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  color: var(--py);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(249, 168, 37, 0.4);
}
.optin-stats {
  margin-bottom: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #1C2A4A;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.optin-progress-block { margin-bottom: 12px; }
.optin-progress-track {
  height: 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin-bottom: 8px;
}
.optin-progress-fill {
  height: 100%;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--pg) 0%, #81C784 100%);
  transition: width 0.25s ease;
  min-width: 0;
}
.optin-progress-label {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}
.optin-progress-label strong { color: var(--pg); font-size: 18px; font-weight: 700; }
.optin-stat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.optin-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
}
.optin-chip--active {
  background: rgba(76, 175, 80, 0.28);
  color: #C8E6C9;
  border: 1px solid rgba(129, 199, 132, 0.7);
}
.optin-chip--out {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.22);
}
.optin-chip--inactive {
  background: rgba(96, 125, 139, 0.35);
  color: #ECEFF1;
  border: 1px solid rgba(176, 190, 197, 0.5);
}
.optin-chip--waitlist {
  background: rgba(255, 152, 0, 0.28);
  color: #FFE0B2;
  border: 1px solid rgba(255, 183, 77, 0.7);
}
.optin-waitlist-summary {
  margin: 10px 0 0;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  align-items: center;
  gap: 6px;
}
.optin-waitlist-summary--hidden { display: none; }
.optin-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.optin-search-wrap {
  flex: 1;
  min-width: 140px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.optin-search-wrap i { color: rgba(255, 255, 255, 0.65); font-size: 18px; }
.optin-search {
  flex: 1;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 15px;
  font-family: 'Outfit', sans-serif;
  outline: none;
  min-width: 0;
}
.optin-search::placeholder { color: rgba(255, 255, 255, 0.5); }
.optin-tool-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  min-height: 44px;
  border-radius: 10px;
  border: 1.5px solid rgba(249, 168, 37, 0.65);
  background: rgba(249, 168, 37, 0.22);
  color: #FFE082;
  font-size: 14px;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.optin-tool-btn:hover { background: rgba(249, 168, 37, 0.28); border-color: var(--py); }
.optin-tool-btn--ghost {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.75);
}
.optin-tool-btn--ghost:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.optin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 12px;
  margin-bottom: 16px;
}
.optin-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  border-radius: 12px;
  background: #1C2A4A;
  border: 2px solid rgba(255, 255, 255, 0.14);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.12s;
}
.optin-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 14px 10px;
}
.optin-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 0 10px 10px;
}
.optin-act-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.25);
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.optin-act-btn--play.on {
  background: rgba(76, 175, 80, 0.35);
  border-color: #81C784;
  color: #E8F5E9;
  box-shadow: 0 0 0 1px rgba(129, 199, 132, 0.4);
}
.optin-act-btn--play.waitlist {
  background: rgba(255, 152, 0, 0.3);
  border-color: #FFB74D;
  color: #FFF3E0;
  box-shadow: 0 0 0 1px rgba(255, 183, 77, 0.35);
}
.optin-act-btn--play:hover:not(:disabled) {
  background: rgba(76, 175, 80, 0.25);
  border-color: #A5D6A7;
}
.optin-act-btn--absent.on {
  background: #7B1F32;
  border-color: #5C1525;
  color: #fff;
  box-shadow: 0 0 0 1px rgba(123, 31, 50, 0.35);
}
.optin-act-btn--absent:hover:not(:disabled) {
  background: rgba(123, 31, 50, 0.15);
  border-color: #7B1F32;
  color: #7B1F32;
}
.optin-act-btn:disabled { opacity: 0.45; cursor: default; }
.optin-card-locked-tag {
  padding: 8px 12px 12px;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
}
.optin-card--hidden { display: none; }
.optin-card--in {
  border-color: rgba(76, 175, 80, 0.55);
  box-shadow: 0 0 0 1px rgba(76, 175, 80, 0.2), 0 4px 14px rgba(76, 175, 80, 0.12);
}
.optin-card--out { opacity: 0.95; }
.optin-card--inactive {
  opacity: 0.82;
  border-color: rgba(144, 164, 174, 0.55);
  background: rgba(28, 42, 74, 0.85);
}
.optin-card--waitlist {
  border-color: rgba(255, 183, 77, 0.55);
  box-shadow: 0 0 0 1px rgba(255, 183, 77, 0.2), 0 4px 14px rgba(255, 152, 0, 0.1);
}
.optin-card-main {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 10px 12px 12px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  text-align: left;
  min-height: 56px;
  color: inherit;
}
.optin-card-main:hover:not(:disabled) { background: rgba(255, 255, 255, 0.04); }
.optin-card-main:disabled { cursor: default; }
.optin-rank {
  flex-shrink: 0;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 44px;
  padding: 4px 6px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.25);
  font-weight: 800;
  text-align: center;
}
.optin-rank-icon { font-size: 18px; line-height: 1; }
.optin-rank-num { font-size: 15px; line-height: 1.1; color: rgba(255, 255, 255, 0.85); }
.optin-rank--1 { background: rgba(255, 213, 79, 0.2); }
.optin-rank--1 .optin-rank-icon,
.optin-rank--1 .optin-rank-num { color: #FFD54F; }
.optin-rank--2 { background: rgba(224, 224, 224, 0.15); }
.optin-rank--2 .optin-rank-icon,
.optin-rank--2 .optin-rank-num { color: #F5F5F5; }
.optin-rank--3 { background: rgba(255, 171, 145, 0.18); }
.optin-rank--3 .optin-rank-icon,
.optin-rank--3 .optin-rank-num { color: #FFAB91; }
.optin-rank--top5 .optin-rank-icon,
.optin-rank--top5 .optin-rank-num { color: #FFE082; }
.optin-rank--na .optin-rank-num { color: rgba(255, 255, 255, 0.45); font-size: 13px; }
.optin-av { width: 44px; height: 44px; font-size: 14px; }
.optin-card-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.optin-card-name {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.optin-card-meta { font-size: 12px; color: rgba(255, 255, 255, 0.72); line-height: 1.35; }
.optin-status-pill {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  border-radius: 16px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.optin-status-pill--in {
  background: rgba(76, 175, 80, 0.25);
  color: #A5D6A7;
}
.optin-status-pill--out {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.45);
}
.optin-status-pill--inactive {
  background: rgba(96, 125, 139, 0.3);
  color: #B0BEC5;
}
.optin-inactive-btn {
  flex-shrink: 0;
  width: 44px;
  border: none;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.15);
  color: rgba(255, 255, 255, 0.35);
  font-size: 18px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.optin-inactive-btn:hover:not(:disabled) {
  background: rgba(96, 125, 139, 0.35);
  color: #CFD8DC;
}
.optin-inactive-btn.on {
  background: rgba(96, 125, 139, 0.5);
  color: #ECEFF1;
}
.optin-inactive-btn:disabled { cursor: default; opacity: 0.5; }
.optin-early {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 152, 0, 0.1);
  border: 1px solid rgba(255, 183, 77, 0.3);
}
.optin-early-hd {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 600;
  color: #FFB74D;
  display: flex;
  align-items: center;
  gap: 6px;
}
.optin-early-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.optin-early-row:last-child { border-bottom: none; }
.optin-early-btn {
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 183, 77, 0.5);
  background: rgba(255, 183, 77, 0.15);
  color: #FFE082;
  font-size: 11px;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  cursor: pointer;
}
.optin-footer {
  text-align: center;
}
.optin-footer-hint {
  margin: 0 0 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.45;
}
.optin-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 560px;
  padding: 16px 28px;
  font-size: 16px;
  font-weight: 700;
}
.optin-cta-badge {
  min-width: 26px;
  padding: 2px 8px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.2);
  font-size: 13px;
  font-weight: 800;
}
.optin-cta--disabled,
.optin-cta:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}
.optin-event-name {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--py);
  letter-spacing: 0.02em;
  line-height: 1.35;
}
.optin-session-date {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
}
.optin-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: start;
}
.optin-capacity-row {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.optin-capacity-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 6px;
}
.optin-capacity-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.optin-capacity-input {
  width: 72px;
  height: 40px;
  border-radius: 10px;
  border: 1.5px solid rgba(249, 168, 37, 0.5);
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  font-family: 'Outfit', sans-serif;
}
.optin-capacity-hint { font-size: 12px; color: rgba(255, 255, 255, 0.7); }
.optin-name-rank {
  margin-left: 6px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
}
.optin-inactive-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 6px 10px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #FFE082;
  background: rgba(255, 152, 0, 0.2);
  border-bottom: 1px solid rgba(255, 183, 77, 0.35);
}
.optin-card--inactive { flex-direction: column; }
.optin-card--inactive .optin-card-main { border: 1px dashed rgba(255, 183, 77, 0.4); }
.optin-side-btn {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 52px;
  padding: 8px 6px;
  border: none;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.2);
  color: rgba(255, 255, 255, 0.5);
  font-size: 18px;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  transition: background 0.15s, color 0.15s;
}
.optin-side-label {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.optin-side-btn--inactive.on,
.optin-side-btn.on {
  background: rgba(255, 183, 77, 0.25);
  color: #FFE082;
}
.optin-side-btn--inactive.on:hover:not(:disabled) {
  background: rgba(76, 175, 80, 0.35);
  color: #C8E6C9;
}
.optin-aside {
  position: sticky;
  top: 8px;
  padding: 14px;
  border-radius: 14px;
  background: linear-gradient(160deg, #1a2744 0%, #0f1729 100%);
  border: 1px solid rgba(249, 168, 37, 0.25);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}
.optin-pools-live-hd {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}
.optin-pools-title {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}
.optin-pools-algo {
  margin: 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.4;
}
.optin-pools-count {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 12px;
  background: rgba(249, 168, 37, 0.2);
  color: var(--py);
  border: 1px solid rgba(249, 168, 37, 0.35);
}
.optin-pools-empty {
  text-align: center;
  padding: 28px 16px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
  line-height: 1.5;
}
.optin-pools-empty i { font-size: 32px; display: block; margin-bottom: 10px; opacity: 0.35; }
.optin-courts-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: min(60vh, 520px);
  overflow-y: auto;
  padding-right: 4px;
}
.optin-court-card {
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 4px solid rgba(100, 181, 246, 0.85);
  overflow: hidden;
  animation: optin-court-in 0.35s ease backwards;
}
@keyframes optin-court-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.optin-court-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: rgba(0, 0, 0, 0.2);
}
.optin-court-label {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
}
.optin-court-meta { font-size: 12px; color: rgba(255, 255, 255, 0.72); }
.optin-court-list {
  list-style: none;
  margin: 0;
  padding: 6px 8px 8px;
}
.optin-court-player {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 4px;
  border-radius: 8px;
  transition: background 0.12s;
}
.optin-court-player:hover { background: rgba(255, 255, 255, 0.05); }
.optin-court-rank {
  min-width: 28px;
  font-size: 11px;
  font-weight: 700;
  color: var(--py);
}
.optin-court-av { width: 32px; height: 32px; font-size: 11px; }
.optin-court-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.optin-court-name-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}
.optin-court-name {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}
.optin-court-ts {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: #FFE082;
  white-space: nowrap;
}
.optin-court-meta-line { font-size: 11px; color: rgba(255, 255, 255, 0.65); }
.optin-court-dupr { font-size: 11px; color: rgba(255, 255, 255, 0.65); }
.optin-late-panel {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.optin-late-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.optin-late-title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: #FFCC80;
  display: flex;
  align-items: center;
  gap: 8px;
}
.optin-late-count {
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 12px;
  background: rgba(255, 193, 7, 0.15);
  color: #FFE082;
  border: 1px solid rgba(255, 213, 79, 0.35);
}
.optin-late-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.optin-late-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-radius: 10px;
  background: rgba(255, 193, 7, 0.08);
  border: 1px solid rgba(255, 213, 79, 0.25);
}
.optin-late-name { flex: 1; font-size: 13px; font-weight: 600; }
.optin-late-actions { display: flex; gap: 6px; }
.optin-late-btn {
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.2);
  color: #fff;
  cursor: pointer;
}
.optin-late-btn--ok { border-color: rgba(76, 175, 80, 0.5); color: #A5D6A7; }
.optin-late-btn--no { border-color: rgba(244, 67, 54, 0.4); color: #EF9A9A; }
.optin-late-card-msg {
  margin: 0 0 8px;
  font-size: 11px;
  color: #FFE082;
  line-height: 1.35;
}
.optin-late-card-msg--rejected { color: #EF9A9A; }
.optin-card--late { border-color: rgba(255, 193, 7, 0.45); }
.optin-card--late-rejected { opacity: 0.75; border-color: rgba(244, 67, 54, 0.35); }
.optin-waitlist-panel {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.optin-waitlist-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}
.optin-waitlist-title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: #FFE0B2;
  display: flex;
  align-items: center;
  gap: 8px;
}
.optin-waitlist-count {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 12px;
  background: rgba(255, 152, 0, 0.2);
  color: #FFE0B2;
  border: 1px solid rgba(255, 183, 77, 0.35);
}
.optin-waitlist-note {
  margin: 0 0 10px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.4;
}
.optin-waitlist-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.optin-waitlist-player {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 6px;
  border-radius: 10px;
  background: rgba(255, 152, 0, 0.08);
  border: 1px solid rgba(255, 183, 77, 0.2);
}
.optin-waitlist-pos {
  flex-shrink: 0;
  min-width: 24px;
  font-size: 12px;
  font-weight: 800;
  color: #FFB74D;
  text-align: center;
}
.optin-waitlist-av { width: 32px; height: 32px; font-size: 11px; flex-shrink: 0; }
.optin-waitlist-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.optin-waitlist-name {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}
.optin-waitlist-ts {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: #FFE082;
}
.optin-waitlist-ts .ti { font-size: 12px; opacity: 0.85; }
.optin-pools-warn {
  margin: 10px 0 0;
  font-size: 11px;
  color: #FFAB91;
  text-align: center;
}
/* Opt-in: light theme aligned with main app (events panels) */
#live-session:has(.optin-screen) {
  background: #ECEFF1;
}
#live-session:has(.optin-screen) .ls-header {
  background: white;
  border-bottom: 0.5px solid var(--pb);
}
/* Opt-in body already has ph-back-btn — hide header ls-back (white-on-white, invisible). */
#live-session:has(.optin-screen) .ls-back {
  display: none;
}
#live-session:has(.optin-screen) .ls-title {
  color: var(--ps);
}
#live-session:has(.optin-screen) .ls-close {
  color: #546E7A;
  border-color: var(--pb);
  background: white;
}
#live-session:has(.optin-screen) .ls-close:hover {
  background: #F5F5F5;
  color: var(--ps);
}
#live-session:has(.optin-screen) .optin-stats,
#live-session:has(.optin-screen) .optin-card,
#live-session:has(.optin-screen) .optin-aside,
#live-session:has(.optin-screen) .optin-court-card {
  background: white;
  border-color: var(--pb);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
#live-session:has(.optin-screen) .optin-card--in {
  border-color: rgba(76, 175, 80, 0.55);
  box-shadow: 0 0 0 1px rgba(76, 175, 80, 0.15);
}
#live-session:has(.optin-screen) .optin-card-name,
#live-session:has(.optin-screen) .optin-court-name,
#live-session:has(.optin-screen) .optin-pools-title,
#live-session:has(.optin-screen) .optin-court-label {
  color: var(--ps);
}
#live-session:has(.optin-screen) .optin-card-meta,
#live-session:has(.optin-screen) .optin-progress-label,
#live-session:has(.optin-screen) .optin-court-meta,
#live-session:has(.optin-screen) .optin-pools-algo,
#live-session:has(.optin-screen) .optin-footer-hint {
  color: #546E7A;
}
#live-session:has(.optin-screen) .optin-progress-track {
  background: #E0E0E0;
}
#live-session:has(.optin-screen) .optin-chip--active {
  background: #E8F5E9;
  color: #2E7D32;
  border-color: #A5D6A7;
}
#live-session:has(.optin-screen) .optin-chip--out {
  background: #F5F5F5;
  color: #546E7A;
  border-color: var(--pb);
}
#live-session:has(.optin-screen) .optin-chip--inactive {
  background: #ECEFF1;
  color: #607D8B;
  border-color: #CFD8DC;
}
#live-session:has(.optin-screen) .optin-chip--waitlist {
  background: #FFF3E0;
  color: #E65100;
  border-color: #FFCC80;
}
#live-session:has(.optin-screen) .optin-waitlist-panel {
  border-top-color: var(--pb);
}
#live-session:has(.optin-screen) .optin-waitlist-title {
  color: #E65100;
}
#live-session:has(.optin-screen) .optin-waitlist-count {
  background: #FFF3E0;
  color: #E65100;
  border-color: #FFCC80;
}
#live-session:has(.optin-screen) .optin-waitlist-note {
  color: #78909C;
}
#live-session:has(.optin-screen) .optin-waitlist-player {
  background: #FFF8E1;
  border-color: #FFE082;
}
#live-session:has(.optin-screen) .optin-waitlist-pos {
  color: #EF6C00;
}
#live-session:has(.optin-screen) .optin-waitlist-name {
  color: var(--ps);
}
#live-session:has(.optin-screen) .optin-waitlist-ts {
  color: #F57C00;
}
#live-session:has(.optin-screen) .optin-card--waitlist {
  border-color: rgba(255, 152, 0, 0.45);
  box-shadow: 0 0 0 1px rgba(255, 183, 77, 0.15);
}
#live-session:has(.optin-screen) .optin-act-btn--play.waitlist {
  background: #FFF3E0;
  border-color: #FFB74D;
  color: #E65100;
}
#live-session:has(.optin-screen) .optin-chip-tip {
  background: #F5F5F5;
  color: #78909C;
}
#live-session:has(.optin-screen) .optin-search-wrap {
  background: white;
  border: 0.5px solid var(--pb);
}
#live-session:has(.optin-screen) .optin-search {
  color: var(--ps);
}
#live-session:has(.optin-screen) .optin-search-wrap i {
  color: #90A4AE;
}
#live-session:has(.optin-screen) .optin-tool-btn {
  background: rgba(249, 168, 37, 0.15);
  border-color: rgba(249, 168, 37, 0.45);
  color: #E65100;
}
#live-session:has(.optin-screen) .optin-tool-btn--ghost {
  background: white;
  border-color: var(--pb);
  color: #546E7A;
}
#live-session:has(.optin-screen) .optin-act-btn {
  background: #F5F5F5;
  border-color: var(--pb);
  color: #546E7A;
}
#live-session:has(.optin-screen) .optin-act-btn--play.on {
  background: #E8F5E9;
  border-color: #81C784;
  color: #2E7D32;
}
#live-session:has(.optin-screen) .optin-act-btn--absent.on {
  background: #7B1F32;
  border-color: #5C1525;
  color: #fff;
  box-shadow: 0 0 0 1px rgba(123, 31, 50, 0.25);
}
#live-session:has(.optin-screen) .optin-act-btn--absent:hover:not(:disabled) {
  background: #FFEBEE;
  border-color: #7B1F32;
  color: #7B1F32;
}
#live-session:has(.optin-screen) .optin-card--inactive {
  border-color: rgba(123, 31, 50, 0.45);
  background: #FFF5F5;
}
#live-session:has(.optin-screen) .next-round-bar {
  position: sticky;
  bottom: 0;
  background: #ECEFF1;
  border-top: 0.5px solid var(--pb);
  padding: 12px 16px 16px;
  box-shadow: none;
}
#live-session:has(.optin-screen) .optin-cta-badge {
  background: rgba(0, 0, 0, 0.12);
}
#live-session:has(.optin-screen) .optin-rank {
  background: #F5F5F5;
}
#live-session:has(.optin-screen) .optin-rank-num {
  color: var(--ps);
}
#live-session:has(.optin-screen) .optin-aside {
  border: 0.5px solid rgba(249, 168, 37, 0.35);
}
#live-session:has(.optin-screen) .optin-court-hd {
  background: #FAFAFA;
}
#live-session:has(.optin-screen) .optin-court-ts {
  color: #F57C00;
}
#live-session:has(.optin-screen) .optin-pools-count {
  background: rgba(249, 168, 37, 0.12);
  color: #E65100;
  border-color: rgba(249, 168, 37, 0.35);
}
#live-session:has(.optin-screen) .optin-capacity-row {
  border-top-color: var(--pb);
}
#live-session:has(.optin-screen) .optin-capacity-label,
#live-session:has(.optin-screen) .optin-capacity-hint {
  color: #546E7A;
}
#live-session:has(.optin-screen) .optin-capacity-input {
  background: white;
  color: var(--ps);
  border-color: rgba(249, 168, 37, 0.45);
}
#live-session:has(.optin-screen) .optin-locked-tag {
  background: #FFF3E0;
  color: #E65100;
}

/* Phone: single column, larger touch targets */
@media (max-width: 767px) {
  .optin-hero { flex-wrap: wrap; padding: 14px; }
  .optin-title { font-size: 16px; }
  .optin-game-day-badge { width: 100%; justify-content: center; }
  .optin-layout { grid-template-columns: 1fr; }
  .optin-aside { position: static; max-height: none; order: -1; }
  .optin-courts-grid { max-height: 280px; }
  .optin-grid { grid-template-columns: 1fr; gap: 8px; }
  .optin-card-main { min-height: 52px; padding: 14px 10px 14px 14px; }
  .optin-side-btn { min-width: 56px; min-height: 52px; }
  .optin-toolbar { flex-direction: column; align-items: stretch; }
  .optin-search-wrap { width: 100%; }
  .optin-tool-btn { justify-content: center; min-height: 44px; }
}
/* Tablet: two columns roster + preview on top */
@media (min-width: 768px) and (max-width: 1023px) {
  .optin-layout { grid-template-columns: 1fr; }
  .optin-aside { order: -1; }
  .optin-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .optin-courts-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: 360px;
  }
}
/* Desktop: roster + sticky court preview */
@media (min-width: 1024px) {
  .optin-layout {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
    gap: 24px;
  }
  .optin-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .optin-courts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    max-height: min(72vh, 640px);
  }
}
@media (min-width: 1400px) {
  .optin-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .optin-layout {
    grid-template-columns: minmax(0, 1fr) minmax(380px, 460px);
  }
}
@media (min-width: 1800px) {
  .optin-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
/* Legacy admin rows (player tab) */
.optin-list { display: flex; flex-direction: column; gap: 8px; margin: 12px 0; }
.optin-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px; background: rgba(255,255,255,0.05); border-radius: 8px;
  color: white; font-size: 12px;
}
.optin-row label { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.optin-inactive { font-size: 10px; color: rgba(255,255,255,0.45); }

.match-admin-bar { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.match-admin-hint {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0 0 12px;
  padding: 10px 12px;
  font-size: 12px;
  line-height: 1.45;
  color: #546E7A;
  background: #EFF6FF;
  border: 0.5px solid rgba(37, 99, 235, 0.16);
  border-radius: 10px;
}
.match-admin-hint .ti {
  flex-shrink: 0;
  margin-top: 1px;
  font-size: 15px;
  color: var(--pg);
}
.ma-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.75);
  font-size: 10px;
  padding: 5px 8px;
  border-radius: 6px;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
}
.ma-btn .ti { font-size: 12px; opacity: 0.9; }
.ma-btn:hover { background: rgba(255,255,255,0.14); }

.bo-series-wrap { margin-top: 8px; padding-top: 8px; border-top: 0.5px solid var(--pb, #E0E0E0); }
.bo-series-hd { margin-bottom: 4px !important; }
.bo-games { display: flex; gap: 6px; margin: 8px 0; }
.bo-dot {
  width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.25);
}
.bo-dot.g-win { background: var(--pg); border-color: var(--pg); }
.bo-dot.g-loss { background: #EF5350; border-color: #EF5350; }
.bo-record { display: flex; gap: 6px; margin-bottom: 6px; }

.admin-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.pool-hd { color: var(--py); font-size: 11px; font-weight: 600; margin: 12px 0 6px; text-transform: uppercase; }
.mv-preview { color: rgba(255,255,255,0.6); font-size: 11px; margin: 8px 0 0 16px; line-height: 1.6; }

.bracket-stub {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center;
  margin-top: 16px; max-width: 320px;
}
.bracket-node {
  background: rgba(255,255,255,0.08);
  padding: 10px 14px; border-radius: 8px;
  color: white; font-size: 12px; text-align: center;
}
.bracket-line { width: 24px; height: 2px; background: rgba(255,255,255,0.2); }

/* Merged RR — division bar + per-division playoffs */
.mrr-div-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px;
  padding: 10px 12px; margin-bottom: 12px;
  background: rgba(103, 58, 183, 0.15); border: 1px solid rgba(186, 104, 200, 0.35);
  border-radius: var(--prs);
}
.mrr-div-bar-lbl { font-size: 10px; font-weight: 700; color: #CE93D8; text-transform: uppercase; letter-spacing: 0.4px; }
.mrr-div-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.mrr-div-chip {
  border: 1px solid rgba(255,255,255,0.2); background: rgba(0,0,0,0.2);
  color: rgba(255,255,255,0.85); font-size: 10px; font-weight: 600;
  padding: 5px 12px; border-radius: 20px; cursor: pointer;
}
.mrr-div-chip.on { border-color: #CE93D8; background: rgba(206, 147, 216, 0.25); color: #fff; }
.mrr-div-chip.done { border-color: rgba(129, 199, 132, 0.5); }
.mrr-bracket-wrap { margin-top: 12px; }
.mrr-bracket-title { font-size: 12px; font-weight: 700; color: var(--py); margin-bottom: 10px; }
.mrr-bracket-seeds { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.mrr-seed-chip {
  display: inline-flex; align-items: center; gap: 5px; font-size: 10px;
  background: rgba(255,255,255,0.08); padding: 4px 10px 4px 4px; border-radius: 20px; color: #fff;
}
.mrr-seed-num { font-weight: 700; color: var(--py); min-width: 14px; text-align: center; }
.mrr-seed-chip .mc-av { width: 22px; height: 22px; font-size: 9px; }
.mrr-bracket-rounds { display: flex; flex-wrap: wrap; gap: 16px; }
.mrr-bracket-round { min-width: 140px; }
.mrr-round-lbl { font-size: 9px; text-transform: uppercase; color: rgba(255,255,255,0.45); margin-bottom: 6px; font-weight: 600; }
.mrr-bracket-match {
  background: rgba(255,255,255,0.06); border-radius: 8px; padding: 8px 10px; margin-bottom: 6px;
  font-size: 11px;
}
.mrr-bracket-match.mrr-bye { opacity: 0.5; }
.mrr-bracket-team { font-weight: 600; color: #fff; }
.mrr-bracket-score { font-size: 10px; color: var(--py); font-weight: 700; margin: 2px 0; }
.mrr-bracket-note { margin-top: 10px; }
.mrr-bronze-round { border-left: 3px solid #A1887F; padding-left: 10px; margin-top: 8px; }
.mrr-bronze-match { background: rgba(161, 136, 127, 0.12); }
.mrr-bronze-sub { display: block; font-size: 10px; color: var(--py); margin-bottom: 4px; }
.ls-dupr-tag { font-size: 10px; color: var(--py); font-weight: 600; margin-left: 6px; }
.pool-dupr-order { font-size: 11px; margin: 4px 0 8px; line-height: 1.4; }
.mrr-other-divs { display: flex; flex-wrap: wrap; gap: 6px; }
.mrr-playoffs-gate-card {
  margin-top: 4px;
  padding: 22px 18px 20px;
  text-align: center;
  background: linear-gradient(135deg, #fff 0%, #f3e8ff 48%, #eef4ff 100%);
  border: 0.5px solid rgba(126, 87, 194, 0.22);
  border-radius: 14px;
  box-shadow: 0 1px 4px rgba(17, 24, 39, 0.06);
  color: #263238;
}
.mrr-playoffs-gate-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 auto 14px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #E65100;
  background: #FFF3E0;
  border: 0.5px solid rgba(230, 81, 0, 0.25);
}
.mrr-playoffs-gate-status .ti { font-size: 14px; }
.mrr-playoffs-gate-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 12px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #7E57C2 0%, #5E35B1 100%);
  color: #fff;
  font-size: 24px;
  box-shadow: 0 4px 14px rgba(94, 53, 177, 0.28);
}
.mrr-playoffs-gate-title {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 800;
  color: #311B92;
  letter-spacing: -0.02em;
}
.mrr-playoffs-gate-lead {
  margin: 0 auto 14px;
  max-width: 440px;
  font-size: 13px;
  line-height: 1.5;
  color: #455A64;
  font-weight: 500;
}
.mrr-playoffs-gate-tips {
  margin: 0 auto 16px;
  padding: 0;
  list-style: none;
  max-width: 360px;
  text-align: left;
  display: grid;
  gap: 8px;
}
.mrr-playoffs-gate-tips li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  line-height: 1.45;
  color: #546E7A;
}
.mrr-playoffs-gate-tips .ti {
  flex-shrink: 0;
  margin-top: 1px;
  font-size: 15px;
  color: #7E57C2;
}
.mrr-playoffs-gate-btn {
  min-width: 180px;
}
.ls-content-light.ls-mlp-playoffs-screen .mrr-div-bar {
  background: #EDE7F6;
  border-color: rgba(126, 87, 194, 0.28);
}
.ls-content-light.ls-mlp-playoffs-screen .mrr-div-bar-lbl { color: #5E35B1; }
.ls-content-light.ls-mlp-playoffs-screen .mrr-div-chip {
  background: #fff;
  border-color: #CE93D8;
  color: #4527A0;
}
.ls-content-light.ls-mlp-playoffs-screen .mrr-div-chip.on {
  background: #7E57C2;
  border-color: #7E57C2;
  color: #fff;
}
.ls-content-light.ls-mlp-playoffs-screen .mrr-div-chip.done {
  border-color: #66BB6A;
}

/* Doubles / mixed — two players per team */
.match-card-doubles .mc-body { gap: 6px; }
.mc-format-tag {
  font-size: 8px; font-weight: 700; text-transform: uppercase;
  background: rgba(255,255,255,0.12); padding: 2px 6px; border-radius: 4px;
  margin-left: 6px; vertical-align: middle;
}
.mc-team-side { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.mc-team-side.winner { background: rgba(46,125,50,0.15); border-radius: 6px; padding: 4px; }
.mc-team-player { display: flex; align-items: center; gap: 6px; }
.mc-av-sm { width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 9px; font-weight: 700; flex-shrink: 0; }
.mc-team-fmt-badge { font-size: 8px; font-weight: 600; color: var(--py); text-transform: uppercase; letter-spacing: 0.4px; margin-bottom: 2px; }
.mc-team-score { font-size: 18px; font-weight: 700; color: white; align-self: center; margin-top: 4px; }

/* Court desk */
.cd-stats {
  display: flex; flex-wrap: wrap; gap: 12px 16px;
  padding: 10px 12px; background: rgba(255,255,255,0.06);
  border-radius: 8px; margin-bottom: 12px; font-size: 11px; color: rgba(255,255,255,0.85);
}
.cd-muted { color: rgba(255,255,255,0.45); font-size: 10px; }
.cd-court-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; margin-bottom: 14px; }
.cd-court-card {
  background: rgba(255,255,255,0.08); border-radius: 8px; padding: 10px;
  border: 0.5px solid rgba(255,255,255,0.12);
}
.cd-court-empty { opacity: 0.55; }
.cd-court-hd { font-size: 10px; font-weight: 600; color: var(--py); margin-bottom: 6px; text-transform: uppercase; }
.cd-match { font-size: 11px; color: white; margin-bottom: 8px; line-height: 1.35; }
.cd-timer-mid .cd-court-hd { color: #FFB74D; }
.cd-timer-warn .cd-court-hd { color: #EF5350; }
.cd-queue { display: flex; flex-direction: column; gap: 6px; }
.cd-queue-row {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 8px 10px; background: rgba(255,255,255,0.05); border-radius: 6px; font-size: 11px; color: rgba(255,255,255,0.9);
}
.cd-notif-list { list-style: none; font-size: 11px; color: rgba(255,255,255,0.65); line-height: 1.5; }
.cd-notif-list li { padding: 4px 0; border-bottom: 0.5px solid rgba(255,255,255,0.06); }
.cd-flex-panel { background: rgba(57,73,171,0.2); padding: 10px; border-radius: 8px; margin-bottom: 10px; }

/* Fairness + team league */
.fairness-panel {
  margin-top: 16px; padding: 12px; background: rgba(255,255,255,0.06);
  border-radius: 8px; border: 0.5px solid rgba(255,255,255,0.1);
}
.fairness-stats { display: flex; flex-wrap: wrap; gap: 12px 20px; font-size: 11px; color: rgba(255,255,255,0.8); margin: 8px 0; }
.fairness-alerts { list-style: none; margin: 8px 0 0; padding: 0; font-size: 11px; color: rgba(255,255,255,0.85); }
.fairness-alerts li { padding: 4px 0; display: flex; align-items: center; gap: 6px; }
.fairness-alerts .ti { color: var(--py); font-size: 14px; }
.team-matchup-hd { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 12px 0; }
.team-badge {
  flex: 1; min-width: 120px; padding: 10px 12px; border-radius: 8px; border: 1px solid;
  font-size: 12px; color: white;
}
.team-badge strong { display: block; margin-bottom: 4px; }
.team-badge span { font-size: 10px; opacity: 0.85; }
.team-line-card {
  background: rgba(255,255,255,0.06); border-radius: 8px; padding: 10px 12px; margin-bottom: 8px;
  border: 0.5px solid rgba(255,255,255,0.1);
}
.team-line-hd { font-size: 10px; font-weight: 600; color: var(--py); text-transform: uppercase; margin-bottom: 6px; }

/* Team league — playoff contention */
.tl-playoff-summary {
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(57, 73, 171, 0.22);
  border: 0.5px solid rgba(129, 140, 248, 0.35);
}
.tl-playoff-summary-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.95);
}
.tl-playoff-summary-main > i { color: var(--py); font-size: 16px; }
.tl-playoff-week {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.55);
  margin-left: auto;
}
.tl-playoff-summary-sub {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 4px;
}
.tl-playoff-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 0.5px solid rgba(255, 255, 255, 0.1);
}
.tl-playoff-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.tl-pb-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.tl-pb-dot.tl-pb-clinched { background: #66BB6A; }
.tl-pb-dot.tl-pb-in { background: #42A5F5; }
.tl-pb-dot.tl-pb-bubble { background: var(--py); }
.tl-pb-dot.tl-pb-eliminated { background: #EF5350; }

.tl-playoff-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 10px;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.tl-pb-clinched { background: rgba(102, 187, 106, 0.25); color: #A5D6A7; border: 0.5px solid rgba(102, 187, 106, 0.5); }
.tl-pb-in { background: rgba(66, 165, 245, 0.2); color: #90CAF9; border: 0.5px solid rgba(66, 165, 245, 0.45); }
.tl-pb-bubble { background: rgba(249, 168, 37, 0.22); color: #FFE082; border: 0.5px solid rgba(249, 168, 37, 0.5); }
.tl-pb-out { background: rgba(255, 255, 255, 0.08); color: rgba(255, 255, 255, 0.55); border: 0.5px solid rgba(255, 255, 255, 0.15); }
.tl-pb-eliminated { background: rgba(239, 83, 80, 0.2); color: #EF9A9A; border: 0.5px solid rgba(239, 83, 80, 0.45); }
.tl-pb-alive { background: rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.75); border: 0.5px solid rgba(255, 255, 255, 0.2); }

.tl-standings-playoff tbody tr.tl-row-in { background: rgba(66, 165, 245, 0.06); }
.tl-standings-playoff tbody tr.tl-row-clinched { background: rgba(102, 187, 106, 0.08); }
.tl-standings-playoff tbody tr.tl-row-bubble { background: rgba(249, 168, 37, 0.08); }
.tl-standings-playoff tbody tr.tl-row-eliminated { opacity: 0.72; }

.tl-playoff-cut-row td {
  padding: 4px 8px !important;
  background: rgba(249, 168, 37, 0.12) !important;
  border-top: 1px dashed rgba(249, 168, 37, 0.55);
  border-bottom: 1px dashed rgba(249, 168, 37, 0.55);
}
.tl-playoff-cut-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--py);
}

/* ── MLP league panel & subs ── */
.mlp-reg-form {
  background: linear-gradient(165deg, #FAFBFF 0%, #F3F6F4 100%);
  border: 1px solid #DDE4F0;
  border-radius: 14px;
  padding: 14px 14px 12px;
  margin: 10px 0;
  box-shadow: 0 2px 12px rgba(30, 58, 138, 0.06);
}
.mlp-pill-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--pn, #1E3A8A);
  margin: 0 0 8px;
}
.mlp-pill-hint {
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: #90A4AE;
  margin-left: 4px;
}
.mlp-pill-field {
  margin: 14px 0 0;
  padding: 0;
}
.mlp-pill-field:first-of-type { margin-top: 10px; }
.mlp-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.mlp-pill {
  appearance: none;
  border: 2px solid #CFD8DC;
  background: #fff;
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 12px;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  color: #546E7A;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.15s ease, border-color 0.15s, background 0.15s;
  line-height: 1.2;
}
.mlp-pill:hover {
  border-color: #90A4AE;
  transform: translateY(-1px);
}
.mlp-pill.is-on.mlp-pill--cap-yes {
  background: linear-gradient(135deg, #00E676 0%, #00BFA5 100%);
  border-color: #00E676;
  color: #004D40;
  box-shadow: 0 0 18px rgba(0, 230, 118, 0.55), 0 4px 12px rgba(0, 191, 165, 0.25);
}
.mlp-pill.is-on.mlp-pill--cap-no {
  background: linear-gradient(135deg, #7C4DFF 0%, #536DFE 100%);
  border-color: #7C4DFF;
  color: #fff;
  box-shadow: 0 0 18px rgba(124, 77, 255, 0.55), 0 4px 12px rgba(83, 109, 254, 0.25);
}
.mlp-pill.is-on.mlp-pill--role-player {
  background: linear-gradient(135deg, #40C4FF 0%, #0091EA 100%);
  border-color: #40C4FF;
  color: #fff;
  box-shadow: 0 0 18px rgba(64, 196, 255, 0.5);
}
.mlp-pill.is-on.mlp-pill--role-captain {
  background: linear-gradient(135deg, #FFD54F 0%, #FF9100 100%);
  border-color: #FFB300;
  color: #4E342E;
  box-shadow: 0 0 18px rgba(255, 193, 7, 0.55);
}
.mlp-pill.is-on.mlp-pill--sub-none {
  background: linear-gradient(135deg, #18FFFF 0%, #00B8D4 100%);
  border-color: #00E5FF;
  color: #006064;
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.5);
}
.mlp-pill.is-on.mlp-pill--sub-backup {
  background: linear-gradient(135deg, #FFAB40 0%, #FF6D00 100%);
  border-color: #FF9100;
  color: #fff;
  box-shadow: 0 0 16px rgba(255, 145, 0, 0.5);
}
.mlp-pill.is-on.mlp-pill--sub-only {
  background: linear-gradient(135deg, #FF4081 0%, #F50057 100%);
  border-color: #FF4081;
  color: #fff;
  box-shadow: 0 0 16px rgba(245, 0, 87, 0.45);
}
.mlp-pill.is-on.mlp-pill--gender-f {
  background: linear-gradient(135deg, #FF80AB 0%, #F06292 100%);
  border-color: #FF4081;
  color: #880E4F;
  box-shadow: 0 0 18px rgba(240, 98, 146, 0.55);
}
.mlp-pill.is-on.mlp-pill--gender-m {
  background: linear-gradient(135deg, #448AFF 0%, #2962FF 100%);
  border-color: #448AFF;
  color: #fff;
  box-shadow: 0 0 18px rgba(41, 98, 255, 0.55);
}
.mlp-pill-field--locked .mlp-pill-label {
  color: #90A4AE;
}
.mlp-pill-field--locked .mlp-pill-row {
  opacity: 0.45;
  pointer-events: none;
}
.mlp-pill-field--locked .mlp-pill.is-on {
  box-shadow: none;
  filter: grayscale(0.35);
}
.mlp-pill-lock-hint {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  font-weight: 500;
  color: #90A4AE;
  letter-spacing: 0.01em;
}
.mlp-pill-field--error .mlp-pill-label { color: #C62828; }
.mlp-pill-field--error .mlp-pill-row { animation: mlp-pill-shake 0.4s ease; }
.mlp-reg-team-field.mlp-pill-field--error .mlp-reg-team-input {
  border-color: #EF5350;
  box-shadow: 0 0 0 3px rgba(239, 83, 80, 0.2);
}
@keyframes mlp-pill-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}
.mlp-reg-team-input { margin-top: 4px; }

/* Anchored MLP registration validation toast */
.mlp-reg-toast {
  position: fixed;
  z-index: var(--z-modal-stack-panel, 1321);
  transform: translate(-50%, -100%);
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: min(360px, calc(100vw - 32px));
  padding: 12px 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1A237E 0%, #311B92 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  line-height: 1.4;
  box-shadow: 0 8px 32px rgba(26, 35, 126, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.12) inset;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.mlp-reg-toast.show {
  opacity: 1;
  transform: translate(-50%, calc(-100% - 8px));
}
.mlp-reg-toast i {
  font-size: 20px;
  color: #FFEB3B;
  flex-shrink: 0;
}
.mlp-reg-toast-msg { flex: 1; }

/* Centered MLP notice — above draft room and other stacked modals */
.mlp-center-toast {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: calc(var(--z-modal-stack-overlay, 1320) + 24);
  transform: translate(-50%, -50%) scale(0.94);
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: min(400px, calc(100vw - 40px));
  padding: 16px 22px;
  border-radius: 16px;
  background: linear-gradient(135deg, #E65100 0%, #FF6D00 55%, #FF9100 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  line-height: 1.45;
  text-align: center;
  box-shadow:
    0 12px 40px rgba(230, 81, 0, 0.38),
    0 0 0 1px rgba(255, 255, 255, 0.18) inset;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.mlp-center-toast.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.mlp-center-toast--turn {
  background: linear-gradient(135deg, #F57F17 0%, #FFB300 55%, #FFD54F 100%);
  color: #4E342E;
  box-shadow:
    0 12px 40px rgba(245, 127, 23, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.35) inset;
}
.mlp-center-toast--turn i { color: #E65100; }
.mlp-center-toast--info {
  background: linear-gradient(135deg, #1565C0 0%, #1976D2 55%, #42A5F5 100%);
  box-shadow:
    0 12px 40px rgba(21, 101, 192, 0.32),
    0 0 0 1px rgba(255, 255, 255, 0.18) inset;
}
.mlp-center-toast--info i { color: #E3F2FD; }
.mlp-center-toast i {
  font-size: 22px;
  color: #FFF8E1;
  flex-shrink: 0;
}
.mlp-center-toast-msg { flex: 1; }

.mlp-reg-summary { margin: 8px 0; }

/* MLP draft room */
#mlp-draft-room-overlay {
  z-index: calc(var(--z-modal-stack-overlay, 1320) + 12);
}
#mlp-draft-room-overlay .mlp-draft-room-modal {
  z-index: calc(var(--z-modal-stack-panel, 1321) + 12);
  position: relative;
  max-height: 92vh;
}
.mlp-draft-room-modal { max-width: 720px; width: 96vw; }
.mlp-draft-room-body { max-height: min(72vh, 640px); overflow-y: auto; }
.mlp-draft-room-body--review { max-height: min(85vh, 780px); }
.mlp-dr-clock {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 14px; border-radius: 10px; margin-bottom: 10px;
  background: #E3F2FD; border: 1px solid #90CAF9; font-size: 12px;
}
.mlp-dr-clock--mine { background: #FFF8E1; border-color: #FFB300; }
.mlp-dr-clock--done { background: #E8F5E9; border-color: #81C784; }
.mlp-dr-clock--wait { background: #F5F5F5; border-color: #E0E0E0; }
.mlp-dr-clock i { font-size: 20px; color: #1976D2; margin-top: 2px; }
.mlp-dr-clock--mine i { color: #F57C00; }
.mlp-dr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 600px) { .mlp-dr-grid { grid-template-columns: 1fr; } }
.mlp-dr-player-list { display: flex; flex-direction: column; gap: 6px; max-height: 220px; overflow-y: auto; }
.mlp-dr-player-card {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 8px 10px; border: 1px solid #E0E8E0; border-radius: 8px; background: #fff;
}
.mlp-dr-dupr { font-size: 10px; color: #607D8B; display: block; }
.mlp-dr-log-wrap {
  max-height: 220px;
  overflow-y: auto;
  overflow-x: auto;
  border: 1px solid #E0E8E0;
  border-radius: 8px;
}
.mlp-dr-log-wrap--review {
  max-height: none;
  overflow: visible;
  margin-bottom: 12px;
}
.mlp-dr-grid--review { margin-bottom: 4px; }
.mlp-dr-grid--review .mlp-dr-col--full { grid-column: 1 / -1; }
.mlp-dr-review-order { margin: 10px 0 4px; }
.mlp-dr-pick-num {
  display: inline-block; min-width: 22px; font-size: 10px; font-weight: 700;
  color: #546E7A; margin-right: 2px;
}
.mlp-dr-role-tag {
  display: inline-block; margin-left: 4px; font-size: 9px; font-weight: 600;
  text-transform: uppercase; color: #78909C;
}
.mlp-draft-history {
  margin: 12px 0; padding: 10px 12px; background: #F7F9F7;
  border: 1px solid #E0E8E0; border-radius: 8px;
}
.mlp-dr-log { width: 100%; border-collapse: collapse; font-size: 11px; }
.mlp-dr-log th, .mlp-dr-log td { padding: 6px 8px; text-align: left; border-bottom: 1px solid #ECEFF1; }
.mlp-dr-log th { background: #F7F9F7; font-size: 10px; text-transform: uppercase; color: #90A4AE; }
.mlp-dr-empty { color: #90A4AE; text-align: center; padding: 16px !important; }
.mlp-dr-teams-board { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.mlp-dr-team-card {
  border: 1px solid #CFD8DC; border-radius: 10px; padding: 10px; background: #fff;
}
.mlp-dr-team-card--clock { border-color: #FFB300; box-shadow: 0 0 0 2px rgba(255,179,0,.25); }
.mlp-dr-clock-badge { font-size: 9px; font-weight: 700; color: #E65100; display: block; margin-bottom: 4px; }
.mlp-dr-team-cap { font-size: 10px; color: #607D8B; display: block; }
.mlp-dr-team-roster { margin: 6px 0 0; padding-left: 16px; font-size: 11px; }

/* Captain player room (#55 no-draft invite flow) */
#mlp-captain-room-overlay { z-index: 12050; }
#mlp-captain-room-overlay .mlp-captain-room-modal { max-width: 640px; width: 96vw; }
.mlp-captain-room-body { max-height: min(72vh, 600px); overflow-y: auto; }
.mlp-cpr-lead { font-size: 12px; color: #455A64; margin: 0 0 12px; }
.mlp-cpr-pending { margin-bottom: 14px; padding: 10px; border-radius: 10px; background: #FFF8E1; border: 1px solid #FFE082; }
.mlp-cpr-pending--inline { margin-top: 10px; }
.mlp-cpr-pending-row {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 6px 0; font-size: 12px; border-bottom: 1px solid rgba(0,0,0,.06);
}
.mlp-cpr-pending-row:last-child { border-bottom: none; }
.mlp-cpr-player-list { display: flex; flex-direction: column; gap: 8px; }
.mlp-cpr-player-card {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 12px; border-radius: 10px; border: 1px solid #E0E8E0; background: #fff;
}
.mlp-cpr-player-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mlp-cpr-name { font-size: 13px; }
.mlp-cpr-gender { font-size: 10px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.mlp-cpr-gender--f { color: #C2185B; }
.mlp-cpr-gender--m { color: #1565C0; }
.mlp-cpr-gender--unk { color: #90A4AE; }
.mlp-cpr-scores { font-size: 10px; color: #607D8B; }
.mlp-cpr-skip { font-size: 10px; color: #90A4AE; max-width: 9rem; text-align: right; }
.mlp-invite-multi-hint { margin: 6px 0 8px; }
.mlp-roster-mem-row {
  display: flex; align-items: center; justify-content: space-between; gap: 6px;
}
.mlp-roster-remove-btn { padding: 2px 6px !important; min-height: 0; }
.group-msg-activity--draft { background: #E8EAF6; border-color: #9FA8DA; }

.mlp-lineup-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 10px 0; }
@media (max-width: 560px) { .mlp-lineup-grid { grid-template-columns: 1fr; } }
.mlp-lineup-block {
  background: #fff;
  border: 1px solid #CFD8DC;
  border-radius: 10px;
  border-left: 3px solid var(--mlp-team-color, #78909C);
  box-shadow: 0 1px 4px rgba(17, 24, 39, 0.06);
  padding: 0;
  overflow: hidden;
}
.mlp-lineup-block--readonly {
  /* inherits shared card chrome; readonly body uses muted player chips below */
}
.mlp-lineup-block-body {
  padding: 4px 12px 10px;
}
.mlp-lineup-block-body .mlp-lu-row:first-child { margin-top: 2px; }
.mlp-lineup-block-body .mlp-lineup-save-btn { margin-top: 6px; }
.mlp-lineup-block-hd {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 8px;
  padding: 10px 12px;
  background: linear-gradient(180deg, #F7F9F7 0%, #fff 100%);
  border-bottom: 0.5px solid #E0E8E0;
}
.mlp-lineup-side-tag {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #546E7A;
  padding: 2px 7px;
  border-radius: 4px;
  background: #ECEFF1;
}
.mlp-lineup-team-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--pn);
  line-height: 1.2;
}
.mlp-lu-readonly-body { padding: 4px 12px 8px; }
.mlp-lu-readonly-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 0.5px solid #ECEFF1;
}
.mlp-lu-readonly-row:last-child { border-bottom: none; }
.mlp-lu-players {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  flex: 1;
  min-width: 0;
}
.mlp-lu-player {
  font-size: 12px;
  font-weight: 600;
  color: var(--pn);
  background: #F1F8E9;
  border: 0.5px solid rgba(76, 175, 80, 0.25);
  border-radius: 6px;
  padding: 4px 8px;
  line-height: 1.25;
}
.mlp-lineup-block--readonly .mlp-lu-player {
  background: #ECEFF1;
  border-color: #CFD8DC;
  color: #1a2332;
}
.mlp-lu-player-sep {
  font-size: 11px;
  font-weight: 600;
  color: #90A4AE;
  padding: 0 1px;
}
.mlp-lu-empty {
  font-size: 11px;
  font-style: italic;
  color: #90A4AE;
}
.mlp-lineup-readonly-note {
  margin: 0;
  padding: 8px 12px 10px;
  font-size: 10px;
  color: #78909C;
  border-top: 0.5px solid #ECEFF1;
  background: #FAFBFA;
}
.mlp-lineup-readonly-note .ti {
  font-size: 12px;
  vertical-align: -1px;
  margin-right: 4px;
  color: #90A4AE;
}
.mlp-lineup-block--locked {
  border-color: #FFE0B2;
  background: linear-gradient(180deg, #FFFDF8 0%, #FFF8E1 100%);
}
.mlp-lineup-readonly-note--locked {
  color: #E65100;
  background: #FFF3E0;
  border-top-color: #FFE0B2;
}
.mlp-lineup-readonly-note--locked .ti {
  color: #FB8C00;
}
.mlp-lineup-help-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 2px 0 14px;
  padding: 14px 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, #E8F4FD 0%, #F3F8FF 55%, #FFF8E1 100%);
  border: 0.5px solid #90CAF9;
  box-shadow: 0 2px 8px rgba(25, 118, 210, 0.07);
}
.mlp-lineup-help-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(145deg, #42A5F5 0%, #1976D2 100%);
  color: #fff;
  font-size: 19px;
  box-shadow: 0 2px 6px rgba(25, 118, 210, 0.25);
}
.mlp-lineup-help-title {
  font-size: 13px;
  font-weight: 700;
  color: #1565C0;
  margin-bottom: 5px;
  letter-spacing: -0.01em;
}
.mlp-lineup-help-lead {
  margin: 0 0 8px;
  font-size: 12px;
  line-height: 1.5;
  color: #455A64;
}
.mlp-lineup-help-lead strong {
  color: #1976D2;
  font-weight: 600;
}
.mlp-lineup-help-pending {
  margin: 0;
  font-size: 11px;
  line-height: 1.4;
  color: #546E7A;
}
.mlp-lineup-help-pending strong {
  color: #37474F;
  font-weight: 600;
}
.mlp-lineup-help-pending .ti {
  font-size: 13px;
  vertical-align: -2px;
  margin-right: 4px;
  color: #FB8C00;
}
@media (max-width: 480px) {
  .mlp-lineup-help-note {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .mlp-lineup-help-icon {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }
}
.mlp-lineup-games-locked {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 0 0 14px;
  padding: 16px 18px;
  border-radius: 12px;
  background: #F5F7FA;
  border: 0.5px dashed #B0BEC5;
}
.mlp-lineup-games-locked-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #ECEFF1;
  color: #78909C;
  font-size: 18px;
}
.mlp-lineup-games-locked-body strong {
  display: block;
  font-size: 13px;
  color: #455A64;
  margin-bottom: 4px;
}
.mlp-lineup-games-locked-body p {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: #607D8B;
}
.mlp-lineup-games-locked-body p strong {
  display: inline;
  font-size: inherit;
  color: #1976D2;
}
.mlp-lu-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 6px 0; }
.mlp-lu-lbl { font-size: 10px; font-weight: 600; color: #607D8B; min-width: 100px; }
.mlp-lu-sel { flex: 1; min-width: 100px; font-size: 11px; }
.mlp-invite-pending-block { margin: 10px 0; }
.mlp-po-bracket .mrr-bracket-match { margin-bottom: 10px; }
.mlp-po-bracket .mrr-complete { opacity: 0.85; }
.mlp-po-done { font-size: 10px; color: #2E7D32; font-weight: 600; }

/* MLP confirm modal — above live session shell */
.mlp-confirm-overlay.overlay--viewport {
  z-index: calc(var(--z-live-session, 1330) + 20);
  align-items: center;
  justify-content: center;
  padding: max(24px, env(safe-area-inset-top, 0)) 16px max(24px, env(safe-area-inset-bottom, 0));
}
.mlp-confirm-modal {
  position: relative;
  max-width: 360px;
  width: min(360px, calc(100vw - 32px));
  text-align: center;
  padding: 28px 24px 22px;
  border-radius: 20px;
  font-family: 'Outfit', sans-serif;
}
.mlp-confirm-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 10px;
  background: #F1F5F9;
  color: #546E7A;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  padding: 0;
}
.mlp-confirm-close:hover {
  background: #E2E8F0;
  color: var(--ps, #263238);
}
.mlp-confirm-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  border-radius: 14px;
  font-size: 26px;
}
.mlp-confirm-icon--warn {
  color: #E65100;
  background: linear-gradient(145deg, #FFF8E1 0%, #FFE0B2 100%);
}
.mlp-confirm-icon--danger {
  color: #C62828;
  background: linear-gradient(145deg, #FFEBEE 0%, #FFCDD2 100%);
}
.mlp-confirm-title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
  color: var(--pn);
  letter-spacing: -0.02em;
}
.mlp-confirm-lead {
  margin: 0 0 22px;
  font-size: 14px;
  line-height: 1.45;
  color: #64748B;
}
.mlp-confirm-actions {
  display: flex;
  gap: 10px;
}
.mlp-confirm-actions .btn {
  flex: 1;
  min-height: 44px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 12px;
}
.mlp-confirm-proceed--warn {
  background: linear-gradient(145deg, #FFB74D 0%, #FB8C00 100%);
  border: none;
  color: #fff;
  font-weight: 700;
}
.mlp-confirm-proceed--warn:hover { filter: brightness(1.05); }
.mlp-confirm-proceed--danger {
  background: #C62828;
  border: none;
  color: #fff;
  font-weight: 700;
}

.mlp-panel { margin-top: 4px; }
.mlp-panel-hd { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.mlp-phase-pill {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 600;
  background: #E8F5E9;
  color: #2E7D32;
}
.mlp-draft-order-block {
  margin: 12px 0 14px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #E3F2FD;
  background: linear-gradient(180deg, #FAFCFF 0%, #F5F9FF 100%);
}
.mlp-draft-round1-lbl,
.mlp-draft-snake-lbl {
  margin: 10px 0 6px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #90A4AE;
}
.mlp-draft-round1-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.mlp-draft-round1-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #CFD8DC;
  font-size: 11px;
  color: #37474F;
}
.mlp-draft-round1-chip.is-first {
  border-color: #66BB6A;
  background: #E8F5E9;
  color: #1B5E20;
  box-shadow: 0 0 0 1px rgba(102, 187, 106, 0.35);
}
.mlp-draft-round1-team { color: #78909C; font-weight: 500; }
.mlp-draft-snake-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  max-height: 120px;
  overflow-y: auto;
}
.mlp-draft-pick-chip {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 6px;
  background: #ECEFF1;
  font-size: 10px;
  font-weight: 600;
  color: #546E7A;
}
.mlp-draft-pick-chip.is-done {
  opacity: 0.45;
  text-decoration: line-through;
}
.mlp-draft-pick-chip.is-clock {
  background: #FFF8E1;
  border: 1px solid #FFB300;
  color: #E65100;
  box-shadow: 0 0 0 1px rgba(255, 179, 0, 0.25);
}
.mlp-draft-order-btns { margin-top: 10px; align-items: center; }
.mlp-draft-order-lbl {
  font-size: 10px;
  font-weight: 600;
  color: #78909C;
  margin-right: 4px;
}
.mlp-team-pick-slot {
  font-size: 10px;
  color: #546E7A;
  margin: 2px 0 6px;
}
.mlp-team-on-clock {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-left: 6px;
  padding: 2px 7px;
  border-radius: 999px;
  background: #FFF8E1;
  border: 1px solid #FFB300;
  font-size: 9px;
  font-weight: 700;
  color: #E65100;
  vertical-align: middle;
}
.mlp-team-card--clock {
  border-color: #FFB300 !important;
  box-shadow: 0 0 0 2px rgba(255, 179, 0, 0.2);
}
.mlp-draft-pool-block {
  margin: 14px 0;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #C8E6C9;
  background: linear-gradient(180deg, #F1F8E9 0%, #FAFFF8 100%);
}
.mlp-draft-pool-hint {
  margin: 4px 0 10px;
  font-size: 12px;
  color: #2E7D32;
  line-height: 1.45;
}
.mlp-draft-pool-hint .ti { vertical-align: -2px; margin-right: 4px; }
.mlp-draft-pool-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 280px;
  overflow-y: auto;
}
.mlp-draft-pool-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #E8F5E9;
}
.mlp-draft-pool-name {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.mlp-draft-pool-meta {
  font-size: 10px;
  color: #78909C;
  font-weight: 500;
}
.mlp-teams-schedule-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 10px;
  align-items: flex-start;
}
.mlp-teams-schedule-row .mlp-teams-grid {
  flex: 1 1 280px;
  margin-top: 0;
  min-width: 0;
}
.mlp-season-schedule {
  flex: 1 1 240px;
  max-width: 100%;
  border: 1px solid #C5E1A5;
  border-radius: 12px;
  padding: 12px 14px;
  background: linear-gradient(165deg, #F9FBF7 0%, #fff 55%);
  box-shadow: 0 1px 4px rgba(17, 24, 39, 0.06);
}
.mlp-season-schedule-hd {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #33691E;
  margin-bottom: 10px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.mlp-season-schedule-hd i {
  font-size: 16px;
  color: #689F38;
}
.mlp-season-schedule-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mlp-season-schedule-week {
  border: 1px solid #E0E0E0;
  border-radius: 10px;
  padding: 8px 10px;
  background: #fff;
}
.mlp-season-schedule-week--current {
  border-color: #81C784;
  box-shadow: 0 0 0 1px rgba(76, 175, 80, 0.2);
  background: linear-gradient(165deg, #F1F8E9 0%, #fff 70%);
}
.mlp-season-schedule-week--done {
  opacity: 0.72;
  background: #FAFAFA;
}
.mlp-season-week-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  color: #37474F;
  margin-bottom: 4px;
}
.mlp-season-week-body {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 4px;
  align-items: center;
  font-size: 11px;
  line-height: 1.45;
  color: #455A64;
}
.mlp-season-matchup {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 3px;
}
.mlp-season-team {
  font-weight: 600;
  color: #263238;
}
.mlp-season-vs {
  margin: 0 3px;
  font-size: 10px;
  font-weight: 500;
  color: #78909C;
  text-transform: lowercase;
}
.mlp-season-sep {
  color: #B0BEC5;
  font-weight: 600;
}
.mlp-season-bye {
  font-style: italic;
  color: #78909C;
  white-space: nowrap;
}
.mlp-season-week-status {
  flex-shrink: 0;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 6px;
  border-radius: 8px;
  background: #ECEFF1;
  color: #607D8B;
}
.mlp-season-week-status--now {
  background: #C8E6C9;
  color: #2E7D32;
}
.mlp-teams-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
  margin-top: 10px;
}
.mlp-team-card {
  border: 1px solid #CFD8DC;
  border-radius: 10px;
  padding: 10px;
  background: #fff;
}
.mlp-team-name { font-weight: 700; font-size: 13px; margin-bottom: 4px; }
.mlp-team-cap { font-size: 10px; color: #607D8B; margin-bottom: 6px; }
.mlp-team-roster { margin: 0; padding-left: 16px; font-size: 11px; }
.mlp-captain-badge, .mlp-cap-icon { color: #F9A825; font-size: 11px; }
.mlp-mem-status { font-size: 9px; text-transform: uppercase; margin-left: 4px; }
.mlp-st-pending { color: #F57C00; }
.mlp-st-ok { color: #2E7D32; }
.mlp-st-declined { color: #C62828; }
.mlp-inline-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.mlp-sub-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.mlp-sub-chip {
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 12px;
  background: #ECEFF1;
  color: #37474F;
}
.mlp-sub-chip.picked { opacity: 0.45; text-decoration: line-through; }

.mlp-sub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 168px), 1fr));
  gap: 10px;
  margin-top: 10px;
}
.mlp-sub-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #E0E8E0;
  background: linear-gradient(165deg, #fff 0%, #F7F9F7 100%);
  box-shadow: 0 1px 3px rgba(17, 24, 39, 0.05);
  min-height: 100%;
}
.mlp-sub-card--pickable {
  border-color: rgba(76, 175, 80, 0.35);
  box-shadow: 0 2px 8px rgba(76, 175, 80, 0.08);
}
.mlp-sub-card--mine {
  border-color: var(--pg);
  background: linear-gradient(165deg, #F1F8E9 0%, #fff 55%);
  box-shadow: 0 0 0 1px rgba(76, 175, 80, 0.15);
}
.mlp-sub-card--taken {
  opacity: 0.72;
  background: #F5F5F5;
  border-color: #E0E0E0;
}
.mlp-sub-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.mlp-sub-card-av {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}
.mlp-sub-card-gender {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  line-height: 1.2;
}
.mlp-sub-card-gender--m { background: #E3F2FD; color: #1565C0; }
.mlp-sub-card-gender--f { background: #FCE4EC; color: #C2185B; }
.mlp-sub-card-gender--u { background: #ECEFF1; color: #78909C; }
.mlp-sub-card-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--pn);
  line-height: 1.2;
}
.mlp-sub-card-ratings {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
}
.mlp-sub-card-rating {
  font-size: 10px;
  color: #78909C;
}
.mlp-sub-card-rating-lbl {
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-right: 2px;
}
.mlp-sub-card-rating strong {
  color: #37474F;
  font-size: 12px;
  font-weight: 700;
}
.mlp-sub-card-status {
  font-size: 10px;
  font-weight: 600;
  margin-top: 2px;
}
.mlp-sub-card-status--open { color: #2E7D32; }
.mlp-sub-card-status--mine { color: #1B5E20; }
.mlp-sub-card-status--taken { color: #90A4AE; }
.mlp-sub-card-btn {
  width: 100%;
  margin-top: 4px;
  min-height: 34px;
  font-size: 11px;
}
.mlp-sub-card-btn--unpick {
  border-color: #CFD8DC;
  color: #546E7A;
}
.mlp-sub-td-manage {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 0.5px solid var(--pb);
}
.mlp-sub-manage-team-sel { max-width: none; }
.mlp-sub-current-pick {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #F1F8E9;
  border: 0.5px solid rgba(76, 175, 80, 0.3);
  font-size: 12px;
}
.mlp-sub-current-lbl { color: #546E7A; }
.mlp-lineup-block--saved {
  border-color: rgba(76, 175, 80, 0.35);
  box-shadow: 0 0 0 1px rgba(76, 175, 80, 0.08);
}
.mlp-lineup-save-btn--revise {
  border-color: #FFB74D;
  color: #E65100;
}
.mlp-lineup-save-btn--revise:hover {
  background: #FFF8E1;
  border-color: #FB8C00;
  color: #E65100;
}

.mlp-my-match-block {
  margin: 12px 0 16px;
  padding: 12px;
  border: 0.5px solid var(--pb);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 4px rgba(17, 24, 39, 0.05);
}
.mlp-my-match-hd {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 0.5px solid #ECEFF1;
}
.mlp-my-match-teams {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  min-width: 0;
}
.mlp-my-match-squad {
  font-size: 15px;
  font-weight: 700;
  color: var(--pn);
}
.mlp-my-match-vs {
  font-size: 13px;
  font-weight: 600;
  color: #546E7A;
}
.mlp-my-match-score {
  font-size: 12px;
  font-weight: 700;
  color: var(--pg);
  padding: 4px 10px;
  border-radius: 999px;
  background: #E8F5E9;
  border: 0.5px solid rgba(76, 175, 80, 0.25);
}
.mlp-my-line-card--yours {
  border-color: rgba(76, 175, 80, 0.45);
  box-shadow: 0 0 0 1px rgba(76, 175, 80, 0.12);
}
.mlp-my-line-card--yours .mc-status.in-progress {
  background: #E8F5E9;
  color: #1B5E20;
}
.mlp-my-line-wait {
  margin: 0;
  font-style: italic;
  color: #90A4AE;
}
.mlp-my-match-foot {
  margin-top: 12px;
}
.mlp-my-match-link {
  width: 100%;
  justify-content: center;
}
.ls-content-light.ls-mlp-player-screen .mlp-my-match-squad { color: var(--pn); }
.mlp-candidate-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mlp-captain-shortfall-warn {
  margin: 0 0 10px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #FFF8E1;
  border: 1px solid #FFE082;
  color: #6D4C00;
  font-size: 12px;
  line-height: 1.4;
}
.mlp-promote-candidates {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed #CFD8DC;
}
.mlp-promote-candidates-lbl { margin-bottom: 4px; }
.mlp-promote-candidates-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mlp-promote-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #F5F7F8;
  border: 1px solid #ECEFF1;
  font-size: 12px;
}
.mlp-promote-row-main {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.mlp-cand-src {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 1px 5px;
  border-radius: 4px;
  line-height: 1.3;
}
.mlp-cand-src--vol { background: #E3F2FD; color: #1565C0; }
.mlp-cand-src--td { background: #FFF3E0; color: #E65100; }
.mlp-cand-src--both { background: #EDE7F6; color: #4527A0; }
.mlp-cand-demote {
  flex-shrink: 0;
  margin-left: 4px;
}
@media (min-width: 640px) {
  .mlp-candidate-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    align-items: start;
  }
}
.mlp-cand-row { font-size: 12px; }
.mlp-cand-rank {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 4px;
  border-radius: 6px;
  background: #ECEFF1;
  color: #546E7A;
  font-size: 10px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}
.mlp-cand-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
}
.mlp-cand-main {
  min-width: 0;
  margin: 0;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 0 1 auto;
  max-width: 11rem;
}
@media (min-width: 640px) {
  .mlp-cand-main { max-width: 9.5rem; }
}
.mlp-cand-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  flex-shrink: 0;
  text-align: right;
}
.mlp-cand-gender {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.2;
}
.mlp-cand-gender--f { color: #C2185B; }
.mlp-cand-gender--m { color: #1565C0; }
.mlp-cand-gender--unk { color: #90A4AE; }
.mlp-cand-scores,
.mlp-dupr { color: #90A4AE; font-size: 10px; line-height: 1.3; }
.mlp-td-actions { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.mlp-invite-card {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 8px;
  margin: 8px 0;
  border-radius: 8px;
  background: #FFF8E1;
  font-size: 12px;
}
.cfg-mlp-block { border-top: 1px solid #ECEFF1; padding-top: 8px; }
.cfg-league-kind-hint { color: #455A64; font-size: 12px; line-height: 1.5; }
.cfg-mlp-delegate-hint { color: #546E7A; font-size: 12px; line-height: 1.45; }
.cfg-mlp-delegate-hint i { vertical-align: -2px; margin-right: 4px; }
.cfg-mlp-lines-custom { margin-top: 4px; }
.cfg-mlp-line-row {
  margin-bottom: 12px;
  padding: 10px;
  border: 1px solid #ECEFF1;
  border-radius: 8px;
  background: #fff;
}
.cfg-mlp-line-row .cfg-block-label { margin-bottom: 6px; }
.cfg-mlp-line-toggles .cfg-mlp-line-trow { margin: 0; padding: 4px 0; }
.cfg-mlp-line-timed-wrap { margin-top: 6px; }
.cfg-mlp-line-defaults--inactive { opacity: 0.5; pointer-events: none; user-select: none; }
.cfg-mlp-line-defaults--inactive .fi:disabled { background: #f5f5f5; color: #90A4AE; }
.cfg-mlp-defaults-inactive-hint { color: #546E7A; font-style: italic; }
.cfg-mlp-defaults-inactive-hint i { vertical-align: -2px; margin-right: 4px; }
.cfg-mlp-tiebreaker-row.cfg-mlp-tiebreaker--locked { opacity: 0.45; pointer-events: none; user-select: none; }
.cfg-mlp-tiebreaker-row.cfg-mlp-tiebreaker--locked .tog { filter: grayscale(0.6); }
.cfg-mlp-sv-winby-row .sv-winby-pick {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding: 4px 6px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ECEFF1 0%, #E8EAF0 100%);
}
.sv-winby-num {
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 26px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #90A4AE;
  opacity: 0.42;
  cursor: pointer;
  transition: color 0.28s ease, opacity 0.28s ease, transform 0.28s ease, text-shadow 0.28s ease, filter 0.28s ease;
  -webkit-tap-highlight-color: transparent;
}
.sv-winby-num:hover:not(.is-active) {
  opacity: 0.65;
  color: #78909C;
}
.sv-winby-num--1.is-active {
  color: #1565C0;
  opacity: 1;
  transform: scale(1.12);
  text-shadow:
    0 0 6px rgba(21, 101, 192, 0.95),
    0 0 14px rgba(21, 101, 192, 0.75),
    0 0 28px rgba(25, 118, 210, 0.5),
    0 0 42px rgba(30, 136, 229, 0.3);
  animation: sv-winby-neon-pulse-blue 2.4s ease-in-out infinite;
}
.sv-winby-num--2.is-active {
  color: #FF6D00;
  opacity: 1;
  transform: scale(1.12);
  text-shadow:
    0 0 6px rgba(255, 109, 0, 0.95),
    0 0 14px rgba(255, 109, 0, 0.75),
    0 0 28px rgba(255, 109, 0, 0.5),
    0 0 42px rgba(255, 171, 64, 0.3);
  animation: sv-winby-neon-pulse-orange 2.4s ease-in-out infinite;
}
.sv-winby-pick .sv-winby-tog {
  margin: 0 2px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.08);
}
.sv-winby-pick--one .sv-winby-tog:not(.on) { background: #64B5F6; }
.sv-winby-pick--two .sv-winby-tog.on { background: #FFAB40; }
@keyframes sv-winby-neon-pulse-blue {
  0%, 100% { filter: brightness(1); text-shadow: 0 0 6px rgba(21, 101, 192, 0.95), 0 0 14px rgba(21, 101, 192, 0.75), 0 0 28px rgba(25, 118, 210, 0.5); }
  50% { filter: brightness(1.12); text-shadow: 0 0 8px rgba(21, 101, 192, 1), 0 0 18px rgba(30, 136, 229, 0.9), 0 0 34px rgba(66, 165, 245, 0.55); }
}
@keyframes sv-winby-neon-pulse-orange {
  0%, 100% { filter: brightness(1); text-shadow: 0 0 6px rgba(255, 109, 0, 0.95), 0 0 14px rgba(255, 109, 0, 0.75), 0 0 28px rgba(255, 109, 0, 0.5); }
  50% { filter: brightness(1.15); text-shadow: 0 0 8px rgba(255, 109, 0, 1), 0 0 18px rgba(255, 145, 0, 0.9), 0 0 34px rgba(255, 171, 64, 0.55); }
}
#createOverlay .sv-winby-pick .sv-winby-num { font-size: 28px; width: 36px; height: 36px; }
#createOverlay .sv-winby-pick .sv-winby-tog { width: 44px; height: 24px; }
#createOverlay .sv-winby-pick .sv-winby-tog::after { width: 18px; height: 18px; }
#createOverlay .sv-winby-pick .sv-winby-tog.on::after { left: 24px; }
.mlp-dreambreaker { border: 1px solid #F9A825; background: #FFFDE7; }
.mlp-dreambreaker .mc-court { color: #F57F17; }
.mlp-sudden-victory { border: 1px solid #E65100; background: #FFF3E0; }
.mlp-sudden-victory .mc-court { color: #E65100; }
.mlp-cand-draggable {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  margin: 0;
  border: 1px solid #ECEFF1;
  border-radius: 10px;
  background: #fafafa;
  cursor: grab;
  transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.mlp-cand-draggable:has(.mlp-captain-chk:checked) {
  background: linear-gradient(135deg, #E8F5E9 0%, #F1F8E9 100%);
  border-color: #A5D6A7;
  box-shadow: 0 0 0 1px rgba(129, 199, 132, 0.35), 0 2px 8px rgba(76, 175, 80, 0.1);
}
.mlp-cand-draggable:has(.mlp-captain-chk:checked) .mlp-cand-main {
  color: #1B5E20;
  font-weight: 600;
}
.mlp-cand-draggable:has(.mlp-captain-chk:checked) .mlp-cand-rank {
  background: #A5D6A7;
  color: #1B5E20;
}
.mlp-cand-draggable:active { cursor: grabbing; }
.mlp-drag-handle { color: #90A4AE; font-size: 14px; }
.mlp-deadline-warn {
  margin: 8px 0;
  padding: 8px 10px;
  border-radius: 8px;
  background: #FFF3E0;
  color: #E65100;
  font-size: 12px;
}
/* MLP standings (squads / lines / individuals) — center all columns + values */
.mlp-standings-table th,
.mlp-standings-table td {
  text-align: center;
  vertical-align: middle;
}
#live-session .standings-table.mlp-standings-table th,
#live-session .standings-table.mlp-standings-table td {
  text-align: center;
}
.mlp-standings-table .st-th-metric-inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
}
.mlp-standings-table .st-squad-cell {
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: center;
}
.mlp-standings-table .st-squad-name-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  max-width: 100%;
}
.mlp-standings-table .st-squad-captain {
  padding-left: 0;
  text-align: center;
}
.mlp-standings-table .st-entity-with-rank {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.mlp-standings-table .st-player-identity {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.mlp-standings-table .st-rank-medal-slot {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: inline-block;
}
.mlp-standings-table .st-col-player {
  text-align: left;
  vertical-align: middle;
}
.mlp-standings-table .st-col-player .st-player,
.mlp-standings-table .st-col-player .mlp-standings-player-link.st-player,
.mlp-standings-table .st-col-player .st-player-cell {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  width: 100%;
  margin-inline: 0;
  min-width: 0;
}
.mlp-individual-standings .st-col-player .st-entity-with-rank {
  width: 100%;
}
.mlp-standings-table .mlp-standings-player-link.st-player {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
  cursor: pointer;
}
.mlp-standings-table .mlp-standings-player-link:hover .st-player-name,
.mlp-standings-table .mlp-standings-player-link:focus-visible .st-player-name {
  color: var(--pn, #1565C0);
  text-decoration: underline;
}
.mlp-standings-table .mlp-standings-player-link:focus-visible {
  outline: 2px solid var(--pn, #1565C0);
  outline-offset: 2px;
  border-radius: 6px;
}
.mlp-standings-table .st-col-metric,
.mlp-standings-table .st-col-num,
.mlp-standings-table .st-metric-cell,
.mlp-standings-table .st-metric-val,
.mlp-standings-table .st-metric-plain,
.mlp-standings-table .st-num,
.mlp-standings-table .st-diff {
  text-align: center;
}
.mlp-standings-table .st-metric-cell {
  justify-content: center;
}
.mlp-standings-table .st-metric-val {
  min-width: 0;
}
.mlp-team-standings th { font-size: 10px; }
.mlp-team-standings th:nth-child(2),
.mlp-team-standings td.st-col-squad {
  min-width: 8.5rem;
  max-width: none;
  text-align: left;
}
.mlp-team-standings .st-squad-dot {
  flex-shrink: 0;
  font-size: 10px;
  line-height: 1;
}
.mlp-team-standings .st-squad-name {
  white-space: nowrap;
  font-weight: 600;
  color: var(--ps);
}
.mlp-team-standings .st-squad-captain {
  font-size: 11px;
  font-weight: 400;
  color: #78909C;
  line-height: 1.2;
  white-space: nowrap;
}
.mlp-team-standings .st-team-league-roster {
  flex-direction: row;
  align-items: flex-start;
  gap: 6px;
  text-align: left;
}
.mlp-team-standings .st-team-league-dot {
  flex-shrink: 0;
  font-size: 10px;
  line-height: 1;
  margin-top: 8px;
}
.mlp-team-standings .st-team-league-players {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1;
}
.mlp-team-standings .st-team-league-player-row .st-player,
.mlp-team-standings .st-team-league-player-row .mlp-standings-player-link,
.mlp-team-standings .st-team-league-player-row .st-team-league-player-link {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  width: 100%;
  margin-inline: 0;
  text-align: left;
}
.mlp-team-standings .st-col-squad .st-team-league-roster {
  align-items: flex-start;
}
.mlp-standings-table .st-col-w {
  color: var(--pg);
  font-weight: 700;
}
.mlp-standings-table .st-col-l {
  color: #EF5350;
  font-weight: 700;
}
.mlp-standings-table .st-col-draws,
.mlp-standings-table .st-num--w { color: var(--pg); }
.mlp-standings-table .st-num--l { color: #EF5350; }
.mlp-standings-table .st-col-draws,
.mlp-standings-table .st-col-num.st-col-draws .st-num {
  color: #FB8C00;
  font-weight: 600;
}
.mlp-team-standings th.st-th-line-diff {
  min-width: 5.5rem;
  white-space: normal;
  line-height: 1.2;
  font-size: 9px;
}
.mlp-standings-view-toggle .export-btn.active,
.mlp-standings-scope-toggle .export-btn.active {
  background: var(--pg);
  color: #fff;
  border-color: var(--pg);
}
.mlp-standings-scope-toggle .export-btn-sm {
  font-size: 11px;
  padding: 5px 10px;
}
.mlp-line-standings th { font-size: 10px; }

/* ── Shootout ladder · light content (matches app shell colors) ── */
#live-session .ls-body:has(.ls-content-light) {
  padding: 8px clamp(10px, 1.5vw, 20px) 12px;
  background: #ECEFF1;
}
#live-session:has(.ls-content-light) {
  background: #ECEFF1;
}
.ls-content-light {
  width: 100%;
  max-width: none;
  margin: 0 auto;
}
/* RR light tabs (Court desk, Scores, My match, Playoffs, Admin) — inset shell */
.ls-content-light.ls-rr-tab-screen {
  box-sizing: border-box;
  width: 100%;
  max-width: min(1120px, 100%);
  margin: 0 auto;
  padding: 8px clamp(12px, 2.5vw, 20px) 16px;
  overflow-x: clip;
}
#live-session .ls-body:has(.ls-rr-tab-screen) {
  padding: 0 0 max(12px, env(safe-area-inset-bottom, 0));
  overflow-x: clip;
}
#live-session:has(.ls-rr-tab-screen) {
  overflow-x: clip;
}
/* Ladder light tabs — inset shell (rankings, challenge, courts, shootout, admin) */
.ls-content-light.ls-ladder-tab-screen {
  box-sizing: border-box;
  width: 100%;
  max-width: min(1120px, 100%);
  margin: 0 auto;
  padding: 8px clamp(12px, 2.5vw, 20px) 16px;
  overflow-x: clip;
}
#live-session.ls-ladder-live .ls-body:has(.ls-ladder-tab-screen) {
  padding: 0 0 max(12px, env(safe-area-inset-bottom, 0));
  overflow-x: clip;
}
#live-session.ls-ladder-live:has(.ls-ladder-tab-screen) {
  overflow-x: clip;
}
.ls-content-light.sh-pools-screen,
.ls-content-light.sh-rankings-screen,
.ls-content-light.ls-leaderboard-screen,
.ls-content-light.ls-admin-screen,
.ls-content-light.ls-mlp-screen {
  max-width: none;
}

/* MLP league live session — light shell (matches Events / detail panels) */
#live-session.ls-mlp-live,
#live-session:has(.ls-mlp-screen) {
  background: #ECEFF1;
}
#live-session:has(.ls-mlp-standings-screen),
#live-session.ls-mlp-live:has(.ls-mlp-standings-screen) {
  background: #FFFFFF;
}
/* ls-body flex layout for pinned standings chrome — see flush panel block below */
#live-session.ls-mlp-live .ls-header,
#live-session:has(.ls-mlp-screen) .ls-header {
  background: #fff;
  border-bottom: 0.5px solid var(--pb);
}
#live-session.ls-mlp-live .ls-back,
#live-session:has(.ls-mlp-screen) .ls-back {
  color: var(--ps);
  border-color: var(--pb);
  background: #F7F9F7;
  box-shadow: none;
}
#live-session.ls-mlp-live .ls-back:hover,
#live-session:has(.ls-mlp-screen) .ls-back:hover {
  background: #ECEFF1;
  color: var(--pn);
  border-color: #B0BEC5;
  box-shadow: none;
  transform: none;
}
#live-session.ls-mlp-live .ls-title,
#live-session:has(.ls-mlp-screen) .ls-title { color: var(--ps); }
#live-session.ls-mlp-live .ls-sub,
#live-session:has(.ls-mlp-screen) .ls-sub { color: #546E7A; }
#live-session.ls-mlp-live .ls-close,
#live-session:has(.ls-mlp-screen) .ls-close {
  color: #546E7A;
  border-color: var(--pb);
  background: #fff;
}
#live-session.ls-mlp-live .ls-close:hover,
#live-session:has(.ls-mlp-screen) .ls-close:hover {
  background: #F5F5F5;
  color: var(--ps);
}
#live-session.ls-mlp-live .ls-round-badge,
#live-session:has(.ls-mlp-screen) .ls-round-badge {
  max-width: min(280px, 42vw);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 767px) {
  #live-session.ls-mlp-live .ls-header,
  #live-session:has(.ls-mlp-screen) .ls-header {
    flex-wrap: wrap;
    align-items: stretch;
    gap: 8px;
    padding: 10px 12px max(10px, env(safe-area-inset-top, 0));
  }
  #live-session.ls-mlp-live .ls-header-start,
  #live-session:has(.ls-mlp-screen) .ls-header-start {
    flex: 1 1 100%;
    width: 100%;
    min-width: 0;
  }
  #live-session.ls-mlp-live .ls-header-main,
  #live-session:has(.ls-mlp-screen) .ls-header-main {
    flex: 1;
    min-width: 0;
  }
  #live-session.ls-mlp-live .ls-title,
  #live-session:has(.ls-mlp-screen) .ls-title {
    font-size: 15px;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  #live-session.ls-mlp-live .ls-back,
  #live-session:has(.ls-mlp-screen) .ls-back {
    padding: 8px 12px 8px 10px;
    font-size: 13px;
  }
  #live-session.ls-mlp-live .ls-round,
  #live-session:has(.ls-mlp-screen) .ls-round {
    flex: 1 1 100%;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    min-width: 0;
  }
  #live-session.ls-mlp-live .ls-round-badge,
  #live-session:has(.ls-mlp-screen) .ls-round-badge {
    flex: 1;
    min-width: 0;
    max-width: none;
    font-size: 11px;
    padding: 5px 12px;
    text-align: left;
  }
  #live-session.ls-mlp-live .ls-close,
  #live-session:has(.ls-mlp-screen) .ls-close {
    flex-shrink: 0;
    min-height: 36px;
    padding: 6px 10px;
    font-size: 0;
  }
  #live-session.ls-mlp-live .ls-close .ti,
  #live-session:has(.ls-mlp-screen) .ls-close .ti {
    font-size: 18px;
    line-height: 1;
  }
  #live-session.ls-mlp-live .ls-tabs,
  #live-session:has(.ls-mlp-screen) .ls-tabs {
    top: 96px;
  }
}
#live-session.ls-mlp-live .ls-tabs,
#live-session:has(.ls-mlp-screen) .ls-tabs {
  background: #fff;
  border-bottom: 0.5px solid var(--pb);
  gap: 2px;
  padding: 6px 8px 0;
  scroll-padding-inline: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
#live-session.ls-mlp-live .ls-tab,
#live-session:has(.ls-mlp-screen) .ls-tab {
  color: #455A64;
  font-weight: 700;
  border-radius: 10px 10px 0 0;
  flex-shrink: 0;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-bottom: none;
}
#live-session.ls-mlp-live .ls-tab .ti,
#live-session:has(.ls-mlp-screen) .ls-tab .ti {
  font-size: 17px;
  opacity: 1;
}
#live-session.ls-mlp-live .ls-tab:hover:not(.on),
#live-session:has(.ls-mlp-screen) .ls-tab:hover:not(.on) {
  color: var(--pn);
  background: #ECEFF1;
  border-color: var(--pb);
}
#live-session.ls-mlp-live .ls-tab.on,
#live-session:has(.ls-mlp-screen) .ls-tab.on {
  color: var(--pn);
  background: #fff;
  border-color: var(--pb);
  border-bottom: 3px solid var(--pg);
  box-shadow: 0 -1px 4px rgba(17, 24, 39, 0.04);
}
#live-session.ls-mlp-live .ls-tab.on .ti,
#live-session:has(.ls-mlp-screen) .ls-tab.on .ti { color: var(--pg); }

/* Ladder live session — light shell + header chrome (scoped; does not affect RR/MLP) */
#live-session.ls-ladder-live {
  background: #ECEFF1;
  overflow-x: clip;
  max-width: 100vw;
}
#live-session.ls-ladder-live:has(.ls-ladder-standings-screen),
#live-session.ls-ladder-live:has(.ls-standings-screen.ls-ladder-standings-screen) {
  background: #FFFFFF;
}
#live-session.ls-ladder-live .ls-header {
  background: #fff;
  border-bottom: 0.5px solid var(--pb);
}
#live-session.ls-ladder-live .ls-back {
  color: var(--ps);
  border-color: var(--pb);
  background: #F7F9F7;
  box-shadow: none;
}
#live-session.ls-ladder-live .ls-back:hover {
  background: #ECEFF1;
  color: var(--pn);
  border-color: #B0BEC5;
  box-shadow: none;
  transform: none;
}
#live-session.ls-ladder-live .ls-title { color: var(--ps); }
#live-session.ls-ladder-live .ls-sub { color: #546E7A; }
#live-session.ls-ladder-live .ls-close {
  color: #546E7A;
  border-color: var(--pb);
  background: #fff;
}
#live-session.ls-ladder-live .ls-close:hover {
  background: #F5F5F5;
  color: var(--ps);
}
#live-session.ls-ladder-live .ls-round-badge {
  background: #E3F2FD;
  color: var(--pn);
  border-color: rgba(37, 99, 235, 0.25);
}
#live-session.ls-ladder-live .ls-tabs {
  background: #fff;
  border-bottom: 0.5px solid var(--pb);
  gap: 2px;
  padding: 6px 8px 0;
  scroll-padding-inline: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
#live-session.ls-ladder-live .ls-tab {
  color: #455A64;
  font-weight: 700;
  border-radius: 10px 10px 0 0;
  flex-shrink: 0;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-bottom: none;
}
#live-session.ls-ladder-live .ls-tab .ti {
  font-size: 17px;
  opacity: 1;
}
#live-session.ls-ladder-live .ls-tab:hover:not(.on) {
  color: var(--pn);
  background: #ECEFF1;
  border-color: var(--pb);
}
#live-session.ls-ladder-live .ls-tab.on {
  color: var(--pn);
  background: #fff;
  border-color: var(--pb);
  border-bottom: 3px solid var(--pg);
  box-shadow: 0 -1px 4px rgba(17, 24, 39, 0.04);
}
#live-session.ls-ladder-live .ls-tab.on .ti { color: var(--pg); }
#live-session.ls-ladder-live .ls-body:has(.ls-ladder-standings-screen) {
  background: #FFFFFF;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.ld-standings-intro {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px clamp(12px, 2.5vw, 20px) 0;
  max-width: 100%;
  overflow-x: clip;
  box-sizing: border-box;
}
.ld-standings-intro .ls-page-guide,
.ld-standings-intro .ld-rhythm-card {
  margin-bottom: 0;
  max-width: 100%;
}
.ls-ladder-standings-screen .standings-panel--flush,
.ls-ladder-standings-screen .mlp-standings-panel--flush {
  flex: 1 1 auto;
  min-height: 0;
  min-width: 0;
}

/* Ladder Admin tab — light cards on ladder shell */
.ls-ladder-tab-screen.ls-admin-screen .ls-admin-command-bar {
  background: #fff;
  border: 0.5px solid var(--pb);
  border-radius: 12px;
  box-shadow: 0 1px 4px rgba(17, 24, 39, 0.05);
  color: var(--ps);
}
.ls-ladder-tab-screen.ls-admin-screen .ls-admin-command-badge {
  background: #F7F9F7;
  border-color: var(--pb);
  color: var(--pg);
}
.ls-ladder-tab-screen.ls-admin-screen .ls-admin-command-title {
  color: var(--pn);
  font-size: 16px;
}
.ls-ladder-tab-screen.ls-admin-screen .ls-admin-command-meta {
  color: #546E7A;
}
.ls-ladder-tab-screen.ls-admin-screen .ls-admin-cmd-btn {
  background: #fff;
  color: var(--ps);
  border: 0.5px solid var(--pb);
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.04);
}
.ls-ladder-tab-screen.ls-admin-screen .ls-admin-cmd-btn:hover:not(:disabled) {
  background: #F7F9F7;
  border-color: #B0BEC5;
  color: var(--pn);
}
.ls-ladder-tab-screen.ls-admin-screen .ls-admin-cmd-btn--gold {
  background: var(--py);
  color: var(--pn);
  border-color: #F9A825;
}
.ls-ladder-tab-screen.ls-admin-screen .ls-admin-cmd-btn--warn {
  background: #FFF3E0;
  color: #E65100;
  border-color: rgba(245, 124, 0, 0.35);
}

/* MLP Admin tab — match other MLP light screens */
.ls-mlp-admin-screen .ls-admin-command-bar {
  background: #fff;
  border: 0.5px solid var(--pb);
  border-radius: 12px;
  box-shadow: 0 1px 4px rgba(17, 24, 39, 0.05);
  color: var(--ps);
}
.ls-mlp-admin-screen .ls-admin-command-badge {
  background: #F7F9F7;
  border-color: var(--pb);
  color: var(--pg);
}
.ls-mlp-admin-screen .ls-admin-command-title {
  color: var(--pn);
  font-size: 16px;
}
.ls-mlp-admin-screen .ls-admin-command-meta {
  color: #546E7A;
}
.ls-mlp-admin-screen .ls-admin-cmd-btn {
  background: #fff;
  color: var(--ps);
  border: 0.5px solid var(--pb);
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.04);
}
.ls-mlp-admin-screen .ls-admin-cmd-btn:hover:not(:disabled) {
  background: #F7F9F7;
  border-color: #B0BEC5;
  color: var(--pn);
}
.ls-mlp-admin-screen .ls-admin-cmd-btn--gold {
  background: var(--py);
  color: var(--pn);
  border-color: #F9A825;
}
.ls-mlp-admin-screen .ls-admin-cmd-btn--warn {
  background: #FFF3E0;
  color: #E65100;
  border-color: rgba(245, 124, 0, 0.35);
}
.ls-mlp-admin-screen .ls-admin-cmd-btn--ghost {
  background: #F7F9F7;
  color: #546E7A;
  border-color: var(--pb);
  opacity: 1;
}
.ls-mlp-admin-screen .ls-admin-roster-panel {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
}
.mlp-admin-rosters { display: flex; flex-direction: column; gap: 14px; }
.mlp-admin-rosters-hd,
.mlp-admin-subs-hd {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.mlp-admin-rosters-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.mlp-admin-stat-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: #455A64;
  background: #ECEFF1;
  border: 0.5px solid var(--pb);
}
.mlp-admin-squad-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 10px;
}
.mlp-admin-squad-card,
.mlp-admin-subs-card {
  background: #fff;
  border: 0.5px solid var(--pb);
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(17, 24, 39, 0.05);
  padding: 12px 14px;
}
.mlp-admin-squad-hd {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 0.5px solid #ECEFF1;
}
.mlp-admin-squad-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 4px;
}
.mlp-admin-squad-name {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  color: var(--pn);
}
.mlp-admin-squad-sub {
  margin: 2px 0 0;
  font-size: 11px;
  color: #78909C;
}
.mlp-admin-squad-list,
.mlp-admin-subs-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mlp-admin-squad-player,
.mlp-admin-sub-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 8px;
  background: #F7F9F7;
}
.mlp-admin-sub-row.is-picked {
  opacity: 0.65;
  background: #ECEFF1;
}
.mlp-admin-player-av {
  width: 28px;
  height: 28px;
  font-size: 10px;
  flex-shrink: 0;
}
.mlp-admin-player-name {
  flex: 1 1 auto;
  font-size: 13px;
  font-weight: 600;
  color: var(--ps);
  min-width: 0;
}
.mlp-admin-player-badge {
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 6px;
  border-radius: 6px;
}
.mlp-admin-player-badge--captain {
  background: rgba(249, 168, 37, 0.2);
  color: #E65100;
}
.mlp-admin-player-badge--sub {
  background: rgba(66, 165, 245, 0.15);
  color: #1565C0;
}
.mlp-admin-player-badge--gender {
  background: #ECEFF1;
  color: #546E7A;
}
.mlp-admin-sub-status {
  font-size: 10px;
  font-weight: 700;
  color: #78909C;
  margin-left: auto;
}
.mlp-admin-week-tools-card {
  margin-bottom: 14px;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid rgba(25, 118, 210, 0.2);
  background: #f8fbff;
}
.mlp-admin-week-tools-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}
.mlp-admin-week-tools-note { margin: 8px 0 0; color: #546E7A; }
.mlp-week-matchup-reopen { margin: 4px 0 0 4px; }
.mlp-admin-subs-empty,
.mlp-admin-squad-empty {
  font-size: 12px;
  color: #90A4AE;
  padding: 8px 4px;
}

.ls-content-light.ls-mlp-screen {
  color: var(--pn);
}
.ls-content-light.ls-mlp-screen .ls-section-hd {
  color: var(--ps);
  font-weight: 700;
}
.ls-content-light.ls-mlp-screen .ls-hint {
  color: #546E7A;
}
/* My match — player screen (royal cobalt) */
.ls-my-match-page {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.mm-topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 14px 12px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--pn) 0%, #1e3a6e 55%, var(--pgd) 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(29, 78, 216, 0.22);
}
.mm-topbar-avatar {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: rgba(255, 255, 255, 0.16);
  border: 0.5px solid rgba(255, 255, 255, 0.22);
}
.mm-topbar-text { flex: 1; min-width: 0; }
.mm-topbar-eyebrow {
  margin: 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}
.mm-topbar-title {
  margin: 2px 0 0;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.mm-topbar-meta {
  margin: 3px 0 0;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
}
.mm-topbar-badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.mm-topbar-badge .ti { font-size: 8px; }
.mm-topbar-badge--live {
  background: rgba(76, 175, 80, 0.22);
  border: 0.5px solid rgba(129, 199, 132, 0.45);
  color: #C8E6C9;
}
.mm-topbar-badge--wait {
  background: rgba(249, 168, 37, 0.2);
  border: 0.5px solid rgba(255, 183, 77, 0.4);
  color: #FFE0B2;
}

/* Ladder live tab pages — royal cobalt topbar + light cards */
.ld-page {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  max-width: 100%;
  overflow-x: clip;
}
.ld-topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 14px 12px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--pn) 0%, #1e3a6e 55%, var(--pgd) 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(29, 78, 216, 0.22);
  flex-wrap: wrap;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
.ld-topbar-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-size: 20px;
  background: rgba(255, 255, 255, 0.16);
  border: 0.5px solid rgba(255, 255, 255, 0.22);
}
.ld-topbar-text { flex: 1; min-width: 0; }
.ld-topbar-eyebrow {
  margin: 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}
.ld-topbar-title {
  margin: 2px 0 0;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}
.ld-topbar-meta {
  margin: 3px 0 0;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
  overflow-wrap: anywhere;
}
.ld-topbar-badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.16);
  border: 0.5px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  max-width: min(100%, 180px);
  white-space: normal;
  line-height: 1.25;
  text-align: center;
}
.ld-ladder-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ld-ladder-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff;
  border: 0.5px solid rgba(37, 99, 235, 0.14);
  box-shadow: 0 1px 4px rgba(17, 24, 39, 0.05);
}
.ld-ladder-row--lead {
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 2px 10px rgba(29, 78, 216, 0.12);
}
.ld-ladder-rank {
  flex-shrink: 0;
  width: 28px;
  font-size: 15px;
  font-weight: 800;
  color: var(--pn);
  text-align: center;
}
.ld-ladder-row--lead .ld-ladder-rank { color: var(--pg); }
.ld-ladder-av.mc-av,
.ld-court-av.mc-av {
  width: 40px;
  height: 40px;
  font-size: 13px;
}
.ld-ladder-player { flex: 1; min-width: 0; }
.ld-ladder-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--ps);
  line-height: 1.2;
}
.ld-ladder-dupr {
  margin-top: 2px;
  font-size: 12px;
  font-weight: 600;
  color: #546E7A;
}
.ld-card {
  padding: 14px;
  border-radius: 12px;
  background: #fff;
  border: 0.5px solid var(--pb);
  box-shadow: 0 1px 4px rgba(17, 24, 39, 0.05);
}
.ld-section-title {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 800;
  color: var(--pn);
  letter-spacing: 0.02em;
}
.ld-challenge-pickers {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px;
  min-width: 0;
  max-width: 100%;
}
.ld-field {
  flex: 1 1 140px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.ld-field-label {
  font-size: 11px;
  font-weight: 700;
  color: #546E7A;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.ld-select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 0.5px solid var(--pb);
  background: #F7F9F7;
  color: var(--ps);
  font-size: 14px;
  font-weight: 600;
}
.ld-vs-pill {
  flex-shrink: 0;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 800;
  color: var(--pn);
  text-transform: uppercase;
}
.ld-score-entry {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}
.ls-ladder-screen .score-input {
  width: 64px;
  padding: 10px;
  border-radius: 10px;
  border: 0.5px solid var(--pb);
  background: #fff;
  color: var(--ps);
  font-size: 16px;
  font-weight: 700;
  text-align: center;
}
.ls-ladder-screen .score-sep {
  color: #90A4AE;
  font-weight: 700;
}
.ld-log-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ld-log-item {
  font-size: 13px;
  font-weight: 600;
  color: var(--ps);
  padding: 8px 10px;
  border-radius: 8px;
  background: #F7F9F7;
}
.ld-log-swap {
  color: var(--pg);
  font-weight: 800;
}
.ld-action-bar {
  display: flex;
  justify-content: center;
  padding-top: 4px;
}
.ld-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 12px;
  border: 0.5px solid var(--pb);
  background: #fff;
  color: var(--ps);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(17, 24, 39, 0.06);
}
.ld-action-btn--primary {
  background: linear-gradient(135deg, var(--pn) 0%, #1e40af 100%);
  border-color: rgba(37, 99, 235, 0.4);
  color: #fff;
  box-shadow: 0 2px 8px rgba(29, 78, 216, 0.25);
}
.ld-action-btn--primary:hover {
  filter: brightness(1.05);
}
.ld-courts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}
.ld-court-card {
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  border: 0.5px solid rgba(37, 99, 235, 0.14);
  box-shadow: 0 2px 10px rgba(17, 24, 39, 0.06);
}
.ld-court-hd {
  padding: 10px 14px;
  background: linear-gradient(135deg, var(--pn) 0%, #1e3a6e 100%);
  color: #fff;
}
.ld-court-num {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.ld-court-body {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ld-court-player {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ld-court-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--ps);
}
.ld-court-rotate {
  width: 100%;
  margin-top: 4px;
}
.ls-ladder-shootout-screen .sh-pools-play-grid {
  margin-top: 0;
  min-width: 0;
  max-width: 100%;
}
.ls-ladder-shootout-screen .sh-pool-play-card {
  min-width: 0;
  overflow: hidden;
}
.ls-ladder-shootout-screen .sh-pool-play-footer {
  margin-top: 4px;
}
.ls-content-light.ls-ladder-screen {
  min-width: 0;
  max-width: 100%;
  overflow-x: clip;
  box-sizing: border-box;
}
@media (max-width: 520px) {
  .ld-topbar-badge {
    width: 100%;
    max-width: 100%;
    justify-content: center;
  }
}
@media (max-width: 767px) {
  #live-session.ls-ladder-live .ls-header {
    flex-wrap: wrap;
    align-items: stretch;
    gap: 8px;
    padding: 10px 12px max(10px, env(safe-area-inset-top, 0));
  }
  #live-session.ls-ladder-live .ls-header-start {
    flex: 1 1 100%;
    width: 100%;
    min-width: 0;
  }
  #live-session.ls-ladder-live .ls-header-main {
    flex: 1;
    min-width: 0;
  }
  #live-session.ls-ladder-live .ls-title {
    font-size: 15px;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  #live-session.ls-ladder-live .ls-round-badge {
    max-width: min(280px, 42vw);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  #live-session.ls-ladder-live .ls-tabs {
    top: 96px;
  }
}

/* Ladder quick hints + inline field tips */
.ld-quick-hints {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ld-hint-chip {
  display: inline-flex;
  align-items: flex-start;
  gap: 6px;
  padding: 8px 11px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  color: #37474F;
  background: #fff;
  border: 0.5px solid rgba(37, 99, 235, 0.16);
  box-shadow: 0 1px 3px rgba(17, 24, 39, 0.04);
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.ld-hint-chip .ti {
  flex-shrink: 0;
  margin-top: 1px;
  font-size: 14px;
  color: var(--pn);
}

/* Ladder tonight vs season rhythm card */
.ld-rhythm-card {
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(145deg, #fff 0%, #F8FAFC 48%, #EFF6FF 100%);
  border: 0.5px solid rgba(37, 99, 235, 0.2);
  box-shadow: 0 4px 18px rgba(29, 78, 216, 0.1);
}
.ld-rhythm-hd {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 14px 10px;
  background: linear-gradient(135deg, var(--pn) 0%, #1e3a6e 55%, var(--pgd) 100%);
  color: #fff;
}
.ld-rhythm-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  font-size: 18px;
  background: rgba(255, 255, 255, 0.16);
  border: 0.5px solid rgba(255, 255, 255, 0.22);
}
.ld-rhythm-hd-text { flex: 1; min-width: 0; }
.ld-rhythm-title {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.ld-rhythm-lead {
  margin: 4px 0 0;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
}
.ld-rhythm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-bottom: 0.5px solid rgba(37, 99, 235, 0.1);
}
.ld-rhythm-col {
  padding: 12px 14px 14px;
  min-width: 0;
}
.ld-rhythm-col--tonight {
  background: rgba(255, 255, 255, 0.72);
  border-right: 0.5px solid rgba(37, 99, 235, 0.1);
}
.ld-rhythm-col--season {
  background: rgba(239, 246, 255, 0.55);
}
.ld-rhythm-col-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--pn);
}
.ld-rhythm-col-label .ti { font-size: 13px; color: var(--pg); }
.ld-rhythm-list {
  margin: 0;
  padding: 0 0 0 16px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
  color: #37474F;
}
.ld-rhythm-list li + li { margin-top: 6px; }
.ld-rhythm-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 2px;
  padding: 10px 12px 12px;
  background: #fff;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.ld-rhythm-step {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  color: var(--pn);
  background: #EFF6FF;
  border: 0.5px solid rgba(37, 99, 235, 0.18);
  white-space: nowrap;
}
.ld-rhythm-arrow {
  display: inline-flex;
  color: #90A4AE;
  font-size: 12px;
  padding: 0 2px;
}
@media (max-width: 640px) {
  .ld-rhythm-grid { grid-template-columns: 1fr; }
  .ld-rhythm-col--tonight {
    border-right: none;
    border-bottom: 0.5px solid rgba(37, 99, 235, 0.1);
  }
}

.ld-field-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.ld-inline-tip {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.1);
  color: var(--pn);
  font-size: 12px;
  line-height: 1;
  cursor: help;
  vertical-align: middle;
  flex-shrink: 0;
}
.ld-inline-tip:hover,
.ld-inline-tip:focus-visible,
.ld-inline-tip.ld-inline-tip--open {
  background: var(--pn);
  color: #fff;
  outline: none;
}
.ld-inline-tip-bubble {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%);
  z-index: 30;
  min-width: 180px;
  max-width: min(280px, 72vw);
  padding: 8px 10px;
  border-radius: 10px;
  background: #1e293b;
  color: #f8fafc;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.45;
  text-align: left;
  white-space: normal;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.28);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.12s, visibility 0.12s;
}
.ld-inline-tip-bubble::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #1e293b;
}
.ld-inline-tip:hover .ld-inline-tip-bubble,
.ld-inline-tip:focus-visible .ld-inline-tip-bubble,
.ld-inline-tip.ld-inline-tip--open .ld-inline-tip-bubble {
  opacity: 1;
  visibility: visible;
}
.ls-ladder-screen .ls-page-guide {
  margin-bottom: 10px;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}
.ls-ladder-screen .ls-page-guide-toggle {
  flex-wrap: wrap;
  align-items: center;
  row-gap: 6px;
  box-sizing: border-box;
  max-width: 100%;
}
.ls-ladder-screen .ls-page-guide-copy {
  flex: 1 1 0;
  min-width: 0;
}
.ls-ladder-screen .ls-page-guide-more {
  flex: 0 0 auto;
  margin-left: auto;
}
@media (max-width: 560px) {
  .ls-ladder-screen .ls-page-guide-more {
    flex-basis: 100%;
    margin-left: 0;
    padding-left: 36px;
    justify-content: flex-start;
  }
}
.ls-ladder-tab-screen.ls-admin-screen .ls-week-session-bar {
  margin-bottom: 10px;
}
.ls-ladder-tab-screen.ls-admin-screen .ls-admin-command-bar {
  margin-top: 0;
}
#live-session.ls-ladder-live .ls-tab[data-ls-tip]::after,
#live-session.ls-mlp-live .ls-tab[data-ls-tip]::after {
  background: #fff;
  color: var(--ps);
  border: 0.5px solid var(--pb);
  box-shadow: 0 8px 22px rgba(17, 24, 39, 0.14);
  font-weight: 600;
  max-width: 260px;
}
#live-session.ls-ladder-live .ls-tab[data-ls-tip]::before,
#live-session.ls-mlp-live .ls-tab[data-ls-tip]::before {
  border-top-color: #fff;
  filter: drop-shadow(0 1px 0 var(--pb));
}

.mm-match-card {
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 0.5px solid rgba(37, 99, 235, 0.14);
  box-shadow: 0 2px 10px rgba(17, 24, 39, 0.06);
}
.mm-match-card--done {
  border-color: rgba(46, 125, 50, 0.28);
  background: linear-gradient(180deg, #f1f8e9 0%, #fff 100%);
}
.mm-match-card-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  background: linear-gradient(180deg, #EFF6FF 0%, #F8FAFC 100%);
  border-bottom: 0.5px solid rgba(37, 99, 235, 0.1);
}
.mm-court-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  color: var(--pgd);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.mm-court-pill .ti { font-size: 13px; opacity: 0.9; }
.mm-court-fmt {
  margin-left: 4px;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--pn);
  background: rgba(37, 99, 235, 0.1);
  letter-spacing: 0.03em;
}
.mm-status-pill {
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.mm-status-pill--in-progress {
  color: #E65100;
  background: #FFF3E0;
  border: 0.5px solid rgba(230, 81, 0, 0.2);
}
.mm-status-pill--done {
  color: #2E7D32;
  background: #E8F5E9;
  border: 0.5px solid rgba(46, 125, 50, 0.22);
}
.mm-match-card-body { padding: 14px; }
.mm-match-teams { display: grid; gap: 10px; }
.mm-team {
  padding: 12px;
  border-radius: 12px;
  border: 0.5px solid var(--pb);
}
.mm-team--mine {
  background: linear-gradient(135deg, #EFF6FF 0%, #fff 100%);
  border-color: rgba(37, 99, 235, 0.18);
}
.mm-team--opp {
  background: #FAFAFA;
  border-color: #ECEFF1;
}
.mm-team-label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #78909C;
}
.mm-team-label .ti { font-size: 13px; }
.mm-team--mine .mm-team-label { color: var(--pgd); }
.mm-match-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -2px 0;
}
.mm-match-divider span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
  color: var(--pn);
  background: #fff;
  border: 0.5px solid var(--pb);
  box-shadow: 0 1px 4px rgba(17, 24, 39, 0.06);
}
.mm-score-panel {
  margin-top: 14px;
  padding: 14px;
  border-radius: 12px;
  background: linear-gradient(180deg, #F8FAFC 0%, #fff 100%);
  border: 0.5px solid var(--pb);
  text-align: center;
}
.mm-score-panel-label {
  margin: 0 0 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #78909C;
}
.mm-score-entry {
  justify-content: center;
  border-top: none !important;
  padding-top: 0 !important;
  margin-bottom: 12px;
}
.mm-score-entry .score-input {
  width: 56px !important;
  height: 52px;
  font-size: 22px;
  font-weight: 800;
  border-radius: 12px;
}
.mm-submit-btn {
  width: 100%;
  min-height: 44px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}
.mm-score-foot {
  margin: 10px 0 0;
  font-size: 11px;
  line-height: 1.4;
  color: #90A4AE;
  font-weight: 500;
}
.mm-pending-card {
  margin-top: 14px;
  padding: 16px;
  border-radius: 12px;
  text-align: center;
  background: linear-gradient(135deg, #FFF8E1 0%, #fff 100%);
  border: 0.5px solid rgba(249, 168, 37, 0.28);
}
.mm-pending-score {
  font-size: 36px;
  font-weight: 800;
  color: var(--pn);
  letter-spacing: -0.02em;
  line-height: 1;
}
.mm-pending-score span {
  margin: 0 6px;
  color: #90A4AE;
  font-weight: 600;
}
.mm-pending-meta {
  margin: 8px 0 0;
  font-size: 12px;
  color: #546E7A;
}
.mm-pending-actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}
.mm-pending-actions .mm-submit-btn { flex: 1; }
.mm-dispute-btn {
  flex: 1;
  min-height: 44px;
  border-radius: 12px;
  border: 0.5px solid #E53935;
  background: #fff;
  color: #C62828;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.mm-pending-wait {
  margin: 12px 0 0;
  font-size: 12px;
  font-weight: 600;
  color: #F57C00;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.mm-bo-callout {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #EFF6FF;
  border: 0.5px solid rgba(37, 99, 235, 0.16);
}
.mm-bo-callout-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--pg);
  color: #fff;
  font-size: 16px;
}
.mm-bo-callout-title {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 800;
  color: var(--pn);
}
.mm-bo-callout-lead {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: #546E7A;
}
.mm-empty-card {
  padding: 28px 20px;
  text-align: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff 0%, #FFF8EE 100%);
  border: 0.5px dashed rgba(249, 168, 37, 0.35);
}
.mm-empty-card--locked {
  background: linear-gradient(135deg, #fff 0%, #F5F7FA 100%);
  border-color: rgba(120, 144, 156, 0.35);
}
.mm-empty-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 12px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 24px;
  color: #F57C00;
  background: #FFF3E0;
}
.mm-empty-card--locked .mm-empty-icon {
  color: #607D8B;
  background: #ECEFF1;
}
.mm-empty-title {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 800;
  color: var(--pn);
}
.mm-empty-lead {
  margin: 0 auto;
  max-width: 300px;
  font-size: 13px;
  line-height: 1.5;
  color: #546E7A;
}
.ls-rr-player-screen .mm-match-card .mc-player,
.ls-open-player-screen .mm-match-card .mc-player,
.ls-rr-player-screen .mm-match-card .mc-team-player,
.ls-open-player-screen .mm-match-card .mc-team-player {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  margin-bottom: 0;
}
.ls-rr-player-screen .mm-match-card .mc-team-side,
.ls-open-player-screen .mm-match-card .mc-team-side {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ls-rr-player-screen .mm-match-card .mc-name,
.ls-open-player-screen .mm-match-card .mc-name {
  color: var(--pn) !important;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
}
.ls-rr-player-screen .mm-match-card .mc-dupr,
.ls-open-player-screen .mm-match-card .mc-dupr {
  color: #607D8B !important;
  font-size: 11px;
  font-weight: 600;
  margin-top: 2px;
}
.ls-rr-player-screen .mm-match-card .mc-av,
.ls-open-player-screen .mm-match-card .mc-av {
  width: 44px;
  height: 44px;
  font-size: 14px;
  box-shadow: 0 2px 6px rgba(17, 24, 39, 0.12);
}
.ls-rr-player-screen .mm-match-card .mc-av-sm,
.ls-open-player-screen .mm-match-card .mc-av-sm {
  width: 40px;
  height: 40px;
  font-size: 12px;
  box-shadow: 0 2px 6px rgba(17, 24, 39, 0.1);
}
.ls-rr-player-screen .mm-match-card .user-av img,
.ls-open-player-screen .mm-match-card .user-av img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ls-content-light.ls-mlp-screen .mlp-subs-bar {
  background: #fff;
  border: 0.5px solid var(--pb);
  border-radius: 12px;
  padding: 12px 14px;
  margin: 8px 0 12px;
}
.ls-content-light.ls-mlp-screen .mlp-sub-card-name { color: var(--pn); }
.ls-content-light.ls-mlp-screen .mlp-sub-card-rating strong { color: #1a2332; }
.ls-content-light.ls-mlp-screen .mlp-sub-manage-team-sel,
.ls-content-light.ls-mlp-screen .mlp-sub-td-manage .fi {
  background: #fff;
  border: 0.5px solid var(--pb);
  color: var(--pn);
}
.ls-content-light.ls-mlp-screen .mlp-lineup-block .fl {
  color: var(--ps);
}
.mlp-score-locked {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 8px 0 0;
  padding: 10px 12px;
  font-size: 11px;
  line-height: 1.4;
  color: #78909C;
  background: #F5F5F5;
  border: 0.5px solid #E0E0E0;
  border-radius: 8px;
}
.mlp-score-locked .ti { font-size: 14px; flex-shrink: 0; color: #90A4AE; }
.mlp-line-done-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 4px;
}
.mlp-line-done-score {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  color: #37474F;
}
.ls-content-light.ls-mlp-screen .mlp-line-done-score { color: #37474F; }
.mlp-revise-score-btn {
  flex-shrink: 0;
  font-size: 11px;
  padding: 5px 10px;
  min-height: 32px;
}
.ls-content-light.ls-mlp-screen .match-card {
  background: #fff;
  border: 0.5px solid var(--pb);
  border-radius: 12px;
  box-shadow: 0 1px 4px rgba(17, 24, 39, 0.05);
}
.ls-content-light.ls-mlp-screen .match-card .mc-header {
  background: #F7F9F7;
  border-bottom: 0.5px solid var(--pb);
}
.ls-content-light.ls-mlp-screen .match-card .mc-court {
  color: #607D8B;
}
.ls-content-light.ls-mlp-screen .match-card .mc-name {
  color: var(--ps);
  font-weight: 600;
}
.ls-content-light.ls-mlp-screen .match-card.complete {
  background: #F1F8E9;
  border-color: rgba(46, 125, 50, 0.28);
}
/* RR Scores + My match — white result numbers on colored score pills */
.ls-rr-scores-screen .match-card.complete .mc-team-score,
.ls-rr-scores-screen .match-card.complete .mc-score-display,
.ls-league-week-screen .match-card.complete .mc-score-display,
.ls-league-team-week-screen .match-card.complete .mc-score-display,
.ls-rr-player-screen .match-card.complete .mc-team-score,
.ls-rr-player-screen .match-card.complete .mc-score-display {
  color: #fff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  padding: 6px 14px;
  border-radius: 10px;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 2px 6px rgba(17, 24, 39, 0.12);
}
.ls-rr-scores-screen .match-card.complete .mc-team-side.winner .mc-team-score,
.ls-rr-scores-screen .match-card.complete .mc-player.winner .mc-score-display,
.ls-league-week-screen .match-card.complete .mc-player.winner .mc-score-display,
.ls-league-team-week-screen .match-card.complete .mc-player.winner .mc-score-display,
.ls-rr-player-screen .match-card.complete .mc-team-side.winner .mc-team-score,
.ls-rr-player-screen .match-card.complete .mc-player.winner .mc-score-display {
  background: var(--pg);
}
.ls-rr-scores-screen .match-card.complete .mc-team-side.loser .mc-team-score,
.ls-rr-scores-screen .match-card.complete .mc-player.loser .mc-score-display,
.ls-league-week-screen .match-card.complete .mc-player.loser .mc-score-display,
.ls-league-team-week-screen .match-card.complete .mc-player.loser .mc-score-display,
.ls-rr-scores-screen .match-card.complete .mc-team-side:not(.winner) .mc-team-score,
.ls-rr-scores-screen .match-card.complete .mc-player:not(.winner) .mc-score-display,
.ls-rr-player-screen .match-card.complete .mc-team-side.loser .mc-team-score,
.ls-rr-player-screen .match-card.complete .mc-player.loser .mc-score-display,
.ls-rr-player-screen .match-card.complete .mc-team-side:not(.winner) .mc-team-score,
.ls-rr-player-screen .match-card.complete .mc-player:not(.winner) .mc-score-display {
  background: #455A64;
}
.ls-content-light.ls-mlp-screen .score-input {
  background: #fff;
  border: 0.5px solid var(--pb);
  color: var(--pn);
}
.ls-content-light.ls-mlp-screen .team-badge {
  background: #fff !important;
  border: 1px solid var(--pb);
  color: var(--ps);
}
.ls-content-light.ls-mlp-screen .team-badge strong { color: var(--pn); }
.ls-content-light.ls-mlp-screen .team-badge span { color: #607D8B; }
.ls-content-light.ls-mlp-screen .score-sep { color: #90A4AE; }
.ls-content-light.ls-mlp-screen .mc-player .mc-name { color: var(--ps); }
.ls-content-light.ls-mlp-screen .mc-player .mc-dupr { color: #78909C; }
.ls-content-light.ls-mlp-screen .mc-vs { color: #90A4AE; }
.ls-content-light.ls-mlp-screen .score-entry { border-top-color: var(--pb); }
.ls-content-light.ls-mlp-screen .cd-notif-list {
  color: #546E7A;
}
.ls-content-light.ls-mlp-screen .cd-notif-list li {
  border-bottom-color: var(--pb);
}
.ls-content-light.ls-mlp-screen .cd-stats {
  background: #fff;
  border: 0.5px solid var(--pb);
  color: #455A64;
  box-shadow: 0 1px 3px rgba(17, 24, 39, 0.05);
}
.ls-content-light.ls-mlp-screen .cd-stats strong { color: var(--pn); }
.ls-content-light.ls-mlp-screen .cd-muted { color: #78909C; }
.ls-content-light.ls-mlp-screen .cd-court-card {
  background: #fff;
  border: 0.5px solid var(--pb);
  box-shadow: 0 1px 3px rgba(17, 24, 39, 0.05);
}
.ls-content-light.ls-mlp-screen .cd-match { color: var(--ps); }
.ls-content-light.ls-mlp-screen .cd-queue-row {
  background: #fff;
  border: 0.5px solid var(--pb);
  color: var(--ps);
}
.ls-content-light.ls-mlp-screen .match-admin-hint {
  background: #EFF6FF;
  border-color: rgba(37, 99, 235, 0.14);
  color: #455A64;
}
.ls-content-light.ls-mlp-screen .ma-btn {
  background: #F7F9F7;
  border-color: var(--pb);
  color: var(--ps);
}
.ls-content-light.ls-mlp-screen .ma-btn:hover {
  background: #ECEFF1;
  color: var(--pn);
}
.ls-content-light.ls-mlp-screen .score-btn-minus {
  background: #ECEFF1;
  color: #546E7A;
}
.ls-content-light.ls-mlp-screen .score-btn-plus {
  background: rgba(46, 125, 50, 0.12);
  color: var(--pg);
}
.ls-content-light.ls-mlp-screen .complete-btn:disabled {
  background: #ECEFF1;
  color: #90A4AE;
}
.ls-content-light.ls-mlp-screen .export-btn {
  background: #fff;
  color: var(--ps);
  border: 0.5px solid var(--pb);
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.05);
}
.ls-content-light.ls-mlp-screen .export-btn:hover {
  background: #F7F9F7;
  color: var(--pn);
}
.ls-content-light.ls-mlp-screen .mlp-standings-view-toggle .export-btn.active,
.ls-content-light.ls-mlp-screen .mlp-standings-scope-toggle .export-btn.active {
  background: var(--pg);
  color: #fff;
  border-color: var(--pg);
}
#live-session .ls-content-light.ls-mlp-screen .standings-table th {
  color: #546E7A;
  background: #F7F9F7;
  border-bottom: 0.5px solid var(--pb);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 10px;
}
#live-session .ls-content-light.ls-mlp-screen .standings-table td {
  color: #1a2332;
  border-bottom: 0.5px solid #ECEFF1;
}
#live-session .ls-content-light.ls-mlp-screen .standings-table tr:first-child td,
#live-session .ls-content-light.ls-mlp-screen .standings-table tbody td {
  color: #1a2332;
}

/* RR Court desk — polished light layout */
.ls-rr-courtdesk-screen .cd-page {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ls-rr-courtdesk-screen .cd-page-hd {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  background: linear-gradient(135deg, #fff 0%, #F7F9F7 100%);
  border: 0.5px solid var(--pb);
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(17, 24, 39, 0.06);
}
.ls-rr-courtdesk-screen .cd-page-title {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: var(--pn);
  letter-spacing: -0.02em;
}
.ls-rr-courtdesk-screen .cd-page-meta {
  margin: 4px 0 0;
  font-size: 12px;
  color: #607D8B;
}
.ls-rr-courtdesk-screen .cd-fill-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: none;
  border-radius: 10px;
  background: var(--pg);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(46, 125, 50, 0.28);
  transition: transform 0.12s, box-shadow 0.12s, background 0.12s;
}
.ls-rr-courtdesk-screen .cd-fill-btn:hover:not(:disabled) {
  background: var(--pgd);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(46, 125, 50, 0.32);
}
.ls-rr-courtdesk-screen .cd-fill-btn:disabled {
  background: #CFD8DC;
  color: #78909C;
  box-shadow: none;
  cursor: not-allowed;
}
.ls-rr-courtdesk-screen .cd-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.ls-rr-courtdesk-screen .cd-kpi {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 14px 10px;
  border-radius: 12px;
  border: 0.5px solid var(--pb);
  background: #fff;
  box-shadow: 0 1px 4px rgba(17, 24, 39, 0.04);
}
.ls-rr-courtdesk-screen .cd-kpi-icon {
  font-size: 16px;
  line-height: 1;
  margin-bottom: 2px;
}
.ls-rr-courtdesk-screen .cd-kpi--todo .cd-kpi-icon { color: #1976D2; }
.ls-rr-courtdesk-screen .cd-kpi--live .cd-kpi-icon { color: var(--py); }
.ls-rr-courtdesk-screen .cd-kpi--done .cd-kpi-icon { color: var(--pg); }
.ls-rr-courtdesk-screen .cd-kpi-val {
  font-size: 24px;
  font-weight: 800;
  color: var(--pn);
  line-height: 1.1;
}
.ls-rr-courtdesk-screen .cd-kpi-lbl {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #78909C;
}
.ls-rr-courtdesk-screen .cd-section-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  min-width: 0;
}
.ls-rr-courtdesk-screen .cd-section-title {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  color: var(--ps);
  display: flex;
  align-items: center;
  gap: 8px;
}
.ls-rr-courtdesk-screen .cd-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  color: #1976D2;
  background: #E3F2FD;
}
.ls-rr-courtdesk-screen .cd-section-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  border: 0.5px solid var(--pb);
  border-radius: 8px;
  background: #fff;
  color: var(--ps);
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.12s, color 0.12s;
}
.ls-rr-courtdesk-screen .cd-section-link:hover {
  background: #F7F9F7;
  color: var(--pn);
}
.ls-rr-courtdesk-screen .cd-courts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
  gap: 12px;
  min-width: 0;
}
.ls-rr-courtdesk-screen .cd-courts-grid > * {
  min-width: 0;
}
@media (max-width: 767px) {
  .ls-rr-courtdesk-screen .cd-courts-grid {
    grid-template-columns: 1fr;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .ls-rr-courtdesk-screen .cd-courts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.ls-rr-courtdesk-screen .cd-court {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  border-radius: 14px;
  border: 0.5px solid var(--pb);
  background: #fff;
  box-shadow: 0 2px 6px rgba(17, 24, 39, 0.05);
  min-height: 160px;
  min-width: 0;
  overflow: hidden;
}
.ls-rr-courtdesk-screen .cd-court--active {
  border-top: 3px solid var(--pg);
}
.ls-rr-courtdesk-screen .cd-court.cd-timer-mid {
  border-top-color: #FFB74D;
}
.ls-rr-courtdesk-screen .cd-court.cd-timer-mid .cd-court-timer {
  color: #E65100;
  background: #FFF3E0;
}
.ls-rr-courtdesk-screen .cd-court.cd-timer-warn {
  border-top-color: #EF5350;
}
.ls-rr-courtdesk-screen .cd-court.cd-timer-warn .cd-court-timer {
  color: #C62828;
  background: #FFEBEE;
}
.ls-rr-courtdesk-screen .cd-court--empty {
  border-top: 3px dashed #CFD8DC;
  background: #FAFBFC;
}
.ls-rr-courtdesk-screen .cd-court-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.ls-rr-courtdesk-screen .cd-court-num {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--py);
}
.ls-rr-courtdesk-screen .cd-court-timer,
.ls-rr-courtdesk-screen .cd-court-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
}
.ls-rr-courtdesk-screen .cd-court-timer {
  color: #546E7A;
  background: #ECEFF1;
}
.ls-rr-courtdesk-screen .cd-court-status {
  color: #78909C;
  background: #ECEFF1;
}
.ls-rr-courtdesk-screen .cd-court-empty-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #B0BEC5;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  padding: 12px 0;
}
.ls-rr-courtdesk-screen .cd-court-empty-body .ti {
  font-size: 28px;
  opacity: 0.55;
}
.ls-rr-courtdesk-screen .cd-match-teams {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.ls-rr-courtdesk-screen .cd-team {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ls-rr-courtdesk-screen .cd-player {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.ls-rr-courtdesk-screen .cd-player-av {
  width: 26px !important;
  height: 26px !important;
  font-size: 10px !important;
  flex-shrink: 0;
}
.ls-rr-courtdesk-screen .cd-player-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--pn);
  line-height: 1.25;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ls-rr-courtdesk-screen .cd-match-vs {
  align-self: center;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #B0BEC5;
  padding: 2px 0;
}
.ls-rr-courtdesk-screen .cd-match-label {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--ps);
  line-height: 1.4;
}
.ls-rr-courtdesk-screen .cd-court-actions {
  display: flex;
  gap: 6px;
  margin-top: auto;
  padding-top: 8px;
  border-top: 0.5px solid #ECEFF1;
}
.ls-rr-courtdesk-screen .cd-action {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 7px 8px;
  border-radius: 8px;
  border: 0.5px solid var(--pb);
  background: #F7F9F7;
  color: var(--ps);
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.12s, color 0.12s;
}
.ls-rr-courtdesk-screen .cd-action:hover {
  background: #ECEFF1;
  color: var(--pn);
}
.ls-rr-courtdesk-screen .cd-action--primary {
  background: var(--pg);
  border-color: var(--pg);
  color: #fff;
}
.ls-rr-courtdesk-screen .cd-action--primary:hover {
  background: var(--pgd);
  color: #fff;
}
.ls-rr-courtdesk-screen .cd-queue-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ls-rr-courtdesk-screen .cd-queue-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 0.5px solid var(--pb);
  background: #fff;
  box-shadow: 0 1px 4px rgba(17, 24, 39, 0.04);
}
.ls-rr-courtdesk-screen .cd-queue-pos {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #E3F2FD;
  color: #1565C0;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
}
.ls-rr-courtdesk-screen .cd-queue-assign {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}
.ls-rr-courtdesk-screen .cd-court-pill {
  padding: 6px 12px;
  border-radius: 999px;
  border: 0.5px solid rgba(46, 125, 50, 0.35);
  background: rgba(46, 125, 50, 0.08);
  color: var(--pg);
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.12s, transform 0.12s;
}
.ls-rr-courtdesk-screen .cd-court-pill:hover {
  background: rgba(46, 125, 50, 0.16);
  transform: translateY(-1px);
}
.ls-rr-courtdesk-screen .cd-queue-wait {
  font-size: 11px;
  font-weight: 600;
  color: #90A4AE;
  white-space: nowrap;
}
.ls-rr-courtdesk-screen .cd-queue-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 24px 16px;
  text-align: center;
  border-radius: 12px;
  border: 0.5px dashed #CFD8DC;
  background: #FAFBFC;
  color: #78909C;
}
.ls-rr-courtdesk-screen .cd-queue-empty .ti {
  font-size: 28px;
  color: var(--pg);
  opacity: 0.7;
}
.ls-rr-courtdesk-screen .cd-queue-empty p {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  max-width: 280px;
}
@media (max-width: 767px) {
  .ls-rr-courtdesk-screen .cd-page-hd {
    flex-direction: column;
    align-items: stretch;
  }
  .ls-rr-courtdesk-screen .cd-fill-btn {
    width: 100%;
    justify-content: center;
  }
  .ls-rr-courtdesk-screen .cd-queue-card {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .ls-rr-courtdesk-screen .cd-queue-pos {
    display: none;
  }
  .ls-rr-courtdesk-screen .cd-queue-assign {
    justify-content: flex-start;
  }
}

/* Open Play — MLP/RR light shell (all openSub formats) */
.ls-open-play-screen .cd-page,
.ls-open-king-screen .cd-page,
.ls-open-queue-screen .cd-page,
.ls-open-mix-screen .cd-page,
.ls-open-luck-screen .cd-page,
.ls-open-abcd-screen .cd-page,
.ls-open-goldsilver-screen .cd-page,
.ls-open-challenge-screen .cd-page {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ls-open-play-screen .cd-page-hd,
.ls-open-king-screen .cd-page-hd,
.ls-open-queue-screen .cd-page-hd,
.ls-open-mix-screen .cd-page-hd,
.ls-open-luck-screen .cd-page-hd,
.ls-open-abcd-screen .cd-page-hd,
.ls-open-goldsilver-screen .cd-page-hd,
.ls-open-challenge-screen .cd-page-hd,
.ls-rr-courtdesk-screen .cd-page-hd {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  background: linear-gradient(135deg, #fff 0%, #F7F9F7 100%);
  border: 0.5px solid var(--pb);
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(17, 24, 39, 0.06);
}
.ls-open-play-screen .cd-page-title,
.ls-open-king-screen .cd-page-title,
.ls-open-queue-screen .cd-page-title,
.ls-open-mix-screen .cd-page-title,
.ls-open-luck-screen .cd-page-title,
.ls-open-abcd-screen .cd-page-title,
.ls-open-goldsilver-screen .cd-page-title,
.ls-open-challenge-screen .cd-page-title,
.ls-rr-courtdesk-screen .cd-page-title {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: var(--pn);
  letter-spacing: -0.02em;
}
.ls-open-play-screen .cd-page-meta,
.ls-open-king-screen .cd-page-meta,
.ls-open-queue-screen .cd-page-meta,
.ls-open-mix-screen .cd-page-meta,
.ls-open-luck-screen .cd-page-meta,
.ls-open-abcd-screen .cd-page-meta,
.ls-open-goldsilver-screen .cd-page-meta,
.ls-open-challenge-screen .cd-page-meta,
.ls-rr-courtdesk-screen .cd-page-meta {
  margin: 4px 0 0;
  font-size: 12px;
  color: #607D8B;
}

/* Traditional / Flex / Team league — RR/MLP light shell */
.ls-league-week-screen .cd-page,
.ls-league-team-week-screen .cd-page,
.ls-league-player-screen .cd-page {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ls-league-week-screen .cd-page-hd,
.ls-league-team-week-screen .cd-page-hd,
.ls-league-player-screen .cd-page-hd {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  background: linear-gradient(135deg, #fff 0%, #F7F9F7 100%);
  border: 0.5px solid var(--pb);
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(17, 24, 39, 0.06);
}
.ls-league-week-screen .cd-page-title,
.ls-league-team-week-screen .cd-page-title,
.ls-league-player-screen .cd-page-title {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: var(--pn);
  letter-spacing: -0.02em;
}
.ls-league-week-screen .cd-page-meta,
.ls-league-team-week-screen .cd-page-meta,
.ls-league-player-screen .cd-page-meta {
  margin: 4px 0 0;
  font-size: 12px;
  color: #607D8B;
}
.ls-league-week-screen .lg-week-hint,
.ls-league-team-week-screen .lg-week-hint {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  color: #546E7A;
}
.ls-league-week-screen .lg-week-hint--sub {
  font-size: 12px;
  font-weight: 500;
  color: #78909C;
}
.ls-league-week-screen .lg-flex-panel,
.ls-league-team-week-screen .lg-flex-panel {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #EFF6FF;
  border: 0.5px solid rgba(37, 99, 235, 0.18);
}
.ls-league-week-screen .lg-section-label,
.ls-league-team-week-screen .lg-section-label {
  margin: 4px 0 0;
  font-size: 13px;
  font-weight: 800;
  color: var(--pn);
  letter-spacing: 0.02em;
}
.ls-league-week-screen .lg-match-list,
.ls-league-team-week-screen .lg-match-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ls-league-week-screen .lg-match-players,
.ls-league-team-week-screen .lg-match-players {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.ls-league-week-screen .lg-score-entry,
.ls-league-team-week-screen .lg-score-entry {
  margin-top: 8px;
  padding-top: 10px;
  border-top: 0.5px solid var(--pb);
}
.ls-league-week-screen .lg-add-match,
.ls-league-team-week-screen .lg-add-match {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff;
  border: 0.5px solid var(--pb);
  box-shadow: 0 1px 3px rgba(17, 24, 39, 0.04);
}
.ls-league-week-screen .lg-line-roster,
.ls-league-team-week-screen .lg-line-roster {
  margin-bottom: 6px;
}
.ls-league-week-screen .lg-line-done,
.ls-league-team-week-screen .lg-line-done {
  margin: 4px 0 0;
  font-size: 12px;
  font-weight: 600;
  color: #37474F;
}
.ls-league-week-screen .lg-season-end-btn {
  margin-left: 8px;
}
.ls-league-week-screen .mlp-week-finish-row,
.ls-league-team-week-screen .mlp-week-finish-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.ls-league-week-screen .ls-week-session-bar,
.ls-league-team-week-screen .ls-week-session-bar {
  margin-bottom: 0;
}
.lg-standings-intro {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px clamp(12px, 2.5vw, 20px) 0;
  max-width: 100%;
  overflow-x: clip;
  box-sizing: border-box;
}
.lg-standings-intro .ls-page-guide,
.lg-standings-intro .lg-rhythm-card,
.lg-standings-intro .ld-rhythm-card {
  margin-bottom: 0;
  max-width: 100%;
}
.ls-content-light.ls-mlp-screen .ls-page-guide,
.ls-league-week-screen .ls-page-guide,
.ls-league-team-week-screen .ls-page-guide,
.ls-league-player-screen .ls-page-guide {
  margin-bottom: 0;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}
.ls-league-week-screen .ls-page-guide-toggle,
.ls-league-team-week-screen .ls-page-guide-toggle,
.ls-league-player-screen .ls-page-guide-toggle,
.ls-content-light.ls-mlp-screen .ls-page-guide-toggle {
  flex-wrap: wrap;
  align-items: center;
  row-gap: 6px;
  box-sizing: border-box;
  max-width: 100%;
}
.ls-league-week-screen .ls-page-guide-copy,
.ls-league-team-week-screen .ls-page-guide-copy,
.ls-league-player-screen .ls-page-guide-copy,
.lg-standings-intro .ls-page-guide-copy {
  flex: 1 1 0;
  min-width: 0;
}
.ls-league-week-screen .ls-page-guide-more,
.ls-league-team-week-screen .ls-page-guide-more,
.ls-league-player-screen .ls-page-guide-more {
  flex: 0 0 auto;
  margin-left: auto;
}
@media (max-width: 560px) {
  .ls-league-week-screen .ls-page-guide-more,
  .ls-league-team-week-screen .ls-page-guide-more,
  .ls-league-player-screen .ls-page-guide-more,
  .lg-standings-intro .ls-page-guide-more {
    flex-basis: 100%;
    margin-left: 0;
    padding-left: 36px;
    justify-content: flex-start;
  }
}
.ls-league-week-screen .lg-rhythm-card,
.ls-league-team-week-screen .lg-rhythm-card {
  max-width: 100%;
  overflow: hidden;
}
.ls-content-light.ls-league-standings-screen,
.ls-content-light.ls-team-league-standings-screen,
.ls-content-light.ls-leaderboard-screen:has(.lg-standings-intro) {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}
.ls-content-light .lg-standings-intro + .standings-panel--flush,
.ls-content-light .lg-standings-intro + .mlp-standings-panel--flush {
  flex: 1 1 auto;
  min-height: 0;
  min-width: 0;
}

.ls-open-play-screen .cd-fill-btn,
.ls-open-king-screen .cd-fill-btn,
.ls-open-mix-screen .cd-fill-btn,
.ls-open-luck-screen .cd-fill-btn,
.ls-open-abcd-screen .cd-fill-btn,
.ls-rr-courtdesk-screen .cd-fill-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: none;
  border-radius: 10px;
  background: var(--pg);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(46, 125, 50, 0.25);
}
.ls-open-play-screen .cd-fill-btn:hover,
.ls-open-king-screen .cd-fill-btn:hover,
.ls-open-mix-screen .cd-fill-btn:hover,
.ls-open-luck-screen .cd-fill-btn:hover,
.ls-open-abcd-screen .cd-fill-btn:hover,
.ls-rr-courtdesk-screen .cd-fill-btn:hover {
  filter: brightness(1.05);
}
.ls-open-play-screen .cd-kpis,
.ls-open-king-screen .cd-kpis,
.ls-open-queue-screen .cd-kpis,
.ls-open-mix-screen .cd-kpis,
.ls-open-luck-screen .cd-kpis,
.ls-open-abcd-screen .cd-kpis,
.ls-open-goldsilver-screen .cd-kpis,
.ls-open-challenge-screen .cd-kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
  gap: 10px;
}
.ls-open-play-screen .cd-kpi,
.ls-open-king-screen .cd-kpi,
.ls-open-queue-screen .cd-kpi,
.ls-open-mix-screen .cd-kpi,
.ls-open-luck-screen .cd-kpi,
.ls-open-abcd-screen .cd-kpi,
.ls-open-goldsilver-screen .cd-kpi,
.ls-open-challenge-screen .cd-kpi {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 12px 8px;
  background: #fff;
  border: 0.5px solid var(--pb);
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(17, 24, 39, 0.05);
}
.ls-open-play-screen .cd-kpi-val,
.ls-open-king-screen .cd-kpi-val,
.ls-open-queue-screen .cd-kpi-val,
.ls-open-mix-screen .cd-kpi-val,
.ls-open-luck-screen .cd-kpi-val,
.ls-open-abcd-screen .cd-kpi-val,
.ls-open-goldsilver-screen .cd-kpi-val,
.ls-open-challenge-screen .cd-kpi-val {
  font-size: 22px;
  font-weight: 800;
  color: var(--pn);
  line-height: 1;
}
.ls-open-play-screen .cd-kpi-lbl,
.ls-open-king-screen .cd-kpi-lbl,
.ls-open-queue-screen .cd-kpi-lbl,
.ls-open-mix-screen .cd-kpi-lbl,
.ls-open-luck-screen .cd-kpi-lbl,
.ls-open-abcd-screen .cd-kpi-lbl,
.ls-open-goldsilver-screen .cd-kpi-lbl,
.ls-open-challenge-screen .cd-kpi-lbl {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #78909C;
}
.ls-open-play-screen .op-lead-hint,
.ls-open-king-screen .op-lead-hint {
  margin: 0;
  color: #546E7A;
}
.ls-open-play-screen .op-court-grid,
.ls-open-king-screen .op-court-grid,
.ls-open-mix-screen .op-court-grid,
.ls-open-luck-screen .op-court-grid,
.ls-open-abcd-screen .op-court-grid,
.ls-open-goldsilver-screen .op-court-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}
.ls-open-play-screen .op-court-card,
.ls-open-king-screen .op-court-card,
.ls-open-mix-screen .op-court-card,
.ls-open-luck-screen .op-court-card,
.ls-open-abcd-screen .op-court-card,
.ls-open-goldsilver-screen .op-court-card,
.ls-open-challenge-screen .op-court-card {
  background: #fff;
  border: 0.5px solid var(--pb);
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 1px 4px rgba(17, 24, 39, 0.05);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ls-open-play-screen .op-court-card--short,
.ls-open-mix-screen .op-court-card--short,
.ls-open-luck-screen .op-court-card--short,
.ls-open-abcd-screen .op-court-card--short {
  border-color: rgba(255, 183, 77, 0.45);
  background: #FFFBF5;
}
.ls-open-play-screen .op-court-card--empty,
.ls-open-king-screen .op-court-card--empty {
  background: #F7F9F7;
  border-style: dashed;
}
.ls-open-play-screen .op-court-top,
.ls-open-king-screen .op-court-top,
.ls-open-mix-screen .op-court-top,
.ls-open-luck-screen .op-court-top,
.ls-open-abcd-screen .op-court-top,
.ls-open-goldsilver-screen .op-court-top,
.ls-open-challenge-screen .op-court-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.ls-open-play-screen .op-court-num,
.ls-open-king-screen .op-court-num,
.ls-open-mix-screen .op-court-num,
.ls-open-luck-screen .op-court-num,
.ls-open-abcd-screen .op-court-num,
.ls-open-goldsilver-screen .op-court-num,
.ls-open-challenge-screen .op-court-num {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #607D8B;
}
.ls-open-play-screen .op-court-badge,
.ls-open-king-screen .op-court-badge,
.ls-open-mix-screen .op-court-badge,
.ls-open-luck-screen .op-court-badge,
.ls-open-abcd-screen .op-court-badge,
.ls-open-challenge-screen .op-court-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  background: #ECEFF1;
  color: #546E7A;
}
.ls-open-play-screen .op-court-badge--full,
.ls-open-king-screen .op-court-badge--full,
.ls-open-mix-screen .op-court-badge--full {
  background: rgba(46, 125, 50, 0.12);
  color: var(--pg);
}
.ls-open-play-screen .op-court-players,
.ls-open-king-screen .op-court-players,
.ls-open-mix-screen .op-court-players,
.ls-open-luck-screen .op-court-players,
.ls-open-abcd-screen .op-court-players {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ls-open-play-screen .op-court-player,
.ls-open-king-screen .op-court-player,
.ls-open-mix-screen .op-court-player,
.ls-open-luck-screen .op-court-player,
.ls-open-abcd-screen .op-court-player,
.ls-open-goldsilver-screen .op-court-player {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ls-open-play-screen .op-court-name,
.ls-open-king-screen .op-court-name,
.ls-open-mix-screen .op-court-name,
.ls-open-luck-screen .op-court-name,
.ls-open-abcd-screen .op-court-name,
.ls-open-goldsilver-screen .op-court-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ps);
}
.ls-open-play-screen .op-court-vs,
.ls-open-king-screen .op-court-vs {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: #90A4AE;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.ls-open-play-screen .op-court-empty,
.ls-open-king-screen .op-court-empty {
  margin: 0;
  padding: 16px 8px;
  text-align: center;
  font-size: 13px;
  color: #78909C;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.ls-open-play-screen .op-court-empty .ti,
.ls-open-king-screen .op-court-empty .ti {
  font-size: 22px;
  opacity: 0.5;
}
.ls-open-play-screen .op-court-score,
.ls-open-king-screen .op-court-score {
  border-top: 0.5px solid var(--pb);
  padding-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ls-open-play-screen .op-court-score .score-entry,
.ls-open-king-screen .op-court-score .score-entry {
  border-top: none;
  padding-top: 0;
}
.ls-open-play-screen .op-tier-tag,
.ls-open-abcd-screen .op-tier-tag {
  font-size: 10px;
  font-weight: 800;
}
.ls-open-play-screen .op-bye-bar,
.ls-open-mix-screen .op-bye-bar,
.ls-open-luck-screen .op-bye-bar,
.ls-open-abcd-screen .op-bye-bar {
  background: #fff;
  border: 0.5px solid var(--pb);
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: 0 1px 3px rgba(17, 24, 39, 0.04);
}
.ls-open-play-screen .op-bye-hd,
.ls-open-mix-screen .op-bye-hd,
.ls-open-luck-screen .op-bye-hd,
.ls-open-abcd-screen .op-bye-hd {
  color: var(--ps);
}
.ls-open-play-screen .op-bye-chip,
.ls-open-mix-screen .op-bye-chip,
.ls-open-luck-screen .op-bye-chip,
.ls-open-abcd-screen .op-bye-chip {
  background: #F7F9F7;
  border: 0.5px solid var(--pb);
  color: var(--ps);
}
.ls-open-play-screen .op-footer-bar,
.ls-open-king-screen .op-footer-bar,
.ls-open-queue-screen .op-footer-bar,
.ls-open-mix-screen .op-footer-bar,
.ls-open-luck-screen .op-footer-bar,
.ls-open-abcd-screen .op-footer-bar,
.ls-open-goldsilver-screen .op-footer-bar,
.ls-open-challenge-screen .op-footer-bar {
  display: flex;
  justify-content: center;
  padding: 8px 0 4px;
}
.ls-open-play-screen .cd-section-title,
.ls-open-king-screen .cd-section-title,
.ls-open-queue-screen .cd-section-title,
.ls-open-mix-screen .cd-section-title {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: var(--ps);
}
.ls-open-queue-screen .cd-queue-card,
.ls-open-challenge-screen .cd-queue-card {
  background: #fff;
  border: 0.5px solid var(--pb);
  border-radius: 12px;
}
.ls-open-queue-screen .cd-queue-list,
.ls-open-challenge-screen .cd-queue-list,
.ls-open-king-screen .cd-queue-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ls-open-queue-screen .cd-queue-card,
.ls-open-challenge-screen .cd-queue-card,
.ls-open-king-screen .cd-queue-card {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  box-shadow: 0 1px 4px rgba(17, 24, 39, 0.04);
}
.ls-open-queue-screen .cd-queue-pos,
.ls-open-challenge-screen .cd-queue-pos {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #E3F2FD;
  color: #1565C0;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
}
.ls-open-queue-screen .cd-queue-empty,
.ls-open-challenge-screen .cd-queue-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 24px 16px;
  text-align: center;
  border-radius: 12px;
  border: 0.5px dashed #CFD8DC;
  background: #FAFBFC;
  color: #78909C;
}
.ls-open-queue-screen .cd-queue-empty .ti,
.ls-open-challenge-screen .cd-queue-empty .ti {
  font-size: 28px;
  color: var(--pg);
  opacity: 0.7;
}
.ls-open-play-screen .cd-kpi-icon,
.ls-open-king-screen .cd-kpi-icon,
.ls-open-queue-screen .cd-kpi-icon,
.ls-open-mix-screen .cd-kpi-icon,
.ls-open-luck-screen .cd-kpi-icon,
.ls-open-abcd-screen .cd-kpi-icon,
.ls-open-goldsilver-screen .cd-kpi-icon,
.ls-open-challenge-screen .cd-kpi-icon {
  font-size: 16px;
  line-height: 1;
  margin-bottom: 2px;
}
.ls-open-play-screen .cd-kpi--todo .cd-kpi-icon,
.ls-open-king-screen .cd-kpi--todo .cd-kpi-icon,
.ls-open-queue-screen .cd-kpi--todo .cd-kpi-icon,
.ls-open-mix-screen .cd-kpi--todo .cd-kpi-icon { color: #1976D2; }
.ls-open-play-screen .cd-kpi--live .cd-kpi-icon,
.ls-open-king-screen .cd-kpi--live .cd-kpi-icon,
.ls-open-queue-screen .cd-kpi--live .cd-kpi-icon,
.ls-open-mix-screen .cd-kpi--live .cd-kpi-icon { color: var(--py); }
.ls-open-play-screen .cd-kpi--done .cd-kpi-icon,
.ls-open-king-screen .cd-kpi--done .cd-kpi-icon,
.ls-open-queue-screen .cd-kpi--done .cd-kpi-icon,
.ls-open-mix-screen .cd-kpi--done .cd-kpi-icon { color: var(--pg); }
.ls-open-play-screen .final-screen,
.ls-open-king-screen .final-screen,
.ls-open-mix-screen .final-screen {
  padding: 24px 16px;
}
.ls-open-play-screen .final-title,
.ls-open-king-screen .final-title,
.ls-open-mix-screen .final-title {
  color: var(--pn);
}
.ls-open-play-screen .cd-section-hd,
.ls-open-king-screen .cd-section-hd,
.ls-open-queue-screen .cd-section-hd,
.ls-open-mix-screen .cd-section-hd,
.ls-open-luck-screen .cd-section-hd,
.ls-open-abcd-screen .cd-section-hd,
.ls-open-challenge-screen .cd-section-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
@media (max-width: 767px) {
  .ls-open-play-screen .cd-page-hd,
  .ls-open-king-screen .cd-page-hd,
  .ls-open-queue-screen .cd-page-hd,
  .ls-open-mix-screen .cd-page-hd,
  .ls-open-luck-screen .cd-page-hd,
  .ls-open-abcd-screen .cd-page-hd,
  .ls-open-goldsilver-screen .cd-page-hd,
  .ls-open-challenge-screen .cd-page-hd {
    flex-direction: column;
    align-items: stretch;
  }
  .ls-open-play-screen .cd-fill-btn,
  .ls-open-king-screen .cd-fill-btn,
  .ls-open-mix-screen .cd-fill-btn,
  .ls-open-luck-screen .cd-fill-btn,
  .ls-open-abcd-screen .cd-fill-btn {
    width: 100%;
    justify-content: center;
  }
}

/* RR + Open Play My match — notification cards (royal cobalt) */
.ls-mlp-player-screen .ls-player-notifs,
.ls-rr-player-screen .ls-player-notifs,
.ls-open-player-screen .ls-player-notifs {
  margin-top: 18px;
  padding: 14px 14px 12px;
  border-radius: 14px;
  background: linear-gradient(180deg, #f8faff 0%, #fff 100%);
  border: 0.5px solid rgba(37, 99, 235, 0.12);
  box-shadow: 0 1px 3px rgba(17, 24, 39, 0.04);
}
.ls-mlp-player-screen .ls-player-notifs-hd-row,
.ls-rr-player-screen .ls-player-notifs-hd-row,
.ls-open-player-screen .ls-player-notifs-hd-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.ls-mlp-player-screen .ls-player-notifs-hd-icon,
.ls-rr-player-screen .ls-player-notifs-hd-icon,
.ls-open-player-screen .ls-player-notifs-hd-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(145deg, var(--pg) 0%, var(--pgd) 100%);
  color: #fff;
  font-size: 18px;
  box-shadow: 0 3px 10px rgba(37, 99, 235, 0.22);
}
.ls-mlp-player-screen .ls-player-notifs-hd-text,
.ls-rr-player-screen .ls-player-notifs-hd-text,
.ls-open-player-screen .ls-player-notifs-hd-text {
  flex: 1;
  min-width: 0;
}
.ls-mlp-player-screen .ls-player-notifs-hd,
.ls-rr-player-screen .ls-player-notifs-hd,
.ls-open-player-screen .ls-player-notifs-hd {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: var(--pn);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.ls-mlp-player-screen .ls-player-notifs-hd-sub,
.ls-rr-player-screen .ls-player-notifs-hd-sub,
.ls-open-player-screen .ls-player-notifs-hd-sub {
  margin: 2px 0 0;
  font-size: 11px;
  font-weight: 500;
  color: #78909C;
  line-height: 1.35;
}
.ls-mlp-player-screen .ls-player-notif-count,
.ls-rr-player-screen .ls-player-notif-count,
.ls-open-player-screen .ls-player-notif-count {
  flex-shrink: 0;
  min-width: 26px;
  height: 26px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  color: var(--pgd);
  background: #EFF6FF;
  border: 0.5px solid rgba(37, 99, 235, 0.18);
}
.ls-mlp-player-screen .ls-player-notif-list,
.ls-rr-player-screen .ls-player-notif-list,
.ls-open-player-screen .ls-player-notif-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ls-mlp-player-screen .ls-player-notif-card,
.ls-rr-player-screen .ls-player-notif-card,
.ls-open-player-screen .ls-player-notif-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 12px 11px;
  background: #fff;
  border: 0.5px solid rgba(37, 99, 235, 0.1);
  border-radius: 12px;
  box-shadow: 0 1px 4px rgba(17, 24, 39, 0.04);
  position: relative;
  overflow: hidden;
}
.ls-mlp-player-screen .ls-player-notif-card::before,
.ls-rr-player-screen .ls-player-notif-card::before,
.ls-open-player-screen .ls-player-notif-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--pg) 0%, var(--pgd) 100%);
  border-radius: 12px 0 0 12px;
}
.ls-mlp-player-screen .ls-player-notif-card--court::before,
.ls-rr-player-screen .ls-player-notif-card--court::before,
.ls-open-player-screen .ls-player-notif-card--court::before {
  background: linear-gradient(180deg, var(--pg) 0%, var(--pgd) 100%);
}
.ls-mlp-player-screen .ls-player-notif-card--score::before,
.ls-rr-player-screen .ls-player-notif-card--score::before,
.ls-open-player-screen .ls-player-notif-card--score::before {
  background: linear-gradient(180deg, #F9A825 0%, #F57C00 100%);
}
.ls-mlp-player-screen .ls-player-notif-icon,
.ls-rr-player-screen .ls-player-notif-icon,
.ls-open-player-screen .ls-player-notif-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  margin-left: 4px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(145deg, #EFF6FF 0%, #DBEAFE 100%);
  color: var(--pg);
  font-size: 17px;
  border: 0.5px solid rgba(37, 99, 235, 0.12);
}
.ls-mlp-player-screen .ls-player-notif-card--score .ls-player-notif-icon,
.ls-rr-player-screen .ls-player-notif-card--score .ls-player-notif-icon,
.ls-open-player-screen .ls-player-notif-card--score .ls-player-notif-icon {
  background: linear-gradient(145deg, #FFF8E1 0%, #FFECB3 100%);
  color: #E65100;
  border-color: rgba(249, 168, 37, 0.25);
}
.ls-mlp-player-screen .ls-player-notif-body,
.ls-rr-player-screen .ls-player-notif-body,
.ls-open-player-screen .ls-player-notif-body {
  flex: 1;
  min-width: 0;
}
.ls-mlp-player-screen .ls-player-notif-meta,
.ls-rr-player-screen .ls-player-notif-meta,
.ls-open-player-screen .ls-player-notif-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}
.ls-mlp-player-screen .ls-player-notif-kind,
.ls-rr-player-screen .ls-player-notif-kind,
.ls-open-player-screen .ls-player-notif-kind {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--pgd);
}
.ls-mlp-player-screen .ls-player-notif-court,
.ls-rr-player-screen .ls-player-notif-court,
.ls-open-player-screen .ls-player-notif-court {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  color: var(--pn);
  background: #E8EAF6;
  border: 0.5px solid rgba(29, 78, 216, 0.12);
}
.ls-mlp-player-screen .ls-player-notif-msg,
.ls-rr-player-screen .ls-player-notif-msg,
.ls-open-player-screen .ls-player-notif-msg {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--pn);
  line-height: 1.4;
}
.ls-mlp-player-screen .ls-player-notif-time,
.ls-rr-player-screen .ls-player-notif-time,
.ls-open-player-screen .ls-player-notif-time {
  display: block;
  margin-top: 5px;
  font-size: 11px;
  font-weight: 600;
  color: #90A4AE;
  font-variant-numeric: tabular-nums;
}
.ls-open-player-screen .op-my-page {
  gap: 12px;
}
.ls-open-player-screen .op-my-status {
  background: #fff;
  border: 0.5px solid var(--pb);
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: 0 2px 8px rgba(17, 24, 39, 0.06);
}
.ls-open-player-screen .op-my-status--bye {
  border-color: rgba(255, 183, 77, 0.4);
  background: #FFFBF5;
}
.ls-open-player-screen .op-my-status--court {
  border-left: 3px solid var(--pg);
}
.ls-open-player-screen .op-my-status--queue,
.ls-open-player-screen .op-my-status--none {
  text-align: center;
}
.ls-open-player-screen .op-my-status-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0 auto 10px;
  border-radius: 12px;
  background: #E3F2FD;
  color: #1565C0;
  font-size: 22px;
}
.ls-open-player-screen .op-my-status--bye .op-my-status-icon {
  background: #FFF3E0;
  color: #EF6C00;
}
.ls-open-player-screen .op-my-status-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}
.ls-open-player-screen .op-my-status-title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: var(--pn);
}
.ls-open-player-screen .op-my-status-copy {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.45;
  color: #546E7A;
}
.ls-open-player-screen .op-my-role {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  background: #ECEFF1;
  color: #546E7A;
}
.ls-open-player-screen .op-my-role--king {
  background: #FFF8E1;
  color: #F57F17;
}
.ls-open-king-screen .op-court-players--doubles {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ls-open-king-screen .op-court-team {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #F7F9F7;
}
.ls-open-king-screen .op-court-card--doubles .op-court-team:first-of-type {
  background: #FFFBF0;
  border: 0.5px solid rgba(255, 193, 7, 0.25);
}

.ls-mlp-standings-screen .mlp-standings-table-scroll,
.ls-mlp-week-screen .mlp-standings-table-scroll,
.ls-mlp-playoffs-screen .mlp-standings-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 -2px 8px;
  padding-bottom: 4px;
  max-width: 100%;
}
.ls-mlp-standings-screen .mlp-standings-table-scroll .standings-table,
.ls-mlp-week-screen .mlp-standings-table-scroll .standings-table {
  min-width: min(100%, 520px);
  width: max-content;
}
.ls-content-light.ls-mlp-screen .tl-playoff-summary {
  background: linear-gradient(135deg, #E8EAF6 0%, #EDE7F6 55%, #F3E5F5 100%);
  border: 0.5px solid #C5CAE9;
  border-radius: 12px;
  padding: 12px 14px;
}
.ls-content-light.ls-mlp-screen .tl-playoff-summary-main {
  color: var(--ps);
  font-size: 13px;
  line-height: 1.45;
}
.ls-content-light.ls-mlp-screen .tl-playoff-summary-main > i {
  color: #5E35B1;
}
.ls-content-light.ls-mlp-screen .tl-playoff-week {
  color: #607D8B;
  margin-left: 0;
  width: 100%;
  flex-basis: 100%;
  margin-top: 2px;
}
.ls-content-light.ls-mlp-screen .tl-playoff-summary-sub {
  color: #546E7A;
}
.ls-content-light.ls-mlp-screen .tl-playoff-legend {
  border-top-color: rgba(94, 53, 181, 0.15);
}
.ls-content-light.ls-mlp-screen .tl-playoff-legend-item {
  color: #546E7A;
}
.ls-content-light.ls-mlp-screen .tl-pb-clinched { background: rgba(102, 187, 106, 0.15); color: #2E7D32; border-color: rgba(46, 125, 50, 0.35); }
.ls-content-light.ls-mlp-screen .tl-pb-in { background: rgba(66, 165, 245, 0.12); color: #1565C0; border-color: rgba(25, 118, 210, 0.35); }
.ls-content-light.ls-mlp-screen .tl-pb-bubble { background: rgba(249, 168, 37, 0.15); color: #E65100; border-color: rgba(245, 124, 0, 0.35); }
.ls-content-light.ls-mlp-screen .tl-pb-out { background: #F5F5F5; color: #78909C; border-color: var(--pb); }
.ls-content-light.ls-mlp-screen .tl-pb-eliminated { background: rgba(239, 83, 80, 0.1); color: #C62828; border-color: rgba(211, 47, 47, 0.35); }
.ls-content-light.ls-mlp-screen .tl-pb-alive { background: #ECEFF1; color: #455A64; border-color: #B0BEC5; }
.ls-content-light.ls-mlp-screen .tl-standings-playoff tbody tr.tl-row-in { background: rgba(66, 165, 245, 0.05); }
.ls-content-light.ls-mlp-screen .tl-standings-playoff tbody tr.tl-row-clinched { background: rgba(102, 187, 106, 0.06); }
.ls-content-light.ls-mlp-screen .tl-standings-playoff tbody tr.tl-row-bubble { background: rgba(249, 168, 37, 0.07); }
.ls-content-light.ls-mlp-screen .tl-playoff-cut-row td {
  background: rgba(249, 168, 37, 0.1) !important;
}
.ls-content-light.ls-mlp-screen .mlp-standings-view-toggle,
.ls-content-light.ls-mlp-screen .mlp-standings-scope-toggle {
  gap: 4px;
}
.mlp-standings-panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mlp-standings-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
}
.mlp-standings-view-toggle {
  display: inline-flex;
  align-items: stretch;
  gap: 2px;
  padding: 3px;
  background: #fff;
  border: 0.5px solid rgba(17, 24, 39, 0.1);
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.04);
}
.mlp-seg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0;
  padding: 8px 14px;
  border: none;
  border-radius: 9px;
  background: transparent;
  color: #546E7A;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.mlp-seg-btn .ti {
  font-size: 14px;
  opacity: 0.85;
}
.mlp-seg-btn:hover {
  background: #F5F7FA;
  color: #37474F;
}
.mlp-seg-btn.is-active {
  background: linear-gradient(145deg, #E8F5E9 0%, #C8E6C9 100%);
  color: #1B5E20;
  box-shadow: 0 1px 3px rgba(46, 125, 50, 0.18);
}
.mlp-seg-btn.is-active .ti { opacity: 1; }
.mlp-standings-tip-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: #5D4037;
  background: linear-gradient(135deg, #FFF8E1 0%, #FFECB3 100%);
  border: 0.5px solid rgba(249, 168, 37, 0.35);
  white-space: nowrap;
}
.mlp-standings-tip-chip .ti { font-size: 13px; color: #F57C00; }
.mlp-standings-toolbar-scope {
  margin-left: auto;
}
.mlp-standings-table-card {
  background: #fff;
  border: 0.5px solid rgba(17, 24, 39, 0.08);
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(17, 24, 39, 0.05);
  overflow: hidden;
}
.mlp-standings-table-card--season { border-top: 2px solid #66BB6A; }
.mlp-standings-table-card--playoffs { border-top: 2px solid #7E57C2; }
.mlp-standings-table-card--combined { border-top: 2px solid var(--pg); }
.mlp-standings-meta {
  margin-bottom: 10px;
}
.ls-mlp-standings-screen .mlp-standings-meta .er-ranking-pipeline--compact,
.ls-content-light.ls-mlp-screen .mlp-standings-meta .er-ranking-pipeline--compact {
  display: flex;
  align-items: center;
  gap: 10px 12px;
  flex-wrap: wrap;
  padding: 10px 14px;
  border-radius: 0;
  background: var(--pgl, #EFF6FF);
  border: none;
  border-bottom: 1px solid var(--info-bd, #93C5FD);
  box-shadow: none;
}
.ls-mlp-standings-screen .mlp-standings-meta .er-ranking-pipeline-compact-label,
.ls-content-light.ls-mlp-screen .mlp-standings-meta .er-ranking-pipeline-compact-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pn, #1E3A8A);
}
.ls-mlp-standings-screen .mlp-standings-meta .er-ranking-pipeline-track,
.ls-content-light.ls-mlp-screen .mlp-standings-meta .er-ranking-pipeline-track {
  gap: 6px 8px;
}
.ls-mlp-standings-screen .mlp-standings-meta .er-ranking-pipeline-chip,
.ls-content-light.ls-mlp-screen .mlp-standings-meta .er-ranking-pipeline-chip {
  padding: 5px 11px 5px 5px;
  border-radius: 999px;
  background: #FFFFFF;
  border: 1px solid #CFD8DC;
  box-shadow: none;
  color: #37474F;
}
.ls-mlp-standings-screen .mlp-standings-meta .er-ranking-pipeline-chip--primary,
.ls-content-light.ls-mlp-screen .mlp-standings-meta .er-ranking-pipeline-chip--primary {
  background: #FFFFFF;
  border-color: #B0BEC5;
  color: #37474F;
  box-shadow: none;
}
.ls-mlp-standings-screen .mlp-standings-meta .er-ranking-pipeline-chip-name,
.ls-content-light.ls-mlp-screen .mlp-standings-meta .er-ranking-pipeline-chip-name {
  font-size: 13px;
  font-weight: 800;
  color: #37474F;
  max-width: min(200px, 34vw);
}
.ls-mlp-standings-screen .mlp-standings-meta .er-ranking-pipeline-chip--primary .er-ranking-pipeline-chip-name,
.ls-content-light.ls-mlp-screen .mlp-standings-meta .er-ranking-pipeline-chip--primary .er-ranking-pipeline-chip-name {
  color: #1a2332;
}
.ls-mlp-standings-screen .mlp-standings-meta .er-ranking-pipeline-chip-step,
.ls-content-light.ls-mlp-screen .mlp-standings-meta .er-ranking-pipeline-chip-step {
  width: 22px;
  height: 22px;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  background: #64748B;
}
.ls-mlp-standings-screen .mlp-standings-meta .er-ranking-pipeline-chip--primary .er-ranking-pipeline-chip-step,
.ls-content-light.ls-mlp-screen .mlp-standings-meta .er-ranking-pipeline-chip--primary .er-ranking-pipeline-chip-step {
  background: var(--pg, #2563EB);
  color: #fff;
  box-shadow: none;
}
.ls-mlp-standings-screen .mlp-standings-meta .er-ranking-pipeline-chip--pointShare,
.ls-content-light.ls-mlp-screen .mlp-standings-meta .er-ranking-pipeline-chip--pointShare,
.ls-mlp-standings-screen .mlp-standings-meta .er-ranking-pipeline-chip--pointPct,
.ls-content-light.ls-mlp-screen .mlp-standings-meta .er-ranking-pipeline-chip--pointPct,
.ls-mlp-standings-screen .mlp-standings-meta .er-ranking-pipeline-chip--gameWinRate,
.ls-content-light.ls-mlp-screen .mlp-standings-meta .er-ranking-pipeline-chip--gameWinRate,
.ls-mlp-standings-screen .mlp-standings-meta .er-ranking-pipeline-chip--winpct,
.ls-content-light.ls-mlp-screen .mlp-standings-meta .er-ranking-pipeline-chip--winpct,
.ls-mlp-standings-screen .mlp-standings-meta .er-ranking-pipeline-chip--courtPts,
.ls-content-light.ls-mlp-screen .mlp-standings-meta .er-ranking-pipeline-chip--courtPts,
.ls-mlp-standings-screen .mlp-standings-meta .er-ranking-pipeline-chip--courtPointPct,
.ls-content-light.ls-mlp-screen .mlp-standings-meta .er-ranking-pipeline-chip--courtPointPct,
.ls-mlp-standings-screen .mlp-standings-meta .er-ranking-pipeline-chip--lineDiff,
.ls-content-light.ls-mlp-screen .mlp-standings-meta .er-ranking-pipeline-chip--lineDiff,
.ls-mlp-standings-screen .mlp-standings-meta .er-ranking-pipeline-chip--lineWinPct,
.ls-content-light.ls-mlp-screen .mlp-standings-meta .er-ranking-pipeline-chip--lineWinPct,
.ls-mlp-standings-screen .mlp-standings-meta .er-ranking-pipeline-chip--pointDiff,
.ls-content-light.ls-mlp-screen .mlp-standings-meta .er-ranking-pipeline-chip--pointDiff,
.ls-mlp-standings-screen .mlp-standings-meta .er-ranking-pipeline-chip--seasonPts,
.ls-content-light.ls-mlp-screen .mlp-standings-meta .er-ranking-pipeline-chip--seasonPts,
.ls-mlp-standings-screen .mlp-standings-meta .er-ranking-pipeline-chip--totalPts,
.ls-content-light.ls-mlp-screen .mlp-standings-meta .er-ranking-pipeline-chip--totalPts {
  background: #FFFFFF;
  border-color: #CFD8DC;
}
.ls-mlp-standings-screen .mlp-standings-meta .er-ranking-pipeline-chip--pointShare .er-ranking-pipeline-chip-step,
.ls-content-light.ls-mlp-screen .mlp-standings-meta .er-ranking-pipeline-chip--pointShare .er-ranking-pipeline-chip-step,
.ls-mlp-standings-screen .mlp-standings-meta .er-ranking-pipeline-chip--pointPct .er-ranking-pipeline-chip-step,
.ls-content-light.ls-mlp-screen .mlp-standings-meta .er-ranking-pipeline-chip--pointPct .er-ranking-pipeline-chip-step,
.ls-mlp-standings-screen .mlp-standings-meta .er-ranking-pipeline-chip--gameWinRate .er-ranking-pipeline-chip-step,
.ls-content-light.ls-mlp-screen .mlp-standings-meta .er-ranking-pipeline-chip--gameWinRate .er-ranking-pipeline-chip-step,
.ls-mlp-standings-screen .mlp-standings-meta .er-ranking-pipeline-chip--winpct .er-ranking-pipeline-chip-step,
.ls-content-light.ls-mlp-screen .mlp-standings-meta .er-ranking-pipeline-chip--winpct .er-ranking-pipeline-chip-step,
.ls-mlp-standings-screen .mlp-standings-meta .er-ranking-pipeline-chip--courtPts .er-ranking-pipeline-chip-step,
.ls-content-light.ls-mlp-screen .mlp-standings-meta .er-ranking-pipeline-chip--courtPts .er-ranking-pipeline-chip-step,
.ls-mlp-standings-screen .mlp-standings-meta .er-ranking-pipeline-chip--courtPointPct .er-ranking-pipeline-chip-step,
.ls-content-light.ls-mlp-screen .mlp-standings-meta .er-ranking-pipeline-chip--courtPointPct .er-ranking-pipeline-chip-step,
.ls-mlp-standings-screen .mlp-standings-meta .er-ranking-pipeline-chip--lineDiff .er-ranking-pipeline-chip-step,
.ls-content-light.ls-mlp-screen .mlp-standings-meta .er-ranking-pipeline-chip--lineDiff .er-ranking-pipeline-chip-step,
.ls-mlp-standings-screen .mlp-standings-meta .er-ranking-pipeline-chip--lineWinPct .er-ranking-pipeline-chip-step,
.ls-content-light.ls-mlp-screen .mlp-standings-meta .er-ranking-pipeline-chip--lineWinPct .er-ranking-pipeline-chip-step,
.ls-mlp-standings-screen .mlp-standings-meta .er-ranking-pipeline-chip--pointDiff .er-ranking-pipeline-chip-step,
.ls-content-light.ls-mlp-screen .mlp-standings-meta .er-ranking-pipeline-chip--pointDiff .er-ranking-pipeline-chip-step,
.ls-mlp-standings-screen .mlp-standings-meta .er-ranking-pipeline-chip--seasonPts .er-ranking-pipeline-chip-step,
.ls-content-light.ls-mlp-screen .mlp-standings-meta .er-ranking-pipeline-chip--seasonPts .er-ranking-pipeline-chip-step,
.ls-mlp-standings-screen .mlp-standings-meta .er-ranking-pipeline-chip--totalPts .er-ranking-pipeline-chip-step,
.ls-content-light.ls-mlp-screen .mlp-standings-meta .er-ranking-pipeline-chip--totalPts .er-ranking-pipeline-chip-step {
  background: var(--pn, #1E3A8A);
}
.ls-mlp-standings-screen .mlp-standings-meta .er-ranking-pipeline-sep,
.ls-content-light.ls-mlp-screen .mlp-standings-meta .er-ranking-pipeline-sep {
  color: #90A4AE;
  font-size: 12px;
  opacity: 1;
}
.ls-mlp-standings-screen .mlp-standings-meta .er-metric-tip,
.ls-content-light.ls-mlp-screen .mlp-standings-meta .er-metric-tip {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ECEFF1;
  color: #546E7A;
}
.ls-mlp-standings-screen .mlp-standings-meta .er-metric-tip:hover,
.ls-content-light.ls-mlp-screen .mlp-standings-meta .er-metric-tip:focus-visible {
  background: #ECEFF1;
  color: #546E7A;
}
.ls-mlp-standings-screen .mlp-standings-meta .er-ranking-pipeline-chip--primary .er-metric-tip,
.ls-content-light.ls-mlp-screen .mlp-standings-meta .er-ranking-pipeline-chip--primary .er-metric-tip {
  background: #ECEFF1;
  color: #546E7A;
}
.ls-mlp-standings-screen .mlp-standings-meta .er-ranking-pipeline-chip--primary .er-metric-tip:hover,
.ls-content-light.ls-mlp-screen .mlp-standings-meta .er-ranking-pipeline-chip--primary .er-metric-tip:focus-visible {
  background: #ECEFF1;
  color: #546E7A;
}

/* MLP standings — legacy neon override (non-flush contexts only) */
.ls-mlp-standings-screen:not(:has(.mlp-standings-panel--flush)) .mlp-seg-btn.is-active {
  background: linear-gradient(145deg, #EFF6FF 0%, #DBEAFE 100%);
  color: #1D4ED8;
  box-shadow:
    0 0 5px rgba(37, 99, 235, 0.5),
    0 0 14px rgba(59, 130, 246, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
}
.ls-mlp-standings-screen:not(:has(.mlp-standings-panel--flush)) .mlp-seg-btn.is-active .ti {
  opacity: 1;
  color: var(--pg, #2563EB);
  filter: drop-shadow(0 0 4px rgba(37, 99, 235, 0.55));
}

/* MLP / RR / ladder standings — flush full-bleed + royal cobalt rank strip */
#live-session:has(.ls-mlp-standings-screen),
#live-session:has(.ls-rr-standings-screen),
#live-session:has(.ls-ladder-standings-screen),
#live-session:has(.ls-league-standings-screen),
#live-session:has(.ls-team-league-standings-screen),
#live-session.ls-mlp-live:has(.ls-mlp-standings-screen),
#live-session.ls-ladder-live:has(.ls-ladder-standings-screen),
#live-session.ls-mlp-live:has(.ls-league-standings-screen),
#live-session.ls-mlp-live:has(.ls-team-league-standings-screen),
#live-session:has(.ls-mlp-standings-screen).ls-mlp-live {
  background: #FFFFFF;
}
#live-session .ls-body:has(.ls-mlp-standings-screen),
#live-session .ls-body:has(.ls-rr-standings-screen),
#live-session .ls-body:has(.ls-ladder-standings-screen),
#live-session .ls-body:has(.ls-league-standings-screen),
#live-session .ls-body:has(.ls-team-league-standings-screen) {
  background: #FFFFFF;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.ls-content-light.ls-mlp-standings-screen,
.ls-content-light.ls-rr-standings-screen,
.ls-content-light.ls-ladder-standings-screen,
.ls-content-light.ls-league-standings-screen,
.ls-content-light.ls-team-league-standings-screen {
  background: #FFFFFF;
  color: var(--ps, #1E293B);
  flex: 1 1 auto;
  min-height: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  max-width: 100%;
}
.mlp-standings-panel--flush {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1 1 auto;
  min-height: 0;
}
.mlp-standings-panel--flush .mlp-standings-head {
  background: var(--pgl, #EFF6FF);
  padding: 10px clamp(12px, 2.5vw, 20px) 0;
  position: relative;
  z-index: 12;
  flex-shrink: 0;
}
.mlp-standings-panel--flush .mlp-standings-metrics-drawer {
  flex-shrink: 0;
  z-index: 11;
}
.mlp-standings-panel--flush .mlp-standings-head-rail {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 10px;
  flex-wrap: wrap;
}
.mlp-standings-panel--flush .mlp-standings-toolbar-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  flex: 0 1 auto;
  min-width: 0;
}
/* Tablet+ (521px): Metrics hugs the tab bar; phone (≤520px) may wrap */
@media (min-width: 521px) {
  .mlp-standings-panel--flush .mlp-standings-head-rail {
    flex-wrap: nowrap;
    gap: 8px;
  }
  .mlp-standings-panel--flush .mlp-standings-toolbar-main {
    flex: 0 0 auto;
  }
  .mlp-standings-panel--flush .mlp-standings-view-toggle {
    flex: 0 0 auto;
    max-width: none;
  }
  .mlp-standings-metrics-btn {
    margin-left: 2px;
  }
}
.mlp-standings-panel--flush .mlp-standings-view-toggle {
  position: relative;
  display: inline-flex;
  align-items: flex-end;
  gap: 4px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  flex: 1 1 auto;
  max-width: min(100%, 480px);
}
.mlp-standings-panel--flush .mlp-seg-btn {
  flex: 1 1 0;
  min-width: 0;
  z-index: 1;
  position: relative;
  margin: 0;
  padding: 10px 14px 9px;
  border: 1px solid var(--info-bd, #93C5FD);
  border-bottom: none;
  border-radius: 10px 10px 0 0;
  background: rgba(255, 255, 255, 0.55);
  color: #64748B;
  font-size: 12px;
  font-weight: 700;
  box-shadow: inset 0 -1px 0 rgba(148, 163, 184, 0.2);
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.mlp-standings-panel--flush .mlp-seg-btn .ti {
  font-size: 14px;
  opacity: 0.8;
}
.mlp-standings-panel--flush .mlp-seg-btn:hover:not(.is-active) {
  background: rgba(255, 255, 255, 0.88);
  color: var(--pn, #1E3A8A);
  border-color: var(--info-bd, #93C5FD);
}
.mlp-standings-panel--flush .mlp-seg-btn.is-active {
  z-index: 3;
  padding-bottom: 11px;
  margin-bottom: -2px;
  background: #FFFFFF;
  color: var(--pn, #1E3A8A);
  border: 2px solid var(--pg, #2563EB);
  border-bottom: 2px solid #FFFFFF;
  box-shadow:
    0 -2px 10px rgba(37, 99, 235, 0.14),
    0 0 12px rgba(59, 130, 246, 0.12);
}
.mlp-standings-panel--flush .mlp-seg-btn.is-active .ti {
  opacity: 1;
  color: var(--pg, #2563EB);
  filter: none;
}
.mlp-standings-metrics-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 0 0 4px;
  padding: 9px 16px;
  border: 1px solid var(--pg, #2563EB);
  border-radius: 11px;
  background: linear-gradient(145deg, var(--pn, #1E3A8A) 0%, var(--pg, #2563EB) 55%, #3B82F6 100%);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow:
    0 0 8px rgba(37, 99, 235, 0.55),
    0 0 18px rgba(59, 130, 246, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transition: box-shadow 0.2s ease, transform 0.15s ease, filter 0.15s ease;
}
.mlp-standings-metrics-btn .ti {
  font-size: 16px;
  filter: drop-shadow(0 0 5px rgba(147, 197, 253, 0.9));
}
.mlp-standings-metrics-btn:hover {
  filter: brightness(1.06);
  box-shadow:
    0 0 12px rgba(37, 99, 235, 0.7),
    0 0 22px rgba(59, 130, 246, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.mlp-standings-metrics-btn.is-open {
  background: linear-gradient(145deg, #2563EB 0%, #3B82F6 50%, #60A5FA 100%);
  box-shadow:
    0 0 14px rgba(37, 99, 235, 0.75),
    0 0 28px rgba(96, 165, 250, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
}
@media (max-width: 420px) {
  .mlp-standings-metrics-btn span { display: none; }
  .mlp-standings-metrics-btn { padding: 9px 12px; }
  .mlp-standings-panel--flush .mlp-standings-view-toggle { max-width: 100%; }
}
.mlp-standings-metrics-drawer {
  background: linear-gradient(180deg, var(--pnl, #DBEAFE) 0%, var(--pgl, #EFF6FF) 100%);
  border-bottom: 2px solid var(--pg, #2563EB);
  padding: 12px clamp(12px, 2.5vw, 20px);
  box-shadow: inset 0 4px 14px -10px rgba(30, 58, 138, 0.2);
  animation: mlp-metrics-drawer-in 0.22s ease-out;
}
.mlp-standings-metrics-drawer[hidden] {
  display: none !important;
}
@keyframes mlp-metrics-drawer-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
.mlp-standings-panel--flush .mlp-standings-table-stage {
  flex: 1 1 auto;
  min-height: 0;
  background: #FFFFFF;
  border: none;
  border-top: 2px solid var(--info-bd, #93C5FD);
  border-radius: 0;
  box-shadow: none;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  position: relative;
  margin-top: 0;
  scrollbar-width: thin;
  scrollbar-color: var(--info-bd, #93C5FD) var(--pgl, #EFF6FF);
}
#live-session .ls-ladder-standings-screen .mlp-standings-panel--flush .mlp-standings-table-stage::-webkit-scrollbar,
#live-session .ls-mlp-standings-screen .mlp-standings-panel--flush .mlp-standings-table-stage::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
#live-session .ls-mlp-standings-screen .mlp-standings-panel--flush .mlp-standings-table-stage::-webkit-scrollbar-track {
  background: var(--pgl, #EFF6FF);
}
#live-session .ls-mlp-standings-screen .mlp-standings-panel--flush .mlp-standings-table-stage::-webkit-scrollbar-thumb {
  background: var(--info-bd, #93C5FD);
  border-radius: 6px;
  border: 2px solid var(--pgl, #EFF6FF);
}
#live-session .ls-mlp-standings-screen .mlp-standings-panel--flush .mlp-standings-table-stage::-webkit-scrollbar-thumb:hover {
  background: var(--pg, #2563EB);
}
#live-session .ls-mlp-standings-screen .mlp-standings-panel--flush .mlp-standings-table-stage::-webkit-scrollbar-corner {
  background: var(--pgl, #EFF6FF);
}
.mlp-standings-panel--flush .mlp-standings-results-body,
.ls-mlp-standings-screen .mlp-standings-panel--flush .mlp-standings-table-scroll {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: none;
  overflow: visible;
}
.ls-mlp-standings-screen .mlp-standings-panel--flush .mlp-standings-table-scroll .standings-table {
  width: 100%;
  min-width: 100%;
}
.ls-ladder-standings-screen .mlp-standings-panel--flush .mlp-standings-table-scroll,
.ls-rr-standings-screen .mlp-standings-panel--flush .mlp-standings-table-scroll,
.ls-league-standings-screen .mlp-standings-panel--flush .mlp-standings-table-scroll,
.ls-team-league-standings-screen .mlp-standings-panel--flush .mlp-standings-table-scroll {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: none;
  overflow: visible;
}
.ls-ladder-standings-screen .mlp-standings-panel--flush .mlp-standings-table-scroll .standings-table,
.ls-rr-standings-screen .mlp-standings-panel--flush .mlp-standings-table-scroll .standings-table,
.ls-league-standings-screen .mlp-standings-panel--flush .mlp-standings-table-scroll .standings-table,
.ls-team-league-standings-screen .mlp-standings-panel--flush .mlp-standings-table-scroll .standings-table {
  width: 100%;
  min-width: max(100%, 640px);
}

/* MLP standings — sticky column headers while table body scrolls (th only; not thead — breaks freeze corners) */
#live-session .ls-mlp-standings-screen .standings-table--modern.mlp-standings-table thead,
#live-session .ls-ladder-standings-screen .standings-table--modern.mlp-standings-table thead,
#live-session .ls-rr-standings-screen .standings-table--modern.mlp-standings-table thead,
#live-session .ls-league-standings-screen .standings-table--modern.mlp-standings-table thead,
#live-session .ls-team-league-standings-screen .standings-table--modern.mlp-standings-table thead,
#live-session .ls-content-light.ls-mlp-standings-screen .standings-table--modern.mlp-standings-table thead,
#live-session .ls-content-light.ls-ladder-standings-screen .standings-table--modern.mlp-standings-table thead,
#live-session .ls-content-light.ls-rr-standings-screen .standings-table--modern.mlp-standings-table thead,
#live-session .ls-content-light.ls-league-standings-screen .standings-table--modern.mlp-standings-table thead,
#live-session .ls-content-light.ls-team-league-standings-screen .standings-table--modern.mlp-standings-table thead {
  position: relative;
  top: auto;
  z-index: auto;
}
#live-session .ls-mlp-standings-screen .standings-table--modern.mlp-standings-table th,
#live-session .ls-ladder-standings-screen .standings-table--modern.mlp-standings-table th,
#live-session .ls-rr-standings-screen .standings-table--modern.mlp-standings-table th,
#live-session .ls-league-standings-screen .standings-table--modern.mlp-standings-table th,
#live-session .ls-team-league-standings-screen .standings-table--modern.mlp-standings-table th {
  position: sticky;
  top: 0;
  z-index: 8;
  background: var(--pgl, #EFF6FF);
  box-shadow: 0 1px 0 var(--info-bd, #93C5FD);
}

/* MLP standings — freeze rank + identity columns on horizontal scroll */
/* All viewports: rank (#) column frozen horizontally */
#live-session .ls-mlp-standings-screen .mlp-standings-table--freeze-cols tbody td:nth-child(1),
#live-session .ls-ladder-standings-screen .mlp-standings-table--freeze-cols tbody td:nth-child(1),
#live-session .ls-rr-standings-screen .mlp-standings-table--freeze-cols tbody td:nth-child(1) {
  position: sticky;
  left: 0;
  z-index: 9;
  box-shadow: 4px 0 10px -6px rgba(30, 58, 138, 0.18);
}
#live-session .ls-mlp-standings-screen .mlp-standings-table--freeze-cols thead th:nth-child(1),
#live-session .ls-ladder-standings-screen .mlp-standings-table--freeze-cols thead th:nth-child(1),
#live-session .ls-rr-standings-screen .mlp-standings-table--freeze-cols thead th:nth-child(1) {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 15;
  background: var(--pgl, #EFF6FF);
  box-shadow: 0 1px 0 var(--info-bd, #93C5FD), 4px 0 10px -6px rgba(30, 58, 138, 0.22);
}
#live-session .ls-content-light .standings-table--modern.mlp-standings-table--freeze-cols tbody tr:nth-child(odd) td:nth-child(1),
#live-session .ls-content-light .standings-table--modern.mlp-standings-table--freeze-cols tbody tr:nth-child(odd):hover td:nth-child(1),
#live-session .ls-content-light .standings-table--modern.mlp-standings-table--freeze-cols tbody tr.st-row--podium:nth-child(odd) td:nth-child(1),
#live-session .ls-content-light .standings-table--modern.mlp-standings-table--freeze-cols tbody tr.st-row--podium:nth-child(odd):hover td:nth-child(1) {
  background: #FFFFFF;
}
#live-session .ls-content-light .standings-table--modern.mlp-standings-table--freeze-cols tbody tr:nth-child(even) td:nth-child(1),
#live-session .ls-content-light .standings-table--modern.mlp-standings-table--freeze-cols tbody tr:nth-child(even):hover td:nth-child(1),
#live-session .ls-content-light .standings-table--modern.mlp-standings-table--freeze-cols tbody tr.st-row--podium:nth-child(even) td:nth-child(1),
#live-session .ls-content-light .standings-table--modern.mlp-standings-table--freeze-cols tbody tr.st-row--podium:nth-child(even):hover td:nth-child(1) {
  background: var(--pgl, #EFF6FF);
}
/* Desktop only: also freeze identity + team columns */
@media (min-width: 821px) {
  #live-session .ls-mlp-standings-screen .mlp-standings-table--freeze-cols.mlp-freeze-cols-2 tbody td:nth-child(2) {
    position: sticky;
    left: var(--mlp-freeze-w0, 2.75rem);
    z-index: 8;
    box-shadow: 4px 0 10px -6px rgba(30, 58, 138, 0.18);
  }
  #live-session .ls-mlp-standings-screen .mlp-standings-table--freeze-cols.mlp-freeze-cols-2 thead th:nth-child(2) {
    position: sticky;
    top: 0;
    left: var(--mlp-freeze-w0, 2.75rem);
    z-index: 13;
    background: var(--pgl, #EFF6FF);
    box-shadow: 0 1px 0 var(--info-bd, #93C5FD), 4px 0 10px -6px rgba(30, 58, 138, 0.22);
  }
  #live-session .ls-mlp-standings-screen .mlp-standings-table--freeze-cols.mlp-freeze-cols-3 tbody td:nth-child(2) {
    position: sticky;
    left: var(--mlp-freeze-w0, 2.75rem);
    z-index: 8;
  }
  #live-session .ls-mlp-standings-screen .mlp-standings-table--freeze-cols.mlp-freeze-cols-3 tbody td:nth-child(3) {
    position: sticky;
    left: calc(var(--mlp-freeze-w0, 2.75rem) + var(--mlp-freeze-w1, 7rem));
    z-index: 7;
    box-shadow: 4px 0 10px -6px rgba(30, 58, 138, 0.18);
  }
  #live-session .ls-mlp-standings-screen .mlp-standings-table--freeze-cols.mlp-freeze-cols-3 thead th:nth-child(2) {
    position: sticky;
    top: 0;
    left: var(--mlp-freeze-w0, 2.75rem);
    z-index: 14;
    background: var(--pgl, #EFF6FF);
    box-shadow: 0 1px 0 var(--info-bd, #93C5FD);
  }
  #live-session .ls-mlp-standings-screen .mlp-standings-table--freeze-cols.mlp-freeze-cols-3 thead th:nth-child(3) {
    position: sticky;
    top: 0;
    left: calc(var(--mlp-freeze-w0, 2.75rem) + var(--mlp-freeze-w1, 7rem));
    z-index: 13;
    background: var(--pgl, #EFF6FF);
    box-shadow: 0 1px 0 var(--info-bd, #93C5FD), 4px 0 10px -6px rgba(30, 58, 138, 0.22);
  }
  #live-session .ls-mlp-standings-screen .mlp-standings-table--freeze-cols.mlp-freeze-cols-2 tbody td:nth-child(1),
  #live-session .ls-mlp-standings-screen .mlp-standings-table--freeze-cols.mlp-freeze-cols-3 tbody td:nth-child(1) {
    box-shadow: none;
  }
  #live-session .ls-mlp-standings-screen .mlp-standings-table--freeze-cols.mlp-freeze-cols-2 thead th:nth-child(1),
  #live-session .ls-mlp-standings-screen .mlp-standings-table--freeze-cols.mlp-freeze-cols-3 thead th:nth-child(1) {
    z-index: 15;
    box-shadow: 0 1px 0 var(--info-bd, #93C5FD);
  }
  #live-session .ls-content-light .standings-table--modern.mlp-standings-table--freeze-cols.mlp-freeze-cols-2 tbody tr:nth-child(odd) td:nth-child(2),
  #live-session .ls-content-light .standings-table--modern.mlp-standings-table--freeze-cols.mlp-freeze-cols-2 tbody tr:nth-child(odd):hover td:nth-child(2),
  #live-session .ls-content-light .standings-table--modern.mlp-standings-table--freeze-cols.mlp-freeze-cols-2 tbody tr.st-row--podium:nth-child(odd) td:nth-child(2),
  #live-session .ls-content-light .standings-table--modern.mlp-standings-table--freeze-cols.mlp-freeze-cols-2 tbody tr.st-row--podium:nth-child(odd):hover td:nth-child(2) {
    background: #FFFFFF;
  }
  #live-session .ls-content-light .standings-table--modern.mlp-standings-table--freeze-cols.mlp-freeze-cols-2 tbody tr:nth-child(even) td:nth-child(2),
  #live-session .ls-content-light .standings-table--modern.mlp-standings-table--freeze-cols.mlp-freeze-cols-2 tbody tr:nth-child(even):hover td:nth-child(2),
  #live-session .ls-content-light .standings-table--modern.mlp-standings-table--freeze-cols.mlp-freeze-cols-2 tbody tr.st-row--podium:nth-child(even) td:nth-child(2),
  #live-session .ls-content-light .standings-table--modern.mlp-standings-table--freeze-cols.mlp-freeze-cols-2 tbody tr.st-row--podium:nth-child(even):hover td:nth-child(2) {
    background: var(--pgl, #EFF6FF);
  }
  #live-session .ls-content-light .standings-table--modern.mlp-standings-table--freeze-cols.mlp-freeze-cols-3 tbody tr:nth-child(odd) td:nth-child(2),
  #live-session .ls-content-light .standings-table--modern.mlp-standings-table--freeze-cols.mlp-freeze-cols-3 tbody tr:nth-child(odd) td:nth-child(3),
  #live-session .ls-content-light .standings-table--modern.mlp-standings-table--freeze-cols.mlp-freeze-cols-3 tbody tr:nth-child(odd):hover td:nth-child(2),
  #live-session .ls-content-light .standings-table--modern.mlp-standings-table--freeze-cols.mlp-freeze-cols-3 tbody tr:nth-child(odd):hover td:nth-child(3),
  #live-session .ls-content-light .standings-table--modern.mlp-standings-table--freeze-cols.mlp-freeze-cols-3 tbody tr.st-row--podium:nth-child(odd) td:nth-child(2),
  #live-session .ls-content-light .standings-table--modern.mlp-standings-table--freeze-cols.mlp-freeze-cols-3 tbody tr.st-row--podium:nth-child(odd) td:nth-child(3),
  #live-session .ls-content-light .standings-table--modern.mlp-standings-table--freeze-cols.mlp-freeze-cols-3 tbody tr.st-row--podium:nth-child(odd):hover td:nth-child(2),
  #live-session .ls-content-light .standings-table--modern.mlp-standings-table--freeze-cols.mlp-freeze-cols-3 tbody tr.st-row--podium:nth-child(odd):hover td:nth-child(3) {
    background: #FFFFFF;
  }
  #live-session .ls-content-light .standings-table--modern.mlp-standings-table--freeze-cols.mlp-freeze-cols-3 tbody tr:nth-child(even) td:nth-child(2),
  #live-session .ls-content-light .standings-table--modern.mlp-standings-table--freeze-cols.mlp-freeze-cols-3 tbody tr:nth-child(even) td:nth-child(3),
  #live-session .ls-content-light .standings-table--modern.mlp-standings-table--freeze-cols.mlp-freeze-cols-3 tbody tr:nth-child(even):hover td:nth-child(2),
  #live-session .ls-content-light .standings-table--modern.mlp-standings-table--freeze-cols.mlp-freeze-cols-3 tbody tr:nth-child(even):hover td:nth-child(3),
  #live-session .ls-content-light .standings-table--modern.mlp-standings-table--freeze-cols.mlp-freeze-cols-3 tbody tr.st-row--podium:nth-child(even) td:nth-child(2),
  #live-session .ls-content-light .standings-table--modern.mlp-standings-table--freeze-cols.mlp-freeze-cols-3 tbody tr.st-row--podium:nth-child(even) td:nth-child(3),
  #live-session .ls-content-light .standings-table--modern.mlp-standings-table--freeze-cols.mlp-freeze-cols-3 tbody tr.st-row--podium:nth-child(even):hover td:nth-child(2),
  #live-session .ls-content-light .standings-table--modern.mlp-standings-table--freeze-cols.mlp-freeze-cols-3 tbody tr.st-row--podium:nth-child(even):hover td:nth-child(3) {
    background: var(--pgl, #EFF6FF);
  }
}
#live-session .ls-mlp-standings-screen .mlp-standings-table--freeze-cols thead th:nth-child(-n+3) {
  background: var(--pgl, #EFF6FF);
}

/* Metrics drawer — royal cobalt (#live-session beats events.css :is(#id…) green defaults) */
#live-session .ls-ladder-standings-screen .mlp-standings-metrics-drawer .mlp-standings-meta,
#live-session .ls-ladder-standings-screen .mlp-standings-metrics-pipeline,
#live-session .ls-rr-standings-screen .mlp-standings-metrics-drawer .mlp-standings-meta,
#live-session .ls-rr-standings-screen .mlp-standings-metrics-pipeline,
#live-session .ls-mlp-standings-screen .mlp-standings-metrics-drawer .mlp-standings-meta,
#live-session .ls-mlp-standings-screen .mlp-standings-metrics-pipeline {
  margin: 0;
}
#live-session .ls-mlp-standings-screen .mlp-standings-metrics-drawer .er-ranking-pipeline--compact {
  display: flex !important;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 12px;
  padding: 10px 14px !important;
  margin: 0;
  background: #FFFFFF !important;
  border: 1px solid var(--info-bd, #93C5FD) !important;
  border-radius: 10px !important;
  box-shadow: 0 2px 8px rgba(30, 58, 138, 0.08) !important;
}
#live-session .ls-mlp-standings-screen .mlp-standings-metrics-drawer .er-ranking-pipeline-compact-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--pn, #1E3A8A) !important;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--pgl, #EFF6FF) !important;
  border: 1px solid var(--info-bd, #93C5FD) !important;
}
#live-session .ls-mlp-standings-screen .mlp-standings-metrics-drawer .er-ranking-pipeline-track {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  flex: 1 1 auto;
  min-width: 0;
}
#live-session .ls-mlp-standings-screen .mlp-standings-metrics-drawer .er-ranking-pipeline-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px 5px 5px !important;
  border-radius: 999px;
  background: #FFFFFF !important;
  border: 1px solid var(--info-bd, #93C5FD) !important;
  box-shadow: none !important;
  color: var(--pn, #1E3A8A) !important;
  font-size: 12px;
  font-weight: 700;
}
#live-session .ls-mlp-standings-screen .mlp-standings-metrics-drawer .er-ranking-pipeline-chip--primary {
  background: var(--pnl, #DBEAFE) !important;
  border: 1.5px solid var(--pg, #2563EB) !important;
  color: var(--pn, #1E3A8A) !important;
}
#live-session .ls-mlp-standings-screen .mlp-standings-metrics-drawer .er-ranking-pipeline-chip-name {
  color: var(--pn, #1E3A8A) !important;
  font-size: 13px;
  font-weight: 800;
  max-width: min(220px, 38vw);
}
#live-session .ls-mlp-standings-screen .mlp-standings-metrics-drawer .er-ranking-pipeline-chip-step {
  width: 22px !important;
  height: 22px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
  color: #FFFFFF !important;
  background: var(--pn, #1E3A8A) !important;
  flex-shrink: 0;
}
#live-session .ls-mlp-standings-screen .mlp-standings-metrics-drawer .er-ranking-pipeline-chip--primary .er-ranking-pipeline-chip-step {
  background: var(--pg, #2563EB) !important;
}
#live-session .ls-mlp-standings-screen .mlp-standings-metrics-drawer .er-ranking-pipeline-chip--pointShare .er-ranking-pipeline-chip-step,
#live-session .ls-mlp-standings-screen .mlp-standings-metrics-drawer .er-ranking-pipeline-chip--pointPct .er-ranking-pipeline-chip-step,
#live-session .ls-mlp-standings-screen .mlp-standings-metrics-drawer .er-ranking-pipeline-chip--gameWinRate .er-ranking-pipeline-chip-step,
#live-session .ls-mlp-standings-screen .mlp-standings-metrics-drawer .er-ranking-pipeline-chip--winpct .er-ranking-pipeline-chip-step,
#live-session .ls-mlp-standings-screen .mlp-standings-metrics-drawer .er-ranking-pipeline-chip--courtPts .er-ranking-pipeline-chip-step,
#live-session .ls-mlp-standings-screen .mlp-standings-metrics-drawer .er-ranking-pipeline-chip--courtPointPct .er-ranking-pipeline-chip-step,
#live-session .ls-mlp-standings-screen .mlp-standings-metrics-drawer .er-ranking-pipeline-chip--lineDiff .er-ranking-pipeline-chip-step,
#live-session .ls-mlp-standings-screen .mlp-standings-metrics-drawer .er-ranking-pipeline-chip--lineWinPct .er-ranking-pipeline-chip-step,
#live-session .ls-mlp-standings-screen .mlp-standings-metrics-drawer .er-ranking-pipeline-chip--pointDiff .er-ranking-pipeline-chip-step,
#live-session .ls-mlp-standings-screen .mlp-standings-metrics-drawer .er-ranking-pipeline-chip--seasonPts .er-ranking-pipeline-chip-step,
#live-session .ls-mlp-standings-screen .mlp-standings-metrics-drawer .er-ranking-pipeline-chip--totalPts .er-ranking-pipeline-chip-step {
  background: var(--pn, #1E3A8A) !important;
}
#live-session .ls-mlp-standings-screen .mlp-standings-metrics-drawer .er-ranking-pipeline-sep {
  color: var(--pg, #2563EB) !important;
  font-size: 13px;
  opacity: 0.75;
}
#live-session .ls-mlp-standings-screen .mlp-standings-metrics-drawer .er-metric-tip {
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  border-radius: 50%;
  background: var(--pgl, #EFF6FF) !important;
  color: var(--pn, #1E3A8A) !important;
  border: 1px solid var(--info-bd, #93C5FD) !important;
  box-shadow: none !important;
}
#live-session .ls-mlp-standings-screen .mlp-standings-metrics-drawer .er-metric-tip:hover,
#live-session .ls-mlp-standings-screen .mlp-standings-metrics-drawer .er-metric-tip:focus-visible {
  background: var(--pnl, #DBEAFE) !important;
  color: var(--pgd, #1D4ED8) !important;
}
/* MLP standings live tab — readable column headers (overrides 10px ls-mlp-screen defaults) */
#live-session .ls-content-light.ls-mlp-standings-screen .standings-table.mlp-standings-table th,
#live-session .ls-mlp-standings-screen .standings-table.mlp-standings-table th {
  font-size: 14px;
  font-weight: 800;
  padding: 13px 12px;
  line-height: 1.35;
  text-transform: none;
  letter-spacing: 0.01em;
  white-space: nowrap;
  color: var(--pn, #1E3A8A);
  background: var(--pgl, #EFF6FF);
  border-bottom: 2px solid var(--info-bd, #93C5FD);
}
#live-session .ls-mlp-standings-screen .standings-table--modern.mlp-standings-table .st-th-rank,
#live-session .ls-mlp-standings-screen .standings-table--modern.mlp-standings-table .st-th-player,
#live-session .ls-mlp-standings-screen .standings-table--modern.mlp-standings-table .st-th-metric,
#live-session .ls-mlp-standings-screen .standings-table--modern.mlp-standings-table .st-th-metric--full,
#live-session .ls-mlp-standings-screen .standings-table--modern.mlp-standings-table .st-th-num--full,
#live-session .ls-mlp-standings-screen .mlp-team-standings th,
#live-session .ls-mlp-standings-screen .mlp-line-standings th {
  font-size: 14px;
  font-weight: 800;
  text-transform: none;
  letter-spacing: 0.01em;
  color: var(--pn, #1E3A8A);
}
#live-session .ls-mlp-standings-screen .standings-table--modern.mlp-standings-table .st-th-num {
  font-size: 13px;
  font-weight: 800;
  text-transform: none;
  letter-spacing: 0.02em;
  color: var(--pn, #1E3A8A);
}
#live-session .ls-mlp-standings-screen .mlp-team-standings th.st-th-line-diff {
  font-size: 13px;
  font-weight: 800;
  white-space: normal;
  line-height: 1.3;
  min-width: 5.75rem;
}
#live-session .ls-mlp-standings-screen .mlp-standings-table .st-th-metric-inner {
  gap: 6px;
  font-size: inherit;
  line-height: 1.35;
}
#live-session .ls-mlp-standings-screen .mlp-standings-table .st-th-metric-inner .er-metric-tip {
  width: 22px;
  height: 22px;
  min-width: 22px;
  font-size: 15px;
}
@media (min-width: 821px) {
  #live-session .ls-mlp-standings-screen .standings-table.mlp-standings-table th,
  #live-session .ls-mlp-standings-screen .standings-table--modern.mlp-standings-table .st-th-rank,
  #live-session .ls-mlp-standings-screen .standings-table--modern.mlp-standings-table .st-th-player,
  #live-session .ls-mlp-standings-screen .standings-table--modern.mlp-standings-table .st-th-metric--full,
  #live-session .ls-mlp-standings-screen .standings-table--modern.mlp-standings-table .st-th-num--full,
  #live-session .ls-mlp-standings-screen .mlp-team-standings th,
  #live-session .ls-mlp-standings-screen .mlp-line-standings th {
    font-size: 15px;
    padding: 14px 14px;
  }
  #live-session .ls-mlp-standings-screen .standings-table--modern.mlp-standings-table .st-th-num {
    font-size: 14px;
  }
  #live-session .ls-mlp-standings-screen .mlp-team-standings th.st-th-line-diff {
    font-size: 14px;
  }
}
/* MLP standings — min/max mascot badges in metric cells */
.ls-mlp-standings-screen .mlp-metric-cell {
  --mlp-metric-badge-size: 38px;
  display: grid;
  grid-template-columns: 1fr 4ch var(--mlp-metric-badge-size) 1fr;
  align-items: center;
  column-gap: 4px;
  width: 100%;
}
.ls-mlp-standings-screen .mlp-metric-cell-val {
  grid-column: 2;
  text-align: right;
  font-variant-numeric: tabular-nums;
  min-width: 0;
  line-height: 1.2;
}
.ls-mlp-standings-screen .mlp-metric-cell-val .st-metric-cell {
  justify-content: flex-end;
  gap: 3px;
  min-width: 0;
  margin-left: auto;
}
.ls-mlp-standings-screen .mlp-metric-cell-val .st-metric-val,
.ls-mlp-standings-screen .mlp-metric-cell-val .st-num,
.ls-mlp-standings-screen .mlp-metric-cell-val .st-diff,
.ls-mlp-standings-screen .mlp-metric-cell-val .st-metric-plain {
  text-align: right;
}
.ls-mlp-standings-screen .mlp-metric-cell-badge {
  grid-column: 3;
  width: var(--mlp-metric-badge-size);
  height: var(--mlp-metric-badge-size);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 0;
}
.ls-mlp-standings-screen .mlp-metric-cell--pct {
  grid-template-columns: 1fr 7.75ch var(--mlp-metric-badge-size) 1fr;
  column-gap: 6px;
}
.ls-mlp-standings-screen .mlp-metric-cell--pct .mlp-metric-cell-val {
  padding-right: 1px;
}
.ls-mlp-standings-screen .mlp-metric-extreme {
  display: block;
  width: var(--mlp-metric-badge-size);
  height: var(--mlp-metric-badge-size);
  flex-shrink: 0;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}
.ls-mlp-standings-screen .mlp-metric-extreme--eagle-max {
  background-image: url(../assets/mlp-metric-badges/eagle.png?v=transparent);
}
.ls-mlp-standings-screen .mlp-metric-extreme--chicken-min {
  background-image: url(../assets/mlp-metric-badges/chicken.png?v=transparent);
}
.ls-mlp-standings-screen .mlp-metric-extreme--tiger-min {
  background-image: url(../assets/mlp-metric-badges/tiger.png?v=transparent);
}
.ls-mlp-standings-screen .mlp-metric-extreme--sloth-max {
  background-image: url(../assets/mlp-metric-badges/sloth.png?v=transparent);
}
@media (min-width: 821px) {
  .ls-mlp-standings-screen .mlp-metric-cell {
    --mlp-metric-badge-size: 44px;
  }
}

/* MLP standings — compact columns on phone to cut horizontal scroll */
@media (max-width: 520px) {
  #live-session .ls-mlp-standings-screen .standings-table.mlp-standings-table th,
  #live-session .ls-mlp-standings-screen .standings-table.mlp-standings-table td {
    padding: 8px 4px;
    font-size: 13px;
  }
  #live-session .ls-mlp-standings-screen .standings-table.mlp-standings-table th {
    font-size: 12px;
    padding: 8px 4px;
    line-height: 1.2;
    white-space: normal;
    overflow-wrap: normal;
    word-break: keep-all;
    vertical-align: bottom;
  }
  #live-session .ls-mlp-standings-screen .standings-table.mlp-standings-table .st-col-rank,
  #live-session .ls-mlp-standings-screen .standings-table.mlp-standings-table th.st-th-rank {
    width: 1%;
    min-width: 2rem;
    padding-left: 4px;
    padding-right: 2px;
  }
#live-session .ls-mlp-standings-screen .mlp-team-standings .st-col-squad,
#live-session .ls-mlp-standings-screen .mlp-team-standings th:nth-child(2),
#live-session .ls-mlp-standings-screen .mlp-team-standings td:nth-child(2) {
  min-width: 8.5rem;
  max-width: none;
  text-align: left;
}
  #live-session .ls-mlp-standings-screen .mlp-individual-standings .st-col-player,
  #live-session .ls-mlp-standings-screen .mlp-individual-standings .st-th-player {
    min-width: 7.25rem;
    max-width: none;
    padding-right: 8px;
  }
  #live-session .ls-mlp-standings-screen .mlp-individual-standings .st-col-squad,
  #live-session .ls-mlp-standings-screen .mlp-individual-standings .st-th-squad {
    min-width: 4.25rem;
    max-width: none;
    padding-left: 6px;
    padding-right: 4px;
  }
  #live-session .ls-mlp-standings-screen .mlp-line-standings .st-col-line-team,
  #live-session .ls-mlp-standings-screen .mlp-line-standings th:nth-child(2) {
    min-width: 6rem;
    max-width: none;
    padding-right: 6px;
  }
  #live-session .ls-mlp-standings-screen .mlp-line-standings .st-col-squad,
  #live-session .ls-mlp-standings-screen .mlp-line-standings th:nth-child(3) {
    min-width: 4.25rem;
    max-width: none;
    padding-left: 6px;
  }
  /* Headers keep a floor width so labels never bleed into the next column */
  #live-session .ls-mlp-standings-screen .mlp-team-standings th.st-th-metric-col,
  #live-session .ls-mlp-standings-screen .mlp-line-standings th.st-th-metric-col {
    min-width: 3rem;
  }
  #live-session .ls-mlp-standings-screen .mlp-team-standings th.st-th-linesPlus,
  #live-session .ls-mlp-standings-screen .mlp-team-standings th.st-th-linesMinus {
    min-width: 3.6rem;
  }
  #live-session .ls-mlp-standings-screen .mlp-team-standings th.st-th-line-diff,
  #live-session .ls-mlp-standings-screen .mlp-team-standings th.st-th-line-diff-col {
    min-width: 4.85rem;
    max-width: none;
    font-size: 11px;
    line-height: 1.15;
  }
  #live-session .ls-mlp-standings-screen .mlp-team-standings th.st-th-squadDraws {
    min-width: 3.4rem;
  }
  #live-session .ls-mlp-standings-screen .mlp-team-standings th.st-th-squadW,
  #live-session .ls-mlp-standings-screen .mlp-team-standings th.st-th-squadL {
    min-width: 2.35rem;
  }
  #live-session .ls-mlp-standings-screen .mlp-standings-table .st-th-metric-inner {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2px;
    max-width: 100%;
    text-align: center;
  }
  #live-session .ls-mlp-standings-screen .mlp-standings-table .st-th-metric-inner .er-metric-tip {
    width: 16px;
    height: 16px;
    min-width: 16px;
    font-size: 11px;
    flex-shrink: 0;
  }
  /* Data cells stay compact; column width follows header floor above */
  #live-session .ls-mlp-standings-screen .mlp-team-standings td:not(.st-col-rank):not(.st-col-squad),
  #live-session .ls-mlp-standings-screen .mlp-line-standings td:not(.st-col-rank):not(.st-col-squad):not(.st-col-player) {
    width: 1%;
    white-space: nowrap;
  }
  .ls-mlp-standings-screen .mlp-metric-cell {
    --mlp-metric-badge-size: 30px;
    display: inline-grid;
    grid-template-columns: 2.75ch var(--mlp-metric-badge-size);
    column-gap: 2px;
    width: auto;
    max-width: 100%;
  }
  .ls-mlp-standings-screen .mlp-metric-cell--pct {
    grid-template-columns: 7.75ch var(--mlp-metric-badge-size);
    column-gap: 6px;
  }
  .ls-mlp-standings-screen .mlp-metric-cell--pct .mlp-metric-cell-val {
    padding-right: 1px;
  }
  .ls-mlp-standings-screen .mlp-metric-cell-val {
    grid-column: 1;
  }
  .ls-mlp-standings-screen .mlp-metric-cell-badge {
    grid-column: 2;
  }
  #live-session .ls-mlp-standings-screen .mlp-team-standings .st-col-squad,
  #live-session .ls-mlp-standings-screen .mlp-team-standings .st-col-line-team {
    min-width: 8.5rem;
  }
  #live-session .ls-mlp-standings-screen .mlp-individual-standings .st-col-player,
  #live-session .ls-mlp-standings-screen .mlp-individual-standings .st-th-player {
    min-width: 7.25rem;
    max-width: none;
  }
  #live-session .ls-mlp-standings-screen .mlp-individual-standings .st-col-squad,
  #live-session .ls-mlp-standings-screen .mlp-individual-standings .st-th-squad {
    min-width: 4.25rem;
    max-width: none;
  }
  .ls-mlp-standings-screen .mlp-standings-table-scroll .standings-table {
    min-width: 0;
  }
}

/* End-season / action row below flush standings panel */
#live-session .ls-content-light.ls-mlp-standings-screen > .mlp-week-finish-row {
  flex-shrink: 0;
  margin: 0;
  padding: 12px clamp(12px, 2.5vw, 20px) max(12px, env(safe-area-inset-bottom, 0));
}

/* MLP standings — show full player / team / line names (no ellipsis) */
#live-session .ls-mlp-standings-screen .standings-table.mlp-standings-table .st-col-player,
#live-session .ls-mlp-standings-screen .standings-table.mlp-standings-table .st-th-player,
#live-session .ls-mlp-standings-screen .standings-table--modern.mlp-standings-table .st-col-player,
#live-session .ls-mlp-standings-screen .standings-table--modern.mlp-standings-table .st-th-player {
  width: auto;
  min-width: 8.5rem;
  max-width: none;
}
#live-session .ls-mlp-standings-screen .standings-table.mlp-standings-table .st-col-squad,
#live-session .ls-mlp-standings-screen .standings-table.mlp-standings-table .st-col-line-team {
  width: auto;
  min-width: 6.5rem;
  max-width: none;
  white-space: nowrap;
}
#live-session .ls-mlp-standings-screen .standings-table.mlp-standings-table .st-player-name,
#live-session .ls-mlp-standings-screen .standings-table.mlp-standings-table .st-line-team-name,
#live-session .ls-mlp-standings-screen .standings-table.mlp-standings-table .st-squad-name {
  overflow: visible;
  text-overflow: unset;
  white-space: nowrap;
  max-width: none;
}
#live-session .ls-mlp-standings-screen .standings-table.mlp-standings-table .st-player,
#live-session .ls-mlp-standings-screen .standings-table.mlp-standings-table .mlp-standings-player-link.st-player {
  max-width: none;
  width: 100%;
  margin-inline: 0;
  justify-content: flex-start;
}
#live-session .ls-mlp-standings-screen .standings-table.mlp-standings-table .st-squad-cell {
  max-width: none;
}
/* Players tab — keep player and team columns from overlapping */
#live-session .ls-mlp-standings-screen .mlp-individual-standings .st-col-player,
#live-session .ls-mlp-standings-screen .mlp-individual-standings .st-col-squad {
  overflow: clip;
  vertical-align: middle;
}
#live-session .ls-mlp-standings-screen .mlp-individual-standings .st-col-player .st-player,
#live-session .ls-mlp-standings-screen .mlp-individual-standings .st-col-player .mlp-standings-player-link.st-player {
  width: 100%;
  max-width: 100%;
  margin-inline: 0;
  justify-content: flex-start;
}
#live-session .ls-mlp-standings-screen .mlp-individual-standings .st-col-squad .st-squad-cell {
  align-items: center;
}
.mlp-standings-controls-card {
  background: linear-gradient(180deg, #F7F9FB 0%, #F1F4F8 100%);
  border: 0.5px solid var(--pb);
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: 0 1px 3px rgba(17, 24, 39, 0.04);
}
.mlp-standings-controls-hd {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 12px;
  margin-bottom: 10px;
}
.mlp-standings-controls-title {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 800;
  color: var(--pn);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.mlp-standings-controls-title .ti { color: #5C6BC0; font-size: 15px; }
.mlp-standings-controls-note {
  font-size: 11px;
  font-weight: 600;
  color: #78909C;
}
.mlp-standings-controls-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
@media (min-width: 520px) {
  .mlp-standings-controls-grid { grid-template-columns: 1fr 1fr; }
}
.mlp-standings-control-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mlp-standings-control-lbl {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #90A4AE;
}
.mlp-standings-scope-toggle,
.mlp-standings-view-toggle {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  background: #fff;
  border: 0.5px solid var(--pb);
  border-radius: 10px;
}
.mlp-standings-seg-btn {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0 !important;
  padding: 8px 10px !important;
  border-radius: 8px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-align: center;
}
.mlp-standings-results-card,
.mlp-standings-playoff-race-card,
.mlp-standings-bracket-card {
  background: #fff;
  border: 0.5px solid var(--pb);
  border-radius: 12px;
  box-shadow: 0 1px 4px rgba(17, 24, 39, 0.05);
  overflow: hidden;
}
.mlp-standings-results-card--season { border-top: 3px solid #42A5F5; }
.mlp-standings-results-card--playoffs { border-top: 3px solid #7E57C2; }
.mlp-standings-results-card--combined { border-top: 3px solid var(--pg); }
.mlp-standings-playoff-race-card { border-top: 3px solid #F9A825; margin-top: 4px; }
.mlp-standings-bracket-card {
  border-top: 3px solid #7E57C2;
  margin-top: 12px;
}
.mlp-standings-block-hd--bracket {
  background: linear-gradient(180deg, #EDE7F6 0%, #fff 100%);
}
.mlp-standings-bracket-body {
  padding: 12px 14px 16px;
}
.mlp-standings-bracket-body .mlp-po-bracket {
  margin-top: 0;
}
.mlp-bracket-live-hint {
  margin: 0 0 10px !important;
}
.mlp-standings-bracket-tab-link {
  align-self: center;
  font-size: 12px;
  font-weight: 600;
}
.mlp-team-standings--playoff-race .tl-playoff-summary {
  margin: 0 0 10px;
  border-radius: 8px;
}
.mlp-playoffs-empty-card {
  margin-top: 8px;
  padding: 28px 20px 24px;
  text-align: center;
  background: #fff;
  border: 0.5px dashed #B0BEC5;
  border-radius: 12px;
  color: #37474F;
}
.mlp-playoffs-empty-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #EDE7F6;
  color: #7E57C2;
  font-size: 24px;
}
.mlp-playoffs-empty-title {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  color: #263238;
}
.mlp-playoffs-empty-lead {
  margin: 0 auto 12px;
  max-width: 420px;
  font-size: 13px;
  line-height: 1.5;
  color: #546E7A;
}
.mlp-playoffs-empty-meta {
  margin: 0;
  font-size: 12px;
  color: #78909C;
}
.mlp-playoffs-empty-meta i {
  margin-right: 4px;
  vertical-align: -1px;
}
.ls-content-light.ls-mlp-screen .mlp-playoffs-empty-card {
  background: #FAFBFC;
  border-color: #CFD8DC;
}
.mlp-standings-block-hd {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px 12px;
  padding: 12px 14px;
  border-bottom: 0.5px solid #ECEFF1;
}
.mlp-standings-block-hd--results { background: linear-gradient(180deg, #FAFBFC 0%, #fff 100%); }
.mlp-standings-block-hd--playoff { background: linear-gradient(180deg, #FFF8E1 0%, #fff 100%); }
.mlp-standings-block-hd-main {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}
.mlp-standings-block-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #ECEFF1;
  color: #546E7A;
  flex-shrink: 0;
}
.mlp-standings-block-hd--results .mlp-standings-block-icon { background: #E3F2FD; color: #1565C0; }
.mlp-standings-block-hd--playoff .mlp-standings-block-icon { background: #FFF3E0; color: #E65100; }
.mlp-standings-block-title {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  color: var(--pn);
  line-height: 1.25;
}
.mlp-standings-block-sub {
  margin: 2px 0 0;
  font-size: 11px;
  color: #78909C;
  line-height: 1.35;
}
.mlp-standings-updates-pill,
.mlp-standings-fixed-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.mlp-standings-updates-pill {
  background: #E3F2FD;
  color: #1565C0;
  border: 0.5px solid rgba(21, 101, 192, 0.2);
}
.mlp-standings-fixed-pill {
  background: #FFF3E0;
  color: #E65100;
  border: 0.5px solid rgba(230, 81, 0, 0.2);
}
.mlp-standings-results-body {
  padding: 12px 12px 14px;
}
.mlp-standings-results-body .mlp-standings-meta {
  margin-bottom: 12px;
}
.mlp-standings-results-body .mlp-standings-table-scroll {
  margin: 0;
  border-radius: 10px;
  border: 0.5px solid #ECEFF1;
  overflow: auto;
}
.mlp-standings-empty {
  margin: 0;
  padding: 24px 16px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: #78909C;
}
.mlp-standings-results-body .ls-hint { margin-top: 0; }
.mlp-standings-playoff-race-card .tl-playoff-summary { margin: 12px 12px 0; }
.mlp-standings-playoff-race-card .mlp-standings-table-scroll { margin: 8px 12px 12px; }
.mlp-standings-playoff-race-hint {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 4px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: #FFF8E1;
  border: 0.5px solid rgba(249, 168, 37, 0.35);
  font-size: 12px;
  color: #6D4C41;
}
.mlp-standings-inline-link {
  border: none;
  background: none;
  padding: 0;
  font: inherit;
  font-weight: 800;
  color: #1565C0;
  text-decoration: underline;
  cursor: pointer;
}
.mlp-standings-page-hd { margin-bottom: 10px; }

.mlp-week-standings-cta {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 0.5px solid var(--pb);
}
.mlp-action-bar {
  padding: 16px 20px 20px;
  text-align: center;
  background-color: #ECEFF1;
  background-image: none;
  box-shadow: none;
}
.mlp-action-bar .export-btn {
  margin: 0 6px 8px;
}
.mlp-matchup-finish-btn {
  padding: 12px 32px;
  background: var(--py);
  color: var(--pn);
  border: none;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  box-shadow: 0 2px 8px rgba(249, 168, 37, 0.28);
  transition: transform 0.15s, box-shadow 0.15s;
}
.mlp-matchup-finish-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 12px rgba(249, 168, 37, 0.35);
}
.mlp-week-standings-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(46, 125, 50, 0.28);
  background: linear-gradient(180deg, #F7FBF7 0%, #EEF6EE 100%);
  color: #1B5E20;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.mlp-week-standings-link .ti { font-size: 18px; color: var(--pg); }
.mlp-week-standings-link:hover {
  background: linear-gradient(180deg, #E8F5E9 0%, #E0F0E0 100%);
  border-color: rgba(46, 125, 50, 0.45);
  box-shadow: 0 2px 8px rgba(46, 125, 50, 0.1);
}

.mlp-week-matchups { margin: 4px 0 14px; }
.mlp-week-matchups-lbl {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #90A4AE;
  margin-bottom: 8px;
}
.mlp-week-matchup-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.mlp-week-matchup-chip {
  appearance: none;
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1.5px solid #CFD8DC;
  background: #fff;
  color: #546E7A;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.mlp-week-matchup-chip:hover {
  border-color: #90A4AE;
  color: var(--ps);
}
.mlp-week-matchup-chip.is-on {
  border-color: var(--pg);
  background: #E8F5E9;
  color: #1B5E20;
  box-shadow: 0 0 0 1px rgba(76, 175, 80, 0.2);
}
.mlp-week-matchup-chip.is-done:not(.is-on) {
  border-color: #A5D6A7;
  background: #F1F8E9;
  color: #2E7D32;
}
.mlp-week-matchup-chip .ti { font-size: 13px; vertical-align: -1px; }
.ls-content-light.ls-mlp-week-screen .match-card.sh-match-card {
  margin: 0 0 10px;
}
.sh-context-bar--play {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.sh-context-pill {
  flex-shrink: 0;
  align-self: center;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  background: #FFF8E1;
  color: #E65100;
  white-space: nowrap;
}
.sh-context-pill--done {
  background: #E8F5E9;
  color: #2E7D32;
}
.sh-pools-play-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 10px;
  margin-bottom: 10px;
}
.sh-pool-play-card {
  padding-bottom: 0;
}
.sh-court-rounds {
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sh-pool-empty {
  margin: 0;
  padding: 16px;
  text-align: center;
  font-size: 12px;
  color: #78909C;
}
.sh-court-round {
  border: 0.5px solid #E0E0E0;
  border-radius: 14px;
  overflow: hidden;
  background: #FAFBFA;
}
.sh-court-round-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
  background: #fff;
  border-bottom: 1px solid #ECEFF1;
}
.sh-court-round-hd--done {
  background: linear-gradient(180deg, #EFF6FF 0%, #F8FAFC 100%);
}
.sh-court-round-num {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--pn);
}
.sh-court-round-status {
  font-size: 10px;
  font-weight: 700;
  color: #78909C;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.sh-court-round-hd--done .sh-court-round-status { color: var(--pn); }
.sh-court-round-body {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sh-court-match {
  position: relative;
  border: 0.5px solid rgba(37, 99, 235, 0.14);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 10px rgba(17, 24, 39, 0.06);
}
.sh-court-match--done {
  border-color: rgba(46, 125, 50, 0.22);
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}
.sh-court-match--yours {
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.28), 0 2px 10px rgba(29, 78, 216, 0.1);
}
.sh-court-match-teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 8px;
  align-items: center;
  padding: 12px 10px;
  background: linear-gradient(180deg, #EFF6FF 0%, #fff 100%);
  border-bottom: 0.5px solid rgba(37, 99, 235, 0.08);
}
.sh-court-vs {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
  border: 0.5px solid var(--pb);
  font-size: 10px;
  font-weight: 800;
  color: var(--pn);
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(17, 24, 39, 0.06);
}
.sh-court-team {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 280px;
}
.sh-court-team--empty {
  color: #90A4AE;
  font-size: 12px;
  font-weight: 600;
}
.sh-player-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px 5px 5px;
  border-radius: 999px;
  background: #fff;
  border: 0.5px solid rgba(37, 99, 235, 0.14);
  box-shadow: 0 1px 4px rgba(17, 24, 39, 0.06);
  max-width: 100%;
}
.sh-player-av {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}
.sh-player-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--pn);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
.sh-player-name-short { display: none; }
.sh-court-score {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 10px;
  padding: 10px 12px;
  background: #fff;
  border-top: 1px solid #ECEFF1;
}
.sh-court-score--done {
  font-size: 13px;
  font-weight: 700;
  color: #2E7D32;
  gap: 8px 10px;
  justify-content: space-between;
}
.sh-court-score-done-line {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.sh-score-reset {
  min-height: 34px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  color: #546E7A;
  border-color: #CFD8DC;
  flex-shrink: 0;
}
.sh-score-reset:hover {
  color: #C62828;
  border-color: #EF9A9A;
  background: #FFEBEE;
}
.sh-score-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}
.sh-score-side-label {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #78909C;
}
.sh-score-input {
  width: 52px !important;
  min-height: 40px;
  text-align: center;
  font-size: 16px !important;
  font-weight: 700;
  border-radius: 10px !important;
}
.sh-score-sep {
  font-size: 18px;
  font-weight: 800;
  color: #B0BEC5;
  padding: 0 2px;
  margin-top: 14px;
}
.sh-score-save {
  min-height: 40px;
  min-width: 88px;
}
.sh-court-score .match-admin-bar {
  flex: 1 1 100%;
  justify-content: center;
  margin-top: 2px;
}
.sh-court-bench {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  padding: 8px 12px;
  background: #F5F5F5;
  border-top: 1px dashed #CFD8DC;
  font-size: 11px;
  color: #607D8B;
}
.sh-court-bench > .ti {
  color: #90A4AE;
  font-size: 14px;
}
.sh-court-bench-label {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #78909C;
  margin-right: 2px;
}
.sh-court-bench-name {
  font-size: 11px;
  font-weight: 600;
  color: #546E7A;
  padding: 4px 8px;
  background: #fff;
  border-radius: 999px;
  border: 0.5px solid #E0E0E0;
}
.sh-court-bench .sh-player-chip {
  background: #fff;
  border-color: #E0E0E0;
  box-shadow: none;
}

/* Coed scramble — explicit team pairs + sit-out */
.sh-court-round--scramble .sh-court-round-hd {
  flex-wrap: wrap;
}
.sh-court-round-sit {
  margin-left: 6px;
  padding-left: 8px;
  border-left: 1px solid #CFD8DC;
  font-size: 9px;
  font-weight: 600;
  color: #78909C;
  text-transform: none;
  letter-spacing: 0;
}
.sh-scramble-match {
  border: 0.5px solid rgba(37, 99, 235, 0.14);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 10px rgba(17, 24, 39, 0.06);
}
.sh-scramble-match--done {
  border-color: rgba(46, 125, 50, 0.22);
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}
.sh-scramble-teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 8px;
  align-items: center;
  padding: 12px 10px;
  background: linear-gradient(180deg, #EFF6FF 0%, #fff 100%);
  border-bottom: 0.5px solid rgba(37, 99, 235, 0.08);
}
.sh-doubles-team {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.sh-doubles-team-label {
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #546E7A;
}
.sh-doubles-partners {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}
.sh-partner-link {
  font-size: 11px;
  font-weight: 800;
  color: #78909C;
  padding: 0 2px;
}
.sh-scramble-vs {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
  border: 0.5px solid var(--pb);
  font-size: 10px;
  font-weight: 800;
  color: var(--pn);
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(17, 24, 39, 0.06);
}
.sh-scramble-sitout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: #FFF8E1;
  border-top: 1px solid #FFE082;
}
.sh-scramble-sitout-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #E65100;
  white-space: nowrap;
}
.sh-scramble-sitout-label .ti {
  font-size: 14px;
}
.sh-scramble-sitout-players {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  flex: 1 1 auto;
}
.sh-pool-empty--warn {
  margin: 0;
  padding: 10px 12px;
  font-size: 11px;
  color: #BF360C;
  background: #FFF3E0;
  border-top: 1px solid #FFCC80;
}

/* Pool play · score identity & permissions */
.sh-score-identity-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
  padding: 8px 12px;
  border-radius: 10px;
  background: #fff;
  border: 0.5px solid var(--pb);
  box-shadow: 0 1px 3px rgba(17, 24, 39, 0.05);
}
.sh-score-identity-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.sh-score-identity-icon {
  color: #546E7A;
  font-size: 16px;
}
.sh-score-identity-text {
  font-size: 12px;
  color: #455A64;
}
.sh-score-identity-text strong { color: var(--pn); }
.sh-score-role-pill {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 8px;
  border-radius: 999px;
  white-space: nowrap;
}
.sh-score-role-pill--td {
  background: #E3F2FD;
  color: #1565C0;
}
.sh-score-role-pill--player {
  background: #E8F5E9;
  color: #2E7D32;
}
.sh-score-view-toggle {
  min-height: 32px;
  padding: 6px 12px;
  font-size: 11px;
}
.sh-scramble-match {
  position: relative;
}
.sh-scramble-match--yours,
.sh-court-match--yours {
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.28), 0 2px 10px rgba(29, 78, 216, 0.1);
}
.sh-match-role-badge {
  display: block;
  padding: 5px 10px;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid #ECEFF1;
}
.sh-match-role-badge--yours {
  background: #EFF6FF;
  color: var(--pn);
}
.sh-match-role-badge--td {
  background: #E3F2FD;
  color: #1565C0;
}
.sh-match-role-badge--locked {
  background: #ECEFF1;
  color: #78909C;
}
.sh-court-score--locked .sh-score-input {
  opacity: 0.55;
  cursor: not-allowed;
}
.sh-score-locked {
  flex: 1 1 100%;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #78909C;
  line-height: 1.4;
}
.sh-score-locked .ti { font-size: 14px; }
.sh-court-score--pending {
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}
.sh-score-pending-label {
  font-size: 12px;
  font-weight: 600;
  color: #E65100;
}
.sh-score-pending-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.sh-context-bar {
  margin-bottom: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #fff;
  border: 0.5px solid var(--pb);
  box-shadow: 0 1px 3px rgba(17, 24, 39, 0.06);
}
.sh-context-bar--compact {
  margin-bottom: 0;
}
.sh-context-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--pn);
  letter-spacing: -0.02em;
}
.sh-context-meta {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 500;
  color: #546E7A;
  line-height: 1.45;
}
.sh-context-meta i { color: var(--pg); margin-right: 4px; }

/* ── Page guide (what this tab shows / does not) ── */
.ls-page-guide {
  margin-bottom: 8px;
  border-radius: 10px;
  background: linear-gradient(135deg, #E3F2FD 0%, #F5FAFF 55%, #fff 100%);
  border: 0.5px solid rgba(25, 118, 210, 0.22);
  box-shadow: 0 1px 4px rgba(25, 118, 210, 0.08);
  overflow: hidden;
}
.ls-page-guide-toggle {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  padding: 8px 12px;
  border: none;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
}
.ls-page-guide-toggle:hover {
  background: rgba(255, 255, 255, 0.45);
}
.ls-page-guide-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 15px;
  color: #1565C0;
  background: rgba(25, 118, 210, 0.12);
}
.ls-page-guide-copy {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ls-page-guide-title {
  font-size: 12px;
  font-weight: 700;
  color: #0D47A1;
  line-height: 1.3;
}
.ls-page-guide-summary {
  font-size: 11px;
  line-height: 1.4;
  color: #455A64;
}
.ls-page-guide-more {
  flex-shrink: 0;
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #1565C0;
  white-space: nowrap;
}
.ls-page-guide-more .ti-chevron-down {
  font-size: 14px;
  transition: transform 0.15s;
}
.ls-page-guide--open .ls-page-guide-more .ti-chevron-down {
  transform: rotate(180deg);
}
.ls-page-guide-detail {
  padding: 0 12px 10px 48px;
}
.ls-page-guide-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.ls-page-guide-box {
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 11px;
  line-height: 1.45;
}
.ls-page-guide-box--show {
  background: rgba(232, 245, 233, 0.85);
  border: 0.5px solid rgba(46, 125, 50, 0.22);
}
.ls-page-guide-box--not {
  background: rgba(255, 243, 224, 0.85);
  border: 0.5px solid rgba(230, 81, 0, 0.18);
}
.ls-page-guide-box-label {
  display: block;
  margin-bottom: 4px;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.ls-page-guide-box--show .ls-page-guide-box-label { color: #2E7D32; }
.ls-page-guide-box--not .ls-page-guide-box-label { color: #E65100; }
.ls-page-guide-box ul {
  margin: 0;
  padding-left: 16px;
  color: #37474F;
}
.ls-page-guide-box li + li { margin-top: 2px; }

.sh-ranking-pipeline-wrap {
  margin-bottom: 6px;
}
.sh-ranking-pipeline-wrap:has(.er-ranking-pipeline--compact) {
  margin-bottom: 4px;
}
.ls-content-light .er-ranking-pipeline--compact {
  height: auto;
  box-sizing: border-box;
}
.sh-ranking-edit-hint {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: linear-gradient(135deg, #F7F9F7 0%, #EEF2EE 100%);
  border: 0.5px solid var(--pb);
  font-size: 11px;
  line-height: 1.45;
  color: #455A64;
}
.sh-ranking-edit-hint strong { color: var(--pn); }
.sh-ranking-edit-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 15px;
  color: #2E7D32;
  background: rgba(46, 125, 50, 0.12);
}
.sh-pools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
  gap: 10px;
  margin-bottom: 10px;
}
.sh-pool-card,
.sh-pool-play-card {
  background: #fff;
  border: 0.5px solid var(--pb);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(17, 24, 39, 0.06);
}
.sh-pool-play-card { margin-bottom: 14px; padding-bottom: 10px; }
.sh-pool-card-hd {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  background: linear-gradient(180deg, #EFF6FF 0%, #F8FAFC 100%);
  border-bottom: 0.5px solid rgba(37, 99, 235, 0.12);
}
.sh-pool-card-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--pn);
}
.sh-pool-card-sub {
  margin-top: 2px;
  font-size: 11px;
  color: #78909C;
}
.sh-pool-card-progress {
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 5px 10px;
  border-radius: 999px;
  background: #FFF8E1;
  color: #E65100;
  cursor: help;
}
.sh-pool-card-progress--done {
  background: #E8F5E9;
  color: #2E7D32;
}
.sh-pool-standings {
  list-style: none;
  margin: 0;
  padding: 2px 0;
}
.sh-pool-standings-fold {
  margin: 0;
  border-bottom: 1px solid #E8EBE8;
}
.sh-pool-standings-fold summary {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  font-size: 11px;
  font-weight: 600;
  color: #546E7A;
  cursor: pointer;
  list-style: none;
}
.sh-pool-standings-fold summary::-webkit-details-marker { display: none; }
.sh-pool-standings-fold summary .ti { font-size: 13px; color: var(--pg); }
.sh-pool-standings-fold[open] summary {
  border-bottom: 1px solid #EEF1EE;
  background: #FAFBFA;
}
.sh-pool-standings--compact .sh-pool-row {
  padding: 4px 12px;
}
.sh-pool-play-footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
  padding: 12px 0 4px;
  border-top: 1px solid #E0E4E0;
  position: sticky;
  bottom: 0;
  z-index: 4;
  background: linear-gradient(transparent, #ECEFF1 18%);
}
.sh-pool-play-reshuffle {
  align-self: flex-start;
}
.sh-pool-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-bottom: 1px solid #F0F2F0;
}
.sh-pool-row:last-child { border-bottom: none; }
.sh-pool-rank {
  width: 22px;
  font-size: 13px;
  font-weight: 800;
  color: var(--pg);
  text-align: center;
}
.sh-pool-av {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.sh-pool-name {
  flex: 1;
  min-width: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--pn);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sh-pool-stats {
  display: flex;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  color: #607D8B;
  font-variant-numeric: tabular-nums;
}
.sh-movement-card {
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff;
  border: 0.5px solid var(--pb);
}
.sh-movement-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--pn);
  margin-bottom: 8px;
}
.sh-movement-list {
  margin: 0;
  padding-left: 18px;
  font-size: 12px;
  color: #546E7A;
  line-height: 1.5;
}
.sh-rankings-cta {
  display: flex;
  justify-content: center;
  margin-bottom: 0;
}
.sh-rankings-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
}
.sh-gameday-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff;
  border: 0.5px solid var(--pb);
  flex: 1 1 auto;
}
.sh-gameday-note {
  flex: 1 1 100%;
  margin: 0 0 4px;
  font-size: 12px;
  color: #607D8B;
  text-align: center;
  line-height: 1.45;
}
.sh-gameday-btn { min-height: 40px; }
.sh-sitout-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 14px 0;
}
.sh-sitout-chip {
  font-size: 10px;
  font-weight: 600;
  color: #78909C;
  background: #F5F5F5;
  border: 0.5px solid #E0E0E0;
  border-radius: 999px;
  padding: 4px 10px;
}
.sh-round-label {
  margin: 10px 14px 6px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--pg);
}
.ls-content-light .match-card.sh-match-card {
  margin: 0 14px 8px;
  background: #F7F9F7;
  border: 0.5px solid var(--pb);
  border-radius: 10px;
}
.ls-content-light .match-card.sh-match-card .mc-name {
  color: var(--pn);
  font-weight: 600;
}
.ls-content-light .match-card.sh-match-card.complete {
  background: #E8F5E9;
  border-color: rgba(46, 125, 50, 0.25);
}
.ls-content-light .score-input {
  background: #fff;
  border: 0.5px solid var(--pb);
  color: var(--pn);
}
.ls-content-light .sh-match-done {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #2E7D32;
}
.ls-content-light .sh-match-done i { margin-right: 4px; }
.sh-pool-play-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  padding: 6px 0 2px;
  position: sticky;
  bottom: 0;
  z-index: 4;
  margin-top: 4px;
  background: linear-gradient(transparent, #ECEFF1 24%);
}
.sh-player-name-full { display: inline; }
.sh-player-name-short { display: none; }

/* ── Light session · shared top band (Rankings + Leaderboard) ── */
.ls-light-top-band {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 10px;
}
.ls-leaderboard-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.ls-leaderboard-toolbar .ls-leaderboard-toggle {
  margin-bottom: 0;
}
.ls-leaderboard-toolbar .ls-leaderboard-note {
  margin: 0;
}

@media (min-width: 768px) {
  .sh-pools-play-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sh-rankings-screen .sh-pools-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .ls-light-top-band {
    display: grid;
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
    gap: 10px;
    align-items: stretch;
    margin-bottom: 10px;
  }
  .ls-light-top-band .sh-context-bar,
  .ls-light-top-band .sh-ranking-pipeline-wrap {
    margin-bottom: 0;
  }
  .ls-content-light .er-ranking-pipeline {
    padding: 8px 10px 9px;
    height: 100%;
    box-sizing: border-box;
  }
  .ls-content-light .er-ranking-pipeline-header {
    margin-bottom: 6px;
  }
  .ls-content-light .er-ranking-pipeline-header-icon {
    width: 30px;
    height: 30px;
    font-size: 16px;
  }
  .ls-content-light .er-ranking-pipeline-title {
    font-size: 13px;
  }
  .ls-content-light .er-ranking-pipeline-sub {
    font-size: 11px;
  }
  .ls-content-light .er-ranking-pipeline-track {
    padding: 0;
    overflow: visible;
  }
  .ls-content-light .er-ranking-pipeline-node {
    min-width: 0;
    max-width: none;
    padding: 7px 6px;
  }
  .ls-content-light .er-ranking-pipeline-node-name {
    font-size: 12px;
    line-height: 1.3;
  }
  .ls-content-light .er-ranking-pipeline-node-step {
    width: 22px;
    height: 22px;
    font-size: 11px;
  }
  .ls-content-light .er-ranking-pipeline-node-role {
    font-size: 10px;
  }
  .ls-content-light .er-ranking-pipeline-arrow {
    flex: 0 0 14px;
  }
  .ls-content-light .er-ranking-pipeline-arrow-line {
    width: 10px;
  }
  .sh-rankings-footer {
    justify-content: space-between;
  }
  .sh-rankings-footer .sh-rankings-cta {
    justify-content: flex-start;
    flex: 0 0 auto;
  }
  .sh-rankings-footer .sh-gameday-bar {
    justify-content: flex-end;
    flex: 1 1 320px;
  }
  .sh-pool-play-card .sh-court-rounds {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
}
@media (min-width: 1200px) {
  .sh-rankings-screen .sh-pools-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .ls-leaderboard-screen .ls-light-top-band {
    grid-template-columns: minmax(200px, 240px) minmax(0, 1fr);
  }
}
@media (min-width: 1400px) {
  .sh-pools-play-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .sh-pool-play-card .sh-court-rounds {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 767px) {
  .sh-pools-play-grid { grid-template-columns: 1fr; }
  .sh-rankings-screen .sh-pools-grid { grid-template-columns: 1fr; }
  .sh-context-bar--play { flex-direction: column; }
  .sh-context-pill { align-self: flex-start; }
  .sh-player-name-full { display: none; }
  .sh-player-name-short { display: inline; }
  .sh-court-score { flex-direction: column; align-items: stretch; }
  .sh-score-sep { margin-top: 0; }
  .sh-score-save { width: 100%; justify-content: center; }
  .sh-score-reset { width: 100%; justify-content: center; }
  .sh-court-score--done { justify-content: center; }
  .sh-pool-play-actions {
    position: static;
    background: transparent;
  }
  .sh-rankings-footer {
    flex-direction: column;
    align-items: stretch;
  }
  .sh-rankings-footer .sh-gameday-bar,
  .sh-rankings-footer .sh-rankings-cta {
    width: 100%;
    justify-content: center;
  }
  .sh-rankings-footer .sh-gameday-btn,
  .sh-rankings-footer .btn {
    width: 100%;
    justify-content: center;
  }
  .ls-page-guide-grid {
    grid-template-columns: 1fr;
  }
  .ls-page-guide-detail {
    padding-left: 12px;
  }
  .ls-tab[data-ls-tip]::after,
  .ls-tab[data-ls-tip]::before {
    display: none;
  }
}

/* ── Live session Admin tab (light) ── */
#live-session .ls-body:has(.ls-admin-screen) {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  padding-bottom: 8px;
}
.ls-content-light.ls-admin-screen {
  max-width: none;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  gap: 8px;
}
.ls-admin-screen .ls-week-session-bar {
  margin-bottom: 0;
  padding: 8px 12px;
  flex-shrink: 0;
}
.ls-admin-command-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  padding: 14px 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1E3A8A 0%, #2563EB 55%, #1D4ED8 100%);
  box-shadow: 0 6px 24px rgba(30, 58, 138, 0.28);
  color: #fff;
  flex-shrink: 0;
}
.ls-admin-command-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.ls-admin-command-badge {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 20px;
}
.ls-admin-command-title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.ls-admin-command-meta {
  margin: 2px 0 0;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.35;
}
.ls-admin-section-label {
  margin: 0 0 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #90A4AE;
}
.ls-admin-command-text .ls-admin-section-label {
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 2px;
}
.ls-admin-dupr-note {
  margin: 0 0 8px;
  font-size: 12px;
  line-height: 1.45;
  color: #607D8B;
}
.ls-admin-section-lead {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.45;
  color: #546E7A;
  font-weight: 500;
}
.ls-admin-section-lead--inline {
  margin: 4px 0 0;
  font-size: 12px;
  max-width: 36rem;
}
.ls-admin-dupr-status {
  margin: 0 0 10px;
  font-size: 12px;
  color: #455A64;
}
.ls-admin-command-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex: 1 1 280px;
}
.ls-admin-cmd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, transform 0.1s;
  white-space: nowrap;
}
.ls-admin-cmd-btn .ti { font-size: 15px; opacity: 0.95; }
.ls-admin-cmd-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.45);
}
.ls-admin-cmd-btn:active:not(:disabled) { transform: scale(0.98); }
.ls-admin-cmd-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.ls-admin-cmd-btn--gold {
  background: var(--py);
  color: #1A2332;
  border-color: #F9A825;
  box-shadow: 0 2px 8px rgba(249, 168, 37, 0.35);
}
.ls-admin-cmd-btn--gold:hover:not(:disabled) {
  background: #FFCA28;
  border-color: #FFB300;
}
.ls-admin-cmd-btn--warn {
  background: rgba(255, 152, 0, 0.22);
  border-color: rgba(255, 183, 77, 0.55);
}
.ls-admin-cmd-btn--warn:hover:not(:disabled) {
  background: rgba(255, 152, 0, 0.35);
}
.ls-admin-cmd-btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.18);
  opacity: 0.85;
}
.ls-admin-command-secondary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 0 4px;
  flex-shrink: 0;
}
.ls-admin-secondary-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: #455A64;
  background: #fff;
  border: 1px solid #CFD8DC;
}
.ls-admin-secondary-chip--ok {
  color: #2E7D32;
  background: #E8F5E9;
  border-color: rgba(46, 125, 50, 0.3);
}
.ls-admin-secondary-chip--btn {
  font-family: inherit;
  cursor: pointer;
  color: #1565C0;
  background: #E3F2FD;
  border-color: rgba(25, 118, 210, 0.25);
}
.ls-admin-secondary-chip--btn:hover {
  background: #BBDEFB;
}
.ls-admin-main {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  gap: 8px;
}
.ls-admin-roster-panel {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.ls-admin-roster-card {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 0;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #CFD8DC;
  box-shadow: 0 2px 12px rgba(17, 24, 39, 0.07);
  overflow: hidden;
}
.ls-admin-roster-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 14px;
  padding: 10px 14px;
  border-bottom: 1px solid #ECEFF1;
  background: linear-gradient(180deg, #FAFBFC 0%, #fff 100%);
  flex-shrink: 0;
}
.ls-admin-roster-toolbar-left,
.ls-admin-roster-toolbar-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.ls-admin-roster-toolbar-right {
  flex: 1 1 240px;
  justify-content: flex-end;
}
.ls-admin-roster-title {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: #1A2332;
  white-space: nowrap;
}
.ls-admin-roster-title .ti {
  color: var(--pg);
  font-size: 17px;
}
.ls-admin-stat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.ls-admin-stat-chip {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: #546E7A;
  background: #ECEFF1;
}
.ls-admin-stat-chip--accent {
  color: #1565C0;
  background: #E3F2FD;
}
.ls-admin-stat-chip--warn {
  color: #C62828;
  background: #FFEBEE;
}
.ls-admin-filter-tabs {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  background: #ECEFF1;
  gap: 2px;
}
.ls-admin-filter-tab {
  min-height: 28px;
  padding: 0 11px;
  border: none;
  border-radius: 999px;
  background: transparent;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  color: #607D8B;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.ls-admin-filter-tab.is-active {
  background: #fff;
  color: #1A2332;
  box-shadow: 0 1px 4px rgba(17, 24, 39, 0.1);
}
.ls-admin-search {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  flex: 1 1 160px;
  max-width: 220px;
  padding: 0 10px;
  min-height: 32px;
  border-radius: 999px;
  border: 1px solid #CFD8DC;
  background: #fff;
}
.ls-admin-search .ti {
  font-size: 14px;
  color: #90A4AE;
  flex-shrink: 0;
}
.ls-admin-search-input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  color: #1A2332;
  outline: none;
}
.ls-admin-search-input::placeholder { color: #90A4AE; }
.ls-admin-roster-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.ls-admin-roster-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.ls-admin-roster-table thead {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #F4F6F8;
}
.ls-admin-roster-table th {
  padding: 7px 12px;
  text-align: left;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #546E7A;
  border-bottom: 1px solid #CFD8DC;
}
.ls-admin-roster-th-act,
.ls-admin-roster-td-act {
  width: 1%;
  text-align: right;
  white-space: nowrap;
}
.ls-admin-roster-table td {
  padding: 5px 12px;
  border-bottom: 1px solid #ECEFF1;
  vertical-align: middle;
}
.ls-admin-roster-row--tonight td {
  background: linear-gradient(90deg, rgba(227, 242, 253, 0.55) 0%, rgba(255, 255, 255, 0) 100%);
}
.ls-admin-roster-row--noshow td,
.ls-admin-roster-row--withdrawn td,
.ls-admin-roster-row--inactive td {
  background: rgba(255, 235, 238, 0.45);
}
.ls-admin-roster-td-name {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.ls-admin-roster-av {
  width: 26px;
  height: 26px;
  font-size: 9px;
  flex-shrink: 0;
}
.ls-admin-roster-name {
  font-size: 13px;
  font-weight: 700;
  color: #1A2332;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ls-admin-tonight-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 4px;
  border-radius: 50%;
  background: #42A5F5;
  box-shadow: 0 0 0 2px rgba(66, 165, 245, 0.25);
  vertical-align: middle;
}
.ls-admin-roster-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  background: #ECEFF1;
  color: #37474F;
  text-transform: capitalize;
}
.ls-admin-roster-badge--active { background: #E8F5E9; color: #2E7D32; }
.ls-admin-roster-badge--absent { background: #FFF8E1; color: #F57F17; }
.ls-admin-roster-badge--noshow,
.ls-admin-roster-badge--withdrawn,
.ls-admin-roster-badge--inactive { background: #FFEBEE; color: #C62828; }
.ls-admin-roster-hint {
  margin: 0 0 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: linear-gradient(135deg, #E3F2FD 0%, #E8F5E9 100%);
  border: 1px solid #BBDEFB;
  font-size: 12px;
  font-weight: 600;
  color: #37474F;
  line-height: 1.45;
}
.ls-admin-roster-hint .ti {
  color: #1565C0;
  margin-right: 6px;
  vertical-align: -2px;
}
.ls-admin-stat-chip--ready {
  background: #E8F5E9;
  color: #2E7D32;
}
.ls-admin-roster-row--absent td {
  background: rgba(255, 248, 225, 0.45);
}
.ls-admin-roster-td-ready {
  min-width: 168px;
  white-space: nowrap;
}
.ls-admin-ready-toggle {
  display: inline-flex;
  padding: 3px;
  gap: 3px;
  border-radius: 10px;
  background: #ECEFF1;
  border: 1px solid #CFD8DC;
}
.ls-admin-ready-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 76px;
  padding: 6px 10px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #546E7A;
  font-family: inherit;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.12s, color 0.12s, box-shadow 0.12s;
}
.ls-admin-ready-btn .ti { font-size: 14px; }
.ls-admin-ready-btn--ready.on {
  background: #fff;
  color: #2E7D32;
  box-shadow: 0 1px 3px rgba(46, 125, 50, 0.2);
}
.ls-admin-ready-btn--absent.on {
  background: #fff;
  color: #EF6C00;
  box-shadow: 0 1px 3px rgba(239, 108, 0, 0.18);
}
.ls-admin-ready-btn:hover:not(:disabled):not(.on) {
  background: rgba(255, 255, 255, 0.7);
  color: #37474F;
}
.ls-admin-ready-btn:disabled {
  opacity: 0.35;
  cursor: default;
}
.ls-admin-act-group {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.ls-admin-act-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: #546E7A;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.12s, color 0.12s, border-color 0.12s;
}
.ls-admin-act-icon .ti { font-size: 16px; }
.ls-admin-act-icon:hover:not(:disabled) {
  background: #E3F2FD;
  color: #1565C0;
  border-color: #BBDEFB;
}
.ls-admin-act-icon:disabled {
  opacity: 0.28;
  cursor: default;
}
.ls-admin-act-icon--danger:hover:not(:disabled) {
  background: #FFEBEE;
  color: #C62828;
  border-color: #FFCDD2;
}
.ls-admin-roster-empty td {
  padding: 24px 12px;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  color: #78909C;
  font-style: italic;
}
.ls-admin-settings {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 10px 14px;
  border-top: 1px solid #ECEFF1;
  background: #FAFBFC;
  flex-shrink: 0;
}
.ls-admin-setting-label {
  display: block;
  margin-bottom: 4px;
  font-size: 10px;
  font-weight: 600;
  color: #607D8B;
}
.ls-admin-select {
  width: 100%;
  min-height: 32px;
  font-size: 11px;
}
.ls-admin-dupr-slot:empty { display: none; }
.ls-admin-dupr-slot:not(:empty) {
  flex-shrink: 0;
  padding: 10px 14px;
  border-radius: 12px;
  background: #FFF8E1;
  border: 1px solid rgba(249, 168, 37, 0.35);
}
.ls-admin-card--dupr { padding: 0; border: none; box-shadow: none; background: transparent; }
.ls-admin-dupr-count {
  margin-left: auto;
  font-size: 10px;
  font-weight: 700;
  color: #E65100;
}
.ls-admin-dupr-list {
  list-style: none;
  margin: 0 0 6px;
  padding: 0;
  max-height: 100px;
  overflow-y: auto;
}
.ls-admin-dupr-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 4px 0;
  border-bottom: 1px solid rgba(249, 168, 37, 0.15);
  font-size: 11px;
}
.ls-admin-dupr-foot {
  margin: 0 0 8px;
  font-size: 10px;
  color: #78909C;
}
.ls-admin-dupr-match {
  color: var(--pn);
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
.ls-admin-dupr-score {
  font-weight: 700;
  color: #546E7A;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}
.ls-admin-dupr-empty { color: #78909C; font-style: italic; font-size: 11px; }
.ls-admin-card {
  margin-bottom: 0;
  padding: 14px 16px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #CFD8DC;
  box-shadow: 0 2px 8px rgba(17, 24, 39, 0.06);
}
.ls-admin-card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 800;
  color: #1A2332;
}
.ls-admin-card-title i { color: var(--pg); font-size: 18px; }
.ls-admin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 8px 14px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.ls-admin-btn--block { width: 100%; }
/* ── Live session Leaderboard tab (light) ── */
.ls-content-light.ls-leaderboard-screen {
  max-width: none;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.ls-leaderboard-screen--season {
  gap: 0;
  padding-top: 0;
}
.ls-leaderboard-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 0 10px;
  margin-bottom: 8px;
  border-bottom: 1px solid #E0E4E0;
}
.ls-leaderboard-hd-title {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  color: var(--pn);
  line-height: 1.2;
}
.ls-leaderboard-hd-meta {
  margin: 3px 0 0;
  font-size: 12px;
  font-weight: 500;
  color: #607D8B;
  line-height: 1.4;
}
.ls-leaderboard-hd-rank {
  margin: 4px 0 0;
  font-size: 12px;
  font-weight: 600;
  color: #37474F;
  line-height: 1.45;
}
.ls-leaderboard-hd-rank strong {
  font-weight: 800;
  color: var(--pn);
}
.ls-leaderboard-hd-live {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 6px 0 0;
  font-size: 12px;
  font-weight: 600;
  color: #2E7D32;
  line-height: 1.35;
}
.ls-leaderboard-hd-live .ti {
  font-size: 14px;
  color: #43A047;
}
.ls-leaderboard-hd-pill {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, #FFF8E1 0%, #FFECB3 100%);
  color: #BF360C;
  border: 1px solid rgba(230, 81, 0, 0.45);
  box-shadow: 0 2px 8px rgba(230, 81, 0, 0.18);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.ls-leaderboard-hd-pill .ti {
  font-size: 15px;
  color: #E65100;
}
.ls-leaderboard-screen--season > .standings-board {
  flex: 1 1 auto;
  min-height: 0;
}
.ls-leaderboard-toggle {
  display: inline-flex;
  gap: 4px;
  margin-bottom: 14px;
  padding: 4px;
  border-radius: 10px;
  background: #ECEFF1;
  border: 0.5px solid var(--pb);
}
.ls-leaderboard-toggle-btn {
  padding: 8px 16px;
  border: none;
  border-radius: 8px;
  background: transparent;
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #607D8B;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}
.ls-leaderboard-toggle-btn:hover {
  color: var(--pn);
  background: rgba(255, 255, 255, 0.65);
}
.ls-leaderboard-toggle-btn.active {
  background: #fff;
  color: var(--pn);
  box-shadow: 0 1px 4px rgba(17, 24, 39, 0.08);
}
.ls-leaderboard-note {
  margin: 0 0 12px;
  font-size: 12px;
  line-height: 1.5;
  color: #607D8B;
}
#live-session .ls-content-light .standings-board {
  background: #fff;
  border: 0.5px solid var(--pb);
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(17, 24, 39, 0.06);
  overflow: hidden;
}
#live-session .ls-content-light .standings-board-scroll {
  max-height: min(480px, calc(100vh - 280px));
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
#live-session .ls-content-light .standings-table--modern {
  width: 100%;
  table-layout: auto;
  border-collapse: separate;
  border-spacing: 0;
  font-variant-numeric: tabular-nums;
}
#live-session .ls-content-light .standings-table--modern thead {
  position: sticky;
  top: 0;
  z-index: 2;
}
#live-session .ls-content-light.ls-mlp-standings-screen .standings-table--modern.mlp-standings-table thead {
  position: relative;
  top: auto;
  z-index: auto;
}
#live-session .ls-content-light .standings-table th,
#live-session .ls-content-light .standings-table td {
  border-bottom: 1px solid #ECEFF1;
}
#live-session .ls-content-light .standings-table th {
  text-align: left;
  font-size: 15px;
  font-weight: 800;
  padding: 11px 12px;
  background: linear-gradient(180deg, #E8EFE8 0%, #DDE8DE 100%);
  color: #1a2332;
  letter-spacing: 0;
  text-transform: none;
  border-bottom: 2px solid #B0BEC5;
  line-height: 1.3;
}
#live-session .ls-content-light .standings-table td {
  padding: 10px 12px;
  font-size: 15px;
  color: #1a2332;
}
#live-session .ls-content-light .standings-table--modern tbody tr:nth-child(even) td {
  background: #F6F8F6;
}
#live-session .ls-content-light .standings-table--modern .st-th-rank,
#live-session .ls-content-light .standings-table--modern .st-th-player {
  font-size: 15px;
  text-transform: none;
  letter-spacing: 0;
  color: #1a2332;
}
#live-session .ls-content-light .standings-table--modern .st-th-metric--full {
  letter-spacing: 0;
  font-size: 15px;
  font-weight: 800;
  color: #1a2332;
  white-space: nowrap;
  line-height: 1.3;
  max-width: none;
}
#live-session .ls-content-light .standings-table--modern .st-th-num {
  font-size: 13px;
  font-weight: 800;
  color: #37474F;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-align: right;
}
#live-session .ls-content-light .standings-table--modern .st-th-num--full {
  text-transform: none;
  letter-spacing: 0;
  font-size: 15px;
  font-weight: 800;
  color: #1a2332;
  white-space: normal;
  line-height: 1.25;
  min-width: 5.5em;
}
#live-session .ls-content-light .standings-table--modern .st-th-num,
#live-session .ls-content-light .standings-table--modern .st-th-metric {
  text-align: right;
}
/* MLP standings — override live-session left/right defaults (headers + values) */
#live-session .ls-content-light .standings-table.mlp-standings-table th,
#live-session .ls-content-light .standings-table.mlp-standings-table td,
#live-session .ls-content-light.ls-mlp-screen .standings-table.mlp-standings-table th,
#live-session .ls-content-light.ls-mlp-screen .standings-table.mlp-standings-table td {
  text-align: center;
}
#live-session .ls-content-light .standings-table--modern.mlp-standings-table .st-th-rank,
#live-session .ls-content-light .standings-table--modern.mlp-standings-table .st-th-player,
#live-session .ls-content-light .standings-table--modern.mlp-standings-table .st-th-metric,
#live-session .ls-content-light .standings-table--modern.mlp-standings-table .st-th-metric--full,
#live-session .ls-content-light .standings-table--modern.mlp-standings-table .st-th-num,
#live-session .ls-content-light .standings-table--modern.mlp-standings-table .st-th-num--full {
  text-align: center;
}
#live-session .ls-content-light .standings-table--modern.mlp-standings-table .st-col-rank,
#live-session .ls-content-light .standings-table--modern.mlp-standings-table .st-col-player,
#live-session .ls-content-light .standings-table--modern.mlp-standings-table .st-col-metric,
#live-session .ls-content-light .standings-table--modern.mlp-standings-table .st-col-num {
  text-align: center;
}
#live-session .ls-content-light .standings-table--modern.mlp-standings-table .st-metric-cell {
  justify-content: center;
}
#live-session .ls-content-light .standings-table--modern.mlp-standings-table .st-metric-val,
#live-session .ls-content-light .standings-table--modern.mlp-standings-table .st-num,
#live-session .ls-content-light .standings-table--modern.mlp-standings-table .st-diff {
  text-align: center;
}
#live-session .ls-content-light .standings-table--modern.mlp-standings-table .st-player {
  justify-content: center;
}
#live-session .ls-content-light .standings-table.mlp-standings-table .st-th-metric-inner {
  justify-content: center;
  width: 100%;
}
#live-session .ls-content-light .standings-table--modern:not(.mlp-standings-table) tbody tr:hover td {
  background: #F9FBF9;
}
#live-session .ls-content-light .standings-table--modern.mlp-standings-table tbody tr:nth-child(odd) td {
  background: #FFFFFF;
}
#live-session .ls-content-light .standings-table--modern.mlp-standings-table tbody tr:nth-child(even) td {
  background: var(--pgl, #EFF6FF);
}
#live-session .ls-content-light .standings-table--modern.mlp-standings-table tbody tr:nth-child(odd):hover td {
  background: #FFFFFF;
}
#live-session .ls-content-light .standings-table--modern.mlp-standings-table tbody tr:nth-child(even):hover td {
  background: var(--pgl, #EFF6FF);
}
#live-session .ls-content-light .standings-table--modern.mlp-standings-table tbody tr.st-row--podium:nth-child(odd) td,
#live-session .ls-content-light .standings-table--modern.mlp-standings-table tbody tr.st-row--podium:nth-child(odd):hover td {
  background: #FFFFFF;
}
#live-session .ls-content-light .standings-table--modern.mlp-standings-table tbody tr.st-row--podium:nth-child(even) td,
#live-session .ls-content-light .standings-table--modern.mlp-standings-table tbody tr.st-row--podium:nth-child(even):hover td {
  background: var(--pgl, #EFF6FF);
}
#live-session .ls-content-light .standings-table--modern .st-row--idle td {
  opacity: 0.55;
}
#live-session .ls-content-light .st-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 6px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
}
#live-session .ls-content-light .st-rank.gold {
  background: linear-gradient(145deg, #FFE082, #F9A825);
  color: #5D4037;
}
#live-session .ls-content-light .st-rank.silver {
  background: linear-gradient(145deg, #ECEFF1, #B0BEC5);
  color: #37474F;
}
#live-session .ls-content-light .st-rank.bronze {
  background: linear-gradient(145deg, #FFCCBC, #A1887F);
  color: #4E342E;
}
#live-session .ls-content-light .st-rank.other {
  background: #ECEFF1;
  color: #546E7A;
  font-weight: 700;
}
#live-session .ls-content-light .st-rank.rank4 {
  background: linear-gradient(145deg, #E3F2FD, #BBDEFB);
  color: #0D47A1;
}
#live-session .ls-content-light .st-rank.rank5 {
  background: linear-gradient(145deg, #F3E5F5, #E1BEE7);
  color: #4A148C;
}
#live-session .ls-content-light .st-rank-medal {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 16px;
  line-height: 1;
}
#live-session .ls-content-light .st-rank-medal.gold {
  background: linear-gradient(145deg, #FFF3E0, #FFE082);
  color: #E65100;
  box-shadow: 0 1px 4px rgba(230, 81, 0, 0.2);
}
#live-session .ls-content-light .st-rank-medal.silver {
  background: linear-gradient(145deg, #FAFAFA, #ECEFF1);
  color: #546E7A;
  box-shadow: 0 1px 3px rgba(84, 110, 122, 0.15);
}
#live-session .ls-content-light .st-rank-medal.bronze {
  background: linear-gradient(145deg, #FFF8E1, #FFCCBC);
  color: #8D6E63;
  box-shadow: 0 1px 3px rgba(141, 110, 99, 0.15);
}
#live-session .ls-content-light .st-rank-medal.rank4 {
  background: linear-gradient(145deg, #E3F2FD, #BBDEFB);
  color: #1565C0;
  box-shadow: 0 1px 3px rgba(21, 101, 192, 0.15);
}
#live-session .ls-content-light .st-rank-medal.rank5 {
  background: linear-gradient(145deg, #F3E5F5, #E1BEE7);
  color: #6A1B9A;
  box-shadow: 0 1px 3px rgba(106, 27, 154, 0.15);
}
#live-session .ls-content-light .st-rank-medal-slot {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: inline-block;
}
#live-session .ls-content-light .mlp-individual-standings .st-entity-with-rank,
#live-session .ls-content-light .mlp-individual-standings .st-player,
#live-session .ls-content-light .mlp-individual-standings .mlp-standings-player-link.st-player,
#live-session .ls-content-light .mlp-team-standings .st-entity-with-rank,
#live-session .ls-content-light .mlp-line-standings .st-entity-with-rank {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
#live-session .ls-content-light .mlp-individual-standings .st-player-identity {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
#live-session .ls-content-light .mlp-team-standings .st-squad-cell,
#live-session .ls-content-light .mlp-line-standings .st-line-team-name {
  min-width: 0;
}
#live-session .ls-content-light .mlp-line-standings .st-line-team-name {
  font-size: 14px;
  font-weight: 700;
  color: #1a2332;
}
#live-session .ls-content-light .mlp-individual-standings .st-col-rank,
#live-session .ls-content-light .mlp-team-standings .st-col-rank,
#live-session .ls-content-light .mlp-line-standings .st-col-rank {
  width: 44px;
  text-align: center;
}
#live-session .ls-content-light .st-av {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
#live-session .ls-content-light .st-player-name {
  font-size: 14px;
  font-weight: 700;
  color: #1a2332;
}
#live-session .ls-content-light .st-num--w { color: var(--pg); font-weight: 700; }
#live-session .ls-content-light .st-num--l { color: #EF5350; font-weight: 700; }
#live-session .ls-content-light .fairness-panel {
  margin-top: 14px;
  padding: 14px 16px;
  background: #fff;
  border-radius: 12px;
  border: 0.5px solid var(--pb);
  box-shadow: 0 1px 3px rgba(17, 24, 39, 0.06);
}
#live-session .ls-content-light .fairness-stats {
  color: #455A64;
  font-size: 12px;
}
#live-session .ls-content-light .fairness-alerts {
  color: #546E7A;
  font-size: 12px;
}
#live-session .ls-content-light .fairness-alerts .ti {
  color: #F9A825;
}

@media (min-width: 1024px) {
  .ls-leaderboard-screen > .standings-board {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }
  #live-session .ls-content-light.ls-leaderboard-screen .standings-board-scroll {
    max-height: calc(100vh - 210px);
    flex: 1 1 auto;
  }
  #live-session .ls-content-light.ls-leaderboard-screen--season .standings-board-scroll {
    max-height: calc(100vh - 150px);
  }
  #live-session .ls-content-light.ls-admin-screen {
    max-height: calc(100vh - 118px);
  }
  #live-session .ls-content-light.ls-admin-screen .ls-admin-roster-scroll {
    max-height: none;
  }
}

/* Opt-in review from live session */
.optin-review-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #E3F2FD;
  border: 0.5px solid rgba(25, 118, 210, 0.25);
  font-size: 12px;
  font-weight: 600;
  color: #1565C0;
}
.optin-review-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}
.optin-review-banner-text {
  flex: 1 1 220px;
  font-size: 12px;
  line-height: 1.5;
  color: #455A64;
}
.optin-review-banner-text strong { color: var(--pn); }
.optin-footer--review {
  flex-direction: column;
  align-items: stretch;
}

@media (min-width: 641px) and (max-width: 1023px) {
  .ls-admin-command-actions {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 2px;
    scrollbar-width: thin;
  }
}

@media (max-width: 640px) {
  .sh-pools-grid { grid-template-columns: 1fr; }
  .sh-gameday-bar { flex-direction: column; }
  .sh-gameday-btn { width: 100%; justify-content: center; }
  .ls-admin-command-bar { flex-direction: column; align-items: stretch; padding: 12px 14px; }
  .ls-admin-command-actions { justify-content: flex-start; flex: none; }
  .ls-admin-cmd-btn { flex: 1 1 calc(50% - 4px); min-width: 0; }
  .ls-admin-cmd-btn--ghost .ls-admin-cmd-label--wide { display: none; }
  .ls-admin-roster-toolbar { flex-direction: column; align-items: stretch; }
  .ls-admin-roster-toolbar-right { flex: none; justify-content: stretch; }
  .ls-admin-search { max-width: none; flex: 1 1 100%; }
  .ls-admin-filter-tabs { width: 100%; justify-content: stretch; }
  .ls-admin-filter-tab { flex: 1; text-align: center; }
  .ls-admin-ready-toggle { width: 100%; }
  .ls-admin-ready-btn { flex: 1; min-width: 0; padding: 8px 6px; }
  .ls-admin-act-icon { width: 36px; height: 36px; }
  .ls-light-top-band { gap: 8px; }
  .ls-content-light .er-ranking-pipeline-track {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  #live-session .ls-content-light .standings-board-scroll {
    max-height: min(380px, calc(100vh - 260px));
  }
  #live-session .ls-content-light .standings-table--modern .st-th-metric--full {
    max-width: 96px;
    font-size: 11px;
  }
}

/* Week → date → time bar (pool play, leaderboard, admin) */
.ls-week-session-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 10px 14px;
  border-radius: 10px;
  background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
  border: 1px solid rgba(37, 99, 235, 0.18);
  color: #1E3A8A;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.4;
}
.ls-week-session-bar .ti {
  font-size: 17px;
  flex-shrink: 0;
  opacity: 0.9;
}
.ls-week-session-bar-text {
  flex: 1;
  min-width: 0;
}

/* Restart session confirmation (Admin) */
.ls-restart-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1400;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(4px);
}
.ls-restart-overlay.open {
  display: flex;
}
.ls-restart-modal {
  position: relative;
  width: min(480px, 100%);
  max-height: min(90vh, 640px);
  overflow-y: auto;
  padding: 28px 28px 24px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
  color: var(--ps, #263238);
}
.ls-restart-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 10px;
  background: #F1F5F9;
  color: #546E7A;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.ls-restart-close:hover {
  background: #E2E8F0;
  color: var(--ps, #263238);
}
.ls-restart-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
  color: #B45309;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 16px;
}
.ls-restart-title {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #0F172A;
}
.ls-restart-lead {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.55;
  color: #475569;
}
.ls-restart-list {
  margin: 0 0 16px;
  padding: 0 0 0 20px;
  font-size: 13px;
  line-height: 1.55;
  color: #334155;
}
.ls-restart-list li {
  margin-bottom: 10px;
}
.ls-restart-list li:last-child {
  margin-bottom: 0;
}
.ls-restart-stats {
  margin: 0 0 20px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #F0FDF4;
  border: 1px solid rgba(76, 175, 80, 0.25);
  font-size: 13px;
  font-weight: 500;
  color: #166534;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ls-restart-stats:empty {
  display: none;
}
.ls-restart-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}
.ls-restart-cancel {
  min-width: 100px;
}
.ls-restart-confirm {
  min-width: 160px;
  font-weight: 600;
}

@media print {
  .sidebar, .topbar, .live-session .ls-close { display: none !important; }
  .live-session { position: static; background: white; color: black; }
  .match-card { break-inside: avoid; border: 1px solid #ccc; }
}
