body[data-experience="season"] {
  --cup-frame: polygon(12px 0,100% 0,100% calc(100% - 12px),calc(100% - 12px) 100%,0 100%,0 12px);
  background: #071119;
}
body[data-experience="season"] :is(.topbar,.sidebar,footer) {
  background: #081620 url(assets/home/metal.png);
  border-color: #738c9a;
}
body[data-experience="season"] .topbar .brand img { width:min(240px,52vw); display:block; }
body[data-experience="season"] .broadcast-network { color:#71e9fc; font:700 12px Arial,sans-serif; letter-spacing:.14em; text-transform:uppercase; }
body[data-experience="season"] :is(.nav-label:first-child,.sidebar-note) { display:none; }
body[data-experience="season"] .sidebar a { border-bottom:1px solid #354b56; text-transform:uppercase; }
body[data-experience="season"] .sidebar a.active { background:#123847; color:#68ecff; box-shadow:inset 3px 0 #58eaff,inset 0 0 20px #16b8d64d; }
body[data-experience="season"] #page-content { min-width:0; padding-inline:clamp(16px,2vw,34px); }
.cup-hero {
  position:relative;
  min-height:clamp(300px,30vw,450px);
  padding:clamp(22px,4vw,54px);
  display:flex;
  flex-direction:column;
  justify-content:center;
  border:1px solid #8da4af;
  border-radius:0;
  clip-path:var(--cup-frame);
  background:linear-gradient(90deg,#05101bf5 0%,#05101bdc 34%,#05101b25 67%),url(assets/home/cup-spotlight.png) 64% center/cover;
}
.cup-hero h1 {
  max-width:12ch;
  margin:.2em 0;
  font:900 clamp(42px,5vw,76px)/.94 Impact,"Arial Narrow",sans-serif;
  text-transform:uppercase;
  color:#eef8ff;
  text-shadow:0 3px #52717e,0 4px 12px #000;
}
.cup-hero .eyebrow { color:#80f0ff; }
.cup-hero .cup-profile { align-self:flex-start; padding:10px 14px; background:#06131eeb; border-inline-start:2px solid #58eaff; }
.cup-hero .cup-path { margin:16px 0 0; }
.cup-hero .cup-path span,.cup-tabs button,.cup-next { border-radius:0; }
.cup-tabs button[aria-current="page"],.cup-next .primary {
  background:#134454;
  color:#effaff;
  border:1px solid #53eaff;
  box-shadow:inset 0 0 12px #2ed8ed80;
}
.cup-next {
  background:linear-gradient(110deg,#081620ed,#0e2a38de),url(assets/home/metal.png);
  border-color:#738c9a;
  clip-path:var(--cup-frame);
}
@media(max-width:760px) {
  body[data-experience="season"] .broadcast-network { display:none; }
  .cup-hero {
    min-height:0;
    padding:clamp(145px,45vw,230px) 16px 18px;
    background:linear-gradient(0deg,#071119 0%,#071119 53%,transparent 78%),url(assets/home/cup-spotlight.png) 71% top/auto clamp(175px,53vw,280px) no-repeat,#071119;
  }
  .cup-hero h1 { font-size:clamp(34px,9vw,48px); }
  .cup-hero .cup-path { gap:6px; }
  .cup-hero .cup-path span { padding:6px 8px; }
}
.cup-hero .lead { max-width:32ch; color:#e4f3fa; }
.cup-hero.page-top { display:flex; align-items:flex-start; }
.sidebar nav svg{display:none}
body[data-experience="season"] .sidebar nav svg{display:block;width:25px;height:25px;flex:none;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
@media(min-width:721px){
 body[data-experience="season"] .workspace{grid-template-columns:clamp(168px,13.3vw,228px) minmax(0,1fr);max-width:none;margin-inline:0}
 body[data-experience="season"] .sidebar{padding:42px 0 20px;border-right:2px ridge #859aa7}
 body[data-experience="season"] .sidebar nav{margin:0}
 body[data-experience="season"] .sidebar .nav-label:first-child{display:none}
 body[data-experience="season"] .sidebar .nav-label{display:flex;align-items:center;gap:8px;padding:0 10px;margin:27px 0 10px;white-space:nowrap}
 body[data-experience="season"] .sidebar .nav-label::before,body[data-experience="season"] .sidebar .nav-label::after{content:"";height:1px;background:#859aa7;flex:1}
 body[data-experience="season"] .sidebar nav a{display:flex;align-items:center;gap:12px;min-height:64px;padding:12px clamp(10px,1.3vw,22px);border-radius:0}
 body[data-experience="season"] .sidebar nav a[aria-current="page"]{clip-path:polygon(0 0,100% 0,100% 73%,92% 100%,0 100%);border-block:1px solid #53eaff}
}
@media(max-width:720px){body[data-experience="season"] .sidebar nav svg{width:16px;height:16px}}
body[data-experience="season"] .sidebar nav .legacy-nav-icon{display:none}
body[data-experience="season"] .sidebar a[aria-current="page"] { background:#123847;color:#68ecff;box-shadow:inset 3px 0 #58eaff,inset 0 0 20px #16b8d64d; }
.cup-hero + .cup-path { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(6px,2vw,26px); }
.cup-hero + .cup-path span {
  display:grid; place-items:center; min-height:54px; padding:8px;
  text-align:center; text-transform:uppercase; font:italic 800 clamp(11px,1.3vw,17px) system-ui;
  clip-path:var(--cup-frame); border:1px solid #728a98;
  background:linear-gradient(#183441,#091821);
}
.cup-hero + .cup-path .current {
  color:white; border-color:#65eeff; background:linear-gradient(#156577,#082d39);
  box-shadow:inset 0 0 18px #22dfff;
}
@media(max-width:720px) { .cup-hero + .cup-path span { min-height:42px; } }
body[data-experience="season"] .panel:has(.roster-starts) .budget { border-radius: 50%; box-shadow: inset 0 0 14px #12acc1, 0 0 12px #1397aa; }
body[data-experience="season"] .panel:has(.roster-starts) h2 {
  font-style: italic;
  text-transform: uppercase;
}


body:is([data-route="lab"],[data-experience="season"]) .roster-starts button:not(:disabled):is([id],button):is(:hover,:focus-visible,:active) {
  color: #f3fdff;
  border-color: #71f4ff;
  background: linear-gradient(#156577,#082d39);
  box-shadow: inset 0 0 15px #22dfff, 0 0 9px #22dfff80;
}
body:is([data-route="lab"],[data-experience="season"]) .roster-starts button:not(:disabled):is([id],button):active {
  background: #176879;
  box-shadow: inset 0 0 18px #58efff, 0 0 13px #22dfffb0;
}


/* Lab roster workshop */
body[data-experience="season"] .panel:has(.roster-starts) {
  --cut: 19px;
  position: relative;
  isolation: isolate;
  border: 0;
  border-radius: 0;
  clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut),
    100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, var(--cut) 100%, 0 calc(100% - var(--cut)), 0 var(--cut));
  background: linear-gradient(110deg,#425862,#d0e1e7 18%,#2d434e 37%,#75f1ff 50%,#243944 65%,#b6c9d0 85%,#405863);
}
body[data-experience="season"] .panel:has(.roster-starts)::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 5px;
  clip-path: inherit;
  background: radial-gradient(ellipse at 20% 0,#123a50aa,transparent 65%),linear-gradient(120deg,#061723bb,#06131beb),url(assets/home/metal.png);
}
body[data-experience="season"] .panel:has(.roster-starts) h2 {
  font-size: clamp(23px,3vw,42px);
  color: #f1f7fa;
  text-shadow: 0 2px 1px #000;
}
body[data-experience="season"] .panel:has(.roster-starts) .budget {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: clamp(85px,10vw,125px);
  aspect-ratio: 1;
  flex-shrink: 0;
  padding-bottom: 12px;
  border: 3px ridge #8196a2;
  background: repeating-conic-gradient(from -5deg,#52edff 0deg 16deg,#14677d 17deg 18deg);
}
body[data-experience="season"] .panel:has(.roster-starts) .budget::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: radial-gradient(#102b38,#041018 80%);
  z-index: -1;
}
body[data-experience="season"] .panel:has(.roster-starts) .budget::after {
  content: "Points";
  position: absolute;
  top: 65%;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 9px;
}
body[data-experience="season"] .budget strong {font-size:clamp(25px,3.3vw,43px);font-style:italic;color:#61edff}
body[data-experience="season"] .budget.over-budget strong {color:#ff9c93}
body[data-experience="season"] .roster-starts {display:flex;flex-wrap:wrap;gap:10px}
body[data-experience="season"] .roster-starts button {
  min-height:44px;
  text-transform:uppercase;
  font-weight:800;
  font-style:italic;
  border-radius:5px;
}
body[data-experience="season"] .roster-summary {border-left:3px solid #55e9ff;padding:12px 16px;margin-bottom:10px}
body[data-experience="season"] .roster-summary b {font-style:italic;text-transform:uppercase}
body[data-experience="season"] .allocation {gap:10px}
body[data-experience="season"] .allocation > * {
  border:1px solid #567381;
  background:linear-gradient(#142f3d,#0a1d27);
  border-radius:6px;
  text-align:center;
}
body[data-experience="season"] .roster-validation.valid {
  text-align:center;
  font-weight:800;
  font-style:italic;
  text-transform:uppercase;
  box-shadow:inset 0 0 12px #3ae3a829;
}
