@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600;700&display=swap');

:root {
  --bg: #101315;
  --panel: #191d1f;
  --panel2: #222729;
  --line: #414a4c;
  --muted: #a5afb0;
  --lime: #dcfa50;
  --orange: #d49183;
  color: #f3f4ef;
  background: var(--bg);
}
body {
  background:
    linear-gradient(90deg, transparent calc(50% - 1px), #ffffff04 50%, transparent calc(50% + 1px)),
    radial-gradient(ellipse 90% 38% at 76% -15%, #626e3d1f, transparent 76%),
    var(--bg);
}
.site { max-width: 1520px; padding-inline: clamp(18px, 3.5vw, 58px); }
.topbar {
  height: 74px;
  border-color: #464e4b;
  position: relative;
}
.topbar:after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 54px;
  height: 3px;
  background: var(--lime);
}
.mark { gap: 14px; }
.mark-glyph {
  font-size: 38px;
  line-height: .9;
  color: #f3f4ef;
  letter-spacing: -.055em;
}
.mark-glyph span { color: var(--lime); }
.mark-word {
  color: #dde1dc;
  font: 600 11px/1.25 "IBM Plex Mono", monospace;
  letter-spacing: .045em;
}
.top-right { gap: clamp(18px, 2.5vw, 38px); }
.header-serial, .data-pill, .topbar .plain-link, .eyebrow-serial,
.setup-intro, .roster-serial, .spin-meta, .season-badge span,
.season-badge small, .archive-strip p {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
}
.header-serial { color: #687475; white-space: nowrap; }
.data-pill { color: #c8d0cc; white-space: nowrap; }
.live-dot, .roster-live-dot, .signal-square {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--lime);
  border-radius: 0;
  vertical-align: middle;
  box-shadow: 0 0 15px #dcfa5070;
}
.topbar .plain-link {
  color: #e2e6df;
  text-decoration: none;
  border-bottom: 1px solid #747e76;
  white-space: nowrap;
}
.topbar .plain-link span { color: var(--lime); }
.title-row { padding: 35px 0 28px; gap: 40px; align-items: end; }
.eyebrow, .section-kicker {
  color: var(--lime);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .13em;
}
.eyebrow { margin-bottom: 13px; }
.eyebrow .signal-square { margin-right: 8px; }
.eyebrow-serial { margin-left: 15px; color: #8b9690; }
h1 { font-size: clamp(53px, 5.4vw, 86px); line-height: .88; margin-bottom: 14px; }
h1 em { color: #f3f4ef; }
.title-period { color: var(--lime); }
.lede { font-size: 14px; color: #b2bcbb; max-width: 640px; }
.season-badge {
  transform: none;
  width: 164px;
  height: 118px;
  align-items: flex-start;
  padding: 13px 15px;
  justify-content: space-between;
  border: 1px solid #566253;
  background:
    linear-gradient(135deg, transparent 0 72%, #dcfa5016 72%),
    #212725;
  position: relative;
}
.season-badge:before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 26px;
  height: 3px;
  background: var(--lime);
}
.season-badge span, .season-badge small { color: #b9c3b8; }
.season-badge strong { font-size: 54px; color: var(--lime); letter-spacing: -.025em; }
.season-badge strong span { color: #77876d; font-size: .65em; }
.mode-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}
.mode {
  min-width: 180px;
  min-height: 52px;
  padding: 0 23px;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  justify-content: flex-start;
  color: #b8c0bf;
  text-transform: uppercase;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .045em;
}
.mode + .mode { border-left: 1px solid #32393a; }
.mode:hover { background: #242a2b; }
.mode.active { background: #222923; border-color: var(--lime); color: #f3f4ef; }
.mode-icon {
  color: #98a5a2;
  font: 600 10px "IBM Plex Mono", monospace;
  align-self: center;
}
.mode.active .mode-icon { color: var(--lime); }
.layout { grid-template-columns: minmax(0, 1fr) minmax(310px, 370px); gap: 16px; }
.play-panel, .roster-panel, .side-card {
  background: #191e20;
  border-color: var(--line);
}
.play-panel { min-height: 0; }
.panel-head {
  padding: 20px 26px;
  min-height: 90px;
  border-color: var(--line);
  background: linear-gradient(90deg, #242a29, #1a1f21 70%);
}
.panel-head h2 { font-size: clamp(28px, 2.7vw, 37px); margin-top: 6px; }
.step-chip {
  border-color: #69755c;
  color: var(--lime);
  background: #2a3027;
  font: 600 12px "IBM Plex Mono", monospace;
  letter-spacing: .08em;
  padding: 10px 12px;
}
.setup { padding: 0 26px 26px; }
.setup-intro {
  display: flex;
  justify-content: space-between;
  padding: 15px 0 7px;
  color: #778884;
}
.setup-intro span:first-child { color: var(--lime); }
.setting-row { min-height: 72px; border-color: #343c3e; }
.setting-row label, .setting-label { font-size: 15px; color: #f0f2ed; }
.setting-row p { color: #a6b2af; font-size: 13px; }
.setting-row:has(#eraStart) { margin-top: 0; }
select, .segmented, .visibility-toggle { border-color: #5b6664; }
select, .segmented button, .visibility-toggle { background-color: #272e2f; }
.segmented button { border-color: #5b6664; color: #d7ddda; }
.segmented button.selected, .role-btn.active { background: var(--lime); color: #141917; }
.primary {
  min-height: 55px;
  border-color: var(--lime);
  background: var(--lime);
  color: #151914;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: .055em;
}
.primary:hover { background: #ecffa2; }
.start-btn { margin-top: 23px; }
.sidebar { gap: 16px; align-content: start; }
.roster-panel { padding: 0; position: sticky; top: 16px; z-index: 3; }
.side-head {
  padding: 19px 19px 0;
  margin-bottom: 3px;
  align-items: baseline;
}
.side-head .section-kicker { color: #f1f5ea; font-size: 12px; }
.roster-live-dot { margin-left: 6px; width: 6px; height: 6px; }
.side-head > span:last-child {
  font: 600 14px "IBM Plex Mono", monospace;
  color: var(--lime);
}
.roster-subtitle { margin: 0 19px 17px; font-size: 13px; color: #99a7a4; }
.roster-list { gap: 0; margin: 0 12px; border-top: 1px solid #3b4545; }
.roster-slot {
  min-height: 69px;
  border: 0;
  border-bottom: 1px solid #3b4545;
  background: transparent;
  padding: 10px 8px;
}
.roster-slot.filled { background: #293128; border-color: #4a5841; }
.slot-number {
  width: 27px;
  height: 27px;
  font: 600 11px "IBM Plex Mono", monospace;
  color: #a4afab;
  border-color: #67716c;
}
.filled .slot-number { background: var(--lime); color: #141914; border-color: var(--lime); }
.slot-info strong { font-size: 16px; }
.slot-info small { color: #a8b5ac; font-size: 12px; }
.slot-score { color: var(--lime); }
.coach-summary {
  margin: 0 12px;
  padding: 14px 8px;
  border-color: #3b4545;
  font: 600 11px "IBM Plex Mono", monospace;
}
.coach-summary span { color: #eef2ea; font-size: 12px; }
.roster-foot {
  margin: 0;
  padding: 16px 20px;
  background: #222923;
  border-top: 1px solid #506045;
  font: 600 11px "IBM Plex Mono", monospace;
}
.roster-foot strong { font: 800 27px "Barlow Condensed", Impact, sans-serif; }
.sidebar-visibility {
  margin: 13px 19px;
  width: calc(100% - 38px);
  border-color: #65765a;
  min-height: 37px;
  color: #ecf2e9;
}
.roster-serial {
  border-top: 1px solid #343d3e;
  color: #798782;
  padding: 9px 19px;
  text-align: right;
  font-size: 10px;
}
.side-card { padding: 20px; }
.side-card h3 { font-size: 27px; margin: 10px 0; }
.side-card p { color: #a9b8b2; line-height: 1.55; }
.side-card .text-link { color: var(--lime); }
.spin-stage {
  background:
    linear-gradient(90deg, #dcfa500f 1px, transparent 1px),
    linear-gradient(#dcfa500f 1px, transparent 1px),
    radial-gradient(ellipse at 80% 10%, #47553042, transparent 58%),
    #242b29;
  background-size: 38px 38px, 38px 38px, auto, auto;
  border-color: #637553;
  min-height: 236px;
  padding: 19px 21px;
}
.spin-stage:after {
  content: "04";
  bottom: -48px;
  right: 4px;
  font-size: 190px;
  color: #f0ffed09;
}
.spin-stage:before { background: linear-gradient(110deg, transparent 43%, #dcfa503e 50%, transparent 57%); }
.spin-meta { color: #c3d1bd; font-size: 11px; }
.spin-meta .signal-square { margin-right: 6px; }
.spin-content { min-height: 178px; }
.spin-content .awaiting {
  display: flex;
  flex-direction: column;
  gap: 13px;
  color: #f0f4e9;
  font-size: clamp(28px, 3vw, 43px);
  line-height: 1;
}
.spin-content .awaiting small {
  color: var(--lime);
  font: 600 11px "IBM Plex Mono", monospace;
  letter-spacing: .12em;
}
.spin-content .team-year { font: 600 11px "IBM Plex Mono", monospace; color: var(--lime); margin-bottom: 10px; }
.spin-team-line { width: 100%; align-items: center; }
.team-headline { display: flex; flex: 1; min-width: 0; align-items: center; justify-content: space-between; gap: 18px; }
.spin-content .team-name { min-width: 0; font-size: clamp(42px, 4.2vw, 68px); color: #f3f6ec; }
.team-year-hero {
  flex: none;
  padding-left: 22px;
  border-left: 1px solid #a8be7e78;
  color: var(--lime);
  font: 900 clamp(48px, 5vw, 74px)/.9 "Barlow Condensed", Impact, sans-serif;
  letter-spacing: -.025em;
  font-variant-numeric: tabular-nums;
}
.spin-content .team-rank { color: #bac9b9; font: 500 11px/1.5 "IBM Plex Mono", monospace; }
.team-logo { width: 69px; height: 69px; }
.draft { padding: 22px 26px 26px; }
.draft-actions { margin: 14px 0 20px; }
.secondary { background: #272e2f; color: #f2f4ef; border-color: #65726b; }
.secondary:hover { background: #34403b; }
.draft-note { color: #b5c1ba; font-size: 13px; line-height: 1.45; }
.player-list { gap: 6px; }
.player-card {
  border-color: #445051;
  background: #22282a;
  min-height: 77px;
  padding: 11px 13px;
  transition: background .18s, border-color .18s, transform .18s;
}
.player-card:hover:not(:disabled) {
  border-color: var(--lime);
  background: #2c352b;
  transform: translateX(3px);
}
.player-number { font: 600 11px "IBM Plex Mono", monospace; color: #8a9995; }
.player-card .player-face { width: 49px; height: 49px; border-radius: 0; }
.player-main strong { font-family: "Barlow Condensed", Impact, sans-serif; font-size: 23px; text-transform: uppercase; line-height: 1; }
.player-main small { font-size: 12px; color: #abbab1; line-height: 1.25; }
.player-card .rating { color: var(--lime); }
.rating-stack small { color: #b8c5b3; font-size: 10px; }
.player-card .pick-arrow { color: var(--lime); }
.coach-pick { border-color: #687b55; background: #283126; }
.coach-pick:hover:not(:disabled) { background: #35432e; }
.role-btn { background: #283031; border-color: #606f68; }
.role-btn.active { border-color: var(--lime); }
.archive-strip { background: #1b2122; border-color: var(--line); margin-top: 16px; }
.archive-strip strong { color: #f1f4ec; }
.archive-strip div > span:last-child { color: #aab6af; }
.archive-strip p { color: #c7d0c9; }
.archive-strip p span { color: var(--lime); padding: 0 8px; }
footer { color: #94a19c; }
dialog { background: #1c2324; border-color: #70806b; }
.tournament-main { background: #1d2425; border-color: #55615a; }
.tournament-title { background: linear-gradient(90deg, #2b3528, #1d2526); }
.event-progress .event-history { background: #22292a; }
.event-progress .event-history.current { background: #2d392b; }
.event-progress .event-history.winner { background: #33452a; }
.live-match { background: radial-gradient(ellipse at 50% 0%, #4c5b3452, transparent 60%), #1c2325; }

@media (max-width: 1100px) {
  .header-serial { display: none; }
  .layout { grid-template-columns: minmax(0, 1fr) minmax(280px, 320px); }
  .setting-row { align-items: flex-start; flex-direction: column; padding: 12px 0; gap: 10px; }
  .setting-row .segmented { width: 100%; }
  .segmented button { flex: 1; }
}
@media (max-width: 760px) {
  .topbar { height: 68px; }
  .title-row { padding: 30px 0 22px; }
  h1 { font-size: clamp(48px, 10vw, 71px); }
  .layout { grid-template-columns: 1fr; }
  .sidebar { display: contents; }
  .play-panel { grid-row: 1; }
  .roster-panel { position: static; grid-row: 2; }
  .side-card { grid-row: auto; }
  .mode-tabs { display: grid; grid-template-columns: repeat(3, 1fr); }
  .mode { min-width: 0; justify-content: center; padding: 0 8px; font-size: 15px; }
  .roster-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .roster-slot { display: block; min-width: 0; border-right: 1px solid #3b4545; }
  .roster-slot .slot-number { margin: 0 0 8px; }
  .roster-slot .slot-info strong { font-size: 14px; }
  .roster-slot .slot-info small { font-size: 11px; }
}
@media (max-width: 560px) {
  .site { padding-inline: 14px; }
  .topbar .plain-link { font-size: 10px; }
  .mark-word { font-size: 9px; }
  .mark-glyph { font-size: 35px; }
  .title-row { padding: 25px 0 19px; }
  .eyebrow-serial, .data-pill { display: none; }
  h1 { font-size: clamp(42px, 10vw, 55px); }
  .lede { font-size: 13px; }
  .mode { min-height: 48px; font-size: 12px; }
  .mode:last-child { grid-column: auto; }
  .mode-icon { display: none; }
  .panel-head { min-height: 80px; padding: 15px; gap: 8px; }
  .panel-head h2 { font-size: 27px; }
  .step-chip { font-size: 10px; padding: 7px; }
  .setup { padding: 0 15px 17px; }
  .draft, .results { padding: 16px 15px 18px; }
  .setting-row { min-height: 0; }
  .segmented button { font-size: 12px; padding: 10px 6px; }
  .spin-stage { padding: 15px; min-height: 218px; }
  .spin-meta { font-size: 9px; }
  .spin-content { min-height: 160px; }
  .team-headline { flex-wrap: wrap; gap: 5px 12px; }
  .spin-content .team-name { font-size: 40px; }
  .team-year-hero { border-left: 0; padding-left: 0; font-size: 50px; }
  .spin-content .team-rank { font-size: 10px; }
  .team-logo { width: 53px; height: 53px; }
  .player-card { min-height: 69px; padding: 9px; gap: 7px; }
  .player-card .player-face { width: 41px; height: 41px; }
  .player-main strong { font-size: 20px; }
  .player-main small { font-size: 10px; }
  .roster-list { display: grid; grid-template-columns: 1fr; }
  .roster-slot { display: flex; min-height: 59px; border-right: 0; }
  .roster-slot .slot-number { margin: 0; }
  .roster-slot .slot-info strong { font-size: 15px; }
  .archive-strip p { font-size: 10px; line-height: 1.8; }
  .archive-strip p span { padding: 0 3px; }
}
@media (prefers-reduced-motion: reduce) {
  .player-card { transition: none; }
  .player-card:hover:not(:disabled) { transform: none; }
}
