
/* PuckDrafts v6 — account access, competition hub and light/dark mode */
.theme-switch,.account-link{border:1px solid #d9dfe8;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;font-weight:800;font-size:11px;min-height:35px;padding:8px 14px;background:#fff;color:#162b43;cursor:pointer}
.theme-switch:hover,.account-link:hover{background:#f7f0e3;border-color:#bf9e65}
.account-link{background:#17314d;color:#fff;border-color:#17314d}.account-link:hover{background:#274766;color:#fff}
.top-actions{flex-wrap:nowrap}.top-actions .user-icon{flex:none}
.home-competition-links{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:20px 0 29px}
.home-competition-links button{position:relative;text-align:left;background:#fff;border:1px solid #e0e5ef;border-radius:15px;padding:18px 34px 15px 18px;min-width:0;color:#1b314d;box-shadow:0 8px 25px #1526400a}
.home-competition-links button:hover,.competition-hub-card:hover{border-color:#bda06c;transform:translateY(-2px)}
.home-competition-links button strong{display:block;font:700 27px/1.1 var(--lux)}.home-competition-links button small{display:block;color:#788599;font-size:11px;margin-top:3px}.home-competition-links button span{position:absolute;right:15px;top:22px;color:#ab8755;font-size:17px}
.competition-hub-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin:28px 0}
.competition-hub-card{display:grid;grid-template-columns:60px minmax(0,1fr) 26px;gap:16px;align-items:start;text-align:left;border:1px solid #e5e5e5;border-radius:19px;background:#fff;padding:25px 22px;color:var(--ink);min-height:180px;box-shadow:var(--shadow);transition:transform .18s,border-color .18s}
.competition-hub-icon{display:grid;place-items:center;width:57px;height:57px;background:#18304d;color:#e7c586;border-radius:14px;font:700 29px/1 var(--lux)}
.competition-hub-kicker{font-size:9px;letter-spacing:.13em;font-weight:900;color:#a38251}
.competition-hub-card h2{font-family:var(--lux);font-size:36px;letter-spacing:-.035em;margin:6px 0 4px}
.competition-hub-card p{font-size:12px;line-height:1.55;margin:0 0 10px;color:#617087}
.competition-hub-card small{font-size:10px;font-weight:700;color:#a57d44}.competition-arrow{font-size:23px;color:#ad8755}
.competition-hub-note{padding:16px 20px;border:1px solid #e0dbcf;border-radius:13px;background:#fbf6ec;color:#556477;font-size:12px;line-height:1.65}
@media(max-width:1320px){.mainnav .navlink{padding-inline:8px}.top-actions{gap:7px}.status-box{display:none}}
@media(max-width:1120px){.sidebar-bottom{display:none}.top-actions .user-icon{display:none}}
@media(max-width:750px){.home-competition-links{grid-template-columns:repeat(2,minmax(0,1fr))}.home-competition-links button:last-child{grid-column:1/-1}.competition-hub-grid{grid-template-columns:1fr}.theme-switch,.account-link{font-size:10px;min-height:32px;padding:7px 10px}.competition-hub-card{min-height:150px;padding:18px 14px;grid-template-columns:49px minmax(0,1fr) 17px;gap:10px}.competition-hub-icon{width:44px;height:44px}.competition-hub-card h2{font-size:30px}}
@media(max-width:460px){.topbar .breadcrumb span:first-child,.topbar .chevron{display:none}.topbar .breadcrumb strong{font-size:10px}.topbar .iconbtn{display:none}.top-actions{gap:5px}.theme-switch,.account-link{font-size:9px;padding:6px 8px}.home-competition-links button{padding:13px 24px 12px 12px}.home-competition-links button strong{font-size:24px}}
html[data-theme="dark"]{color-scheme:dark;--bg:#0c1523;--white:#152238;--ink:#e9f0f8;--black:#07101d;--secondary:#9daec4;--blue:#d7b77a;--blue-hi:#f0d5a0;--blue-pale:#25334a;--line:#334158;--soft:#1a2940;--lime:#d7b77a;--red:#fa8a8d;--shadow:0 18px 42px rgba(0,0,0,.20)}
html[data-theme="dark"] body{background:var(--bg);color:var(--ink)}
html[data-theme="dark"] .sidebar{background:rgba(12,21,35,.98);border-color:#34455d;box-shadow:0 6px 28px #0004}
html[data-theme="dark"] .brand-copy strong{color:#f2e6d0!important}
html[data-theme="dark"] .brand-copy small{color:#c6a775}
html[data-theme="dark"] .navlink{color:#a9b7cc}html[data-theme="dark"] .navlink:hover{color:#fff}html[data-theme="dark"] .navlink.active{color:#e4c487;border-color:#e4c487}
html[data-theme="dark"] .breadcrumb,html[data-theme="dark"] .breadcrumb strong,html[data-theme="dark"] .season-pill{color:#b4c1d3}
html[data-theme="dark"] .iconbtn,html[data-theme="dark"] .theme-switch{background:#20334d;color:#eddbb9;border-color:#40516a}
html[data-theme="dark"] .account-link{background:#d3b273;color:#112238;border-color:#d3b273}html[data-theme="dark"] .account-link:hover{background:#e5c78a}
html[data-theme="dark"] :is(.card,.metric-card,.game-card,.player-card,.draft-mode,.draft-board,.live-auth-card,.live-pool-player,.live-board-item,.competition-strip>div,.competition-hub-card,.home-competition-links button,.source-info,.modal,.network-indicator){background:#152238!important;color:var(--ink)!important;border-color:#34455d!important;box-shadow:0 6px 27px #0002}
html[data-theme="dark"] :is(.hero,.live-illustration){background:#192941!important;border-color:#3f536b!important}
html[data-theme="dark"] .hero h1{color:#f5e9d4!important}html[data-theme="dark"] .hero h1 em{color:#deb980!important}
html[data-theme="dark"] .hero p,html[data-theme="dark"] .hero-kicker{color:#bdcadb}
html[data-theme="dark"] :is(.metric-primary,.player-name,.player-card-footer,.game-lines strong,.card-head h3,.section-heading h2,.page-heading h1,.live-auth-card h2,.competition-hub-card h2,.home-competition-links strong,.source-row strong,.live-pool-player strong,.live-board-item strong,.brand,.tiny-tag,.score,.draft-board strong){color:#f0f4fa!important}
html[data-theme="dark"] :is(.metric-sub,.metric-top,.section-date,.page-heading p,.muted,.small-note,.directory-meta,.player-card small,.competition-hub-card p,.competition-hub-card small,.home-competition-links small,.live-board-item small,.live-pool-player small,.source-row span){color:#a7b6ca!important}
html[data-theme="dark"] :is(.input,input:not([type="checkbox"]),select,textarea){background:#0f1c2d!important;color:#e9f0f8!important;border-color:#415269!important}
html[data-theme="dark"] :is(.btn.subtle,.btn.outline-light,.league-button.active){background:#263950!important;color:#edf0f8!important;border-color:#405673!important}
html[data-theme="dark"] .league-toggle{background:#152238;border-color:#34455d}html[data-theme="dark"] .league-button{color:#b1bfd3}
html[data-theme="dark"] .hero .btn.white,html[data-theme="dark"] .btn.primary{background:#d0ae6d!important;color:#11243d!important;box-shadow:none}
html[data-theme="dark"] :is(.modal,.modal-note,.notice,.competition-hub-note,.live-notice,.status-banner,.signal-bar,.source-row,.live-manual-pool,.source-pill,.players-grid,.draft-pool,.draft-options,.draft-picks,.live-pool){border-color:#34455d!important}
html[data-theme="dark"] :is(.notice,.competition-hub-note,.live-notice,.signal-bar,.live-manual-pool,.status-banner,.modal-note){background:#1b2a40!important;color:#cad5e4!important}
html[data-theme="dark"] :is(.player-card-top,.roster-list,.watch-player,.home-games,.player-card-footer,.draft-mode,.board-picks,.live-room-info,.live-room-controls,.live-league-item,.live-room-roster,.live-pool-player,.score-line,.game-top,.game-footer){border-color:#34455d!important}
html[data-theme="dark"] .competition-hub-icon{background:#243955;color:#e8c688}
html[data-theme="dark"] :is(.source-row,.card-head,.draft-board,.directory-control,.live-login,.live-columns,.source-links){color:var(--ink)}
html[data-theme="dark"] :is(.navlink,.textbtn,.eyebrow,.competition-arrow){color:#d5b87e}
html[data-theme="dark"] .live-turn-alert{background:#173526;color:#bcf0cb;border-color:#315e48}
html[data-theme="dark"] .live-flash{background:#1e3940;color:#bce9d8}
