/* ============================================================
   VARIABLES
   ============================================================ */

:root {
  --bg: #090b0f;
  --panel: #11151b;
  --panel2: #171c23;
  --line: #2a3039;
  --text: #f4f6f8;
  --muted: #949ca7;
  --accent: #ff6a00;
  --accent2: #ff9b54;
  --green: #39d98a;
  --red: #ff5c6c;
  --shadow: 0 24px 70px rgba(0,0,0,.28);
}


/* ============================================================
   GENERAL
   ============================================================ */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;

  background:
    radial-gradient(
      circle at 75% -10%,
      #202632 0,
      var(--bg) 35%
    );

  color: var(--text);

  font-family:
    Inter,
    Arial,
    sans-serif;
}

button,
select {
  font: inherit;
}

.hidden {
  display: none !important;
}


/* ============================================================
   HEADER
   ============================================================ */

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;

  min-height: 122px;

  padding: 7px 5vw;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 34px;

  background: rgba(9,11,15,.96);

  border-bottom:
    1px solid rgba(255,255,255,.08);

  backdrop-filter: blur(18px);
}


/* ============================================================
   JBM SPORTS BRAND
   ============================================================ */

.brand-wrap {
  display: flex;
  align-items: center;

  gap: 25px;

  min-width: 0;

  cursor: pointer;
}

.brand-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;

  flex: 0 0 auto;
}

.jbm-logo {
  display: block;

  width: auto;
  height: 112px;

  max-width: 315px;

  object-fit: contain;

  transition: opacity .15s ease;
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;

  padding-left: 25px;

  border-left:
    1px solid rgba(255,255,255,.22);
}

.brand-title {
  color: var(--accent);

  font-size: 29px;
  line-height: 1;

  font-weight: 950;

  letter-spacing: .055em;

  white-space: nowrap;
}

.brand-tagline {
  margin-top: 10px;

  color: #d0d5dc;

  font-size: 17px;
  line-height: 1.2;

  font-weight: 700;

  letter-spacing: .015em;

  white-space: nowrap;
}


/* ============================================================
   NAVIGATION
   ============================================================ */

.nav {
  display: flex;
  align-items: center;

  gap: 8px;
}

.nav-link {
  border: 0;

  color: #abb2bc;

  background: transparent;

  padding: 13px 15px;

  border-radius: 8px;

  cursor: pointer;

  font-size: 13px;

  font-weight: 850;

  letter-spacing: .08em;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;

  background: #1b2028;
}


/* ============================================================
   MAIN
   ============================================================ */

main {
  width:
    min(
      1500px,
      94vw
    );

  margin: 0 auto;
}


/* ============================================================
   HERO
   ============================================================ */

.hero {
  min-height: 390px;

  padding: 82px 0 54px;

  display: grid;

  grid-template-columns:
    1.5fr .7fr;

  gap: 60px;

  align-items: center;
}

.eyebrow {
  color: var(--accent);

  font-size: 12px;

  letter-spacing: .2em;

  font-weight: 900;
}

h1 {
  margin: 12px 0 18px;

  font-size:
    clamp(
      46px,
      7vw,
      82px
    );

  line-height: .92;

  letter-spacing: -.055em;

  text-transform: uppercase;
}

h1 span {
  color: transparent;

  -webkit-text-stroke:
    1px #929aa5;
}

.hero p {
  max-width: 670px;

  color: #adb4bd;

  line-height: 1.7;

  font-size: 17px;
}


/* ============================================================
   LEAGUE SELECTOR
   ============================================================ */

.league-selector-card {
  background:
    linear-gradient(
      160deg,
      #1b2028,
      #0e1116
    );

  border:
    1px solid #303641;

  border-radius: 18px;

  padding: 24px;

  box-shadow: var(--shadow);
}

.league-selector-card label {
  display: block;

  color: var(--muted);

  font-size: 11px;

  letter-spacing: .18em;

  font-weight: 900;

  margin-bottom: 10px;
}

select {
  width: 100%;

  padding: 15px 14px;

  background: #080a0d;

  color: #ffffff;

  border:
    1px solid #343b45;

  border-radius: 10px;

  font-weight: 800;
}

.league-meta {
  margin-top: 14px;

  color: var(--muted);

  font-size: 13px;

  line-height: 1.6;
}


/* ============================================================
   STATUS
   ============================================================ */

.status-card {
  margin-bottom: 30px;

  padding: 20px;

  border:
    1px solid #29303a;

  border-radius: 14px;

  background: #11151b;

  color: #c7cbd1;
}

.status-card.error {
  border-color: #65323a;

  color: #ff8b96;
}


/* ============================================================
   SECTION HEADINGS
   ============================================================ */

.section-head {
  margin: 31px 0 19px;

  display: flex;

  align-items: end;

  justify-content: space-between;
}

.section-head h2 {
  margin: 5px 0 0;

  font-size: 31px;

  letter-spacing: -.03em;
}

.section-head.compact h2 {
  font-size: 25px;
}

.kicker {
  color: var(--accent);

  font-size: 14px;

  letter-spacing: .17em;

  font-weight: 950;
}


/* ============================================================
   GAME GRID
   ============================================================ */

.game-grid {
  display: grid;

  grid-template-columns:
    repeat(
      2,
      minmax(0,1fr)
    );

  gap: 16px;
}

.live-card {
  position: relative;

  overflow: hidden;

  padding: 22px;

  border:
    1px solid #343b45;

  border-radius: 18px;

  background:
    linear-gradient(
      140deg,
      #1a2028,
      #0d1015
    );

  box-shadow: var(--shadow);

  cursor: pointer;
}

.live-card:before {
  content: '';

  position: absolute;

  inset: 0 auto 0 0;

  width: 4px;

  background: var(--red);
}

.live-badge {
  display: inline-flex;

  align-items: center;

  gap: 7px;

  padding: 6px 9px;

  border-radius: 999px;

  background: #3a1820;

  color: #ff8290;

  font-size: 11px;

  font-weight: 900;

  letter-spacing: .12em;
}

.live-dot {
  width: 7px;

  height: 7px;

  border-radius: 50%;

  background: #ff5c6c;

  box-shadow:
    0 0 12px #ff5c6c;
}

.score-row {
  display: grid;

  grid-template-columns:
    1fr auto;

  gap: 10px;

  margin-top: 17px;

  align-items: center;

  font-size: 22px;

  font-weight: 900;
}

.score {
  font-size: 34px;

  letter-spacing: -.04em;
}

.game-sub {
  margin-top: 14px;

  display: flex;

  justify-content: space-between;

  gap: 10px;

  color: var(--muted);

  font-size: 13px;
}


/* ============================================================
   DASHBOARD
   ============================================================ */

.dashboard-grid {
  margin-top: 42px;

  display: grid;

  grid-template-columns:
    1fr 1fr;

  gap: 28px;
}

.dashboard-grid.lower {
  margin-bottom: 50px;

  align-items: start;
}

.stack {
  display: flex;

  flex-direction: column;

  gap: 11px;
}

.stack.wide {
  margin-bottom: 50px;
}


/* ============================================================
   GAME ROWS
   ============================================================ */

.game-row {
  display: grid;

  grid-template-columns:
    125px 1fr auto;

  gap: 15px;

  align-items: center;

  padding: 18px 17px;

  background: var(--panel);

  border:
    1px solid #252b33;

  border-radius: 12px;

  cursor: pointer;

  transition: .18s ease;
}

.game-row:hover {
  transform:
    translateY(-1px);

  border-color: #444c58;
}

.game-date {
  color: #b3bac4;

  font-size: 14px;

  line-height: 1.5;

  font-weight: 700;
}

.game-teams {
  font-size: 15px;

  font-weight: 900;

  line-height: 1.45;
}

.game-result {
  font-weight: 950;

  font-size: 20px;
}

.status-pill {
  display: inline-block;

  margin-top: 5px;

  color: #8f98a4;

  font-size: 11px;

  letter-spacing: .08em;
}

.live-text {
  color: var(--red);

  font-weight: 900;
}


/* ============================================================
   TABLES
   ============================================================ */

.table-card {
  overflow: hidden;

  background: var(--panel);

  border:
    1px solid #252b33;

  border-radius: 14px;
}

table {
  width: 100%;

  border-collapse: collapse;
}

th,
td {
  padding: 14px 12px;

  border-bottom:
    1px solid #232932;

  text-align: right;

  font-size: 13px;
}

th {
  color: #8f98a4;

  font-size: 10px;

  letter-spacing: .12em;
}

th:nth-child(2),
td:nth-child(2) {
  text-align: left;
}

tr:last-child td {
  border-bottom: 0;
}

.rank {
  width: 40px;

  color: #7d8793;
}

.team-cell {
  color: #ffffff;

  font-weight: 900;
}


/* ============================================================
   LEADERS
   ============================================================ */

.leaders-grid {
  display: grid;

  grid-template-columns:
    repeat(
      2,
      minmax(0,1fr)
    );

  gap: 10px;
}

.leaders-grid.full {
  grid-template-columns:
    repeat(
      3,
      minmax(0,1fr)
    );

  margin-bottom: 50px;
}

.leader-card {
  padding: 17px;

  background: var(--panel);

  border:
    1px solid #252b33;

  border-radius: 14px;
}

.leader-title {
  margin-bottom: 11px;

  color: var(--accent);

  font-size: 11px;

  font-weight: 900;

  letter-spacing: .15em;
}

.leader-row {
  display: grid;

  grid-template-columns:
    24px 1fr auto;

  gap: 8px;

  align-items: center;

  padding: 8px 0;

  border-top:
    1px solid #222831;
}

.leader-row:first-of-type {
  border-top: 0;
}

.leader-pos {
  color: #747d88;

  font-size: 12px;
}

.leader-name {
  min-width: 0;

  overflow: hidden;

  white-space: nowrap;

  text-overflow: ellipsis;

  font-size: 13px;

  font-weight: 850;
}

.leader-team {
  margin-top: 2px;

  color: #737d89;

  font-size: 10px;
}

.leader-value {
  font-size: 19px;

  font-weight: 950;
}

.empty {
  padding: 22px;

  border:
    1px dashed #343b45;

  border-radius: 14px;

  color: #8f98a4;

  text-align: center;

  font-size: 15px;
}


/* ============================================================
   BACK BUTTON
   ============================================================ */

.back-button {
  margin: 34px 0 22px;

  padding: 12px 16px;

  border:
    1px solid #343b45;

  border-radius: 10px;

  background: #11151b;

  color: #dfe3e8;

  cursor: pointer;

  font-size: 12px;

  font-weight: 900;

  letter-spacing: .08em;
}

.back-button:hover {
  border-color: #596270;

  background: #181d24;
}


/* ============================================================
   CURRENT LEAGUE
   ============================================================ */

.league-brand-container {
  margin-top: 8px;
}

.league-brand-banner {
  padding: 24px 26px;

  display: flex;

  align-items: center;

  gap: 22px;

  background:
    linear-gradient(
      135deg,
      #171c23,
      #0d1015
    );

  border:
    1px solid #303641;

  border-radius: 18px;

  box-shadow: var(--shadow);
}

.league-brand-logo-wrap {
  width: 112px;
  height: 112px;

  flex:
    0 0 112px;

  display: flex;

  align-items: center;
  justify-content: center;

  padding: 7px;

  overflow: hidden;

  border-radius: 16px;

  background: transparent;
}

.league-brand-logo {
  width: 100%;
  height: 100%;

  object-fit: contain;
}

.league-brand-logo-wrap.logo-error {
  display: none;
}

.league-brand-copy {
  min-width: 0;
}

.league-brand-eyebrow {
  margin-bottom: 7px;

  color: var(--accent);

  font-size: 11px;

  font-weight: 950;

  letter-spacing: .18em;
}

.league-brand-name {
  margin: 0;

  color: #ffffff;

  font-size:
    clamp(
      31px,
      4vw,
      46px
    );

  line-height: 1;

  font-weight: 1000;

  letter-spacing: -.035em;

  text-transform: uppercase;
}

.league-brand-meta {
  margin-top: 10px;

  color: #aab2bd;

  font-size: 14px;
}


/* ============================================================
   IMPORTANT:
   REPLACE LEAGUE "POWERED BY JBM SPORTS"
   ============================================================ */

.league-powered-by {
  margin-top: 10px;

  color: #747e8a;

  font-size: 0;

  font-weight: 900;

  letter-spacing: .14em;

  text-transform: uppercase;
}

.league-powered-by::after {
  content:
    "POWERED BY JBM SPORTS MANAGEMENT AND EVENTS";

  color: #747e8a;

  font-size: 9px;

  font-weight: 900;

  letter-spacing: .14em;

  text-transform: uppercase;
}


/* ============================================================
   GAME LEAGUE BRAND
   ============================================================ */

.game-league-brand {
  margin-top: 8px;

  padding: 20px 22px;

  display: flex;

  align-items: center;

  gap: 15px;

  background:
    linear-gradient(
      120deg,
      #171c23,
      #101318
    );

  border:
    1px solid #303641;

  border-radius: 14px;
}

.game-league-logo {
  width: 65px;

  height: 65px;

  padding: 5px;

  flex:
    0 0 65px;

  object-fit: contain;

  background: transparent;

  border-radius: 11px;
}

.game-league-name {
  color: #ffffff;

  font-size:
    clamp(
      25px,
      3vw,
      36px
    );

  line-height: 1.05;

  font-weight: 1000;

  letter-spacing: -.025em;

  text-transform: uppercase;
}

.game-league-meta {
  margin-top: 6px;

  color: #9da6b1;

  font-size: 13px;
}


/* ============================================================
   IMPORTANT:
   REPLACE GAME "POWERED BY JBM SPORTS"
   ============================================================ */

.game-powered-by {
  margin-top: 7px;

  color: #747e8a;

  font-size: 0;

  font-weight: 900;

  letter-spacing: .1em;

  text-transform: uppercase;
}

.game-powered-by::after {
  content:
    "POWERED BY JBM SPORTS MANAGEMENT AND EVENTS";

  color: #747e8a;

  font-size: 9px;

  font-weight: 900;

  letter-spacing: .1em;

  text-transform: uppercase;
}


/* ============================================================
   GAME HERO
   ============================================================ */

.game-hero-card {
  margin-top: 10px;

  padding: 27px 28px;

  border:
    1px solid #343b45;

  border-radius: 20px;

  background:
    linear-gradient(
      145deg,
      #1a2028,
      #0b0e12
    );

  box-shadow: var(--shadow);
}

.game-topline {
  display: flex;

  justify-content: space-between;

  align-items: center;

  gap: 16px;

  color: #c4cad2;

  font-size: 15px;

  line-height: 1.35;

  font-weight: 850;

  letter-spacing: .025em;

  text-transform: uppercase;
}

.game-status {
  color: #d5d9df;

  font-size: 14px;

  font-weight: 950;

  letter-spacing: .10em;
}

.game-status.is-live {
  color: var(--red);
}

.game-meta-line {
  margin-top: 8px;

  color: #aab2bd;

  font-size: 15px;

  line-height: 1.4;

  font-weight: 750;
}

.game-id-line {
  margin-top: 8px;

  color: #aab2bd;

  font-size: 14px;

  font-weight: 700;
}


/* ============================================================
   BIG SCOREBOARD
   ============================================================ */

.big-scoreboard {
  display: grid;

  grid-template-columns:
    1fr 150px 1fr;

  align-items: center;

  gap: 28px;

  padding: 37px 0 12px;
}

.big-team.right {
  text-align: right;
}

.big-team-name {
  font-size:
    clamp(
      26px,
      3vw,
      35px
    );

  font-weight: 950;

  text-transform: uppercase;

  letter-spacing: -.03em;
}

.big-score {
  margin-top: 5px;

  font-size:
    clamp(
      72px,
      9vw,
      102px
    );

  line-height: .92;

  font-weight: 1000;

  letter-spacing: -.07em;
}

.score-center {
  text-align: center;

  color: var(--accent);

  font-size: 27px;

  line-height: 1;

  font-weight: 1000;

  letter-spacing: .09em;
}

.score-center > div {
  padding: 12px 0;

  border-top:
    1px solid rgba(255,106,0,.75);

  border-bottom:
    1px solid rgba(255,106,0,.75);
}

.score-center span {
  display: block;

  margin-top: 10px;

  color: #727b87;

  font-size: 9px;

  letter-spacing: .13em;
}


/* ============================================================
   GAME PANELS
   ============================================================ */

.game-panel {
  margin-top: 18px;

  overflow: hidden;

  background: var(--panel);

  border:
    1px solid #252b33;

  border-radius: 16px;
}

.panel-title {
  padding: 15px 16px;

  border-bottom:
    1px solid #252b33;

  color: var(--accent);

  font-size: 12px;

  font-weight: 950;

  letter-spacing: .14em;
}

.table-scroll {
  overflow-x: auto;
}

.quarter-table th:first-child,
.quarter-table td:first-child,
.boxscore-table th:nth-child(2),
.boxscore-table td:nth-child(2) {
  text-align: left;
}


/* ============================================================
   BOX SCORE
   ============================================================ */

.boxscore-grid {
  display: grid;

  grid-template-columns:
    1fr 1fr;

  gap: 18px;

  margin-bottom: 22px;
}

.boxscore-table {
  min-width: 820px;
}

.boxscore-table th:first-child,
.boxscore-table td:first-child {
  width: 42px;

  text-align: center;
}

.player-cell {
  color: #f3f5f7;

  font-weight: 850;
}

.stat-strong {
  color: #ffffff;

  font-weight: 950;
}

.totals-row td {
  border-top:
    2px solid #343b45;

  color: #dfe3e8;

  font-weight: 950;
}

.team-boxscore-name {
  padding: 16px 17px;

  border-bottom:
    1px solid #252b33;

  color: #ffffff;

  font-size: 24px;

  font-weight: 1000;

  letter-spacing: -.02em;

  text-transform: uppercase;
}


/* ============================================================
   BEST PLAYER
   ============================================================ */

.best-player-card {
  margin-top: 22px;

  margin-bottom: 50px;

  padding: 22px;

  background:
    linear-gradient(
      120deg,
      rgba(255,106,0,.10),
      #171c23 38%,
      #101318
    );

  border:
    1px solid #303641;

  border-radius: 17px;

  box-shadow: var(--shadow);
}

.best-player-kicker {
  color: var(--accent);

  font-size: 11px;

  font-weight: 950;

  letter-spacing: .17em;
}

.best-player-main {
  margin-top: 12px;

  display: flex;

  align-items: flex-end;

  justify-content: space-between;

  gap: 24px;
}

.best-player-name {
  color: #ffffff;

  font-size:
    clamp(
      22px,
      3vw,
      32px
    );

  font-weight: 1000;

  letter-spacing: -.025em;
}

.best-player-team {
  margin-top: 4px;

  color: var(--muted);

  font-size: 12px;
}

.best-player-impact {
  text-align: right;
}

.best-player-impact span {
  display: block;

  color: #747e8a;

  font-size: 9px;

  font-weight: 900;

  letter-spacing: .13em;
}

.best-player-impact strong {
  display: block;

  margin-top: 3px;

  color: #ffffff;

  font-size: 29px;

  font-weight: 1000;
}

.best-player-stats {
  margin-top: 20px;

  padding-top: 18px;

  display: grid;

  grid-template-columns:
    repeat(
      5,
      1fr
    );

  border-top:
    1px solid #2a3039;
}

.best-player-stat {
  text-align: center;

  border-right:
    1px solid #2a3039;
}

.best-player-stat:last-child {
  border-right: 0;
}

.best-player-stat strong {
  display: block;

  color: #ffffff;

  font-size: 22px;

  font-weight: 1000;
}

.best-player-stat span {
  display: block;

  margin-top: 3px;

  color: #7d8793;

  font-size: 9px;

  font-weight: 900;

  letter-spacing: .08em;
}


/* ============================================================
   FOOTER
   ============================================================ */

footer {
  margin-top: 60px;

  padding: 28px 5vw;

  display: flex;

  justify-content: space-between;

  align-items: center;

  gap: 20px;

  border-top:
    1px solid #20252d;

  color: #69727e;

  font-size: 10px;

  letter-spacing: .12em;
}

.footer-brand {
  color: var(--accent);

  font-weight: 900;
}

footer span {
  color: var(--accent);
}


/* ============================================================
   TABLET
   ============================================================ */

@media(max-width:1000px) {

  .topbar {
    min-height: 105px;
  }

  .jbm-logo {
    height: 94px;

    max-width: 260px;
  }

  .brand-text {
    padding-left: 18px;
  }

  .brand-title {
    font-size: 23px;
  }

  .brand-tagline {
    font-size: 14px;
  }

  .game-topline {
    font-size: 14px;
  }

  .game-meta-line {
    font-size: 14px;
  }

}


/* ============================================================
   SMALL TABLET
   ============================================================ */

@media(max-width:800px) {

  .topbar {
    flex-direction: column;

    align-items: stretch;

    gap: 10px;

    padding-top: 8px;
    padding-bottom: 8px;
  }

  .brand-wrap {
    width: 100%;
  }

  .nav {
    width: 100%;

    overflow-x: auto;
  }

  .nav-link {
    flex:
      0 0 auto;

    padding: 9px 11px;
  }

  .hero {
    grid-template-columns:
      1fr;

    gap: 24px;

    padding-top: 50px;
  }

  .game-grid,
  .dashboard-grid,
  .leaders-grid.full {
    grid-template-columns:
      1fr;
  }

  .leaders-grid {
    grid-template-columns:
      1fr 1fr;
  }

  .game-row {
    grid-template-columns:
      110px 1fr auto;
  }

  .boxscore-grid {
    grid-template-columns:
      1fr;
  }

  .big-scoreboard {
    grid-template-columns:
      1fr 105px 1fr;

    gap: 12px;
  }

  footer {
    flex-direction: column;

    align-items: flex-start;
  }

}


/* ============================================================
   MOBILE
   ============================================================ */

@media(max-width:520px) {

  main {
    width: 94vw;
  }

  .topbar {
    min-height: auto;
  }

  .brand-wrap {
    gap: 12px;
  }

  .jbm-logo {
    height: 76px;

    max-width: 180px;
  }

  .brand-text {
    padding-left: 12px;
  }

  .brand-title {
    font-size: 18px;

    letter-spacing: .025em;
  }

  .brand-tagline {
    margin-top: 5px;

    font-size: 11px;

    line-height: 1.25;

    letter-spacing: 0;

    white-space: normal;
  }

  .hero {
    padding-top: 38px;
  }

  .league-brand-name {
    font-size: 26px;

    line-height: 1.05;
  }

  .game-league-name {
    font-size: 24px;

    line-height: 1.05;
  }

  .kicker {
    font-size: 13px;
  }

  .section-head.compact h2 {
    font-size: 23px;
  }

  .game-date {
    font-size: 13px;

    font-weight: 750;
  }

  .game-row {
    grid-template-columns:
      1fr auto;

    padding: 16px;
  }

  .game-date {
    grid-column:
      1 / -1;
  }

  .game-teams {
    font-size: 14px;
  }

  .game-hero-card {
    padding: 19px;
  }

  .game-topline {
    font-size: 13px;
  }

  .game-status {
    font-size: 12px;
  }

  .game-meta-line {
    margin-top: 9px;

    font-size: 14px;

    line-height: 1.45;

    font-weight: 800;
  }

  .big-scoreboard {
    grid-template-columns:
      1fr 74px 1fr;

    gap: 8px;

    padding-top: 25px;
  }

  .big-team-name {
    font-size: 18px;
  }

  .big-score {
    font-size: 62px;
  }

  .score-center {
    font-size: 19px;

    letter-spacing: .04em;
  }

  .score-center > div {
    padding: 8px 0;
  }

  .score-center span {
    font-size: 7px;
  }

  .league-brand-banner {
    padding: 17px;

    gap: 13px;
  }

  .league-brand-logo-wrap {
    width: 78px;

    height: 78px;

    flex-basis: 78px;
  }

  .league-brand-meta {
    font-size: 11px;
  }

  /*
   * LONGER POWERED BY TEXT
   * slightly smaller on phone so it fits.
   */

  .league-powered-by::after,
  .game-powered-by::after {
    font-size: 7px;

    letter-spacing: .08em;
  }

  .game-league-logo {
    width: 52px;

    height: 52px;

    flex-basis: 52px;
  }

  .team-boxscore-name {
    font-size: 21px;
  }

  .score-row {
    font-size: 17px;
  }

  .score {
    font-size: 29px;
  }

  .leaders-grid {
    grid-template-columns:
      1fr;
  }

  .best-player-card {
    padding: 18px;
  }

  .best-player-main {
    align-items: flex-start;
  }

  .best-player-name {
    font-size: 21px;
  }

  .best-player-impact strong {
    font-size: 23px;
  }

  .best-player-stat strong {
    font-size: 18px;
  }

}



/* ============================================================
   CATEGORY SELECTOR
   ============================================================ */

.category-selector-wrap {
  margin-top: 18px;

  padding-top: 18px;

  border-top:
    1px solid #303641;
}


/* ============================================================
   HOME LEAGUE LEADERS
   ============================================================ */

.home-leaders-block {
  margin-top: 42px;

  margin-bottom: 50px;
}

.text-link-button {
  border: 0;

  background: transparent;

  color: var(--accent);

  cursor: pointer;

  font-size: 11px;

  font-weight: 950;

  letter-spacing: .08em;
}


/* ============================================================
   GAME STAGE
   ============================================================ */

.stage-pill {
  display: inline-block;

  margin-top: 5px;

  margin-left: 6px;

  color: var(--accent);

  font-size: 10px;

  font-weight: 850;

  letter-spacing: .06em;
}


/* ============================================================
   ARCHIVE
   ============================================================ */

.archive-list {
  display: flex;

  flex-direction: column;

  gap: 20px;

  margin-bottom: 50px;
}

.archive-league-card {
  overflow: hidden;

  background:
    linear-gradient(
      140deg,
      #171c23,
      #0d1015
    );

  border:
    1px solid #303641;

  border-radius: 18px;
}

.archive-league-head {
  padding: 22px;

  display: flex;

  align-items: center;

  gap: 18px;

  border-bottom:
    1px solid #292f38;
}


.archive-league-toggle {
  cursor: pointer;
  user-select: none;
  transition: background .18s ease;
}

.archive-league-toggle:hover,
.archive-league-toggle:focus-visible {
  background: rgba(255,255,255,.035);
  outline: none;
}

.archive-open-indicator {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .12em;
  white-space: nowrap;
}

.archive-caret {
  font-size: 14px;
}

.archive-game-button {
  width: 100%;
  color: inherit;
  background: transparent;
  border: 0;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.archive-game-button:hover,
.archive-game-button:focus-visible {
  background: rgba(255,255,255,.035);
  outline: none;
}

.archive-logo {
  width: 72px;

  height: 72px;

  padding: 5px;

  object-fit: contain;

  background: transparent;

  border-radius: 12px;
}

.archive-title {
  color: #ffffff;

  font-size: 24px;

  font-weight: 1000;

  text-transform: uppercase;
}

.archive-meta {
  margin-top: 5px;

  color: #9ca5b0;

  font-size: 12px;
}

.archive-category {
  padding: 18px 22px;
}

.archive-category + .archive-category {
  border-top:
    1px solid #252b33;
}

.archive-category-title {
  margin-bottom: 12px;

  color: var(--accent);

  font-size: 12px;

  font-weight: 950;

  letter-spacing: .14em;
}

.archive-game {
  display: grid;

  grid-template-columns:
    120px 1fr auto;

  gap: 15px;

  align-items: center;

  padding: 13px 0;

  border-top:
    1px solid #222831;
}

.archive-game:first-of-type {
  border-top: 0;
}

.archive-game-date {
  color: #aab2bd;

  font-size: 12px;
}

.archive-game-teams {
  font-weight: 850;
}

.archive-game-score {
  font-size: 18px;

  font-weight: 950;
}


@media(max-width:520px) {

  .text-link-button {
    font-size: 9px;
  }

  .archive-game {
    grid-template-columns:
      1fr auto;
  }

  .archive-game-date {
    grid-column:
      1 / -1;
  }

}



/* ============================================================
   HOME PAGE SIZE CLEANUP - AUG 25, 2026
   ============================================================ */

/* Smaller hero: EVERY GAME. ONE PLATFORM. */
.hero-title {
  font-size:
    clamp(
      48px,
      5.6vw,
      88px
    );

  line-height: .92;
}

.hero-title .outline {
  font-size: .88em;
}


/* Smaller current-league title on Home */
.league-title {
  font-size:
    clamp(
      28px,
      3vw,
      48px
    );

  line-height: 1.02;
}


/* Keep the league card balanced after reducing the title */
.league-card {
  padding:
    24px 28px;
}


/* Mobile */
@media(max-width:760px) {

  .hero-title {
    font-size:
      clamp(
        40px,
        13vw,
        62px
      );

    line-height: .94;
  }


  .league-title {
    font-size:
      clamp(
        25px,
        8vw,
        36px
      );

    line-height: 1.04;
  }

}


/* Small phones */
@media(max-width:520px) {

  .hero-title {
    font-size:
      clamp(
        36px,
        12vw,
        52px
      );
  }


  .league-title {
    font-size:
      clamp(
        23px,
        7.5vw,
        32px
      );
  }

}



/* ============================================================
   RESPONSIVE FULL BOX SCORE
   Desktop: full width
   Portrait mobile: horizontal scroll
   Landscape mobile: full width
   ============================================================ */

/* One team per row */
.boxscore-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 18px;
  margin-bottom: 22px;
}

/* Desktop / large screens */
.boxscore-panel .table-scroll {
  width: 100%;
  overflow-x: visible;
}

.boxscore-table {
  width: 100%;
  min-width: 0 !important;
  table-layout: fixed;
}

.boxscore-table th,
.boxscore-table td {
  padding: 11px 6px;
  font-size: 12px;
  white-space: nowrap;
  text-align: center;
}

.boxscore-table th:nth-child(1),
.boxscore-table td:nth-child(1) {
  width: 5%;
}

.boxscore-table th:nth-child(2),
.boxscore-table td:nth-child(2) {
  width: 25%;
  text-align: left;
}

.boxscore-table th:nth-child(3),
.boxscore-table td:nth-child(3),
.boxscore-table th:nth-child(4),
.boxscore-table td:nth-child(4),
.boxscore-table th:nth-child(5),
.boxscore-table td:nth-child(5),
.boxscore-table th:nth-child(6),
.boxscore-table td:nth-child(6),
.boxscore-table th:nth-child(7),
.boxscore-table td:nth-child(7),
.boxscore-table th:nth-child(8),
.boxscore-table td:nth-child(8),
.boxscore-table th:nth-child(9),
.boxscore-table td:nth-child(9),
.boxscore-table th:nth-child(10),
.boxscore-table td:nth-child(10) {
  width: 7%;
}

.boxscore-table th:nth-child(11),
.boxscore-table td:nth-child(11) {
  width: 9%;
  font-weight: 950;
}

/* Mobile portrait: keep readable and allow horizontal scrolling */
@media(max-width:760px) and (orientation:portrait) {

  .boxscore-panel {
    overflow: hidden !important;
  }

  .boxscore-panel .table-scroll {
    width: 100%;
    overflow-x: auto !important;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .boxscore-table {
    width: 680px !important;
    min-width: 680px !important;
    table-layout: fixed;
  }

  .boxscore-table th,
  .boxscore-table td {
    padding: 10px 6px !important;
    font-size: 11px !important;
    white-space: nowrap;
  }

  .boxscore-table th:nth-child(1),
  .boxscore-table td:nth-child(1) {
    width: 38px !important;
  }

  .boxscore-table th:nth-child(2),
  .boxscore-table td:nth-child(2) {
    width: 170px !important;
    text-align: left !important;
  }

  .boxscore-table th:nth-child(n+3),
  .boxscore-table td:nth-child(n+3) {
    width: 52px !important;
    text-align: center !important;
  }
}

/* Mobile landscape: fit the entire table */
@media(max-width:950px) and (orientation:landscape) {

  .boxscore-panel {
    overflow: visible !important;
  }

  .boxscore-panel .table-scroll {
    width: 100%;
    overflow-x: visible !important;
  }

  .boxscore-table {
    width: 100% !important;
    min-width: 0 !important;
    table-layout: fixed !important;
  }

  .boxscore-table th,
  .boxscore-table td {
    padding: 8px 3px !important;
    font-size: 10px !important;
    white-space: nowrap !important;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .boxscore-table th:nth-child(1),
  .boxscore-table td:nth-child(1) {
    width: 5% !important;
  }

  .boxscore-table th:nth-child(2),
  .boxscore-table td:nth-child(2) {
    width: 25% !important;
    text-align: left !important;
  }

  .boxscore-table th:nth-child(3),
  .boxscore-table td:nth-child(3),
  .boxscore-table th:nth-child(4),
  .boxscore-table td:nth-child(4),
  .boxscore-table th:nth-child(5),
  .boxscore-table td:nth-child(5),
  .boxscore-table th:nth-child(6),
  .boxscore-table td:nth-child(6),
  .boxscore-table th:nth-child(7),
  .boxscore-table td:nth-child(7),
  .boxscore-table th:nth-child(8),
  .boxscore-table td:nth-child(8),
  .boxscore-table th:nth-child(9),
  .boxscore-table td:nth-child(9),
  .boxscore-table th:nth-child(10),
  .boxscore-table td:nth-child(10) {
    width: 7% !important;
  }

  .boxscore-table th:nth-child(11),
  .boxscore-table td:nth-child(11) {
    width: 9% !important;
    font-weight: 950;
  }
}

@media(max-width:520px) and (orientation:portrait) {
  .team-boxscore-name {
    padding: 12px 14px !important;
    font-size: 18px !important;
  }
}

/* ============================================================
   FINAL HEADING SIZE OVERRIDES
   KEEP THIS AT THE VERY BOTTOM
   ============================================================ */

/* EVERY GAME. ONE PLATFORM. */
.hero h1 {
  font-size: clamp(42px, 4vw, 60px) !important;
  line-height: .94 !important;
}

.hero h1 span {
  font-size: .88em !important;
}

/* CURRENT LEAGUE TITLE */
#leagueBranding .league-brand-name {
  font-size: 28px !important;
  line-height: 1.05 !important;
  letter-spacing: -0.02em !important;
}

/* TABLET */
@media(max-width:800px) {

  .hero h1 {
    font-size: clamp(38px, 8vw, 52px) !important;
  }

  #leagueBranding .league-brand-name {
    font-size: 25px !important;
  }

}

/* MOBILE */
@media(max-width:520px) {

  .hero h1 {
    font-size: clamp(34px, 10vw, 44px) !important;
  }

  #leagueBranding .league-brand-name {
    font-size: 22px !important;
  }

}



/* ============================================================
   GAMES PAGE - LARGER DETAILS + WINNER HIGHLIGHT
   ============================================================ */

.game-row {
  grid-template-columns: 150px 1fr 90px !important;
  min-height: 92px;
  padding: 18px 22px !important;
}

.game-date {
  font-size: 15px !important;
  line-height: 1.35;
  font-weight: 800 !important;
}

.game-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 7px;
}

.status-pill {
  margin-top: 0 !important;
  font-size: 11px !important;
}

.stage-pill {
  margin: 0 !important;
  font-size: 10px !important;
}

.game-teams {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  font-size: 17px !important;
  line-height: 1.2 !important;
}

.game-team-line {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #d6dbe1;
  min-width: 0;
}

.game-team-name {
  font-weight: 850;
}

.game-team-line.winner-team {
  color: #ffffff;
}

.game-team-line.winner-team .game-team-name {
  font-weight: 1000;
}

.winner-label {
  display: inline-flex;
  align-items: center;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(57,217,138,.12);
  color: var(--green);
  font-size: 8px;
  font-weight: 950;
  letter-spacing: .12em;
}

.game-result {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  text-align: right;
  font-size: 19px !important;
  line-height: 1.1;
  font-weight: 800 !important;
  color: #aeb5bf;
}

.game-result .winner-score {
  color: #ffffff;
  font-size: 23px;
  font-weight: 1000;
}

@media(max-width:800px) {

  .game-row {
    grid-template-columns: 125px 1fr 65px !important;
  }

  .game-teams {
    font-size: 15px !important;
  }

}

@media(max-width:520px) {

  .game-row {
    grid-template-columns: 1fr 55px !important;
    min-height: auto;
    padding: 15px !important;
  }

  .game-date {
    grid-column: 1 / -1;
    font-size: 13px !important;
  }

  .game-teams {
    font-size: 14px !important;
  }

  .winner-label {
    font-size: 7px;
    padding: 3px 5px;
  }

  .game-result {
    font-size: 15px !important;
  }

  .game-result .winner-score {
    font-size: 18px;
  }

}


/* ============================================================
   GAMES PAGE - MATCHUP LAYOUT
   DATE | TEAM A | VS | TEAM B
   ============================================================ */

.game-matchup-card {
  display: grid !important;
  grid-template-columns: 150px minmax(0,1fr) 60px minmax(0,1fr);
  align-items: center;
  gap: 20px;
  padding: 18px 24px !important;
  min-height: 92px;
}

.game-matchup-info {
  align-self: center;
}

.game-matchup-date {
  color: #d5dae1;
  font-size: 15px;
  font-weight: 850;
}

.game-matchup-stage {
  margin-top: 6px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .10em;
  text-transform: uppercase;
}

.matchup-team {
  min-width: 0;
  text-align: center;
}

.matchup-team-name {
  color: #b9c0c9;
  font-size: 17px;
  line-height: 1.15;
  font-weight: 750;
  text-transform: uppercase;
}

.matchup-score {
  margin-top: 6px;
  color: #aeb5bf;
  font-size: 23px;
  line-height: 1;
  font-weight: 750;
}

.matchup-winner .matchup-team-name {
  color: #ffffff;
  font-weight: 1000;
}

.matchup-winner .matchup-score {
  color: #ffffff;
  font-size: 26px;
  font-weight: 1000;
}

.matchup-vs {
  color: #737c88;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .12em;
  text-align: center;
}

.game-matchup-time {
  grid-column: 2 / 5;
  margin-top: 4px;
  color: #9199a5;
  font-size: 11px;
  font-weight: 800;
  text-align: center;
}

@media(max-width:800px) {
  .game-matchup-card {
    grid-template-columns: 125px minmax(0,1fr) 42px minmax(0,1fr);
    gap: 10px;
  }

  .game-matchup-date {
    font-size: 13px;
  }

  .matchup-team-name {
    font-size: 15px;
  }

  .matchup-score {
    font-size: 20px;
  }

  .matchup-winner .matchup-score {
    font-size: 23px;
  }
}

@media(max-width:520px) {
  .game-matchup-card {
    grid-template-columns: 82px minmax(0,1fr) 26px minmax(0,1fr);
    gap: 5px;
    padding: 14px 10px !important;
    min-height: 76px;
  }

  .game-matchup-date {
    font-size: 11px;
  }

  .game-matchup-stage {
    margin-top: 4px;
    font-size: 7px;
    letter-spacing: .05em;
  }

  .matchup-team-name {
    font-size: 12px;
    white-space: normal;
  }

  .matchup-score {
    font-size: 17px;
  }

  .matchup-winner .matchup-score {
    font-size: 19px;
  }

  .matchup-vs {
    font-size: 8px;
  }

  .game-matchup-time {
    grid-column: 2 / 5;
    font-size: 9px;
  }
}



/* ============================================================
   FINAL MATCHUP GRID FIX
   Prevent older .game-row !important rules from overriding the
   four-column matchup layout.
   ============================================================ */

.game-row.game-matchup-card {
  display: grid !important;
  grid-template-columns: 150px minmax(0,1fr) 60px minmax(0,1fr) !important;
  align-items: center !important;
  gap: 20px !important;
}

/* Home page cards live inside half-width columns, so tighten them. */
#upcomingGames .game-row.game-matchup-card,
#recentGames .game-row.game-matchup-card {
  grid-template-columns: 120px minmax(0,1fr) 36px minmax(0,1fr) !important;
  gap: 10px !important;
  padding: 16px 18px !important;
}

#upcomingGames .matchup-team-name,
#recentGames .matchup-team-name {
  font-size: 15px !important;
}

#upcomingGames .matchup-score,
#recentGames .matchup-score {
  font-size: 20px !important;
}

#upcomingGames .matchup-winner .matchup-score,
#recentGames .matchup-winner .matchup-score {
  font-size: 23px !important;
}

#upcomingGames .game-matchup-time,
#recentGames .game-matchup-time {
  grid-column: 2 / 5 !important;
}

@media(max-width:800px) {
  .game-row.game-matchup-card,
  #upcomingGames .game-row.game-matchup-card,
  #recentGames .game-row.game-matchup-card {
    grid-template-columns: 105px minmax(0,1fr) 32px minmax(0,1fr) !important;
    gap: 8px !important;
  }
}

@media(max-width:520px) {
  .game-row.game-matchup-card,
  #upcomingGames .game-row.game-matchup-card,
  #recentGames .game-row.game-matchup-card {
    grid-template-columns: 76px minmax(0,1fr) 24px minmax(0,1fr) !important;
    gap: 4px !important;
    padding: 13px 9px !important;
  }

  #upcomingGames .matchup-team-name,
  #recentGames .matchup-team-name,
  .game-row.game-matchup-card .matchup-team-name {
    font-size: 12px !important;
  }

  #upcomingGames .matchup-score,
  #recentGames .matchup-score,
  .game-row.game-matchup-card .matchup-score {
    font-size: 17px !important;
  }

  #upcomingGames .matchup-winner .matchup-score,
  #recentGames .matchup-winner .matchup-score,
  .game-row.game-matchup-card .matchup-winner .matchup-score {
    font-size: 19px !important;
  }
}



/* ============================================================
   FINAL GAME TIME POSITION / EMPHASIS
   Time sits below stage in the left information column.
   ============================================================ */

.game-matchup-info .game-matchup-time,
#upcomingGames .game-matchup-info .game-matchup-time,
#recentGames .game-matchup-info .game-matchup-time {
  grid-column: auto !important;
  margin-top: 6px !important;
  color: #c7cdd5 !important;
  font-size: 13px !important;
  line-height: 1.1 !important;
  font-weight: 900 !important;
  text-align: left !important;
  letter-spacing: .01em;
}

@media(max-width:520px) {
  .game-matchup-info .game-matchup-time,
  #upcomingGames .game-matchup-info .game-matchup-time,
  #recentGames .game-matchup-info .game-matchup-time {
    grid-column: auto !important;
    margin-top: 5px !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    text-align: left !important;
  }
}


/* ============================================================
   LEAGUE LEADERS + SINGLE GAME RECORDS
   ============================================================ */

.leader-title {
  line-height: 1.25;
}

.records-section {
  margin-top: 54px;
  margin-bottom: 54px;
}

.records-head {
  margin-top: 0;
}

.records-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
}

.record-card {
  padding: 17px;
  background: var(--panel);
  border: 1px solid #252b33;
  border-radius: 14px;
}

.record-title {
  margin-bottom: 11px;
  color: var(--accent);
  font-size: 11px;
  line-height: 1.25;
  font-weight: 950;
  letter-spacing: .12em;
}

.record-row {
  display: grid;
  grid-template-columns: minmax(0,1.35fr) minmax(0,.8fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid #222831;
}

.record-row:first-of-type {
  border-top: 0;
}

.record-player {
  min-width: 0;
}

.record-name {
  color: #f4f6f8;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.record-team {
  margin-top: 0;
  min-width: 0;
  color: #aeb7c3;
  font-size: 11px;
  font-weight: 800;
  text-align: left;
  overflow-wrap: anywhere;
}

.record-game {
  margin-top: 4px;
  color: #69737f;
  font-size: 9px;
  line-height: 1.35;
}

.record-value {
  min-width: 54px;
  text-align: right;
}

.record-value strong {
  display: block;
  color: #ffffff;
  font-size: 24px;
  line-height: 1;
  font-weight: 1000;
}

.record-value span {
  display: block;
  margin-top: 4px;
  color: #7d8793;
  font-size: 8px;
  font-weight: 950;
  letter-spacing: .08em;
}

@media(max-width:1000px) {
  .records-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}

@media(max-width:800px) {
  .records-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media(max-width:520px) {
  .records-section {
    margin-top: 40px;
  }

  .records-grid {
    grid-template-columns: 1fr;
  }

  .record-card {
    padding: 15px;
  }

  .record-name {
    font-size: 12px;
  }

  .record-value strong {
    font-size: 21px;
  }
}

/* ============================================================
   AUTH / LEAGUE MANAGEMENT PORTAL
   ============================================================ */

.portal-button {
  margin-left: 10px;
  border: 1px solid rgba(255,106,0,.55);
  color: #fff;
  background: linear-gradient(135deg, #ff6a00, #d84b00);
  padding: 12px 17px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  white-space: nowrap;
}

.portal-button:hover {
  filter: brightness(1.08);
}

.portal-button.signed-in {
  border-color: rgba(57,217,138,.48);
  background: #18231f;
  color: #9cf0c4;
}

.auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(3,5,8,.82);
  backdrop-filter: blur(12px);
}

.auth-dialog {
  position: relative;
  width: min(520px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 34px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0, rgba(255,106,0,.12), transparent 34%),
    #10141a;
  box-shadow: 0 32px 100px rgba(0,0,0,.55);
}

.auth-close {
  position: absolute;
  top: 14px;
  right: 15px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  color: #c9cfd7;
  cursor: pointer;
  font-size: 25px;
  line-height: 1;
}

.auth-brand {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 4px 46px 24px 0;
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,.09);
}

.auth-logo {
  width: auto;
  height: 72px;
  max-width: 170px;
  object-fit: contain;
}

.auth-brand-copy {
  padding-left: 18px;
  border-left: 1px solid rgba(255,255,255,.18);
}

.auth-brand-title {
  color: var(--accent);
  font-size: 18px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: .055em;
}

.auth-brand-tagline {
  margin-top: 7px;
  color: #c5cbd3;
  font-size: 11px;
  line-height: 1.35;
  font-weight: 700;
}

.auth-eyebrow {
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .17em;
}

.auth-dialog h2 {
  margin: 8px 0 10px;
  color: #fff;
  font-size: 30px;
  letter-spacing: -.025em;
}

.auth-intro {
  margin: 0 0 25px;
  color: #aab2bd;
  font-size: 14px;
  line-height: 1.55;
}

.auth-form {
  display: grid;
  gap: 10px;
}

.auth-form label {
  margin-top: 7px;
  color: #d5dae1;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .1em;
}

.auth-form input {
  width: 100%;
  border: 1px solid #303742;
  border-radius: 9px;
  outline: none;
  background: #0b0e13;
  color: #fff;
  padding: 14px 15px;
  font: inherit;
}

.auth-form input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255,106,0,.12);
}

.password-wrap {
  position: relative;
}

.password-wrap input {
  padding-right: 72px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 9px;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: #f4a46c;
  cursor: pointer;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
}

.auth-primary,
.auth-secondary {
  width: 100%;
  margin-top: 14px;
  border-radius: 9px;
  padding: 14px 18px;
  cursor: pointer;
  font-weight: 900;
  letter-spacing: .08em;
}

.auth-primary {
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, #ff6a00, #d84b00);
}

.auth-secondary {
  border: 1px solid #3a424d;
  color: #e8ebef;
  background: #191e25;
}

.auth-primary:disabled,
.auth-secondary:disabled {
  opacity: .55;
  cursor: wait;
}

.auth-message {
  min-height: 20px;
  margin-top: 4px;
  color: #ff8e99;
  font-size: 13px;
  line-height: 1.45;
}

.auth-message.success {
  color: #70dfa5;
}

.auth-user-email {
  margin: -1px 0 10px;
  color: #fff;
  font-size: 16px;
  font-weight: 750;
}

@media (max-width: 980px) {
  .portal-button {
    margin-left: 0;
  }
}

@media (max-width: 620px) {
  .auth-overlay {
    padding: 12px;
  }

  .auth-dialog {
    padding: 26px 20px;
    border-radius: 14px;
  }

  .auth-brand {
    align-items: center;
    gap: 12px;
  }

  .auth-logo {
    height: 52px;
    max-width: 120px;
  }

  .auth-brand-copy {
    padding-left: 12px;
  }

  .auth-brand-title {
    font-size: 14px;
  }

  .auth-brand-tagline {
    font-size: 9px;
  }
}

/* ============================================================
   JBM LEAGUE MANAGEMENT PORTAL
   ============================================================ */
.auth-dialog:has(#authSignedIn:not(.hidden)) {
  width: min(1040px, calc(100vw - 32px));
  max-height: min(90vh, 920px);
  overflow: auto;
}
.portal-head-row,
.portal-toolbar,
.portal-panel-head,
.portal-game-top,
.portal-game-score,
.portal-game-meta {
  display: flex;
  align-items: center;
}
.portal-head-row { justify-content: space-between; gap: 18px; }
.portal-signout { width: auto; flex: 0 0 auto; }
.portal-toolbar { gap: 10px; margin: 20px 0; flex-wrap: wrap; }
.portal-toolbar label { font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.portal-toolbar select {
  min-width: 250px; flex: 1; border: 1px solid #d9dee8; border-radius: 10px;
  padding: 12px 14px; background: #fff; font: inherit;
}
.portal-refresh { border: 0; border-radius: 10px; padding: 12px 16px; font-weight: 800; cursor: pointer; }
.portal-summary-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 20px; }
.portal-summary-card { border: 1px solid #e1e5ee; border-radius: 14px; padding: 16px; background: #f8f9fc; }
.portal-summary-card span { display: block; font-size: 10px; font-weight: 800; letter-spacing: .14em; margin-bottom: 6px; }
.portal-summary-card strong { font-size: 28px; }
.portal-panel { border-top: 1px solid #e3e7ef; padding-top: 20px; margin-top: 20px; }
.portal-panel-head { justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.portal-panel h3 { margin: 3px 0 0; font-size: 22px; }
.portal-live-note { font-size: 12px; opacity: .65; }
.portal-game-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.portal-game-card { border: 1px solid #dde2eb; border-radius: 14px; padding: 15px; background: #fff; }
.portal-game-card.live { border-width: 2px; }
.portal-game-top { justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.portal-game-status { font-size: 10px; font-weight: 900; letter-spacing: .1em; padding: 5px 8px; border-radius: 999px; background: #eef1f6; }
.portal-game-status.live { background: #111; color: #fff; }
.portal-game-court { font-size: 12px; font-weight: 750; opacity: .72; }
.portal-game-score { justify-content: space-between; gap: 12px; font-size: 15px; font-weight: 800; }
.portal-team { min-width: 0; flex: 1; }
.portal-team.away { text-align: right; }
.portal-score { font-size: 24px; white-space: nowrap; }
.portal-game-meta { justify-content: space-between; gap: 10px; margin-top: 12px; font-size: 11px; opacity: .68; }
.portal-game-list { display: grid; gap: 9px; }
.portal-upcoming-row { display: grid; grid-template-columns: 145px 1fr auto; gap: 12px; align-items: center; border: 1px solid #e2e6ee; border-radius: 12px; padding: 12px 14px; }
.portal-upcoming-time { font-size: 12px; font-weight: 800; }
.portal-upcoming-match { font-weight: 800; }
.portal-upcoming-place { font-size: 12px; opacity: .68; text-align: right; }
.portal-state { border: 1px dashed #d6dce7; border-radius: 12px; padding: 18px; margin-top: 18px; text-align: center; }
.portal-error { color: #a40000; border-color: #e4b5b5; background: #fff7f7; }
.portal-no-games { border: 1px dashed #d6dce7; border-radius: 12px; padding: 16px; text-align: center; opacity: .7; grid-column: 1 / -1; }
@media (max-width: 720px) {
  .auth-dialog:has(#authSignedIn:not(.hidden)) { width: calc(100vw - 18px); }
  .portal-head-row { align-items: flex-start; }
  .portal-summary-grid { grid-template-columns: repeat(3, 1fr); gap: 7px; }
  .portal-summary-card { padding: 12px 10px; }
  .portal-summary-card strong { font-size: 22px; }
  .portal-game-grid { grid-template-columns: 1fr; }
  .portal-upcoming-row { grid-template-columns: 1fr; gap: 4px; }
  .portal-upcoming-place { text-align: left; }
  .portal-live-note { display: none; }
}

/* ============================================================
   AUTH BRANDING - MATCH PUBLIC HOMEPAGE HEADER
   ============================================================ */
.auth-brand-home {
  align-items: center;
  gap: 20px;
}

.auth-brand-home .auth-brand-logo-wrap {
  flex: 0 0 auto;
}

.auth-brand-home .auth-logo {
  width: auto;
  height: 74px;
  max-width: 185px;
  object-fit: contain;
}

.auth-brand-home .auth-brand-text {
  padding-left: 20px;
  border-left: 1px solid rgba(255,255,255,.18);
}

.auth-brand-home .auth-brand-title {
  color: var(--accent);
  font-size: 18px;
  line-height: 1.05;
  font-weight: 950;
  letter-spacing: .055em;
}

.auth-brand-home .auth-brand-tagline {
  margin-top: 7px;
  color: #eef1f5;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 800;
}

@media (max-width: 520px) {
  .auth-brand-home .auth-logo {
    height: 58px;
    max-width: 145px;
  }

  .auth-brand-home .auth-brand-text {
    padding-left: 14px;
  }

  .auth-brand-home .auth-brand-title {
    font-size: 15px;
  }

  .auth-brand-home .auth-brand-tagline {
    font-size: 10px;
  }
}

/* ============================================================
   AUTH ACCOUNT CREATION / RECOVERY
   ============================================================ */
.auth-label-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-top: 7px;
}

.auth-label-row label {
  margin-top: 0;
}

.auth-link-button {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--accent);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
}

.auth-link-button:hover {
  text-decoration: underline;
}

.auth-link-inline {
  display: inline;
  width: auto;
}

.auth-switch {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
  color: #9fa7b2;
  font-size: 12px;
  text-align: center;
}

.auth-help {
  margin-top: 1px;
  color: #7f8996;
  font-size: 11px;
}

#authSignUpView,
#authForgotView,
#authRecovery {
  animation: authViewIn .18s ease-out;
}

@keyframes authViewIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

#authRecovery .auth-message {
  margin-top: 10px;
}

@media (max-width: 520px) {
  .auth-label-row {
    align-items: center;
  }
}


/* ============================================================
   DEVELOPMENT PORTAL - DARK THEME / READABILITY FIXES
   ============================================================ */
#authSignedIn,
#portalDashboard { color: #f5f7fb; }

#authSignedIn .portal-toolbar label { color: #d6dbe3; }
#authSignedIn .portal-toolbar select {
  background: #0d1117 !important;
  color: #f5f7fb !important;
  border: 1px solid #3b4654 !important;
  color-scheme: dark;
  appearance: auto;
}
#authSignedIn .portal-toolbar select option {
  background: transparent;
  color: #f5f7fb;
}
#authSignedIn .portal-refresh {
  background: linear-gradient(135deg, #ff7a00, #df5600);
  color: #fff;
  border: 1px solid rgba(255,255,255,.08);
}

#authSignedIn .portal-summary-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
#authSignedIn .portal-summary-card {
  background: #151a21 !important;
  border-color: #343d49 !important;
  color: #f5f7fb !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025);
}
#authSignedIn .portal-summary-card span { color: #aeb7c4 !important; }
#authSignedIn .portal-summary-card strong { color: #ffffff !important; }

#authSignedIn .portal-panel { border-color: #343d49; }
#authSignedIn .portal-panel h3 { color: #f5f7fb; }
#authSignedIn .portal-live-note { color: #b3bbc6; opacity: 1; }

#authSignedIn .portal-game-card {
  background: #151a21 !important;
  border-color: #343d49 !important;
  color: #f5f7fb !important;
}
#authSignedIn .portal-game-card.live {
  border-color: #ff6a00 !important;
  box-shadow: 0 0 0 1px rgba(255,106,0,.22);
}
#authSignedIn .portal-game-status {
  background: #252c36 !important;
  color: #e8edf4 !important;
}
#authSignedIn .portal-game-status.live {
  background: #ff6a00 !important;
  color: #fff !important;
}
#authSignedIn .portal-game-court,
#authSignedIn .portal-game-meta { color: #b8c0cb; opacity: 1; }
#authSignedIn .portal-team { color: #f5f7fb; }
#authSignedIn .portal-score { color: #fff; }

#authSignedIn .portal-upcoming-row,
#authSignedIn .portal-no-games,
#authSignedIn .portal-state {
  background: rgba(255,255,255,.015);
  color: #d6dbe3 !important;
  border-color: #46515f !important;
}
#authSignedIn .portal-upcoming-time,
#authSignedIn .portal-upcoming-match { color: #f3f5f8; }
#authSignedIn .portal-upcoming-place { color: #aeb7c4; opacity: 1; }
#authSignedIn .portal-error {
  color: #ffb0b0 !important;
  background: rgba(164,0,0,.10) !important;
  border-color: rgba(255,120,120,.35) !important;
}

/* Keep the signed-in dashboard aligned to the top and prevent a stale modal scroll position
   from making the header appear clipped after sign-in. */
.auth-overlay:has(#authSignedIn:not(.hidden)) {
  place-items: start center;
  overflow-y: auto;
  padding-top: 16px;
  padding-bottom: 16px;
}
.auth-dialog:has(#authSignedIn:not(.hidden)) {
  margin: 0 auto;
  max-height: calc(100vh - 32px);
}

@media (max-width: 760px) {
  #authSignedIn .portal-summary-grid { grid-template-columns: repeat(2, 1fr); }
}

/* OWNER MANAGEMENT PORTAL */
.manager-tabs{display:flex;gap:6px;overflow-x:auto;padding:4px 0 14px;margin:14px 0 4px;border-bottom:1px solid #343d49;scrollbar-width:thin}.manager-tab{white-space:nowrap;background:#151a21;border:1px solid #343d49;color:#aeb7c4;border-radius:8px;padding:10px 13px;font-size:10px;font-weight:900;letter-spacing:.08em;cursor:pointer}.manager-tab:hover,.manager-tab.active{background:#ff6a00;border-color:#ff6a00;color:#fff}.manager-view{padding-top:12px}.manager-section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:8px 0 18px}.manager-section-head h3,.manager-coming h3{font-size:24px;margin:3px 0;color:#fff}.manager-action{background:#ff6a00;color:#fff;border:0;border-radius:9px;padding:11px 15px;font-weight:900;cursor:pointer}.manager-content-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:14px}.manager-card{background:#151a21;border:1px solid #343d49;border-radius:14px;padding:18px}.manager-card h4{margin:0 0 14px;color:#fff;font-size:18px}.manager-data-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.manager-data-item{background:#0d1117;border:1px solid #2c3540;border-radius:9px;padding:11px}.manager-data-item span{display:block;color:#8f9aa8;font-size:9px;font-weight:900;letter-spacing:.12em;margin-bottom:4px}.manager-data-item strong{color:#fff;font-size:13px}.manager-list{display:grid;gap:9px}.manager-list-row{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) auto;gap:12px;align-items:center;background:#151a21;border:1px solid #343d49;border-radius:11px;padding:13px 15px;color:#fff}.manager-list-row small{color:#9fa9b6}.manager-badge{font-size:9px;font-weight:900;letter-spacing:.08em;background:#252c36;color:#dce2e9;padding:6px 8px;border-radius:999px}.manager-filter-row{display:flex;align-items:center;gap:10px;margin-bottom:14px}.manager-filter-row label{font-size:10px;font-weight:900;letter-spacing:.12em;color:#aeb7c4}.manager-filter-row select,.manager-form-card select{background:#0d1117;color:#fff;border:1px solid #3b4654;border-radius:8px;padding:10px}.manager-coming{background:#151a21;border:1px dashed #46515f;border-radius:14px;padding:28px}.manager-coming p{color:#aeb7c4;max-width:700px}.manager-form-overlay{position:absolute;inset:0;background:rgba(3,6,10,.86);z-index:30;display:grid;place-items:start center;padding:28px 18px;overflow:auto}.manager-form-overlay.hidden{display:none}.manager-form-card{position:relative;width:min(620px,100%);background:#11161d;border:1px solid #3b4654;border-radius:16px;padding:28px;box-shadow:0 24px 70px rgba(0,0,0,.5)}.manager-form-card h3{font-size:26px;color:#fff;margin:4px 0 18px}.manager-two-col{display:grid;grid-template-columns:1fr 1fr;gap:12px}.manager-two-col>div{display:grid;gap:7px}.manager-form-card input,.manager-form-card select{width:100%;box-sizing:border-box}.manager-empty{border:1px dashed #46515f;border-radius:12px;padding:22px;text-align:center;color:#aeb7c4}.manager-age{color:#ff8a28;font-weight:800}.manager-status-line{color:#aeb7c4;font-size:12px;margin-top:10px}
@media(max-width:760px){.manager-content-grid,.manager-two-col{grid-template-columns:1fr}.manager-list-row{grid-template-columns:1fr}.manager-section-head{align-items:flex-start;flex-direction:column}.manager-action{width:100%}}


/* OWNER MANAGEMENT V2 - SCHEDULE, GAMES, STAFF, AWARDS */
.manager-game-row{grid-template-columns:minmax(0,1.45fr) minmax(210px,.85fr) auto}.manager-score-inline{color:#ff7a18;margin:0 7px}.manager-badge-live{background:#ff6a00;color:#fff}.manager-info-strip{background:rgba(255,106,0,.08);border:1px solid rgba(255,106,0,.28);border-radius:11px;padding:13px 15px;color:#c9d0d9;font-size:12px;margin-bottom:14px}.manager-awards-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:14px}.manager-award-card{background:#151a21;border:1px solid #343d49;border-radius:14px;padding:17px;display:grid;gap:7px}.manager-award-card>span{color:#ff7a18;font-size:9px;font-weight:900;letter-spacing:.12em}.manager-award-card>strong{color:#fff;font-size:18px}.manager-award-card>small{color:#9fa9b6}.manager-top10{margin-bottom:14px}.manager-rank-row{display:grid;grid-template-columns:30px 1fr auto;align-items:center;gap:10px;border-top:1px solid #2c3540;padding:11px 0}.manager-rank-row:first-of-type{border-top:0}.manager-rank-row>b{color:#ff7a18;font-size:16px}.manager-rank-row div{display:grid;gap:2px}.manager-rank-row strong{color:#fff}.manager-rank-row small,.manager-muted{color:#9fa9b6}.manager-rank-row>span{font-weight:900;color:#fff}
@media(max-width:760px){.manager-awards-grid{grid-template-columns:1fr}.manager-game-row{grid-template-columns:1fr}}

/* Owner Management v2.1 - rankings and all-player stats summary */
.manager-rank-row-detail strong{display:block}.manager-rank-row-detail small{line-height:1.35}.manager-stats-summary{margin-bottom:14px}.manager-section-head.compact{align-items:end;margin-bottom:12px}.manager-section-head.compact h4{margin:2px 0 0}.manager-table-wrap{overflow:auto;border:1px solid #2f3945;border-radius:11px;background:#11161c}.manager-stats-table{width:100%;min-width:1020px;border-collapse:collapse;font-size:12px}.manager-stats-table th{position:sticky;top:0;background:#171d24;color:#9fa9b6;text-align:left;font-size:9px;letter-spacing:.09em;padding:11px 10px;border-bottom:1px solid #35404c;white-space:nowrap}.manager-stats-table td{padding:11px 10px;border-bottom:1px solid #28313b;color:#d7dde5;white-space:nowrap}.manager-stats-table tbody tr:last-child td{border-bottom:0}.manager-stats-table tbody tr:hover{background:rgba(255,122,24,.055)}.manager-stats-table td:first-child,.manager-stats-table td:nth-child(2){color:#ff7a18;font-weight:800}.manager-stats-table td:nth-child(n+6){text-align:right}.manager-stats-table th:nth-child(n+6){text-align:right}.manager-stats-table td strong{color:#fff}

/* v1.1 game management + staff assignment */
.manager-row-actions{display:flex;gap:7px;align-items:center;justify-content:flex-end;flex-wrap:wrap}
.manager-mini-action{border:1px solid #39424e;background:#151b22;color:#e9edf2;border-radius:8px;padding:8px 10px;font-size:10px;font-weight:900;letter-spacing:.08em;cursor:pointer}
.manager-mini-action:hover{border-color:#ff6b00;color:#ff7a16}
.manager-mini-action.danger{border-color:#663333;color:#ff9b8e}
.manager-staff-form{display:grid;grid-template-columns:minmax(220px,2fr) minmax(180px,1.4fr) minmax(150px,1fr) auto auto auto;gap:10px;align-items:end}
.manager-staff-form label:not(.manager-check){display:block;color:#aeb7c3;font-size:10px;font-weight:900;letter-spacing:.12em;margin-bottom:6px}
.manager-staff-form select{width:100%;min-height:42px;border:1px solid #39424e;background:#0d1218;color:#f4f6f8;border-radius:9px;padding:0 10px}
.manager-check{display:flex;align-items:center;gap:7px;min-height:42px;color:#d9dee5;font-size:11px;font-weight:800;white-space:nowrap}
.manager-check input{accent-color:#ff6b00}
@media(max-width:900px){.manager-staff-form{grid-template-columns:1fr 1fr}.manager-row-actions{width:100%;justify-content:flex-start}}
@media(max-width:620px){.manager-staff-form{grid-template-columns:1fr}.manager-game-row{grid-template-columns:1fr!important}.manager-row-actions{justify-content:flex-start}}
/* JBM Sports Live Scorer v1 */
.scorer-shell{position:fixed;inset:0;z-index:10000;background:#0b111b;color:#fff;overflow:auto;padding:18px;font-family:inherit}.scorer-hidden{display:none!important}.scorer-top{max-width:1180px;margin:auto;display:flex;justify-content:space-between;gap:14px;align-items:center}.scorer-brand h1{font-size:25px;margin:0}.scorer-brand small{color:#aab6c7}.scorer-controls{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.scorer-select,.scorer-close{background:#fff;color:#18243a;border:0;border-radius:9px;padding:10px 12px;font-weight:700}.scorer-close{background:#26354d;color:#fff}.scorer-sync{display:inline-block;margin:12px 0 8px;background:#24a148;border-radius:999px;padding:5px 10px;font-size:12px;font-weight:800}.scorer-sync.busy{background:#d99000}.scorer-sync.error{background:#c73333}.scorer-scoreboard{max-width:1180px;margin:0 auto;display:grid;grid-template-columns:1fr 180px 1fr;gap:8px}.scorer-score-card,.scorer-period-card{background:#243654;border-radius:12px;padding:18px;text-align:center}.scorer-score-card strong{display:block;font-size:44px}.scorer-score-card b{font-size:20px}.scorer-period-card{display:flex;flex-direction:column;justify-content:center}.scorer-period-card strong{font-size:28px}.scorer-actions-top{max-width:1180px;margin:8px auto;display:grid;grid-template-columns:1fr 1fr 1fr 1fr;gap:8px}.scorer-action{border:0;border-radius:9px;padding:13px;font-weight:800;background:#fff;color:#33476a}.scorer-action.danger{background:#e52323;color:#fff}.scorer-team-wrap{max-width:1180px;margin:8px auto;display:grid;grid-template-columns:1fr;gap:10px}.scorer-team-wrap.both{grid-template-columns:1fr 1fr}.scorer-team{background:#1b2b46;border-radius:12px;padding:12px}.scorer-team-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.scorer-team-head h2{margin:0;font-size:20px}.scorer-fouls{background:#2da84a;border-radius:6px;padding:5px 8px;font-size:12px;font-weight:800}.scorer-roster{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.scorer-team-wrap.both .scorer-roster{grid-template-columns:repeat(2,1fr)}.scorer-player{background:#607391;color:#fff;border:0;border-radius:7px;padding:12px;text-align:left;font-weight:700;min-height:44px}.scorer-player.selected{outline:3px solid #ff7a18;background:#788ba8}.scorer-player.pulse{animation:playerPulse .35s ease}.scorer-stat-panel{max-width:1180px;margin:10px auto;background:#17253c;border-radius:12px;padding:12px}.scorer-selected-label small{display:block;color:#9aa9bd;font-size:10px;font-weight:800}.scorer-selected-label strong{font-size:20px}.scorer-stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:10px}.scorer-stat{border:0;border-radius:9px;padding:14px;font-size:16px;font-weight:800;background:#fff;color:#3a4f77}.scorer-stat.score{background:#42ca5c;color:#fff}.scorer-stat.recorded{animation:statPress .38s ease}.scorer-events{max-width:1180px;margin:10px auto 40px;background:#111d30;border-radius:12px;padding:12px}.scorer-events h3{margin:0 0 8px}.scorer-event{padding:8px;border-top:1px solid #293850;font-size:13px}.scorer-toast{position:fixed;left:50%;bottom:28px;transform:translateX(-50%) translateY(20px);opacity:0;background:#ff7a18;color:#fff;padding:11px 18px;border-radius:999px;font-weight:900;z-index:10002;transition:.2s}.scorer-toast.show{opacity:1;transform:translateX(-50%) translateY(0)}.scorer-toast.anchor{bottom:auto;padding:7px 12px;border-radius:8px;font-size:12px;letter-spacing:.03em;pointer-events:none;box-shadow:0 8px 24px rgba(0,0,0,.28)}.scorer-toast.anchor.show{opacity:1}.scorer-toast.undo{background:#d52c2c}.score-pop{animation:scorePop .4s ease}@keyframes statPress{50%{transform:scale(.93);filter:brightness(1.25)}}@keyframes playerPulse{50%{transform:scale(1.025)}}@keyframes scorePop{50%{transform:scale(1.18);color:#67e37b}}@media(max-width:800px){.scorer-shell{padding:8px}.scorer-scoreboard{grid-template-columns:1fr 100px 1fr}.scorer-score-card strong{font-size:34px}.scorer-team-wrap.both{grid-template-columns:1fr 1fr}.scorer-roster,.scorer-team-wrap.both .scorer-roster{grid-template-columns:1fr}.scorer-actions-top{grid-template-columns:1fr 1fr}.scorer-top{align-items:flex-start}.scorer-stat-grid{grid-template-columns:repeat(3,1fr)}}
.scorer-box-btn{background:#ff7a18;color:#fff}.scorer-box-overlay{position:fixed;inset:0;z-index:10001;background:rgba(5,9,16,.86);padding:22px;overflow:auto}.scorer-box-panel{max-width:1180px;margin:0 auto;background:#0f1828;border:1px solid #2b3a52;border-radius:16px;padding:18px;box-shadow:0 24px 70px rgba(0,0,0,.45)}.scorer-box-head{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:14px}.scorer-box-head small{color:#ff7a18;font-weight:900;letter-spacing:.12em}.scorer-box-head h2{margin:3px 0 0;font-size:28px}.scorer-box-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.scorer-box-team{background:#17253c;border-radius:12px;padding:12px}.scorer-box-team-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.scorer-box-team-title h3{margin:0}.scorer-box-team-title strong{font-size:26px;color:#67e37b}.scorer-box-scroll{overflow:auto}.scorer-box-table{width:100%;border-collapse:collapse;min-width:610px;font-size:13px}.scorer-box-table th{color:#9fb0c8;font-size:10px;letter-spacing:.08em;text-align:right;padding:9px 7px;border-bottom:1px solid #30405a}.scorer-box-table th:first-child,.scorer-box-table td:first-child{text-align:left}.scorer-box-table td{text-align:right;padding:9px 7px;border-bottom:1px solid #25344d}.scorer-box-table tbody tr:last-child td{border-bottom:0}@media(max-width:800px){.scorer-box-overlay{padding:8px}.scorer-box-grid{grid-template-columns:1fr}.scorer-box-panel{padding:12px}.scorer-box-head h2{font-size:22px}}

/* Scorer provisional/final best-player card */
.scorer-best-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 22px;align-items:center;margin:0 0 16px;padding:14px 16px;border:1px solid rgba(245,153,36,.35);border-radius:14px;background:linear-gradient(135deg,rgba(245,153,36,.13),rgba(255,255,255,.025))}.scorer-best-card small{display:block;color:#f59a24;font-size:11px;font-weight:800;letter-spacing:.08em}.scorer-best-card h3{margin:4px 0 2px;font-size:20px}.scorer-best-card span{color:#c8ccd3}.scorer-best-impact{text-align:right}.scorer-best-impact strong{display:block;font-size:26px;color:#fff}.scorer-best-line{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:8px 16px;padding-top:8px;border-top:1px solid rgba(255,255,255,.08);font-size:12px;font-weight:700}.scorer-best-line span{color:#fff}@media(max-width:640px){.scorer-best-card{grid-template-columns:1fr auto}.scorer-best-card h3{font-size:17px}.scorer-best-line{gap:6px 10px}}
/* JBM Sports Live Game Monitor */
.monitor-hidden{display:none!important}.monitor-shell{position:fixed;inset:0;z-index:10050;background:#07111f;color:#f8fafc;overflow:auto;padding:18px}.monitor-top{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 18px;background:#0d1a2b;border:1px solid #26364b;border-radius:14px;margin-bottom:14px}.monitor-top small{color:#f59e0b;font-weight:800;letter-spacing:.08em}.monitor-top h1{margin:3px 0;font-size:26px}.monitor-top span{color:#aab7c7}.monitor-btn{background:#17263a;color:white;border:1px solid #42536a;border-radius:8px;padding:10px 14px;font-weight:800;margin-left:8px}.monitor-scoreline{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;background:#0d1a2b;border:1px solid #26364b;border-radius:14px;padding:14px 24px;margin-bottom:14px}.monitor-scoreline>div{display:flex;align-items:center;gap:20px}.monitor-scoreline>div:last-child{justify-content:flex-end}.monitor-scoreline span{font-size:22px;font-weight:900}.monitor-scoreline b{font-size:48px}.monitor-scoreline em{font-style:normal;color:#f59e0b;font-weight:900}.monitor-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.monitor-team,.monitor-quarter,.monitor-recent,.monitor-best{background:#0d1a2b;border:1px solid #26364b;border-radius:14px;overflow:hidden}.monitor-team-head{display:flex;justify-content:space-between;align-items:center;padding:12px 14px}.monitor-team-head h2{margin:0}.monitor-team-head small{color:#f59e0b;font-weight:800}.monitor-team-head>strong{font-size:34px}.monitor-scroll{overflow-x:auto}.monitor-team table,.monitor-quarter table{width:100%;border-collapse:collapse;background:#f8fafc;color:#111827}.monitor-team th,.monitor-team td,.monitor-quarter th,.monitor-quarter td{padding:8px 7px;border:1px solid #d8dee8;text-align:center;font-size:13px}.monitor-team th:nth-child(2),.monitor-team td:nth-child(2){text-align:left;min-width:125px}.monitor-team thead th,.monitor-quarter thead th{background:#dfe5ec;font-weight:900}.monitor-total td{font-weight:900;background:#e9edf2}.monitor-quarter{margin-top:14px;padding:14px}.monitor-quarter h3,.monitor-recent h3{margin:0 0 10px;color:#f59e0b}.monitor-recent{margin-top:14px;padding:14px}.monitor-recent div{display:flex;flex-wrap:wrap;gap:8px}.monitor-recent span{background:#15253a;border-radius:7px;padding:7px 10px;font-size:12px}.monitor-best{margin-top:14px;padding:16px 20px;display:flex;justify-content:space-between;align-items:center;gap:20px;border-color:#f59e0b}.monitor-best small{color:#f59e0b;font-weight:900;letter-spacing:.08em}.monitor-best h3{margin:3px 0;font-size:24px}.monitor-best-stats{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.monitor-best-stats strong{background:#f59e0b;color:#111827;padding:10px 12px;border-radius:8px}.monitor-open-btn{border-color:#f59e0b!important;color:#f59e0b!important}@media(max-width:1000px){.monitor-grid{grid-template-columns:1fr}.monitor-scoreline span{font-size:16px}.monitor-scoreline b{font-size:36px}.monitor-best{align-items:flex-start;flex-direction:column}}
/* Game Monitor v1.1 - match JBM Sports Live portal branding */
.monitor-shell{background:#0d1117;color:#fff;padding:18px;font-family:inherit}
.monitor-top{display:grid;grid-template-columns:auto minmax(280px,1fr) auto;align-items:center;gap:22px;background:#151a21;border:1px solid #343d49;border-radius:14px;padding:13px 18px}
.monitor-brand{display:flex;align-items:center;gap:12px;min-width:290px}.monitor-logo-wrap{width:54px;height:54px;display:grid;place-items:center;flex:0 0 54px}.monitor-logo{max-width:54px;max-height:54px;object-fit:contain}.monitor-brand-title{font-size:18px;font-weight:950;letter-spacing:.055em;color:#fff}.monitor-brand-tagline{margin-top:2px;color:#aeb7c4;font-size:11px}.monitor-label{margin-top:4px;color:#ff6a00;font-size:10px;font-weight:950;letter-spacing:.15em}
.monitor-game-heading{text-align:center}.monitor-game-heading h1{margin:0;font-size:25px;color:#fff}.monitor-game-heading span{display:block;margin-top:4px;color:#aeb7c4;font-size:12px;font-weight:700;letter-spacing:.04em}.monitor-actions{white-space:nowrap}
.monitor-btn{background:#151a21;color:#fff;border:1px solid #39424e}.monitor-btn:hover{border-color:#ff6a00;color:#ff7a16}.monitor-scoreline,.monitor-team,.monitor-quarter,.monitor-best{background:#151a21;border-color:#343d49}.monitor-scoreline em,.monitor-team-head small,.monitor-quarter h3,.monitor-best small{color:#ff6a00}.monitor-best{border-color:#ff6a00}.monitor-best-stats strong{background:#ff6a00;color:#fff}.monitor-open-btn{border-color:#ff6a00!important;color:#ff7a16!important}
.monitor-team table,.monitor-quarter table{background:#f7f8fa}.monitor-team thead th,.monitor-quarter thead th{background:#e4e8ed;color:#747f8d;letter-spacing:.08em}.monitor-total td{background:#e9edf2}
@media(max-width:1100px){.monitor-top{grid-template-columns:1fr auto}.monitor-game-heading{grid-column:1/-1;grid-row:2;text-align:left}.monitor-brand{min-width:0}}@media(max-width:700px){.monitor-top{grid-template-columns:1fr}.monitor-actions{grid-row:auto}.monitor-game-heading{grid-column:auto;grid-row:auto}.monitor-actions .monitor-btn{margin:4px 4px 0 0}.monitor-brand-title{font-size:16px}}

/* Game Monitor v1.2 - dark box score and larger branding */
.monitor-brand{gap:16px;min-width:360px}
.monitor-logo-wrap{width:92px;height:68px;flex:0 0 92px}
.monitor-logo{max-width:92px;max-height:68px;width:92px;height:auto;object-fit:contain}
.monitor-brand-title{font-size:22px}
.monitor-brand-tagline{font-size:12px}
.monitor-label{font-size:11px}
.monitor-team table,.monitor-quarter table{background:#11161d;color:#f3f4f6}
.monitor-team th,.monitor-team td,.monitor-quarter th,.monitor-quarter td{border-color:#303844}
.monitor-team thead th,.monitor-quarter thead th{background:#20262f;color:#b9c2ce}
.monitor-team tbody td,.monitor-quarter tbody td,.monitor-quarter tbody th{background:#151a21;color:#f3f4f6}
.monitor-team tbody tr:nth-child(even) td{background:#181e26}
.monitor-total td{background:#20262f!important;color:#fff!important;font-weight:900}
.monitor-team td:nth-child(2){color:#fff}
.monitor-team td:last-child{font-weight:900}
.monitor-pf-max{color:#ff3b30!important;font-weight:950!important;font-size:15px}
.monitor-quarter h3{color:#ff6a00}
@media(max-width:1100px){.monitor-brand{min-width:0}.monitor-logo-wrap{width:78px;height:58px;flex-basis:78px}.monitor-logo{max-width:78px;max-height:58px;width:78px}.monitor-brand-title{font-size:19px}}

/* Portal league branding + final winner */
.manager-league-brand-card{overflow:hidden}.manager-league-brand{display:flex;align-items:center;gap:22px;margin:-2px -2px 22px;padding:20px 22px;border:1px solid #303844;border-radius:12px;background:#171c22}.manager-league-brand img{width:112px;height:112px;object-fit:contain;flex:0 0 112px}.manager-league-brand h4{margin:3px 0 5px;font-size:24px;color:#fff}.manager-league-brand p{margin:0;color:#aeb7c4;font-size:13px}.manager-league-kicker{color:#ff6a00;font-size:11px;font-weight:950;letter-spacing:.13em}.monitor-winner{display:inline-block;margin-left:8px;color:#ff6a00!important;font-size:.58em;font-weight:1000;letter-spacing:.1em;vertical-align:middle}.monitor-scoreline .monitor-winner{font-size:12px}.monitor-team-head .monitor-winner{font-size:11px}
@media(max-width:700px){.manager-league-brand{gap:14px;padding:16px}.manager-league-brand img{width:82px;height:82px;flex-basis:82px}.manager-league-brand h4{font-size:20px}}
/* Game Monitor v1.4 metadata */
#jbmMonitor .monitor-head-center #monitorMeta{display:flex;flex-direction:column;align-items:center;gap:2px;line-height:1.15}
#jbmMonitor .monitor-context-line{font-weight:800;color:#ff7a00;letter-spacing:.055em;text-transform:uppercase;font-size:12px}
#jbmMonitor .monitor-status-line{color:#9da8b7;font-weight:700;font-size:11px;letter-spacing:.04em;text-transform:uppercase}
@media (max-width:900px){#jbmMonitor .monitor-context-line{font-size:10px}#jbmMonitor .monitor-status-line{font-size:9px}}
/* Game Monitor v1.5 - larger JBM header branding */
.monitor-brand{gap:18px;min-width:430px}
.monitor-logo-wrap{width:150px;height:86px;flex:0 0 150px;overflow:visible}
.monitor-logo{width:150px;max-width:150px;max-height:86px;height:auto;object-fit:contain;transform:scale(1.08);transform-origin:left center}
.monitor-brand-title{font-size:24px;line-height:1.05}
.monitor-brand-tagline{font-size:13px}
.monitor-label{font-size:11px}
@media(max-width:1100px){.monitor-logo-wrap{width:110px;height:70px;flex-basis:110px}.monitor-logo{width:110px;max-width:110px;max-height:70px}.monitor-brand-title{font-size:20px}}
/* v1.6 Create League + League Switcher */
.create-league-card{width:min(760px,calc(100vw - 28px));max-height:92vh;overflow:auto}
.create-league-divider{display:flex;align-items:center;gap:12px;margin:10px 0 2px;color:var(--accent,#f58220);font-size:11px;font-weight:900;letter-spacing:.12em}.create-league-divider:after{content:"";height:1px;background:rgba(255,255,255,.13);flex:1}.create-category-row{display:grid;grid-template-columns:1.4fr .8fr .65fr .65fr auto;gap:8px;align-items:end;margin:8px 0}.create-category-row label{font-size:10px}.create-category-row input{width:100%}.create-category-remove{height:42px;min-width:42px;border:1px solid rgba(255,90,90,.4);background:rgba(255,70,70,.1);color:#ff8585;border-radius:8px;font-weight:900;cursor:pointer}.create-category-add{margin:5px 0 10px}.optional-label{opacity:.55;font-size:9px}.portal-toolbar select{min-width:240px}.manager-league-brand-card img{object-fit:contain}
@media(max-width:700px){.create-category-row{grid-template-columns:1fr 1fr}.create-category-remove{grid-column:2}.portal-toolbar select{min-width:0;width:100%}}

/* v1.7 league controls visibility */
.league-head-fixed{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important}
.create-league-visible{display:inline-flex!important;visibility:visible!important;opacity:1!important;align-items:center;justify-content:center;min-width:170px}
.league-switcher-bar{display:grid;grid-template-columns:auto minmax(260px,1fr);align-items:center;gap:12px;margin:-2px 0 18px;padding:12px 14px;background:#11161d;border:1px solid #343d49;border-radius:12px}
.league-switcher-bar label{font-size:10px;font-weight:900;letter-spacing:.12em;color:#aeb7c4}
.league-switcher-bar select{width:100%;background:#0d1117;color:#fff;border:1px solid #3b4654;border-radius:8px;padding:11px 12px;font-weight:800}
@media(max-width:760px){.league-head-fixed{align-items:stretch!important;flex-direction:column!important}.create-league-visible{width:100%}.league-switcher-bar{grid-template-columns:1fr}}
/* v1.8 public player registration */
.player-head-actions{display:flex;gap:10px;flex-wrap:wrap}.public-reg-shell{min-height:100vh;padding:34px 18px;background:radial-gradient(circle at top right,rgba(255,102,0,.14),transparent 34%),#090d12;color:#fff}.public-reg-card{max-width:760px;margin:0 auto;background:#10161d;border:1px solid #34404d;border-radius:20px;padding:28px;box-shadow:0 24px 70px rgba(0,0,0,.45)}.public-reg-brand{display:flex;gap:18px;align-items:center;border-bottom:1px solid #303944;padding-bottom:20px;margin-bottom:22px}.public-reg-brand img{width:90px;max-height:90px;object-fit:contain}.public-reg-brand img[src=""]{display:none}.public-reg-brand h1{margin:4px 0;font-size:28px}.public-reg-brand p{margin:0;color:#aeb8c4}.public-reg-success{text-align:center;padding:38px 12px}.public-reg-success h2{color:#ff6900}.registration-admin-card{margin-bottom:16px;padding:16px;border:1px solid #34404d;border-radius:14px;background:#111820}.registration-admin-row{display:flex;gap:10px;align-items:end;flex-wrap:wrap}.registration-admin-row>div{flex:1;min-width:180px}.registration-link-box{display:flex;gap:8px;margin-top:12px}.registration-link-box input{flex:1}.pending-registration{display:grid;grid-template-columns:1.6fr 1fr auto;gap:12px;align-items:center}.pending-actions{display:flex;gap:6px;flex-wrap:wrap}.pending-team-select{min-width:150px}@media(max-width:700px){.pending-registration{grid-template-columns:1fr}.public-reg-card{padding:18px}.player-head-actions{width:100%}.player-head-actions button{flex:1}}
/* v1.9 Season Management */
.league-head-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.season-action-row{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px}.season-status-note{margin-top:10px;font-size:12px;opacity:.72}.manager-badge.season-active{border-color:#e36c25;color:#ff9a58}.manager-badge.season-completed{opacity:.72}@media(max-width:720px){.league-head-actions{width:100%;justify-content:flex-start}.league-head-fixed{align-items:flex-start;flex-direction:column}}
/* v2.0 Team & Roster Management */
.roster-team-card{background:#17191d;border:1px solid #30343a;border-radius:14px;padding:16px;margin-bottom:14px}.roster-team-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.roster-team-head h4{margin:0}.roster-actions{display:flex;gap:7px;flex-wrap:wrap}.roster-player-list{margin-top:12px;border-top:1px solid #30343a}.roster-player{display:grid;grid-template-columns:minmax(180px,1fr) auto auto;gap:10px;align-items:center;padding:10px 0;border-bottom:1px solid #292c31}.roster-player:last-child{border-bottom:0}.roster-player.suspended{opacity:.58}.roster-history{margin-top:18px}.roster-history-row{padding:9px 0;border-bottom:1px solid #292c31;font-size:13px}.manager-mini-action.warn{border-color:#d39a36;color:#f1b44c}@media(max-width:720px){.roster-player{grid-template-columns:1fr}.roster-team-head{align-items:flex-start;flex-direction:column}}


/* v2.1 guided league setup */
.guided-setup-card{width:min(880px,calc(100vw - 28px))}.guided-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:18px 0 14px}.guided-step{display:flex;align-items:center;justify-content:center;gap:7px;padding:10px 8px;border:1px solid rgba(255,255,255,.11);border-radius:10px;color:rgba(255,255,255,.5);font-size:11px;font-weight:900;letter-spacing:.06em}.guided-step b{display:grid;place-items:center;width:23px;height:23px;border-radius:50%;background:rgba(255,255,255,.08)}.guided-step.active{border-color:rgba(245,130,32,.65);color:#fff;background:rgba(245,130,32,.1)}.guided-step.active b,.guided-step.done b{background:var(--accent,#f58220);color:#141414}.guided-step.done{color:rgba(255,255,255,.78)}.guided-panel.hidden{display:none!important}.guided-note{font-size:12px;line-height:1.5;opacity:.7;margin:2px 0 10px}.guided-nav{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-top:14px}.guided-nav .auth-primary,.guided-nav .auth-secondary{width:auto;min-width:170px}.guided-team-row{display:grid;grid-template-columns:1.25fr 1fr .6fr 1fr 1.25fr auto;gap:8px;align-items:end;margin:8px 0;padding:10px;border:1px solid rgba(255,255,255,.08);border-radius:10px;background:rgba(255,255,255,.025)}.guided-team-row label{font-size:10px}.guided-team-row input,.guided-team-row select{width:100%}.guided-ready-card{display:flex;flex-direction:column;gap:5px;padding:15px;border:1px solid rgba(245,130,32,.32);border-radius:10px;background:rgba(245,130,32,.07);margin:8px 0 14px}.guided-ready-card strong{color:#fff}.guided-ready-card span{font-size:12px;opacity:.72}.guided-check{display:flex!important;gap:9px;align-items:center!important;padding:12px;border:1px solid rgba(255,255,255,.09);border-radius:9px;margin:10px 0!important}.guided-check input{width:auto!important;margin:0}.guided-link-row{display:grid;grid-template-columns:1fr auto;gap:8px}.guided-link-row input{min-width:0}.guided-link-row button{min-width:100px}
@media(max-width:800px){.guided-steps{grid-template-columns:1fr 1fr}.guided-team-row{grid-template-columns:1fr 1fr}.guided-team-logo-wrap{grid-column:1 / -1}.guided-team-row .create-category-remove{grid-column:2}.guided-nav{flex-wrap:wrap}.guided-nav .auth-primary,.guided-nav .auth-secondary{flex:1;min-width:140px}}

/* ============================================================
   v2.3 PUBLIC SIGN-UP + SELF-SERVICE ONBOARDING
   ============================================================ */
.signup-nav-button{
  background:transparent;
  color:#f59e0b;
  border:1px solid rgba(245,158,11,.65);
}
.signup-nav-button:hover{
  background:rgba(245,158,11,.10);
}
.hero-account-actions{
  margin-top:22px;
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
}
.hero-account-primary{
  min-height:46px;
  padding:11px 18px;
  border:0;
  border-radius:9px;
  background:#f59e0b;
  color:#111827;
  font-weight:900;
  letter-spacing:.02em;
  cursor:pointer;
}
.hero-account-actions span{
  color:#cbd5e1;
  font-size:14px;
}
.hero-account-link{
  padding:0;
  border:0;
  background:transparent;
  color:#f59e0b;
  font:inherit;
  font-weight:800;
  cursor:pointer;
}
.portal-empty-onboarding{
  max-width:720px;
  margin:20px auto 4px;
  padding:30px;
  border:1px solid rgba(245,158,11,.35);
  border-radius:16px;
  background:linear-gradient(145deg,rgba(31,41,55,.98),rgba(17,24,39,.98));
  text-align:left;
}
.portal-empty-onboarding h3{
  margin:5px 0 10px;
  font-size:30px;
  color:#fff;
}
.portal-empty-onboarding p{
  max-width:620px;
  margin:0 0 20px;
  color:#cbd5e1;
  line-height:1.55;
}
.portal-empty-eyebrow{
  color:#f59e0b;
  font-size:12px;
  font-weight:900;
  letter-spacing:.12em;
}
.portal-empty-cta{
  width:auto;
  min-width:240px;
}
@media (max-width:760px){
  .signup-nav-button{display:none;}
  .hero-account-actions{align-items:flex-start;flex-direction:column;}
  .hero-account-primary{width:100%;}
  .portal-empty-onboarding{padding:22px;}
  .portal-empty-cta{width:100%;min-width:0;}
}
.platform-admin-button{border-color:#f58220;background:#f58220;color:#111}.platform-admin-dialog{width:min(1180px,96vw);max-height:94vh}.platform-admin-summary{display:grid;grid-template-columns:repeat(7,minmax(110px,1fr));gap:10px;margin:18px 0}.pa-list{display:grid;gap:10px}.pa-row{display:grid;grid-template-columns:minmax(220px,2fr) minmax(180px,1.4fr) repeat(3,minmax(90px,.7fr));gap:12px;align-items:center;padding:14px;border:1px solid rgba(255,255,255,.1);border-radius:12px;background:#17191d}.pa-row strong{display:block}.pa-muted{color:#9ca3af;font-size:13px}.pa-badge{display:inline-flex;width:max-content;padding:4px 8px;border-radius:999px;background:#2a2d32;font-size:11px;font-weight:800;text-transform:uppercase}.pa-user-row{grid-template-columns:minmax(220px,2fr) minmax(220px,2fr) 100px 130px}.pa-tab{background:transparent;color:inherit;border:0;padding:10px 14px;font-weight:800;cursor:pointer}.pa-tab.active{color:#f58220;border-bottom:2px solid #f58220}@media(max-width:900px){.platform-admin-summary{grid-template-columns:repeat(2,1fr)}.pa-row,.pa-user-row{grid-template-columns:1fr}.platform-admin-button{order:90}}

/* PLATFORM ADMIN v2 */
.platform-admin-summary .portal-summary-card{background:#171b21!important;border:1px solid #343b45!important;color:#fff!important;box-shadow:none!important}
.platform-admin-summary .portal-summary-card span{color:#9da6b2!important;font-weight:800;letter-spacing:.08em}
.platform-admin-summary .portal-summary-card strong{color:#fff!important;font-size:30px}
.pa-row{transition:border-color .15s ease,background .15s ease}.pa-row:hover{border-color:rgba(245,130,32,.45);background:#1a1d22}
.pa-actions{display:flex;justify-content:flex-end}.pa-support-btn{border:1px solid #f58220;background:transparent;color:#f58220;border-radius:9px;padding:9px 12px;font-weight:900;cursor:pointer}.pa-support-btn:hover{background:#f58220;color:#111}
.support-view-dialog{width:min(920px,95vw);max-height:92vh;overflow:auto}.support-view-body{display:grid;gap:14px;margin-top:18px}.support-card{border:1px solid #343b45;border-radius:12px;background:#15191e;padding:16px}.support-card h3{margin:0 0 10px}.support-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.support-stat{background:#0f1318;border:1px solid #303741;border-radius:10px;padding:12px}.support-stat span{display:block;color:#9da6b2;font-size:11px;font-weight:800}.support-stat strong{font-size:24px}.audit-row{grid-template-columns:minmax(180px,1.2fr) minmax(180px,1.5fr) minmax(220px,2fr) 170px}.pa-readonly{font-size:11px;color:#9da6b2;font-weight:800;letter-spacing:.06em}@media(max-width:900px){.support-grid{grid-template-columns:1fr}.audit-row{grid-template-columns:1fr}.pa-actions{justify-content:flex-start}}
/* Platform Admin v3 - League Support Console */
.support-view-dialog{width:min(1180px,96vw)}
.support-grid-five{grid-template-columns:repeat(5,1fr)}
.support-console{display:grid;gap:10px}
.support-section{border:1px solid #343b45;border-radius:12px;background:#15191e;overflow:hidden}
.support-section summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 16px;cursor:pointer;font-weight:900;list-style:none}
.support-section summary::-webkit-details-marker{display:none}
.support-section summary:after{content:'+';font-size:20px;color:#f58220;margin-left:auto}
.support-section[open] summary:after{content:'–'}
.support-section-body{border-top:1px solid #303741;padding:14px 16px;display:grid;gap:8px}
.support-count{font-size:11px;font-weight:900;color:#f58220;letter-spacing:.05em}
.support-kv{display:grid;grid-template-columns:140px minmax(160px,1fr) 140px minmax(160px,1fr);gap:10px 14px;align-items:center}
.support-kv span,.support-list-row span,.support-team-head span,.support-game-row span{color:#9da6b2;font-size:12px}
.support-list-row,.support-game-row{display:grid;grid-template-columns:minmax(220px,2fr) minmax(160px,1fr) minmax(120px,.7fr);gap:14px;align-items:center;padding:10px 0;border-bottom:1px solid #292f37}
.support-list-row:last-child,.support-game-row:last-child{border-bottom:0}.support-list-row>div,.support-game-row>div{display:grid;gap:3px}
.support-team{border:1px solid #2c333c;border-radius:10px;padding:12px;background:#101419}.support-team-head{display:flex;justify-content:space-between;gap:12px;margin-bottom:8px}.support-team-head>div{display:grid;gap:3px}
.support-player-row{display:grid;grid-template-columns:55px minmax(180px,1.5fr) 100px minmax(180px,1fr);gap:10px;padding:7px 4px;border-top:1px solid #252b33;align-items:center;font-size:13px}.support-player-row>span{color:#aab2bd}
@media(max-width:900px){.support-grid-five{grid-template-columns:repeat(2,1fr)}.support-kv{grid-template-columns:110px 1fr}.support-list-row,.support-game-row,.support-player-row{grid-template-columns:1fr}.support-team-head{align-items:flex-start}}

/* Production access note */
.production-access-note{margin-top:16px;text-align:center;color:#8f9aa7;font-size:12px;line-height:1.45}


/* Production website v1.1 - league branding on live box score */
.monitor-league-brand{display:flex;align-items:center;justify-content:center;gap:10px;margin:0 auto 8px;min-height:48px}
.monitor-league-brand img{width:52px;height:52px;object-fit:contain;border-radius:8px;background:#0d1117;flex:0 0 52px}
.monitor-league-brand small{display:block;color:#ff6a00;font-size:9px;font-weight:950;letter-spacing:.14em;text-align:left}
.monitor-league-brand strong{display:block;color:#fff;font-size:16px;line-height:1.1;text-align:left}
.monitor-league-brand.no-logo{min-height:0}
@media(max-width:700px){.monitor-league-brand{justify-content:flex-start}.monitor-league-brand img{width:44px;height:44px;flex-basis:44px}.monitor-league-brand strong{font-size:14px}}

/* ============================================================
   MULTI-LEAGUE NEUTRAL LANDING
   ============================================================ */
.neutral-landing{
  max-width:1520px;
  margin:0 auto;
  padding:0 42px 56px;
}
.neutral-landing-card{
  border:1px solid var(--line, #303946);
  border-radius:24px;
  background:rgba(18,24,32,.86);
  padding:34px 38px;
  max-width:760px;
}
.neutral-landing-card h2{
  margin:8px 0 10px;
  font-size:clamp(28px,3vw,44px);
  line-height:1.05;
}
.neutral-landing-card p{
  margin:0 0 22px;
  color:#aeb7c4;
  font-size:18px;
  line-height:1.55;
}
.neutral-select-button{
  border:0;
  border-radius:12px;
  background:linear-gradient(90deg,#ff7800,#f45400);
  color:#fff;
  font-weight:900;
  letter-spacing:.04em;
  padding:15px 24px;
  cursor:pointer;
}
@media (max-width:760px){
  .neutral-landing{padding:0 20px 36px;}
  .neutral-landing-card{padding:26px 22px;border-radius:18px;}
  .neutral-select-button{width:100%;}
}
.league-brand-actions{margin-top:14px;}
.league-share-button{
  border:1px solid rgba(255,120,0,.65);
  background:rgba(255,120,0,.08);
  color:#ff7a00;
  border-radius:10px;
  padding:9px 13px;
  font-size:12px;
  font-weight:900;
  letter-spacing:.07em;
  cursor:pointer;
}
.league-share-button:hover{background:rgba(255,120,0,.16);}
\n\n/* ============================================================\n   v1.3 - NEUTRAL LANDING HERO SCALE\n   The root site opens without a league context. The larger hero\n   is used only on that neutral landing page.\n   ============================================================ */\n.hero.neutral-hero h1 {\n  font-size: clamp(64px, 6.6vw, 104px) !important;\n  line-height: .90 !important;\n  letter-spacing: -.06em !important;\n}\n.hero.neutral-hero h1 span {\n  font-size: .92em !important;\n}\n@media(max-width:800px) {\n  .hero.neutral-hero h1 {\n    font-size: clamp(52px, 10vw, 78px) !important;\n  }\n}\n@media(max-width:520px) {\n  .hero.neutral-hero h1 {\n    font-size: clamp(42px, 12vw, 60px) !important;\n  }\n}\n

/* ============================================================
   v1.4 - CLEAN NEUTRAL HOME
   One league entry point: SELECT LEAGUE in the navigation.
   ============================================================ */
.hero.neutral-hero {
  grid-template-columns: minmax(0, 1fr) !important;
  min-height: 430px;
  align-items: center;
}
.hero.neutral-hero .hero-copy {
  max-width: 1180px;
}
.hero.neutral-hero h1 {
  font-size: clamp(88px, 8.6vw, 146px) !important;
  line-height: .84 !important;
  letter-spacing: -.065em !important;
  margin-top: 18px !important;
  margin-bottom: 28px !important;
}
.hero.neutral-hero h1 span {
  font-size: .94em !important;
}
.hero.neutral-hero > .league-selector-card {
  display: none !important;
}
.hero.neutral-hero.league-picker-open {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 470px) !important;
}
.hero.neutral-hero.league-picker-open > .league-selector-card {
  display: block !important;
}
.neutral-landing {
  max-width: 1520px;
  margin: 0 auto;
  padding: 0 42px 68px;
}
.neutral-capabilities {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid #2d3540;
  border-bottom: 1px solid #2d3540;
}
.neutral-capabilities > div {
  padding: 26px 28px;
  border-right: 1px solid #2d3540;
}
.neutral-capabilities > div:first-child { padding-left: 0; }
.neutral-capabilities > div:last-child { border-right: 0; }
.neutral-capabilities strong {
  display: block;
  color: #ff6a00;
  font-size: 13px;
  letter-spacing: .14em;
  margin-bottom: 8px;
}
.neutral-capabilities span {
  display: block;
  color: #aeb7c4;
  font-size: 15px;
  line-height: 1.45;
}
@media(max-width:900px) {
  .hero.neutral-hero h1 { font-size: clamp(66px, 11vw, 104px) !important; }
  .hero.neutral-hero.league-picker-open { grid-template-columns: 1fr !important; }
  .neutral-capabilities { grid-template-columns: repeat(2, 1fr); }
  .neutral-capabilities > div { border-bottom: 1px solid #2d3540; }
  .neutral-capabilities > div:nth-child(2) { border-right: 0; }
  .neutral-capabilities > div:nth-last-child(-n+2) { border-bottom: 0; }
}
@media(max-width:560px) {
  .hero.neutral-hero { min-height: 360px; }
  .hero.neutral-hero h1 { font-size: clamp(54px, 15vw, 76px) !important; }
  .neutral-landing { padding: 0 20px 42px; }
  .neutral-capabilities { grid-template-columns: 1fr; }
  .neutral-capabilities > div,
  .neutral-capabilities > div:first-child { padding: 20px 0; border-right: 0; border-bottom: 1px solid #2d3540; }
  .neutral-capabilities > div:nth-last-child(-n+2) { border-bottom: 1px solid #2d3540; }
  .neutral-capabilities > div:last-child { border-bottom: 0; }
}

/* ============================================================
   v1.5 - REBUILT NEUTRAL HOME + DEDICATED LEAGUE SELECTOR
   ============================================================ */
.hero.neutral-hero {
  display: block !important;
  min-height: 520px;
  padding-top: 96px;
  padding-bottom: 76px;
}
.hero.neutral-hero .hero-copy { max-width: 1320px; }
.hero.neutral-hero h1 {
  font-size: clamp(108px, 10.8vw, 184px) !important;
  line-height: .80 !important;
  letter-spacing: -.07em !important;
  margin: 22px 0 34px !important;
}
.hero.neutral-hero h1 span { font-size: .96em !important; }
.hero.neutral-hero .hero-copy > p {
  max-width: 820px;
  font-size: clamp(18px, 1.35vw, 23px);
  line-height: 1.65;
}
.hero > .league-selector-card { display: none; }

.neutral-landing {
  max-width: 1520px;
  margin: 0 auto;
  padding: 0 42px 76px;
}
.neutral-capabilities {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  border: 0;
}
.neutral-capabilities > div,
.neutral-capabilities > div:first-child,
.neutral-capabilities > div:last-child {
  min-height: 150px;
  padding: 28px 26px;
  border: 1px solid #303a48;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(21,28,38,.96), rgba(13,18,25,.96));
}
.neutral-capabilities strong {
  display: block;
  color: #ff6a00;
  font-size: 14px;
  letter-spacing: .13em;
  margin-bottom: 14px;
}
.neutral-capabilities span {
  display: block;
  color: #c0c7d1;
  font-size: 16px;
  line-height: 1.55;
}
.league-selection-page {
  max-width: 1520px;
  min-height: calc(100vh - 220px);
  margin: 0 auto;
  padding: 90px 42px 100px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 500px);
  gap: 80px;
  align-items: start;
}
.league-selection-intro { padding-top: 26px; max-width: 720px; }
.league-selection-intro h2 {
  margin: 14px 0 18px;
  color: #f7f8fa;
  font-size: clamp(52px, 5.4vw, 84px);
  line-height: .95;
  letter-spacing: -.045em;
}
.league-selection-intro p {
  margin: 0;
  color: #aeb7c4;
  font-size: 19px;
  line-height: 1.65;
}
.league-selection-page .league-selector-card {
  display: block !important;
  position: sticky;
  top: 120px;
  width: 100%;
}
@media(max-width:900px) {
  .hero.neutral-hero { min-height: 430px; padding-top: 70px; }
  .hero.neutral-hero h1 { font-size: clamp(76px, 13vw, 120px) !important; }
  .neutral-capabilities { grid-template-columns: repeat(2, 1fr); }
  .league-selection-page { grid-template-columns: 1fr; gap: 38px; padding-top: 60px; }
  .league-selection-page .league-selector-card { position: static; max-width: 620px; }
}
@media(max-width:560px) {
  .hero.neutral-hero { min-height: 390px; padding: 58px 20px 48px; }
  .hero.neutral-hero h1 { font-size: clamp(58px, 17vw, 84px) !important; }
  .hero.neutral-hero .hero-copy > p { font-size: 16px; }
  .neutral-landing { padding: 0 20px 50px; }
  .neutral-capabilities { grid-template-columns: 1fr; gap: 12px; }
  .neutral-capabilities > div,
  .neutral-capabilities > div:first-child { min-height: 0; padding: 22px; border: 1px solid #303a48; }
  .league-selection-page { padding: 48px 20px 70px; }
  .league-selection-intro h2 { font-size: 48px; }
  .league-selection-intro p { font-size: 16px; }
}

/* v1.7 - League staff modal */
.staff-add-card{width:min(540px,100%)}.staff-role-help{margin-top:-4px;padding:11px 12px;border:1px solid rgba(245,130,32,.24);border-radius:9px;background:rgba(245,130,32,.06);color:#aeb7c4;font-size:12px;line-height:1.45}.staff-modal-actions{display:grid;grid-template-columns:1fr 1.4fr;gap:10px;margin-top:4px}.staff-modal-actions .auth-primary,.staff-modal-actions .auth-secondary{width:100%;margin:0}.auth-message.error{color:#ff8a80}
@media(max-width:560px){.staff-modal-actions{grid-template-columns:1fr}}

/* v1.8 guided league setup - staff step */
.guided-steps{grid-template-columns:repeat(5,1fr)}
.guided-staff-row{display:grid;grid-template-columns:minmax(260px,1.5fr) minmax(150px,.8fr) minmax(240px,1.2fr) auto;gap:8px;align-items:end;margin:8px 0;padding:10px;border:1px solid rgba(255,255,255,.08);border-radius:10px;background:rgba(255,255,255,.025)}
.guided-staff-row label{font-size:10px}.guided-staff-row input,.guided-staff-row select{width:100%}.guided-staff-help{align-self:center;font-size:11px;line-height:1.35;color:rgba(255,255,255,.62);padding-top:17px}
@media(max-width:850px){.guided-steps{grid-template-columns:repeat(2,1fr)}.guided-staff-row{grid-template-columns:1fr 1fr}.guided-staff-help{grid-column:1 / -1;padding-top:0}.guided-staff-row .create-category-remove{grid-column:2}}

/* v1.9 guided setup: review before create */
.guided-steps{grid-template-columns:repeat(6,1fr)}
.guided-review-summary{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:10px 0 14px}.guided-review-card{display:flex;flex-direction:column;gap:5px;padding:14px;border:1px solid rgba(255,255,255,.1);border-radius:10px;background:rgba(255,255,255,.025)}.guided-review-card span{font-size:10px;letter-spacing:.13em;font-weight:900;color:var(--accent,#f58220)}.guided-review-card strong{font-size:17px;color:#fff}.guided-review-card small{line-height:1.45;color:rgba(255,255,255,.65)}
@media(max-width:850px){.guided-steps{grid-template-columns:repeat(2,1fr)}.guided-review-summary{grid-template-columns:1fr}}

/* v1.9.1 guided setup navigation + calendar controls */
.guided-date-field{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:stretch}.guided-date-button{border:1px solid #46515f;background:#1a212b;color:#fff;border-radius:9px;padding:0 14px;font-size:10px;font-weight:900;letter-spacing:.08em;cursor:pointer}.guided-date-button:hover{border-color:#ff6a00;color:#ff8a28}.guided-date-input{cursor:pointer}.guided-date-input::-webkit-calendar-picker-indicator{cursor:pointer;transform:scale(1.25);filter:invert(1);opacity:.8}@media(max-width:650px){.guided-date-field{grid-template-columns:1fr}.guided-date-button{min-height:42px}}

/* v1.9.5 league logo upload */
.league-logo-upload{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:6px}.league-logo-file-name{font-size:12px;opacity:.72}.league-logo-preview{width:72px;height:72px;object-fit:contain;border:1px solid rgba(255,255,255,.15);border-radius:12px;background:rgba(255,255,255,.04);padding:6px}
.exhibition-roster{display:flex;flex-direction:column;gap:8px;margin:8px 0 12px}.exhibition-player-row{display:grid;grid-template-columns:minmax(0,1fr) 90px auto;gap:8px;align-items:center}.exhibition-player-row select,.exhibition-player-row input{min-width:0}.exhibition-badge{display:inline-flex;padding:4px 8px;border:1px solid currentColor;border-radius:999px;font-size:.72rem;font-weight:800;letter-spacing:.05em;margin-left:6px}
@media(max-width:720px){.exhibition-player-row{grid-template-columns:1fr 75px auto}}

/* v1.9.7 guided setup usability refinement */
.guided-team-row{grid-template-columns:minmax(260px,2.25fr) minmax(150px,1.15fr) minmax(90px,.65fr) minmax(135px,1fr) minmax(145px,1fr) auto;gap:12px;padding:14px}
.guided-team-row input,.guided-team-row select,.guided-staff-row input,.guided-staff-row select{min-height:46px;padding:10px 12px;font-size:14px}
.guided-team-name{font-size:15px!important;font-weight:750}.guided-team-count{margin-left:8px;color:rgba(255,255,255,.82);font-size:11px;white-space:nowrap}
.guided-team-logo-upload{display:flex;align-items:center;gap:8px;min-height:46px}.guided-team-logo-button{min-height:42px;white-space:nowrap}.guided-team-logo-preview{width:40px;height:40px;object-fit:contain;border-radius:8px;border:1px solid rgba(255,255,255,.13);padding:3px}.guided-team-logo-name{max-width:90px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;color:rgba(255,255,255,.58)}
.guided-team-category-wrap.single-category select{opacity:.88}
.guided-staff-row{grid-template-columns:minmax(420px,2.4fr) minmax(220px,1fr) auto;gap:14px;padding:14px}.guided-staff-help{padding-top:6px;font-size:10px}.guided-staff-email{font-size:15px!important}
.guided-step.done b{font-size:13px;font-weight:1000}.guided-step.done{border-color:rgba(245,130,32,.22);background:rgba(245,130,32,.035)}
@media(max-width:1050px){.guided-team-row{grid-template-columns:minmax(220px,2fr) minmax(140px,1fr) 90px minmax(125px,1fr) auto}.guided-team-logo-wrap{grid-column:1 / -2}.guided-staff-row{grid-template-columns:minmax(300px,2fr) minmax(190px,1fr) auto}}
@media(max-width:720px){.guided-team-row,.guided-staff-row{grid-template-columns:1fr}.guided-team-logo-wrap,.guided-team-row .create-category-remove,.guided-staff-row .create-category-remove{grid-column:auto}.guided-team-count{display:block;margin:5px 0 0}.guided-team-logo-name{max-width:160px}}

/* v1.9.8 staff identity */
.guided-staff-row{grid-template-columns:minmax(260px,1.15fr) minmax(360px,1.65fr) minmax(210px,.85fr) auto}
.guided-staff-name,.guided-staff-email{font-size:15px!important}
.staff-essential-label{font-size:9px;color:var(--accent,#ff6500);margin-left:5px;font-weight:700}
@media(max-width:1050px){.guided-staff-row{grid-template-columns:1fr 1.35fr}.guided-staff-row>div:nth-child(3){grid-column:1 / -1}.guided-staff-row .create-category-remove{grid-column:2;justify-self:end}}
@media(max-width:720px){.guided-staff-row{grid-template-columns:1fr}.guided-staff-row>div:nth-child(3),.guided-staff-row .create-category-remove{grid-column:auto}.guided-staff-row .create-category-remove{justify-self:stretch}}

/* v1.9.10 Player status + eligibility */
.player-management-row{grid-template-columns:minmax(260px,1.5fr) minmax(140px,.65fr) minmax(230px,.9fr) minmax(210px,.9fr);align-items:center}
.player-state-summary{display:flex;gap:7px;align-items:center;flex-wrap:nowrap}.player-state-badge{display:inline-block;border:1px solid #3a4552;border-radius:999px;padding:5px 9px;font-size:10px;font-weight:950;letter-spacing:.07em;white-space:nowrap}.status-active{border-color:#3d6b50}.status-inactive,.status-released{opacity:.72}.status-suspended{border-color:#8b4b42}.eligibility-eligible{border-color:#3d6b50}.eligibility-ineligible{border-color:#8b4b42}.player-status-control{display:grid;grid-template-columns:1fr auto;gap:7px;align-items:center}.player-status-control select{min-height:36px}.player-status-control button:disabled,.player-status-control select:disabled{opacity:.48;cursor:not-allowed}.player-history-note{grid-column:1/-1;color:#8f9aaa;font-size:10px;text-align:right}@media(max-width:1050px){.player-management-row{grid-template-columns:1fr 1fr}.player-state-summary,.player-status-control{justify-self:stretch}}@media(max-width:680px){.player-management-row{grid-template-columns:1fr}.player-state-summary{flex-wrap:wrap}.player-history-note{text-align:left}}

/* v1.9.12 schedule game date/time and exhibition */
.game-date-time-fields{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(120px,.85fr);gap:10px}.game-date-time-fields input{width:100%;min-width:0}.manager-field-help{display:block;margin-top:7px;color:#f6a45d;font-size:11px;line-height:1.35}.manager-field-help.hidden{display:none}@media(max-width:640px){.game-date-time-fields{grid-template-columns:1fr}}
.auto-days{display:flex;flex-wrap:wrap;gap:10px;margin:4px 0 12px}.auto-days label{display:flex;align-items:center;gap:5px;border:1px solid rgba(255,255,255,.12);padding:7px 9px;border-radius:8px}.auto-preview{margin:16px 0;max-height:320px;overflow:auto}.auto-preview-row{display:grid;grid-template-columns:60px 1fr 160px;gap:10px;padding:9px 4px;border-bottom:1px solid rgba(255,255,255,.08)}.manager-action.danger{border-color:rgba(255,90,90,.5)}

/* v1.9.20 League publication controls */
.league-publication-state{display:inline-flex;margin-top:10px;padding:6px 9px;border-radius:999px;border:1px solid #46515f;font-size:9px;font-weight:950;letter-spacing:.09em}.league-publication-state.is-public{border-color:#3d6b50;color:#a8e2bc}.league-publication-state.is-draft{border-color:#8b6742;color:#ffc08a}.manager-action.secondary{background:#252c36;border:1px solid #46515f}.manager-action:disabled{opacity:.55;cursor:wait}

/* v1.9.21 league action menu */
.league-action-menu-wrap{position:relative;display:block}.league-action-menu{position:absolute;right:0;top:calc(100% + 8px);z-index:80;min-width:230px;padding:8px;background:#111820;border:1px solid #34404d;border-radius:12px;box-shadow:0 16px 38px rgba(0,0,0,.38)}.league-action-menu button{display:block;width:100%;padding:11px 12px;border:0;border-radius:8px;background:transparent;color:#f5f7fa;text-align:left;font:inherit;font-weight:800;cursor:pointer}.league-action-menu button:hover{background:#1c2631}.league-action-menu button.danger{color:#ff7a70}.league-action-divider{height:1px;background:#303a45;margin:6px 4px}.league-action-menu.hidden{display:none}@media(max-width:720px){.league-action-menu{left:0;right:auto;min-width:250px}}

/* v1.9.22 Team Manager branding */
.team-manager-brand-card{margin-bottom:16px}.team-manager-brand{display:flex;align-items:center;gap:16px}.team-manager-logo-preview,.team-manager-logo-placeholder{width:82px;height:82px;border-radius:16px;object-fit:contain;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);padding:8px;box-sizing:border-box}.team-manager-logo-placeholder{display:grid;place-items:center;font-size:11px;font-weight:800;letter-spacing:.08em;color:rgba(255,255,255,.5)}.team-manager-brand h4{margin:3px 0 5px}.team-manager-brand .manager-mini-action{margin-top:8px}.team-manager-brand #teamManagerLogoMessage{margin-left:8px}@media(max-width:640px){.team-manager-brand{align-items:flex-start}.team-manager-logo-preview,.team-manager-logo-placeholder{width:68px;height:68px;flex:0 0 68px}}

/* v1.9.23 editable league/team details + clearer staff role/status */
.staff-access-row .manager-badge{font-size:12px;padding:8px 12px;letter-spacing:.06em;min-width:92px;text-align:center}.staff-access-row .manager-badge:nth-of-type(1){color:#fff;font-weight:900}.staff-access-row .manager-badge:nth-of-type(2){font-weight:900}.league-edit-inline{margin-top:12px}.manager-list-row:has([data-team-edit]){grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) auto auto}
@media(max-width:760px){.manager-list-row:has([data-team-edit]){grid-template-columns:1fr}.staff-access-row .manager-badge{width:max-content}}

/* v1.9.26 pending invitation actions */
.pending-invite-row{grid-template-columns:minmax(0,1.4fr) minmax(150px,.7fr) auto}.pending-invite-row .manager-row-actions{display:flex;gap:8px;justify-content:flex-end;flex-wrap:wrap}.pending-invite-row .manager-mini-action:disabled{opacity:.6;cursor:wait}@media(max-width:760px){.pending-invite-row{grid-template-columns:1fr}.pending-invite-row .manager-row-actions{justify-content:flex-start}}

/* v1.9.27.1: permission-aware create-league visibility */
.create-league-visible.hidden{display:none!important;visibility:hidden!important;opacity:0!important}

/* v1.9.27.9 - consistent player action buttons */
.player-head-actions .manager-action{min-height:42px;min-width:185px;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;}
@media(max-width:700px){.player-head-actions .manager-action{min-width:0;}}

/* v1.9.27.12 league action alignment */
.league-action-menu #createLeagueButton.create-league-visible{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  visibility:visible!important;
  opacity:1!important;
  text-align:left!important;
  justify-content:flex-start!important;
}
.league-action-menu #createLeagueButton.create-league-visible.hidden{
  display:none!important;
}

/* v1.9.27.13 - league action alignment and multi-category schedule */
.league-action-menu #createLeagueButton{display:block!important;width:100%!important;min-width:0!important;text-align:left!important;padding:11px 12px!important;margin:0!important;justify-content:flex-start!important;}
.league-action-menu #createLeagueButton.hidden{display:none!important;}
.auto-playoff-option{display:flex!important;align-items:flex-start;gap:10px;padding:12px 14px;border:1px solid #34404d;border-radius:10px;background:#0e141b;}
.auto-playoff-option input{width:auto!important;margin-top:3px;}
.auto-playoff-option small{display:block;color:#9ca8b5;font-weight:500;}

/* v1.9.27.15 portal standings / leaders */
.portal-insight-filter{margin:0;min-width:220px;align-items:center;}
.portal-insight-filter label{font-size:.72rem;font-weight:800;letter-spacing:.08em;}
.portal-insight-filter select{min-width:170px;}
#managerStandingsContent{overflow-x:auto;}
#managerLeadersContent{margin-top:1rem;}
@media (max-width:760px){.portal-insight-filter{width:100%;}.portal-insight-filter select{width:100%;}}

/* v1.9.27.16 schedule controls */
#autoScheduleStartDate,#autoScheduleFirstTime{cursor:pointer;}
.auto-playoff-option{align-items:center!important;cursor:pointer;font-size:14px!important;line-height:1.35;}
.auto-playoff-option input[type="checkbox"]{appearance:none;-webkit-appearance:none;width:42px!important;height:24px!important;min-width:42px;border-radius:999px;border:1px solid #4a5664;background:#202832;position:relative;margin:0!important;cursor:pointer;}
.auto-playoff-option input[type="checkbox"]:before{content:"";position:absolute;width:18px;height:18px;border-radius:50%;left:2px;top:2px;background:#d9e0e7;transition:.15s ease;}
.auto-playoff-option input[type="checkbox"]:checked{background:#ff6a00;border-color:#ff6a00;}
.auto-playoff-option input[type="checkbox"]:checked:before{transform:translateX(18px);background:white;}


/* v1.9.27.18 — schedule playoff switch */
.auto-playoff-switch{width:100%;display:flex;align-items:center;gap:14px;padding:12px 14px;border:1px solid #34404d;border-radius:10px;background:#0e141b;color:#d9e0e7;text-align:left;cursor:pointer;font:inherit;}
.auto-playoff-switch:hover{border-color:#596675;}
.auto-switch-track{position:relative;width:48px;height:26px;min-width:48px;border-radius:999px;background:#28313b;border:1px solid #4a5664;transition:.18s ease;}
.auto-switch-knob{position:absolute;left:3px;top:3px;width:18px;height:18px;border-radius:50%;background:#d9e0e7;transition:.18s ease;}
.auto-playoff-switch.is-on .auto-switch-track{background:#ff6a00;border-color:#ff6a00;}
.auto-playoff-switch.is-on .auto-switch-knob{transform:translateX(21px);background:#fff;}
.auto-switch-copy{font-weight:800;line-height:1.35;}
.auto-switch-copy small{display:block;margin-top:2px;color:#9ca8b5;font-weight:600;}

/* v1.9.27.22 portal box-score row focus */
#jbmMonitor .monitor-player-row{cursor:pointer;transition:background .12s ease}#jbmMonitor .monitor-player-row:hover td{background:#202b38!important}#jbmMonitor .monitor-player-row.monitor-row-selected td{background:#2a3d55!important;box-shadow:inset 0 1px 0 rgba(255,106,0,.55),inset 0 -1px 0 rgba(255,106,0,.55)}#jbmMonitor .monitor-player-row.monitor-row-selected td:first-child{box-shadow:inset 3px 0 0 #ff6a00,inset 0 1px 0 rgba(255,106,0,.55),inset 0 -1px 0 rgba(255,106,0,.55)}#jbmMonitor .monitor-pf-max{color:#ff3b30!important;font-weight:1000!important;font-size:15px}

/* v1.9.27.25 - category edit pill matches status pill */
.category-row-actions{display:inline-flex;align-items:center;justify-content:flex-end;gap:5px;white-space:nowrap;width:max-content;justify-self:end}
.category-edit-pill{appearance:none;-webkit-appearance:none;border:0;margin:0;min-width:0;width:auto;height:auto;font:inherit;line-height:normal;cursor:pointer;text-transform:none}
.category-edit-pill:hover{outline:1px solid #ff6a00;color:#fff}
.category-edit-pill:disabled{opacity:.6;cursor:wait}
.manager-list-row:has(.category-row-actions){grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) max-content}
@media(max-width:760px){.manager-list-row:has(.category-row-actions){grid-template-columns:1fr max-content}.manager-list-row:has(.category-row-actions)>small{grid-column:1 / -1}.category-row-actions{grid-column:2;grid-row:1 / span 2}}

/* v1.9.27.31 schedule action bar */
.schedule-head-actions{flex-wrap:nowrap;gap:7px}.schedule-head-actions .manager-action{padding:10px 12px;font-size:12px;white-space:nowrap;min-width:0}.schedule-head-actions .manager-action.secondary{background:#252c36;border:1px solid #46515f}.schedule-head-actions .manager-action.danger{background:#ff6a00;border:1px solid rgba(255,90,90,.5)}
@media(max-width:1050px){.schedule-head-actions{flex-wrap:wrap}}
@media(max-width:760px){.schedule-head-actions{width:100%;flex-direction:column;align-items:stretch}.schedule-head-actions .manager-action{width:100%}}

/* v1.9.27.32 safe team deletion */
.team-delete-row{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) auto auto}.team-delete-row .manager-row-actions,.roster-team-head-actions{display:flex;align-items:center;gap:8px;justify-content:flex-end}.manager-mini-action.danger{border-color:rgba(255,92,92,.5);color:#ff8a80}.manager-mini-action.danger:hover{border-color:#ff6b61;background:rgba(255,92,92,.1)}@media(max-width:760px){.team-delete-row{grid-template-columns:1fr}.team-delete-row .manager-row-actions,.roster-team-head-actions{justify-content:flex-start;flex-wrap:wrap}}

/* v1.9.27.34 - category filters for Teams and Players */
.manager-filter-row-multi{display:flex;gap:14px;align-items:end;flex-wrap:wrap}.manager-filter-row-multi>div{display:flex;flex-direction:column;gap:6px;min-width:220px}.manager-filter-row-multi select{min-width:220px}@media(max-width:700px){.manager-filter-row-multi{display:grid;grid-template-columns:1fr}.manager-filter-row-multi>div,.manager-filter-row-multi select{min-width:0;width:100%}}


/* v1.9.27.39 - player identity detail hierarchy */
.player-full-name-line,.player-meta-line{display:block;margin-top:2px;color:#9fa9b6;font-size:11px;font-weight:500;line-height:1.35}
.player-meta-line{margin-top:1px}
.leader-full-name,.leader-meta{margin-top:2px;color:#9fa9b6;font-size:10px;font-weight:500;line-height:1.3;white-space:normal}
.leader-meta{margin-top:1px}
.stats-player-subline{display:block;margin-top:2px;color:#9fa9b6;font-size:10px;font-weight:500;white-space:nowrap}
.manager-award-card .player-full-name-line,.manager-award-card .player-meta-line,.manager-rank-row .player-full-name-line,.manager-rank-row .player-meta-line{color:#9fa9b6}

/* ============================================================
   v1.9.27.42 - PHONE LANDSCAPE LAYOUT
   Keep phones in a compact mobile presentation even when their
   landscape width crosses the normal tablet/desktop breakpoint.
   ============================================================ */
@media (orientation: landscape) and (max-width: 1100px) and (max-height: 560px) {
  .topbar {
    min-height: 0 !important;
    padding: 5px 10px !important;
    gap: 8px !important;
    flex-direction: row !important;
    align-items: center !important;
  }

  .brand-wrap {
    width: auto !important;
    flex: 0 0 auto !important;
    gap: 0 !important;
  }

  .jbm-logo {
    height: 54px !important;
    max-width: 138px !important;
  }

  .brand-text {
    display: none !important;
  }

  .nav {
    width: auto !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    gap: 4px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    flex-wrap: nowrap !important;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .nav-link {
    flex: 0 0 auto !important;
    padding: 8px 9px !important;
    font-size: 10px !important;
    line-height: 1.1 !important;
    letter-spacing: .055em !important;
    white-space: nowrap !important;
  }

  main {
    width: min(100% - 20px, 980px) !important;
  }

  .boxscore-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .boxscore-panel {
    overflow: hidden !important;
  }

  .boxscore-panel .table-scroll {
    width: 100% !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
  }

  .boxscore-table {
    width: 720px !important;
    min-width: 720px !important;
    table-layout: fixed !important;
  }

  .boxscore-table th,
  .boxscore-table td {
    padding: 8px 5px !important;
    font-size: 11px !important;
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: clip !important;
  }

  .boxscore-table th:nth-child(1),
  .boxscore-table td:nth-child(1) {
    width: 38px !important;
  }

  .boxscore-table th:nth-child(2),
  .boxscore-table td:nth-child(2) {
    width: 170px !important;
    text-align: left !important;
  }

  .boxscore-table th:nth-child(n+3),
  .boxscore-table td:nth-child(n+3) {
    width: 51px !important;
    text-align: center !important;
  }

  .team-boxscore-name {
    padding: 10px 12px !important;
    font-size: 18px !important;
  }

  .big-scoreboard {
    gap: 8px !important;
  }
}

/* ============================================================
   v1.9.27.43 - PUBLIC DESKTOP PORTAL-STYLE BOX SCORE
   Desktop/laptop mirrors the portal monitor: both team box scores
   sit side-by-side with team score and current-quarter team fouls.
   Mobile portrait and phone landscape remain stacked/readable.
   ============================================================ */

.team-boxscore-head {
  min-height: 74px;
  padding: 12px 16px;
  border-bottom: 1px solid #252b33;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.team-boxscore-head .team-boxscore-name {
  padding: 0;
  border: 0;
  font-size: 22px;
  line-height: 1.05;
}

.team-boxscore-fouls {
  margin-top: 5px;
  color: #9fa9b6;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .10em;
}

.team-boxscore-score {
  flex: 0 0 auto;
  color: #fff;
  font-size: 34px;
  font-weight: 1000;
  line-height: 1;
}

@media (min-width: 1101px), (min-width: 900px) and (min-height: 700px) {
  .boxscore-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    align-items: start;
    gap: 14px !important;
  }

  .boxscore-panel {
    min-width: 0;
    overflow: hidden;
  }

  .boxscore-panel .table-scroll {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .boxscore-table {
    width: 100% !important;
    min-width: 620px !important;
    table-layout: fixed !important;
  }

  .boxscore-table th,
  .boxscore-table td {
    padding: 9px 4px !important;
    font-size: 10px !important;
  }

  .boxscore-table th:nth-child(1),
  .boxscore-table td:nth-child(1) {
    width: 36px !important;
  }

  .boxscore-table th:nth-child(2),
  .boxscore-table td:nth-child(2) {
    width: 150px !important;
    text-align: left !important;
  }

  .boxscore-table th:nth-child(n+3),
  .boxscore-table td:nth-child(n+3) {
    width: 43px !important;
    text-align: center !important;
  }
}

@media (max-width: 1100px), (max-height: 699px) {
  .team-boxscore-head {
    min-height: 0;
    padding: 10px 12px;
  }

  .team-boxscore-head .team-boxscore-name {
    font-size: 18px;
  }

  .team-boxscore-score {
    font-size: 28px;
  }
}

/* ============================================================
   v1.9.27.44 - PUBLIC DESKTOP MATCHES PORTAL BOX SCORE
   Desktop/laptop public game module mirrors the portal monitor.
   Best Player remains FINAL-only on the public website.
   ============================================================ */

.public-portal-desktop {
  display: none;
}

.public-game-mobile {
  display: block;
}

@media (min-width: 1101px), (min-width: 900px) and (min-height: 700px) {
  .public-portal-desktop {
    display: block;
  }

  .public-game-mobile {
    display: none;
  }

  .public-portal-desktop {
    color: #fff;
  }

  .public-portal-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 22px;
    padding: 14px 18px;
    margin-bottom: 14px;
    background: #151a21;
    border: 1px solid #343d49;
    border-radius: 14px;
  }

  .public-portal-jbm-brand {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
  }

  .public-portal-jbm-brand img {
    width: 118px;
    max-width: 118px;
    max-height: 72px;
    object-fit: contain;
    flex: 0 0 118px;
  }

  .public-portal-brand-title {
    color: #fff;
    font-size: 22px;
    font-weight: 950;
    letter-spacing: .055em;
    line-height: 1.05;
  }

  .public-portal-brand-tagline {
    margin-top: 3px;
    color: #aeb7c4;
    font-size: 12px;
  }

  .public-portal-kicker {
    margin-top: 5px;
    color: #ff6a00;
    font-size: 10px;
    font-weight: 950;
    letter-spacing: .15em;
  }

  .public-portal-game-heading {
    text-align: center;
    min-width: 0;
    justify-self: center;
  }

  .public-portal-league-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 8px;
    min-height: 64px;
  }

  .public-portal-league-logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
    border-radius: 10px;
    background: transparent;
    flex: 0 0 64px;
  }

  .public-portal-league-brand small {
    display: block;
    color: #ff6a00;
    font-size: 9px;
    font-weight: 950;
    letter-spacing: .14em;
    text-align: left;
  }

  .public-portal-league-brand strong {
    display: block;
    color: #fff;
    font-size: clamp(22px, 2.3vw, 34px);
    line-height: 1.05;
    font-weight: 1000;
    text-align: left;
  }

  .public-portal-game-heading h1 {
    margin: 0;
    color: #fff;
    font-size: 21px;
    line-height: 1.05;
  }

  .public-portal-context {
    margin-top: 4px;
    color: #ff7a00;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .05em;
    text-transform: uppercase;
  }

  .public-portal-status {
    margin-top: 3px;
    color: #9da8b7;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
  }

  .public-portal-live-note {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 4px;
    color: #ff6a00;
    font-weight: 900;
    text-transform: uppercase;
  }

  .public-portal-live-note span {
    font-size: 13px;
  }

  .public-portal-live-note small {
    color: #8f99a7;
    font-size: 9px;
    letter-spacing: .08em;
  }

  .public-portal-scoreline {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
    padding: 14px 24px;
    margin-bottom: 14px;
    background: #151a21;
    border: 1px solid #343d49;
    border-radius: 14px;
  }

  .public-portal-score-side {
    display: flex;
    align-items: center;
    gap: 20px;
  }

  .public-portal-score-side.right {
    justify-content: flex-end;
  }

  .public-portal-score-side span {
    color: #fff;
    font-size: 21px;
    font-weight: 950;
  }

  .public-portal-score-side b {
    color: #fff;
    font-size: 46px;
    line-height: 1;
  }

  .public-portal-scoreline em {
    color: #ff6a00;
    font-size: 14px;
    font-style: normal;
    font-weight: 950;
    text-transform: uppercase;
  }

  .public-portal-boxscore-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 14px !important;
    align-items: stretch;
  }

  .public-portal-desktop .boxscore-panel {
    background: #151a21;
    border-color: #343d49;
    border-radius: 14px;
    overflow: hidden;
  }

  .public-portal-desktop .team-boxscore-head {
    min-height: 62px;
    padding: 10px 12px;
    border-bottom: 1px solid #303844;
  }

  .public-portal-desktop .team-boxscore-name {
    font-size: 21px !important;
  }

  .public-portal-desktop .team-boxscore-fouls {
    color: #ff6a00;
    font-size: 10px;
    letter-spacing: 0;
  }

  .public-portal-desktop .team-boxscore-score {
    font-size: 34px;
  }

  .public-portal-desktop .boxscore-table {
    min-width: 0 !important;
    width: 100% !important;
    table-layout: fixed !important;
  }

  .public-portal-desktop .boxscore-table th,
  .public-portal-desktop .boxscore-table td {
    padding: 7px 4px !important;
    border-color: #303844;
    font-size: 10px !important;
  }

  .public-portal-desktop .boxscore-table th {
    background: #20262f;
    color: #b9c2ce;
    font-weight: 900;
    letter-spacing: .06em;
  }

  .public-portal-desktop .boxscore-table td {
    background: #151a21;
    color: #f3f4f6;
  }

  .public-portal-desktop .boxscore-table tbody tr:nth-child(even) td {
    background: #181e26;
  }

  .public-portal-desktop .boxscore-table .totals-row td {
    background: #20262f !important;
    color: #fff !important;
    font-weight: 900;
  }

  .public-portal-quarter-wrap {
    margin-top: 14px;
  }

  .public-portal-quarter-wrap .game-panel {
    margin: 0;
    background: #151a21;
    border-color: #343d49;
    border-radius: 14px;
  }

  .public-portal-quarter-wrap .section-kicker {
    color: #ff6a00;
  }

  .public-portal-desktop .best-player-card {
    margin-top: 14px;
    border-color: #ff6a00;
    background: #151a21;
  }
}


/* v1.9.27.54 - selected league branding in management portal */
.portal-league-branding{display:flex;align-items:center;gap:16px;margin:18px 0 16px;padding:14px 16px;border:1px solid #303844;border-radius:14px;background:#151a20;color:#fff}.portal-league-branding-logo-wrap{width:72px;height:72px;flex:0 0 72px;border-radius:12px;background:transparent;display:flex;align-items:center;justify-content:center;overflow:hidden}.portal-league-branding-logo{width:100%;height:100%;object-fit:contain;padding:5px;box-sizing:border-box}.portal-league-branding-logo-fallback{font-size:10px;font-weight:950;letter-spacing:.1em;color:#69717c;text-align:center}.portal-league-branding-copy{min-width:0}.portal-league-branding-kicker{display:block;color:#ff6a00;font-size:10px;font-weight:950;letter-spacing:.14em;margin-bottom:3px}.portal-league-branding h3{margin:0;color:#fff;font-size:22px;line-height:1.05}.portal-league-branding p{margin:5px 0 4px;color:#b9c1cc;font-size:12px}.portal-league-branding small{display:block;color:#7e8795;font-size:8px;font-weight:850;letter-spacing:.12em}.portal-league-branding[hidden]{display:none!important}@media(max-width:700px){.portal-league-branding{gap:12px;padding:12px}.portal-league-branding-logo-wrap{width:58px;height:58px;flex-basis:58px}.portal-league-branding h3{font-size:18px}.portal-league-branding p{font-size:11px}}


/* v1.9.27.62 - public standings/leaders category selectors */
.public-category-filter {
  min-width: 210px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-self: center;
}
.public-category-filter label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  color: var(--muted);
}
.public-category-filter select {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  color: var(--text);
  padding: 8px 34px 8px 12px;
  font: inherit;
  font-weight: 700;
}
@media (max-width: 720px) {
  .page-section .section-head { align-items: flex-start; gap: 14px; }
  .public-category-filter { width: 100%; min-width: 0; }
}


/* v1.9.27.65 - Player roster readability and controls */
.player-management-row{grid-template-columns:minmax(300px,1.45fr) minmax(130px,.55fr) minmax(260px,.9fr) minmax(240px,.85fr);gap:18px;padding:18px 16px;align-items:center}
.player-identity-block{min-width:0}.player-primary-line{display:block;font-size:16px;line-height:1.2}.player-team-category-line{display:block;margin-top:8px;color:#aeb7c3;font-size:12px}.player-position-age{display:flex;gap:8px;align-items:center;flex-wrap:wrap;color:#d5dbe3;font-weight:700}.player-position-age .manager-age{color:#ff7a00}.player-row-actions{display:flex;gap:8px;justify-content:flex-end;flex-wrap:wrap}.player-status-control{display:flex;flex-direction:column;align-items:stretch;gap:8px}.player-status-control select{width:100%;min-width:0}.player-state-summary{justify-content:flex-start}.player-full-name-line{margin-top:4px}.best-player-full-name{margin-top:4px;color:#aeb7c3;font-size:13px;font-weight:650;line-height:1.3}
@media(max-width:1050px){.player-management-row{grid-template-columns:minmax(260px,1.3fr) minmax(130px,.7fr)}.player-state-summary,.player-status-control{justify-self:stretch}.player-row-actions{justify-content:flex-start}}
@media(max-width:680px){.player-management-row{grid-template-columns:1fr;gap:12px}.player-row-actions{justify-content:flex-start}.player-status-control select{max-width:220px}.player-state-summary{flex-wrap:wrap}}

/* v1.9.27.70 approved roster identity layout */
.player-position-team{display:flex;flex-direction:column;gap:4px;min-width:0}
.player-position-team-line{display:flex;align-items:center;gap:10px;font-weight:800;line-height:1.2}
.player-position-label{color:#d5dbe3;font-size:15px}
.player-team-code{color:#ff7a00;font-size:15px;font-weight:950;letter-spacing:.03em}
.player-category-line{display:block;color:#aeb7c3;font-size:12px;line-height:1.3}
@media(max-width:680px){.player-position-team-line{gap:8px}}

/* v1.9.27.70 - Approved roster count */
.approved-roster-title-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.approved-roster-title-row h4{margin:0}
.approved-player-count{display:inline-flex;align-items:center;min-height:24px;padding:4px 9px;border:1px solid rgba(255,113,0,.42);border-radius:999px;color:#ff7100;font-size:11px;font-weight:800;letter-spacing:.06em;white-space:nowrap}
@media(max-width:640px){.approved-roster-title-row{gap:8px}.approved-player-count{font-size:10px;padding:3px 8px}}

/* v1.9.27.70 - filtered approved player count beside Team filter */
.manager-team-filter-with-count{display:flex;flex-direction:column;gap:6px}
.manager-team-filter-inline{display:flex;align-items:center;gap:10px}
.manager-team-filter-inline select{min-width:220px}
.manager-team-filter-inline .approved-player-count{flex:0 0 auto}
@media(max-width:640px){.manager-team-filter-inline{align-items:stretch;flex-direction:column}.manager-team-filter-inline select{min-width:0;width:100%}.manager-team-filter-inline .approved-player-count{align-self:flex-start}}

/* v1.9.27.72 - duplicate player registration warning */
.pending-registration.has-duplicate-warning{border-color:#d68a20;background:linear-gradient(90deg,rgba(214,138,32,.08),#151a21 34%)}
.duplicate-registration-warning{margin-top:9px;padding:9px 11px;border:1px solid #d68a20;border-radius:9px;background:rgba(214,138,32,.10);display:grid;gap:4px;color:#ffd79a}
.duplicate-registration-warning strong{font-size:10px;letter-spacing:.08em}
.duplicate-registration-warning small{color:#f1d8b3!important;line-height:1.4}
.duplicate-registration-warning.high{border-color:#d44;background:rgba(221,68,68,.10);color:#ffb6b6}
.duplicate-registration-warning.high small{color:#f3c1c1!important}
.manager-mini-action.duplicate-approve{box-shadow:0 0 0 1px #d68a20 inset}


/* v1.9.27.75 - Draft/public schedule controls */
.manager-game-state-stack{display:flex;flex-direction:column;gap:6px;align-items:flex-start}.manager-badge.game-draft-badge{border-color:rgba(255,255,255,.2);opacity:.82}.manager-badge.game-public-badge{border-color:rgba(0,220,130,.45)}@media(max-width:900px){.manager-game-state-stack{flex-direction:row;flex-wrap:wrap}}


/* v1.9.27.77 - Top 2 Best Players on live/final public game cards */
.game-best-players {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.10);
  grid-column: 1 / -1;
}
.game-best-players-title {
  margin-bottom: 8px;
  color: #ff6a00;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
}
.game-best-players-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 8px;
}
.game-best-player {
  display: grid;
  grid-template-columns: 28px minmax(0,1fr) auto;
  gap: 8px;
  align-items: center;
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  background: rgba(255,255,255,.025);
}
.game-best-player-rank {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 999px;
  background: rgba(255,106,0,.14);
  color: #ff7a18;
  font-size: 11px;
  font-weight: 900;
}
.game-best-player-main { min-width: 0; }
.game-best-player-name {
  overflow: hidden;
  color: #f5f7fb;
  font-size: 12px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.game-best-player-jersey {
  margin-left: 5px;
  color: #9aa4b2;
  font-size: 10px;
  font-weight: 800;
}
.game-best-player-team {
  margin-top: 2px;
  color: #aab3bf;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.game-best-player-stats {
  margin-top: 4px;
  color: #8f99a7;
  font-size: 9px;
  line-height: 1.35;
}
.game-best-player-impact {
  text-align: right;
}
.game-best-player-impact span {
  display: block;
  color: #fff;
  font-size: 14px;
  font-weight: 950;
}
.game-best-player-impact small {
  display: block;
  margin-top: 1px;
  color: #ff7a18;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .08em;
}
@media (max-width: 720px) {
  .game-best-players-grid { grid-template-columns: 1fr; }
  .game-best-player { grid-template-columns: 26px minmax(0,1fr) auto; }
}

/* v1.9.27.83 - Compact Best Players section */
.best-player-card {
  margin-top: 18px;
  margin-bottom: 34px;
  padding: 16px 18px;
  border-radius: 14px;
}
.best-player-kicker {
  font-size: 10px;
  letter-spacing: .14em;
}
.best-player-main {
  margin-top: 9px;
  gap: 16px;
}
.best-player-name {
  font-size: clamp(18px, 2.1vw, 24px);
}
.best-player-full-name {
  margin-top: 2px;
  font-size: 11px;
}
.best-player-team {
  margin-top: 2px;
  font-size: 11px;
}
.best-player-impact strong {
  margin-top: 2px;
  font-size: 23px;
}
.best-player-impact span {
  font-size: 8px;
}
.best-player-stats {
  margin-top: 13px;
  padding-top: 12px;
}
.best-player-stat strong {
  font-size: 17px;
}
.best-player-stat span {
  margin-top: 2px;
  font-size: 8px;
}
@media (max-width: 640px) {
  .best-player-card { padding: 14px; }
  .best-player-name { font-size: 18px; }
  .best-player-impact strong { font-size: 20px; }
  .best-player-stat strong { font-size: 16px; }
}


/* v1.9.27.84 - Side-by-side Best Players cards */
.best-player-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.best-player-item {
  min-width: 0;
  padding: 14px 14px 12px;
  border: 1px solid #2a3039;
  border-radius: 12px;
  background: rgba(255,255,255,0.02);
}
.best-player-item .best-player-main {
  margin-top: 0;
}
.best-player-item .best-player-stats {
  margin-top: 10px;
  padding-top: 10px;
}
@media (max-width: 900px) {
  .best-player-grid {
    grid-template-columns: 1fr;
  }
}


/* v1.9.27.85 - Compact side-by-side Best Players in scorer/portal monitor */
.scorer-best-card {
  display: block;
  margin: 0 0 12px;
  padding: 12px 14px;
}
.scorer-best-title,
.monitor-best-title {
  display: block;
  margin-bottom: 8px;
  color: #ff6a00;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .10em;
}
.scorer-best-grid,
.monitor-best-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.scorer-best-player,
.monitor-best-player {
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid #343d49;
  border-radius: 10px;
  background: rgba(255,255,255,.025);
}
.scorer-best-head,
.monitor-best-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.scorer-best-head h3,
.monitor-best-head h3 {
  margin: 0;
  font-size: 15px;
  line-height: 1.2;
}
.scorer-best-head strong,
.monitor-best-head strong {
  flex: 0 0 auto;
  color: #ff7a16;
  font-size: 12px;
  font-weight: 900;
}
.scorer-best-team,
.monitor-best-player > span {
  display: block;
  margin-top: 2px;
  color: #aeb6c1;
  font-size: 10px;
}
.scorer-best-stats,
.monitor-best-stats {
  margin-top: 7px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px 10px;
  font-size: 10px;
}
.scorer-best-stats b,
.monitor-best-stats b {
  font-weight: 800;
}
.monitor-best {
  display: block;
  margin-top: 12px;
  padding: 12px 14px;
}
.monitor-best h3 { margin: 0; }
.monitor-best-stats strong { display: none; }
@media (max-width: 760px) {
  .scorer-best-grid,
  .monitor-best-grid {
    grid-template-columns: 1fr;
  }
}
\n\n/* v1.9.27.86 - BP only in box score, smaller cards, game ordering cleanup */\n/* Public finalized box-score BP cards: compact and side-by-side. */\n.best-player-card {\n  margin-top: 14px;\n  margin-bottom: 22px;\n  padding: 12px 14px;\n}\n.best-player-kicker {\n  font-size: 9px;\n  letter-spacing: .11em;\n}\n.best-player-grid {\n  margin-top: 8px;\n  gap: 10px;\n}\n.best-player-item {\n  padding: 10px 11px 9px;\n  border-radius: 10px;\n}\n.best-player-name {\n  font-size: clamp(15px, 1.55vw, 18px);\n}\n.best-player-full-name,\n.best-player-team {\n  font-size: 9px;\n}\n.best-player-impact strong {\n  font-size: 18px;\n}\n.best-player-impact span {\n  font-size: 7px;\n}\n.best-player-item .best-player-stats {\n  margin-top: 8px;\n  padding-top: 8px;\n}\n.best-player-stat strong {\n  font-size: 14px;\n}\n.best-player-stat span {\n  font-size: 7px;\n}\n\n/* Internal portal/scorer BP cards: compact two-column presentation. */\n.scorer-best-card,\n.monitor-best {\n  padding: 9px 10px;\n  margin-bottom: 9px;\n}\n.scorer-best-title,\n.monitor-best-title {\n  margin-bottom: 6px;\n  font-size: 8px;\n}\n.scorer-best-grid,\n.monitor-best-grid {\n  gap: 8px;\n}\n.scorer-best-player,\n.monitor-best-player {\n  padding: 8px 9px;\n  border-radius: 9px;\n}\n.scorer-best-head h3,\n.monitor-best-head h3 {\n  font-size: 13px;\n}\n.scorer-best-head strong,\n.monitor-best-head strong {\n  font-size: 10px;\n}\n.scorer-best-team,\n.monitor-best-player > span {\n  font-size: 9px;\n}\n.scorer-best-stats,\n.monitor-best-stats {\n  margin-top: 5px;\n  gap: 4px 8px;\n  font-size: 9px;\n}\n@media (max-width: 760px) {\n  .best-player-grid,\n  .scorer-best-grid,\n  .monitor-best-grid {\n    grid-template-columns: 1fr;\n  }\n}\n

/* v1.9.27.87 - Owner/operator team logo upload in Teams */
.owner-team-identity{display:flex;align-items:center;gap:12px;min-width:0}
.owner-team-logo-preview,.owner-team-logo-placeholder{width:48px;height:48px;border-radius:10px;flex:0 0 48px;border:1px solid #343b46;background:#11161c}
.owner-team-logo-preview{object-fit:contain;padding:3px}
.owner-team-logo-placeholder{display:grid;place-items:center;color:#7f8995;font-size:8px;font-weight:900;letter-spacing:.08em}
@media(max-width:700px){.roster-team-head{align-items:flex-start}.roster-team-head-actions{flex-wrap:wrap}.owner-team-logo-preview,.owner-team-logo-placeholder{width:42px;height:42px;flex-basis:42px}}

/* v1.9.27.88 - Extra-compact public finalized-game Best Players */
.best-player-card {
  margin-top: 10px;
  margin-bottom: 16px;
  padding: 9px 10px;
  border-radius: 10px;
}
.best-player-kicker {
  font-size: 8px;
  letter-spacing: .09em;
}
.best-player-grid {
  margin-top: 6px;
  gap: 8px;
}
.best-player-item {
  padding: 8px 9px 7px;
  border-radius: 8px;
}
.best-player-item .best-player-main {
  gap: 10px;
  align-items: center;
}
.best-player-name {
  font-size: clamp(13px, 1.2vw, 15px);
  line-height: 1.1;
}
.best-player-full-name {
  margin-top: 1px;
  font-size: 8px;
  line-height: 1.1;
}
.best-player-team {
  margin-top: 1px;
  font-size: 8px;
  line-height: 1.1;
}
.best-player-impact strong {
  margin-top: 1px;
  font-size: 15px;
  line-height: 1;
}
.best-player-impact span {
  font-size: 6px;
}
.best-player-item .best-player-stats {
  margin-top: 6px;
  padding-top: 6px;
}
.best-player-stat strong {
  font-size: 12px;
  line-height: 1;
}
.best-player-stat span {
  margin-top: 1px;
  font-size: 6px;
}
@media (max-width: 640px) {
  .best-player-card { padding: 8px; }
  .best-player-name { font-size: 13px; }
  .best-player-impact strong { font-size: 14px; }
  .best-player-stat strong { font-size: 11px; }
}


/* v1.9.27.91 - Show category labels on public and portal Games tabs */
.game-matchup-category {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}


/* v1.9.27.92 - Prominent category between date and matchup */
.game-matchup-card {
  grid-template-columns: 145px 150px minmax(0,1fr) 60px minmax(0,1fr);
}
.game-matchup-category {
  margin: 0;
  color: #ffffff;
  font-size: 14px;
  line-height: 1.15;
  font-weight: 950;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-align: center;
}
.manager-game-summary {
  display: grid;
  gap: 4px;
}
.manager-game-date {
  color: #9fa9b6;
}
.manager-game-category {
  color: #ffffff;
  font-size: 14px;
  line-height: 1.15;
  font-weight: 950;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin: 1px 0 2px;
}
@media (max-width: 860px) {
  .game-matchup-card {
    grid-template-columns: 115px 120px minmax(0,1fr) 36px minmax(0,1fr);
    gap: 10px;
  }
  .game-matchup-category {
    font-size: 12px;
  }
}
@media (max-width: 640px) {
  .game-matchup-card {
    grid-template-columns: 1fr 1fr;
  }
  .game-matchup-info { grid-column: 1; }
  .game-matchup-category {
    grid-column: 2;
    align-self: center;
    text-align: right;
    font-size: 12px;
  }
  .game-matchup-card > .matchup-team:nth-of-type(1) { grid-column: 1; }
}

/* v1.9.27.93 - Fix public Games five-column layout after category insertion */
.game-row.game-matchup-card {
  grid-template-columns: 145px 150px minmax(0,1fr) 60px minmax(0,1fr) !important;
  gap: 18px !important;
}

#upcomingGames .game-row.game-matchup-card,
#recentGames .game-row.game-matchup-card {
  grid-template-columns: 105px 90px minmax(0,1fr) 28px minmax(0,1fr) !important;
  gap: 8px !important;
}

@media (max-width: 900px) {
  .game-row.game-matchup-card {
    grid-template-columns: 110px 110px minmax(0,1fr) 32px minmax(0,1fr) !important;
    gap: 8px !important;
  }
}

@media (max-width: 640px) {
  .game-row.game-matchup-card,
  #upcomingGames .game-row.game-matchup-card,
  #recentGames .game-row.game-matchup-card {
    grid-template-columns: 1fr auto 1fr !important;
    gap: 8px !important;
  }
  .game-row.game-matchup-card .game-matchup-info {
    grid-column: 1 / 2;
    grid-row: 1;
  }
  .game-row.game-matchup-card .game-matchup-category {
    grid-column: 2 / 4;
    grid-row: 1;
    align-self: center;
    justify-self: end;
    text-align: right;
    font-size: 11px;
  }
  .game-row.game-matchup-card > .matchup-team:nth-of-type(1) {
    grid-column: 1;
    grid-row: 2;
  }
  .game-row.game-matchup-card > .matchup-vs {
    grid-column: 2;
    grid-row: 2;
  }
  .game-row.game-matchup-card > .matchup-team:nth-of-type(2) {
    grid-column: 3;
    grid-row: 2;
  }
}


/* v1.9.27.94 - Portal Games one-line date/category/matchup */
.manager-game-primary-line {
  display: flex;
  align-items: baseline;
  gap: 7px;
  flex-wrap: wrap;
}
.manager-game-primary-line .manager-game-date,
.manager-game-primary-line .manager-game-category,
.manager-game-primary-line .manager-game-matchup {
  display: inline;
  margin: 0;
}
.manager-game-primary-line .manager-game-category {
  font-size: 13px;
  letter-spacing: .04em;
}
.manager-game-primary-line .manager-game-matchup {
  font-size: 15px;
}
.manager-game-separator {
  color: #66717e;
  font-weight: 800;
}
@media (max-width: 760px) {
  .manager-game-primary-line {
    gap: 5px;
  }
  .manager-game-primary-line .manager-game-category { font-size: 12px; }
  .manager-game-primary-line .manager-game-matchup { font-size: 14px; }
}


/* v1.9.27.96 - Orange category labels in public and portal game/schedule views */
.game-matchup-category,
.manager-game-category,
.manager-game-primary-line .manager-game-category {
  color: var(--accent, #ff7a00) !important;
}


/* v1.9.27.97 - Force both scorer BPs visible side by side */
.scorer-best-grid {
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:6px !important;
}
.scorer-best-player {
  min-width:0 !important;
  padding:6px 7px !important;
}
.scorer-best-head h3 {font-size:11px !important;}
.scorer-best-head strong {font-size:9px !important;}
.scorer-best-team {font-size:8px !important;}
.scorer-best-stats {font-size:8px !important;gap:3px 6px !important;}
@media (max-width:520px){
  .scorer-best-grid {grid-template-columns:repeat(2,minmax(0,1fr)) !important;}
  .scorer-best-head {display:block !important;}
  .scorer-best-head strong {display:block;margin-top:2px;}
  .scorer-best-stats {display:grid;grid-template-columns:repeat(3,auto);}
}

/* v1.9.27.100 - Team logo inside Add/Edit Team form */
.team-edit-logo-control{display:flex;align-items:center;gap:14px;padding:12px;border:1px solid rgba(255,255,255,.1);border-radius:12px;background:rgba(255,255,255,.025)}
.team-edit-logo-control .owner-team-logo-preview,.team-edit-logo-control .owner-team-logo-placeholder{width:64px;height:64px;flex:0 0 64px}
.team-edit-logo-actions{display:flex;flex-direction:column;align-items:flex-start;gap:7px;min-width:0}
.team-edit-logo-actions .manager-muted{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:280px}
@media(max-width:560px){.team-edit-logo-control{align-items:flex-start}.team-edit-logo-control .owner-team-logo-preview,.team-edit-logo-control .owner-team-logo-placeholder{width:56px;height:56px;flex-basis:56px}.team-edit-logo-actions .manager-muted{max-width:190px}}

/* v1.9.27.104 - Larger, more readable box-score typography */
.boxscore-table th,
.public-portal-desktop .boxscore-table th {
  font-size: 11px !important;
  line-height: 1.2 !important;
}
.boxscore-table td,
.public-portal-desktop .boxscore-table td {
  font-size: 12px !important;
  line-height: 1.25 !important;
}
.boxscore-table .player-cell,
.public-portal-desktop .boxscore-table .player-cell {
  font-size: 12.5px !important;
  font-weight: 900 !important;
}
.boxscore-table .totals-row td,
.public-portal-desktop .boxscore-table .totals-row td {
  font-size: 12px !important;
  font-weight: 950 !important;
}
.team-boxscore-head .team-boxscore-name,
.public-portal-desktop .team-boxscore-name {
  font-size: 23px !important;
}
.team-boxscore-score,
.public-portal-desktop .team-boxscore-score {
  font-size: 37px !important;
}
.quarter-table th,
.quarter-table td,
.public-portal-quarter-wrap table th,
.public-portal-quarter-wrap table td {
  font-size: 12px !important;
  line-height: 1.25 !important;
}
.public-portal-quarter-wrap .panel-title,
.public-portal-quarter-wrap .section-kicker {
  font-size: 13px !important;
}
@media (max-width: 900px) {
  .boxscore-table th,
  .public-portal-desktop .boxscore-table th {
    font-size: 10.5px !important;
  }
  .boxscore-table td,
  .public-portal-desktop .boxscore-table td,
  .boxscore-table .player-cell,
  .public-portal-desktop .boxscore-table .player-cell,
  .quarter-table th,
  .quarter-table td,
  .public-portal-quarter-wrap table th,
  .public-portal-quarter-wrap table td {
    font-size: 11px !important;
  }
}


/* v1.9.27.107 - Top 2 Best Players side by side, each complete on one line */
.best-player-compact-list {
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.best-player-compact-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 8px 9px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 9px;
  background: rgba(255,255,255,.025);
  white-space: nowrap;
  overflow-x: auto;
  font-size: 12px;
  line-height: 1.15;
  scrollbar-width: thin;
}
.best-player-rank {
  flex: 0 0 auto;
  color: var(--accent);
  font-weight: 900;
}
.best-player-compact-name {
  flex: 0 0 auto;
  color: #fff;
  font-weight: 900;
}
.best-player-compact-stat {
  flex: 0 0 auto;
  color: #d6dbe2;
  font-weight: 700;
}
.best-player-compact-stat b {
  color: #9fa8b4;
  font-size: 9px;
  letter-spacing: .05em;
}
@media (max-width: 760px) {
  .best-player-compact-list {
    grid-template-columns: 1fr;
  }
  .best-player-compact-row {
    gap: 7px;
    font-size: 11px;
  }
}

/* v1.9.27.108 - Denser Best Players row with larger readable type */
.best-player-card {
  margin-top: 10px !important;
  margin-bottom: 12px !important;
  padding: 8px 10px !important;
}
.best-player-kicker {
  font-size: 10px !important;
  line-height: 1.1;
  letter-spacing: .08em;
}
.best-player-compact-list {
  margin-top: 6px;
  gap: 10px;
}
.best-player-compact-row {
  gap: 10px;
  padding: 7px 10px;
  min-height: 34px;
  font-size: 14px;
  line-height: 1.1;
}
.best-player-rank {
  font-size: 14px;
}
.best-player-compact-name {
  font-size: 15px;
}
.best-player-compact-stat {
  font-size: 14px;
}
.best-player-compact-stat b {
  font-size: 11px;
  letter-spacing: .035em;
}
@media (min-width: 1100px) {
  .best-player-compact-row {
    overflow-x: visible;
  }
}
@media (max-width: 760px) {
  .best-player-card {
    padding: 8px !important;
  }
  .best-player-compact-row {
    gap: 8px;
    font-size: 12px;
    overflow-x: auto;
  }
  .best-player-compact-name {
    font-size: 13px;
  }
  .best-player-compact-stat {
    font-size: 12px;
  }
  .best-player-compact-stat b {
    font-size: 10px;
  }
}


/* v1.9.27.109 - Portal box score BP one-line side-by-side */
.monitor-best-compact {
  display: block;
  padding: 9px 10px;
}
.monitor-best-compact .monitor-best-title {
  display: block;
  margin-bottom: 7px;
  font-size: 9px;
}
.monitor-best-inline-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.monitor-best-inline {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid #343d49;
  border-radius: 9px;
  background: #171d25;
  white-space: nowrap;
  overflow: hidden;
}
.monitor-best-rank {
  color: #ff6a00;
  font-size: 14px;
  font-weight: 900;
  flex: 0 0 auto;
}
.monitor-best-name {
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1 1 auto;
  min-width: 0;
}
.monitor-best-stat {
  color: #d7dee8;
  font-size: 12px;
  font-weight: 800;
  flex: 0 0 auto;
}
.monitor-best-stat b {
  color: #aeb7c3;
  font-size: 10px;
  margin-right: 2px;
}
@media (max-width: 900px) {
  .monitor-best-inline-grid { grid-template-columns: 1fr; }
  .monitor-best-inline { overflow-x: auto; }
}

/* v1.9.27.110 - Portal BP stats larger while remaining one-line */
.monitor-best-inline {
  gap: 8px;
  padding: 9px 11px;
}
.monitor-best-rank {
  font-size: 15px;
}
.monitor-best-name {
  font-size: 15px;
}
.monitor-best-stat {
  font-size: 14px;
  line-height: 1;
}
.monitor-best-stat b {
  font-size: 12px;
  margin-right: 3px;
}
@media (min-width: 1200px) {
  .monitor-best-name { font-size: 16px; }
  .monitor-best-stat { font-size: 15px; }
  .monitor-best-stat b { font-size: 13px; }
}


/* v1.9.27.113 - league-dominant box-score branding in public + portal */
.public-portal-league-brand small{display:none!important}
#jbmMonitor .monitor-top{grid-template-columns:minmax(0,1fr) auto;align-items:start}
#jbmMonitor .monitor-game-heading{justify-self:center;text-align:center;width:100%;max-width:1100px}
#jbmMonitor .monitor-league-brand{display:flex;align-items:center;justify-content:center;gap:18px;margin:0 auto 10px;min-height:78px}
#jbmMonitor .monitor-league-brand img{width:82px;height:82px;flex:0 0 82px;object-fit:contain;border-radius:12px}
#jbmMonitor .monitor-league-brand strong{display:block;color:#fff;font-size:clamp(25px,2.6vw,38px);line-height:1.05;font-weight:1000;letter-spacing:.01em;text-align:left}
#jbmMonitor .monitor-league-brand small{display:none!important}
#jbmMonitor #monitorTitle{margin:0;font-size:clamp(23px,2vw,32px)}
#jbmMonitor .monitor-actions{justify-self:end}
@media(max-width:900px){#jbmMonitor .monitor-top{grid-template-columns:1fr}#jbmMonitor .monitor-actions{justify-self:center;order:2}#jbmMonitor .monitor-game-heading{order:1}#jbmMonitor .monitor-league-brand{gap:12px;min-height:64px}#jbmMonitor .monitor-league-brand img{width:62px;height:62px;flex-basis:62px}#jbmMonitor .monitor-league-brand strong{font-size:clamp(20px,5vw,28px);text-align:left}}

/* v1.9.27.114 - Balanced league branding and true centered portal header */
.public-portal-league-brand strong{
  font-size:clamp(20px,1.9vw,28px);
  line-height:1.08;
}
#jbmMonitor .monitor-top{
  position:relative;
  display:block;
  min-height:132px;
}
#jbmMonitor .monitor-game-heading{
  width:min(100%,1100px);
  max-width:1100px;
  margin:0 auto;
  text-align:center;
  justify-self:auto;
}
#jbmMonitor .monitor-actions{
  position:absolute;
  top:0;
  right:0;
  z-index:3;
}
#jbmMonitor .monitor-league-brand{
  gap:14px;
  min-height:70px;
  margin:0 auto 8px;
}
#jbmMonitor .monitor-league-brand img{
  width:68px;
  height:68px;
  flex:0 0 68px;
}
#jbmMonitor .monitor-league-brand strong{
  font-size:clamp(21px,1.9vw,29px);
  line-height:1.08;
  text-align:left;
}
#jbmMonitor #monitorTitle{
  font-size:clamp(22px,1.8vw,30px);
}
@media(max-width:900px){
  #jbmMonitor .monitor-top{min-height:0;padding-top:48px}
  #jbmMonitor .monitor-actions{top:0;right:0}
  #jbmMonitor .monitor-game-heading{width:100%}
  #jbmMonitor .monitor-league-brand{gap:10px;min-height:58px}
  #jbmMonitor .monitor-league-brand img{width:54px;height:54px;flex-basis:54px}
  #jbmMonitor .monitor-league-brand strong{font-size:clamp(18px,4.6vw,24px)}
  .public-portal-league-brand strong{font-size:clamp(18px,4.6vw,24px)}
}

/* v1.9.27.114 - compact centered league header controls */
.public-portal-league-brand strong{font-size:clamp(19px,1.65vw,26px);line-height:1.08}
#jbmMonitor .monitor-game-heading{position:relative;margin:0 auto;text-align:center}
#jbmMonitor .monitor-league-brand{justify-content:center}
#jbmMonitor .monitor-league-brand strong{font-size:clamp(19px,1.65vw,26px);line-height:1.08}
#jbmMonitor .monitor-actions{position:absolute;top:10px;right:12px;display:flex;gap:8px;z-index:4}
#jbmMonitor .monitor-icon-btn{width:38px;height:38px;min-width:38px;padding:0;margin:0;display:inline-flex;align-items:center;justify-content:center;font-size:21px;line-height:1;border-radius:8px}
@media(max-width:900px){
  #jbmMonitor .monitor-actions{top:8px;right:8px}
  #jbmMonitor .monitor-icon-btn{width:36px;height:36px;min-width:36px;font-size:19px}
  #jbmMonitor .monitor-league-brand strong{font-size:clamp(17px,4vw,22px)}
  .public-portal-league-brand strong{font-size:clamp(17px,4vw,22px)}
}

/* ============================================================
   v1.9.27.116 - MOBILE + TABLET RESPONSIVE POLISH
   Carries the current desktop box-score treatment cleanly onto
   phones and tablets for both public and portal monitor views.
   ============================================================ */

/* Tablet: keep the branded public desktop header, but avoid two cramped team tables. */
@media (min-width: 761px) and (max-width: 1100px) {
  .public-portal-head {
    padding: 16px 18px !important;
  }
  .public-portal-league-brand {
    gap: 12px !important;
  }
  .public-portal-league-brand img {
    width: 54px !important;
    height: 54px !important;
    flex: 0 0 54px !important;
  }
  .public-portal-league-brand strong {
    font-size: clamp(18px, 2.6vw, 23px) !important;
  }
  .public-portal-game-heading h1 {
    font-size: clamp(22px, 3vw, 28px) !important;
  }
  .public-portal-boxscore-grid,
  .public-portal-desktop .boxscore-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .public-portal-desktop .boxscore-table {
    min-width: 720px !important;
  }
  .public-portal-desktop .boxscore-panel .table-scroll {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }
  .public-portal-quarter-wrap .game-panel {
    overflow-x: auto;
  }
  .public-portal-quarter-wrap table {
    min-width: 640px;
  }
  .best-player-compact-list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .best-player-compact-row {
    font-size: 12px !important;
    gap: 7px !important;
    overflow-x: auto !important;
  }
  .best-player-compact-name { font-size: 13px !important; }
  .best-player-compact-stat { font-size: 12px !important; }
}

/* Public phone box score. */
@media (max-width: 760px) {
  .public-game-mobile {
    display: block !important;
  }
  .game-league-brand {
    padding: 12px 14px !important;
    gap: 11px !important;
    align-items: center !important;
  }
  .game-league-brand img,
  .game-league-brand .league-logo {
    width: 50px !important;
    height: 50px !important;
    flex: 0 0 50px !important;
  }
  .game-league-brand strong,
  .game-league-brand .league-name {
    font-size: 17px !important;
    line-height: 1.12 !important;
  }
  .game-hero-card {
    padding: 12px 14px !important;
    margin-bottom: 10px !important;
  }
  .game-topline {
    gap: 8px !important;
    align-items: flex-start !important;
  }
  .boxscore-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  .team-boxscore-head {
    min-height: 0 !important;
    padding: 10px 12px !important;
  }
  .team-boxscore-head .team-boxscore-name {
    font-size: 20px !important;
  }
  .team-boxscore-score {
    font-size: 31px !important;
  }
  .boxscore-panel .table-scroll {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }
  .boxscore-table {
    min-width: 700px !important;
    width: 700px !important;
    table-layout: fixed !important;
  }
  .boxscore-table th,
  .boxscore-table td {
    padding: 8px 5px !important;
    font-size: 11.5px !important;
    white-space: nowrap !important;
  }
  .boxscore-table .player-cell,
  .boxscore-table td:nth-child(2) {
    font-size: 12px !important;
    min-width: 150px !important;
    text-align: left !important;
  }
  .quarter-table {
    min-width: 520px !important;
  }
  .quarter-table th,
  .quarter-table td {
    padding: 9px 8px !important;
    font-size: 11.5px !important;
    white-space: nowrap !important;
  }
  .best-player-card {
    margin-top: 10px !important;
    padding: 8px !important;
  }
  .best-player-compact-list {
    grid-template-columns: 1fr !important;
    gap: 6px !important;
  }
  .best-player-compact-row {
    min-height: 36px !important;
    padding: 8px 9px !important;
    gap: 8px !important;
    overflow-x: auto !important;
    font-size: 12px !important;
  }
  .best-player-compact-name { font-size: 13px !important; }
  .best-player-compact-stat { font-size: 12px !important; }
  .best-player-compact-stat b { font-size: 10px !important; }
}

/* Portal monitor: tablet treatment. */
@media (min-width: 701px) and (max-width: 1100px) {
  #jbmMonitor.monitor-shell {
    padding: 12px !important;
  }
  #jbmMonitor .monitor-top {
    padding: 14px 16px !important;
    min-height: 0 !important;
  }
  #jbmMonitor .monitor-league-brand {
    gap: 12px !important;
    min-height: 58px !important;
    padding: 0 86px !important;
  }
  #jbmMonitor .monitor-league-brand img {
    width: 56px !important;
    height: 56px !important;
    flex: 0 0 56px !important;
  }
  #jbmMonitor .monitor-league-brand strong {
    font-size: clamp(18px, 2.7vw, 23px) !important;
    text-align: center !important;
  }
  #jbmMonitor #monitorTitle {
    font-size: clamp(22px, 3vw, 27px) !important;
  }
  #jbmMonitor .monitor-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  #jbmMonitor .monitor-scroll {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }
  #jbmMonitor .monitor-team table {
    min-width: 720px !important;
  }
  #jbmMonitor .monitor-team th,
  #jbmMonitor .monitor-team td {
    font-size: 12px !important;
    padding: 8px 6px !important;
    white-space: nowrap !important;
  }
  #jbmMonitor .monitor-team-head h2 {
    font-size: 22px !important;
  }
  #jbmMonitor .monitor-team-head > strong {
    font-size: 34px !important;
  }
  #jbmMonitor .monitor-quarter {
    overflow-x: auto !important;
  }
  #jbmMonitor .monitor-quarter table {
    min-width: 620px !important;
  }
  #jbmMonitor .monitor-best-inline-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  #jbmMonitor .monitor-best-inline {
    overflow-x: auto !important;
    gap: 7px !important;
  }
  #jbmMonitor .monitor-best-name {
    font-size: 14px !important;
  }
  #jbmMonitor .monitor-best-stat {
    font-size: 12px !important;
  }
  #jbmMonitor .monitor-best-stat b {
    font-size: 10px !important;
  }
}

/* Portal monitor: phone treatment. */
@media (max-width: 700px) {
  #jbmMonitor.monitor-shell {
    padding: 7px !important;
  }
  #jbmMonitor .monitor-top {
    padding: 48px 10px 11px !important;
    margin-bottom: 9px !important;
    border-radius: 11px !important;
  }
  #jbmMonitor .monitor-actions {
    top: 7px !important;
    right: 7px !important;
    gap: 6px !important;
  }
  #jbmMonitor .monitor-icon-btn {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    font-size: 18px !important;
  }
  #jbmMonitor .monitor-league-brand {
    flex-direction: column !important;
    gap: 5px !important;
    min-height: 0 !important;
    margin-bottom: 7px !important;
    text-align: center !important;
  }
  #jbmMonitor .monitor-league-brand img {
    width: 50px !important;
    height: 50px !important;
    flex: 0 0 50px !important;
  }
  #jbmMonitor .monitor-league-brand strong {
    max-width: 94vw !important;
    font-size: clamp(16px, 5vw, 20px) !important;
    line-height: 1.12 !important;
    text-align: center !important;
  }
  #jbmMonitor #monitorTitle {
    font-size: 21px !important;
    line-height: 1.1 !important;
  }
  #jbmMonitor #monitorMeta {
    font-size: 10px !important;
    line-height: 1.3 !important;
  }
  #jbmMonitor .monitor-grid {
    grid-template-columns: 1fr !important;
    gap: 9px !important;
  }
  #jbmMonitor .monitor-team {
    border-radius: 11px !important;
  }
  #jbmMonitor .monitor-team-head {
    padding: 10px 11px !important;
  }
  #jbmMonitor .monitor-team-head h2 {
    font-size: 20px !important;
  }
  #jbmMonitor .monitor-team-head > strong {
    font-size: 31px !important;
  }
  #jbmMonitor .monitor-scroll {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }
  #jbmMonitor .monitor-team table {
    min-width: 700px !important;
  }
  #jbmMonitor .monitor-team th,
  #jbmMonitor .monitor-team td {
    padding: 8px 6px !important;
    font-size: 11.5px !important;
    white-space: nowrap !important;
  }
  #jbmMonitor .monitor-quarter {
    margin-top: 9px !important;
    padding: 10px !important;
    overflow-x: auto !important;
  }
  #jbmMonitor .monitor-quarter h3 {
    font-size: 15px !important;
    margin-bottom: 8px !important;
  }
  #jbmMonitor .monitor-quarter table {
    min-width: 540px !important;
  }
  #jbmMonitor .monitor-quarter th,
  #jbmMonitor .monitor-quarter td {
    padding: 8px 6px !important;
    font-size: 11px !important;
    white-space: nowrap !important;
  }
  #jbmMonitor .monitor-best-compact {
    margin-top: 9px !important;
    padding: 8px !important;
  }
  #jbmMonitor .monitor-best-title {
    font-size: 9px !important;
    margin-bottom: 6px !important;
  }
  #jbmMonitor .monitor-best-inline-grid {
    grid-template-columns: 1fr !important;
    gap: 6px !important;
  }
  #jbmMonitor .monitor-best-inline {
    padding: 8px 9px !important;
    gap: 7px !important;
    overflow-x: auto !important;
  }
  #jbmMonitor .monitor-best-rank {
    font-size: 13px !important;
  }
  #jbmMonitor .monitor-best-name {
    font-size: 13px !important;
    overflow: visible !important;
    text-overflow: clip !important;
    flex: 0 0 auto !important;
  }
  #jbmMonitor .monitor-best-stat {
    font-size: 11.5px !important;
  }
  #jbmMonitor .monitor-best-stat b {
    font-size: 9.5px !important;
  }
}

/* Phone landscape: compact header, still readable tables. */
@media (orientation: landscape) and (max-width: 950px) and (max-height: 560px) {
  #jbmMonitor .monitor-top {
    padding: 8px 46px 8px 10px !important;
  }
  #jbmMonitor .monitor-league-brand {
    flex-direction: row !important;
    justify-content: center !important;
    gap: 8px !important;
    margin-bottom: 4px !important;
  }
  #jbmMonitor .monitor-league-brand img {
    width: 38px !important;
    height: 38px !important;
    flex-basis: 38px !important;
  }
  #jbmMonitor .monitor-league-brand strong {
    font-size: 16px !important;
  }
  #jbmMonitor #monitorTitle {
    font-size: 18px !important;
  }
  #jbmMonitor .monitor-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }
  #jbmMonitor .monitor-team table {
    min-width: 610px !important;
  }
  #jbmMonitor .monitor-team th,
  #jbmMonitor .monitor-team td {
    font-size: 10.5px !important;
    padding: 6px 5px !important;
  }
}

/* ============================================================
   v1.9.27.116 - Contact Us / Questions / Suggestions
   ============================================================ */
.contact-section {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}
.contact-section-head {
  margin-bottom: 22px;
}
.contact-intro {
  max-width: 720px;
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.6;
}
.contact-card {
  border: 1px solid #303a48;
  border-radius: 18px;
  background: rgba(17, 22, 29, .94);
  padding: 24px;
  box-shadow: 0 18px 44px rgba(0,0,0,.18);
}
.contact-kind {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}
.contact-kind-btn {
  min-height: 94px;
  padding: 16px 18px;
  text-align: left;
  border: 1px solid #394452;
  border-radius: 14px;
  background: #171e27;
  color: #fff;
  cursor: pointer;
  transition: border-color .15s ease, transform .15s ease, background .15s ease;
}
.contact-kind-btn:hover { transform: translateY(-1px); border-color: #5a6878; }
.contact-kind-btn.active { border-color: #f59e0b; background: rgba(245,158,11,.08); }
.contact-kind-btn strong {
  display: block;
  color: #f59e0b;
  font-size: 15px;
  letter-spacing: .08em;
}
.contact-kind-btn span {
  display: block;
  margin-top: 7px;
  color: #aeb8c5;
  font-size: 13px;
  line-height: 1.45;
}
.contact-form { display: grid; gap: 18px; }
.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.contact-form label { display: grid; gap: 7px; }
.contact-form label > span {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  color: #b9c2cd;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #394452;
  border-radius: 12px;
  background: #0f151c;
  color: #fff;
  font: inherit;
  font-size: 15px;
  padding: 13px 14px;
  outline: none;
}
.contact-form textarea { resize: vertical; min-height: 150px; line-height: 1.5; }
.contact-form input:focus,
.contact-form textarea:focus { border-color: #f59e0b; box-shadow: 0 0 0 3px rgba(245,158,11,.1); }
.contact-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.contact-submit {
  border: 0;
  border-radius: 999px;
  padding: 12px 20px;
  background: #f59e0b;
  color: #10151b;
  font-weight: 900;
  letter-spacing: .05em;
  cursor: pointer;
  white-space: nowrap;
}
.contact-submit:disabled { opacity: .55; cursor: wait; }
.contact-status { min-height: 20px; color: #aeb8c5; font-size: 13px; }
.contact-status.success { color: #77d28b; }
.contact-status.error { color: #ff8a8a; }
.contact-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
.footer-contact-link {
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 800;
  letter-spacing: .06em;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 760px) {
  .contact-card { padding: 18px; border-radius: 15px; }
  .contact-kind, .contact-form-grid { grid-template-columns: 1fr; }
  .contact-kind-btn { min-height: 0; }
  .contact-submit-row { align-items: stretch; flex-direction: column; }
  .contact-submit { width: 100%; min-height: 46px; }
}

/* v1.9.27.117 - Platform Admin Contact Messages */
.pa-tab-count{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;margin-left:6px;padding:0 6px;border-radius:999px;background:#f58220;color:#111;font-size:10px;font-weight:900;vertical-align:middle}.pa-tab-count.hidden{display:none}
.pa-feedback-toolbar{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px}.pa-feedback-filter{border:1px solid #3b4654;background:#11161d;color:#b7c0cb;border-radius:999px;padding:8px 12px;font-size:10px;font-weight:900;letter-spacing:.08em;cursor:pointer}.pa-feedback-filter:hover,.pa-feedback-filter.active{border-color:#f58220;color:#fff;background:#24180f}
.pa-feedback-list{display:grid;gap:10px}.pa-feedback-card{width:100%;text-align:left;border:1px solid rgba(255,255,255,.1);background:#17191d;color:#fff;border-radius:12px;padding:14px 16px;cursor:pointer;transition:border-color .15s ease,background .15s ease,transform .15s ease}.pa-feedback-card:hover{border-color:rgba(245,130,32,.5);background:#1b1e23;transform:translateY(-1px)}.pa-feedback-card.is-new{border-left:4px solid #f58220}.pa-feedback-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.pa-feedback-card-head>div:first-child{display:grid;gap:3px}.pa-feedback-card-head strong{font-size:15px}.pa-feedback-type{display:inline-flex;width:max-content;color:#f58220;font-size:10px;font-weight:900;letter-spacing:.1em}.pa-feedback-card-side{display:grid;justify-items:end;gap:5px;color:#9ca3af;font-size:11px}.pa-feedback-preview{margin:11px 0 10px;color:#d5dae0;line-height:1.45}.pa-feedback-foot{display:flex;justify-content:space-between;gap:12px;color:#8f98a4;font-size:11px}.pa-feedback-status{display:inline-flex;width:max-content;padding:4px 8px;border-radius:999px;font-size:9px;font-weight:900;letter-spacing:.08em;background:#2a2d32;color:#dbe1e8}.pa-feedback-status.status-new{background:#f58220;color:#111}.pa-feedback-status.status-read{background:#2c3440;color:#dbe1e8}.pa-feedback-status.status-replied{background:#1f4b34;color:#bff1d2}.pa-feedback-status.status-resolved{background:#32373e;color:#9ba5b0}
.pa-feedback-reply-dialog{width:min(760px,96vw);max-height:92vh;overflow:auto}.pa-feedback-reply-meta{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 16px}.pa-feedback-reply-meta>span:not(.pa-feedback-status){background:#171b21;border:1px solid #343b45;border-radius:999px;padding:6px 10px;color:#b7c0cb;font-size:11px}.pa-feedback-original{background:#17191d;border:1px solid #343b45;border-left:4px solid #f58220;border-radius:10px;padding:14px 16px;margin:0 0 16px}.pa-feedback-original small{color:#f58220;font-weight:900;letter-spacing:.09em}.pa-feedback-original p{white-space:pre-wrap;color:#e4e8ed;line-height:1.55;margin:8px 0 0}.pa-feedback-reply-dialog .auth-field textarea{width:100%;box-sizing:border-box;resize:vertical;min-height:150px;background:#0d1117;border:1px solid #3b4654;border-radius:9px;color:#fff;padding:12px;font:inherit;line-height:1.5}.pa-feedback-reply-actions{display:flex;justify-content:flex-end;gap:10px;margin:14px 0 4px}.pa-feedback-history{display:grid;gap:10px;margin-top:18px}.pa-feedback-history h4{margin:0 0 2px;color:#fff}.pa-feedback-history-item{border:1px solid #343b45;background:#151a21;border-radius:10px;padding:12px 14px}.pa-feedback-history-item>div{display:flex;justify-content:space-between;gap:12px}.pa-feedback-history-item span{color:#8f98a4;font-size:11px}.pa-feedback-history-item p{white-space:pre-wrap;color:#d7dde4;line-height:1.5;margin:8px 0 0}
@media(max-width:700px){.pa-feedback-card-head{display:grid}.pa-feedback-card-side{justify-items:start}.pa-feedback-foot{display:grid;gap:4px}.pa-feedback-reply-actions{display:grid;grid-template-columns:1fr}.pa-feedback-reply-actions button{width:100%}.pa-feedback-history-item>div{display:grid;gap:3px}}

/* v1.9.27.119 - Digital Scoreboard launcher */
.display-open-btn{border-color:#ff6a00!important;background:#ff6a00!important;color:#fff!important;font-weight:900!important}
.display-open-btn:hover{background:#ff7a16!important;border-color:#ff7a16!important;color:#fff!important}


/* v1.9.27.120 - Portal Games: Box Score + Scoreboard paired views */
.portal-game-tools-row{grid-template-columns:minmax(0,1.45fr) minmax(150px,.65fr) auto minmax(230px,auto)!important;align-items:center}
.portal-game-view-actions{display:grid;grid-template-columns:repeat(2,minmax(105px,1fr));gap:8px;min-width:230px}
.portal-game-view-card{appearance:none;border:1px solid #3b434d;background:#151a21;color:#fff;border-radius:10px;padding:9px 11px;min-height:52px;display:grid;align-content:center;gap:2px;text-align:left;cursor:pointer}
.portal-game-view-card span{font-size:10px;font-weight:950;letter-spacing:.08em;line-height:1.1}
.portal-game-view-card small{font-size:9px;color:#9fa9b6;line-height:1.1}
.portal-game-view-card:hover,.portal-game-view-card:focus-visible{border-color:#ff6a00;outline:none}
.portal-game-view-card.scoreboard-open-btn{background:#ff6a00;border-color:#ff6a00;color:#fff}
.portal-game-view-card.scoreboard-open-btn small{color:rgba(255,255,255,.8)}
.portal-game-view-card.scoreboard-open-btn:hover,.portal-game-view-card.scoreboard-open-btn:focus-visible{background:#ff7a16;border-color:#ff7a16}
@media(max-width:900px){.portal-game-tools-row{grid-template-columns:1fr!important}.portal-game-view-actions{min-width:0;width:100%;grid-template-columns:1fr 1fr}.portal-game-view-card{text-align:center}}
@media(max-width:420px){.portal-game-view-actions{grid-template-columns:1fr}}
\n\n/* v1.9.27.122 - restore compact single-line Games rows; keep Box Score in its original action position with Scoreboard beside it */\n.portal-game-tools-row{\n  grid-template-columns:minmax(0,1fr) minmax(155px,.34fr) auto auto!important;\n  align-items:center;\n  column-gap:12px;\n}\n.portal-game-tools-row .manager-game-summary{min-width:0}\n.portal-game-tools-row .manager-game-primary-line{\n  display:flex;\n  align-items:center;\n  gap:7px;\n  flex-wrap:nowrap;\n  white-space:nowrap;\n  min-width:0;\n}\n.portal-game-tools-row .manager-game-primary-line .manager-game-matchup{\n  min-width:0;\n  overflow:hidden;\n  text-overflow:ellipsis;\n}\n.portal-game-view-actions{\n  display:flex;\n  align-items:center;\n  gap:8px;\n  min-width:0;\n  width:auto;\n}\n.portal-game-compact-action{\n  appearance:none;\n  border:1px solid #ff6a00;\n  background:transparent;\n  color:#ff6a00;\n  border-radius:9px;\n  min-width:92px;\n  min-height:38px;\n  padding:8px 10px;\n  font-size:10px;\n  font-weight:950;\n  letter-spacing:.06em;\n  line-height:1;\n  white-space:nowrap;\n  cursor:pointer;\n}\n.portal-game-compact-action:hover,.portal-game-compact-action:focus-visible{
  background:rgba(255,106,0,.10);\n  outline:none;\n}\n.portal-game-compact-action.scoreboard-open-btn{
  background:#ff6a00;\n  color:#fff;\n}\n.portal-game-compact-action.scoreboard-open-btn:hover,.portal-game-compact-action.scoreboard-open-btn:focus-visible{background:#ff7a16}\n@media(max-width:1050px){\n  .portal-game-tools-row{grid-template-columns:minmax(0,1fr) minmax(135px,.3fr) auto auto!important;column-gap:8px}\n  .portal-game-compact-action{min-width:82px;padding-left:8px;padding-right:8px}\n}\n@media(max-width:900px){\n  .portal-game-tools-row{grid-template-columns:1fr!important}\n  .portal-game-tools-row .manager-game-primary-line{flex-wrap:wrap;white-space:normal}\n  .portal-game-view-actions{width:100%;display:grid;grid-template-columns:1fr 1fr}\n  .portal-game-compact-action{width:100%;min-height:42px}\n}\n

/* v1.9.27.123 - restore true single-line desktop Games rows */
.portal-game-tools-row{
  grid-template-columns:minmax(0,1fr) minmax(170px,210px) auto auto!important;
  align-items:center;
  column-gap:10px;
  padding-top:12px;
  padding-bottom:12px;
}
.portal-game-tools-row .manager-game-summary{display:block;min-width:0}
.portal-game-tools-row .manager-game-primary-line{
  display:flex;
  align-items:center;
  gap:7px;
  flex-wrap:nowrap;
  white-space:nowrap;
  min-width:0;
  overflow:hidden;
}
.portal-game-tools-row .manager-game-date,
.portal-game-tools-row .manager-game-category,
.portal-game-tools-row .manager-game-stage-inline,
.portal-game-tools-row .manager-game-separator{flex:0 0 auto}
.portal-game-tools-row .manager-game-matchup{
  flex:0 1 auto;
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.portal-game-tools-row .manager-game-stage-inline{
  color:#9fa9b6;
  font-size:11px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.02em;
}
.portal-game-tools-row > small{
  min-width:0;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.portal-game-tools-row .manager-badge{white-space:nowrap}
.portal-game-view-actions{display:flex;align-items:center;gap:6px;white-space:nowrap}
.portal-game-compact-action{
  min-width:auto;
  min-height:32px;
  padding:6px 10px;
  border-radius:7px;
  font-size:10px;
  letter-spacing:.035em;
}
@media(max-width:1100px){
  .portal-game-tools-row{grid-template-columns:minmax(0,1fr) minmax(145px,175px) auto auto!important;column-gap:7px}
  .portal-game-tools-row .manager-game-stage-inline{display:none}
  .portal-game-tools-row .manager-stage-separator{display:none}
  .portal-game-compact-action{padding-left:8px;padding-right:8px;font-size:9px}
}
@media(max-width:900px){
  .portal-game-tools-row{grid-template-columns:1fr!important;row-gap:9px}
  .portal-game-tools-row .manager-game-primary-line{flex-wrap:wrap;white-space:normal;overflow:visible}
  .portal-game-tools-row .manager-game-matchup{overflow:visible;text-overflow:clip;white-space:normal}
  .portal-game-tools-row .manager-game-stage-inline,.portal-game-tools-row .manager-stage-separator{display:inline}
  .portal-game-view-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}
  .portal-game-compact-action{width:100%;min-height:40px}
}

/* v1.9.27.124 - game view actions below the primary game details */
.portal-game-tools-row{
  grid-template-columns:minmax(0,1fr) minmax(170px,.3fr) auto!important;
  align-items:center;
  column-gap:16px;
}
.portal-game-tools-row .manager-game-summary{
  min-width:0;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:9px;
}
.portal-game-tools-row .manager-game-primary-line{
  display:flex;
  align-items:center;
  gap:7px;
  flex-wrap:nowrap;
  white-space:nowrap;
  min-width:0;
  width:100%;
}
.portal-game-tools-row .manager-game-primary-line .manager-game-matchup{
  min-width:0;
  overflow:visible;
  text-overflow:clip;
}
.portal-game-view-actions{
  display:flex;
  align-items:center;
  gap:8px;
  width:auto;
}
.portal-game-compact-action{
  min-width:92px;
  min-height:32px;
  padding:6px 10px;
}
@media(max-width:1050px){
  .portal-game-tools-row{grid-template-columns:minmax(0,1fr) minmax(145px,.28fr) auto!important;column-gap:10px}
  .portal-game-tools-row .manager-game-primary-line .manager-game-matchup{overflow:hidden;text-overflow:ellipsis}
}
@media(max-width:900px){
  .portal-game-tools-row{grid-template-columns:1fr!important}
  .portal-game-tools-row .manager-game-primary-line{flex-wrap:wrap;white-space:normal}
  .portal-game-view-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}
  .portal-game-compact-action{width:100%;min-height:42px}
}


/* v1.9.27.126 - Games card hierarchy: large first line, compact metadata, Box Score + Scoreboard only */
.manager-game-row.manager-game-card-v126{
  display:flex;
  flex-direction:column;
  align-items:stretch;
  gap:8px;
  padding:14px 16px;
}
.manager-game-primary-v126{
  display:flex;
  align-items:baseline;
  flex-wrap:wrap;
  gap:8px;
  width:100%;
  min-width:0;
}
.manager-game-date-v126{
  color:#d4dbe4;
  font-size:15px;
  font-weight:800;
  line-height:1.25;
}
.manager-game-category-v126{
  color:#ff6a00;
  font-size:15px;
  font-weight:950;
  line-height:1.25;
  text-transform:uppercase;
}
.manager-game-matchup-v126{
  color:#fff;
  font-size:18px;
  font-weight:950;
  line-height:1.25;
  min-width:0;
}
.manager-game-matchup-v126 .manager-score-inline{
  color:#ff6a00;
  font-size:18px;
  font-weight:950;
  margin:0 7px;
}
.manager-game-secondary-v126{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:7px;
  color:#9fa9b6;
  font-size:11px;
  font-weight:700;
  line-height:1.25;
  text-transform:uppercase;
}
.manager-game-secondary-v126 .manager-badge{
  margin-left:3px;
  text-transform:lowercase;
}
.manager-game-actions-v126{
  display:flex;
  align-items:center;
  gap:8px;
  margin-top:2px;
}
.manager-game-actions-v126 .manager-mini-action{
  min-width:112px;
  min-height:34px;
  padding:7px 13px;
  border-radius:8px;
  font-size:10px;
  font-weight:950;
  letter-spacing:.06em;
}
.manager-game-actions-v126 .monitor-open-btn{
  border:1px solid #ff6a00;
  background:transparent;
  color:#ff6a00;
}
.manager-game-actions-v126 .scoreboard-open-btn{
  border:1px solid #ff6a00;
  background:#ff6a00;
  color:#fff;
}
.manager-game-actions-v126 .manager-mini-action:hover,
.manager-game-actions-v126 .manager-mini-action:focus-visible{
  outline:none;
  filter:brightness(1.08);
}
@media(max-width:760px){
  .manager-game-date-v126,.manager-game-category-v126{font-size:14px}
  .manager-game-matchup-v126,.manager-game-matchup-v126 .manager-score-inline{font-size:17px}
  .manager-game-actions-v126{display:grid;grid-template-columns:1fr 1fr;width:100%}
  .manager-game-actions-v126 .manager-mini-action{width:100%;min-width:0;min-height:40px}
}
@media(max-width:420px){
  .manager-game-actions-v126{grid-template-columns:1fr}
}

/* v1.9.27.127 - tighter Games cards with stronger first-line hierarchy */
.manager-game-row.manager-game-card-v126{
  gap:6px;
  padding:11px 16px 10px;
}
.manager-game-primary-v126{
  gap:9px;
  flex-wrap:nowrap;
  white-space:nowrap;
}
.manager-game-date-v126{
  font-size:16px;
  font-weight:850;
}
.manager-game-category-v126{
  font-size:16px;
}
.manager-game-matchup-v126{
  flex:1 1 auto;
  font-size:20px;
  line-height:1.18;
  white-space:nowrap;
}
.manager-game-matchup-v126 .manager-score-inline{
  font-size:20px;
  margin:0 8px;
}
.manager-game-secondary-v126{
  gap:6px;
  font-size:10px;
  line-height:1.15;
}
.manager-game-actions-v126{
  gap:7px;
  margin-top:1px;
}
.manager-game-actions-v126 .manager-mini-action{
  min-width:108px;
  min-height:31px;
  padding:6px 12px;
}
@media(max-width:980px){
  .manager-game-primary-v126{flex-wrap:wrap;white-space:normal}
  .manager-game-matchup-v126{white-space:normal}
}
@media(max-width:760px){
  .manager-game-row.manager-game-card-v126{padding:12px 14px;gap:7px}
  .manager-game-date-v126,.manager-game-category-v126{font-size:14px}
  .manager-game-matchup-v126,.manager-game-matchup-v126 .manager-score-inline{font-size:17px}
  .manager-game-actions-v126 .manager-mini-action{min-height:40px}
}
\n\n/* v1.9.27.128 - full-width two-line Games card layout */\n.manager-game-row.manager-game-card-v128{\n  display:flex;\n  flex-direction:column;\n  align-items:stretch;\n  gap:7px;\n  padding:11px 14px 10px;\n}\n.manager-game-info-v128{\n  display:grid;\n  grid-template-columns:minmax(96px,.72fr) minmax(130px,1fr) minmax(360px,3fr) minmax(135px,.95fr);\n  align-items:center;\n  gap:14px;\n  min-width:0;\n  width:100%;\n}\n.manager-game-stack-v128{display:grid;gap:2px;min-width:0}\n.manager-game-stack-v128 strong{line-height:1.05}\n.manager-game-stack-v128 small{color:#9fa9b6;font-size:10px;font-weight:800;line-height:1.15;text-transform:uppercase}\n.manager-game-date-stack-v128 strong{color:#fff;font-size:17px;font-weight:950}\n.manager-game-date-stack-v128 small{font-size:13px;text-transform:none;color:#c2c9d2}\n.manager-game-category-stack-v128 strong{color:#ff6a00;font-size:17px;font-weight:950;text-transform:uppercase}\n.manager-game-matchup-v128{display:flex;align-items:baseline;justify-content:center;gap:12px;min-width:0;white-space:nowrap;color:#fff;font-size:22px;font-weight:950;line-height:1.05}\n.manager-game-matchup-v128 span{min-width:0;overflow:hidden;text-overflow:ellipsis}\n.manager-game-matchup-v128 b{flex:0 0 auto;color:#ff6a00;font-size:24px;font-weight:1000}\n.manager-game-final-v128{display:grid;justify-items:end;gap:4px;min-width:0;text-align:right}\n.manager-game-final-v128 .manager-badge{font-size:10px;letter-spacing:.04em;text-transform:lowercase}\n.manager-game-final-v128 small{color:#9fa9b6;font-size:10px;font-weight:750;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}\n.manager-game-actions-v128{display:grid;grid-template-columns:1fr 1fr;gap:8px;width:100%;margin:0}\n.manager-game-actions-v128 .manager-mini-action{width:100%;min-width:0;min-height:30px;padding:5px 12px;border-radius:7px;font-size:10px;font-weight:950;letter-spacing:.06em}\n.manager-game-actions-v128 .monitor-open-btn{border:1px solid #ff6a00;background:transparent;color:#ff6a00}\n.manager-game-actions-v128 .scoreboard-open-btn{border:1px solid #ff6a00;background:#ff6a00;color:#fff}\n.manager-game-actions-v128 .manager-mini-action:hover,.manager-game-actions-v128 .manager-mini-action:focus-visible{outline:none;filter:brightness(1.08)}\n@media(max-width:980px){\n  .manager-game-info-v128{grid-template-columns:minmax(90px,.7fr) minmax(120px,.9fr) minmax(260px,2fr) minmax(110px,.8fr);gap:10px}\n  .manager-game-date-stack-v128 strong,.manager-game-category-stack-v128 strong{font-size:15px}\n  .manager-game-matchup-v128{font-size:19px;gap:8px}\n  .manager-game-matchup-v128 b{font-size:21px}\n}\n@media(max-width:760px){\n  .manager-game-row.manager-game-card-v128{padding:11px 12px}\n  .manager-game-info-v128{grid-template-columns:1fr 1fr;gap:10px 12px}\n  .manager-game-matchup-v128{grid-column:1/-1;justify-content:flex-start;white-space:normal;flex-wrap:wrap;font-size:18px}\n  .manager-game-matchup-v128 span{overflow:visible;text-overflow:clip}\n  .manager-game-matchup-v128 b{font-size:20px}\n  .manager-game-final-v128{justify-items:start;text-align:left}\n}\n@media(max-width:420px){\n  .manager-game-info-v128{grid-template-columns:1fr}\n  .manager-game-matchup-v128{grid-column:auto}\n  .manager-game-actions-v128{grid-template-columns:1fr 1fr}\n}\n
/* v1.9.27.129 - corrected full-width Games card layout */
.manager-list-row.manager-game-row.manager-game-card-v128 {
  display: flex !important;
  grid-template-columns: none !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 7px !important;
  padding: 10px 14px !important;
}
.manager-game-card-v128 .manager-game-info-v128 {
  display: grid !important;
  grid-template-columns: minmax(105px,.72fr) minmax(155px,1fr) minmax(0,3.3fr) minmax(125px,.82fr) !important;
  align-items: center !important;
  gap: 16px !important;
  width: 100% !important;
  min-width: 0 !important;
}
.manager-game-card-v128 .manager-game-stack-v128 {
  display: grid !important;
  align-content: center !important;
  gap: 3px !important;
  min-width: 0 !important;
}
.manager-game-card-v128 .manager-game-date-stack-v128 strong {
  color: #fff !important;
  font-size: 18px !important;
  font-weight: 950 !important;
  line-height: 1 !important;
}
.manager-game-card-v128 .manager-game-date-stack-v128 small {
  color: #c2c9d2 !important;
  font-size: 12px !important;
  line-height: 1.05 !important;
  text-transform: none !important;
}
.manager-game-card-v128 .manager-game-category-stack-v128 strong {
  color: #ff6a00 !important;
  font-size: 18px !important;
  font-weight: 950 !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
}
.manager-game-card-v128 .manager-game-category-stack-v128 small {
  color: #9fa9b6 !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  line-height: 1.05 !important;
  text-transform: uppercase !important;
}
.manager-game-card-v128 .manager-game-matchup-v128 {
  display: grid !important;
  grid-template-columns: minmax(0,1fr) auto minmax(0,1fr) !important;
  align-items: baseline !important;
  justify-items: center !important;
  gap: 14px !important;
  min-width: 0 !important;
  color: #fff !important;
  font-size: 23px !important;
  font-weight: 950 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}
.manager-game-card-v128 .manager-game-matchup-v128 span:first-child {
  justify-self: end !important;
  text-align: right !important;
}
.manager-game-card-v128 .manager-game-matchup-v128 span:last-child {
  justify-self: start !important;
  text-align: left !important;
}
.manager-game-card-v128 .manager-game-matchup-v128 span {
  display: block !important;
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
.manager-game-card-v128 .manager-game-matchup-v128 b {
  display: inline-block !important;
  color: #ff6a00 !important;
  font-size: 25px !important;
  font-weight: 1000 !important;
  line-height: 1 !important;
  padding: 0 2px !important;
  white-space: nowrap !important;
}
.manager-game-card-v128 .manager-game-final-v128 {
  display: grid !important;
  justify-items: end !important;
  align-content: center !important;
  gap: 4px !important;
  min-width: 0 !important;
  text-align: right !important;
}
.manager-game-card-v128 .manager-game-final-v128 .manager-badge {
  font-size: 10px !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
}
.manager-game-card-v128 .manager-game-final-v128 small {
  color: #9fa9b6 !important;
  font-size: 10px !important;
  line-height: 1.05 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 100% !important;
}
.manager-game-card-v128 .manager-game-actions-v128 {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 8px !important;
  width: 100% !important;
  margin: 0 !important;
}
.manager-game-card-v128 .manager-game-actions-v128 .manager-mini-action {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 28px !important;
  padding: 4px 12px !important;
  border-radius: 7px !important;
  font-size: 10px !important;
  font-weight: 950 !important;
  letter-spacing: .06em !important;
}
@media (max-width: 900px) {
  .manager-game-card-v128 .manager-game-info-v128 {
    grid-template-columns: minmax(92px,.72fr) minmax(125px,.9fr) minmax(0,2fr) minmax(105px,.7fr) !important;
    gap: 10px !important;
  }
  .manager-game-card-v128 .manager-game-matchup-v128 {
    gap: 8px !important;
    font-size: 19px !important;
  }
  .manager-game-card-v128 .manager-game-matchup-v128 b { font-size: 21px !important; }
  .manager-game-card-v128 .manager-game-date-stack-v128 strong,
  .manager-game-card-v128 .manager-game-category-stack-v128 strong { font-size: 15px !important; }
}
@media (max-width: 700px) {
  .manager-list-row.manager-game-row.manager-game-card-v128 { padding: 10px 12px !important; }
  .manager-game-card-v128 .manager-game-info-v128 {
    grid-template-columns: 1fr 1fr !important;
    gap: 9px 12px !important;
  }
  .manager-game-card-v128 .manager-game-matchup-v128 {
    grid-column: 1 / -1 !important;
    order: 3 !important;
    font-size: 18px !important;
  }
  .manager-game-card-v128 .manager-game-matchup-v128 b { font-size: 20px !important; }
  .manager-game-card-v128 .manager-game-final-v128 {
    justify-items: start !important;
    text-align: left !important;
  }
}
@media (max-width: 430px) {
  .manager-game-card-v128 .manager-game-info-v128 { grid-template-columns: 1fr !important; }
  .manager-game-card-v128 .manager-game-matchup-v128 {
    grid-column: auto !important;
    grid-template-columns: minmax(0,1fr) auto minmax(0,1fr) !important;
    font-size: 16px !important;
    gap: 6px !important;
  }
  .manager-game-card-v128 .manager-game-matchup-v128 b { font-size: 18px !important; }
}

/* v1.9.27.130 - stable full-width Games card grid */
.manager-list-row.manager-game-row.manager-game-card-v128{
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  gap:8px!important;
  padding:11px 14px!important;
}
.manager-game-card-v128 .manager-game-info-v128{
  display:grid!important;
  grid-template-columns:108px 150px minmax(0,1fr) 82px!important;
  align-items:center!important;
  gap:12px!important;
  width:100%!important;
  min-width:0!important;
}
.manager-game-card-v128 .manager-game-date-stack-v128,
.manager-game-card-v128 .manager-game-category-stack-v128{
  min-width:0!important;
  align-self:center!important;
}
.manager-game-card-v128 .manager-game-date-stack-v128 strong{
  font-size:18px!important;
  white-space:nowrap!important;
}
.manager-game-card-v128 .manager-game-date-stack-v128 small{
  font-size:12px!important;
  white-space:nowrap!important;
}
.manager-game-card-v128 .manager-game-category-stack-v128 strong{
  font-size:18px!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.manager-game-card-v128 .manager-game-category-stack-v128 small{
  font-size:10px!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.manager-game-matchup-block-v130{
  display:grid!important;
  grid-template-rows:auto auto!important;
  justify-items:center!important;
  align-content:center!important;
  gap:4px!important;
  min-width:0!important;
}
.manager-game-card-v128 .manager-game-matchup-v128{
  display:flex!important;
  align-items:baseline!important;
  justify-content:center!important;
  gap:12px!important;
  width:100%!important;
  min-width:0!important;
  font-size:22px!important;
  line-height:1!important;
  white-space:nowrap!important;
}
.manager-game-card-v128 .manager-game-matchup-v128 span{
  display:block!important;
  min-width:0!important;
  max-width:42%!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
.manager-game-card-v128 .manager-game-matchup-v128 span:first-child,
.manager-game-card-v128 .manager-game-matchup-v128 span:last-child{
  text-align:center!important;
  justify-self:auto!important;
}
.manager-game-card-v128 .manager-game-matchup-v128 b{
  flex:0 0 auto!important;
  font-size:25px!important;
  padding:0!important;
}
.manager-game-venue-v130{
  display:block!important;
  max-width:100%!important;
  color:#9fa9b6!important;
  font-size:10px!important;
  font-weight:750!important;
  line-height:1.05!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  text-align:center!important;
}
.manager-game-card-v128 .manager-game-final-v128{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  min-width:0!important;
  text-align:right!important;
}
.manager-game-card-v128 .manager-game-final-v128 .manager-badge{
  font-size:10px!important;
  font-weight:900!important;
  text-transform:uppercase!important;
  white-space:nowrap!important;
}
.manager-game-card-v128 .manager-game-actions-v128{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:8px!important;
  width:100%!important;
  margin:0!important;
}
.manager-game-card-v128 .manager-game-actions-v128 .manager-mini-action{
  width:100%!important;
  min-width:0!important;
  min-height:28px!important;
  height:28px!important;
  padding:4px 10px!important;
  border-radius:7px!important;
  font-size:10px!important;
  line-height:1!important;
}
@media(max-width:900px){
  .manager-game-card-v128 .manager-game-info-v128{
    grid-template-columns:96px 135px minmax(0,1fr) 70px!important;
    gap:9px!important;
  }
  .manager-game-card-v128 .manager-game-date-stack-v128 strong,
  .manager-game-card-v128 .manager-game-category-stack-v128 strong{font-size:16px!important}
  .manager-game-card-v128 .manager-game-matchup-v128{font-size:19px!important;gap:8px!important}
  .manager-game-card-v128 .manager-game-matchup-v128 b{font-size:21px!important}
}
@media(max-width:700px){
  .manager-game-card-v128 .manager-game-info-v128{
    grid-template-columns:1fr 1fr!important;
    gap:9px 12px!important;
  }
  .manager-game-matchup-block-v130{
    grid-column:1/-1!important;
    justify-items:start!important;
  }
  .manager-game-card-v128 .manager-game-matchup-v128{
    justify-content:flex-start!important;
    white-space:normal!important;
    flex-wrap:wrap!important;
  }
  .manager-game-card-v128 .manager-game-matchup-v128 span{
    max-width:none!important;
    overflow:visible!important;
    text-overflow:clip!important;
    white-space:normal!important;
  }
  .manager-game-venue-v130{text-align:left!important}
  .manager-game-card-v128 .manager-game-final-v128{justify-content:flex-start!important}
}


/* v1.9.27.131 - games cards status/venue cleanup */
.manager-game-card-v128 .manager-game-final-v128{
  display:flex !important;
  flex-direction:column !important;
  align-items:flex-end !important;
  justify-content:center !important;
  gap:4px !important;
  text-align:right !important;
}
.manager-game-card-v128 .manager-game-final-v128 .manager-badge{
  text-transform:uppercase !important;
  font-size:11px !important;
  letter-spacing:.06em !important;
}
.manager-game-card-v128 .manager-game-final-v128 small{
  display:block !important;
  color:#9fa9b6 !important;
  font-size:10px !important;
  font-weight:800 !important;
  line-height:1.15 !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  max-width:100% !important;
}
.manager-game-card-v128 .monitor-open-btn,
.manager-game-card-v128 .scoreboard-open-btn{
  border:1px solid rgba(84,102,124,.75) !important;
  background:rgba(13,19,29,.78) !important;
  color:#f3f6fb !important;
}
.manager-game-card-v128 .monitor-open-btn:hover,
.manager-game-card-v128 .monitor-open-btn:focus-visible,
.manager-game-card-v128 .scoreboard-open-btn:hover,
.manager-game-card-v128 .scoreboard-open-btn:focus-visible{
  border-color:#ff6a00 !important;
  color:#fff !important;
}
@media(max-width:760px){
  .manager-game-card-v128 .manager-game-final-v128{
    align-items:flex-start !important;
    text-align:left !important;
  }
}

/* v1.9.27.132 - wider status/venue column and tighter game cards */
.manager-list-row.manager-game-row.manager-game-card-v128{
  gap:5px!important;
  padding:8px 12px!important;
}
.manager-game-card-v128 .manager-game-info-v128{
  grid-template-columns:104px 150px minmax(0,1fr) minmax(150px,175px)!important;
  gap:11px!important;
}
.manager-game-card-v128 .manager-game-final-v128{
  min-width:150px!important;
  gap:2px!important;
}
.manager-game-card-v128 .manager-game-final-v128 small{
  width:100%!important;
  max-width:175px!important;
  text-align:right!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
.manager-game-card-v128 .manager-game-actions-v128{
  gap:8px!important;
}
.manager-game-card-v128 .manager-game-actions-v128 .manager-mini-action{
  min-height:25px!important;
  height:25px!important;
  padding:3px 10px!important;
}
@media(max-width:900px){
  .manager-game-card-v128 .manager-game-info-v128{
    grid-template-columns:92px 132px minmax(0,1fr) minmax(125px,145px)!important;
    gap:8px!important;
  }
  .manager-game-card-v128 .manager-game-final-v128{min-width:125px!important}
  .manager-game-card-v128 .manager-game-final-v128 small{max-width:145px!important}
}
@media(max-width:700px){
  .manager-list-row.manager-game-row.manager-game-card-v128{padding:8px 10px!important}
  .manager-game-card-v128 .manager-game-final-v128{min-width:0!important}
  .manager-game-card-v128 .manager-game-final-v128 small{
    width:auto!important;
    max-width:100%!important;
    text-align:left!important;
  }
}


/* v1.9.27.143 - team logo controls */
.team-logo-button-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.team-logo-button-row .manager-mini-action{margin:0}

/* ============================================================
   v1.9.27.143.1 - RESPONSIVE SINGLE-ROW DESKTOP/LAPTOP HEADER
   Preserve the 24-inch layout while compacting proportionally
   on narrower computer/laptop viewports. Mobile rules remain
   independent below 800px.
   ============================================================ */
.topbar{
  box-sizing:border-box;
}
.brand-wrap{
  flex:0 0 auto;
}
.nav{
  min-width:0;
  flex:0 1 auto;
  flex-wrap:nowrap;
}
.nav-link,.portal-button{
  flex:0 0 auto;
  white-space:nowrap;
}

/* Typical laptop and smaller desktop monitors: same one-row layout,
   only proportionally tighter. Large 24-inch/desktop screens are unchanged. */
@media (min-width: 1101px) and (max-width: 1700px){
  .topbar{
    min-height:104px;
    padding:7px clamp(18px,2.25vw,36px);
    gap:clamp(10px,1.15vw,18px);
  }
  .brand-wrap{gap:13px}
  .jbm-logo{
    height:82px;
    max-width:205px;
  }
  .brand-text{
    padding-left:14px;
  }
  .brand-title{
    font-size:clamp(19px,1.45vw,24px);
    letter-spacing:.045em;
  }
  .brand-tagline{
    margin-top:7px;
    font-size:clamp(10px,.86vw,13px);
    letter-spacing:.005em;
  }
  .nav{
    gap:clamp(1px,.28vw,5px);
  }
  .nav-link{
    padding:10px clamp(6px,.55vw,10px);
    font-size:clamp(9px,.68vw,11px);
    letter-spacing:.055em;
  }
  .portal-button{
    margin-left:clamp(2px,.35vw,6px);
    padding:10px clamp(9px,.7vw,13px);
    font-size:clamp(9px,.66vw,11px);
    letter-spacing:.055em;
  }
}

/* Compact laptop widths still remain on one row. */
@media (min-width: 801px) and (max-width: 1100px){
  .topbar{
    min-height:92px;
    padding:6px 12px;
    gap:8px;
    flex-direction:row;
    align-items:center;
  }
  .brand-wrap{
    width:auto;
    gap:8px;
  }
  .jbm-logo{
    height:68px;
    max-width:155px;
  }
  .brand-text{
    padding-left:9px;
  }
  .brand-title{
    font-size:16px;
    letter-spacing:.03em;
  }
  .brand-tagline{
    margin-top:4px;
    font-size:9px;
    letter-spacing:0;
  }
  .nav{
    width:auto;
    flex:1 1 auto;
    gap:1px;
    overflow:visible;
  }
  .nav-link{
    padding:8px 5px;
    font-size:8.5px;
    letter-spacing:.035em;
  }
  .portal-button{
    margin-left:2px;
    padding:9px 7px;
    font-size:8.5px;
    letter-spacing:.035em;
  }
}

/* Mobile portrait/tablet: make sure the bundled JBM mark remains visible. */
@media (max-width: 800px){
  .brand-logo-wrap,.jbm-logo{
    visibility:visible!important;
    opacity:1;
  }
  .jbm-logo{
    display:block!important;
  }
}

/* v1.9.27.143.5 - portal Games category fit */
.manager-game-card-v128 .manager-game-category-stack-v128 strong{font-size:15px!important;}

/* v1.9.27.143.6 - Portal dashboard: concise league snapshot + scheduled-game progress */
#authSignedIn .dashboard-snapshot-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
#authSignedIn .dashboard-snapshot-grid .portal-summary-card strong {
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.1;
  overflow-wrap: anywhere;
}
#authSignedIn .portal-season-progress {
  margin: 2px 0 22px;
  padding: 16px 18px;
  border: 1px solid #343d49;
  border-radius: 14px;
  background: #171c22;
}
#authSignedIn .portal-season-progress-head,
#authSignedIn .portal-season-progress-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
#authSignedIn .portal-season-progress-head strong {
  display: block;
  margin-top: 3px;
  color: #f5f7fb;
  font-size: 18px;
}
#authSignedIn #portalGameProgressPercent {
  color: #ff7917;
  font-size: 20px;
  font-weight: 900;
}
#authSignedIn .portal-progress-track {
  height: 8px;
  margin: 13px 0 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #28313c;
}
#authSignedIn .portal-progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #ff7917;
  transition: width .2s ease;
}
#authSignedIn .portal-season-progress-foot {
  color: #aeb7c4;
  font-size: 12px;
  font-weight: 700;
}
@media (max-width: 900px) {
  #authSignedIn .dashboard-snapshot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  #authSignedIn .portal-season-progress-head,
  #authSignedIn .portal-season-progress-foot { align-items: flex-start; }
  #authSignedIn .portal-season-progress-foot { flex-direction: column; gap: 4px; }
}

/* v1.9.27.143.10 - DID NOT PLAY uses native box-score cell sizing at every breakpoint.
   Do not set font-size, line-height, or padding here; the normal table cell rules own those values. */
.public-dnp-row td {
  color: inherit !important;
  background: inherit !important;
  vertical-align: middle !important;
}
.public-dnp-cell {
  color: inherit !important;
  font-weight: 400 !important;
  letter-spacing: normal !important;
  text-align: center !important;
  white-space: nowrap !important;
}
#jbmMonitor .monitor-dnp-row td {
  color: inherit !important;
  background: inherit !important;
  vertical-align: middle !important;
}
#jbmMonitor .monitor-dnp {
  color: inherit !important;
  font-weight: 400 !important;
  letter-spacing: normal !important;
  text-align: center !important;
  white-space: nowrap !important;
}

/* v1.9.27.143.11 - Portal Schedule: aligned four-column information hierarchy */
.manager-schedule-list-v14311{gap:10px!important}
.manager-list-row.manager-schedule-row-v14311{
  display:block!important;
  padding:14px 16px!important;
}
.manager-schedule-main-v14311{
  display:grid;
  grid-template-columns:110px 170px minmax(320px,1fr) 84px;
  align-items:start;
  gap:18px;
  min-width:0;
}
.manager-schedule-cell-v14311{
  display:grid;
  grid-template-rows:auto auto;
  align-content:start;
  gap:3px;
  min-width:0;
}
.manager-schedule-cell-v14311>strong{
  min-width:0;
  margin:0;
  color:#fff;
  font-size:15px;
  line-height:1.15;
  font-weight:850;
}
.manager-schedule-cell-v14311>small{
  margin:0;
  color:#aeb7c3;
  font-size:12px;
  line-height:1.2;
  font-weight:600;
}
.manager-schedule-category-v14311>strong{
  color:var(--accent,#ff7a18);
  white-space:nowrap;
}
.manager-schedule-matchup-v14311>strong{
  font-size:19px;
  font-weight:950;
  letter-spacing:-.01em;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.manager-schedule-matchup-v14311>small{
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.manager-schedule-state-v14311{
  justify-items:end;
  text-align:right;
}
.manager-schedule-state-v14311>strong{
  font-size:15px;
  text-transform:none;
}
.manager-schedule-state-v14311>small{
  font-size:12px;
  line-height:1.2;
  font-weight:600;
  text-transform:none;
}
.manager-schedule-actions-v14311{
  margin-top:10px;
  justify-content:flex-end!important;
}
@media(max-width:1050px){
  .manager-schedule-main-v14311{
    grid-template-columns:95px 155px minmax(250px,1fr) 72px;
    gap:12px;
  }
  .manager-schedule-cell-v14311>strong{font-size:14px}
  .manager-schedule-cell-v14311>small{font-size:11px}
  .manager-schedule-matchup-v14311>strong{font-size:17px}
}
@media(max-width:760px){
  .manager-list-row.manager-schedule-row-v14311{padding:12px!important}
  .manager-schedule-main-v14311{
    grid-template-columns:72px 128px minmax(170px,1fr) 56px;
    gap:8px;
  }
  .manager-schedule-cell-v14311>strong{font-size:12px}
  .manager-schedule-cell-v14311>small{font-size:10px}
  .manager-schedule-matchup-v14311>strong{font-size:14px}
}

/* v1.9.27.143.12 - Portal Schedule: more compact game cards */
.manager-schedule-list-v14311{gap:7px!important}
.manager-list-row.manager-schedule-row-v14311{
  padding:9px 14px!important;
}
.manager-schedule-cell-v14311{
  gap:1px;
}
.manager-schedule-actions-v14311{
  margin-top:7px;
}
@media(max-width:1050px){
  .manager-list-row.manager-schedule-row-v14311{padding:8px 12px!important}
}
@media(max-width:760px){
  .manager-schedule-list-v14311{gap:6px!important}
  .manager-list-row.manager-schedule-row-v14311{padding:7px 10px!important}
  .manager-schedule-cell-v14311{gap:1px}
  .manager-schedule-actions-v14311{margin-top:6px}
}

/* v1.9.27.143.13 - Portal Schedule: tighter card height */
.manager-list-row.manager-schedule-row-v14311{
  padding:5px 12px!important;
}
.manager-schedule-cell-v14311{
  gap:0!important;
}
.manager-schedule-cell-v14311>strong{
  line-height:1.08!important;
}
.manager-schedule-cell-v14311>small{
  line-height:1.08!important;
}
.manager-schedule-actions-v14311{
  margin-top:4px!important;
}
@media(max-width:1050px){
  .manager-list-row.manager-schedule-row-v14311{padding:5px 10px!important}
}
@media(max-width:760px){
  .manager-list-row.manager-schedule-row-v14311{padding:5px 9px!important}
  .manager-schedule-cell-v14311{gap:0!important}
  .manager-schedule-actions-v14311{margin-top:4px!important}
}

/* v1.9.27.143.14 - full archived league view */
.archive-full-league-button {
  appearance: none;
  border: 1px solid rgba(255, 122, 0, .78);
  background: rgba(255, 122, 0, .10);
  color: var(--accent);
  border-radius: 9px;
  padding: 8px 11px;
  font: inherit;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: .08em;
  cursor: pointer;
  white-space: nowrap;
}

.archive-full-league-button:hover,
.archive-full-league-button:focus-visible {
  background: var(--accent);
  color: #0b0e12;
  outline: none;
}

@media(max-width:700px) {
  .archive-league-head {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .archive-open-indicator {
    width: 100%;
    margin-left: 90px;
    justify-content: flex-start;
  }
}

/* v1.9.27.143.24 - Slightly smaller team matchup names in Portal Schedule */
.manager-schedule-matchup-v14311>strong{
  font-size:17px;
}
@media(max-width:1050px){
  .manager-schedule-matchup-v14311>strong{font-size:16px}
}
@media(max-width:760px){
  .manager-schedule-matchup-v14311>strong{font-size:13px}
}

/* ============================================================
   v1.9.27.143.25 - RECENT RESULTS TYPOGRAPHY BALANCE
   Team name is the primary visual; score is secondary.
   Card size and layout remain unchanged.
   ============================================================ */
#recentGames .matchup-team-name {
  font-size: 16px !important;
  font-weight: 900 !important;
}

#recentGames .matchup-score {
  font-size: 17px !important;
  font-weight: 850 !important;
  margin-top: 5px !important;
}

#recentGames .matchup-winner .matchup-team-name {
  font-weight: 1000 !important;
}

#recentGames .matchup-winner .matchup-score {
  font-size: 18px !important;
  font-weight: 900 !important;
}

@media(max-width:520px) {
  #recentGames .matchup-team-name {
    font-size: 12px !important;
  }
  #recentGames .matchup-score {
    font-size: 13px !important;
  }
  #recentGames .matchup-winner .matchup-score {
    font-size: 14px !important;
  }
}

/* v1.9.27.143.27 - Team Manager protected player editing */
.manager-player-form input[readonly],
.manager-player-form input.is-readonly {
  opacity: .72;
  cursor: not-allowed;
  background: rgba(255,255,255,.035);
}
#editPlayerRosterStatusReadOnly {
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: .04em;
}

/* Platform Admin owner-equivalent support mode */
.platform-support-banner{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 16px;padding:12px 14px;border:1px solid rgba(245,130,32,.55);border-radius:12px;background:rgba(245,130,32,.08)}
.platform-support-banner>div{display:grid;gap:2px}.platform-support-banner span{color:#f58220;font-size:11px;font-weight:900;letter-spacing:.09em}.platform-support-banner strong{font-size:16px;color:#fff}.platform-support-banner small{color:#aab2bd}.platform-support-banner .manager-mini-action{white-space:nowrap}
@media(max-width:720px){.platform-support-banner{align-items:flex-start;flex-direction:column}.platform-support-banner .manager-mini-action{width:100%}}

/* v1.9.27.143.30 league logo treatment: clean transparent presentation */
.league-brand-logo-wrap,.portal-league-branding-logo-wrap,.game-league-logo,.public-portal-league-logo{background:transparent!important;box-shadow:none!important;border-color:transparent!important;}
.league-brand-logo,.portal-league-branding-logo,.game-league-logo,.public-portal-league-logo,.manager-league-brand img,.public-reg-brand img{object-fit:contain!important;background:transparent!important;}


/* v1.9.27.143.35 - Platform Admin Support Mode header + compact copy link */
.portal-head-actions{display:flex;align-items:center;gap:10px;}
.portal-support-back{white-space:nowrap;font-size:11px;padding:0 14px;height:38px;}
.copy-league-link-button{
  background:transparent!important;
  border:1px solid #f58220!important;
  color:#f58220!important;
  min-height:34px!important;
  height:34px!important;
  padding:0 14px!important;
  border-radius:8px!important;
  font-size:11px!important;
  font-weight:900!important;
  letter-spacing:.04em!important;
  box-shadow:none!important;
}
.copy-league-link-button:hover{background:rgba(245,130,32,.08)!important;}
@media(max-width:720px){.portal-head-actions{gap:6px}.portal-support-back{padding:0 10px;font-size:9px}.copy-league-link-button{width:auto!important;}}


/* v1.9.27.143.36 - Wider league portal, no horizontal page scrolling, Platform Admin delete inside Edit Player */
.auth-dialog:has(#authSignedIn:not(.hidden)){
  width:min(1360px,calc(100vw - 24px))!important;
  max-width:none!important;
  overflow-x:hidden!important;
}
#authSignedIn,
#authSignedIn .manager-view,
#authSignedIn .manager-list,
#authSignedIn #managerPlayersContent,
#authSignedIn #managerScheduleContent{
  min-width:0!important;
  max-width:100%!important;
  box-sizing:border-box;
}
.manager-tabs{
  flex-wrap:wrap!important;
  overflow-x:visible!important;
}
.player-head-actions,
.schedule-head-actions{
  display:flex;
  flex-wrap:wrap!important;
  justify-content:flex-end;
  gap:8px;
  min-width:0;
}
.edit-player-form-actions{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  margin-top:4px;
}
.edit-player-form-actions .auth-primary{
  flex:1 1 220px;
}
.edit-player-form-actions #platformAdminDeletePlayerButton{
  flex:0 0 auto;
  min-height:44px;
}
@media(max-width:1250px){
  .manager-section-head{
    flex-wrap:wrap;
    align-items:flex-start;
  }
  .player-head-actions,
  .schedule-head-actions{
    width:100%;
    justify-content:flex-start;
  }
  .player-management-row{
    grid-template-columns:minmax(0,1.25fr) minmax(120px,.55fr) minmax(215px,.8fr)!important;
    gap:12px!important;
  }
  .player-status-control{
    grid-column:1/-1;
    align-items:flex-start!important;
  }
  .player-row-actions{
    justify-content:flex-start!important;
  }
  .manager-schedule-main-v14311{
    grid-template-columns:90px 145px minmax(0,1fr) 70px!important;
    gap:10px!important;
  }
}
@media(max-width:900px){
  .auth-dialog:has(#authSignedIn:not(.hidden)){
    width:calc(100vw - 12px)!important;
  }
  .player-management-row{
    grid-template-columns:minmax(0,1fr) minmax(110px,.45fr)!important;
  }
  .player-state-summary,
  .player-status-control{
    grid-column:1/-1;
  }
  .manager-schedule-main-v14311{
    grid-template-columns:78px 120px minmax(0,1fr) 60px!important;
    gap:8px!important;
  }
  .manager-schedule-matchup-v14311>strong{
    font-size:14px!important;
  }
}
@media(max-width:700px){
  .player-management-row,
  .manager-schedule-main-v14311{
    grid-template-columns:1fr!important;
  }
  .manager-schedule-state-v14311{
    justify-items:start!important;
    text-align:left!important;
  }
  .edit-player-form-actions{
    flex-direction:column;
    align-items:stretch;
  }
  .edit-player-form-actions .auth-primary,
  .edit-player-form-actions #platformAdminDeletePlayerButton{
    width:100%;
    flex:0 0 auto;
  }
}
\n\n/* v1.9.27.143.37 - use wider desktop portal space more efficiently */\n@media(min-width:1051px){\n  /* Players: show full team names now that the portal is wider. */\n  .player-management-row{\n    grid-template-columns:minmax(330px,1.35fr) minmax(240px,.85fr) minmax(280px,.82fr) minmax(225px,.68fr)!important;\n    gap:18px!important;\n  }\n  .player-position-team-line{gap:9px!important;}\n  .player-team-code{\n    white-space:normal!important;\n    overflow:visible!important;\n    text-overflow:clip!important;\n    line-height:1.15!important;\n  }\n  /* Teams: logo is a compact inline mark immediately before the team name. */\n  .team-logo-row{\n    grid-template-columns:minmax(390px,1.45fr) minmax(220px,.8fr) auto auto!important;\n  }\n  .team-logo-row .owner-team-identity{\n    display:flex!important;\n    flex-direction:row!important;\n    align-items:center!important;\n    gap:12px!important;\n  }\n  .team-logo-row .owner-team-logo-preview,\n  .team-logo-row .owner-team-logo-placeholder{\n    width:42px!important;\n    height:42px!important;\n    flex:0 0 42px!important;\n    padding:0!important;\n    border:0!important;\n    background:transparent!important;\n    border-radius:0!important;\n    object-fit:contain!important;\n  }\n  /* Schedule: use the extra width for a complete date and a larger matchup area. */\n  .manager-schedule-main-v14311{\n    grid-template-columns:135px 185px minmax(430px,1fr) 82px!important;\n    gap:22px!important;\n  }\n  .manager-schedule-date-v14311>strong{white-space:nowrap!important;}\n  .manager-schedule-matchup-v14311>strong,\n  .manager-schedule-matchup-v14311>small{\n    overflow:visible!important;\n    text-overflow:clip!important;\n  }\n}\n

/* v1.9.27.143.38 - wide portal spacing refinements */
@media(min-width:1051px){
  /* Teams: force logo and identity onto one horizontal line. */
  .team-logo-row .owner-team-identity{
    display:grid!important;
    grid-template-columns:48px minmax(0,1fr)!important;
    align-items:center!important;
    column-gap:12px!important;
    min-width:0!important;
  }
  .team-logo-row .owner-team-logo-preview,
  .team-logo-row .owner-team-logo-placeholder{
    grid-column:1!important;
    grid-row:1!important;
    width:44px!important;
    height:44px!important;
    max-width:44px!important;
    max-height:44px!important;
    margin:0!important;
    align-self:center!important;
  }
  .team-logo-row .owner-team-identity>div:last-child{
    grid-column:2!important;
    grid-row:1!important;
    min-width:0!important;
  }

  /* Players: reduce the empty first column and use full position names. */
  .player-management-row{
    grid-template-columns:minmax(270px,1.05fr) minmax(330px,1.15fr) minmax(270px,.82fr) minmax(220px,.68fr)!important;
    gap:14px!important;
  }
  .player-position-team{padding-left:0!important;}
  .player-position-team-line{gap:12px!important;}
  .player-position-label{min-width:0!important;font-size:14px!important;white-space:nowrap!important;}
  .player-team-code{font-size:15px!important;white-space:nowrap!important;}

  /* Schedule: make venue its own useful column between matchup and status. */
  .manager-schedule-main-v14311{
    grid-template-columns:138px 170px minmax(330px,1.05fr) minmax(220px,.72fr) 80px!important;
    gap:18px!important;
    align-items:center!important;
  }
  .manager-schedule-matchup-v14311>small{color:#aeb7c3!important;}
  .manager-schedule-venue-v14311{
    min-width:0!important;
  }
  .manager-schedule-venue-v14311>strong{
    font-size:13px!important;
    font-weight:750!important;
    color:#dfe4ea!important;
    white-space:normal!important;
    line-height:1.15!important;
  }
  .manager-schedule-venue-v14311>small{
    color:#7f8996!important;
    font-size:9px!important;
    letter-spacing:.08em!important;
  }
}

/* Slightly stronger portal standings typography without changing public standings. */
#managerStandingsContent table{font-size:15px!important;}
#managerStandingsContent th{font-size:11px!important;padding:13px 12px!important;}
#managerStandingsContent td{font-size:15px!important;padding:15px 12px!important;}
#managerStandingsContent .team-cell{font-size:16px!important;}

/* League leaders: player identity, team, then statistic value. */
.leader-row{
  grid-template-columns:24px minmax(0,1.35fr) minmax(110px,.8fr) auto!important;
  column-gap:12px!important;
}
.leader-player{min-width:0;}
.leader-team{
  margin-top:0!important;
  color:#aeb7c3!important;
  font-size:11px!important;
  font-weight:800!important;
  text-align:left!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
@media(max-width:760px){
  .leader-row{grid-template-columns:22px minmax(0,1fr) auto!important;}
  .leader-team{grid-column:2;white-space:normal!important;}
  .leader-value{grid-column:3;grid-row:1 / span 2;}
}

/* v1.9.27.143.39 - portal player alignment + compact schedule correction */
@media(min-width:1051px){
  /* Players: dedicated aligned columns for player, position, team, status and actions. */
  .player-management-row{
    grid-template-columns:minmax(320px,1.35fr) 150px minmax(210px,.82fr) minmax(300px,.98fr) 205px!important;
    column-gap:16px!important;
    row-gap:0!important;
    align-items:center!important;
  }
  .player-position-column,
  .player-team-column{
    min-width:0!important;
    align-self:center!important;
  }
  .player-position-column{
    display:flex!important;
    align-items:center!important;
  }
  .player-position-label{
    display:block!important;
    width:100%!important;
    white-space:nowrap!important;
    overflow:visible!important;
    text-overflow:clip!important;
    font-size:14px!important;
    line-height:1.15!important;
  }
  .player-team-column{
    display:grid!important;
    grid-template-rows:auto auto!important;
    gap:3px!important;
  }
  .player-team-code{
    display:block!important;
    white-space:nowrap!important;
    overflow:visible!important;
    text-overflow:clip!important;
    font-size:14px!important;
    line-height:1.15!important;
  }
  .player-category-line{
    white-space:nowrap!important;
    font-size:11px!important;
  }

  /* Teams: keep logo vertically centered directly before the team identity. */
  .roster-team-head .owner-team-identity{
    display:grid!important;
    grid-template-columns:52px minmax(0,1fr)!important;
    align-items:center!important;
    column-gap:12px!important;
  }
  .roster-team-head .owner-team-logo-preview,
  .roster-team-head .owner-team-logo-placeholder{
    grid-column:1!important;
    grid-row:1!important;
    width:48px!important;
    height:48px!important;
    max-width:48px!important;
    max-height:48px!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    object-fit:contain!important;
  }
  .roster-team-head .owner-team-identity>div{
    grid-column:2!important;
    grid-row:1!important;
    align-self:center!important;
  }
  .roster-team-head .owner-team-identity h4,
  .roster-team-head .owner-team-identity small{
    margin:0!important;
  }

  /* Schedule: one compact row — Date | Category | Matchup | Venue | Status. */
  .manager-list-row.manager-schedule-row-v14311{
    padding:8px 14px!important;
  }
  .manager-schedule-main-v14311{
    display:grid!important;
    grid-template-columns:128px 170px minmax(350px,1fr) minmax(185px,.65fr) 74px!important;
    column-gap:18px!important;
    row-gap:0!important;
    align-items:center!important;
    min-width:0!important;
  }
  .manager-schedule-cell-v14311{
    align-self:center!important;
    min-width:0!important;
  }
  .manager-schedule-date-v14311>strong,
  .manager-schedule-category-v14311>strong,
  .manager-schedule-matchup-v14311>strong,
  .manager-schedule-venue-v14311>strong,
  .manager-schedule-state-v14311>strong{
    white-space:nowrap!important;
  }
  .manager-schedule-matchup-v14311>strong{
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    font-size:17px!important;
  }
  .manager-schedule-matchup-v14311>small{
    display:none!important;
  }
  .manager-schedule-venue-v14311>strong{
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    font-size:13px!important;
    line-height:1.15!important;
  }
  .manager-schedule-venue-v14311>small{
    display:none!important;
  }
  .manager-schedule-state-v14311{
    justify-items:end!important;
    text-align:right!important;
  }
  .manager-schedule-actions-v14311{
    margin-top:6px!important;
  }
}

@media(min-width:1051px) and (max-width:1200px){
  .player-management-row{
    grid-template-columns:minmax(280px,1.2fr) 140px minmax(185px,.8fr) minmax(250px,.9fr) 190px!important;
    column-gap:12px!important;
  }
  .manager-schedule-main-v14311{
    grid-template-columns:118px 155px minmax(280px,1fr) minmax(160px,.58fr) 68px!important;
    column-gap:12px!important;
  }
}

/* ============================================================
   PLATFORM ADMIN GAME CALCULATOR v1.9.27.143.54
   ============================================================ */
.pa-calc-shell{max-width:1040px;margin:18px auto 4px}.pa-calc-titlebar{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:18px}.pa-calc-titlebar h3{margin:3px 0 5px;font-size:24px}.pa-calc-titlebar .pa-muted{margin:0;max-width:720px}.pa-calc-reset{border:1px solid #3b4551;background:#171c22;color:#d7dde5;border-radius:10px;padding:10px 16px;font-size:11px;font-weight:900;letter-spacing:.04em;cursor:pointer}.pa-calc-categories{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}.pa-calc-card{border:1px solid #363f4a;border-radius:16px;background:#151a20;padding:18px;box-shadow:0 8px 22px rgba(0,0,0,.12)}.pa-calc-card-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}.pa-calc-card-head>strong{font-size:16px;color:#fff}.pa-calc-trash{border:0;background:transparent;color:#9da6b1;font-size:20px;line-height:1;padding:4px 6px;cursor:pointer}.pa-calc-trash:hover{color:#ff6b6b}.pa-calc-form-grid{display:grid;gap:14px}.pa-calc-control{display:grid;gap:7px}.pa-calc-control>span{font-size:12px;color:#c4cad2;font-weight:650}.pa-calc-control input,.pa-calc-control select{width:100%;box-sizing:border-box;background:#0e1319;color:#fff;border:1px solid #3b4550;border-radius:999px;padding:11px 15px;font:inherit;font-size:13px;outline:none}.pa-calc-control select{appearance:auto;border-radius:12px}.pa-calc-control input:focus,.pa-calc-control select:focus{border-color:#f58220}.pa-calc-control.is-disabled{opacity:.5}.pa-calc-stepper{display:flex;align-items:center;justify-content:flex-start;gap:13px;min-height:40px}.pa-calc-stepper button{width:34px;height:34px;border:1px solid #3c4652;border-radius:50%;background:#0e1319;color:#dfe4eb;font-size:20px;line-height:1;cursor:pointer}.pa-calc-stepper button:hover{border-color:#f58220;color:#f58220}.pa-calc-stepper strong{font-size:18px;min-width:22px;text-align:center}.pa-calc-breakdown-box{margin-top:16px;background:#20262d;border-radius:12px;padding:14px 15px}.pa-calc-breakdown-box>div{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:6px 0;color:#aeb6c0;font-size:12px}.pa-calc-breakdown-box>div strong{color:#fff;font-size:14px}.pa-calc-breakdown-box .pa-calc-category-total{margin-top:7px;padding-top:13px;border-top:1px solid #343c46;color:#fff;font-weight:850}.pa-calc-breakdown-box .pa-calc-category-total span{font-size:14px}.pa-calc-breakdown-box .pa-calc-category-total strong{font-size:18px}.pa-calc-add{width:100%;margin:16px 0;border:1px solid #3b4550;border-radius:12px;background:transparent;color:#c7ced7;padding:11px 16px;font-size:13px;font-weight:750;cursor:pointer}.pa-calc-add:hover{border-color:#f58220;color:#f58220}.pa-calc-league-summary{background:#20262d;border:1px solid #343d47;border-radius:14px;padding:17px 18px}.pa-calc-summary-label{font-size:10px;color:#a6afb9;letter-spacing:.08em;font-weight:900}.pa-calc-summary-total{display:flex;align-items:baseline;gap:7px;margin:7px 0 15px}.pa-calc-summary-total strong{font-size:32px;color:#fff}.pa-calc-summary-total span{font-size:18px;color:#fff;font-weight:850}.pa-calc-summary-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.pa-calc-summary-grid div{display:grid;gap:2px}.pa-calc-summary-grid strong{font-size:18px;color:#fff}.pa-calc-summary-grid span{font-size:11px;color:#9da6b1}.pa-calc-copy{width:100%;margin-top:12px;border:0;border-radius:12px;background:#f58220;color:#111;padding:12px 16px;font-size:12px;font-weight:950;cursor:pointer}.pa-calc-copy:hover{filter:brightness(1.06)}.pa-calc-copy-status{text-align:center;min-height:20px;padding-top:6px;color:#91d3ad;font-size:11px;font-weight:750}
@media(max-width:950px){.pa-calc-shell{max-width:700px}.pa-calc-categories{grid-template-columns:1fr}}
@media(max-width:620px){.pa-calc-titlebar{display:grid}.pa-calc-reset{justify-self:start}.pa-calc-shell{margin-top:12px}.pa-calc-card{padding:14px}.pa-calc-summary-grid{gap:10px}.pa-calc-titlebar h3{font-size:21px}}


/* v1.9.27.143.55 - Portal button sizing consistency */
:root{
  --portal-control-height:38px;
  --portal-control-pad-x:12px;
  --portal-control-font:12px;
}

/* Use Schedule-tab sizing as the portal control baseline */
#authSignedIn .manager-action,
#authSignedIn .auth-primary,
#authSignedIn .auth-secondary,
#authSignedIn .manager-mini-action{
  min-height:var(--portal-control-height);
  height:var(--portal-control-height);
  padding:0 var(--portal-control-pad-x);
  font-size:var(--portal-control-font);
  line-height:1;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  box-sizing:border-box;
  white-space:nowrap;
}

/* League tab: Copy League Link + Choose Action must be balanced */
#authSignedIn .manager-section-head:has(#portalCopyLeagueLinkButton) .player-head-actions,
#authSignedIn .manager-section-head:has(#portalCopyLeagueLinkButton) > div:last-child{
  display:flex;
  align-items:center;
  gap:8px;
}
#portalCopyLeagueLinkButton,
#platformLeagueActionMenuWrap,
#platformLeagueActionMenuWrap #leagueActionMenuButton{
  width:170px!important;
  min-width:170px!important;
  height:var(--portal-control-height)!important;
  min-height:var(--portal-control-height)!important;
  padding:0 var(--portal-control-pad-x)!important;
  font-size:var(--portal-control-font)!important;
  box-sizing:border-box!important;
}
#platformLeagueActionMenuWrap{display:inline-block;}

/* Edit Player: equal, balanced action buttons */
.edit-player-form-actions{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:10px!important;
  align-items:center!important;
}
.edit-player-form-actions .auth-primary,
.edit-player-form-actions #platformAdminDeletePlayerButton{
  width:100%!important;
  min-width:0!important;
  min-height:var(--portal-control-height)!important;
  height:var(--portal-control-height)!important;
  padding:0 var(--portal-control-pad-x)!important;
  font-size:var(--portal-control-font)!important;
  margin:0!important;
  flex:none!important;
}

@media(max-width:700px){
  .edit-player-form-actions{grid-template-columns:1fr!important;}
  #portalCopyLeagueLinkButton,
  #platformLeagueActionMenuWrap,
  #platformLeagueActionMenuWrap #leagueActionMenuButton{
    width:100%!important;
    min-width:0!important;
  }
}

/* v1.9.27.143.56 - Player row actions on one line + slightly larger portal tabs */
@media(min-width:1051px){
  #authSignedIn .player-status-control{
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:8px!important;
    min-width:0!important;
  }
  #authSignedIn .player-row-actions{
    display:flex!important;
    flex-direction:row!important;
    flex-wrap:nowrap!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:8px!important;
    white-space:nowrap!important;
  }
  #authSignedIn .player-row-actions .manager-mini-action{
    flex:0 0 auto!important;
    min-width:104px!important;
  }
}

/* Give the main league-management tabs a little more presence without changing the content layout. */
#authSignedIn .manager-tab{
  min-height:42px!important;
  padding:0 16px!important;
  font-size:11px!important;
  border-radius:9px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
}

@media(max-width:1050px){
  #authSignedIn .player-row-actions{
    flex-wrap:wrap!important;
  }
}

/* v143-66: readable native date/time picker icons in the manual schedule dialog */
#gameDateInput, #gameTimeInput { color-scheme: dark; }
#gameDateInput::-webkit-calendar-picker-indicator, #gameTimeInput::-webkit-calendar-picker-indicator { filter: invert(1); opacity: 1; cursor: pointer; }
/* v143-67: force bright calendar/clock glyphs regardless of native icon theme */
#gameDateInput, #gameTimeInput { color-scheme: light; color: #fff; }
#gameDateInput::-webkit-calendar-picker-indicator,
#gameTimeInput::-webkit-calendar-picker-indicator { -webkit-filter: brightness(0) invert(1) !important; filter: brightness(0) invert(1) !important; opacity: 1 !important; cursor: pointer; }

/* v143-68: white SVG icons instead of OS-native black icons; native picker hit target remains functional */
#gameDateInput, #gameTimeInput { color-scheme: dark !important; background-repeat:no-repeat !important; background-position:right 12px center !important; background-size:17px 17px !important; padding-right:38px !important; }
#gameDateInput { background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23fff%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%223%22 y=%225%22 width=%2218%22 height=%2216%22 rx=%222%22/%3E%3Cpath d=%22M16 3v4M8 3v4M3 10h18%22/%3E%3C/svg%3E") !important; }
#gameTimeInput { background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23fff%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%229%22/%3E%3Cpath d=%22M12 7v5l3 2%22/%3E%3C/svg%3E") !important; }
#gameDateInput::-webkit-calendar-picker-indicator, #gameTimeInput::-webkit-calendar-picker-indicator { opacity:0 !important; width:22px !important; cursor:pointer !important; }

/* v143-70: keep the existing row and clickable white SVG picker icons,
   but allocate sufficient text width for complete localized date and time. */
#gameForm .manager-two-col:has(.game-date-time-fields) {
  grid-template-columns: minmax(0, 1.24fr) minmax(0, .76fr);
}
#gameForm .game-date-time-fields {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 8px;
}
#gameForm #gameDateInput, #gameForm #gameTimeInput {
  min-width: 0;
  font-size: 13px;
  padding-left: 8px !important;
  padding-right: 25px !important;
  background-position: right 7px center !important;
  background-size: 15px 15px !important;
  font-variant-numeric: tabular-nums;
}
#gameForm #gameDateInput::-webkit-calendar-picker-indicator,
#gameForm #gameTimeInput::-webkit-calendar-picker-indicator {
  width: 18px !important;
  margin: 0 !important;
  padding: 0 !important;
}
@media(max-width:760px){
  #gameForm .manager-two-col:has(.game-date-time-fields){grid-template-columns:1fr}
}
@media(max-width:400px){
  #gameForm .game-date-time-fields{grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr)}
  #gameForm #gameDateInput,#gameForm #gameTimeInput{font-size:12px;padding-left:6px !important}
}

/* Awards completion toggle: neutral, aligned under registered player count */
.manager-awards-controls{display:flex;flex-direction:column;align-items:flex-end;gap:9px;flex-shrink:0}
.manager-elimination-toggle{background:#151b22!important;border:1px solid #46515e!important;color:#e9edf2!important;font-size:11px!important;letter-spacing:.02em!important;text-transform:none;white-space:nowrap}
.manager-elimination-toggle:hover{border-color:#9ba7b5!important;color:#fff!important}
.manager-elimination-toggle:disabled{opacity:.55;cursor:wait}
@media(max-width:760px){.manager-awards-controls{align-items:flex-start}}

/* v75: compact, live-data scoreboard on public mobile box score only. */
.public-mobile-scoreboard{display:grid;grid-template-columns:minmax(0,1fr) minmax(82px,.7fr) minmax(0,1fr);align-items:center;gap:8px;background:linear-gradient(145deg,#171d25,#10141a);border:1px solid #353d48;border-radius:18px;padding:18px 16px;margin:0 0 12px;color:#fff;min-width:0}
.public-mobile-score-team{min-width:0}
.public-mobile-score-team.is-away{text-align:right}
.public-mobile-score-name{font-size:clamp(14px,4vw,20px);font-weight:950;line-height:1.15;overflow-wrap:anywhere;text-transform:uppercase}
.public-mobile-score-number{font-size:clamp(44px,11vw,68px);font-weight:1000;line-height:1.1;font-variant-numeric:tabular-nums}
.public-mobile-score-status{color:#ff7922;text-align:center;font-size:clamp(11px,3vw,17px);font-weight:950;line-height:1.35;overflow-wrap:anywhere;text-transform:uppercase}
.public-mobile-score-status.is-live{color:#ff7922}
@media(max-width:360px){.public-mobile-scoreboard{padding:14px 10px;grid-template-columns:minmax(0,1fr) minmax(72px,.65fr) minmax(0,1fr);gap:5px}}

/* v76: explicit mobile scorecard visibility and spacing. */
@media(max-width:760px){.public-game-mobile .public-mobile-scoreboard{display:grid!important;visibility:visible!important;opacity:1!important;margin:0 0 14px!important}}

/* v78: mobile scoreboard numbers centered beneath their respective team names. */
.public-mobile-score-team,.public-mobile-score-team.is-away{text-align:center}
.public-mobile-score-number{text-align:center;width:100%;display:block}
/* Jersey/display names are uppercase visually; legal/full names remain untouched. */
.player-cell,.scorer-player,.scorer-selected-label strong,.scorer-box-table tbody td:first-child,.scorer-best-head h3,.scorer-event,.player-primary-line{text-transform:uppercase}
/* Keep platform calculator discoverable even on narrow screens. */

/* v81: consistent uppercase player names in all box scores and scorer */
.boxscore-table .player-cell, .public-portal-desktop .boxscore-table .player-cell,
.scorer-box-table tbody td:first-child, .scorer-player, .scorer-best-player h3,
.scorer-event, #scorerSelected { text-transform: uppercase; }

/* v82: enforce box-score names across public/portal/scorer */
.boxscore-table td.player-cell, .public-portal-desktop .boxscore-table td.player-cell,
.scorer-box-table tbody td:first-child, .scorer-roster .scorer-player {text-transform:uppercase !important;}

/* R9: apply league-route geometry before async directory data arrives. */
html.league-route .league-brand-container.hidden{display:block!important;visibility:hidden;min-height:162px}
.league-brand-logo{aspect-ratio:1/1}
.archive-logo,.game-league-logo,.public-portal-league-logo{aspect-ratio:1/1;object-fit:contain}
@media(max-width:800px){html.league-route .league-brand-container.hidden{min-height:114px}}

/* R12.2: a hidden league banner must not reserve space above an open game.
   Keep the R9 loading placeholder for other league views. */
html.league-route:has(#gameSection:not(.hidden)) #leagueBranding.hidden {
  display: none !important;
  min-height: 0 !important;
  margin: 0 !important;
}
#gameSection > .back-button { margin-top: 20px; }

/* R12.10: postseason results, separate from elimination rankings. */
.public-playoffs{margin-top:42px}.playoffs-note{color:#9fa9b6;font-size:14px;margin:8px 0 0;line-height:1.5}.playoffs-pending{padding:24px 18px;color:#9fa9b6;font-size:13px;line-height:1.5}#refreshPlayoffs{margin:0;min-height:40px}#refreshPlayoffs:disabled{opacity:.5;cursor:wait}@media(max-width:600px){.public-playoffs .section-head{flex-wrap:wrap;gap:14px}.public-playoffs{margin-top:30px}}

/* Playoff progression: seeded survivors and result-based final placings. */
.playoff-progression{display:grid;grid-template-columns:minmax(0,1fr);gap:18px}.playoff-stage{min-width:0;border:1px solid var(--border,#303944);border-radius:14px;background:#10151c;overflow:hidden}.playoff-stage-head{padding:16px 18px;border-bottom:1px solid #303944}.playoff-stage-head h3{margin:0;color:var(--accent,#ff6a00);font-size:18px}.playoff-stage-head p{margin:7px 0 0;color:#a7b0bd;font-size:13px}.playoff-ranking{width:100%;table-layout:fixed;border-collapse:collapse}.playoff-ranking th,.playoff-ranking td{white-space:normal;overflow-wrap:anywhere;padding:14px 18px;text-align:left}.playoff-ranking th:first-child{width:110px}.playoff-progress-label{color:var(--accent,#ff6a00);font-size:13px;font-weight:700}.playoff-progress-note{margin:0;padding:12px 18px;color:#a7b0bd;font-size:13px;line-height:1.5}.playoff-ranking .team-cell{font-weight:800}.playoff-ranking-wrap{overflow-x:auto}@media(max-width:600px){.playoff-ranking th,.playoff-ranking td{padding:12px 10px;font-size:12px}.playoff-ranking th:first-child{width:72px}.playoff-progress-label{font-size:11px}.playoff-stage-head{padding:14px 12px}}

.playoff-ranking th:last-child{width:40%}

.completed-elimination{margin-top:42px}.public-playoffs{margin-top:0}.completed-elimination>.section-head{margin-bottom:18px}#playoffRefreshStatus{min-height:21px;margin-top:12px}@media(max-width:600px){.completed-elimination{margin-top:30px}}

.mythical-position-grid,.mythical-saved{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:16px;margin:16px 0}.mythical-position-grid label,.mythical-filters label{display:grid;gap:8px;color:var(--accent);font-size:13px;font-weight:800}.mythical-position-grid select,.mythical-filters select,.mythical-filters input{width:100%;min-width:0;background:#0b1017;color:#fff;border:1px solid #39434f;border-radius:8px;padding:12px;font:inherit}.mythical-position-grid small{font-weight:400;color:#b4becb;font-size:12px;line-height:1.6}.mythical-filters{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:16px}.mythical-saved article{padding:16px;border:1px solid #37414d;border-radius:10px;display:grid;gap:8px}.mythical-saved article span{color:var(--accent);font-weight:800}.mythical-saved article small{color:#b4becb;line-height:1.5}.mythical-save,.mythical-refresh{background:var(--accent);color:#080b10;border:0;border-radius:8px;padding:12px 18px;font-weight:800;cursor:pointer}.mythical-refresh{background:#202833;color:#fff;border:1px solid #3b4654;font-size:11px}.mythical-save:disabled{opacity:.5;cursor:wait}.mythical-message{color:var(--accent);min-height:20px;font-size:13px}@media(max-width:600px){.mythical-filters{grid-template-columns:1fr}}

/* R12.19: one JBM orange across public and portal standings. */
#standingsSection,#managerStandingsView{--accent:#ff6a00}
#standingsSection .section-head h2,#managerStandingsView .section-head h3,#standingsSection .kicker,#managerStandingsView .kicker,#managerStandingsView .auth-eyebrow{color:var(--accent,#ff6a00)}
