:root{color-scheme:dark;--bg:#070d1c;--bg-soft:#0b1428;--panel:#111b33;--panel-2:#172440;--panel-3:#20335d;--text:#f4f7ff;--text-strong:#ffffff;--muted:#c5d0ea;--muted-strong:#dce5f8;--line:#314263;--line-strong:#4c638e;--accent:#8cf2bf;--accent-dark:#0f9f6e;--danger:#fca5a5;--danger-dark:#7f1d1d;--success:#86efac;--surface-light:#eef4ff;--surface-light-border:#b9c7df;--surface-light-text:#132036;--surface-light-muted:#405372;--shadow:0 1rem 3rem rgba(0,0,0,0.28);}*{box-sizing:border-box;}html{background:var(--bg);}body{margin:0;font-family:Arial,Helvetica,sans-serif;background:radial-gradient(circle at top left,rgba(45,68,122,0.85) 0,rgba(11,16,32,0.55) 35rem),linear-gradient(180deg,#060b18 0%,#091225 45%,#050913 100%);color:var(--text);line-height:1.5;min-height:100vh;}input,select,button{font:inherit;}a{color:var(--accent);}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--accent);outline-offset:3px;}.site-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem clamp(1rem,4vw,3rem);border-bottom:1px solid var(--line);background:rgba(7,13,28,0.96);}.brand{color:var(--text-strong);font-weight:800;text-decoration:none;}.site-header nav{display:flex;flex-wrap:wrap;gap:0.9rem;}.site-header nav a{color:var(--muted-strong);text-decoration:none;}.site-header nav a:hover,.site-header nav a:focus{color:var(--text-strong);}.container{width:min(1180px,calc(100% - 2rem));margin:0 auto;padding:2rem 0 4rem;}.hero,.page-title{padding:clamp(1.25rem,4vw,2.5rem) 0;}.hero h1,.page-title h1{margin:0.2rem 0 0.6rem;color:var(--text-strong);font-size:clamp(2.1rem,6vw,4.8rem);line-height:1;letter-spacing:-0.045em;}.hero p,.page-title p{color:var(--muted-strong);font-size:1.04rem;}.page-title{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;}.eyebrow{margin:0 0 0.5rem;color:var(--accent);font-size:0.82rem;font-weight:800;letter-spacing:0.1em;text-transform:uppercase;}.grid{display:grid;gap:1rem;margin:1rem 0;}.grid.two{grid-template-columns:repeat(2,minmax(0,1fr));}.grid.three{grid-template-columns:repeat(3,minmax(0,1fr));}.card,.stat,.flash{border:1px solid var(--line);border-radius:1rem;background:linear-gradient(180deg,rgba(17,27,51,0.98),rgba(23,36,64,0.98));box-shadow:var(--shadow);}.card{padding:1.2rem;}.card h1,.card h2,.card h3{margin-top:0;color:var(--text-strong);}.card p,.card li,.card td{color:var(--text);}.narrow{max-width:34rem;margin-inline:auto;}.stack{display:grid;gap:1rem;}label{display:grid;gap:0.4rem;color:var(--muted-strong);font-weight:700;}input,select{width:100%;border:1px solid var(--line-strong);border-radius:0.7rem;padding:0.75rem 0.85rem;background:#0d172c;color:var(--text-strong);}input::placeholder{color:#9caad0;}.button,button,input[type="submit"]{display:inline-flex;align-items:center;justify-content:center;min-height:2.65rem;border:1px solid rgba(255,255,255,0.12);border-radius:999px;padding:0.7rem 1rem;background:var(--accent);color:#07120d;font-weight:800;text-decoration:none;cursor:pointer;}.button:hover,button:hover,input[type="submit"]:hover{filter:brightness(1.06);}.button.secondary{background:#dceafe;color:#10203f;}.button.ghost{border:1px solid var(--line-strong);background:#0d172c;color:var(--text-strong);}.button.danger{background:var(--danger);border-color:var(--danger);color:#230707;}.tabs{display:flex;gap:0.6rem;justify-content:center;margin-bottom:1rem;}.tabs a{border:1px solid var(--line-strong);border-radius:999px;padding:0.55rem 1rem;color:var(--muted-strong);text-decoration:none;}.tabs a.active{background:var(--accent);color:#07120d;font-weight:800;}.flash{margin-bottom:1rem;padding:0.85rem 1rem;color:var(--text-strong);}.flash.success{border-color:var(--success);}.flash.error{border-color:var(--danger);}.stats{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:1rem;margin:1rem 0;}.stat{padding:1rem;}.stat strong{display:block;color:var(--text-strong);font-size:1.7rem;}.stat span,.muted{color:var(--muted-strong);}.actions{display:flex;flex-wrap:wrap;gap:0.8rem;}.actions form{display:flex;gap:0.5rem;align-items:center;}.table-wrap{overflow-x:auto;}table{width:100%;border-collapse:collapse;}th,td{padding:0.75rem;border-bottom:1px solid var(--line);text-align:left;}th{color:var(--muted-strong);font-size:0.85rem;}.events{margin-bottom:0;}.club-ribbon{align-items:center;display:grid;gap:1rem;grid-template-columns:minmax(240px,1fr) repeat(5,minmax(110px,150px));margin-bottom:1.3rem;}.club-ribbon h2{font-size:clamp(1.5rem,3vw,2rem);margin-bottom:0.6rem;}.club-ribbon p{color:var(--text);}.mini-stat{background:var(--surface-light);border:1px solid var(--surface-light-border);border-radius:18px;color:var(--surface-light-text);min-height:5.3rem;padding:0.9rem;text-align:center;box-shadow:0 0.75rem 1.6rem rgba(0,0,0,0.18);}.mini-stat strong{display:block;color:var(--surface-light-text);font-size:clamp(1.35rem,2.5vw,1.8rem);font-weight:900;line-height:1.1;}.mini-stat span{display:block;color:var(--surface-light-muted);font-size:0.9rem;font-weight:800;margin-top:0.35rem;}.facilities{align-items:stretch;}.facility-card{overflow:hidden;padding:0;}.facility-card img{display:block;height:auto;width:100%;border-bottom:1px solid var(--line);background:#0b1428;}.facility-body{padding:1.35rem;}.facility-body h2{font-size:clamp(1.5rem,3vw,2.05rem);margin-bottom:0.8rem;}.facility-body>p:not(.eyebrow){color:var(--muted-strong);font-size:1rem;}.facility-stats{display:grid;gap:0.75rem;list-style:none;margin:1.15rem 0 0;padding:0;}.facility-stats li{align-items:center;background:var(--surface-light);border:1px solid var(--surface-light-border);border-radius:14px;color:var(--surface-light-text);display:flex;justify-content:space-between;gap:1rem;padding:0.75rem 0.9rem;}.facility-stats li span{color:var(--surface-light-muted);font-weight:800;}.facility-stats li strong{color:var(--surface-light-text);font-weight:900;text-align:right;}.inline-form{align-items:center;display:flex;gap:0.45rem;}.inline-form input{min-width:130px;}@media (max-width:1100px){.club-ribbon{grid-template-columns:repeat(2,minmax(0,1fr));}}@media (max-width:900px){.grid.two,.grid.three,.stats{grid-template-columns:1fr;}.page-title,.site-header,.actions form{align-items:stretch;flex-direction:column;}.site-header nav{gap:0.65rem;}}@media (max-width:700px){.club-ribbon,.inline-form{align-items:stretch;grid-template-columns:1fr;flex-direction:column;}.mini-stat{min-height:auto;text-align:left;}.facility-stats li{align-items:flex-start;flex-direction:column;gap:0.25rem;}.facility-stats li strong{text-align:left;}}.club-ribbon.card .mini-stat,.card .mini-stat,.mini-stat{background:#f7faff !important;border-color:#9db1d1 !important;color:#071426 !important;opacity:1 !important;}.club-ribbon.card .mini-stat strong,.card .mini-stat strong,.mini-stat strong{color:#071426 !important;opacity:1 !important;text-shadow:none !important;}.club-ribbon.card .mini-stat span,.card .mini-stat span,.mini-stat span{color:#1e3358 !important;opacity:1 !important;text-shadow:none !important;}.card .facility-stats li,.facility-stats li{background:#f7faff !important;border-color:#9db1d1 !important;color:#071426 !important;opacity:1 !important;}.card .facility-stats li span,.card .facility-stats li strong,.facility-stats li span,.facility-stats li strong,.facility-stat-label,.facility-stat-value{color:#071426 !important;opacity:1 !important;text-shadow:none !important;}.card .facility-stats li span,.facility-stat-label{color:#1e3358 !important;font-weight:900 !important;}.card .facility-stats li strong,.facility-stat-value{color:#071426 !important;font-weight:950 !important;}.section-heading{align-items:flex-start;display:flex;justify-content:space-between;gap:1rem;margin-bottom:1rem;}.next-fixture{background:#f7faff;border:1px solid #9db1d1;border-radius:1rem;color:#071426;min-width:min(100%,320px);padding:0.9rem 1rem;}.next-fixture span{color:#1e3358;display:block;font-size:0.8rem;font-weight:900;letter-spacing:0.08em;text-transform:uppercase;}.next-fixture strong{color:#071426;display:block;font-size:1.05rem;margin-top:0.25rem;}.league-table .user-team td{background:rgba(140,242,191,0.14);color:var(--text-strong);font-weight:800;}.season-panel h3{margin-top:1.2rem;}@media (max-width:800px){.section-heading{display:grid;}}.small-code{display:block;overflow-wrap:anywhere;background:#101a32;color:#eaf1ff;border:1px solid rgba(255,255,255,0.16);border-radius:12px;padding:12px 14px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;}.inline-form{display:flex;flex-wrap:wrap;gap:14px;align-items:end;}.inline-form label{min-width:180px;}.button.compact{padding:8px 14px;font-size:0.95rem;}.player-link{color:#9af5c7;font-weight:900;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:3px;}.player-link:focus,.player-link:hover{color:#ffffff;}.player-profile .compact-stats{margin-top:1rem;}.attribute-grid{align-items:start;}.attribute-card h2{margin-top:0;}.attribute-list{display:grid;gap:0.65rem;list-style:none;margin:0;padding:0;}.attribute-row{align-items:center;background:#f7faff;border:1px solid #9db1d1;border-radius:0.9rem;color:#071426;display:flex;justify-content:space-between;gap:1rem;padding:0.75rem 0.9rem;}.attribute-row span,.attribute-row strong{color:#071426;opacity:1;}.attribute-row span{color:#1e3358;font-weight:850;}.attribute-row strong{font-weight:950;}.attribute-row.is-hidden{background:#101a32;border-color:rgba(255,255,255,0.22);}.attribute-row.is-hidden span,.attribute-row.is-hidden strong{color:#f1f6ff;}.upgrade-status{background:#10213f;border:1px solid rgba(154,245,199,0.38);border-radius:1rem;color:#f1f6ff;display:grid;gap:0.35rem;margin:1rem 0;padding:0.9rem 1rem;}.upgrade-status strong,.upgrade-status span{color:#f1f6ff;}.upgrade-status span:last-child{color:#9af5c7;font-weight:800;}.action-group{align-items:center;background:rgba(255,255,255,0.05);border:1px solid rgba(255,255,255,0.14);border-radius:1rem;display:flex;flex-wrap:wrap;gap:0.8rem;padding:0.9rem 1rem;}.action-group p{margin:0;min-width:min(100%,260px);}.club-ribbon.card .mini-stat,.card .mini-stat,.mini-stat,.card .facility-stats li,.facility-stats li,.attribute-row,.finance-row,.status-row{background:#0f1b33 !important;border:2px solid #9af5c7 !important;color:#ffffff !important;opacity:1 !important;box-shadow:0 0.8rem 1.8rem rgba(0,0,0,0.35) !important;}.club-ribbon.card .mini-stat *,.card .mini-stat *,.mini-stat *,.card .facility-stats li *,.facility-stats li *,.attribute-row *,.finance-row *,.status-row *{color:#ffffff !important;opacity:1 !important;text-shadow:none !important;}.club-ribbon.card .mini-stat strong,.card .mini-stat strong,.mini-stat strong,.card .facility-stats li strong,.facility-stats li strong,.attribute-row strong,.finance-row strong,.status-row strong{color:#9af5c7 !important;font-weight:950 !important;}.club-ribbon.card .mini-stat span,.card .mini-stat span,.mini-stat span,.card .facility-stats li span,.facility-stats li span,.attribute-row span,.finance-row span,.status-row span{color:#f2f7ff !important;font-weight:850 !important;}.finance-list,.status-list{list-style:none;display:grid;gap:.7rem;padding:0;margin:1rem 0;}.finance-row,.status-row{display:flex;justify-content:space-between;gap:1rem;border-radius:14px;padding:.75rem .9rem;}.nav-actions{display:flex;flex-wrap:wrap;gap:.7rem;margin:1rem 0;}.notice-warning{background:#2d2308;border:1px solid #f5c451;color:#fff7d6;border-radius:1rem;padding:1rem;}:root{--dashboard-light-bg:#f8fafc;--dashboard-light-border:#cbd5e1;--dashboard-light-text:#000000;--dashboard-light-muted:#111111;}.club-ribbon.card .mini-stat,.card .mini-stat,.mini-stat,.card .facility-stats li,.facility-stats li{background:var(--dashboard-light-bg) !important;border:2px solid var(--dashboard-light-border) !important;color:var(--dashboard-light-text) !important;opacity:1 !important;text-shadow:none !important;box-shadow:0 0.75rem 1.6rem rgba(0,0,0,0.18) !important;}.club-ribbon.card .mini-stat *,.card .mini-stat *,.mini-stat *,.card .facility-stats li *,.facility-stats li *{color:var(--dashboard-light-text) !important;opacity:1 !important;text-shadow:none !important;}.club-ribbon.card .mini-stat strong,.card .mini-stat strong,.mini-stat strong,.card .facility-stats li strong,.facility-stats li strong,.facility-stat-value{color:#000000 !important;font-weight:950 !important;}.club-ribbon.card .mini-stat span,.card .mini-stat span,.mini-stat span,.card .facility-stats li span,.facility-stats li span,.facility-stat-label{color:#111111 !important;font-weight:900 !important;}.attribute-row:not(.is-hidden){background:var(--dashboard-light-bg) !important;border:2px solid var(--dashboard-light-border) !important;color:#000000 !important;}.attribute-row:not(.is-hidden) *{color:#000000 !important;opacity:1 !important;text-shadow:none !important;}.attribute-row.is-hidden,.attribute-row.is-hidden *{color:#ffffff !important;}.upgrade-status{background:#0f1b33 !important;border:2px solid #8cf2bf !important;color:#ffffff !important;line-height:1.55 !important;}.upgrade-status strong,.upgrade-status span{display:block !important;color:#ffffff !important;}.upgrade-status span:last-child{color:#8cf2bf !important;}.club-ribbon .mini-stat,.club-ribbon .mini-stat strong,.club-ribbon .mini-stat span,.facility-stats li,.facility-stats li span,.facility-stats li strong,.facility-stat-label,.facility-stat-value{color:#000000 !important;-webkit-text-fill-color:#000000 !important;opacity:1 !important;text-shadow:none !important;}.club-ribbon .mini-stat,.facility-stats li{background:#ffffff !important;border-color:#111827 !important;}.inline-form{display:inline;margin:0;}.button.danger{border-color:#fca5a5;background:#fff1f2;color:#7f1d1d;-webkit-text-fill-color:#7f1d1d;}html body .club-ribbon.card .mini-stat,html body .club-ribbon.card .mini-stat *,html body .facility-stats li,html body .facility-stats li *,html body .facility-stat-label,html body .facility-stat-value{color:#000000 !important;-webkit-text-fill-color:#000000 !important;opacity:1 !important;text-shadow:none !important;filter:none !important;}html body .club-ribbon.card .mini-stat,html body .facility-stats li{background:#ffffff !important;border:2px solid #111827 !important;}html body .club-ribbon.card .mini-stat strong,html body .facility-stats li strong,html body .facility-stat-value{font-weight:950 !important;}html body .club-ribbon.card .mini-stat span,html body .facility-stats li span,html body .facility-stat-label{font-weight:900 !important;}.finance-summary-card,.squad-card{margin:1rem 0;}.finance-summary-grid{display:grid;gap:0.8rem;grid-template-columns:repeat(5,minmax(0,1fr));}.finance-summary-item,.status-pill{background:#ffffff !important;border:2px solid #111827 !important;border-radius:1rem;color:#000000 !important;-webkit-text-fill-color:#000000 !important;opacity:1 !important;text-shadow:none !important;}.finance-summary-item{min-height:5.8rem;padding:0.9rem 1rem;}.finance-summary-item span,.finance-summary-item strong,.status-pill{color:#000000 !important;-webkit-text-fill-color:#000000 !important;opacity:1 !important;text-shadow:none !important;}.finance-summary-item span{display:block;font-size:0.82rem;font-weight:900;letter-spacing:0.04em;margin-bottom:0.35rem;text-transform:uppercase;}.finance-summary-item strong{display:block;font-size:clamp(1.35rem,2.6vw,1.9rem);font-weight:950;line-height:1.1;}.finance-summary-item.is-tight{border-color:#b91c1c !important;background:#fff1f2 !important;}.status-pill{display:inline-flex;align-items:center;justify-content:center;min-width:2.8rem;padding:0.25rem 0.45rem;font-weight:900;}.squad-table th,.squad-table td{white-space:nowrap;}.squad-table td:first-child{min-width:13rem;}@media (max-width:1100px){.finance-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}@media (max-width:650px){.finance-summary-grid{grid-template-columns:1fr;}}.sort-controls{align-items:center;display:flex;flex-wrap:wrap;gap:0.45rem;margin:0.9rem 0 1rem;}.sort-controls span{color:var(--muted-strong);font-size:0.85rem;font-weight:900;letter-spacing:0.04em;text-transform:uppercase;}.sort-link{border:1px solid var(--line-strong);border-radius:999px;color:var(--text-strong);display:inline-flex;font-size:0.88rem;font-weight:800;padding:0.45rem 0.7rem;text-decoration:none;}.sort-link:hover,.sort-link.active{background:var(--accent);border-color:var(--accent);color:#07120d;}.club-ribbon{align-items:stretch;grid-template-columns:minmax(240px,1fr) repeat(5,minmax(130px,1fr));}.club-ribbon .mini-stat{align-items:center;display:flex;flex-direction:column;justify-content:center;min-height:6.4rem;height:6.4rem;padding:0.75rem 0.9rem;}.club-ribbon .mini-stat span{line-height:1.15;max-width:8.5rem;}.check-row{align-items:center;display:flex;gap:0.55rem;}.check-row input[type="checkbox"]{width:auto;}