/* NOIR ARENA. Scoped to the selected league; no data or navigation changes. */
html.league-graphite{
  --bg:#0c0c0e;--surface:#161618;--surface-2:#202023;--text:#f4f4f5;--muted:#a3a3ad;
  --line:#ffffff17;--accent:#ededf0;--accent-dark:#38383d;--blue:#c5c8d0;
  --gs-gold:#ececf0;--gs-mint:#ee6a5b;--gs-edge:#ffffff20;--gs-radius:8px;
  --noir-red:#ef6c5b;--noir-paper:#f0f0f2;--noir-muted:#96969f;
  color-scheme:dark;
}
.league-graphite body{background:var(--bg);color:var(--text)}
.league-graphite ::selection{background:#ec6a57;color:#0d0d0f}
.league-graphite :focus-visible{outline-color:#f4b0a4}
.league-graphite .ambient{background:radial-gradient(ellipse at 85% 0,#3c3c432c,transparent 60%),#0c0c0e!important}
.league-graphite .ambient:before{inset:-30%;background:linear-gradient(125deg,transparent 46%,#ffffff04 50%,transparent 54%);animation:noir-ambient 26s ease-in-out infinite alternate!important}
.league-graphite .ambient:after{background:linear-gradient(90deg,#ffffff03 1px,transparent 1px) 0 0/140px 100%;mask-image:linear-gradient(#000,transparent 75%)}

/* Navigation reads as a compact command rail, separate from the arena theme. */
.league-graphite .competition-tabs.compact-nav.simple-nav{background:#111113;border:1px solid #ffffff16;border-radius:9px;box-shadow:none}
.league-graphite .competition-tabs.compact-nav.simple-nav:before{background:linear-gradient(90deg,#ef6c5b,transparent);left:20px;right:50%;height:2px}
.league-graphite .sidebar-brand{color:#fafafa;letter-spacing:.08em}
.league-graphite .sidebar-brand span{color:#888891;letter-spacing:.26em}
.league-graphite .grand-nav-group{color:#81818b;letter-spacing:.2em}
.league-graphite .simple-nav>a{border-radius:4px;color:#aaaab3}
.league-graphite .simple-nav>a:after{color:#5f5f69}
.league-graphite .simple-nav>a:hover{background:#ffffff06;border-color:#ffffff10;color:#fff}
.league-graphite .simple-nav>a.is-current{background:#f0f0f2;color:#171719;border-color:#f0f0f2;box-shadow:inset 3px 0 #ef6c5b;font-weight:750}
.league-graphite .simple-nav>a.is-current:after{color:#62626b}
.league-graphite .grand-rail-footer{border-color:#ffffff15;color:#d2d2d8}
.league-graphite .grand-rail-footer small{color:#787882}
.league-graphite .grand-status-dot{background:#ef6c5b;box-shadow:0 0 0 4px #ef6c5b0c,0 0 12px #ef6c5b30}
.league-graphite :is(.site-sidebar-toggle,.admin-sidebar-toggle){background:#212124;color:#d9d9df;border-color:#ffffff20}
.league-graphite :is(.site-header,.profile-nav){background:transparent;border-color:#ffffff18;box-shadow:none}
.league-graphite :is(.site-header,.profile-nav) .brand small{color:#8d8d97;letter-spacing:.24em}
.league-graphite :is(.league-switch-trigger,.season-switcher-trigger,.grand-search-trigger){background:#19191c;border:1px solid #ffffff20;border-radius:5px;box-shadow:none;color:#d0d0d6}
.league-graphite .league-switch-trigger:hover,.league-graphite .league-switch-trigger[aria-expanded=true]{background:#232327;border-color:#eeeeee50}
.league-graphite :is(.league-switch-icon,.league-option-mark){background:#ffffff06;border-color:#ffffff1c;border-radius:4px;color:#dddde3}
.league-graphite :is(.league-switch-copy strong,.season-trigger-copy strong){color:#f4f4f5}
.league-graphite :is(.league-switch-copy small,.league-switch-copy>span,.season-trigger-label,.season-trigger-copy>small){color:#9696a0}
.league-graphite :is(.league-switch-chevron,.season-trigger-chevron){color:#bcbcc5}
.league-graphite :is(.league-switch-menu,.season-menu,.grand-search-dialog){background:#19191c;border-color:#ffffff2c;border-radius:8px;box-shadow:0 24px 65px #0008}
.league-graphite :is(.league-switch-option,.season-option){border-radius:4px;color:#d9d9df}
.league-graphite :is(.league-switch-option:hover,.league-switch-option:focus-visible,.season-option:hover){background:#ffffff08;border-color:#ffffff20}
.league-graphite .league-switch-option[aria-selected=true]{background:#ffffff0b;border-color:#ffffff40}
.league-graphite :is(.league-option-check,.league-option-copy small,.league-option-count){color:#aaaab4}
.league-graphite .grand-search-trigger:hover{border-color:#ffffff50;color:#fff}
.league-graphite .grand-search-results a:hover{background:#ffffff08}
.league-graphite .grand-search-dialog :is(input,footer){color:#b8b8c1}

/* A floodlit, monochrome indoor court with editorial typography. */
.league-graphite .grand-hero{min-height:322px;padding:38px 34px;gap:30px;border-radius:6px;border:1px solid #ffffff22;background:#171719;box-shadow:0 16px 40px #0003}
.league-graphite .grand-hero:before{background:linear-gradient(90deg,#141416f5,#141416d9 37%,#14141640 75%),linear-gradient(0deg,#080809b0,transparent 70%)}
.league-graphite .grand-hero:after{inset:0;background:linear-gradient(112deg,transparent 35%,#ffffff06 50%,transparent 65%);opacity:1}
.league-graphite .grand-hero-scene{background:repeating-linear-gradient(0deg,transparent 0 46px,#ffffff03 46px 47px),radial-gradient(ellipse at 80% 15%,#92929838,transparent 55%),#1c1c20}
.league-graphite .grand-hero-scene:before{background:radial-gradient(ellipse at var(--gs-field-light-x,80%) var(--gs-field-light-y,20%),#e9e9ed35,transparent 55%)}
.league-graphite .grand-field-board{filter:grayscale(1) drop-shadow(0 20px 8px #0005);opacity:.44;left:28%;width:85%;transform:perspective(1000px) rotateX(calc(48deg + var(--gs-field-y,0deg))) rotateZ(calc(-28deg + var(--gs-field-x,0deg)))}
.league-graphite .grand-hero[data-field-active] .grand-field-board{opacity:.65}
.league-graphite .grand-field-caption{color:#b9b9c46e;letter-spacing:.3em}
.league-graphite .grand-field-caption i{color:#e9e9ef6b}
.league-graphite .grand-overline{font-size:.54rem;letter-spacing:.22em;color:#b9b9c2;gap:9px}
.league-graphite .grand-overline-separator{color:#ef6c5b}
.league-graphite .grand-hero h1{font-family:var(--font-body)!important;font-size:clamp(2.6rem,4.05vw,4.6rem);font-weight:850;line-height:.98;letter-spacing:-.065em;margin:21px 0 17px;color:#fff;max-width:650px;text-wrap:balance}
.league-graphite .grand-hero h1 em{color:#c0c0c9;text-shadow:none}
.league-graphite .grand-hero-copy>p{color:#a8a8b2;font-size:.73rem;line-height:1.7;max-width:365px}
.league-graphite .grand-primary{background:#efeff1;border:1px solid #efeff1;color:#141416;border-radius:3px;box-shadow:none;font-size:.66rem;letter-spacing:.025em}
.league-graphite .grand-primary:hover{box-shadow:0 4px 22px #ffffff14}
.league-graphite .grand-text-action{color:#bcbcc5;font-size:.65rem}
.league-graphite .grand-text-action span{color:#ef6c5b}
.league-graphite .grand-text-action:hover{color:#fff}
.league-graphite .grand-spotlight{border-radius:5px;background:#111113d9;border:1px solid #ffffff25;box-shadow:0 10px 30px #0004;backdrop-filter:none}
.league-graphite .grand-spotlight:before{left:0;right:auto;width:55px;height:2px;background:#ef6c5b}
.league-graphite .grand-spotlight-label{color:#d0d0d9;border-color:#ffffff13;font-size:.52rem;letter-spacing:.12em}
.league-graphite .grand-spotlight-label>span:last-child:not(.grand-status-dot){color:#9c9ca7}
.league-graphite .grand-match-duel>b{color:#fff;font-family:var(--font-body);font-size:1.8rem;font-weight:850}
.league-graphite .grand-match-duel>b :is(span,i){color:#8e8e99}
.league-graphite .grand-match-team strong{color:#ececf0}
.league-graphite .grand-match-bottom{background:#ffffff03;border-color:#ffffff13}
.league-graphite .grand-match-bottom>span{color:#90909b}
.league-graphite .grand-match-bottom a{color:#eeeef1}

/* Crisp table surfaces, restrained red details, and a silver rankings dock. */
.league-graphite #league-view .stat-card{background:#171719;border:1px solid #ffffff18;border-radius:5px;box-shadow:none}
.league-graphite #league-view .stat-card.accent-card{border-color:#ffffff30;background:linear-gradient(100deg,#222225,#171719)}
.league-graphite .grand-summary-mark{border-radius:4px;background:#ffffff04;border-color:#ffffff1c;color:#cfcfd7}
.league-graphite #league-view .stat-label{color:#8f8f9b;letter-spacing:.16em}
.league-graphite #league-view .stat-number{color:#f2f2f5;font-family:var(--font-body);font-size:1.85rem;font-weight:800;letter-spacing:-.06em}
.league-graphite #league-view .stat-card>small{color:#82828e}
.league-graphite #league-view .leader-line strong{color:#e5e5eb}
.league-graphite #league-view .leader-line small{color:#a3a3af}
.league-graphite #league-view :is(.standings-card,.league-top-players){border-radius:6px;background:#151517!important;border:1px solid #ffffff1e;box-shadow:none}
.league-graphite #league-view .standings-card .section-heading>div:first-child:before{background:linear-gradient(#ef6c5b,transparent)}
.league-graphite #league-view .standings-card .section-heading{background:#1d1d20;border-color:#ffffff17}
.league-graphite #league-view .standings-card .eyebrow{color:#9696a1;letter-spacing:.2em}
.league-graphite .eyebrow:before{background:#ef6c5b}
.league-graphite #league-view .standings-card #standings-heading{font:750 1.65rem/1.1 var(--font-body)!important;letter-spacing:-.045em;color:#f1f1f4}
.league-graphite #league-view .standings-card .legend{color:#a1a1ad}
.league-graphite #league-view .standings-card th{background:#111113;color:#858591}
.league-graphite #league-view .standings-card td{border-top-color:#ffffff09;color:#b9b9c4}
.league-graphite #league-view .standings-card .team-name{color:#ececf0}
.league-graphite #league-view .standings-card .position{color:#a3a3af;font-family:var(--font-body);font-size:.85rem;font-weight:650}
.league-graphite #league-view .standings-card .points{color:#f5f5f7;font-family:var(--font-body);font-size:1.25rem;font-weight:800;letter-spacing:-.04em}
.league-graphite #league-view .standings-card tbody tr:nth-child(2n){background:#ffffff02}
.league-graphite #league-view .standings-card tbody tr:hover{background-color:#ffffff05;box-shadow:inset 0 1px #ffffff0c,inset 0 -1px #ffffff0c}
.league-graphite #league-view .standings-card .table-note{border-color:#ffffff12;color:#838390}
.league-graphite :is(.simple-table-toggle,.week-controls select,.weekly-result){background:#252529;color:#dddde5;border-color:#ffffff25;border-radius:4px}
.league-graphite #league-view .ranking-dock :is(.top-players-heading,.ranking-tabs){background:#1d1d20;border-color:#ffffff17}
.league-graphite #league-view .top-players-heading :is(h2,h2 span){color:#f1f1f4;font-family:var(--font-body);font-size:1.7rem;font-weight:800;letter-spacing:-.05em}
.league-graphite #league-view .top-players-heading :is(.eyebrow,.top-players-metric){color:#9999a5}
.league-graphite #league-view .ranking-tabs button{border-radius:3px;color:#9797a4;background:transparent;border-color:transparent}
.league-graphite #league-view .ranking-tabs button[aria-selected=true]{color:#fff;background:#ffffff0b;border-color:#ffffff22;box-shadow:inset 0 -2px #ef6c5b}
.league-graphite #league-view .top-player-row{border-color:#ffffff0d}
.league-graphite #league-view .top-player-row:hover{background:#ffffff04}
.league-graphite #league-view :is(.top-player-place,.leaderboard-place){color:#8e8e9c}
.league-graphite #league-view .top-player-copy strong{color:#eeeef2}
.league-graphite #league-view .top-player-copy small{color:#8f8f9c}
.league-graphite #league-view .top-player-avatar{background:#29292f;border-color:#ffffff20;color:#ceced9}
.league-graphite #league-view :is(.top-players-note,.league-leaderboard footer){background:#111113;color:#8f8f9b;border-color:#ffffff13}
.league-graphite #league-view .ranking-dock .league-leaderboard{background:transparent;border:0;box-shadow:none}
.league-graphite #league-view .league-leaderboard :is(h2,.leaderboard-total b){color:#eeeef3}

/* Remaining views and management use the same monochrome material system. */
.league-graphite :is(.fixtures-section,.hub-panel,.hub-card,.directory-section,.directory-card,.profile-section,.profile-stat:not(.rating-stat),.career-tabs,.career-total-grid article,.general-stats-cards article,.weekly-match,.league-settings){background:#171719;border-color:#ffffff1e;border-radius:7px;box-shadow:none}
.league-graphite :is(.fixture-card,.match-week-section,.fixture-week-group,.transfer-card,.free-player-card){background:#1b1b1e;border-color:#ffffff20;border-radius:6px}
.league-graphite :is(.fixture-meta,.fixture-footer,.score-box){background:#ffffff03;border-color:#ffffff15;color:#adadba}
.league-graphite :is(.fixture-meta time,.fixture-team strong,.score-box strong){color:#e0e0e8}
.league-graphite :is(.hub-intro h1,.section-heading h2,.directory-heading h2){font-family:var(--font-body)!important;letter-spacing:-.04em;color:#f0f0f4}
.league-graphite :is(.hub-muted,.hub-tag,.profile-nav-links a,.career-tab){color:#aaaab7;border-color:#ffffff20}
.league-graphite :is(.hub-action,.career-tab[aria-selected=true],.profile-nav-links a:hover){background:#ffffff09;color:#eeeef4;border-color:#ffffff30}
.league-graphite :is(.hub-intro,.directory-intro){background:radial-gradient(ellipse at 90% 0,#55556030,transparent 65%),#171719;border-color:#ffffff20;border-radius:6px}
.league-graphite :is(.hub-intro,.directory-intro):after{border-color:#ffffff12;box-shadow:0 0 0 35px #ffffff03,0 0 0 70px #ffffff02;border-radius:5px;transform:rotate(30deg)}
.league-graphite :is(.hub-intro,.directory-intro) :is(.eyebrow,.intro-copy),.league-graphite .hub-intro>div>p:last-child{color:#9999a7}
.league-graphite :is(.hub-toolbar,.score-strip-controls,.week-controls,.league-score-strip) :is(input,select,button){background:#222226;color:#d7d7e1;border-color:#ffffff25;border-radius:4px}
.league-graphite #league-view .league-score-strip{background:#171719;border-color:#ffffff20;border-radius:6px}
.league-graphite #league-view .league-score-strip h2{color:#ededf2;font-family:var(--font-body);font-size:1.35rem;letter-spacing:-.04em}
.league-graphite #league-view .score-strip-match{background:#1d1d21;border-color:#ffffff20;border-radius:4px}
.league-graphite #league-view .score-strip-match:hover{border-color:#ffffff50;box-shadow:none}
.league-graphite :is(.score-strip-team strong,.weekly-team){color:#d7d7e0}
.league-graphite :is(.score-strip-team>b,.weekly-result strong,.weekly-date){color:#bbbbc8}
.league-graphite :is(.score-strip-meta,.league-score-strip .eyebrow,.weekly-fixtures .eyebrow){color:#90909e}
.league-graphite .weekly-match:nth-child(even){background:#1e1e22}
.league-graphite .weekly-match:hover{background:#26262b}
.league-graphite .weekly-fixtures .section-heading{background:#ffffff03;border-color:#ffffff18}
.league-graphite :is(.broadcast-section,.youtube-section){background:linear-gradient(100deg,#171719,#211a1d);border-color:#ffffff22;border-radius:6px}
.league-graphite .night-surface>.night-surface-accent{background:linear-gradient(90deg,transparent,#dddde8,transparent)}
.league-graphite :is(.fixture-meta,.fixture-footer,.score-box) :is(strong,small),.league-graphite .fixture-team{color:#d1d1dc}
.league-graphite .division-switcher{background:#171719;border-color:#ffffff20;border-radius:5px}
.league-graphite .division-switcher button{color:#aaaab7;border-radius:3px}
.league-graphite .division-switcher button[aria-pressed=true]{background:#e5e5eb;color:#151517;border-color:#e5e5eb}
.league-graphite :is(.team-fixture-card,.team-fixture-row,.match-room-panel,.match-media-panel,.career-current-value,.career-about-fold,.career-record-grid article){background:#1b1b1f;border-color:#ffffff20}
.league-graphite .profile-section-head{background:#1e1e22;border-color:#ffffff20}
.league-graphite .profile-section-head h2,.league-graphite .profile-stat:not(.rating-stat)>strong{color:#e6e6ed}
.league-graphite .career-tabs>button{color:#a4a4b2}
.league-graphite .career-tabs>button[aria-selected=true],.league-graphite .team-profile-tabs button[aria-selected=true]{color:#f0f0f5;background:#ffffff0a;border-color:#ffffff30;box-shadow:inset 0 -2px #ef6c5b}
.league-graphite .career-top-side .general-stats-cards article{background:#19191d;border-color:#ffffff1c}
.league-graphite #social-view{--sx-accent:#eeeef4;--sx-muted:#9c9caa;--sx-line:#ffffff20;--sx-panel:#171719}
.league-graphite :is(.sx-main,.sx-rail-card){background:#171719;border-color:#ffffff20}
.league-graphite .sx-post{border-color:#ffffff14}
.league-graphite .site-footer,.league-graphite .site-footer span:first-child{color:#888897;border-color:#ffffff18}
.league-graphite .profile-hero{background:radial-gradient(ellipse at 85% 50%,#68687312,transparent 68%)}
.league-graphite .profile-hero:after{border-color:#ffffff0a;box-shadow:0 0 70px #ffffff03,inset 0 0 50px #ffffff03}
.league-graphite .profile-heading h1{color:#f3f3f5}
.league-graphite .profile-heading .eyebrow{color:#a8a8b5}
.league-graphite .profile-nav-links a{background:#222226;border-color:#ffffff25;border-radius:4px}
.league-graphite :is(.profile-stat>small,.profile-stat>span,.profile-section>h2){color:#b3b3bf}
.league-graphite :is(.admin-header,.admin-side-nav,.admin-card,.admin-section,.league-admin-toolbar){background:#151517;border-color:#ffffff20;border-radius:7px;box-shadow:none}
.league-graphite .admin-side-nav :is(a,button){color:#b7b7c3;border-radius:4px}
.league-graphite .admin-category-tab.is-active{background:#ededf0;color:#151517;border-color:#ededf0;box-shadow:inset 3px 0 #ef6c5b}
.league-graphite .admin-page #admin-category-nav.admin-side-nav{background:#111113;border-color:#ffffff20}
.league-graphite .admin-page #admin-category-nav.admin-side-nav .admin-category-tab{color:#adadba;border-radius:4px}
.league-graphite .admin-page #admin-category-nav.admin-side-nav .admin-category-tab.is-active{background:#ededf0;color:#151517;border-color:#ededf0;box-shadow:inset 3px 0 #ef6c5b}
.league-graphite .admin-page :is(.admin-side-brand,.admin-side-brand>span,.admin-header .eyebrow,.back-link){color:#adadba}
.league-graphite .admin-page :is(.add-panel,.content-admin-card,.automation-card,.player-admin-card,.player-admin-row,.team-editor,.season-admin,.content-admin-card,.extras-card){background:#171719;border-color:#ffffff20;border-radius:6px}
.league-graphite .admin-page .primary-button{background:#ededf0;color:#151517;border-color:#ededf0;border-radius:4px}
.league-graphite .admin-page .secondary-button{background:#ffffff06;color:#d7d7e0;border-color:#ffffff25;border-radius:4px}
.league-graphite .admin-page .admin-workspace-tabs button[aria-selected=true],.league-graphite .admin-page .player-workspace-tabs button[aria-selected=true]{background:#ffffff0a;color:#f0f0f5;border-color:#ffffff30}
.league-graphite .admin-page :is(.season-admin-head label,.season-settings-form label,.create-season-form label,.broadcast-admin-grid label,.youtube-admin-grid label){color:#aaaab7}
.league-graphite .admin-page .admin-header:after{background:linear-gradient(90deg,#ef6c5b,transparent)}
.league-graphite .admin-page :is(.primary-button,.secondary-button){box-shadow:none}
.league-graphite :is(.league-toolbar-label strong,.league-editor-heading h3,.league-settings h2){color:#eeeef2;font-family:var(--font-body);letter-spacing:-.04em}
.league-graphite :is(.league-toolbar-label>span,.league-editor-heading small,.league-settings label,.league-settings>header .eyebrow,.league-editor-note){color:#a0a0ad}
.league-graphite :is(.league-settings form[data-league-settings],.league-directory-item){background:#111113;border-color:#ffffff1c;border-radius:5px}
.league-graphite .league-directory-item:hover,.league-graphite .league-directory-item[aria-pressed=true]{background:#ffffff06;border-color:#ffffff40}
.league-graphite :is(.league-directory-icon,.league-directory-item em,.league-manage-link,.league-create-fold>summary){color:#c9c9d3}
.league-graphite .league-directory-item small{color:#9696a4}
.league-graphite .league-manage-link{background:#ffffff04;border-color:#ffffff20;border-radius:4px}
.league-graphite .league-create-fold{border-color:#ffffff18}
.league-graphite .admin-page :is(input:not([type=checkbox]):not([type=radio]):not([type=color]),select,textarea),.league-graphite .league-settings :is(input,select){background:#101012!important;color:#e6e6ee!important;border-color:#ffffff2a!important}
.league-graphite .league-settings [data-delete-league]{color:#f0a99e;border-color:#ef6c5b40;background:#ef6c5b08}

@keyframes noir-ambient{from{transform:translate3d(-3%,0,0)}to{transform:translate3d(3%,2%,0)}}
@media(min-width:1180px){
  .league-graphite .grand-hero{grid-template-columns:minmax(0,1fr) minmax(270px,32%)}
  .league-graphite .grand-match-duel{min-height:150px}
}
@media(max-width:1179px){.league-graphite .grand-hero{padding:28px 25px}.league-graphite .grand-hero h1{font-size:clamp(2.5rem,5.6vw,4rem)}}
@media(max-width:600px){
  .league-graphite .grand-hero{padding:24px 19px;gap:22px;min-height:0;border-radius:5px}
  .league-graphite .grand-hero h1{font-size:clamp(2.1rem,8.4vw,3rem);letter-spacing:-.055em;margin:18px 0 14px}
  .league-graphite .grand-hero-copy>p{font-size:.68rem}
  .league-graphite .grand-overline{font-size:.43rem;letter-spacing:.13em;flex-wrap:wrap}
  .league-graphite .grand-hero-actions{gap:14px}
  .league-graphite .grand-primary{font-size:.6rem;gap:12px}
  .league-graphite .grand-text-action{font-size:.6rem}
  .league-graphite #league-view .standings-card #standings-heading{font-size:1.35rem!important}
  .league-graphite #league-view .stat-number{font-size:1.7rem}
  .league-graphite #league-view .standings-card .points{font-size:1.05rem}
}
@media(prefers-reduced-motion:reduce){.league-graphite .ambient:before{animation:none!important}}
