@charset "UTF-8";

/* ============================================================
   FONTS
   ============================================================ */
@font-face {
  font-family: Oswald-Bold;
  src: url(Fonts/Oswald-Bold.otf);
}
@font-face {
  font-family: Sintony-Regular;
  src: url(Fonts/Sintony-Regular.ttf);
}
body, p, a, h1, h2, h3, h4 {
  font-family: 'Sintony-Regular', sans-serif;
}

/* ============================================================
   GLOBAL LINKS
   ============================================================ */
a, a:visited, a:hover {
  color: #0E4988;
  text-decoration: none;
}

/* ============================================================
   PRO BANNER — BASE
   ============================================================ */
[class^="TeamRosterPro_"] {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 80%;
  margin: 0 auto 20px auto;
  padding: 20px 20px 20px 90px;
  border-radius: 10px;
  font-size: 2em;
  font-weight: bold;
  text-transform: uppercase;
  position: relative;
  background-color: var(--banner-bg, #000);
  color: var(--banner-fg, #fff);
  background-image: var(--banner-logo);
  background-repeat: no-repeat;
  background-size: 50px 50px;
  background-position: 20px center;
  transition: all 0.3s ease;
  box-sizing: border-box;
}
[class^="TeamRosterPro_"] a {
  text-decoration: none;
  color: currentColor;
  transition: all 0.3s ease;
}
[class^="TeamRosterPro_"]:hover {
  background-color: var(--banner-hover-bg, var(--banner-bg));
  filter: grayscale(100%);
}

/* ============================================================
   FARM BANNER — BASE
   ============================================================ */
[class^="TeamRosterFarm_"] {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 80%;
  margin: 0 auto 20px auto;
  padding: 20px 20px 20px 90px;
  border-radius: 10px;
  font-size: 2em;
  font-weight: bold;
  text-transform: uppercase;
  position: relative;
  background-color: var(--banner-bg, #000);
  color: var(--banner-fg, #fff);
  background-image: var(--banner-logo);
  background-repeat: no-repeat;
  background-size: 50px 50px;
  background-position: 20px center;
  transition: all 0.3s ease;
  box-sizing: border-box;
}
[class^="TeamRosterFarm_"] a {
  text-decoration: none;
  color: currentColor;
  transition: all 0.3s ease;
}
[class^="TeamRosterFarm_"]:hover {
  background-color: var(--banner-hover-bg, var(--banner-bg));
  filter: grayscale(100%);
}

/* ============================================================
   BANNER RESPONSIVE
   ============================================================ */
@media (max-width: 992px) {
  [class^="TeamRosterPro_"],
  [class^="TeamRosterFarm_"] {
    font-size: 1.5em;
    padding: 15px 15px 15px 70px;
    background-size: 40px 40px;
    margin: 0 20px;
    width: auto;
  }
}
@media (max-width: 600px) {
  [class^="TeamRosterPro_"],
  [class^="TeamRosterFarm_"] {
    font-size: 1.25em;
    padding: 10px 10px 10px 60px;
    background-size: 30px 30px;
    margin: 0 15px;
    width: auto;
  }
}

/* ============================================================
   STANLEY CUP ICONS — SINGLE (BOS, COL, NYI, NYR, PIT, TBL, TOR)
   ============================================================ */
.TeamRosterPro_BOS::after,
.TeamRosterPro_COL::after,
.TeamRosterPro_NYI::after,
.TeamRosterPro_NYR::after,
.TeamRosterPro_PIT::after,
.TeamRosterPro_TBL::after {
  content: '';
  display: inline-block;
  background: url('../images/assets/StanleyCup.webp') no-repeat center / contain;
  width: 30px;
  height: 30px;
  margin-left: 10px;
}
.TeamRosterPro_TOR::after {
  content: '';
  display: inline-block;
  background: url('../images/assets/StanleyCupx2.webp') no-repeat center / contain;
  width: 30px;
  height: 30px;
  margin-left: 10px;
}

/* ============================================================
   STANLEY CUP ICONS — DOUBLE (EDM, PHI)
   ============================================================ */
.TeamRosterPro_EDM::after,
.TeamRosterPro_PHI::after {
  content: '';
  display: inline-block;
  background: url('../images/assets/StanleyCupx2.webp') no-repeat center / contain;
  width: 60px;
  height: 30px;
  margin-left: 10px;
}

/* ============================================================
   STANLEY CUP ICONS — TRIPLE (CHI)
   ============================================================ */
.TeamRosterPro_CHI::after {
  content: '';
  display: inline-block;
  background: url('../images/assets/StanleyCupx3.webp') no-repeat center / contain;
  width: 90px;
  height: 30px;
  margin-left: 5px;
}

/* ============================================================
   TEAM COLOURS — PRO
   ============================================================ */
.TeamRosterPro_ANA { --banner-bg: #00685E; --banner-fg: #fff;    --banner-hover-bg: #000;    --banner-logo: url('../images/teams/AnaheimMightyDucks.webp'); }
.TeamRosterPro_BOS { --banner-bg: #000;    --banner-fg: #ffb800; --banner-hover-bg: #000;    --banner-logo: url('../images/teams/BostonBruins.webp'); }
.TeamRosterPro_CAL { --banner-bg: #00955E; --banner-fg: #FEC629; --banner-hover-bg: #00955E; --banner-logo: url('../images/teams/CaliforniaGoldenSeals.webp'); }
.TeamRosterPro_CAR { --banner-bg: #cb0a26; --banner-fg: #2d2926; --banner-hover-bg: #cb0a26; --banner-logo: url('../images/teams/CarolinaHurricanes.webp'); }
.TeamRosterPro_CHI { --banner-bg: #e1191e; --banner-fg: #000;    --banner-hover-bg: #e1191e; --banner-logo: url('../images/teams/ChicagoBlackhawks.webp'); }
.TeamRosterPro_COL { --banner-bg: #00205f; --banner-fg: #de0024; --banner-hover-bg: #00205f; --banner-logo: url('../images/teams/ColoradoAvalanche.webp'); }
.TeamRosterPro_CBJ { --banner-bg: #001d42; --banner-fg: #d2e000; --banner-hover-bg: #001d42; --banner-logo: url('../images/teams/ColumbusBlueJackets.webp'); }
.TeamRosterPro_DET { --banner-bg: #BB2A34; --banner-fg: #fff;    --banner-hover-bg: #BB2A34; --banner-logo: url('../images/teams/DetroitRedWings.webp'); }
.TeamRosterPro_EDM { --banner-bg: #000e8b; --banner-fg: #ff6603; --banner-hover-bg: #000e8b; --banner-logo: url('../images/teams/EdmontonOilers.webp'); }
.TeamRosterPro_FLA { --banner-bg: #c42031; --banner-fg: #bf965c; --banner-hover-bg: #c42031; --banner-logo: url('../images/teams/FloridaPanthers.webp'); }
.TeamRosterPro_HAM { --banner-bg: #F70000; --banner-fg: #fff;    --banner-hover-bg: #F70000; --banner-logo: url('../images/teams/HamiltonMustangs.webp'); }
.TeamRosterPro_LAK { --banner-bg: #572a81; --banner-fg: #fff415; --banner-hover-bg: #572a81; --banner-logo: url('../images/teams/LosAngelesKings.webp'); }
.TeamRosterPro_MTL { --banner-bg: #be2f37; --banner-fg: #21386f; --banner-hover-bg: #be2f37; --banner-logo: url('../images/teams/MontrealCanadiens.webp'); }
.TeamRosterPro_NJD { --banner-bg: #e13a3e; --banner-fg: #231f20; --banner-hover-bg: #e13a3e; --banner-logo: url('../images/teams/NewJerseyDevils.webp'); }
.TeamRosterPro_NYI { --banner-bg: #003087; --banner-fg: #fc4c02; --banner-hover-bg: #003087; --banner-logo: url('../images/teams/NewYorkIslanders.webp'); }
.TeamRosterPro_NYR { --banner-bg: #0038a8; --banner-fg: #ce1126; --banner-hover-bg: #0038a8; --banner-logo: url('../images/teams/NewYorkRangers.webp'); }
.TeamRosterPro_OTT { --banner-bg: #000;    --banner-fg: #C09650; --banner-hover-bg: #000;    --banner-logo: url('../images/teams/OttawaSenators.webp'); }
.TeamRosterPro_PHI { --banner-bg: #fd4400; --banner-fg: #000;    --banner-hover-bg: #fd4400; --banner-logo: url('../images/teams/PhiladelphiaFlyers.webp'); }
.TeamRosterPro_PIT { --banner-bg: #ffb70f; --banner-fg: #000;    --banner-hover-bg: #ffb70f; --banner-logo: url('../images/teams/PittsburghPenguins.webp'); }
.TeamRosterPro_QUE { --banner-bg: #0075cf; --banner-fg: #fff;    --banner-hover-bg: #0075cf; --banner-logo: url('../images/teams/QuebecNordiques.webp'); }
.TeamRosterPro_SJS { --banner-bg: #015764; --banner-fg: #fff;    --banner-hover-bg: #000;    --banner-logo: url('../images/teams/SanJoseSharks.webp'); }
.TeamRosterPro_SEA { --banner-bg: #001425; --banner-fg: #96d8d8; --banner-hover-bg: #001425; --banner-logo: url('../images/teams/SeattleKraken.webp'); }
.TeamRosterPro_STL { --banner-bg: #0072CE; --banner-fg: #FFB81C; --banner-hover-bg: #0072CE; --banner-logo: url('../images/teams/StLouisBlues.webp'); }
.TeamRosterPro_TBL { --banner-bg: #04225c; --banner-fg: #fff;    --banner-hover-bg: #04225c; --banner-logo: url('../images/teams/TampaBayLightningWhite.webp'); }
.TeamRosterPro_TOR { --banner-bg: #0033a0; --banner-fg: #fff;    --banner-hover-bg: #0033a0; --banner-logo: url('../images/teams/TorontoMapleLeafsWhite.webp'); }
.TeamRosterPro_VAN { --banner-bg: #001E5D; --banner-fg: #008638; --banner-hover-bg: #000;    --banner-logo: url('../images/teams/VancouverCanucks.webp'); }
.TeamRosterPro_VGK { --banner-bg: #3b4246; --banner-fg: #d4b246; --banner-hover-bg: #3b4246; --banner-logo: url('../images/teams/VegasGoldenKnights.webp'); }
.TeamRosterPro_WPG { --banner-bg: #004C97; --banner-fg: #fff;    --banner-hover-bg: #004C97; --banner-logo: url('../images/teams/WinnipegJets.webp'); }

/* ============================================================
   TEAM COLOURS — FARM
   ============================================================ */
.TeamRosterFarm_ANA { --banner-bg: #0083C1; --banner-fg: #F47937; --banner-hover-bg: #040104; --banner-logo: url('../images/teams/SanDiegoGulls.webp'); }
.TeamRosterFarm_BOS { --banner-bg: #040104; --banner-fg: #FCC731; --banner-hover-bg: #040104; --banner-logo: url('../images/teams/ProvidenceBruins.webp'); }
.TeamRosterFarm_CAL { --banner-bg: #398245; --banner-fg: #081F57; --banner-hover-bg: #398245; --banner-logo: url('../images/teams/AbbotsfordCanucks.webp'); }
.TeamRosterFarm_CAR { --banner-bg: #091F40; --banner-fg: #D95F20; --banner-hover-bg: #091F40; --banner-logo: url('../images/teams/GreenvilleSwampRabbits.webp'); }
.TeamRosterFarm_CHI { --banner-bg: #000;    --banner-fg: #E20001; --banner-hover-bg: #000;    --banner-logo: url('../images/teams/RockfordIceHogs.webp'); }
.TeamRosterFarm_COL { --banner-bg: #010101; --banner-fg: #F3CF3E; --banner-hover-bg: #010101; --banner-logo: url('../images/teams/ColoradoEagles.webp'); }
.TeamRosterFarm_CBJ { --banner-bg: #241F1F; --banner-fg: #BC9854; --banner-hover-bg: #241F1F; --banner-logo: url('../images/teams/ClevelandMonsters.webp'); }
.TeamRosterFarm_DET { --banner-bg: #B8373C; --banner-fg: #FFF;    --banner-hover-bg: #B8373C; --banner-logo: url('../images/teams/GrandRapidsGriffins.webp'); }
.TeamRosterFarm_EDM { --banner-bg: #121C3F; --banner-fg: #E75B2A; --banner-hover-bg: #121C3F; --banner-logo: url('../images/teams/BakersfieldCondors.webp'); }
.TeamRosterFarm_FLA { --banner-bg: #D12F2F; --banner-fg: #7AB9E6; --banner-hover-bg: #D12F2F; --banner-logo: url('../images/teams/AthensRockLobsters.webp'); }
.TeamRosterFarm_HAM { --banner-bg: #000;    --banner-fg: #D1BE80; --banner-hover-bg: #000;    --banner-logo: url('../images/teams/WheelingNailers.webp'); }
.TeamRosterFarm_LAK { --banner-bg: #53308B; --banner-fg: #9DA7AF; --banner-hover-bg: #53308B; --banner-logo: url('../images/teams/ReadingRoyals.webp'); }
.TeamRosterFarm_MTL { --banner-bg: #1F4387; --banner-fg: #D0D3CE; --banner-hover-bg: #1F4387; --banner-logo: url('../images/teams/TroisRivieresLions.webp'); }
.TeamRosterFarm_NJD { --banner-bg: #D31E32; --banner-fg: #04693C; --banner-hover-bg: #D31E32; --banner-logo: url('../images/teams/UticaDevils.webp'); }
.TeamRosterFarm_NYI { --banner-bg: #002E8E; --banner-fg: #FE3500; --banner-hover-bg: #002E8E; --banner-logo: url('../images/teams/BridgeportIslanders.webp'); }
.TeamRosterFarm_NYR { --banner-bg: #525C64; --banner-fg: #FBD913; --banner-hover-bg: #525C64; --banner-logo: url('../images/teams/IowaHeartlanders.webp'); }
.TeamRosterFarm_OTT { --banner-bg: #45286C; --banner-fg: #AFB0B2; --banner-hover-bg: #45286C; --banner-logo: url('../images/teams/GreensboroGargoyles.webp'); }
.TeamRosterFarm_PHI { --banner-bg: #050709; --banner-fg: #F07521; --banner-hover-bg: #050709; --banner-logo: url('../images/teams/LehighValleyPhantoms.webp'); }
.TeamRosterFarm_PIT { --banner-bg: #001996; --banner-fg: #FFF;    --banner-hover-bg: #001996; --banner-logo: url('../images/teams/RochesterAmericans.webp'); }
.TeamRosterFarm_QUE { --banner-bg: #0C1C62; --banner-fg: #FCFDFF; --banner-hover-bg: #0C1C62; --banner-logo: url('../images/teams/LavalRocket.webp'); }
.TeamRosterFarm_SJS { --banner-bg: #002D55; --banner-fg: #79BDE9; --banner-hover-bg: #002D55; --banner-logo: url('../images/teams/MilwaukeeAdmirals.webp'); }
.TeamRosterFarm_SEA { --banner-bg: #001421; --banner-fg: #D90020; --banner-hover-bg: #001421; --banner-logo: url('../images/teams/CoachellaValleyFirebirds.webp'); }
.TeamRosterFarm_STL { --banner-bg: #006E53; --banner-fg: #E2373F; --banner-hover-bg: #006E53; --banner-logo: url('../images/teams/MaconWhoopee.webp'); }
.TeamRosterFarm_TBL { --banner-bg: #4D2995; --banner-fg: #FFCD08; --banner-hover-bg: #4D2995; --banner-logo: url('../images/teams/OrlandoSolarBears.webp'); }
.TeamRosterFarm_TOR { --banner-bg: #000;    --banner-fg: #53CA3D; --banner-hover-bg: #000;    --banner-logo: url('../images/teams/SavannahGhostPirates.webp'); }
.TeamRosterFarm_VAN { --banner-bg: #CF202F; --banner-fg: #4BC2EC; --banner-hover-bg: #CF202F; --banner-logo: url('../images/teams/BloomingtonBison.webp'); }
.TeamRosterFarm_VGK { --banner-bg: #241F21; --banner-fg: #C2C6C7; --banner-hover-bg: #241F21; --banner-logo: url('../images/teams/HendersonSilverKnights.webp'); }
.TeamRosterFarm_WPG { --banner-bg: #FCB929; --banner-fg: #ED1B2E; --banner-hover-bg: #241F21; --banner-logo: url('../images/teams/PeeDeePride.webp'); }

/* ============================================================
   TEAM ANCHOR SCROLL OFFSET
   ============================================================ */
[id^="team-"],
[class^="TeamRosterPro_"],    [class^="TeamRosterFarm_"],
[class^="TeamScoringPro_"],   [class^="TeamScoringFarm_"],
[class^="TeamLinesPro_"],     [class^="TeamLinesFarm_"],
[class^="TeamSchedulePro_"],  [class^="TeamScheduleFarm_"],
[class^="TeamFinancePro_"],   [class^="TeamFinanceFarm_"],
[class^="TeamPlayerInfoPro_"],[class^="TeamPlayerInfoFarm_"],
[class^="TeamProspects_"],    [class^="TeamFarmspects_"],
[class^="TeamStatsVSPro_"],   [class^="TeamStatsVSFarm_"],
[class^="TeamInjurySuspension_"],
[class^="TeamHistory_"],
[class^="TeamRecordsPro_"],   [class^="TeamRecordsFarm_"] {
  scroll-margin-top: 64px;
}

/* ============================================================
   TEAM QUICK-NAV BAR
   ============================================================ */
.nshl-team-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 6px 0 10px 0;
  width: 100%;
  box-sizing: border-box;
}
.nshl-team-nav a {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #1a2a40;
  text-decoration: none;
  padding: 3px 10px;
  border-radius: 3px;
  border: 1px solid #dde1ea;
  background: #fff;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.nshl-team-nav a:hover {
  background: #1a2a40;
  color: #fff;
  border-color: #1a2a40;
}
.nshl-team-nav a.tnav-active {
  background: #1a2a40;
  color: #fff;
  border-color: #1a2a40;
  pointer-events: none;
}

/* ============================================================
   NAV + BANNER GLOBALS
   ============================================================ */
.nshl-nav-wrap { margin-bottom: 16px; }

.team-block [class^="TeamRosterPro_"],
.team-block [class^="TeamRosterFarm_"] {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box;
}

.team-block [class^="TeamRosterPro_"] {
  padding-top: 8px;
  padding-bottom: 8px;
}

.team-block [class^="TeamRosterPro_"]::after {
  align-self: flex-start;
  margin-top: 8px;
}

.banner-content {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.banner-title { font-size: 1em; line-height: 1.1; }
.banner-title-with-sub {
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255,255,255,0.22);
  line-height: 1.1;
}
.banner-sub {
  font-size: 0.4em;
  font-weight: 600;
  color: #fff !important;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding-top: 4px;
  line-height: 1.0;
}

/* ============================================================
   LOGO STRIP — single scrollable row (no wrapping)
   ============================================================ */
.nshl-logo-strip {
  flex-wrap: nowrap !important;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.nshl-logo-strip::-webkit-scrollbar { display: none; }

/* ============================================================
   POSITION CELL COLOURS
   ============================================================ */
td.td-pos { padding:3px 4px; text-align:center; font-weight:bold; font-size:10px;
            white-space:nowrap; width:28px; min-width:28px; max-width:28px; }
td.td-pos.pos-C  { background:#dbeafe !important; color:#1e3a5f !important; }
td.td-pos.pos-LW { background:#93c5fd !important; color:#1e3a5f !important; }
td.td-pos.pos-RW { background:#60a5fa !important; color:#fff    !important; }
td.td-pos.pos-D  { background:#e5e7eb !important; color:#374151 !important; }
td.td-pos.pos-G  { background:#9ca3af !important; color:#fff    !important; }
tr:hover td.td-pos { filter:brightness(0.93); }
th.td-pos { cursor:default; width:28px; min-width:28px; max-width:28px; }

/* ============================================================
   BADGE LEGEND
   ============================================================ */
.roster-legend {
  width:fit-content; max-width:96%; margin:0 auto 10px auto;
  background:#fff; border:1px solid #dde1ea; border-radius:8px;
  padding:5px 14px; font-size:11px; color:#444;
  display:flex; flex-wrap:wrap; gap:0 18px; align-items:center;
}
.roster-legend-item { display:inline-flex; align-items:center; gap:4px; white-space:nowrap; }
.roster-legend-badge { font-size:9px; font-weight:bold; }
.roster-legend-badge.lb-rookie { color:#555; }
.roster-legend-badge.lb-1w     { color:#000; }
.roster-legend-badge.lb-nmc    { color:#c00; }
.roster-legend-badge.lb-odw    { color:#c60; }
.roster-legend-flag { font-size:13px; }
