:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--ranking-green:#12c85b;--ranking-purple:#5a28d9;--accent-gold:#c8942b;--bg:#f8fafc;--panel:#fff;--panel-strong:#f3f5f8;--text:#111;--muted:#6b7280;--line:#d9dee7;--accent:var(--ranking-purple);--accent-soft:#12c85b1f;--gold:var(--accent-gold);--red:#8c2730;--shadow:0 14px 30px #1118270f}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--ranking-green:#12c85b;--ranking-purple:#7a5cff;--accent-gold:#d8a83c;--bg:#000;--panel:#101214;--panel-strong:#1b1f24;--text:#f7f7f7;--muted:#b1b6be;--line:#2a3038;--accent:var(--ranking-green);--accent-soft:#12c85b29;--gold:var(--accent-gold);--red:#ff8b92;--shadow:0 14px 30px #00000073}*{box-sizing:border-box}html,body,#__next{min-height:100%;margin:0}body{background:var(--bg);color:var(--text);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}a{color:inherit;text-decoration:none}.app-shell{min-height:100vh}.topbar{z-index:10;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:color-mix(in srgb, var(--bg) 90%, transparent);border-bottom:1px solid var(--line);position:sticky;top:0}.topbar__inner,.page{width:min(1180px,100vw - 2rem);margin:0 auto}.topbar__inner{justify-content:space-between;align-items:center;gap:1rem;min-height:4.5rem;padding:.6rem 0;display:flex}.brand{align-items:center;gap:.75rem;min-width:0;display:inline-flex}.brand__mark{object-fit:contain;border-radius:.7rem;flex:none;width:3.3rem;height:3.3rem;display:block}.topbar__actions{justify-content:flex-end;align-items:center;gap:.9rem;display:flex}.topbar__copy{text-align:right;max-width:42rem;color:var(--muted);margin:0;font-size:.95rem}.theme-toggle{border:1px solid var(--line);background:var(--panel);min-width:5.7rem;min-height:2.4rem;color:var(--text);cursor:pointer;font:inherit;border-radius:999px;justify-content:center;align-items:center;gap:.45rem;font-weight:700;display:inline-flex}.page{padding:2rem 0 4rem}.hero,.page-header,.history-section,.league-card,.admin-card{background:var(--panel);border:1px solid var(--line);box-shadow:var(--shadow)}.hero,.page-header{border-radius:1.5rem;margin-bottom:1.5rem;padding:1.35rem}.hero__brand-lockup{grid-template-columns:minmax(14rem,24rem) minmax(0,1fr);align-items:center;gap:1.5rem;display:grid}.hero__brand-image{border-radius:.75rem;width:100%;height:auto;margin:0;display:block}.hero__text{min-width:0}.hero__cta{color:var(--text);margin:.65rem 0 0;font-size:1.15rem;font-weight:800}.eyebrow{color:var(--gold);letter-spacing:.16em;text-transform:uppercase;margin:0 0 .35rem;font-size:.82rem;font-weight:700}h1,h2,h3,p{margin-top:0}h1{letter-spacing:0;margin-bottom:.6rem;font-size:clamp(2rem,4vw,3.6rem);line-height:.95}h2{margin-bottom:.2rem;font-size:1.3rem}.hero__copy,.page-header .hero__copy{max-width:48rem;color:var(--muted);margin-bottom:0;line-height:1.6}.active-board-grid,.postseason-board-grid,.preseason-board-grid,.offseason-board-grid,.board-grid,.admin-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem;display:grid}.active-board-grid{grid-template-columns:repeat(var(--active-league-count,3), minmax(0, 1fr));align-items:start}.postseason-board-grid{grid-template-columns:repeat(var(--postseason-league-count,2), minmax(0, 1fr));align-items:start}.preseason-board-grid{grid-template-columns:repeat(var(--preseason-league-count,2), minmax(0, 1fr));align-items:start}.offseason-board-grid{grid-template-columns:repeat(var(--offseason-league-count,2), minmax(0, 1fr));align-items:start}.postseason-leagues,.preseason-leagues,.inactive-leagues{margin-top:1.5rem}.section-heading{margin-bottom:.8rem}.section-heading h2{margin-bottom:0}.inactive-league-grid{grid-template-columns:repeat(auto-fit,minmax(13rem,1fr));gap:.85rem;display:grid}.inactive-league-tile{border:1px solid var(--line);background:var(--panel);min-height:6.5rem;box-shadow:var(--shadow);border-radius:1rem;flex-direction:column;justify-content:space-between;padding:1rem;display:flex}.inactive-league-tile:hover{border-color:var(--accent)}.inactive-league-tile__name{font-size:1.6rem;font-weight:800}.inactive-league-tile__meta{color:var(--muted);font-size:.92rem}.league-card,.admin-card,.history-section{border-radius:1.5rem;padding:1.25rem}.league-card__header,.admin-card__heading,.history-section__header,.page-header__title{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.league-card__heading{flex:auto;min-width:0}.league-card__title-row{flex-wrap:nowrap;align-items:center;gap:.65rem;min-width:0;display:flex}.league-card__title{letter-spacing:0;white-space:nowrap;font-size:1.55rem;font-weight:800;display:inline-block}.league-card__toggle{border:1px solid var(--line);background:var(--panel);width:2rem;height:2rem;color:var(--text);cursor:pointer;border-radius:999px;flex:none;justify-content:center;align-items:center;display:inline-flex}.league-card__toggle svg{transition:transform .14s}.league-card__toggle[aria-expanded=false] svg{transform:rotate(-90deg)}.league-card__title:hover,.history-row__name:hover,.back-link:hover,.team-tile__name:hover{color:var(--accent)}.league-card__subtitle,.back-link,.history-section__header p,.admin-card__heading p,.admin-panel__message{color:var(--muted)}.league-card__subtitle{margin:.45rem 0 0}.league-card__dot{margin:0 .45rem}.league-card__lock{border:1px solid var(--line);background:var(--panel-strong);color:var(--text);border-radius:.8rem;margin:1rem 0 0;padding:.75rem .9rem;font-weight:700}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.team-list,.history-list,.season-stack,.archive-stack{margin:0;padding:0;list-style:none}.team-list{margin-top:1rem}.team-tile,.history-row{border:1px solid var(--line);background:var(--panel);border-radius:1rem;align-items:center;gap:.8rem;display:grid}.team-tile{grid-template-columns:auto auto 2.6rem 1fr;margin-bottom:.65rem;padding:.85rem .9rem}.team-tile__grab{width:2rem;height:2rem;color:var(--muted);cursor:grab;justify-content:center;align-items:center;display:inline-flex}.team-tile__grab[aria-label$=locked]{cursor:default;opacity:.45}.team-tile__rank,.history-row__rank{background:var(--panel-strong);width:2rem;height:2rem;color:var(--accent);border-radius:999px;justify-content:center;align-items:center;font-weight:700;display:inline-flex}.team-tile__rank{background:var(--rank-color,var(--ranking-green));color:#fff}.team-tile__body{min-width:0}.team-tile__logo{object-fit:contain;width:2.4rem;height:2.4rem}.team-tile__name,.history-row__name{font-weight:700}.team-tile__meta,.history-row__team-history,.history-row__meta{color:var(--muted);flex-wrap:wrap;gap:.6rem;font-size:.92rem;display:flex}.history-row__meta{align-items:center}.trend-badge{white-space:nowrap;align-items:center;gap:.25rem;font-weight:700;display:inline-flex}.trend-badge__label{color:var(--muted);font-weight:600}.trend-badge--up{color:#147d4f}.trend-badge--down{color:#b4232d}.trend-badge--flat{color:var(--muted)}.league-card__footer{min-height:1.5rem;color:var(--muted);justify-content:space-between;gap:1rem;margin-top:1rem;font-size:.92rem;display:flex}.phase-badge{white-space:nowrap;border-radius:999px;flex:none;justify-content:center;align-items:center;min-width:7rem;padding:.45rem .8rem;font-size:.82rem;font-weight:700;display:inline-flex}.phase-regular-season{background:var(--accent-soft);color:var(--accent)}.phase-preseason{color:var(--muted);background:#60646c24}.phase-postseason,.phase-playoffs{color:var(--gold);background:#b17a112e}.phase-offseason{color:var(--red);background:#7c2b241a}.history-section{margin-bottom:1rem}.history-section__meta{align-items:center;gap:.65rem;display:flex}.history-row{grid-template-columns:auto 1.2fr .6fr 1.8fr;margin-top:.7rem;padding:.85rem 1rem}.history-row--team{grid-template-columns:auto 1.7fr .9fr auto}.history-row__team-history{flex-direction:column;gap:.1rem}.admin-panel__controls,.admin-card__buttons{flex-wrap:wrap;gap:.75rem;display:flex}.admin-card__stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem;margin:1rem 0 1.15rem;display:grid}.admin-card__stats dt{color:var(--muted);text-transform:uppercase;letter-spacing:.08em;margin-bottom:.2rem;font-size:.82rem}.admin-card__stats dd{margin:0;font-weight:700}.admin-panel__message{margin:1rem 0 1.25rem}.button{background:var(--accent);color:#fff;cursor:pointer;font:inherit;border:0;border-radius:999px;padding:.8rem 1.15rem;font-weight:700}.button:disabled{cursor:progress;opacity:.7}.button--secondary{background:var(--panel-strong);color:var(--text)}.back-link{margin-bottom:1rem;font-weight:700;display:inline-block}@media (max-width:920px){.active-board-grid,.postseason-board-grid,.preseason-board-grid,.offseason-board-grid,.board-grid,.admin-grid{grid-template-columns:1fr}.topbar__inner{align-items:center}.topbar__copy{display:none}.history-row,.history-row--team{grid-template-columns:auto 1fr}}@media (max-width:640px){.page{width:min(100vw - 1rem,100%)}.hero,.page-header,.league-card,.history-section,.admin-card{border-radius:1rem;padding:1rem}.hero__brand-lockup{grid-template-columns:1fr;gap:1rem}.hero__brand-image{max-width:22rem;margin:0 auto}.league-card__header,.admin-card__heading,.history-section__header,.page-header__title{flex-direction:column}.team-tile{grid-template-columns:auto auto 2.2rem 1fr}.team-tile__logo{width:2.1rem;height:2.1rem}.admin-card__stats{grid-template-columns:1fr}}
