﻿/* =========================================================
   THEME TOKENS
========================================================= */
:root{
  --bg0:#060c20;
  --bg1:#0b1542;
  --bg2:#10245d;

  --blue:#3B82F6;
  --blue-dark:#1E40AF;

  --yellow:#FBBF24;
  --yellow-dark:#F59E0B;

  --card:rgba(9,20,56,0.7);
  --border:rgba(114,160,255,0.26);

  --text:#ffffff;
  --muted:rgba(255,255,255,0.7);

  /* glass extras */
  --glass-1: rgba(130,169,255,0.16);
  --glass-2: rgba(13,29,76,0.5);
  --edge: rgba(167,198,255,0.26);
}

*{ box-sizing:border-box; }

html{
  scroll-behavior:smooth;
  scrollbar-width:thin;
  scrollbar-color:rgba(96,165,250,0.85) rgba(6,14,38,0.9);
}

html::-webkit-scrollbar{
  width:12px;
}

html::-webkit-scrollbar-track{
  background:linear-gradient(180deg, rgba(6,14,38,0.95), rgba(8,19,56,0.92));
  border-radius:999px;
}

html::-webkit-scrollbar-thumb{
  border-radius:999px;
  border:2px solid rgba(6,14,38,0.95);
  background:linear-gradient(180deg, rgba(59,130,246,0.95), rgba(14,165,233,0.92), rgba(251,191,36,0.8));
  box-shadow:inset 0 0 0 1px rgba(255,255,255,0.16), 0 0 14px rgba(59,130,246,0.25);
}

html::-webkit-scrollbar-thumb:hover{
  background:linear-gradient(180deg, rgba(96,165,250,1), rgba(56,189,248,1), rgba(251,191,36,0.9));
}

@media (prefers-reduced-motion: reduce){
  html{
    scroll-behavior:auto;
  }
}

/* =========================================================
   PAGE LAYOUT
========================================================= */
body{
  margin:0;
  min-height:100vh;
  font-family:'Rajdhani','Segoe UI',Arial,sans-serif;
  color:var(--text);
  position:relative;
  overflow-x:hidden;

  background:
    radial-gradient(circle at 15% 18%, rgba(59,130,246,0.34), transparent 38%),
    radial-gradient(circle at 88% 10%, rgba(251,191,36,0.24), transparent 34%),
    linear-gradient(155deg, var(--bg0), var(--bg1) 55%, var(--bg2));
}

body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:0;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.035) 0%, transparent 40%),
    repeating-linear-gradient(
      -25deg,
      rgba(120,160,255,0.08) 0 1px,
      transparent 1px 34px
    );
  mix-blend-mode:screen;
  opacity:.45;
}

.container{
  width:95%;
  max-width:1460px;
  margin:34px auto;
  position:relative;
  z-index:1;
}

.header{
  text-align:center;
  margin-bottom:25px;
}

.siteOwner{
  margin:0 0 8px;
  font-size:10px;
  letter-spacing:0.04em;
  text-transform:uppercase;
  color:rgba(255,255,255,0.62);
}

h1{
  margin:0;
  font-size:clamp(28px, 4vw, 42px);
  font-family:'Orbitron','Rajdhani',sans-serif;
  font-weight:900;
  letter-spacing:2.6px;
  text-transform:uppercase;
  line-height:1.05;
  position:relative;
  display:inline-block;
  padding:8px 20px 12px;
  border-radius:22px;
  border:1px solid rgba(255,255,255,0.08);
  background:
    radial-gradient(circle at 18% 30%, rgba(251,191,36,0.18), transparent 42%),
    radial-gradient(circle at 82% 18%, rgba(59,130,246,0.18), transparent 38%),
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
  box-shadow:
    0 18px 34px rgba(0,0,0,0.22),
    inset 0 1px 0 rgba(255,255,255,0.09);
  text-shadow:
    0 0 28px rgba(59,130,246,0.26),
    0 0 12px rgba(251,191,36,0.18),
    0 3px 12px rgba(0,0,0,0.28);
}

h1::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:22px;
  padding:1px;
  background:linear-gradient(135deg, rgba(251,191,36,0.32), rgba(255,255,255,0.04), rgba(59,130,246,0.32));
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;
  mask-composite:exclude;
  pointer-events:none;
}

h1::after{
  content:"";
  position:absolute;
  left:22px;
  right:22px;
  bottom:6px;
  height:3px;
  border-radius:999px;
  background:linear-gradient(90deg, rgba(251,191,36,0), rgba(251,191,36,0.92), rgba(59,130,246,0.92), rgba(59,130,246,0));
  box-shadow:0 0 18px rgba(59,130,246,0.2);
}

.subtitle{
  margin-top:6px;
  font-size:14px;
  color:var(--muted);
}

.siteDisclaimer{
  margin:8px 0 0;
  font-size:10px;
  letter-spacing:0.04em;
  text-transform:uppercase;
  color:rgba(255,255,255,0.62);
}

.seasonSelectorWrap{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:10px 14px;
  border:1px solid rgba(122,166,255,0.28);
  background:linear-gradient(135deg, rgba(6,17,49,0.72), rgba(14,30,77,0.48));
  border-radius:16px;
  width:fit-content;
  margin:0;
  backdrop-filter:blur(8px);
}

.seasonSelectorField{
  display:flex;
  flex-direction:column;
  gap:6px;
  align-items:center;
}

.topControls{
  display:flex;
  align-items:stretch;
  justify-content:center;
  gap:8px;
  margin-bottom:16px;
  flex-wrap:wrap;
}

.seasonSelectorWrap label{
  font-weight:700;
  font-family:'Orbitron','Rajdhani',sans-serif;
  letter-spacing:1.2px;
  font-size:12px;
  text-transform:uppercase;
}

.seasonSelectorWrap select{
  min-width:250px;
  font-weight:700;
}

.seasonNote{
  margin:0;
  color:rgba(219,231,255,0.76);
  font-size:0.72rem;
  font-weight:700;
  letter-spacing:0.04em;
  line-height:1.3;
  text-transform:uppercase;
}

.countdownCard{
  min-width:320px;
  padding:10px 14px;
  border:1px solid rgba(122,166,255,0.28);
  background:linear-gradient(135deg, rgba(6,17,49,0.72), rgba(14,30,77,0.48));
  border-radius:16px;
  backdrop-filter:blur(8px);
  display:grid;
  gap:2px;
  align-content:center;
}

.countdownLabel{
  font-weight:700;
  font-family:'Orbitron','Rajdhani',sans-serif;
  letter-spacing:1.2px;
  font-size:12px;
  text-transform:uppercase;
  color:var(--muted);
}

.countdownMatchup{
  display:grid;
  grid-template-columns:minmax(0, max-content) auto minmax(0, max-content);
  align-items:center;
  gap:10px;
  justify-content:start;
}

.countdownTeam{
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
}

.countdownTeam:last-child{
  justify-content:flex-start;
}

.countdownTeamName{
  font-family:'Orbitron','Rajdhani',sans-serif;
  font-size:15px;
  font-weight:800;
  letter-spacing:0.05em;
  text-transform:uppercase;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.countdownLogo{
  width:34px;
  height:34px;
  object-fit:contain;
  flex:0 0 auto;
}

.countdownVs{
  font-family:'Orbitron','Rajdhani',sans-serif;
  font-size:12px;
  font-weight:800;
  color:var(--muted);
  letter-spacing:0.12em;
}

.countdownMeta{
  color:var(--muted);
  font-size:13px;
}

.countdownTimer{
  font-family:'Orbitron','Rajdhani',sans-serif;
  font-size:18px;
  font-weight:800;
  color:#f9d56e;
  letter-spacing:0.08em;
}

.countdownCard.is-empty .countdownTimer{
  color:rgba(255,255,255,0.55);
}

/* =========================================================
   NAV
========================================================= */
.nav{
  display:flex;
  justify-content:center;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom:25px;
  padding:12px;
  border-radius:16px;
  border:1px solid rgba(122,166,255,0.22);
  background:linear-gradient(160deg, rgba(8,18,50,0.78), rgba(11,26,69,0.58));
  backdrop-filter:blur(8px);
  position:relative;
  z-index:10001;
}

.nav a,
.nav button{
  padding:11px 18px;
  border-radius:10px;
  border:1px solid rgba(118,165,255,0.38);
  background:linear-gradient(135deg, rgba(20,38,92,0.86), rgba(11,26,66,0.82));
  color:white;
  cursor:pointer;
  font-family:'Orbitron','Rajdhani',sans-serif;
  font-weight:700;
  font-size:12px;
  letter-spacing:0.9px;
  text-transform:uppercase;
  transition:0.25s ease;
  clip-path:polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  box-shadow:0 8px 18px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.12);
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

.nav a:hover,
.nav button:hover{
  background:linear-gradient(135deg,var(--blue),var(--yellow));
  border-color:rgba(255,255,255,0.55);
  color:#04132f;
  transform:translateY(-3px);
}

.nav a.is-active,
.nav button.is-active{
  background:linear-gradient(135deg,var(--blue),var(--yellow));
  border-color:rgba(255,255,255,0.55);
  color:#04132f;
  box-shadow:0 14px 24px rgba(3,9,30,0.4), 0 0 22px rgba(59,130,246,0.25);
}

.nav a.is-disabled,
.nav button.is-disabled{
  background:linear-gradient(135deg, rgba(40,52,88,0.7), rgba(20,28,50,0.7));
  border-color:rgba(148,163,184,0.25);
  color:rgba(255,255,255,0.45);
  cursor:not-allowed;
  box-shadow:none;
  pointer-events:none;
}

.nav a.is-disabled:hover,
.nav button.is-disabled:hover{
  background:linear-gradient(135deg, rgba(40,52,88,0.7), rgba(20,28,50,0.7));
  border-color:rgba(148,163,184,0.25);
  color:rgba(255,255,255,0.45);
  transform:none;
}

.scheduleWeekNav{
  margin:0 auto 24px;
}

.scheduleFilterBar{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  margin:0 auto 24px;
  flex-wrap:wrap;
}

.scheduleFilterBar label{
  font-family:"Orbitron",sans-serif;
  font-weight:800;
  letter-spacing:0.06em;
  text-transform:uppercase;
  color:#dce8ff;
}

.scheduleFilterBar select{
  min-width:min(100%, 280px);
  padding:10px 14px;
  border-radius:14px;
  border:1px solid rgba(96,165,250,0.28);
  background:linear-gradient(180deg, rgba(16,24,46,0.95), rgba(7,12,28,0.95));
  color:#eef6ff;
  font-weight:700;
}

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

.scheduleDayColumn{
  background:rgba(13,18,34,0.88);
  border:1px solid rgba(96,165,250,0.22);
  border-radius:22px;
  padding:18px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,0.05);
}

.scheduleDayHeader{
  display:flex;
  justify-content:center;
  align-items:center;
  margin-bottom:14px;
  text-align:center;
}

.scheduleDayHeader > :not(h3){
  display:none;
}

.scheduleDayHeader h3{
  margin:0;
  width:100%;
  font-family:"Orbitron",sans-serif;
  font-size:1rem;
  letter-spacing:0.08em;
  text-transform:uppercase;
  text-align:center;
}

.scheduleDayBody{
  display:grid;
  gap:14px;
}

.scheduleMatchCard{
  padding:14px;
  border-radius:18px;
  background:linear-gradient(180deg, rgba(23,33,60,0.95), rgba(8,12,24,0.95));
  border:1px solid rgba(255,255,255,0.07);
}

.scheduleTeamView{
  display:grid;
  gap:18px;
}

.scheduleTeamWeekSection{
  background:rgba(13,18,34,0.88);
  border:1px solid rgba(96,165,250,0.22);
  border-radius:22px;
  padding:18px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,0.05);
}

.scheduleTeamWeekTitle{
  margin:0 0 14px;
  font-family:"Orbitron",sans-serif;
  font-size:1rem;
  letter-spacing:0.08em;
  text-transform:uppercase;
  text-align:center;
}

.scheduleTeamWeekList{
  display:grid;
  gap:12px;
}

.scheduleTeamTextRow{
  display:grid;
  grid-template-columns:minmax(110px, 140px) minmax(0, 1fr) minmax(110px, 140px);
  grid-template-areas:
    "match matchup score"
    ". datetime .";
  gap:16px;
  align-items:center;
  justify-items:center;
  padding:14px;
  border-radius:16px;
  background:linear-gradient(180deg, rgba(23,33,60,0.95), rgba(8,12,24,0.95));
  border:1px solid rgba(255,255,255,0.07);
}

.scheduleTeamMatchNo,
.scheduleTeamDateTime,
.scheduleTeamTextScore{
  color:#9db8df;
  font-size:0.9rem;
}

.scheduleTeamMatchNo{
  grid-area:match;
  grid-row:1 / span 2;
  align-self:center;
  font-weight:800;
  text-align:center;
}

.scheduleTeamDateTime{
  grid-area:datetime;
  display:grid;
  gap:2px;
  justify-items:center;
  text-align:center;
}

.scheduleTeamMatchup{
  grid-area:matchup;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  min-width:0;
  width:100%;
}

.scheduleTeamTextScore{
  grid-area:score;
  grid-row:1 / span 2;
  align-self:center;
  text-align:center;
}

.scheduleTeamStatus{
  display:grid;
  gap:6px;
  justify-items:center;
  min-width:110px;
  padding:10px 12px;
  border-radius:16px;
  background:linear-gradient(180deg, rgba(255,255,255,0.09), rgba(255,255,255,0.04));
  border:1px solid rgba(255,255,255,0.08);
}

.scheduleTeamStatusLabel{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:88px;
  padding:6px 10px;
  border-radius:999px;
  font-family:"Orbitron",sans-serif;
  font-size:0.72rem;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color:#04132f;
  background:linear-gradient(135deg, #93c5fd, #38bdf8);
}

.scheduleTeamStatusDetail{
  display:block;
  width:100%;
  font-family:"Orbitron",sans-serif;
  font-size:0.76rem;
  letter-spacing:0.04em;
  color:#dce8ff;
  white-space:nowrap;
  text-align:center;
}

.scheduleTeamStatus.is-finished .scheduleTeamStatusLabel{
  background:linear-gradient(135deg, #cbd5e1, #94a3b8);
}

.scheduleTeamStatus.is-upcoming .scheduleTeamStatusLabel{
  background:linear-gradient(135deg, #facc15, #f59e0b);
}

.scheduleTeamStatus.is-win .scheduleTeamStatusLabel{
  background:linear-gradient(135deg, #86efac, #22c55e);
}

.scheduleTeamStatus.is-loss .scheduleTeamStatusLabel{
  background:linear-gradient(135deg, #fca5a5, #ef4444);
}

.scheduleTeamMatchupSide{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-width:0;
  font-weight:800;
  color:#eef6ff;
  text-align:center;
}

.scheduleTeamMatchupSide span{
  min-width:0;
}

.scheduleTeamInlineLogo{
  width:34px;
  height:34px;
  object-fit:contain;
  flex:0 0 auto;
}

.scheduleTeamMatchupVs{
  border:0;
  background:transparent;
  padding:0;
  color:#9db8df;
  font-family:"Orbitron",sans-serif;
  font-size:0.82rem;
  text-transform:uppercase;
  flex:0 0 auto;
}

.scheduleTeamMatchupVs.is-played{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:70px;
  padding:10px 12px;
  border-radius:999px;
  background:linear-gradient(135deg, #f59e0b, #f97316);
  color:#111827;
}

.scheduleTeamMatchupVs.is-clickable{
  cursor:pointer;
  transition:transform 160ms ease, color 160ms ease, filter 160ms ease;
}

.scheduleTeamMatchupVs.is-clickable:hover{
  transform:translateY(-1px);
  color:#ffffff;
  filter:brightness(1.08);
}

.scheduleMatchMeta{
  display:flex;
  justify-content:space-between;
  gap:10px;
  margin-bottom:12px;
  color:#9db8df;
  font-size:0.82rem;
  flex-wrap:wrap;
}

.scheduleTeams{
  display:grid;
  grid-template-columns:minmax(0, 1fr) auto minmax(0, 1fr);
  align-items:center;
  gap:12px;
}

.scheduleTeam{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
  text-align:center;
  font-weight:700;
}

.scheduleTeamTrigger,
.scheduleTeamMatchupTrigger{
  border:0;
  padding:0;
  background:none;
  color:inherit;
  font:inherit;
  cursor:pointer;
}

.scheduleTeamTrigger:focus-visible,
.scheduleTeamMatchupTrigger:focus-visible{
  outline:none;
}

.scheduleTeamTrigger:hover,
.scheduleTeamTrigger:focus-visible,
.scheduleTeamMatchupTrigger:hover,
.scheduleTeamMatchupTrigger:focus-visible{
  color:#ffe082;
}

.scheduleTeamLogo{
  width:54px;
  height:54px;
  object-fit:contain;
}

.scheduleScore{
  min-width:70px;
  padding:10px 12px;
  border:0;
  border-radius:999px;
  background:rgba(255,255,255,0.08);
  text-align:center;
  font-family:"Orbitron",sans-serif;
  letter-spacing:0.08em;
  color:inherit;
}

.scheduleScore.is-played{
  background:linear-gradient(135deg, #f59e0b, #f97316);
  color:#111827;
}

.scheduleScore.is-clickable{
  cursor:pointer;
  transition:transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.scheduleScore.is-clickable:hover{
  transform:translateY(-1px);
  box-shadow:0 10px 24px rgba(0,0,0,0.28);
  filter:brightness(1.04);
}

.scheduleScorecardModal{
  width:min(1360px, calc(100vw - 28px));
  position:relative;
  overflow-x:hidden;
  scrollbar-width:thin;
  scrollbar-color:rgba(96,165,250,0.85) rgba(6,14,38,0.9);
}

.scheduleScorecardModal::-webkit-scrollbar{
  width:12px;
}

.scheduleScorecardModal::-webkit-scrollbar-track{
  background:linear-gradient(180deg, rgba(6,14,38,0.95), rgba(8,19,56,0.92));
  border-radius:999px;
}

.scheduleScorecardModal::-webkit-scrollbar-thumb{
  border-radius:999px;
  border:2px solid rgba(6,14,38,0.95);
  background:linear-gradient(180deg, rgba(59,130,246,0.95), rgba(14,165,233,0.92), rgba(251,191,36,0.8));
  box-shadow:inset 0 0 0 1px rgba(255,255,255,0.16), 0 0 14px rgba(59,130,246,0.25);
}

.scheduleScorecardModal::-webkit-scrollbar-thumb:hover{
  background:linear-gradient(180deg, rgba(96,165,250,1), rgba(56,189,248,1), rgba(251,191,36,0.9));
}

.scheduleScorecardModalHead{
  position:relative;
  justify-content:center;
  align-items:center;
  margin-bottom:14px;
}

.scheduleScorecardTopStack{
  display:grid;
  justify-items:center;
  gap:10px;
  width:100%;
}

.scheduleScorecardMatchHead{
  min-width:0;
}

.scheduleScorecardMatchup{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  flex-wrap:wrap;
  font-family:"Orbitron",sans-serif;
  letter-spacing:0.05em;
  text-align:center;
}

.scheduleScorecardMatchTeam{
  display:inline-flex;
  align-items:center;
  gap:10px;
  min-width:0;
}

.scheduleScorecardMatchLogo{
  width:42px;
  height:42px;
  object-fit:contain;
}

.scheduleScorecardMatchVs{
  color:#9db8df;
  text-transform:uppercase;
}

.scheduleScorecardTabs{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:10px;
}

.scheduleScorecardTab{
  border:1px solid rgba(255,255,255,0.12);
  background:rgba(255,255,255,0.06);
  color:#dce8ff;
  border-radius:999px;
  padding:8px 14px;
  font-weight:800;
  cursor:pointer;
}

.scheduleScorecardTab.is-active{
  background:linear-gradient(135deg, rgba(59,130,246,0.9), rgba(14,165,233,0.9));
  color:#fff;
  border-color:rgba(125,211,252,0.7);
}

.scheduleScorecardGameMeta{
  color:#9db8df;
  font-weight:700;
  text-align:center;
}

.scheduleScorecardClose{
  position:absolute;
  top:0;
  right:0;
  width:34px;
  height:34px;
  border-radius:10px;
  border:1px solid rgba(122,166,255,0.26);
  background:linear-gradient(180deg, rgba(10,22,58,0.95), rgba(7,17,45,0.95));
  color:#dce8ff;
  font-family:"Orbitron",sans-serif;
  font-size:0.86rem;
  font-weight:900;
  cursor:pointer;
  box-shadow:0 10px 18px rgba(0,0,0,0.24), inset 0 1px 0 rgba(255,255,255,0.08);
  transition:transform 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.scheduleScorecardClose:hover{
  transform:translateY(-1px) scale(1.03);
  border-color:rgba(251,191,36,0.55);
  color:#fff3c4;
  box-shadow:0 12px 22px rgba(0,0,0,0.28), 0 0 12px rgba(251,191,36,0.12);
}

.scheduleScorecardBansPanel{
  margin-bottom:14px;
  padding:12px 14px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,0.1);
  background:rgba(3, 10, 31, 0.72);
}

.scheduleScorecardObjectivesPanel{
  margin-bottom:14px;
  padding:12px 14px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,0.1);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02)),
    rgba(3, 10, 31, 0.72);
}

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

.scheduleScorecardObjectiveCard{
  min-width:0;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,0.08);
  background:rgba(8, 18, 48, 0.78);
  box-shadow:inset 0 1px 0 rgba(255,255,255,0.04);
}

.scheduleScorecardObjectiveHead{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  margin-bottom:10px;
  font-family:"Orbitron","Rajdhani",sans-serif;
  font-size:0.82rem;
  font-weight:800;
  letter-spacing:0.04em;
  text-transform:uppercase;
}

.scheduleScorecardObjectiveIcon{
  width:34px;
  height:34px;
  border-radius:10px;
  object-fit:cover;
  border:1px solid rgba(255,255,255,0.12);
}

.scheduleScorecardObjectiveValues{
  display:grid;
  grid-template-columns:minmax(0, 1fr) auto minmax(0, 1fr);
  align-items:center;
  gap:8px;
}

.scheduleScorecardObjectiveValue{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:4px;
  min-width:0;
  text-align:center;
}

.scheduleScorecardObjectiveValue strong{
  font-family:"Rajdhani","Segoe UI",Arial,sans-serif;
  font-size:1.02rem;
  font-weight:800;
  letter-spacing:0.02em;
  line-height:1;
}

.scheduleScorecardObjectiveValue span{
  color:#9db8df;
  font-size:0.72rem;
  font-weight:700;
  line-height:1.2;
}

.scheduleScorecardObjectiveDivider{
  color:rgba(255,255,255,0.42);
  font-family:"Orbitron","Rajdhani",sans-serif;
  font-weight:800;
}

.scheduleScorecardBansGrid{
  display:grid;
  grid-template-columns:repeat(5, minmax(0, 1fr));
  gap:8px 10px;
}

.scheduleScorecardBan{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  aspect-ratio:1 / 1;
  width:min(100%, 50px);
  margin:0 auto;
  border-radius:50%;
  background:rgba(255,255,255,0.05);
  border:1px solid rgba(255,255,255,0.08);
  overflow:hidden;
}

.scheduleScorecardBanImg{
  width:100%;
  height:100%;
  object-fit:cover;
  filter:grayscale(1) brightness(0.78);
}

.scheduleScorecardBanFallback{
  font-family:"Orbitron",sans-serif;
  color:#cbd5e1;
  font-weight:800;
}

.scheduleScorecardBanX{
  position:absolute;
  inset:0;
  color:transparent;
  pointer-events:none;
}

.scheduleScorecardBanX::before,
.scheduleScorecardBanX::after{
  content:"";
  position:absolute;
  top:50%;
  left:50%;
  width:118%;
  height:5px;
  border-radius:999px;
  background:linear-gradient(90deg, rgba(127,29,29,0.92), #ef4444 45%, #f87171 55%, rgba(127,29,29,0.92));
  box-shadow:0 0 10px rgba(239,68,68,0.45), 0 0 2px rgba(255,255,255,0.35);
  transform-origin:center;
}

.scheduleScorecardBanX::before{
  transform:translate(-50%, -50%) rotate(45deg);
}

.scheduleScorecardBanX::after{
  transform:translate(-50%, -50%) rotate(-45deg);
}

.scheduleScorecardGrid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:14px;
}

.scheduleScorecardTeamCard{
  border:1px solid rgba(255,255,255,0.1);
  border-radius:16px;
  padding:14px;
  min-width:0;
  background:rgba(255,255,255,0.04);
}

.scheduleScorecardTeamHead{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  margin-bottom:12px;
  text-align:center;
}

.scheduleScorecardTeamHead h4,
.scheduleScorecardTeamHead p{
  margin:0;
}

.scheduleScorecardTeamHead p{
  color:#9db8df;
  font-size:0.9rem;
}

.scheduleScorecardTeamLogo{
  width:52px;
  height:52px;
  object-fit:contain;
}

.scheduleScorecardPlayerList{
  display:grid;
  gap:8px;
}

.scheduleScorecardPlayer{
  display:flex;
  align-items:center;
  gap:10px;
  align-items:center;
  position:relative;
  padding:10px 12px;
  border-radius:12px;
  background:rgba(7, 15, 37, 0.72);
  border:1px solid rgba(255,255,255,0.06);
  min-height:56px;
}

.scheduleScorecardPlayer.is-clickable{
  width:100%;
  color:inherit;
  font:inherit;
  text-align:left;
  cursor:pointer;
  transition:transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.scheduleScorecardPlayer.is-clickable:hover{
  transform:translateY(-1px);
  border-color:rgba(96,165,250,0.46);
  box-shadow:0 14px 28px rgba(0,0,0,0.22), 0 0 14px rgba(59,130,246,0.1);
  background:rgba(10, 22, 50, 0.86);
}

.scheduleScorecardPlayer.is-mvp{
  border-color:rgba(251,191,36,0.6);
  box-shadow:0 14px 26px rgba(0,0,0,0.28), 0 0 18px rgba(251,191,36,0.14);
  background:
    radial-gradient(circle at 18% 18%, rgba(251,191,36,0.14), transparent 36%),
    linear-gradient(180deg, rgba(24, 22, 10, 0.42), rgba(7, 15, 37, 0.88));
}

.scheduleScorecardMvpBadge{
  position:absolute;
  top:-10px;
  right:12px;
  z-index:3;
  padding:4px 10px;
  border-radius:999px;
  font-size:0.7rem;
  font-weight:900;
  letter-spacing:0.08em;
  color:#fff8dc;
  border:1px solid rgba(251,191,36,0.55);
  background:linear-gradient(135deg, rgba(251,191,36,0.88), rgba(245,158,11,0.38));
  box-shadow:0 10px 20px rgba(0,0,0,0.3);
}

.scheduleScorecardPlayer.is-mvp .scheduleScorecardPlayerFace,
.scheduleScorecardPlayer.is-mvp .scheduleScorecardHeroImg{
  border-color:rgba(251,191,36,0.92);
  box-shadow:0 0 16px rgba(251,191,36,0.18);
}

.scheduleScorecardPlayerMain{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
  flex:1.35 1 0;
}

.scheduleScorecardPlayerFaceWrap{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
}

.scheduleScorecardPlayer.is-mvp::after{
  content:none;
}

.scheduleScorecardPlayer.is-mvp .scheduleScorecardPlayerFaceWrap::after{
  content:"";
  position:absolute;
  top:-28px;
  left:50%;
  transform:translateX(-50%);
  width:30px;
  height:24px;
  z-index:4;
  background-image:url("data:image/svg+xml,%3Csvg%20viewBox%3D%270%200%2064%2048%27%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%3E%3Cdefs%3E%3ClinearGradient%20id%3D%27gold%27%20x1%3D%270%27%20y1%3D%270%27%20x2%3D%270%27%20y2%3D%271%27%3E%3Cstop%20offset%3D%270%25%27%20stop-color%3D%27%23FFD700%27/%3E%3Cstop%20offset%3D%27100%25%27%20stop-color%3D%27%23F59E0B%27/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath%20d%3D%27M4%2036%20L10%2014%20L24%2028%20L32%208%20L40%2028%20L54%2014%20L60%2036%20Z%27%20fill%3D%27url(%23gold)%27%20stroke%3D%27%23B8860B%27%20stroke-width%3D%272%27/%3E%3Crect%20x%3D%274%27%20y%3D%2736%27%20width%3D%2756%27%20height%3D%276%27%20fill%3D%27url(%23gold)%27%20stroke%3D%27%23B8860B%27%20stroke-width%3D%272%27/%3E%3C/svg%3E");
  background-size:contain;
  background-repeat:no-repeat;
  background-position:center;
  filter:drop-shadow(0 6px 10px rgba(0,0,0,0.4)) drop-shadow(0 0 8px rgba(251,191,36,0.3));
  animation:crownFloat 1.8s ease-in-out infinite;
}

.scheduleScorecardPlayerFace{
  width:42px;
  height:42px;
  border-radius:50%;
  object-fit:cover;
  border:2px solid rgba(255,255,255,0.2);
  flex:0 0 auto;
}

.scheduleScorecardPlayerName{
  display:block;
  font-weight:800;
  min-width:0;
  line-height:1.1;
}

.scheduleScorecardHero{
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
  flex:0.9 1 0;
  margin-left:6px;
}

.scheduleScorecardHero span{
  min-width:0;
  line-height:1.1;
}

.scheduleScorecardHeroImg{
  width:34px;
  height:34px;
  border-radius:50%;
  object-fit:cover;
  border:2px solid rgba(255,255,255,0.22);
}

.scheduleScorecardKda{
  font-family:"Rajdhani","Segoe UI",Arial,sans-serif;
  font-size:1.02rem;
  font-weight:800;
  letter-spacing:0.02em;
  white-space:nowrap;
  flex:0 0 auto;
  min-width:58px;
  text-align:right;
}

.scheduleScorecardEmpty{
  padding:16px;
  border-radius:12px;
  text-align:center;
  color:#9db8df;
  background:rgba(255,255,255,0.04);
}

.schedulePlayerDetailModal{
  width:min(820px, calc(100vw - 28px));
  display:grid;
  gap:18px;
}

.schedulePlayerDetailHead{
  position:relative;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  padding-top:4px;
}

.schedulePlayerDetailIdentity{
  display:grid;
  grid-template-columns:180px minmax(0, 1fr);
  gap:18px;
  width:100%;
  min-width:0;
}

.schedulePlayerDetailPortraitWrap{
  min-height:220px;
  border-radius:20px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,0.1);
  background:
    radial-gradient(circle at top, rgba(59,130,246,0.24), transparent 44%),
    linear-gradient(180deg, rgba(7,16,46,0.95), rgba(5,11,30,0.95));
  display:flex;
  align-items:flex-end;
  justify-content:center;
}

.schedulePlayerDetailPortrait{
  width:100%;
  height:100%;
  object-fit:contain;
}

.schedulePlayerDetailPortraitFallback{
  width:100%;
  min-height:220px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-family:"Orbitron","Rajdhani",sans-serif;
  font-size:3rem;
  font-weight:900;
  color:#dce8ff;
}

.schedulePlayerDetailMeta{
  display:grid;
  align-content:center;
  gap:12px;
  min-width:0;
  padding-right:92px;
}

.schedulePlayerDetailMeta h3{
  margin:0;
  width:auto;
  max-width:none;
  padding:0;
  border:0;
  background:none;
  box-shadow:none;
  backdrop-filter:none;
  text-align:left;
}

.schedulePlayerDetailMeta h3::before,
.schedulePlayerDetailMeta h3::after{
  content:none;
}

.schedulePlayerDetailTeamRow,
.schedulePlayerDetailHeroRow,
.schedulePlayerDetailRuneRow{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  min-width:0;
}

.schedulePlayerDetailMetaBottom{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
}

.schedulePlayerDetailTeamRow{
  color:#9db8df;
  font-weight:800;
  letter-spacing:0.04em;
  text-transform:uppercase;
}

.schedulePlayerDetailTeamLogo{
  width:38px;
  height:38px;
  object-fit:contain;
}

.schedulePlayerDetailHeroRow{
  font-family:"Orbitron","Rajdhani",sans-serif;
  font-size:1.15rem;
  font-weight:800;
}

.schedulePlayerDetailHeroImg{
  width:48px;
  height:48px;
  border-radius:50%;
  border:2px solid rgba(255,255,255,0.18);
}

.schedulePlayerDetailRuneImg{
  width:34px;
  height:34px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,0.16);
  background:rgba(255,255,255,0.06);
}

.schedulePlayerDetailRuneImg.is-emblem{
  width:40px;
  height:40px;
  border-color:rgba(251,191,36,0.45);
}

.schedulePlayerDetailBody{
  display:grid;
  grid-template-columns:1fr;
  gap:16px;
}

.schedulePlayerDetailBuildCard,
.schedulePlayerDetailStatsCard{
  border:1px solid rgba(255,255,255,0.1);
  border-radius:18px;
  padding:16px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02)),
    rgba(3,10,31,0.72);
}

.schedulePlayerDetailSectionTitle{
  margin-bottom:14px;
  color:#9db8df;
  font-family:"Orbitron","Rajdhani",sans-serif;
  font-size:0.82rem;
  font-weight:800;
  letter-spacing:0.08em;
  text-transform:uppercase;
}

.schedulePlayerDetailItems{
  display:grid;
  grid-template-columns:repeat(6, minmax(0, 1fr));
  gap:10px;
}

.schedulePlayerDetailItemImg{
  width:100%;
  aspect-ratio:1;
  border-radius:16px;
  border:1px solid rgba(255,255,255,0.1);
  background:rgba(255,255,255,0.05);
  object-fit:cover;
}

.schedulePlayerDetailKdaCard{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:12px;
  padding:14px 16px;
  border-radius:16px;
  background:linear-gradient(135deg, rgba(14,165,233,0.16), rgba(59,130,246,0.28));
  border:1px solid rgba(96,165,250,0.32);
  margin-bottom:12px;
}

.schedulePlayerDetailKdaCard.is-inline{
  margin-bottom:0;
  min-width:220px;
  flex:0 0 auto;
}

.schedulePlayerDetailKdaCard span{
  font-family:"Orbitron","Rajdhani",sans-serif;
  font-size:0.82rem;
  font-weight:800;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color:#9db8df;
}

.schedulePlayerDetailKdaCard strong{
  font-family:"Rajdhani","Segoe UI",Arial,sans-serif;
  font-size:2rem;
  line-height:1;
}

.schedulePlayerDetailStatsList{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:10px;
}

.schedulePlayerDetailStatRow{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px 14px;
  border-radius:14px;
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.08);
}

.schedulePlayerDetailStatRow span{
  color:#9db8df;
  font-weight:700;
}

.schedulePlayerDetailStatRow strong{
  font-family:"Rajdhani","Segoe UI",Arial,sans-serif;
  font-size:1.12rem;
  font-weight:800;
}

.schedulePlayerDetailClose{
  position:absolute;
  top:-8px;
  right:0;
}

.scheduleEmpty{
  padding:18px;
  border-radius:16px;
  text-align:center;
  color:#9db8df;
  background:rgba(255,255,255,0.04);
}

a:focus-visible,
button:focus-visible,
select:focus-visible,
input:focus-visible{
  outline:2px solid var(--yellow);
  outline-offset:2px;
}

.retry-btn{
  padding:10px 16px;
  border-radius:10px;
  border:1px solid var(--border);
  background:linear-gradient(135deg,var(--blue),var(--yellow));
  color:#fff;
  font-weight:700;
  cursor:pointer;
}

.filterRow{
  margin-bottom:20px;
  display:flex;
  gap:20px;
  justify-content:center;
  flex-wrap:wrap;
}

.searchRow{
  margin-bottom:20px;
  display:flex;
  justify-content:center;
}

.searchInput{
  padding:10px 14px;
  width:320px;
  max-width:100%;
  border-radius:10px;
  border:1px solid #444;
  background:#0b0b0b;
  color:#fff;
}

.teamCompareWrap{
  display:grid;
  grid-template-columns:repeat(2, minmax(280px, 1fr));
  gap:16px;
  margin:0 auto 18px;
  max-width:1100px;
}

.teamCompareCard{
  border:1px solid rgba(126,169,255,0.28);
  border-radius:14px;
  background:linear-gradient(165deg, rgba(8,18,52,0.8), rgba(13,28,70,0.58));
  padding:14px;
  box-shadow:0 14px 30px rgba(2,8,28,0.35);
}

.teamCompareHead{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:12px;
}

.teamCompareLabel{
  font-family:'Orbitron','Rajdhani',sans-serif;
  font-weight:800;
  letter-spacing:1px;
  font-size:12px;
}

.teamCompareIdentity{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:800;
  margin-bottom:12px;
}

.teamCompareLogo{
  width:50px !important;
  height:50px !important;
  border-radius:0 !important;
  object-fit:contain !important;
}

.teamCompareStats{
  display:grid;
  gap:8px;
}

.teamCompareRow{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:8px 10px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,0.08);
  background:rgba(255,255,255,0.03);
  font-weight:700;
}

.teamCompareValue{
  min-width:64px;
  text-align:center;
  padding:4px 8px;
  border-radius:8px;
  border:1px solid rgba(255,255,255,0.18);
}

.teamCompareValue.is-better{
  background:linear-gradient(135deg,var(--blue),var(--yellow));
  color:#04132f;
  border-color:rgba(255,255,255,0.5);
  font-weight:900;
}

.teamCompareEmpty{
  text-align:center;
  opacity:0.8;
  padding:16px 8px 10px;
}

.compareSearchInput{
  width:220px;
  max-width:100%;
}

.compareSearchWrap{
  position:relative;
  width:220px;
  max-width:100%;
}

.compareSelectInput{
  width:100%;
  margin-top:8px;
}

.compareSuggestList{
  position:absolute;
  left:0;
  right:0;
  top:calc(100% + 6px);
  z-index:20;
  border:1px solid rgba(126,169,255,0.35);
  border-radius:10px;
  background:linear-gradient(165deg, rgba(8,18,52,0.95), rgba(13,28,70,0.92));
  box-shadow:0 14px 30px rgba(2,8,28,0.45);
  max-height:220px;
  overflow:auto;
}

.compareSuggestItem{
  width:100%;
  text-align:left;
  border:0;
  border-bottom:1px solid rgba(255,255,255,0.08);
  background:transparent;
  color:#fff;
  padding:8px 10px;
  cursor:pointer;
  font-family:'Rajdhani','Segoe UI',Arial,sans-serif;
  font-weight:700;
}

.compareSuggestItem:last-child{
  border-bottom:0;
}

.compareSuggestItem:hover{
  background:linear-gradient(135deg,var(--blue),var(--yellow));
  color:#04132f;
}

.compareSuggestEmpty{
  padding:8px 10px;
  opacity:0.75;
  font-size:13px;
}

.playerCompareAvatar{
  width:56px !important;
  height:56px !important;
  border-radius:50% !important;
  object-fit:cover !important;
  border:2px solid rgba(255,255,255,0.35);
}

.heroCompareAvatar{
  width:56px !important;
  height:56px !important;
  border-radius:14px !important;
  object-fit:cover !important;
  border:2px solid rgba(255,255,255,0.35);
}

.playerCompareMeta{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  font-size:13px;
  opacity:0.9;
  margin:0 0 10px;
}

.playerCompareTeamBadge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.2);
  background:linear-gradient(145deg, rgba(59,130,246,0.22), rgba(251,191,36,0.18));
  box-shadow:0 8px 18px rgba(0,0,0,0.28);
}

.playerCompareTeamLogo{
  width:24px !important;
  height:24px !important;
  border-radius:0 !important;
  object-fit:contain !important;
  background:transparent !important;
}

.playerCompareTeamName{
  font-weight:800;
  letter-spacing:0.3px;
}

.playerCompareLane{
  display:inline-flex;
  align-items:center;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.2);
  background:rgba(255,255,255,0.08);
  font-weight:700;
}

.comparePoolRow{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  margin:0 0 12px;
}

.comparePoolLabel{
  font-size:13px;
  font-weight:800;
  opacity:0.9;
}

.comparePoolIcons{
  display:flex;
  align-items:center;
  gap:6px;
  flex-wrap:wrap;
}

.comparePoolIcon{
  width:28px !important;
  height:28px !important;
  border-radius:50% !important;
  object-fit:cover !important;
  border:2px solid rgba(255,255,255,0.35);
  background:rgba(255,255,255,0.06);
}

.comparePoolIcon--player{
  object-fit:cover !important;
}

.comparePoolEmpty{
  opacity:0.7;
  font-size:13px;
}

.compareStatActionBtn{
  border:1px solid rgba(255,255,255,0.28);
  background:linear-gradient(135deg, rgba(59,130,246,0.32), rgba(251,191,36,0.26));
  color:#fff;
  border-radius:8px;
  padding:5px 10px;
  font-weight:800;
  cursor:pointer;
  font-family:'Rajdhani','Segoe UI',Arial,sans-serif;
}

.h2hModalBackdrop{
  position:fixed;
  inset:0;
  z-index:12000;
  background:rgba(2, 8, 28, 0.68);
  backdrop-filter:blur(4px);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:14px;
}

.h2hModalCard{
  width:min(740px, 100%);
  max-height:min(82vh, 760px);
  overflow:auto;
  border-radius:14px;
  border:1px solid rgba(126,169,255,0.32);
  background:linear-gradient(170deg, rgba(8,19,56,0.95), rgba(9,20,50,0.9));
  box-shadow:0 24px 50px rgba(0,0,0,0.45);
  padding:14px;
}

.h2hModalHead{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:10px;
}

.h2hModalHead h3{
  margin:0;
  font-size:18px;
}

.h2hModalClose{
  border:1px solid rgba(255,255,255,0.28);
  background:rgba(255,255,255,0.08);
  color:#fff;
  border-radius:8px;
  padding:6px 10px;
  font-weight:800;
  cursor:pointer;
}

.h2hModalList{
  display:grid;
  gap:8px;
}

.h2hModalItem{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  border:1px solid rgba(255,255,255,0.12);
  border-radius:10px;
  padding:8px 10px;
  background:rgba(255,255,255,0.04);
}

.h2hModalMain{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}

.h2hModalImg{
  width:36px !important;
  height:36px !important;
  border-radius:50% !important;
  object-fit:cover !important;
  border:2px solid rgba(255,255,255,0.35);
}

.h2hModalImg--player{
  border-radius:50% !important;
}

.h2hModalMeta{
  font-size:13px;
  opacity:0.9;
  white-space:nowrap;
}

.h2hModalEmpty{
  opacity:0.75;
  padding:8px 2px;
}

.teamRosterModal{
  width:min(1120px, calc(100vw - 28px));
}

.scheduleTeamSummaryModal{
  width:min(360px, calc(100vw - 20px));
  padding:0;
  overflow:hidden;
  position:relative;
}

.scheduleTeamSummaryClose{
  top:10px;
  right:10px;
}

.scheduleTeamSummaryHeader{
  padding:16px 16px 18px;
  border-bottom:1px solid rgba(255,255,255,0.08);
  background:
    radial-gradient(circle at 24% 30%, rgba(59,130,246,0.28), transparent 34%),
    linear-gradient(180deg, rgba(17,43,112,0.98), rgba(9,22,62,0.96));
}

.scheduleTeamSummaryIdentity{
  min-height:92px;
  display:grid;
  grid-template-columns:auto 72px minmax(0, 1fr);
  align-items:center;
  gap:14px;
}

.scheduleTeamSummaryLabel{
  color:rgba(255,255,255,0.88);
  font-family:"Orbitron","Rajdhani",sans-serif;
  font-size:0.92rem;
  font-weight:800;
  letter-spacing:0.08em;
  text-transform:uppercase;
}

.scheduleTeamSummaryLogo{
  width:72px;
  height:72px;
  object-fit:contain;
  filter:
    drop-shadow(0 10px 18px rgba(0,0,0,0.42))
    drop-shadow(0 0 14px rgba(251,191,36,0.18));
}

.scheduleTeamSummaryIdentity h3{
  margin:0;
  color:#f8fbff;
  font-size:1.45rem;
  line-height:1.1;
  letter-spacing:0.04em;
  text-transform:uppercase;
}

.scheduleTeamSummaryRows{
  display:flex;
  flex-direction:column;
}

.scheduleTeamSummaryRow{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:16px;
  border-bottom:1px solid rgba(255,255,255,0.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02)),
    rgba(7,16,48,0.4);
}

.scheduleTeamSummaryRow:last-child{
  border-bottom:none;
}

.scheduleTeamSummaryRowLabel,
.scheduleTeamSummaryRowValue{
  font-family:"Orbitron","Rajdhani",sans-serif;
  font-weight:800;
  letter-spacing:0.04em;
  text-transform:uppercase;
}

.scheduleTeamSummaryRowLabel{
  color:rgba(255,255,255,0.86);
  font-size:0.92rem;
}

.scheduleTeamSummaryRowValue{
  color:#f8fbff;
  font-size:1rem;
}

.playerDetailsModal{
  width:min(760px, calc(100vw - 20px));
  padding:0;
  overflow:auto;
  -webkit-overflow-scrolling:touch;
}

.playerStatsModal{
  width:min(380px, calc(100vw - 20px));
}

.playerProfileModalContent{
  padding:0 16px 16px;
}

.heroPoolPlayerStatsModal{
  width:min(860px, calc(100vw - 20px));
  padding:0;
  overflow:auto;
  -webkit-overflow-scrolling:touch;
}

.heroPoolPlayerStatsModalBody{
  display:flex;
  flex-direction:column;
  gap:18px;
  padding:0 16px 16px;
}

.heroPoolPlayerStatsSummary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}

.heroPoolPlayerStatsIdentity{
  display:flex;
  align-items:center;
  gap:14px;
  min-width:0;
}

.heroPoolPlayerStatsPortrait{
  width:56px;
  height:56px;
  border-radius:16px;
  object-fit:cover;
  box-shadow:
    0 12px 20px rgba(0,0,0,0.32),
    0 0 12px rgba(59,130,246,0.14);
}

.heroPoolPlayerStatsIdentityText{
  min-width:0;
}

.heroPoolPlayerStatsPlayerName{
  font-family:"Orbitron","Rajdhani",sans-serif;
  font-size:1.04rem;
  font-weight:800;
  letter-spacing:0.03em;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.heroPoolPlayerStatsPlayerMeta{
  margin-top:4px;
  color:rgba(255,255,255,0.72);
  font-size:0.9rem;
}

.heroPoolPlayerStatsTeam{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:12px;
  font-weight:700;
}

.heroPoolPlayerStatsTeamLogo{
  width:50px;
  height:50px;
  object-fit:contain;
}

.heroPoolPlayerStatsSection{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.heroPoolPlayerStatsSectionTitle{
  color:#ffe082;
  font-family:"Orbitron","Rajdhani",sans-serif;
  font-size:0.84rem;
  font-weight:800;
  letter-spacing:0.1em;
  text-transform:uppercase;
}

.heroPoolPlayerStatsHeroList{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.heroPoolPlayerStatsHeroOption{
  flex:1 1 220px;
  min-width:0;
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border:1px solid rgba(255,255,255,0.12);
  border-radius:18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02)),
    rgba(6,16,46,0.52);
  color:#f6fbff;
  cursor:pointer;
  text-align:left;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.heroPoolPlayerStatsHeroOption:hover,
.heroPoolPlayerStatsHeroOption:focus-visible{
  transform:translateY(-1px);
  border-color:rgba(251,191,36,0.46);
  box-shadow:0 14px 22px rgba(0,0,0,0.22);
}

.heroPoolPlayerStatsHeroOption:focus-visible{
  outline:none;
}

.heroPoolPlayerStatsHeroOption.is-active{
  border-color:rgba(251,191,36,0.62);
  background:
    linear-gradient(180deg, rgba(251,191,36,0.16), rgba(251,191,36,0.06)),
    rgba(9,21,58,0.78);
  box-shadow:
    0 14px 24px rgba(0,0,0,0.26),
    0 0 18px rgba(251,191,36,0.15);
}

.heroPoolPlayerStatsHeroImg{
  width:48px;
  height:48px;
  border-radius:14px;
  object-fit:cover;
  border:2px solid rgba(255,255,255,0.22);
  flex:0 0 auto;
}

.heroPoolPlayerStatsHeroText{
  display:flex;
  flex-direction:column;
  gap:4px;
  min-width:0;
}

.heroPoolPlayerStatsHeroName{
  font-weight:800;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.heroPoolPlayerStatsHeroMeta{
  color:rgba(255,255,255,0.74);
  font-size:0.82rem;
}

.heroPoolPlayerStatsCurrentHero{
  display:flex;
  align-items:center;
  gap:12px;
  padding:14px 16px;
  border:1px solid rgba(255,255,255,0.1);
  border-radius:20px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02)),
    rgba(8,20,55,0.5);
}

.heroPoolPlayerStatsCurrentHeroImg{
  width:56px;
  height:56px;
  border-radius:16px;
  object-fit:cover;
  border:2px solid rgba(255,255,255,0.22);
}

.heroPoolPlayerStatsCurrentHeroName{
  font-family:"Orbitron","Rajdhani",sans-serif;
  font-size:1rem;
  font-weight:800;
  letter-spacing:0.03em;
}

.heroPoolPlayerStatsCurrentHeroMeta{
  margin-top:4px;
  color:rgba(255,255,255,0.72);
  font-size:0.88rem;
}

.heroPoolPlayerStatsCard{
  border-top:none;
  border:1px solid rgba(255,255,255,0.08);
  border-radius:20px;
  overflow:hidden;
}

.playerPoolHeroStatsModal{
  width:min(860px, calc(100vw - 20px));
  padding:0;
  overflow:auto;
  -webkit-overflow-scrolling:touch;
}

.playerPoolHeroStatsModalBody{
  display:flex;
  flex-direction:column;
  gap:18px;
  padding:0 16px 16px;
}

.playerPoolHeroStatsSummary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}

.playerPoolHeroStatsIdentity{
  display:flex;
  align-items:center;
  gap:14px;
  min-width:0;
}

.playerPoolHeroStatsPortrait{
  width:56px;
  height:56px;
  border-radius:16px;
  object-fit:cover;
  box-shadow:
    0 12px 20px rgba(0,0,0,0.32),
    0 0 12px rgba(59,130,246,0.14);
}

.playerPoolHeroStatsIdentityText{
  min-width:0;
}

.playerPoolHeroStatsHeroName{
  font-family:"Orbitron","Rajdhani",sans-serif;
  font-size:1.04rem;
  font-weight:800;
  letter-spacing:0.03em;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.playerPoolHeroStatsHeroMeta{
  margin-top:4px;
  color:rgba(255,255,255,0.72);
  font-size:0.9rem;
}

.playerPoolHeroStatsSection{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.playerPoolHeroStatsSectionTitle{
  color:#ffe082;
  font-family:"Orbitron","Rajdhani",sans-serif;
  font-size:0.84rem;
  font-weight:800;
  letter-spacing:0.1em;
  text-transform:uppercase;
}

.playerPoolHeroStatsPlayerList{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.playerPoolHeroStatsPlayerOption{
  flex:1 1 240px;
  min-width:0;
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border:1px solid rgba(255,255,255,0.12);
  border-radius:18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02)),
    rgba(6,16,46,0.52);
  color:#f6fbff;
  cursor:pointer;
  text-align:left;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.playerPoolHeroStatsPlayerOption:hover,
.playerPoolHeroStatsPlayerOption:focus-visible{
  transform:translateY(-1px);
  border-color:rgba(251,191,36,0.46);
  box-shadow:0 14px 22px rgba(0,0,0,0.22);
}

.playerPoolHeroStatsPlayerOption:focus-visible{
  outline:none;
}

.playerPoolHeroStatsPlayerOption.is-active{
  border-color:rgba(251,191,36,0.62);
  background:
    linear-gradient(180deg, rgba(251,191,36,0.16), rgba(251,191,36,0.06)),
    rgba(9,21,58,0.78);
  box-shadow:
    0 14px 24px rgba(0,0,0,0.26),
    0 0 18px rgba(251,191,36,0.15);
}

.playerPoolHeroStatsPlayerImg{
  width:48px;
  height:48px;
  border-radius:14px;
  object-fit:cover;
  border:2px solid rgba(255,255,255,0.22);
  flex:0 0 auto;
}

.playerPoolHeroStatsPlayerText{
  display:flex;
  flex-direction:column;
  gap:4px;
  min-width:0;
}

.playerPoolHeroStatsPlayerName{
  font-weight:800;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.playerPoolHeroStatsPlayerMeta{
  color:rgba(255,255,255,0.74);
  font-size:0.82rem;
}

.playerPoolHeroStatsCurrentPlayer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:14px 16px;
  border:1px solid rgba(255,255,255,0.1);
  border-radius:20px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02)),
    rgba(8,20,55,0.5);
}

.playerPoolHeroStatsCurrentPlayerIdentity{
  display:flex;
  align-items:center;
  gap:12px;
}

.playerPoolHeroStatsCurrentPlayerImg{
  width:56px;
  height:56px;
  border-radius:16px;
  object-fit:cover;
  border:2px solid rgba(255,255,255,0.22);
}

.playerPoolHeroStatsCurrentPlayerName{
  font-family:"Orbitron","Rajdhani",sans-serif;
  font-size:1rem;
  font-weight:800;
  letter-spacing:0.03em;
}

.playerPoolHeroStatsCurrentPlayerMeta{
  margin-top:4px;
  color:rgba(255,255,255,0.72);
  font-size:0.88rem;
}

.playerPoolHeroStatsCurrentPlayerTeam{
  display:flex;
  align-items:center;
  gap:12px;
  font-weight:700;
}

.playerPoolHeroStatsCurrentPlayerTeamLogo{
  width:50px;
  height:50px;
  object-fit:contain;
}

.playerPoolHeroStatsCard{
  border-top:none;
  border:1px solid rgba(255,255,255,0.08);
  border-radius:20px;
  overflow:hidden;
}

.heroDetailsModal{
  width:min(380px, calc(100vw - 20px));
  padding:0;
  overflow:hidden;
}

.playerDetailsModalHead{
  padding:14px 16px 0;
  margin-bottom:12px;
}

.playerDetailsCard{
  display:flex;
  flex-direction:column;
  border-top:1px solid rgba(255,255,255,0.08);
}

.playerDetailsRow{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:14px 16px;
  border-bottom:1px solid rgba(255,255,255,0.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02)),
    rgba(7,16,48,0.4);
}

.playerDetailsRow:last-child{
  border-bottom:none;
}

.playerDetailsLabel{
  flex:0 0 112px;
  color:rgba(255,255,255,0.85);
  font-family:"Orbitron","Rajdhani",sans-serif;
  font-size:0.92rem;
  font-weight:800;
  letter-spacing:0.04em;
}

.playerDetailsValue{
  flex:1 1 auto;
  display:flex;
  justify-content:flex-end;
  align-items:center;
  text-align:right;
  font-size:1rem;
  font-weight:700;
  min-width:0;
}

.playerDetailsIdentity{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:12px;
  min-width:0;
}

.playerDetailsIdentity span{
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.playerDetailsPortrait{
  width:42px;
  height:42px;
  border-radius:12px;
  object-fit:cover;
}

.heroDetailsIdentity{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:12px;
  min-width:0;
}

.heroDetailsIdentity span{
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.heroDetailsPortrait{
  width:44px;
  height:44px;
  border-radius:12px;
  object-fit:cover;
  border:2px solid rgba(255,255,255,0.22);
  box-shadow:
    0 10px 18px rgba(0,0,0,0.34),
    0 0 12px rgba(59,130,246,0.16);
}

.playerDetailsTeamLogo{
  width:48px;
  height:48px;
  object-fit:contain;
}

.teamRosterModalHead{
  align-items:flex-start;
  margin-bottom:18px;
}

.teamRosterModalTitle{
  display:flex;
  align-items:center;
  gap:14px;
}

.teamRosterModalTitle h3,
.teamRosterModalTitle p,
.teamRosterSectionHead h4,
.teamRosterSectionHead span,
.teamRosterCardBody h4,
.teamRosterCardBody p{
  margin:0;
}

.teamRosterModalTitle p{
  color:#9db8df;
  font-size:0.9rem;
  font-weight:700;
}

.teamRosterModalLogo{
  width:60px;
  height:60px;
  object-fit:contain;
}

.teamRosterSection + .teamRosterSection{
  margin-top:18px;
}

.teamRosterSectionHead{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:12px;
}

.teamRosterSectionHead span{
  color:#9db8df;
  font-size:0.8rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:0.08em;
}

.teamRosterGrid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(180px, 1fr));
  gap:14px;
}

.teamRosterGrid--staff{
  grid-template-columns:repeat(auto-fit, minmax(220px, 1fr));
}

.teamRosterCard{
  appearance:none;
  width:100%;
  padding:0;
  color:inherit;
  text-align:inherit;
  border:1px solid rgba(255,255,255,0.1);
  border-radius:16px;
  overflow:hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02)),
    rgba(5,12,32,0.88);
  box-shadow:0 16px 30px rgba(0,0,0,0.24);
}

.teamRosterCard.is-clickable{
  cursor:pointer;
  transition:transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.teamRosterCard.is-clickable:hover,
.teamRosterCard.is-clickable:focus-visible{
  transform:translateY(-4px);
  border-color:rgba(96,165,250,0.65);
  box-shadow:0 20px 36px rgba(0,0,0,0.28), 0 0 0 1px rgba(96,165,250,0.22);
}

.teamRosterCard:disabled{
  cursor:default;
}

.teamRosterCard.is-placeholder{
  background:
    linear-gradient(180deg, rgba(96,165,250,0.08), rgba(148,163,184,0.05)),
    rgba(5,12,32,0.88);
}

.teamRosterPortraitWrap{
  aspect-ratio:4 / 4.5;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:12px 12px 0;
  background:
    radial-gradient(circle at top, rgba(59,130,246,0.24), transparent 44%),
    linear-gradient(180deg, rgba(12,29,73,0.9), rgba(6,12,30,0.9));
}

.teamRosterPortrait{
  width:100%;
  height:100%;
  object-fit:contain;
  border-radius:12px 12px 0 0;
}

.teamRosterPortraitFallback{
  width:100%;
  height:100%;
  min-height:190px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:12px 12px 0 0;
  background:
    linear-gradient(135deg, rgba(30,41,59,0.9), rgba(15,23,42,0.95));
  color:#dce8ff;
  font-family:"Orbitron",sans-serif;
  font-size:3rem;
  font-weight:900;
  letter-spacing:0.08em;
}

.teamRosterCardBody{
  padding:14px 14px 16px;
  text-align:center;
}

.teamRosterCardBody h4{
  font-size:1.05rem;
  margin-bottom:4px;
}

.teamRosterCardBody p{
  color:#facc15;
  font-weight:800;
  letter-spacing:0.05em;
  text-transform:uppercase;
  font-size:0.84rem;
}

.teamRosterProfileShell{
  display:grid;
  gap:16px;
}

.teamRosterProfileTopBar{
  display:flex;
  align-items:center;
  gap:14px;
}

.teamRosterBackButton{
  width:42px;
  height:42px;
  border:none;
  border-radius:12px;
  background:rgba(255,255,255,0.08);
  color:#fff;
  font-size:1.4rem;
  font-weight:900;
  cursor:pointer;
}

.teamRosterBackButton:hover,
.teamRosterBackButton:focus-visible{
  background:rgba(96,165,250,0.24);
}

.teamRosterProfileTitleBlock h4,
.teamRosterProfileTitleBlock p{
  margin:0;
}

.teamRosterProfileTitleBlock p{
  color:#9db8df;
  font-size:0.92rem;
  font-weight:700;
}

.teamRosterProfileHeroCard,
.teamRosterProfileSection,
.teamRosterProfileEmpty{
  border:1px solid rgba(255,255,255,0.1);
  border-radius:18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02)),
    rgba(5,12,32,0.88);
  box-shadow:0 16px 30px rgba(0,0,0,0.22);
}

.teamRosterProfileHeroCard{
  display:grid;
  grid-template-columns:minmax(200px, 280px) 1fr;
  overflow:hidden;
}

.teamRosterProfileHeroMedia{
  min-height:320px;
  display:flex;
  align-items:flex-end;
  justify-content:center;
  padding:18px 18px 0;
  background:
    radial-gradient(circle at top, rgba(59,130,246,0.24), transparent 46%),
    linear-gradient(180deg, rgba(12,29,73,0.9), rgba(6,12,30,0.9));
}

.teamRosterProfilePortrait{
  width:100%;
  height:100%;
  object-fit:contain;
}

.teamRosterProfilePortraitFallback{
  width:100%;
  height:100%;
  min-height:260px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#dce8ff;
  font-family:"Orbitron",sans-serif;
  font-size:3.5rem;
  font-weight:900;
}

.teamRosterProfileHeroMeta{
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:12px;
  padding:22px;
}

.teamRosterProfileHandle{
  font-family:"Orbitron","Rajdhani",sans-serif;
  font-size:2rem;
  font-weight:900;
  letter-spacing:0.04em;
}

.teamRosterProfileTeam{
  display:flex;
  align-items:center;
  gap:12px;
  color:#dce8ff;
  font-weight:700;
}

.teamRosterProfileTeamLogo{
  width:48px;
  height:48px;
  object-fit:contain;
}

.teamRosterProfileSection{
  overflow:hidden;
}

.teamRosterProfileSectionTitle{
  padding:12px 16px;
  background:#00407a;
  color:#fff;
  font-family:"Orbitron","Rajdhani",sans-serif;
  font-weight:800;
  letter-spacing:0.04em;
  text-transform:uppercase;
}

.teamRosterProfileRows{
  display:flex;
  flex-direction:column;
}

.teamRosterProfileRow{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  padding:12px 16px;
  border-top:1px solid rgba(255,255,255,0.08);
}

.teamRosterProfileLabel{
  flex:0 0 120px;
  color:rgba(255,255,255,0.8);
  font-weight:800;
}

.teamRosterProfileValue{
  flex:1 1 auto;
  text-align:right;
  font-weight:700;
  overflow-wrap:anywhere;
}

.teamRosterProfileSummary{
  margin:0;
  padding:16px;
  color:#e5edf9;
  line-height:1.65;
}

.teamRosterProfileLink{
  color:#7dd3fc;
  text-decoration:none;
}

.teamRosterProfileLink:hover,
.teamRosterProfileLink:focus-visible{
  text-decoration:underline;
}

.teamRosterProfileEmpty{
  padding:24px;
  text-align:center;
}

.teamRosterProfileEmptyTitle{
  font-family:"Orbitron","Rajdhani",sans-serif;
  font-size:1.2rem;
  font-weight:800;
  margin-bottom:6px;
}

/* =========================================================
   PANEL / SECTIONS
========================================================= */
.panel{
  width:min(1280px, calc(100% - 40px));
  margin:24px auto 60px;
  padding:30px 24px;
  border-radius:16px;

  background:
    radial-gradient(circle at 10% -10%, rgba(59,130,246,0.18), transparent 42%),
    radial-gradient(circle at 96% 0%, rgba(251,191,36,0.14), transparent 36%),
    linear-gradient(170deg, rgba(8,19,56,0.84), rgba(9,20,50,0.72));
  border:1px solid rgba(126,169,255,0.26);
  backdrop-filter: blur(11px);

  box-shadow:0 24px 65px rgba(2,8,28,0.65), 0 0 40px rgba(59,130,246,0.08);
  position:relative;
  z-index:1;
  animation:panelEnter .42s ease-out;
}

/* Fancy title style for .panel-title OR panel h2/h3 */
.panel-title,
.panel h2,
.panel h3{
  position:relative;
  display:block;
  width:fit-content;
  max-width:100%;
  margin:0 auto 22px;
  padding:14px 22px;

  border-radius:16px;
  border:1px solid rgba(255,255,255,0.18);

  background:
    radial-gradient(circle at 25% 30%, rgba(59,130,246,0.22), transparent 55%),
    radial-gradient(circle at 85% 20%, rgba(251,191,36,0.18), transparent 55%),
    linear-gradient(180deg, var(--glass-1), var(--glass-2));

  backdrop-filter: blur(10px);
  box-shadow:
    0 16px 40px rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(255,255,255,0.10);

  text-align:center;
  text-transform:uppercase;
  letter-spacing:1.6px;

  font-size:24px;
  font-family:'Orbitron','Rajdhani',sans-serif;
  font-weight:800;
  text-shadow:
    0 2px 10px rgba(0,0,0,0.55),
    0 0 16px rgba(59,130,246,0.16);
}

.panel-title::before,
.panel h2::before,
.panel h3::before{
  content:"";
  position:absolute;
  inset:-1px;
  border-radius:16px;
  padding:1px;

  background:linear-gradient(135deg,
    rgba(59,130,246,0.75),
    rgba(251,191,36,0.65)
  );

  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;
          mask-composite:exclude;

  opacity:0.45;
  pointer-events:none;
}

.panel-title::after,
.panel h2::after,
.panel h3::after{
  content:"";
  position:absolute;
  left:16px;
  right:16px;
  bottom:8px;
  height:2px;
  border-radius:2px;
  background:linear-gradient(90deg,
    transparent,
    rgba(59,130,246,0.85),
    rgba(251,191,36,0.85),
    transparent
  );
  opacity:0.75;
}

/* =========================================================
   TABLES (DESKTOP DEFAULT)
========================================================= */
table{
  width:100%;
  border-collapse:collapse;
  margin-top:20px;
  border-radius:12px;
  overflow:hidden;
  background:rgba(7,16,48,0.55);
  border:1px solid rgba(113,163,255,0.24);
}

table th,
table td{
  text-align:center !important;
  vertical-align:middle !important;
  padding:12px 10px;
  border-bottom:1px solid rgba(255,255,255,0.08);
}

table th{
  background:linear-gradient(135deg,var(--blue),var(--yellow));
  font-weight:700;
  font-size:13px;
  font-family:'Orbitron','Rajdhani',sans-serif;
  letter-spacing:.7px;
  text-transform:uppercase;
  cursor:pointer;
  position:sticky;
  top:0;
  z-index:2;
}

table tr:nth-child(even){ background:rgba(117,157,255,0.07); }

table tr:hover{
  background:rgba(59,130,246,0.2);
  transition:0.2s;
}

/* =========================================================
   TEAM CELL + LOGOS
========================================================= */
.teamCell{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
}

.teamLogoTrigger{
  border:0;
  padding:0;
  background:none;
  cursor:pointer;
}

.teamLogoTrigger:focus-visible{
  outline:none;
}

.teamRosterTrigger{
  border:0;
  padding:0;
  background:none;
  color:inherit;
  font:inherit;
  font-weight:800;
  letter-spacing:0.04em;
  text-transform:uppercase;
  cursor:pointer;
  transition:color 160ms ease, text-shadow 160ms ease;
}

.teamRosterTrigger:hover,
.teamRosterTrigger:focus-visible{
  color:#ffe082;
  text-shadow:0 0 10px rgba(251,191,36,0.28);
}

.teamRosterTrigger:focus-visible{
  outline:none;
}

.playerProfileTrigger{
  width:100%;
  border:0;
  padding:0;
  background:none;
  color:inherit;
  font:inherit;
  text-align:left;
  cursor:pointer;
}

.playerProfileTrigger span{
  font:inherit;
  color:inherit;
}

.heroPoolPlayerTrigger{
  display:flex;
  align-items:center;
  gap:10px;
  height:100%;
}

.playerPoolHeroTrigger{
  display:flex;
  align-items:center;
  gap:10px;
  height:100%;
}

.playerProfileTrigger:hover,
.playerProfileTrigger:focus-visible{
  color:#ffe082;
  text-shadow:0 0 10px rgba(251,191,36,0.28);
}

.playerProfileTrigger:focus-visible{
  outline:none;
}

/* Make team logos premium (no circle) */
.teamCell img,
.teamLogo{
  width:60px !important;
  height:60px !important;
  border-radius:0 !important;
  object-fit:contain !important;
  background:transparent !important;
  padding:0 !important;

  filter:
    drop-shadow(0 6px 14px rgba(0,0,0,0.45))
    drop-shadow(0 0 10px rgba(59,130,246,0.18));

  transition: transform 160ms ease, filter 160ms ease;
}

.teamCell:hover img,
.teamLogo:hover{
  transform: translateY(-2px) scale(1.03);
  filter:
    drop-shadow(0 10px 18px rgba(0,0,0,0.55))
    drop-shadow(0 0 14px rgba(251,191,36,0.25));
}

/* global images */
img{ object-fit:cover; }
td img{ border-radius:50%; }

/* =========================================================
   INPUTS
========================================================= */
input, select{
  background:linear-gradient(145deg, rgba(11,26,67,0.9), rgba(7,17,48,0.88));
  border:1px solid rgba(120,167,255,0.34);
  padding:8px 12px;
  border-radius:8px;
  color:white;
  font-family:'Rajdhani','Segoe UI',Arial,sans-serif;
  font-weight:700;
  letter-spacing:0.4px;
}

input:focus, select:focus{
  outline:none;
  border-color:var(--yellow);
  box-shadow:0 0 0 3px rgba(251,191,36,0.25);
}

/* Keep native dropdown option text readable on Windows browsers */
select option{
  color:#0b1542;
  background:#f4f7ff;
}

select option:checked,
select option:hover{
  color:#ffffff;
  background:#2563eb;
}

/* =========================================================
   TOP 5 (PLAYERS)
========================================================= */
.topRow{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:28px;
  margin:55px 0;
  width:100%;
}

.topRow strong{
  font-weight:800;
  font-size:16px;
  text-align:center;
  width:fit-content;         /* important: pill stays tight */
  margin:0 auto;
  letter-spacing:1px;

  /* premium pill */
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;

  padding:10px 16px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.16);

  background:
    radial-gradient(circle at 20% 30%, rgba(251,191,36,0.16), transparent 55%),
    radial-gradient(circle at 80% 20%, rgba(59,130,246,0.16), transparent 55%),
    linear-gradient(180deg, rgba(0,0,0,0.22), rgba(0,0,0,0.08));

  box-shadow:
    0 10px 26px rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(255,255,255,0.10);

  text-transform:uppercase;
  letter-spacing:1.2px;
  text-shadow:0 2px 10px rgba(0,0,0,0.55);
}

.topRow strong::before,
.topRow strong::after{
  content:"";
  width:8px;
  height:8px;
  border-radius:50%;
  opacity:0.75;
}

.topRow strong::before{
  margin-right:10px;
  background:rgba(251,191,36,0.9);
  box-shadow:0 0 12px rgba(251,191,36,0.35);
}

.topRow strong::after{
  margin-left:10px;
  background:rgba(59,130,246,0.95);
  box-shadow:0 0 12px rgba(59,130,246,0.35);
}

.topItems{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:40px;
  flex-wrap:wrap;
}

.topItem{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  font-size:14px;
  font-weight:600;
  transition: transform 0.35s cubic-bezier(.2,.8,.2,1);
  background:linear-gradient(165deg, rgba(8,18,52,0.8), rgba(13,28,70,0.58));
  padding:16px 12px 14px;
  border:1px solid rgba(123,168,255,0.24);
  border-radius:16px;
  box-shadow:0 14px 30px rgba(2,8,28,0.45);
}

.topPlayerTrigger{
  appearance:none;
  -webkit-appearance:none;
  cursor:pointer;
  color:inherit;
  font:inherit;
}

.topPlayerTrigger:focus-visible{
  outline:2px solid rgba(250, 204, 21, 0.95);
  outline-offset:4px;
}

.topItem img{
  width:110px;
  height:110px;
  border-radius:18px;
  border:3px solid var(--yellow);
  box-shadow:0 10px 25px rgba(0,0,0,0.4);
  transition:
    transform 0.35s cubic-bezier(.2,.8,.2,1),
    box-shadow 0.35s ease,
    filter 0.35s ease;
}

/* =========================================================
   TOP 5 (HEROES)
========================================================= */
.toprows{
  display:flex;
  flex-direction:column;
  gap:60px;
  width:100%;
  max-width:1100px;
  margin:0 auto 24px;
}

.toprow{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:28px;
  width:100%;
}

.toprow-label{
  font-weight:800;
  font-size:16px;
  text-align:center;
  width:fit-content;
  margin:0 auto;
  letter-spacing:1px;
  white-space:nowrap;

  /* same pill as players */
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;

  padding:10px 16px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.16);

  background:
    radial-gradient(circle at 20% 30%, rgba(251,191,36,0.16), transparent 55%),
    radial-gradient(circle at 80% 20%, rgba(59,130,246,0.16), transparent 55%),
    linear-gradient(180deg, rgba(0,0,0,0.22), rgba(0,0,0,0.08));

  box-shadow:
    0 10px 26px rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(255,255,255,0.10);

  text-transform:uppercase;
  letter-spacing:1.2px;
  text-shadow:0 2px 10px rgba(0,0,0,0.55);
}

.toprow-label::before,
.toprow-label::after{
  content:"";
  width:8px;
  height:8px;
  border-radius:50%;
  opacity:0.75;
}

.toprow-label::before{
  margin-right:10px;
  background:rgba(251,191,36,0.9);
  box-shadow:0 0 12px rgba(251,191,36,0.35);
}

.toprow-label::after{
  margin-left:10px;
  background:rgba(59,130,246,0.95);
  box-shadow:0 0 12px rgba(59,130,246,0.35);
}

.toprow-grid{
  display:flex;
  gap:26px;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
}

.topcard{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
  font-weight:700;
  font-size:13px;
  text-align:center;
  transition: transform 0.35s cubic-bezier(.2,.8,.2,1);
  background:linear-gradient(165deg, rgba(8,18,52,0.8), rgba(13,28,70,0.58));
  padding:16px 12px 14px;
  border:1px solid rgba(123,168,255,0.24);
  border-radius:16px;
  box-shadow:0 14px 30px rgba(2,8,28,0.45);
}

.topavatar{
  width:98px;
  height:98px;
  border-radius:16px;
  object-fit:cover;
  border:3px solid #f6c000;
  box-shadow:0 10px 22px rgba(0,0,0,.35);
  transition:
    transform 0.35s cubic-bezier(.2,.8,.2,1),
    box-shadow 0.35s ease,
    filter 0.35s ease;
}

/* =========================================================
   SEARCH ROW + WRAPS
========================================================= */
.searchRow{
  margin:18px 0 10px;
  display:flex;
  justify-content:center;
}

.searchInput{
  padding:10px 14px;
  width:320px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,0.18);
  background:rgba(0,0,0,0.55);
  color:#fff;
  outline:none;
}

.tableWrap{
  width:100%;
  overflow-x:auto;
  margin-top:10px;
}

.dataTable{
  border-collapse:collapse;
  margin:0 auto;
  width:min(1100px, 100%);
}

.dataTable th,
.dataTable td{
  text-align:center;
  vertical-align:middle;
  padding:12px 10px;
}

.cellHero{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
}

.cellHeroImg{
  width:55px;
  height:55px;
  border-radius:14px;
  object-fit:cover;
  border:2px solid rgba(255,255,255,0.25);
}

.cellHeroName{ font-weight:700; }

/* =========================================================
   TOP LABEL / NAME BADGES
========================================================= */
.topLabel{
  display:inline-flex;
  align-items:center;
  gap:10px;

  margin-top:10px;
  padding:8px 12px;

  border-radius:12px;
  border:1px solid rgba(255,255,255,0.18);

  background:linear-gradient(135deg,
    rgba(59,130,246,0.12),
    rgba(251,191,36,0.10)
  );

  backdrop-filter: blur(6px);

  box-shadow:
    0 8px 20px rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(255,255,255,0.08);

  transition: transform .2s ease, box-shadow .2s ease;
}

.topName{ font-weight:800; font-size:14px; }
.topValue{
  padding:4px 10px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,0.18);
  background:
    radial-gradient(circle at 30% 30%, rgba(251,191,36,0.22), transparent 60%),
    radial-gradient(circle at 80% 20%, rgba(59,130,246,0.18), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.03));
  font-weight:900;
  font-size:13px;
}

/* If you still use .topname/.topvalue anywhere */
.topname{ font-weight:700; font-size:14px; text-align:center; }
.topvalue{ font-weight:800; opacity:.95; }

/* =========================================================
   FX / ANIMATION (Top 5)
========================================================= */
@keyframes glowPulse{
  0%   { filter: drop-shadow(0 0 0 rgba(59,130,246,0.0)) drop-shadow(0 0 0 rgba(251,191,36,0.0)); }
  50%  { filter: drop-shadow(0 0 16px rgba(59,130,246,0.25)) drop-shadow(0 0 18px rgba(251,191,36,0.18)); }
  100% { filter: drop-shadow(0 0 0 rgba(59,130,246,0.0)) drop-shadow(0 0 0 rgba(251,191,36,0.0)); }
}

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

@keyframes crownFloat{
  0%   { transform: translate(-50%, 0); }
  50%  { transform: translate(-50%, -6px); }
  100% { transform: translate(-50%, 0); }
}

.topItem.topRank,
.topcard.topRank{ position:relative; }

.topItem.topRank img,
.topcard.topRank .topavatar{
  animation: glowPulse 2.4s ease-in-out infinite;
}

.rankBadge{
  position:absolute;
  top:-10px;
  left:-10px;
  z-index:7;
  padding:6px 10px;
  border-radius:999px;
  font-weight:900;
  font-size:12px;
  letter-spacing:0.4px;
  color:#fff;
  border:1px solid rgba(255,255,255,0.22);
  background:linear-gradient(135deg, rgba(59,130,246,0.55), rgba(0,0,0,0.35));
  box-shadow:0 10px 20px rgba(0,0,0,0.35);
}

.topRank--1 .rankBadge{
  background:linear-gradient(135deg, rgba(251,191,36,0.85), rgba(245,158,11,0.35));
  border-color:rgba(251,191,36,0.55);
  box-shadow:0 12px 26px rgba(251,191,36,0.22), 0 10px 22px rgba(0,0,0,0.35);
}

.topRank--1 img,
.topRank--1 .topavatar{
  border-color:rgba(251,191,36,0.95) !important;
  box-shadow:0 14px 30px rgba(0,0,0,0.45), 0 0 18px rgba(251,191,36,0.18) !important;
}

.topMVP::after{
  content:"";
  position:absolute;
  top:-42px;
  left:50%;
  transform:translateX(-50%);
  width:38px;
  height:30px;
  z-index:10;

  background-image:url("data:image/svg+xml,%3Csvg%20viewBox%3D%270%200%2064%2048%27%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%3E%3Cdefs%3E%3ClinearGradient%20id%3D%27gold%27%20x1%3D%270%27%20y1%3D%270%27%20x2%3D%270%27%20y2%3D%271%27%3E%3Cstop%20offset%3D%270%25%27%20stop-color%3D%27%23FFD700%27/%3E%3Cstop%20offset%3D%27100%25%27%20stop-color%3D%27%23F59E0B%27/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath%20d%3D%27M4%2036%20L10%2014%20L24%2028%20L32%208%20L40%2028%20L54%2014%20L60%2036%20Z%27%20fill%3D%27url(%23gold)%27%20stroke%3D%27%23B8860B%27%20stroke-width%3D%272%27/%3E%3Crect%20x%3D%274%27%20y%3D%2736%27%20width%3D%2756%27%20height%3D%276%27%20fill%3D%27url(%23gold)%27%20stroke%3D%27%23B8860B%27%20stroke-width%3D%272%27/%3E%3C/svg%3E");
  background-size:contain;
  background-repeat:no-repeat;
  background-position:center;

  filter: drop-shadow(0 8px 14px rgba(0,0,0,0.45))
          drop-shadow(0 0 10px rgba(251,191,36,0.45));

  animation: crownFloat 1.8s ease-in-out infinite;
}

.topRank--1 .topLabel{
  box-shadow:
    0 10px 26px rgba(0,0,0,0.45),
    0 0 18px rgba(251,191,36,0.14),
    inset 0 1px 0 rgba(255,255,255,0.08);
}

/* Hover enlarge */
.topItem:hover,
.topcard:hover{
  transform: translateY(-6px) scale(1.05);
  z-index:5;
}

.topItem:hover img,
.topcard:hover .topavatar{
  transform: scale(1.18);
  box-shadow:
    0 18px 40px rgba(0,0,0,0.5),
    0 0 25px rgba(251,191,36,0.35);
  filter: brightness(1.05);
}

.topItem:hover .topLabel,
.topcard:hover .topLabel{
  transform: translateY(-3px);
  box-shadow:
    0 14px 28px rgba(0,0,0,0.45),
    0 0 18px rgba(59,130,246,0.25);
}

.topItems:hover .topItem:not(:hover),
.toprow-grid:hover .topcard:not(:hover){
  transform: scale(0.95);
  opacity: 0.6;
}

/* =========================================================
   AVATAR + TEAM LOGO OVERLAY (Top 5 Players)
========================================================= */
.avatarWrap{
  position:relative;
  display:inline-block;
  width:110px;
  height:110px;
}

.playerAvatar{
  width:110px !important;
  height:110px !important;
  border-radius:18px !important;
  object-fit:cover !important;
  border:3px solid var(--yellow) !important;
  box-shadow:0 12px 28px rgba(0,0,0,0.45) !important;
  display:block;
  transition: transform 0.35s ease;
}

/* One clean final version of teamMiniLogo (glass) */
.teamMiniLogo{
  position:absolute;
  bottom:-10px;
  left:-10px;
  z-index:6;

  width:44px !important;
  height:44px !important;
  object-fit:contain !important;

  padding:6px;
  border-radius:14px;

  background:linear-gradient(135deg, rgba(255,255,255,0.20), rgba(255,255,255,0.05));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  border:1px solid rgba(255,255,255,0.35);

  box-shadow:
    0 12px 22px rgba(0,0,0,0.55),
    inset 0 1px 0 rgba(255,255,255,0.35),
    0 0 14px rgba(59,130,246,0.18);

  animation:none !important;
  filter:none !important;
  transform:none !important;

  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.topItem:hover .playerAvatar{ transform: scale(1.12); }
.topItem:hover .teamMiniLogo{
  transform: scale(1.1);
  box-shadow:
    0 16px 28px rgba(0,0,0,0.65),
    inset 0 1px 0 rgba(255,255,255,0.4),
    0 0 20px rgba(251,191,36,0.25);
}

/* =========================================================
   TIERLIST
========================================================= */
.tierlistPage{
  display:grid;
  gap:22px;
}

.tierlistSubnav{
  margin:0 auto;
  max-width:420px;
}

.tierlistToolbar{
  display:grid;
  grid-template-columns:minmax(0, 1fr) auto;
  gap:16px;
  align-items:end;
  padding:18px;
  border-radius:24px;
  border:1px solid rgba(114,160,255,0.24);
  background:linear-gradient(145deg, rgba(7,16,46,0.92), rgba(14,29,73,0.72));
  box-shadow:0 22px 42px rgba(0,0,0,0.28);
}

.tierlistTitleField,
.tierlistField{
  display:grid;
  gap:8px;
}

.tierlistTitleField span,
.tierlistField span,
.tierlistCheckbox span{
  font-family:"Orbitron","Rajdhani",sans-serif;
  font-size:0.78rem;
  font-weight:800;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color:#dce8ff;
}

.tierlistTitleField input,
.tierlistField input,
.tierlistField select,
.tierlistTierLabel input{
  width:100%;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid rgba(122,166,255,0.26);
  background:linear-gradient(180deg, rgba(10,22,58,0.94), rgba(7,17,45,0.94));
  color:#eef6ff;
  font:inherit;
  font-weight:700;
}

.tierlistToolbarActions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.tierlistActionBtn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 18px;
  border:1px solid rgba(122,166,255,0.28);
  border-radius:14px;
  background:linear-gradient(135deg, rgba(26,61,138,0.95), rgba(16,93,189,0.88));
  color:#fff;
  font-family:"Orbitron","Rajdhani",sans-serif;
  font-size:0.8rem;
  font-weight:800;
  letter-spacing:0.08em;
  text-transform:uppercase;
  cursor:pointer;
  transition:transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.tierlistActionBtn:hover:not(:disabled){
  transform:translateY(-2px);
  box-shadow:0 14px 28px rgba(0,0,0,0.28);
  filter:brightness(1.06);
}

.tierlistActionBtn:disabled{
  opacity:0.7;
  cursor:wait;
}

.tierlistActionBtn--accent{
  background:linear-gradient(135deg, rgba(251,191,36,0.95), rgba(249,115,22,0.92));
  color:#111827;
}

.tierlistExportSurface{
  display:grid;
  gap:16px;
  padding:24px;
  border-radius:28px;
  border:1px solid rgba(122,166,255,0.26);
  background:
    radial-gradient(circle at top right, rgba(251,191,36,0.12), transparent 28%),
    radial-gradient(circle at left center, rgba(59,130,246,0.18), transparent 32%),
    linear-gradient(160deg, rgba(4,10,30,0.96), rgba(10,22,58,0.92));
  box-shadow:0 28px 48px rgba(0,0,0,0.3);
}

.tierlistExportSurface.is-capturing{
  width:1280px !important;
  max-width:none !important;
  padding:24px !important;
  border-radius:28px !important;
  box-shadow:none;
}

.tierlistExportSurface.is-capturing .tierlistExportTitle{
  text-shadow:none;
  box-shadow:none;
  font-size:2.15rem;
}

.tierlistExportHead{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  text-align:center;
}

.tierlistPoolEyebrow{
  margin:0 0 6px;
  color:#8fb8ff;
  font-family:"Orbitron","Rajdhani",sans-serif;
  font-size:0.72rem;
  font-weight:800;
  letter-spacing:0.12em;
  text-transform:uppercase;
}

.tierlistExportTitle{
  margin:0;
  font-family:"Orbitron","Rajdhani",sans-serif;
  font-size:clamp(1.5rem, 3vw, 2.15rem);
  letter-spacing:0.06em;
  text-transform:uppercase;
  text-align:center;
}

.tierlistBoard{
  display:grid;
  gap:12px;
}

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

.tierlistTierLabel{
  display:grid;
  grid-template-rows:auto auto;
  gap:8px;
  align-content:start;
  padding:12px;
  border-radius:22px;
  background:linear-gradient(180deg, var(--tier-color), rgba(23,37,84,0.9));
  box-shadow:inset 0 1px 0 rgba(255,255,255,0.18);
}

.tierlistExportSurface.is-capturing .tierlistTierLabel{
  grid-template-rows:auto auto !important;
  grid-template-columns:1fr !important;
  align-content:start !important;
  box-shadow:none;
}

.tierlistTierLabel input{
  background:rgba(255,255,255,0.18);
  border-color:rgba(255,255,255,0.22);
  color:#08111f;
  font-family:"Orbitron","Rajdhani",sans-serif;
  font-size:1.1rem;
  font-weight:900;
  text-align:center;
  text-transform:uppercase;
}

.tierlistExportSurface.is-capturing .tierlistTierLabel input{
  background:rgba(255,255,255,0.14);
  box-shadow:none;
}

.tierlistTierRemove{
  padding:8px 10px;
  border-radius:12px;
  border:1px solid rgba(8,17,31,0.18);
  background:rgba(8,17,31,0.14);
  color:#08111f;
  font-family:"Orbitron","Rajdhani",sans-serif;
  font-weight:900;
  cursor:pointer;
}

.tierlistExportSurface.is-capturing .tierlistTierRemove{
  background:rgba(8,17,31,0.08);
  box-shadow:none;
}

.tierlistExportSurface.is-capturing .tierlistBoard{
  gap:12px !important;
}

.tierlistExportSurface.is-capturing .tierlistRow{
  grid-template-columns:110px minmax(0, 1fr) !important;
  gap:12px !important;
}

.tierlistExportSurface.is-capturing .tierlistDropzone{
  min-height:120px !important;
  padding:16px !important;
  border-radius:24px !important;
}

.tierlistExportSurface.is-capturing .tierlistItemCard--tier{
  width:88px !important;
  height:88px !important;
  padding:8px !important;
  border-radius:18px !important;
}

.tierlistExportSurface.is-capturing .tierlistItemImage{
  width:72px !important;
  height:72px !important;
}

.tierlistExportSurface.is-capturing .tierlistItemCard--tier .tierlistItemImage{
  width:100% !important;
  height:100% !important;
}

.tierlistTierRemove:disabled{
  opacity:0.45;
  cursor:not-allowed;
}

.tierlistDropzone{
  min-height:120px;
  display:flex;
  flex-wrap:wrap;
  align-items:flex-start;
  gap:12px;
  padding:16px;
  border-radius:24px;
  border:1px dashed rgba(148,197,255,0.28);
  background:linear-gradient(180deg, rgba(15,26,62,0.92), rgba(7,15,38,0.92));
}

.tierlistDropzone.is-hovered,
.tierlistPoolGrid.is-hovered{
  border-color:rgba(251,191,36,0.62);
  box-shadow:0 0 0 2px rgba(251,191,36,0.16), 0 18px 34px rgba(0,0,0,0.2);
}

.tierlistEmptyState,
.tierlistPoolEmpty{
  width:100%;
  padding:16px;
  border-radius:18px;
  background:rgba(255,255,255,0.04);
  color:rgba(255,255,255,0.68);
  text-align:center;
  font-weight:700;
}

.tierlistExportSurface.is-capturing .tierlistEmptyState{
  display:none;
}

.tierlistPoolPanel{
  display:grid;
  gap:18px;
  padding:22px;
  border-radius:28px;
  border:1px solid rgba(114,160,255,0.24);
  background:linear-gradient(150deg, rgba(7,16,46,0.92), rgba(12,24,62,0.84));
}

.tierlistPoolHead{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
}

.tierlistPoolHead h3{
  margin:0;
  padding:0;
  border:0;
  background:none;
  box-shadow:none;
  font-size:1.3rem;
}

.tierlistFilterBar{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  align-items:end;
}

.tierlistCheckbox{
  display:inline-flex;
  align-items:center;
  gap:10px;
  min-height:48px;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid rgba(122,166,255,0.2);
  background:rgba(255,255,255,0.04);
}

.tierlistCheckbox input{
  width:18px;
  height:18px;
  accent-color:#fbbf24;
}

.tierlistPoolGrid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(120px, 1fr));
  gap:14px;
  padding:12px;
  border-radius:22px;
  border:1px dashed rgba(122,166,255,0.18);
  transition:border-color 160ms ease, box-shadow 160ms ease;
}

.tierlistItemCard{
  display:grid;
  gap:8px;
  justify-items:center;
  align-content:start;
  min-height:164px;
  padding:14px 12px;
  border-radius:20px;
  border:1px solid rgba(122,166,255,0.18);
  background:
    radial-gradient(circle at top, rgba(59,130,246,0.14), transparent 42%),
    linear-gradient(180deg, rgba(19,33,74,0.96), rgba(7,14,36,0.96));
  color:#fff;
  cursor:grab;
  transition:transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.tierlistItemCard:hover{
  transform:translateY(-3px);
  border-color:rgba(251,191,36,0.36);
  box-shadow:0 16px 28px rgba(0,0,0,0.26);
}

.tierlistItemCard:active{
  cursor:grabbing;
}

.tierlistItemCard--tier{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:auto;
  width:88px;
  height:88px;
  padding:8px;
  border-radius:18px;
}

.tierlistItemCard--tier .tierlistItemImage{
  width:100%;
  height:100%;
}

.tierlistDragging{
  user-select:none;
  cursor:grabbing;
}

.tierlistDragging .tierlistItemCard{
  cursor:grabbing;
}

.tierlistDragPreview{
  position:fixed;
  left:0;
  top:0;
  width:min(160px, 22vw);
  z-index:12000;
  pointer-events:none;
  opacity:0.92;
  transform:rotate(-4deg);
  box-shadow:0 22px 36px rgba(0,0,0,0.34);
}

.tierlistItemImage{
  width:72px;
  height:72px;
  object-fit:contain;
  border-radius:18px;
  background:rgba(255,255,255,0.06);
}

.tierlistItemImage--player{
  object-fit:cover;
}

.tierlistItemImage--hero{
  object-fit:cover;
}

.tierlistItemName{
  font-family:"Orbitron","Rajdhani",sans-serif;
  font-size:0.84rem;
  font-weight:800;
  text-align:center;
  letter-spacing:0.04em;
}

.tierlistItemMeta{
  color:rgba(255,255,255,0.68);
  font-size:0.74rem;
  font-weight:700;
  text-align:center;
  line-height:1.35;
}

/* =========================================================
   ROTATE HINT
========================================================= */
.rotateHint{
  display:none;
  margin:0 auto 18px;
  padding:10px 14px;
  width:fit-content;
  max-width:90%;
  text-align:center;
  font-size:13px;
  font-weight:600;
  border-radius:10px;
  background:rgba(59,130,246,0.18);
  border:1px solid rgba(59,130,246,0.4);
  color:#fff;
  backdrop-filter: blur(6px);
}

@media (max-width:700px) and (orientation:portrait){
  .rotateHint{ display:block; }
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width:900px){
  table{
    display:block;
    overflow-x:auto;
  }

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

@media (max-width:700px){
  .panel{
    width:calc(100% - 24px);
    margin:16px auto 40px;
    padding:16px 12px;
  }

  .panel-title,
  .panel h2,
  .panel h3{
    font-size:22px;
    padding:12px 16px;
    letter-spacing:1.2px;
  }

  .topRow strong,
  .toprow-label{
    font-size:13px;
    padding:9px 14px;
    letter-spacing:1px;
  }
}

@media (max-width:420px){
  .teamCell img,
  .teamLogo{
    width:52px !important;
    height:52px !important;
  }
}

/* =========================================================
   MOBILE: TABLE -> CARD (CENTERED FOR ALL TABS)
   PC layout unchanged
========================================================= */
@media (max-width:700px){

  /* card-table mode */
  table.teamsTable,
  table.playersTable,
  table.heroesTable,
  table.heroPoolTable,
  table.playerPoolTable{
    display:block;
    background:transparent;
    border-radius:0;
    overflow:visible;
    margin-top:12px;

    width:100% !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }

  /* prevent weird table inner layout in block mode */
  table.teamsTable tbody,
  table.playersTable tbody,
  table.heroesTable tbody,
  table.heroPoolTable tbody,
  table.playerPoolTable tbody{
    display:block;
    width:100%;
  }

  /* hide header row */
  table.teamsTable tr:first-child,
  table.playersTable tr:first-child,
  table.heroesTable tr:first-child,
  table.heroPoolTable tr:first-child,
  table.playerPoolTable tr:first-child{
    display:none;
  }

  /* each row becomes a centered card */
  table.teamsTable tr,
  table.playersTable tr,
  table.heroesTable tr,
  table.heroPoolTable tr,
  table.playerPoolTable tr{
    display:block;
    width:min(520px, 100%);
    margin:10px auto !important;

    background:
      radial-gradient(circle at top right, rgba(59,130,246,0.2), transparent 42%),
      radial-gradient(circle at left center, rgba(251,191,36,0.12), transparent 36%),
      linear-gradient(170deg, rgba(8,19,56,0.95), rgba(9,20,50,0.9));
    border:1px solid rgba(126,169,255,0.28);
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 18px 36px rgba(0,0,0,0.34);
  }

  /* each cell becomes a stat line */
  table.teamsTable td,
  table.playersTable td,
  table.heroesTable td,
  table.heroPoolTable td,
  table.playerPoolTable td{
    display:flex;
    justify-content:space-between;
    align-items:center;
    text-align:right !important;
    padding:14px 16px;
    border-bottom:1px solid rgba(255,255,255,0.08);
    width:100%;
    background:
      linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02)),
      rgba(7,16,48,0.4);
  }

  table.teamsTable tr td:last-child,
  table.playersTable tr td:last-child,
  table.heroesTable tr td:last-child,
  table.heroPoolTable tr td:last-child,
  table.playerPoolTable tr td:last-child{
    border-bottom:none;
  }

  /* labels on the left */
  table.teamsTable td::before,
  table.playersTable td::before,
  table.heroesTable td::before,
  table.heroPoolTable td::before,
  table.playerPoolTable td::before{
    color:rgba(255,255,255,0.85);
    font-family:"Orbitron","Rajdhani",sans-serif;
    font-size:0.84rem;
    font-weight:800;
    letter-spacing:0.04em;
    opacity:0.9;
    text-align:left;
    margin-right:12px;
    white-space:nowrap;
  }

  /* ========= TEAMS labels (11 cols) ========= */
  table.teamsTable tr td:nth-child(1)::before{ content:"TEAM"; }
  table.teamsTable tr td:nth-child(2)::before{ content:"MATCH W-L"; }
  table.teamsTable tr td:nth-child(3)::before{ content:"GAME W-L"; }
  table.teamsTable tr td:nth-child(4)::before{ content:"GAME DIFF"; }
  table.teamsTable tr td:nth-child(5)::before{ content:"PTS"; }
  table.teamsTable tr td:nth-child(6)::before{ content:"KILLS"; }
  table.teamsTable tr td:nth-child(7)::before{ content:"DEATHS"; }
  table.teamsTable tr td:nth-child(8)::before{ content:"ASSISTS"; }
  table.teamsTable tr td:nth-child(9)::before{ content:"LORD"; }
  table.teamsTable tr td:nth-child(10)::before{ content:"TURTLE"; }
  table.teamsTable tr td:nth-child(11)::before{ content:"TOWER"; }

  /* TEAM cell layout inside card */
  table.teamsTable td:first-child{
    justify-content:flex-start;
    text-align:left !important;
    padding-top:18px;
    padding-bottom:18px;
    background:
      radial-gradient(circle at 18% 50%, rgba(59,130,246,0.2), transparent 30%),
      linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03)),
      rgba(10,22,58,0.68);
  }
  table.teamsTable .teamCell{
    justify-content:flex-start;
    gap:14px;
  }

  /* ========= PLAYERS labels (12 cols) ========= */
  table.playersTable tr td:nth-child(1)::before{ content:"PLAYER"; }
  table.playersTable tr td:nth-child(2)::before{ content:"TEAM"; }
  table.playersTable tr td:nth-child(3)::before{ content:"ROLE"; }
  table.playersTable tr td:nth-child(4)::before{ content:"GAMES"; }
  table.playersTable tr td:nth-child(5)::before{ content:"KILLS"; }
  table.playersTable tr td:nth-child(6)::before{ content:"AVERAGE KILLS"; }
  table.playersTable tr td:nth-child(7)::before{ content:"DEATHS"; }
  table.playersTable tr td:nth-child(8)::before{ content:"AVERAGE DEATHS"; }
  table.playersTable tr td:nth-child(9)::before{ content:"ASSISTS"; }
  table.playersTable tr td:nth-child(10)::before{ content:"AVERAGE ASSISTS"; }
  table.playersTable tr td:nth-child(11)::before{ content:"KDA"; }
  table.playersTable tr td:nth-child(12)::before{ content:"KP%"; }

  table.playersTable td:nth-child(1),
  table.playersTable td:nth-child(2){
    justify-content:flex-start;
    text-align:left !important;
  }

  table.playersTable td:first-child,
  table.playersTable td:nth-child(2){
    padding-top:18px;
    padding-bottom:18px;
  }

  table.playersTable td:first-child{
    background:
      radial-gradient(circle at 18% 50%, rgba(59,130,246,0.2), transparent 30%),
      linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03)),
      rgba(10,22,58,0.68);
  }

  table.playersTable td:nth-child(2){
    background:
      radial-gradient(circle at 18% 50%, rgba(251,191,36,0.14), transparent 30%),
      linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02)),
      rgba(9,20,50,0.55);
  }

  /* ========= HEROES labels (6 cols) ========= */
  table.heroesTable tr td:nth-child(1)::before{ content:"HERO"; }
  table.heroesTable tr td:nth-child(2)::before{ content:"PICK"; }
  table.heroesTable tr td:nth-child(3)::before{ content:"PICK RATE"; }
  table.heroesTable tr td:nth-child(4)::before{ content:"BAN"; }
  table.heroesTable tr td:nth-child(5)::before{ content:"BAN RATE"; }
  table.heroesTable tr td:nth-child(6)::before{ content:"WIN RATE"; }

  table.heroesTable td:first-child{
    justify-content:flex-start;
    text-align:left !important;
    padding-top:18px;
    padding-bottom:18px;
    background:
      radial-gradient(circle at 18% 50%, rgba(59,130,246,0.2), transparent 30%),
      linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03)),
      rgba(10,22,58,0.68);
  }

  /* ========= HERO POOL labels (5 cols) ========= */
  table.heroPoolTable tr td:nth-child(1)::before{ content:"PLAYER"; }
  table.heroPoolTable tr td:nth-child(2)::before{ content:"TEAM"; }
  table.heroPoolTable tr td:nth-child(3)::before{ content:"ROLE"; }
  table.heroPoolTable tr td:nth-child(4)::before{ content:"TOTAL HEROES"; }
  table.heroPoolTable tr td:nth-child(5)::before{ content:"HEROES PLAYED"; }

  table.heroPoolTable td:nth-child(1),
  table.heroPoolTable td:nth-child(2){
    justify-content:flex-start;
    text-align:left !important;
  }

  table.heroPoolTable td:nth-child(5){
    flex-direction:column;
    align-items:flex-start;
    text-align:left !important;
    gap:8px;
  }
  table.heroPoolTable td:nth-child(5)::before{
    margin-right:0;
    margin-bottom:6px;
  }

  /* ========= PLAYER POOL labels (3 cols) ========= */
  table.playerPoolTable tr td:nth-child(1)::before{ content:"HERO"; }
  table.playerPoolTable tr td:nth-child(2)::before{ content:"TOTAL PLAYERS"; }
  table.playerPoolTable tr td:nth-child(3)::before{ content:"PLAYERS PLAYED"; }

  table.playerPoolTable td:nth-child(1){
    justify-content:flex-start;
    text-align:left !important;
  }

  table.playerPoolTable td:nth-child(3){
    flex-direction:column;
    align-items:flex-start;
    text-align:left !important;
    gap:8px;
  }
  table.playerPoolTable td:nth-child(3)::before{
    margin-right:0;
    margin-bottom:6px;
  }

  table.heroPoolTable td img,
  table.playerPoolTable td img{
    max-width:64px;
    max-height:64px;
  }

  table.heroesTable td:first-child .cellHero{
    justify-content:flex-start;
    gap:14px;
  }

  table.heroesTable td:first-child .cellHeroImg{
    width:58px;
    height:58px;
    border-radius:14px;
    border:2px solid rgba(255,255,255,0.22);
    box-shadow:
      0 12px 20px rgba(0,0,0,0.34),
      0 0 14px rgba(59,130,246,0.16);
  }

  table.heroesTable td:first-child .cellHeroName{
    font-family:"Orbitron","Rajdhani",sans-serif;
    font-size:1rem;
    letter-spacing:0.05em;
    text-align:left;
  }

  table.teamsTable .teamCell,
  table.playersTable .teamCell{
    gap:14px;
  }

  table.teamsTable .teamLogoTrigger,
  table.playersTable .teamLogoTrigger{
    display:flex;
    align-items:center;
    justify-content:center;
    flex:0 0 auto;
  }

  table.teamsTable .teamRosterTrigger,
  table.playersTable .teamRosterTrigger{
    font-family:"Orbitron","Rajdhani",sans-serif;
    font-size:1rem;
    letter-spacing:0.05em;
    text-align:left;
  }

  table.playersTable td:first-child img{
    width:58px !important;
    height:58px !important;
    border-radius:14px !important;
    border:2px solid rgba(255,255,255,0.22);
    box-shadow:
      0 12px 20px rgba(0,0,0,0.34),
      0 0 14px rgba(59,130,246,0.16);
  }

  table.teamsTable td:first-child .teamCell img,
  table.playersTable td:nth-child(2) .teamCell img{
    width:56px !important;
    height:56px !important;
  }
}

@media (max-width: 980px){
  .topControls{
    align-items:stretch;
  }

  .seasonSelectorWrap,
  .countdownCard{
    width:min(100%, 520px);
  }

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

  .scheduleTeamTextRow{
    grid-template-columns:minmax(96px, 120px) minmax(0, 1fr) minmax(96px, 120px);
  }

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

  .tierlistToolbar,
  .tierlistRow{
    grid-template-columns:1fr;
  }

  .tierlistTierLabel{
    grid-template-columns:minmax(0, 1fr) auto;
    grid-template-rows:1fr;
    align-items:center;
  }
}

@media (max-width: 700px){
  .h2hModalBackdrop{
    align-items:flex-start;
    overflow-y:auto;
    padding:12px;
  }

  .playerDetailsModal{
    max-height:calc(100vh - 24px);
  }

  .scheduleFilterBar{
    align-items:stretch;
  }

  .scheduleFilterBar select{
    width:100%;
  }

  .scheduleTeamTextRow{
    grid-template-columns:1fr;
    grid-template-areas:
      "match"
      "matchup"
      "datetime"
      "score";
  }

  .scheduleTeamMatchNo,
  .scheduleTeamTextScore{
    grid-row:auto;
  }

  .scheduleTeamMatchup{
    flex-direction:column;
    align-items:center;
    gap:8px;
  }

  .scheduleTeamStatusDetail{
    white-space:normal;
  }

  .scheduleScorecardBansGrid{
    grid-template-columns:repeat(5, minmax(0, 1fr));
    gap:6px;
  }

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

  .scheduleScorecardBan{
    width:min(100%, 42px);
  }

  .scheduleScorecardPlayer{
    grid-template-columns:1fr;
    align-items:flex-start;
  }

  .scheduleScorecardModalHead{
    align-items:stretch;
  }

  .scheduleScorecardMatchup{
    gap:10px;
  }

  .scheduleScorecardClose{
    top:2px;
    right:2px;
  }

  .scheduleTeamSummaryIdentity{
    grid-template-columns:1fr;
    justify-items:start;
  }

  .scheduleTeamSummaryIdentity h3{
    font-size:1.2rem;
  }

  .teamRosterModalHead,
  .teamRosterSectionHead{
    flex-direction:column;
    align-items:flex-start;
  }

  .teamRosterModalTitle{
    width:100%;
  }

  .playerDetailsRow{
    align-items:flex-start;
  }

  .playerDetailsLabel{
    flex-basis:100px;
    font-size:0.84rem;
  }

  .playerDetailsValue,
  .playerDetailsIdentity{
    justify-content:flex-end;
  }

  .heroPoolPlayerStatsSummary,
  .heroPoolPlayerStatsCurrentHero{
    flex-direction:column;
    align-items:flex-start;
  }

  .heroPoolPlayerStatsTeam{
    justify-content:flex-start;
  }

  .heroPoolPlayerStatsHeroOption{
    flex-basis:100%;
  }

  .playerPoolHeroStatsSummary,
  .playerPoolHeroStatsCurrentPlayer{
    flex-direction:column;
    align-items:flex-start;
  }

  .playerPoolHeroStatsPlayerOption{
    flex-basis:100%;
  }

  .teamRosterGrid,
  .teamRosterGrid--staff{
    grid-template-columns:1fr;
  }

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

  .teamRosterProfileHeroMedia{
    min-height:260px;
  }

  .teamRosterProfileHandle{
    font-size:1.5rem;
  }

  .teamRosterProfileRow{
    flex-direction:column;
    justify-content:flex-start;
    align-items:flex-start;
    gap:6px;
    padding:10px 14px;
  }

  .teamRosterProfileLabel{
    flex:0 0 auto;
    width:100%;
    font-size:0.92rem;
  }

  .teamRosterProfileValue{
    width:100%;
    text-align:left;
    line-height:1.4;
  }

  .schedulePlayerDetailModal{
    width:min(calc(100vw - 16px), 540px);
    gap:14px;
  }

  .schedulePlayerDetailHead{
    align-items:flex-start;
    padding-top:0;
  }

  .schedulePlayerDetailIdentity{
    grid-template-columns:minmax(108px, 120px) minmax(0, 1fr);
    gap:12px;
    align-items:start;
  }

  .schedulePlayerDetailBody{
    grid-template-columns:1fr;
    gap:14px;
  }

  .schedulePlayerDetailMeta{
    align-content:start;
    gap:10px;
    padding-right:84px;
  }

  .schedulePlayerDetailMeta h3{
    font-size:1.65rem;
    line-height:0.98;
  }

  .schedulePlayerDetailPortraitWrap{
    min-height:150px;
    border-radius:18px;
  }

  .schedulePlayerDetailTeamRow{
    gap:8px;
    font-size:0.76rem;
  }

  .schedulePlayerDetailTeamLogo{
    width:30px;
    height:30px;
  }

  .schedulePlayerDetailHeroRow{
    gap:8px;
    font-size:0.98rem;
  }

  .schedulePlayerDetailHeroImg{
    width:40px;
    height:40px;
  }

  .schedulePlayerDetailMetaBottom{
    align-items:flex-start;
    gap:12px;
    flex-direction:column;
  }

  .schedulePlayerDetailRuneRow{
    gap:8px;
  }

  .schedulePlayerDetailRuneImg{
    width:30px;
    height:30px;
  }

  .schedulePlayerDetailRuneImg.is-emblem{
    width:36px;
    height:36px;
  }

  .schedulePlayerDetailKdaCard.is-inline{
    width:100%;
    min-width:0;
    max-width:220px;
    padding:12px 14px;
  }

  .schedulePlayerDetailKdaCard strong{
    font-size:1.75rem;
  }

  .schedulePlayerDetailBuildCard,
  .schedulePlayerDetailStatsCard{
    padding:14px;
    border-radius:16px;
  }

  .schedulePlayerDetailSectionTitle{
    margin-bottom:12px;
    font-size:0.78rem;
  }

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

  .schedulePlayerDetailItemImg{
    border-radius:14px;
  }

  .schedulePlayerDetailStatsList{
    grid-template-columns:1fr;
    gap:8px;
  }

  .schedulePlayerDetailStatRow{
    padding:10px 12px;
  }

  .schedulePlayerDetailStatRow span{
    font-size:0.92rem;
  }

  .schedulePlayerDetailStatRow strong{
    font-size:1.02rem;
  }

  .schedulePlayerDetailClose{
    position:absolute;
    top:-2px;
    right:0;
  }

  .tierlistExportSurface,
  .tierlistPoolPanel{
    padding:16px;
    border-radius:22px;
  }

  .tierlistToolbar{
    padding:16px;
  }

  .tierlistToolbarActions,
  .tierlistFilterBar{
    justify-content:stretch;
  }

  .tierlistActionBtn{
    width:100%;
    justify-content:center;
  }

  .tierlistPoolGrid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }

  .tierlistItemCard{
    min-height:148px;
    padding:12px 10px;
  }

  .tierlistItemImage{
    width:64px;
    height:64px;
  }
}

@media (max-width: 420px){
  .schedulePlayerDetailModal{
    width:calc(100vw - 12px);
  }

  .schedulePlayerDetailIdentity{
    grid-template-columns:102px minmax(0, 1fr);
    gap:10px;
  }

  .schedulePlayerDetailPortraitWrap{
    min-height:136px;
  }

  .schedulePlayerDetailMeta{
    padding-right:78px;
  }

  .schedulePlayerDetailMeta h3{
    font-size:1.45rem;
  }

  .schedulePlayerDetailHeroRow{
    font-size:0.92rem;
  }

  .schedulePlayerDetailHeroImg{
    width:38px;
    height:38px;
  }

  .schedulePlayerDetailKdaCard.is-inline{
    max-width:190px;
    padding:10px 12px;
  }

  .schedulePlayerDetailKdaCard span{
    font-size:0.76rem;
  }

  .schedulePlayerDetailKdaCard strong{
    font-size:1.55rem;
  }

  .schedulePlayerDetailBuildCard,
  .schedulePlayerDetailStatsCard{
    padding:12px;
  }
}

/* =========================================================
   SOCIABUZZ SUPPORT MODAL
========================================================= */
#sbModalOverlay{
  z-index:2147483646 !important;
}

#sbModal{
  z-index:2147483647 !important;
  width:min(700px, calc(100vw - 32px)) !important;
  max-width:calc(100vw - 32px) !important;
  height:100dvh !important;
  max-height:100dvh !important;
  overflow:hidden !important;
  pointer-events:auto !important;
}

#sbIframe{
  display:block;
  width:100% !important;
  height:100% !important;
  pointer-events:auto !important;
}

@supports not (height: 100dvh){
  #sbModal{
    height:100vh !important;
    max-height:100vh !important;
  }
}

@media (max-width: 700px){
  #sbModal{
    top:0 !important;
    left:16px !important;
    right:16px !important;
    width:auto !important;
    max-width:none !important;
    transform:none !important;
  }
}
