
:root{
  --bg:#23272c;
  --bg-deep:#181b1f;
  --panel:#b5bcc3;
  --panel-light:#dfe4e8;
  --panel-line:#d5dade;
  --frame:#2a3138;
  --text:#101215;
  --text-soft:#2a3036;
  --blue:#071d34;
  --link:#17365f;
  --shadow:0 16px 36px rgba(0,0,0,.28);
  --radius:24px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Arial,Helvetica,sans-serif;background:linear-gradient(180deg,var(--bg) 0%,var(--bg-deep) 100%);color:var(--text);}
a{color:var(--link);text-decoration:none}
a:hover{text-decoration:underline}
img{max-width:100%;height:auto;display:block}
.site-shell{max-width:1180px;margin:0 auto;padding:24px 16px 64px}
.hero,.panel{background:linear-gradient(180deg,#bcc3c9 0%,#a6aeb5 100%);border:2px solid var(--panel-line);border-radius:var(--radius);box-shadow:var(--shadow);padding:24px;position:relative}
.hero{overflow:hidden}
.kicker{font-size:1.35rem;font-weight:900;letter-spacing:.03em;color:#11171d;text-transform:uppercase;text-align:center;margin-bottom:8px}
h1{font-size:clamp(2.2rem,5vw,4.1rem);margin:0 0 16px;text-align:center;color:#101215}
.subtle{margin:10px auto 0;max-width:860px;text-align:center;color:var(--text-soft);font-size:1rem}
.brand-wrap{display:block;text-align:center;margin:18px 0}
.brand-frame{display:inline-block;width:auto;max-width:min(100%,620px);background:transparent;border:12px solid var(--frame);border-radius:18px;padding:0;overflow:hidden;box-shadow:0 16px 30px rgba(0,0,0,.34),0 4px 10px rgba(0,0,0,.24);line-height:0;vertical-align:top}
.brand-mark{display:block;width:auto;max-width:100%;height:auto}
.utility-buttons{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin:18px 0}
.utility-btn,.float-btn{display:inline-block;padding:12px 20px;border-radius:14px;background:linear-gradient(180deg,#29466d 0%,#1c3557 100%);color:#f6f8fa !important;font-weight:700;border:2px solid #6f8299;box-shadow:0 6px 12px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.16)}
.utility-btn:hover,.float-btn:hover{text-decoration:none;filter:brightness(1.05)}
.filter-bar{display:flex;gap:14px;justify-content:center;flex-wrap:wrap;margin-top:16px}
.filter-bar label{display:flex;flex-direction:column;gap:8px;min-width:min(320px,100%)}
.filter-bar span{font-size:.92rem;font-weight:700;color:#1d2227}
.nav-select{appearance:none;background:#eef2f5;border:2px solid #8e959d;border-radius:14px;padding:14px 46px 14px 16px;font-size:1rem;color:#111;min-height:52px;background-image:linear-gradient(45deg,transparent 50%,#4b5258 50%),linear-gradient(135deg,#4b5258 50%,transparent 50%);background-position:calc(100% - 22px) calc(50% - 3px),calc(100% - 14px) calc(50% - 3px);background-size:8px 8px,8px 8px;background-repeat:no-repeat}
.announcements{margin:10px auto 18px;max-width:900px}
.announce-track{position:relative;height:54px;overflow:hidden;border-radius:14px;background:rgba(255,255,255,.28);border:2px solid rgba(42,49,56,.36);box-shadow:inset 0 1px 0 rgba(255,255,255,.20)}
.announce-inner{position:absolute;left:0;top:50%;transform:translateY(-50%);display:flex;gap:0;white-space:nowrap;will-change:transform;animation:tickerLeft var(--ticker-duration,46s) linear infinite}
.announce-seq{display:flex;align-items:center;gap:10px;padding-right:10px}.announce-item{display:inline-flex;align-items:center;padding:8px 14px;border-radius:999px;background:linear-gradient(180deg,#163252 0%,#071d34 100%);color:#f8fafb;font-weight:700;border:1px solid #5e7288;cursor:pointer;box-shadow:0 4px 10px rgba(0,0,0,.24)}.announce-separator{display:inline-block;font-weight:900;letter-spacing:.2em;color:#22303d;min-width:64px;text-align:center}.announce-spacer{display:inline-block;min-width:150px}
.announce-item:hover{filter:brightness(1.08)}
@keyframes tickerLeft{0%{transform:translate(0, -50%)}100%{transform:translate(calc(-1 * var(--ticker-distance, 50%)), -50%)}}
.modal-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.55);display:none;align-items:center;justify-content:center;padding:18px;z-index:50}
.modal-backdrop.open{display:flex}
.modal{max-width:720px;width:100%;background:#eff3f6;border:3px solid #2c333a;border-radius:22px;box-shadow:0 18px 40px rgba(0,0,0,.42);padding:24px;position:relative}
.modal h3{margin:0 36px 12px 0;font-size:1.6rem}
.modal p{margin:0;color:#1f252b;line-height:1.5}
.modal-close{position:absolute;right:14px;top:12px;border:0;background:transparent;font-size:2rem;line-height:1;cursor:pointer;color:#111}
.home-standings-groups{display:grid;gap:14px;margin-top:18px}.grid-standings{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:14px}.grid-standings-pm{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-standings-am{grid-template-columns:repeat(3,minmax(0,1fr))}
.standings-card{background:linear-gradient(180deg,#c3c9ce 0%,#b0b7be 100%);border:2px solid rgba(42,49,56,.22);border-radius:18px;overflow:hidden}
.standings-card h3{margin:0;background:var(--blue);color:#fff;padding:10px 14px;font-size:1.02rem}.standings-card h3 a,.standings-card h3 .division-link{color:#fff !important;text-decoration:none;display:block}.standings-card h3 a:hover{text-decoration:underline}
.table-shell{margin-top:24px;background:linear-gradient(180deg,#bcc3c9 0%,#a6aeb5 100%);border:2px solid var(--panel-line);border-radius:var(--radius);box-shadow:var(--shadow);padding:20px}
.section-title{margin:0 0 8px;font-size:1.7rem}
.meta-copy{margin:0 0 18px;color:#2d3339}
.table-wrap{overflow:auto}
table{width:100%;border-collapse:separate;border-spacing:0;background:#eef2f5;border-radius:16px;overflow:hidden;min-width:720px}
thead th{background:var(--blue);color:#fff;text-align:left;padding:12px 14px;font-size:.98rem;position:sticky;top:0}
tbody td{padding:12px 14px;border-bottom:1px solid #d3d9de;vertical-align:top}
tbody tr:nth-child(even) td{background:#e7ecef}
tbody tr:last-child td{border-bottom:none}
.team-link,.division-link{font-weight:700}
.top-header{display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center}
.top-header .division-badge{font-size:1rem;font-weight:800;text-transform:uppercase;color:#242a30;letter-spacing:.05em}
.team-header-logo{display:inline-block;background:transparent;border:10px solid var(--frame);border-radius:18px;padding:0;overflow:hidden;box-shadow:0 14px 24px rgba(0,0,0,.34)}
.team-header-logo img{max-width:min(100%,520px);max-height:240px;width:auto;height:auto;object-fit:contain}
.team-title-small{font-size:1.15rem;font-weight:800;color:#1a2026}
.details-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;margin:16px 0 6px}
.detail-card{background:rgba(255,255,255,.32);border:2px solid rgba(42,49,56,.18);border-radius:18px;padding:16px}
.detail-label{font-size:.88rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em;color:#2b3137;margin-bottom:6px}
.detail-value{font-size:1.08rem;font-weight:700}
.roster-title{margin:18px 0 10px;font-size:1.45rem}
.floating-nav{position:fixed;right:18px;bottom:18px;z-index:20}
.page-spacer{height:6px}
@media (max-width:700px){
  .site-shell{padding:14px 10px 52px}
  .hero,.panel,.table-shell{padding:16px}
  .brand-frame,.team-header-logo{border-width:8px}
  .announce-track{height:60px}
  .home-standings-groups{gap:10px}
  .grid-standings,.grid-standings-pm,.grid-standings-am{grid-template-columns:1fr;gap:10px}
  .standings-row{grid-template-columns:22px 1fr auto;gap:6px;padding:7px 4px}
  .standings-list{padding:6px 8px 8px}
  table{min-width:620px}
}

.standings-list{padding:8px 10px 10px}.standings-row{display:grid;grid-template-columns:26px 1fr auto;gap:8px;align-items:center;padding:8px 6px;border-bottom:1px solid rgba(42,49,56,.14)}.standings-row:last-child{border-bottom:none}.standings-rank{font-weight:800;color:#1f252b}.standings-team a{font-weight:700}.standings-record{font-weight:800;color:#1f252b}.section-title{background:var(--blue);color:#fff;padding:10px 14px;border-radius:14px;display:inline-block;margin:0 0 10px;font-size:1.45rem}.meta-copy{margin:0 0 16px;color:#2d3339}.table-shell .section-title + .meta-copy{margin-top:4px}

.standings-shell{padding-top:16px}.current-item{font-weight:700;color:inherit;text-decoration:none}


/* launch candidate table tuning */
.table-wrap{overflow:auto;-webkit-overflow-scrolling:touch}
.schedule-table{table-layout:auto;width:max-content;min-width:100%}
.schedule-table thead th,.schedule-table tbody td{padding:9px 8px;white-space:nowrap}
.schedule-table thead th+th,.schedule-table tbody td+td{border-left:1px solid rgba(42,49,56,.14)}
.schedule-table thead th:first-child,.schedule-table tbody td:first-child{width:1%;white-space:normal;min-width:72px;max-width:92px}
.schedule-table thead th:nth-child(2),.schedule-table tbody td:nth-child(2){min-width:58px}
.schedule-table thead th:nth-child(3),.schedule-table tbody td:nth-child(3){min-width:154px;white-space:normal}
.schedule-table thead th:last-child,.schedule-table tbody td:last-child{min-width:84px}
.roster-wrap{overflow:visible}
.roster-table{table-layout:auto;width:auto;min-width:0;max-width:100%}
.roster-table thead th,.roster-table tbody td{padding:10px 8px}
.roster-table thead th+th,.roster-table tbody td+td{border-left:1px solid rgba(42,49,56,.14)}
.roster-table thead th:first-child,.roster-table tbody td:first-child{width:52px;min-width:52px;max-width:52px;text-align:center;padding-left:6px;padding-right:6px}
.roster-table thead th:nth-child(2),.roster-table tbody td:nth-child(2){padding-left:10px;min-width:160px;white-space:normal}
@media (max-width:700px){
  .schedule-table{min-width:max-content}
  .schedule-table thead th,.schedule-table tbody td{padding:8px 6px;font-size:.94rem}
  .schedule-table thead th:first-child,.schedule-table tbody td:first-child{min-width:66px;max-width:84px}
  .schedule-table thead th:nth-child(2),.schedule-table tbody td:nth-child(2){min-width:52px}
  .schedule-table thead th:nth-child(3),.schedule-table tbody td:nth-child(3){min-width:128px}
  .schedule-table thead th:last-child,.schedule-table tbody td:last-child{min-width:72px}
  .roster-table{width:auto;min-width:0}
  .roster-table thead th,.roster-table tbody td{padding:8px 6px;font-size:.96rem}
  .roster-table thead th:first-child,.roster-table tbody td:first-child{width:46px;min-width:46px;max-width:46px}
  .roster-table thead th:nth-child(2),.roster-table tbody td:nth-child(2){min-width:0;padding-left:8px}
}


/* standings table columns update */
.standings-card{padding-bottom:0}
.standings-card h3{margin:0}
.standings-wrap{padding:0}
.standings-table{table-layout:auto;width:max-content;min-width:100%}
.standings-table thead th,.standings-table tbody td{padding:10px 8px;white-space:nowrap}
.standings-table thead th+th,.standings-table tbody td+td{border-left:1px solid rgba(42,49,56,.14)}
.standings-table thead th:first-child,.standings-table tbody td:first-child{width:34px;min-width:34px;text-align:center;padding-left:6px;padding-right:6px}
.standings-table thead th:nth-child(2),.standings-table tbody td:nth-child(2){min-width:170px;white-space:normal}
.standings-table tbody td:not(:nth-child(2)), .standings-table thead th:not(:nth-child(2)){text-align:center}
.standings-team-cell a{font-weight:700}
@media (max-width:700px){
  .standings-table{min-width:max-content}
  .standings-table thead th,.standings-table tbody td{padding:8px 6px;font-size:.94rem}
  .standings-table thead th:nth-child(2),.standings-table tbody td:nth-child(2){min-width:148px}
}


/* schedule result/status enhancements */
.schedule-matchup{display:block;}
.game-result{margin-top:.2rem;font-size:.88em;line-height:1.25;color:#3a4654;font-weight:600;white-space:normal;}
.game-result.final{color:#25415f;}
.schedule-status-cell{font-weight:600;color:#4b5663;}


/* preserved CSS baseline fixes */
.brand-wrap{
  display:flex;
  justify-content:center;
  align-items:center;
}
.brand-frame{
  display:inline-block;
  width:fit-content;
  max-width:100%;
  flex:0 0 auto;
  align-self:center;
}
.brand-mark{
  width:auto;
  max-width:100%;
}
.standings-card h3,
.standings-card h3 a,
.standings-card h3 .division-link{
  text-align:center;
}
.standings-wrap{
  padding:0;
  overflow-x:auto;
  border-radius:0;
}
.standings-table{
  border-collapse:collapse;
}
.standings-table thead th{
  background:#123050;
  color:#fff;
  border-radius:0 !important;
}
@media (min-width: 701px){
  .standings-wrap{
    overflow-x:visible;
  }
  .standings-table{
    width:100%;
    min-width:0;
  }
  .standings-card{
    min-width:560px;
  }
  .grid-standings-pm,
  .grid-standings-am{
    align-items:start;
  }
}

/* standings desktop/mobile correction patch */
.standings-card{
  overflow:hidden;
}

.standings-card h3{
  text-align:center;
  background:#082541;
  border-radius:0;
  padding:12px 14px;
}

.standings-card h3 a,
.standings-card h3 .division-link{
  text-align:center;
}

.standings-table{
  border-collapse:collapse;
  border-radius:0 0 16px 16px;
  overflow:hidden;
}

.standings-table thead th{
  background:#15395e;
  border-radius:0 !important;
}

.standings-table thead th:first-child,
.standings-table thead th:last-child{
  border-radius:0 !important;
}

@media (min-width:701px){
  .grid-standings-pm,
  .grid-standings-am{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(560px, 1fr));
    gap:14px;
    align-items:start;
  }

  .standings-card{
    min-width:0;
    width:100%;
  }

  .standings-wrap{
    overflow-x:visible;
  }

  .standings-table{
    width:100%;
    min-width:560px;
  }
}

@media (max-width:700px){
  .standings-card h3{
    border-radius:0;
  }

  .standings-wrap{
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
  }

  .standings-table{
    min-width:max-content;
  }

  .standings-table thead th{
    border-radius:0 !important;
  }
}


/* ===== Division homepage card themes ===== */
.home-standings-groups .standings-card[data-division="red"]{background:linear-gradient(180deg,#deb1b1 0%,#c57f7f 100%);border-color:#955757}
.home-standings-groups .standings-card[data-division="red"] h3{background:linear-gradient(180deg,#7f1d1d 0%,#561111 100%)}
.home-standings-groups .standings-card[data-division="red"] .standings-table thead th{background:#6a1717}
.home-standings-groups .standings-card[data-division="red"] .standings-table tbody td{background:#f6e7e7}
.home-standings-groups .standings-card[data-division="red"] .standings-table tbody tr:nth-child(even) td{background:#eed7d7}

.home-standings-groups .standings-card[data-division="white"]{background:linear-gradient(180deg,#f2f4f6 0%,#d7dde3 100%);border-color:#98a3ae}
.home-standings-groups .standings-card[data-division="white"] h3{background:linear-gradient(180deg,#64717d 0%,#444f5a 100%)}
.home-standings-groups .standings-card[data-division="white"] .standings-table thead th{background:#56626e}
.home-standings-groups .standings-card[data-division="white"] .standings-table tbody td{background:#fbfcfd}
.home-standings-groups .standings-card[data-division="white"] .standings-table tbody tr:nth-child(even) td{background:#edf1f4}

.home-standings-groups .standings-card[data-division="gold"]{background:linear-gradient(180deg,#e5d18b 0%,#c8a742 100%);border-color:#937621}
.home-standings-groups .standings-card[data-division="gold"] h3{background:linear-gradient(180deg,#73580e 0%,#514009 100%)}
.home-standings-groups .standings-card[data-division="gold"] .standings-table thead th{background:#664d08}
.home-standings-groups .standings-card[data-division="gold"] .standings-table tbody td{background:#faf1d8}
.home-standings-groups .standings-card[data-division="gold"] .standings-table tbody tr:nth-child(even) td{background:#f1e2b2}

.home-standings-groups .standings-card[data-division="blue"]{background:linear-gradient(180deg,#a6c0dd 0%,#6f93bf 100%);border-color:#4b6786}
.home-standings-groups .standings-card[data-division="blue"] h3{background:linear-gradient(180deg,#173b66 0%,#102947 100%)}
.home-standings-groups .standings-card[data-division="blue"] .standings-table thead th{background:#143459}
.home-standings-groups .standings-card[data-division="blue"] .standings-table tbody td{background:#eaf1f8}
.home-standings-groups .standings-card[data-division="blue"] .standings-table tbody tr:nth-child(even) td{background:#dae6f2}

.home-standings-groups .standings-card[data-division="gray"]{background:linear-gradient(180deg,#d0d5da 0%,#afb7bf 100%);border-color:#717b84}
.home-standings-groups .standings-card[data-division="gray"] h3{background:linear-gradient(180deg,#444c55 0%,#2f353d 100%)}
.home-standings-groups .standings-card[data-division="gray"] .standings-table thead th{background:#3a424a}
.home-standings-groups .standings-card[data-division="gray"] .standings-table tbody td{background:#f0f3f5}
.home-standings-groups .standings-card[data-division="gray"] .standings-table tbody tr:nth-child(even) td{background:#e2e7eb}

/* ===== Division and team page themes ===== */
body[data-page][data-division]{
  --division-shell-top:#bcc3c9;
  --division-shell-bottom:#a6aeb5;
  --division-shell-border:#d5dade;
  --division-shell-text:#101215;
  --division-header-top:#29466d;
  --division-header-bottom:#1c3557;
  --division-header-border:#6f8299;
  --division-header-text:#f6f8fa;
  --division-table:#eef2f5;
  --division-row-even:#e7ecef;
  --division-link:#17365f;
  --division-detail-bg:rgba(255,255,255,.32);
  --division-detail-border:rgba(42,49,56,.18);
  --division-select-bg:#eef2f5;
  --division-select-border:#8e959d;
  --division-select-text:#111;
  --division-switch-bg:rgba(255,255,255,.78);
  --division-switch-border:rgba(42,49,56,.24);
  --division-switch-text:#1a2128;
}
body[data-page][data-division="red"]{--division-shell-top:#d8a3a3;--division-shell-bottom:#b86868;--division-shell-border:#8f4a4a;--division-shell-text:#231313;--division-header-top:#7d1e1e;--division-header-bottom:#521010;--division-header-border:#aa7a7a;--division-header-text:#fff6f6;--division-table:#f8eeee;--division-row-even:#f1dfdf;--division-link:#6e1313;--division-detail-bg:#f7e8e8;--division-detail-border:rgba(94,44,44,.18);--division-select-bg:#f8eded;--division-select-border:#8f5a5a;--division-select-text:#2b1616;--division-switch-bg:#f7e7e7;--division-switch-border:#9b6767;--division-switch-text:#5d1414;}
body[data-page][data-division="white"]{--division-shell-top:#eef1f4;--division-shell-bottom:#cfd6dd;--division-shell-border:#98a4af;--division-shell-text:#1a232c;--division-header-top:#5a6672;--division-header-bottom:#3d4752;--division-header-border:#aeb8c2;--division-header-text:#ffffff;--division-table:#fbfcfd;--division-row-even:#eef2f5;--division-link:#27405c;--division-detail-bg:#f8fafc;--division-detail-border:rgba(80,92,104,.16);--division-select-bg:#f7f9fb;--division-select-border:#97a5b4;--division-select-text:#1d2630;--division-switch-bg:#f7f9fb;--division-switch-border:#a8b3bf;--division-switch-text:#334454;}
body[data-page][data-division="gold"]{--division-shell-top:#e3cf86;--division-shell-bottom:#c09b2f;--division-shell-border:#8f7421;--division-shell-text:#2a2006;--division-header-top:#73570e;--division-header-bottom:#4f3b08;--division-header-border:#b6973a;--division-header-text:#fff7db;--division-table:#faf3df;--division-row-even:#f1e4b8;--division-link:#664c05;--division-detail-bg:#f8efd0;--division-detail-border:rgba(109,84,18,.18);--division-select-bg:#fbf3dd;--division-select-border:#9b7f29;--division-select-text:#302305;--division-switch-bg:#f8eed0;--division-switch-border:#a6862d;--division-switch-text:#5d4505;}
body[data-page][data-division="blue"]{--division-shell-top:#9fbad8;--division-shell-bottom:#6487b2;--division-shell-border:#47637e;--division-shell-text:#112234;--division-header-top:#173a63;--division-header-bottom:#102845;--division-header-border:#6f8fb3;--division-header-text:#f8fbff;--division-table:#ebf2f9;--division-row-even:#dbe7f2;--division-link:#143a6c;--division-detail-bg:#e6eef7;--division-detail-border:rgba(33,63,97,.18);--division-select-bg:#edf4fb;--division-select-border:#6683a4;--division-select-text:#102338;--division-switch-bg:#e7eff8;--division-switch-border:#6783a3;--division-switch-text:#163962;}
body[data-page][data-division="gray"]{--division-shell-top:#cfd3d8;--division-shell-bottom:#a4abb2;--division-shell-border:#707983;--division-shell-text:#182028;--division-header-top:#434a53;--division-header-bottom:#2f353c;--division-header-border:#8b949d;--division-header-text:#ffffff;--division-table:#f0f2f4;--division-row-even:#e1e6ea;--division-link:#2b435d;--division-detail-bg:#eceff2;--division-detail-border:rgba(55,64,74,.18);--division-select-bg:#f2f4f6;--division-select-border:#7e8993;--division-select-text:#182028;--division-switch-bg:#edf0f2;--division-switch-border:#8b949d;--division-switch-text:#334250;}

body[data-page][data-division] .site-shell .hero,
body[data-page][data-division] .site-shell .panel,
body[data-page][data-division] .site-shell .table-shell,
body[data-page][data-division] .site-shell .standings-card{background:linear-gradient(180deg,var(--division-shell-top) 0%,var(--division-shell-bottom) 100%);border-color:var(--division-shell-border);box-shadow:0 16px 36px rgba(0,0,0,.30), inset 0 1px 0 rgba(255,255,255,.16)}

body[data-page][data-division] .site-shell .kicker,
body[data-page][data-division] .site-shell h1,
body[data-page][data-division] .site-shell .subtle,
body[data-page][data-division] .site-shell .detail-label,
body[data-page][data-division] .site-shell .detail-value,
body[data-page][data-division] .site-shell .team-title-small,
body[data-page][data-division] .site-shell tbody td,
body[data-page][data-division] .site-shell .game-result,
body[data-page][data-division] .site-shell .schedule-status-cell,
body[data-page][data-division] .site-shell .division-badge,
body[data-page][data-division] .site-shell .standings-rank,
body[data-page][data-division] .site-shell .standings-record,
body[data-page][data-division] .site-shell .filter-bar span{color:var(--division-shell-text)}

body[data-page][data-division] .site-shell .nav-select{background-color:var(--division-select-bg);border-color:var(--division-select-border);color:var(--division-select-text)}
body[data-page][data-division] .site-shell .section-title,
body[data-page][data-division] .site-shell .standings-card h3,
body[data-page][data-division] .site-shell .standings-table thead th,
body[data-page][data-division] .site-shell .schedule-table thead th,
body[data-page][data-division] .site-shell .roster-table thead th,
body[data-page][data-division] .site-shell .float-btn{background:linear-gradient(180deg,var(--division-header-top) 0%,var(--division-header-bottom) 100%) !important;color:var(--division-header-text) !important;border-color:var(--division-header-border)}
body[data-page][data-division] .site-shell .standings-wrap,
body[data-page][data-division] .site-shell .standings-table,
body[data-page][data-division] .site-shell .schedule-table,
body[data-page][data-division] .site-shell .roster-table{background:var(--division-table)}
body[data-page][data-division] .site-shell .detail-card{border-color:var(--division-detail-border);background:var(--division-detail-bg)}
body[data-page][data-division] .site-shell .standings-table tbody td,
body[data-page][data-division] .site-shell .schedule-table tbody td,
body[data-page][data-division] .site-shell .roster-table tbody td{background:var(--division-table);border-bottom-color:var(--division-detail-border)}
body[data-page][data-division] .site-shell .standings-table tbody tr:nth-child(even) td,
body[data-page][data-division] .site-shell .schedule-table tbody tr:nth-child(even) td,
body[data-page][data-division] .site-shell .roster-table tbody tr:nth-child(even) td{background:var(--division-row-even)}
body[data-page][data-division] .site-shell .team-link,
body[data-page][data-division] .site-shell .division-link,
body[data-page][data-division] .site-shell .standings-team-cell a,
body[data-page][data-division] .site-shell .standings-team a,
body[data-page][data-division] .site-shell .detail-value a{color:var(--division-link)}


/* ===== Team page previous / next layout ===== */
.team-division-nav{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:12px;width:100%;max-width:780px;margin:0 auto 4px}
.top-header .division-badge{justify-self:center;text-align:center;font-size:clamp(1.65rem,4vw,2.15rem);font-weight:900;letter-spacing:.08em;white-space:nowrap}
.team-switch{display:inline-flex;align-items:center;justify-content:center;justify-self:start;padding:8px 14px;border-radius:999px;border:2px solid var(--division-switch-border, rgba(42,49,56,.24));background:var(--division-switch-bg, rgba(255,255,255,.78));color:var(--division-switch-text, #1a2128) !important;font-size:1rem;font-weight:800;line-height:1.05;box-shadow:0 8px 16px rgba(0,0,0,.14);white-space:nowrap;min-height:44px;text-decoration:none}
.team-switch-next{justify-self:end}
.team-switch:hover{text-decoration:none;filter:brightness(1.04)}
.team-switch-short{display:none}

@media (max-width:700px){
  .team-division-nav{grid-template-columns:auto minmax(0,1fr) auto;gap:8px;max-width:100%}
  .top-header .division-badge{font-size:clamp(1.2rem,5vw,1.55rem);letter-spacing:.06em}
  .team-switch{padding:7px 10px;font-size:.88rem;min-height:38px}
  .team-switch-full{display:none}
  .team-switch-short{display:inline}
}

@media (max-width:420px){
  .team-division-nav{gap:6px}
  .top-header .division-badge{font-size:1.02rem;letter-spacing:.05em}
  .team-switch{padding:6px 8px;font-size:.8rem;min-height:34px}
}
