:root{font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;color:#e6eefc;background:rgba(255,255,255,.07)}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #e5a529}header{background:#102c56;color:white;padding:17px max(22px,calc((100vw - 1180px)/2));display:flex;justify-content:space-between;align-items:center;gap:15px}.brand{display:flex;gap:12px;align-items:center}.crest{width:45px;height:45px;display:grid;place-items:center;background:rgba(255,255,255,.07);border-radius:12px;color:#e6eefc;font-weight:900}.brand strong{display:block;font-size:21px}.brand small{color:#c9d9ee}nav{display:flex;gap:7px;flex-wrap:wrap}nav button{border:0;border-radius:9px;padding:10px 13px;color:#dbe8fa;background:transparent}nav button.active,nav button:hover{background:#e9b23b;color:#e6eefc}main{max-width:1180px;margin:25px auto;padding:0 18px}.hero{background:linear-gradient(125deg,#102c56,#17558d);color:white;border-radius:18px;padding:36px;display:flex;justify-content:space-between;align-items:center;gap:15px}.hero h1{font-size:clamp(28px,4vw,48px);margin:0 0 10px}.hero p{color:#d7e5f6;margin:0}.hero-mark{font-size:70px;font-weight:900;opacity:.18}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin:18px 0}.panel{background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.14);border-radius:15px;padding:20px;box-shadow:0 5px 18px #172d4b09}.panel h2{margin:0 0 15px;font-size:19px}.kpi{font-size:32px;font-weight:850;color:#e6eefc}.muted{color:#e6eefc;font-size:13px}.row{display:flex;justify-content:space-between;align-items:center;gap:12px}.match,.player{padding:15px 0;border-bottom:1px solid rgba(255,255,255,.14)}.match:last-child,.player:last-child{border:0}.score{font-size:24px;font-weight:900}.tag{background:#e9f1fc;border-radius:6px;padding:4px 7px;font-size:11px;color:#e6eefc;font-weight:750}.actions{display:flex;gap:8px;flex-wrap:wrap}.primary,.secondary{border:0;border-radius:9px;padding:10px 14px;font-weight:700}.primary{background:#e9b23b;color:#e6eefc}.secondary{background:rgba(255,255,255,.07);color:#e6eefc}table{width:100%;border-collapse:collapse}th,td{padding:13px 10px;border-bottom:1px solid rgba(255,255,255,.14);text-align:left}th{font-size:12px;color:#e6eefc}td{font-size:14px}.scroll{overflow-x:auto}.form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.form label{display:grid;gap:5px;font-size:13px;font-weight:650}.form input,.form select{border:1px solid #ccd6e5;border-radius:9px;padding:10px;width:100%;background:rgba(255,255,255,.07)}.form .wide{grid-column:1/-1}.notice{padding:12px;border-left:3px solid #e9b23b;background:#fff8e7;color:#e6eefc;border-radius:6px}.empty{padding:20px;color:#e6eefc;text-align:center}footer{text-align:center;color:#e6eefc;padding:25px;font-size:12px}@media(max-width:800px){header{display:block;padding:14px 18px}nav{margin-top:15px;overflow:auto;flex-wrap:nowrap}nav button{white-space:nowrap}.grid{grid-template-columns:1fr}.hero{padding:25px}.hero-mark{display:none}.form{grid-template-columns:1fr}}
.sabah-highlight{background:rgba(59,130,246,.22)}.sabah-highlight td{font-weight:750}.panel .scroll{margin-top:14px}.panel .scroll table{min-width:600px}

/* LEL-inspired Sabah FC mobile-first interface */
:root{--navy:#071a36;--blue:#123c7a;--red:#df293b;--surface:#fff;--line:#e6ebf3}body{background:rgba(255,255,255,.07);color:#e6eefc}header{background:linear-gradient(120deg,#081c3d,#133e7b);box-shadow:0 8px 28px #071b3b24;position:sticky;top:0;z-index:20}.brand .crest{background:#e52d44;color:white;border-radius:10px;box-shadow:0 3px 10px #0002}.brand strong{letter-spacing:.07em}nav button{font-weight:700;font-size:13px}nav button.active,nav button:hover{background:#df293b;color:#fff}main{max-width:1100px}.hero{background:linear-gradient(115deg,#071a36 10%,#15417f 70%,#df293b 160%);border-radius:20px;min-height:190px;box-shadow:0 14px 35px #071b3b1c;position:relative;overflow:hidden}.hero:after{content:'';position:absolute;right:-40px;top:-75px;width:240px;height:240px;border:32px solid rgba(255,255,255,.14);border-radius:50%}.hero h1{text-transform:uppercase;letter-spacing:.08em}.panel{border:1px solid var(--line);box-shadow:0 6px 20px #122b4d0a;border-radius:17px}.panel h2{letter-spacing:.01em}.kpi{color:#e6eefc}.match{border:1px solid rgba(255,255,255,.14);border-left:4px solid #df293b;border-radius:12px;padding:15px;margin:11px 0;background:linear-gradient(90deg,#f8faff,rgba(255,255,255,.07))}.match:last-child{border-bottom:1px solid rgba(255,255,255,.14)}.match .score{color:#e6eefc}.tag{background:rgba(255,255,255,.07);color:#e6eefc;border:1px solid rgba(255,255,255,.14)}.primary{background:#df293b;color:white}.secondary{background:rgba(255,255,255,.07);color:#e6eefc}.secondary.active{background:#123c7a;color:#fff}button{transition:background .2s ease,transform .2s ease}button:hover{transform:translateY(-1px)}.sabah-highlight{background:rgba(59,130,246,.22)!important}.sabah-highlight td:first-child{box-shadow:inset 4px 0 #df293b}footer{padding-bottom:32px}@media(max-width:800px){header{padding:12px 14px 0;position:sticky;top:0}.brand .crest{width:38px;height:38px}.brand strong{font-size:18px}.brand small{font-size:10px}nav{position:fixed;bottom:0;left:0;right:0;z-index:30;margin:0;padding:7px 5px max(8px,env(safe-area-inset-bottom));background:rgba(255,255,255,.07);border-top:1px solid rgba(255,255,255,.14);box-shadow:0 -7px 24px #0a25421a;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;overflow:visible}nav button{white-space:normal;padding:10px 1px;font-size:10px;border-radius:9px;color:#e6eefc;min-width:0}nav button:nth-child(n+6){display:none}nav button.active{background:#eaf1fc;color:#d7263d}main{padding:0 12px;margin:16px auto 100px}.hero{min-height:145px;padding:25px 20px}.hero h1{font-size:32px}.panel{padding:16px}.grid{gap:10px}.match{padding:12px}.match strong{font-size:13px}footer{padding-bottom:105px}.form{grid-template-columns:1fr}}
.competition-tabs{display:flex;gap:8px;overflow-x:auto;padding:6px 0 16px;margin:4px 0 10px;scrollbar-width:thin}.competition-tab{border:1px solid rgba(255,255,255,.14);background:#f2f6fc;color:#e6eefc;border-radius:11px;padding:12px 15px;white-space:nowrap;font-weight:750;font-size:13px}.competition-tab.active{background:#113e7c;border-color:#e6eefc;color:white;box-shadow:0 5px 14px #123d7a24}@media(max-width:800px){.competition-tabs{margin-left:-4px;margin-right:-4px}.competition-tab{font-size:12px;padding:11px 12px}}

/* Match Centre V2 — professional mobile-first layout */
.match-centre{background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.14);border-radius:18px;padding:22px;box-shadow:0 5px 24px #102d4b0b}
.match-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}
.match-heading h2{font-size:26px;letter-spacing:-.035em;margin:3px 0 0;color:#e6eefc}
.eyebrow{font-size:10px;letter-spacing:.16em;color:#d12e45;font-weight:850}
.season-label{font-size:12px;font-weight:800;color:#e6eefc;background:rgba(255,255,255,.07);padding:7px 10px;border-radius:7px}
.match-centre .competition-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;overflow:visible;padding:4px;background:rgba(255,255,255,.07);border-radius:11px;margin:0}
.match-centre .competition-tab{white-space:normal;min-width:0;border:0;border-radius:8px;background:transparent;padding:12px 5px;color:#e6eefc;font-size:12px;font-weight:800;box-shadow:none}
.match-centre .competition-tab.active{background:rgba(255,255,255,.07);color:#e6eefc;box-shadow:0 2px 9px #142e4c12}
.competition-caption{font-size:12px;color:#e6eefc;margin:12px 2px 20px}
.match-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 14px}
.match-filters{display:flex;align-items:center;gap:16px}
.match-filters .secondary{border:0;border-radius:0;background:transparent;color:#e6eefc;font-size:13px;font-weight:750;padding:8px 0;position:relative}
.match-filters .secondary.active{color:#e6eefc;background:transparent}
.match-filters .secondary.active:after{content:'';position:absolute;bottom:0;left:0;right:0;height:2px;background:#e13047;border-radius:2px}
.match-count{font-size:11px;color:#e6eefc;white-space:nowrap}
.fixture-list{display:grid;gap:10px}
.fixture-card{background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.14);border-radius:12px;padding:15px 17px;box-shadow:0 2px 8px #101c3210}
.fixture-meta{display:flex;justify-content:space-between;align-items:center;gap:12px;color:#e6eefc;font-size:10px;letter-spacing:.045em;font-weight:800}
.meta-dot{padding:0 3px;color:#e6eefc}
.fixture-status{font-size:9px;font-weight:850;letter-spacing:.07em;padding:5px 7px;border-radius:5px;white-space:nowrap}
.fixture-status.is-ft{background:rgba(255,255,255,.07);color:#e6eefc}
.fixture-status.is-upcoming{background:#eaf1fd;color:#e6eefc}
.fixture-status.is-live{background:#ffe7eb;color:#c81936}
.fixture-teams{display:grid;grid-template-columns:minmax(0,1fr) 90px minmax(0,1fr);gap:8px;align-items:center;padding:15px 0 12px}
.fixture-team{display:flex;align-items:center;gap:8px;min-width:0}
.fixture-team strong{font-size:13px;line-height:1.3;color:#e6eefc;font-weight:780;overflow-wrap:anywhere}
.fixture-away{flex-direction:row-reverse;text-align:right}
.team-emblem{flex:none;width:28px;height:28px;display:grid;place-items:center;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.14);color:#e6eefc;font-size:9px;font-weight:900;border-radius:7px}
.fixture-centre{display:flex;flex-direction:column;align-items:center;gap:5px}
.fixture-score{font-size:23px;font-weight:900;color:#e6eefc;letter-spacing:-.04em;white-space:nowrap}
.fixture-kickoff{font-size:9px;color:#e6eefc;font-weight:750;white-space:nowrap}
.fixture-venue{border-top:1px solid rgba(255,255,255,.14);padding-top:10px;color:#e6eefc;font-size:11px}
.venue-mark{font-size:15px;color:#b0b8c4}
.match-disclaimer{font-size:11px;color:#e6eefc;margin:18px 2px 0;line-height:1.6}
@media(max-width:800px){.match-centre{padding:15px 12px;border-radius:12px}.match-heading h2{font-size:24px}.match-centre .competition-tabs{margin:0}.match-centre .competition-tab{font-size:11px;padding:11px 3px}.fixture-card{padding:13px 12px}.fixture-teams{grid-template-columns:minmax(0,1fr) 72px minmax(0,1fr);gap:5px}.fixture-team{flex-direction:column;align-items:flex-start;gap:5px}.fixture-away{align-items:flex-end;text-align:right}.fixture-team strong{font-size:12px}.team-emblem{width:25px;height:25px}.fixture-score{font-size:22px}.match-filters{gap:13px}.match-filters .secondary{font-size:12px}.match-count{font-size:10px}}

/* Home dashboard v2 */
.home-dashboard{display:grid;gap:25px}.home-banner{background:linear-gradient(115deg,#081b39 0%,#123d7c 75%,#163d73 100%);border-radius:17px;padding:36px 30px;color:#fff;overflow:hidden;position:relative}.home-banner:after{content:'SFC';position:absolute;right:-12px;bottom:-37px;font-size:140px;font-weight:950;letter-spacing:-.08em;color:#ffffff0b;pointer-events:none}.home-banner .eyebrow{color:#ff6a7d}.home-banner h1{font-size:clamp(38px,7vw,66px);letter-spacing:-.05em;margin:9px 0 4px;line-height:1.05}.home-banner h1 span{color:#f24760}.home-banner p{color:#c7d6e8;font-size:13px}.home-banner-link{margin-top:14px;background:#e5314b;color:white;border:0;border-radius:8px;padding:11px 15px;font-size:12px;font-weight:800}.home-section{min-width:0}.home-section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:10px;margin-bottom:13px}.home-section-head h2{margin:4px 0 0;font-size:20px;letter-spacing:-.025em;color:#e6eefc}.home-link{background:transparent;border:0;color:#e6eefc;font-size:12px;font-weight:800;padding:6px 0;white-space:nowrap}.home-feature-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.home-feature{background:white;border:1px solid rgba(255,255,255,.14);border-radius:13px;padding:18px;min-width:0;box-shadow:0 3px 12px #12203a0b}.home-card-title{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:10px;color:#e6eefc;letter-spacing:.08em;font-weight:850}.home-status{background:#eaf1fd;color:#e6eefc;border-radius:5px;padding:5px 7px;font-size:9px}.home-status-ft{background:rgba(255,255,255,.07);color:#e6eefc}.home-feature-meta{text-align:center;color:#e6eefc;font-size:11px;font-weight:750;margin:20px 0 11px}.home-feature-teams{display:grid;grid-template-columns:minmax(0,1fr) 95px minmax(0,1fr);align-items:start;gap:5px}.home-feature-team{display:flex;align-items:center;flex-direction:column;gap:9px;text-align:center;min-width:0}.home-feature-team strong{font-size:12px;line-height:1.35;overflow-wrap:anywhere}.home-monogram{width:40px;height:40px;border:1px solid rgba(255,255,255,.14);border-radius:10px;display:grid;place-items:center;color:#e6eefc;background:rgba(255,255,255,.07);font-weight:900;font-size:12px}.home-feature-score{text-align:center;font-size:25px;color:#e6eefc;font-weight:900;white-space:nowrap}.home-feature-score small{display:block;color:#e6eefc;font-size:10px;font-weight:800;letter-spacing:.04em;margin-top:7px}.home-feature-bottom{margin-top:20px;padding-top:12px;border-top:1px solid rgba(255,255,255,.14);text-align:center;color:#e6eefc;font-size:11px}.home-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.home-stat{background:white;border:1px solid rgba(255,255,255,.14);border-radius:12px;padding:20px 15px}.home-stat strong{display:block;font-size:31px;color:#e6eefc;line-height:1.2}.home-stat span{font-size:10px;font-weight:800;color:#e6eefc;letter-spacing:.08em}.home-competitions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.home-competitions button{border:1px solid rgba(255,255,255,.14);background:white;border-radius:11px;padding:16px;text-align:left;color:#e6eefc;font-weight:850;font-size:13px}.home-competitions button span{display:block;color:#e6eefc;font-size:11px;font-weight:600;margin-top:5px}
@media(max-width:700px){.home-dashboard{gap:22px}.home-banner{padding:29px 21px}.home-banner:after{font-size:110px}.home-section-head h2{font-size:18px}.home-feature-grid{grid-template-columns:1fr}.home-feature{padding:15px}.home-feature-meta{margin:14px 0 10px}.home-feature-teams{grid-template-columns:minmax(0,1fr) 85px minmax(0,1fr)}.home-feature-bottom{margin-top:14px}.home-stat-grid{gap:7px}.home-stat{padding:14px 9px}.home-stat strong{font-size:25px}.home-stat span{font-size:9px}.home-competitions{grid-template-columns:1fr;gap:8px}.home-competitions button{padding:14px 15px;display:flex;justify-content:space-between;align-items:center}.home-competitions button span{margin:0}}

/* Club Home — LaLiga-inspired schedule layout, Sabah identity */
.club-home{max-width:850px;margin:auto}.club-banner{background:linear-gradient(112deg,#09265b,#164ab2);color:#fff;border-radius:15px;padding:22px 24px;display:flex;gap:16px;align-items:center}.club-banner-mark{width:58px;height:58px;display:grid;place-items:center;background:#e52c48;border-radius:12px;font-size:20px;font-weight:950;flex:none}.club-banner-eyebrow{font-size:10px;letter-spacing:.08em;opacity:.75;font-weight:800}.club-banner h1{margin:3px 0 1px;font-size:30px;line-height:1.1;letter-spacing:-.04em}.club-banner span{font-size:11px;letter-spacing:.08em;color:#c7d6f0}.club-tabs{display:flex;gap:7px;overflow-x:auto;scrollbar-width:none;padding:13px 0}.club-tabs button{white-space:nowrap;flex:1;border:1px solid rgba(255,255,255,.14);background:white;color:#e6eefc;padding:11px 14px;border-radius:9px;font-size:13px;font-weight:800}.club-tabs button.active{border-color:#e52c48;color:#e6eefc}.schedule-title{display:flex;justify-content:space-between;align-items:end;gap:10px;margin:12px 0}.schedule-title span{font-size:10px;letter-spacing:.1em;font-weight:850;color:#e52c48}.schedule-title h2{margin:4px 0;font-size:22px;color:#e6eefc}.schedule-title button{background:none;border:0;color:#e6eefc;font-size:12px;font-weight:800}.home-competition-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;padding:5px;background:rgba(255,255,255,.07);border-radius:11px}.home-competition-tabs button{border:0;background:transparent;color:#e6eefc;border-radius:8px;padding:11px 5px;font-size:12px;font-weight:800}.home-competition-tabs button.active{background:rgba(255,255,255,.07);color:#e6eefc;box-shadow:0 2px 8px #0a2e5c17}.schedule-list{margin-top:14px}.schedule-day{text-align:center;font-size:13px;font-weight:900;letter-spacing:.02em;color:#e6eefc;margin:23px 0 12px;text-transform:uppercase}.schedule-card{background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.14);border-radius:15px;padding:20px 18px 14px;box-shadow:0 5px 20px #14223c0a}.schedule-competition{text-align:center;color:#e6eefc;font-size:11px;letter-spacing:.04em;font-weight:800}.schedule-match{display:grid;grid-template-columns:minmax(0,1fr) minmax(90px,1fr) minmax(0,1fr);gap:8px;align-items:center;padding:20px 0 14px}.schedule-club{display:flex;align-items:center;flex-direction:column;gap:12px;text-align:center;min-width:0}.schedule-club strong{font-size:13px;line-height:1.25;color:#e6eefc;font-weight:850;overflow-wrap:anywhere}.schedule-crest{width:62px;height:62px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.07);border-radius:13px;display:grid;place-items:center;color:#e6eefc;font-size:17px;font-weight:950}.schedule-crest.sabah{background:#ec304b;color:#fff;border-color:#ec304b}.schedule-middle{text-align:center;display:flex;flex-direction:column;align-items:center;gap:8px}.schedule-status{font-size:11px;font-weight:850;color:#e6eefc;white-space:nowrap}.schedule-status.live{color:#d92744}.schedule-score{font-size:clamp(26px,6vw,39px);font-weight:950;line-height:1.1;letter-spacing:-.045em;color:#e6eefc;white-space:nowrap}.schedule-small{font-size:10px;color:#e6eefc;font-weight:750}.schedule-ground{border-top:1px solid rgba(255,255,255,.14);padding-top:11px;text-align:center;font-size:11px;color:#e6eefc}.schedule-empty{background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.14);border-radius:13px;text-align:center;color:#e6eefc;padding:32px 14px;margin-top:20px}
@media(max-width:700px){.club-home{margin:-16px -12px 0}.club-banner{border-radius:0;padding:19px 17px}.club-banner-mark{width:48px;height:48px;font-size:17px}.club-banner h1{font-size:25px}.club-tabs{padding:11px 12px;gap:6px;background:rgba(255,255,255,.07)}.club-tabs button{font-size:12px;padding:10px 12px;flex:0 0 auto}.schedule-title{padding:0 17px}.home-competition-tabs{margin:0 13px}.schedule-list{padding:0 13px}.schedule-day{margin:20px 0 11px;font-size:12px}.schedule-card{padding:17px 12px 13px}.schedule-match{grid-template-columns:minmax(0,1fr) 88px minmax(0,1fr);gap:4px;padding:17px 0 12px}.schedule-crest{width:52px;height:52px;font-size:14px}.schedule-club strong{font-size:12px}.schedule-score{font-size:31px}.club-home>.match-disclaimer{padding:0 16px}}

.fixture-card[data-open-match],.schedule-card[data-open-match]{cursor:pointer}.match-detail{max-width:960px;margin:auto;background:rgba(255,255,255,.07);border-radius:20px;overflow:hidden}.detail-top{display:flex;justify-content:space-between;align-items:center;padding:20px;font-size:12px;font-weight:800}.detail-back{border:0;background:rgba(255,255,255,.07);border-radius:50%;width:40px;height:40px;cursor:pointer}.detail-scoreboard{display:grid;grid-template-columns:1fr minmax(110px,180px) 1fr;align-items:center;background:linear-gradient(90deg,#092b80 50%,#c40018 50%);color:white;padding:25px 12px 46px;gap:8px}.detail-side{display:flex;align-items:center;flex-direction:column;text-align:center;gap:14px;min-width:0}.detail-side strong{font-size:clamp(13px,2.4vw,20px);overflow-wrap:anywhere}.detail-crest{width:76px;height:76px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.07);color:#e6eefc;border:3px solid rgba(255,255,255,.14);font-size:23px;font-weight:900}.detail-sabah{background:#e83249;color:#fff}.detail-result{background:white;color:#e6eefc;border-radius:22px;min-height:120px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:10px}.detail-result b{font-size:clamp(30px,6vw,52px);white-space:nowrap}.detail-result small,.detail-status{font-size:11px;color:#e6eefc;font-weight:800}.detail-summary{background:white;border-radius:24px 24px 0 0;margin-top:-24px;position:relative;padding:26px 20px;text-align:center}.detail-matchmeta{font-size:13px;color:#e6eefc;margin:9px 0}.detail-highlights{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:25px;text-align:left}.detail-highlights>div{background:rgba(255,255,255,.07);border-radius:16px;padding:15px;display:flex;flex-direction:column;gap:8px}.detail-highlights span{font-size:25px}.detail-highlights small{font-size:12px;color:#e6eefc}.detail-tabs{display:flex;gap:20px;overflow-x:auto;background:rgba(255,255,255,.07);padding:0 20px;border-bottom:1px solid rgba(255,255,255,.14)}.detail-tabs button{border:0;border-bottom:3px solid transparent;background:none;white-space:nowrap;padding:17px 0;color:#e6eefc;font-weight:750;cursor:pointer}.detail-tabs button.active{color:#e6eefc;border-bottom-color:#e6324c}.detail-content{background:white;padding:25px;min-height:220px}.detail-content h2{margin:0 0 22px}.detail-info-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.detail-info-grid>div{background:rgba(255,255,255,.07);border-radius:12px;padding:15px;display:flex;flex-direction:column;gap:8px}.detail-info-grid small{font-size:10px;color:#e6eefc;font-weight:800}.detail-info-grid strong{font-size:13px}.detail-empty{text-align:center;padding:25px;color:#e6eefc}.detail-stat-row{display:flex;justify-content:space-around}.match-detail>.match-disclaimer{padding:0 22px 22px}@media(max-width:700px){.match-detail{margin:-16px -12px 0;border-radius:0}.detail-scoreboard{grid-template-columns:1fr 110px 1fr}.detail-crest{width:62px;height:62px;font-size:18px}.detail-result{min-height:105px}.detail-result b{font-size:32px}.detail-side strong{font-size:13px}.detail-content{padding:20px 14px}.detail-tabs{padding:0 14px;gap:17px}.detail-tabs button{font-size:12px}.detail-highlights>div{padding:12px}}

/* Per-club colors: home and away, with fixed safe palette */
.match-detail .detail-scoreboard{background:linear-gradient(90deg,var(--home-primary,#123579) 0 50%,var(--away-primary,#c40018) 50% 100%)}
.match-detail .detail-home .detail-crest{background:var(--home-secondary,rgba(255,255,255,.07));border-color:var(--home-primary,#123579);color:#e6eefc}
.match-detail .detail-away .detail-crest{background:var(--away-secondary,rgba(255,255,255,.07));border-color:var(--away-primary,#c40018);color:#e6eefc}
.match-detail .detail-home .detail-crest.detail-sabah,.match-detail .detail-away .detail-crest.detail-sabah{background:#e52e49;color:white;border-color:rgba(255,255,255,.14)}
.fixture-card[data-open-match]{border-left:4px solid var(--home-primary,#123579);border-right:4px solid var(--away-primary,#c40018)}
.schedule-card[data-open-match]{border-top:4px solid var(--home-primary,#123579);border-bottom:4px solid var(--away-primary,#c40018)}
.fixture-card .fixture-home .team-emblem{border-color:var(--home-primary);color:var(--home-primary)}
.fixture-card .fixture-away .team-emblem{border-color:var(--away-primary);color:var(--away-primary)}
.schedule-card .schedule-club:first-child .schedule-crest:not(.sabah){border-color:var(--home-primary);color:var(--home-primary)}
.schedule-card .schedule-club:last-child .schedule-crest:not(.sabah){border-color:var(--away-primary);color:var(--away-primary)}

/* Sabah FC roster, MFL reference-inspired but mobile readable */
.squad-page{max-width:950px;margin:0 auto}.squad-header{background:linear-gradient(115deg,#091e40,#154b9a);border-radius:16px;padding:24px;color:#fff;margin-bottom:17px}.squad-header .eyebrow{color:#ff8090}.squad-header h2{margin:7px 0 9px;font-size:27px}.squad-header p{color:#d5e0f0;font-size:12px;line-height:1.5;margin:0}.squad-table-head{display:grid;grid-template-columns:62px minmax(0,1fr) 60px;align-items:center;gap:0;padding:10px 0;background:#17243b;color:#fff;font-size:11px;font-weight:850;letter-spacing:.06em;border-radius:8px 8px 0 0}.squad-table-head span:first-child,.squad-table-head span:last-child{text-align:center}.squad-table-head span:nth-child(2){padding-left:14px}.squad-section{background:rgba(255,255,255,.07)}.squad-section-heading{display:flex;align-items:center;justify-content:space-between;padding:10px 13px;background:rgba(255,255,255,.07);border-bottom:1px solid rgba(255,255,255,.14)}.squad-section-heading h3{margin:0;color:#e6eefc;font-size:11px;letter-spacing:.09em}.squad-section-heading span{font-size:10px;color:#e6eefc;font-weight:750}.squad-player{display:grid;grid-template-columns:62px minmax(0,1fr) 60px;align-items:stretch;min-height:57px;border-bottom:1px solid rgba(255,255,255,.14)}.squad-number{display:grid;place-items:center;background:#2456a5;color:white;font-size:17px;font-weight:850}.squad-number.sub{background:#909aa9}.squad-player strong{display:flex;align-items:center;padding:12px 14px;font-size:13px;color:#e6eefc;line-height:1.3;overflow-wrap:anywhere}.squad-position{display:grid;place-items:center;color:#e6eefc;font-size:12px;font-weight:800;border-left:1px solid rgba(255,255,255,.14)}.squad-admin-extra{margin-top:23px;background:white;padding:18px;border-radius:12px}.squad-page>.match-disclaimer{margin:16px 4px 28px}@media(max-width:700px){.squad-header{border-radius:0;margin:-16px -12px 15px;padding:20px 17px}.squad-header h2{font-size:23px}.squad-table-head,.squad-player{grid-template-columns:48px minmax(0,1fr) 48px}.squad-player{min-height:53px}.squad-player strong{padding:10px 11px;font-size:11px}.squad-number{font-size:15px}.squad-position{font-size:11px}}

/* Professional roster refresh */
.squad-page{max-width:1060px;margin:auto}.squad-header{background:linear-gradient(120deg,#091d3d,#194e9c);padding:32px;border-radius:16px}.squad-header h2{font-size:clamp(28px,5vw,42px);letter-spacing:-.04em}.squad-table-head{margin-top:20px;background:#132e57;border-radius:10px 10px 0 0}.squad-section{background:transparent}.squad-section-heading{background:rgba(255,255,255,.07);padding:16px 18px}.squad-section-heading h3{font-size:12px}.squad-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;background:rgba(255,255,255,.07);padding:14px}.squad-player{border:1px solid rgba(255,255,255,.14);border-radius:12px;background:rgba(255,255,255,.07);min-height:76px;grid-template-columns:62px minmax(0,1fr) 58px;overflow:hidden;box-shadow:0 4px 12px #152a4a0b}.squad-number{background:linear-gradient(155deg,#1a4b97,#2869bb);font-size:22px}.squad-number.sub{background:linear-gradient(155deg,#63758e,#96a3b6)}.squad-player strong{font-size:12px;line-height:1.45;padding:12px 14px}.squad-position{background:rgba(255,255,255,.07);font-size:11px;color:#e6eefc}.squad-page>.match-disclaimer{padding:8px 14px}
@media(max-width:700px){.squad-header{margin:-16px -12px 14px;padding:24px 18px;border-radius:0}.squad-header h2{font-size:29px}.squad-list{grid-template-columns:1fr;gap:8px;padding:10px}.squad-player{grid-template-columns:56px minmax(0,1fr) 53px;min-height:67px}.squad-player strong{font-size:12px}.squad-number{font-size:19px}}

/* Clickable player directory and individual profiles */
.squad-clickable{width:100%;padding:0;text-align:left;font:inherit;cursor:pointer;transition:transform .18s,box-shadow .18s;border:1px solid rgba(255,255,255,.14)}.squad-clickable:hover{transform:translateY(-2px);box-shadow:0 8px 22px #142c521a}.squad-clickable:focus-visible{outline:3px solid #ed3c56;outline-offset:2px}.squad-clickable .squad-position{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:2px}.squad-chevron{font-size:19px;line-height:1;color:#e6eefc}.squad-profile{max-width:900px;margin:auto;padding-bottom:40px}.profile-back{border:0;background:rgba(255,255,255,.07);color:#e6eefc;font-size:13px;font-weight:800;padding:12px 16px;border-radius:10px;margin-bottom:16px;cursor:pointer}.profile-hero{background:linear-gradient(115deg,#091c3b,#164992);color:white;border-radius:20px;overflow:hidden;padding:25px}.profile-overline{font-size:10px;font-weight:850;letter-spacing:.18em;color:#ff8da0}.profile-hero-body{display:flex;align-items:center;gap:28px;padding:22px 0 5px}.profile-jersey{display:grid;place-items:center;flex-shrink:0;width:125px;height:150px;background:linear-gradient(155deg,#d92441,#f34b62);border:3px solid rgba(255,255,255,.14);border-radius:16px;font-size:68px;font-weight:950;box-shadow:0 15px 25px #0002}.profile-intro{min-width:0}.profile-team{font-size:11px;color:#c6d7f3;font-weight:750}.profile-intro h1{font-size:clamp(24px,4vw,39px);line-height:1.12;letter-spacing:-.04em;overflow-wrap:anywhere;margin:10px 0 16px}.profile-position{background:rgba(255,255,255,.07);padding:7px 12px;border-radius:7px;font-size:12px;font-weight:850}.profile-panel{background:white;border:1px solid rgba(255,255,255,.14);border-radius:16px;margin-top:16px;padding:23px}.profile-panel h2{font-size:19px;color:#e6eefc;margin:0 0 20px}.profile-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.profile-fields>div{background:rgba(255,255,255,.07);padding:15px;border-radius:11px;display:flex;flex-direction:column;gap:8px}.profile-fields small{font-size:10px;color:#e6eefc;font-weight:850}.profile-fields strong{font-size:13px;color:#e6eefc}.profile-note,.profile-disclaimer{color:#e6eefc;font-size:12px;line-height:1.7}.profile-disclaimer{padding:0 5px;margin-top:16px}@media(max-width:700px){.squad-profile{margin:-12px -8px 0}.profile-hero{border-radius:14px;padding:18px}.profile-hero-body{gap:15px}.profile-jersey{width:88px;height:118px;font-size:46px}.profile-intro h1{font-size:23px}.profile-panel{padding:18px}.profile-fields{gap:8px}.profile-fields>div{padding:12px}.profile-fields strong{font-size:12px}}

/* Player profile data, statistics and country picker */
.profile-nickname{margin-top:14px;font-size:12px;color:#d4e0f2;font-weight:700}.profile-actions{display:flex;justify-content:flex-end;margin-top:14px}.profile-actions button,.profile-edit-actions button:first-child{background:#e6324d;color:#fff;border:0;border-radius:10px;padding:12px 16px;font-weight:850;cursor:pointer}.profile-stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}.profile-stat{display:flex;flex-direction:column;gap:10px;padding:19px 13px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.14);border-radius:12px;text-align:center}.profile-stat strong{font-size:30px;line-height:1;color:#e6eefc;font-weight:950}.profile-stat span{font-size:10px;letter-spacing:.04em;color:#e6eefc;font-weight:850}.profile-edit-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.profile-edit-field{display:flex;flex-direction:column;gap:8px;font-size:12px;font-weight:800;color:#e6eefc}.profile-edit-field input,.profile-edit-field select,.profile-country-button{width:100%;min-height:45px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.14);border-radius:9px;padding:10px 12px;font:inherit;font-size:13px;color:#e6eefc}.profile-country-button{text-align:left;cursor:pointer}.profile-edit-actions{grid-column:1/-1;display:flex;gap:10px;flex-wrap:wrap}.profile-edit-actions button:last-child{background:rgba(255,255,255,.07);color:#e6eefc;border:0;border-radius:10px;padding:12px 16px;font-weight:800}.profile-country-modal:not([hidden]){position:fixed;inset:0;background:#0b173c9c;z-index:100;display:grid;place-items:center;padding:20px}.profile-country-modal[hidden]{display:none!important}.profile-country-dialog{width:min(440px,100%);max-height:75vh;overflow:auto;background:white;border-radius:17px;padding:18px;box-shadow:0 20px 60px #0003}.profile-country-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.profile-country-head button{border:0;background:rgba(255,255,255,.07);border-radius:50%;width:34px;height:34px}.profile-country-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.profile-country-list button{display:flex;align-items:center;gap:10px;text-align:left;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.14);border-radius:9px;padding:12px 9px;color:#e6eefc;font-size:12px;font-weight:750;cursor:pointer}.profile-country-list button span{font-size:21px}@media(max-width:650px){.profile-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.profile-stat{padding:17px 10px}.profile-stat strong{font-size:27px}.profile-edit-form{grid-template-columns:1fr}.profile-country-list{grid-template-columns:1fr 1fr}}

/* Opening match events and reference statistics */
.opening-goals{margin:20px 16px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.14);border-radius:15px;padding:18px;text-align:left}.opening-goals h3{font-size:16px;color:#e6eefc;margin:0 0 12px}.opening-event{display:grid;grid-template-columns:64px minmax(0,1fr) 30px;gap:10px;align-items:center;padding:12px 3px;border-top:1px solid rgba(255,255,255,.14)}.opening-minute{font-size:13px;color:#e6eefc;font-weight:900}.opening-event strong{display:block;color:#e6eefc;font-size:12px;line-height:1.4}.opening-event small{display:block;color:#e6eefc;font-size:11px;margin-top:3px}.opening-stat-note{padding:13px 15px;margin:14px 0;background:rgba(255,255,255,.07);border-radius:10px;color:#e6eefc;font-size:12px;line-height:1.6}.opening-rankings{margin-top:20px}.opening-rankings>h3{font-size:17px;color:#e6eefc}.opening-rankings>p{font-size:12px;color:#e6eefc;line-height:1.5}.opening-rank-group{border:1px solid rgba(255,255,255,.14);border-radius:12px;overflow:hidden;margin:15px 0;background:rgba(255,255,255,.07)}.opening-rank-group h4{background:#172b4b;color:white;font-size:13px;margin:0;padding:13px 14px}.opening-rank-row{display:grid;grid-template-columns:24px minmax(0,1fr) 32px;gap:7px;align-items:center;padding:12px;border-top:1px solid rgba(255,255,255,.14)}.opening-rank-row>span{color:#e6eefc;font-size:12px}.opening-rank-row strong{font-size:12px;color:#e6eefc;overflow-wrap:anywhere}.opening-rank-row small{grid-column:2;grid-row:2;color:#e6eefc;font-size:10px}.opening-rank-row b{grid-column:3;grid-row:1/3;color:#e6eefc;text-align:center;font-size:16px}

/* Sabah FC player ranking cards */
.squad-stats{max-width:980px;margin:auto;padding-bottom:36px}.squad-stats-header{background:linear-gradient(120deg,#0d254b,#1c4f98);color:white;border-radius:16px;padding:26px;margin-bottom:17px}.squad-stats-header h2{font-size:clamp(25px,4vw,35px);margin:9px 0}.squad-stats-header p{color:#d0dcef;font-size:12px;line-height:1.7;max-width:680px}.squad-rank-section{background:white;border:1px solid rgba(255,255,255,.14);border-radius:14px;overflow:hidden;margin-bottom:16px}.squad-rank-section h3{background:#142c50;color:#fff;padding:15px 18px;font-size:15px;margin:0}.squad-rank-row{display:grid;grid-template-columns:36px minmax(0,1fr) 44px;align-items:center;gap:10px;padding:13px 16px;width:100%;background:rgba(255,255,255,.07);border:0;border-bottom:1px solid rgba(255,255,255,.14);text-align:left;cursor:pointer;font:inherit}.squad-rank-row:hover:not(:disabled){background:rgba(255,255,255,.07)}.squad-rank-row:disabled{cursor:default}.squad-rank-index{font-size:13px;font-weight:900;color:#e6eefc}.squad-rank-name{display:flex;flex-direction:column;gap:4px;min-width:0}.squad-rank-name strong{font-size:12px;color:#e6eefc;overflow-wrap:anywhere}.squad-rank-name small{font-size:10px;color:#e6eefc}.squad-rank-row>b{color:#e6eefc;font-size:23px;text-align:right}.squad-rank-empty{padding:18px;color:#e6eefc;font-size:12px}@media(max-width:700px){.squad-stats-header{margin:-12px -8px 16px;border-radius:0}.squad-rank-row{padding:12px 10px;grid-template-columns:25px minmax(0,1fr) 32px}.squad-rank-name strong{font-size:11px}}

/* Supplied official-looking club crest assets, maintaining original proportions */
.club-logo{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;overflow:hidden;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.14);border-radius:50%;vertical-align:middle}
.club-logo img{display:block;width:100%;height:100%;object-fit:contain;padding:5%;box-sizing:border-box}
.club-logo img[hidden],.club-logo-fallback[hidden]{display:none!important}
.club-logo-fallback{font-size:12px;font-weight:900;color:#e6eefc}
.club-logo.schedule-crest{width:64px;height:64px;margin-inline:auto}
.club-logo.detail-crest{width:76px;height:76px;margin-inline:auto}
.club-logo.club-banner-mark{width:65px;height:65px;border-radius:14px;background:rgba(255,255,255,.07)}
@media(max-width:600px){.club-logo.schedule-crest{width:55px;height:55px}.club-logo.detail-crest{width:64px;height:64px}.club-logo.club-banner-mark{width:54px;height:54px}}

/* PNG crests in all match cards and site header */
.club-logo.team-emblem{display:inline-flex;align-items:center;justify-content:center;width:46px;height:46px;border-radius:50%;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.14);overflow:hidden;margin-inline:auto}
.club-logo.team-emblem img{width:100%;height:100%;object-fit:contain;padding:4px}
.club-logo.crest{display:inline-flex;align-items:center;justify-content:center;width:56px;height:56px;flex-shrink:0;border-radius:12px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.14);overflow:hidden}
.club-logo.crest img{width:100%;height:100%;object-fit:contain;padding:4px}
.club-logo.crest .club-logo-fallback{color:#e6eefc;font-weight:900}
@media(max-width:600px){.club-logo.team-emblem{width:44px;height:44px}.club-logo.crest{width:49px;height:49px}}

/* Player images from GitHub assets/players/{jersey}.png */
.player-photo{object-fit:cover;object-position:top center;background:rgba(255,255,255,.07);border-radius:12px;flex-shrink:0}.player-photo-row{width:42px;height:48px}.player-photo-hero{width:100%;height:100%;max-height:190px}.profile-jersey:has(.player-photo-hero) {overflow:hidden}.profile-jersey:has(.player-photo-hero) span{position:absolute;bottom:5px;right:7px;background:rgba(255,255,255,.07);border-radius:6px;padding:2px 6px;font-size:14px}.profile-photo-edit{display:flex;gap:18px;align-items:flex-start;padding:16px;border:1px solid rgba(255,255,255,.14);border-radius:14px;background:rgba(255,255,255,.07)}.profile-photo-edit p{font-size:13px;line-height:1.5}.profile-photo-preview{width:110px;min-width:110px;height:130px;border-radius:12px;background:rgba(255,255,255,.07);overflow:hidden}.player-photo-edit{width:100%;height:100%}.profile-photo-edit a{font-weight:700;color:#e6eefc}.profile-photo-edit code{overflow-wrap:anywhere}@media(max-width:520px){.profile-photo-edit{flex-direction:column}.player-photo-row{width:34px;height:40px}}

/* Admin match management */
.match-edit-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;margin:10px 12px 12px;padding:9px 14px;border:1px solid #c83a3a;border-radius:9px;background:rgba(255,255,255,.07);color:#e6eefc;font-size:12px;font-weight:800;cursor:pointer;position:relative;z-index:2}.match-edit-btn:hover{background:#fff0f1}.opponent-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(175px,1fr));gap:10px;margin:12px 0 22px}.opponent-item{display:flex;align-items:center;gap:12px;border:1px solid rgba(255,255,255,.14);border-radius:10px;padding:10px;background:rgba(255,255,255,.07);font-size:13px;font-weight:650}.opponent-crest{width:40px;height:40px;flex:none}.opponent-crest img{width:100%;height:100%;object-fit:contain}.admin-fixture-list{display:grid;gap:8px;margin:12px 0 24px;max-height:440px;overflow:auto}.admin-fixture-item{display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid rgba(255,255,255,.14);padding:8px 0;font-size:13px}.admin-fixture-item .match-edit-btn{margin:0;white-space:nowrap}@media(max-width:600px){.admin-fixture-item{align-items:flex-start;flex-direction:column}.opponent-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Stats dashboard — featured leaderboard */
.stats-dashboard{max-width:960px;margin:0 auto;padding:20px 16px 100px;color:#e6eefc}.stats-heading{margin:6px 0 25px}.stats-heading h2{font-size:clamp(30px,5vw,42px);margin:8px 0}.stats-heading p{color:#e6eefc;margin:0}.stats-switch{display:grid;grid-template-columns:1fr 1fr;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.14);border-radius:17px;padding:6px;gap:6px;margin:18px 0}.stats-switch button{border:0;border-radius:12px;padding:15px 8px;background:transparent;color:#e6eefc;font-weight:800}.stats-switch .active{background:linear-gradient(115deg,#2566e9,#9233c4);color:#fff;box-shadow:0 6px 15px #2439a22b}.stats-category-tabs{display:flex;overflow-x:auto;gap:22px;border-bottom:1px solid rgba(255,255,255,.14);margin:20px 0 28px;scrollbar-width:none}.stats-category-tabs button{border:0;border-bottom:3px solid transparent;background:transparent;color:#e6eefc;font-weight:800;white-space:nowrap;padding:12px 4px 15px;cursor:pointer}.stats-category-tabs button.active{border-bottom-color:#e6eefc;color:#e6eefc}.stats-board{background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.14);border-radius:22px;padding:16px;box-shadow:0 12px 34px #10244b0b}.stats-board-header{display:flex;justify-content:space-between;align-items:center;gap:8px;background:linear-gradient(105deg,#102746,#1e4883);border-bottom:4px solid #e43157;color:#fff;padding:18px 20px;border-radius:12px 12px 0 0}.stats-board-header h3{margin:0;font-size:22px}.stats-board-header span{border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.07);border-radius:8px;padding:9px;font-size:10px;font-weight:800;white-space:nowrap}.stats-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:12px;background:rgba(255,255,255,.07)}.stats-summary>div{text-align:center;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.14);border-radius:12px;padding:14px 3px;display:flex;flex-direction:column;gap:5px}.stats-summary b{font-size:26px;color:#e6eefc}.stats-summary small{font-size:9px;font-weight:800;letter-spacing:.06em;color:#e6eefc}.stats-leader{width:100%;border:2px solid #3a65d2;border-right-color:#d53674;border-bottom-color:#d53674;border-radius:20px;background:rgba(255,255,255,.07);display:grid;grid-template-columns:minmax(90px,160px) 1fr auto;align-items:end;text-align:left;gap:14px;padding:15px;margin:14px 0 10px;cursor:pointer}.stats-leader-photo{height:190px;position:relative;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.07);border-radius:12px;overflow:hidden}.stats-feature-photo{width:100%;height:100%;object-fit:contain;position:relative;z-index:1}.stats-leader-fallback{font-size:36px;font-weight:900;color:#c5d2e6}.stats-leader-details{display:flex;flex-direction:column;gap:10px;padding-bottom:14px;min-width:0}.stats-leader-rank{font-size:11px;color:#c93052;font-weight:900;letter-spacing:.12em}.stats-leader-details strong{font-size:clamp(15px,3vw,23px);overflow-wrap:anywhere}.stats-leader-details small{font-size:11px;color:#e6eefc}.stats-leader-score{display:flex;flex-direction:column;text-align:right;gap:6px;padding-bottom:14px;color:#d52f53}.stats-leader-score b{font-size:35px}.stats-leader-score span{font-size:10px;font-weight:900}.stats-rank-list{display:grid;gap:0}.stats-ranking-row{display:grid;grid-template-columns:26px 50px minmax(0,1fr) 40px;gap:12px;align-items:center;width:100%;padding:13px 8px;border:0;border-bottom:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.07);text-align:left;cursor:pointer}.stats-ranking-row b{font-size:22px;text-align:right;color:#d32d50}.stats-place{color:#e6eefc}.stats-rank-avatar{display:grid;place-items:center;width:48px;height:52px;border-radius:9px;background:rgba(255,255,255,.07);color:#e6eefc;font-size:11px;font-weight:900;overflow:hidden}.stats-thumb{width:100%;height:100%;object-fit:cover}.stats-rank-details{min-width:0;display:flex;flex-direction:column;gap:4px}.stats-rank-details strong{font-size:14px;overflow-wrap:anywhere}.stats-rank-details small{color:#e6eefc;font-size:10px;overflow-wrap:anywhere}.stats-no-data{padding:30px 15px;text-align:center;color:#e6eefc}@media(max-width:520px){.stats-dashboard{padding:16px 10px 110px}.stats-board{padding:10px}.stats-leader{grid-template-columns:100px minmax(0,1fr) 55px;gap:8px;padding:10px}.stats-leader-photo{height:155px}.stats-leader-score b{font-size:26px}.stats-summary b{font-size:21px}.stats-board-header h3{font-size:19px}}

.stats-competition-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;padding:6px;background:rgba(255,255,255,.07);border-radius:14px;margin:18px 0 8px}.stats-competition-tabs button{background:transparent;border:0;border-radius:10px;color:#e6eefc;padding:12px 5px;font-size:12px;font-weight:800;cursor:pointer}.stats-competition-tabs button.active{background:rgba(255,255,255,.07);color:#e6eefc;box-shadow:0 2px 9px #10254b18}.stats-source-note{color:#e6eefc;font-size:12px;line-height:1.5;margin:8px 3px 18px}@media(max-width:520px){.stats-competition-tabs{display:flex;overflow-x:auto;scrollbar-width:none}.stats-competition-tabs button{flex:0 0 auto;padding:12px 13px}}

/* Unified Sabah FC design system · all tabs and subtabs */
:root{--portal-navy:#102b54;--portal-blue:#2357aa;--portal-red:#db284e;--portal-muted:#79869e;--portal-border:rgba(255,255,255,.14);--portal-surface:#fff;--portal-radius:20px}
body{background:rgba(255,255,255,.07);color:var(--portal-navy)}
main{width:100%;max-width:1180px;margin:0 auto;padding:28px 20px 110px}
.portal-page{min-width:0;animation:portal-appear .18s ease-out}
@keyframes portal-appear{from{opacity:.7;transform:translateY(4px)}to{opacity:1;transform:none}}
.portal-page-heading{margin:14px 0 24px}.portal-eyebrow{display:block;font-size:12px;letter-spacing:3px;color:#be2946;font-weight:850;margin-bottom:15px}.portal-page-heading h1{font-size:clamp(30px,4.5vw,44px);letter-spacing:-1.3px;margin:0 0 12px;color:var(--portal-navy)}.portal-page-heading p{margin:0;color:var(--portal-muted);font-size:16px}
.portal-page .panel,.portal-page .stats-board,.portal-page .fixture-card,.portal-page .schedule-card{border:1px solid var(--portal-border);box-shadow:0 8px 26px #122a510b;border-radius:var(--portal-radius)}
/* Primary competition and view selectors share Stats segmented appearance */
.portal-page :is(.stats-competition-tabs,.home-competition-tabs,.competition-tabs,.club-tabs,.match-filters){display:flex;align-items:center;gap:6px;background:rgba(255,255,255,.07);border:0;border-radius:19px;padding:7px;overflow-x:auto;scrollbar-width:none;max-width:100%;box-shadow:none}
.portal-page :is(.stats-competition-tabs,.home-competition-tabs,.competition-tabs,.club-tabs,.match-filters)::-webkit-scrollbar{display:none}
.portal-page :is(.stats-competition-tabs,.home-competition-tabs,.competition-tabs,.club-tabs,.match-filters) button{flex:0 0 auto;min-width:0;background:transparent!important;border:0!important;border-radius:13px!important;color:#e6eefc!important;font-size:14px!important;font-weight:750!important;line-height:1.35;padding:13px 17px!important;box-shadow:none!important;white-space:nowrap;text-transform:none!important;letter-spacing:0!important}
.portal-page :is(.stats-competition-tabs,.home-competition-tabs,.competition-tabs,.club-tabs,.match-filters) button:is(.active,[aria-selected="true"]){background:white!important;color:#e6eefc!important;box-shadow:0 2px 9px #132d4e12!important}
.portal-page :is(.stats-category-tabs,.detail-tabs){display:flex;gap:24px;align-items:center;overflow-x:auto;scrollbar-width:none;border-bottom:1px solid #d5deeb;max-width:100%}
.portal-page :is(.stats-category-tabs,.detail-tabs) button{border:0!important;border-bottom:3px solid transparent!important;background:transparent!important;border-radius:0!important;color:#e6eefc!important;font-weight:800!important;font-size:15px!important;padding:15px 5px!important;white-space:nowrap}
.portal-page :is(.stats-category-tabs,.detail-tabs) button.active{border-bottom-color:#2761b7!important;color:#2761b7!important}
.portal-page :is(.stats-board-header,.schedule-title){background:linear-gradient(110deg,#102847,#1e4784);color:white;border-bottom:4px solid var(--portal-red);border-radius:14px 14px 0 0}
.portal-page .stats-board-header{padding:20px}.portal-page .stats-summary>div{border:1px solid var(--portal-border);border-radius:15px;background:white}
.portal-page button:focus-visible{outline:3px solid #e4a83b;outline-offset:2px}
@media(max-width:680px){main{padding:22px 16px 115px}.portal-page-heading{margin:12px 0 22px}.portal-page-heading h1{font-size:34px}.portal-page-heading p{font-size:15px}.portal-page :is(.stats-competition-tabs,.home-competition-tabs,.competition-tabs,.club-tabs,.match-filters){border-radius:17px;padding:6px;gap:4px}.portal-page :is(.stats-competition-tabs,.home-competition-tabs,.competition-tabs,.club-tabs,.match-filters) button{font-size:13px!important;padding:12px 14px!important}.portal-page :is(.stats-category-tabs,.detail-tabs){gap:22px}.portal-page :is(.stats-category-tabs,.detail-tabs) button{font-size:14px!important}}

/* Matches clean layout and Stats-style filter underline */
header{position:relative}.header-season{flex:0 0 auto;font-weight:850;font-size:13px;letter-spacing:.08em;color:#fff;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.14);padding:10px 13px;border-radius:11px;white-space:nowrap}.portal-page--matches{padding-top:8px}.portal-page--matches .match-centre{margin-top:0}.portal-page--matches .competition-tabs{margin-bottom:18px}.portal-page--matches .match-toolbar{margin:18px 0 12px;align-items:end}.portal-page--matches .match-filters{background:transparent!important;border-radius:0!important;border-bottom:1px solid #d5deeb!important;padding:0!important;gap:24px!important;box-shadow:none!important}.portal-page--matches .match-filters button{border-radius:0!important;border:0!important;border-bottom:3px solid transparent!important;background:transparent!important;color:#e6eefc!important;padding:14px 4px!important;font-size:15px!important;font-weight:800!important;box-shadow:none!important}.portal-page--matches .match-filters button.active,.portal-page--matches .match-filters button[aria-selected="true"]{border-bottom-color:#2761b7!important;color:#2761b7!important;background:transparent!important;box-shadow:none!important}.portal-page--matches .match-centre{padding-top:22px}@media(max-width:680px){header{gap:8px}.header-season{font-size:10px;padding:8px 9px}.portal-page--matches .match-filters{gap:19px!important}.portal-page--matches .match-filters button{font-size:13px!important;padding:12px 3px!important}.portal-page--matches .match-centre{padding-top:14px}}

/* Responsive league standings with club badges from assets/logos */
.standing-panel{min-width:0;overflow:hidden}.standing-head{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:18px}.standing-head h2{margin:7px 0}.standing-official-link{display:inline-flex;align-items:center;justify-content:center;background:#163c7b;color:#fff!important;text-decoration:none;font-size:13px;font-weight:750;padding:12px 15px;border-radius:12px}.standing-table-scroll{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;border:1px solid rgba(255,255,255,.14);border-radius:14px}.standing-table{width:100%;min-width:740px;border-collapse:separate;border-spacing:0;font-variant-numeric:tabular-nums}.standing-table th{background:rgba(255,255,255,.07);color:#e6eefc;text-align:center;font-size:12px;font-weight:800;padding:13px 10px;white-space:nowrap}.standing-table th:nth-child(2){text-align:left}.standing-table td{border-bottom:1px solid rgba(255,255,255,.14);text-align:center;padding:11px 10px;white-space:nowrap}.standing-table tbody tr:last-child td{border-bottom:0}.standing-table td:nth-child(2){text-align:left;min-width:220px}.standing-club{display:flex;align-items:center;gap:11px}.standing-club strong{font-size:13px}.standing-crest{width:34px;height:34px;min-width:34px;display:inline-flex;align-items:center;justify-content:center}.standing-crest img{width:100%;height:100%;object-fit:contain}.standing-table .sabah-highlight td{background:rgba(59,130,246,.22);color:#fff;font-weight:800}.standing-table .sabah-highlight td:first-child{box-shadow:inset 4px 0 #e52947}.standing-points{font-weight:900;color:#e6eefc}.standing-legend{font-size:12px;line-height:1.6;margin-top:15px}@media(max-width:600px){.standing-panel{padding:14px!important}.standing-head{align-items:stretch}.standing-official-link{width:100%}.standing-table{min-width:680px}.standing-table td:nth-child(2){min-width:200px}.standing-crest{width:30px;height:30px;min-width:30px}}

/* Home match calendar */
.home-calendar{margin:28px 0 36px;padding:24px;border-radius:24px;background:linear-gradient(145deg,rgba(255,255,255,.07),rgba(255,255,255,.07));border:1px solid rgba(255,255,255,.14);box-shadow:0 14px 35px rgba(17,39,79,.06)}.home-calendar-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;flex-wrap:wrap;margin-bottom:22px}.home-calendar-head h2{font-size:clamp(23px,3vw,32px);color:#e6eefc;margin:8px 0}.home-calendar-head p{color:#e6eefc;font-size:13px;margin:0}.cal-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid rgba(255,255,255,.14);border-radius:16px;padding:5px;background:rgba(255,255,255,.07)}.cal-controls strong{color:#e6eefc;font-size:15px;min-width:140px;text-align:center}.cal-controls button{border:0;border-radius:12px;background:rgba(255,255,255,.07);color:#e6eefc;font-size:25px;width:38px;height:38px;cursor:pointer}.cal-weekdays,.cal-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px}.cal-weekdays{margin-bottom:9px}.cal-weekdays span{text-align:center;color:#e6eefc;font-size:11px;font-weight:800;text-transform:uppercase;padding:8px 0}.cal-day,.cal-blank{min-height:75px;min-width:0;border-radius:13px}.cal-day{border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.07);color:#e6eefc;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;padding:9px 3px;gap:7px;font-weight:750;font-size:13px}.cal-day:disabled{opacity:.72}.cal-day.has-game{background:#f0f5ff;border-color:#a8c0f2;cursor:pointer;box-shadow:inset 0 0 0 1px #d2def7}.cal-day.has-game:hover{background:#e5efff}.cal-day.cal-today{outline:2px solid #ed3650;outline-offset:-2px}.cal-badges{display:flex;justify-content:center;gap:2px;flex-wrap:wrap}.cal-crest{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px}.cal-crest img{width:100%;height:100%;object-fit:contain}.cal-crest .club-logo-fallback{font-size:9px}.cal-legend{display:flex;align-items:center;gap:7px;margin-top:16px;color:#e6eefc;font-size:12px}.cal-dot{width:10px;height:10px;background:#a8c0f2;border-radius:50%}@media(max-width:600px){.home-calendar{padding:14px;margin:20px 0 26px;border-radius:18px}.home-calendar-head{align-items:stretch}.cal-controls{width:100%}.cal-controls strong{min-width:0;flex:1}.cal-weekdays,.cal-grid{gap:3px}.cal-day,.cal-blank{min-height:60px;border-radius:8px}.cal-day{font-size:11px;padding:7px 1px;gap:4px}.cal-crest{width:23px;height:23px}.cal-weekdays span{font-size:9px}.cal-legend{font-size:10px}}

/* Per-match statistics */
.match-event-stats{margin:20px 0 10px;padding:18px;border:1px solid rgba(255,255,255,.14);border-radius:20px;background:rgba(255,255,255,.07)}.match-event-stats-head h3{margin:0;color:#e6eefc;font-size:21px}.match-event-stats-head p{margin:6px 0 16px;color:#e6eefc;font-size:13px}.match-event-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.match-event-group{min-width:0;border:1px solid rgba(255,255,255,.14);border-radius:14px;background:#f8faff;overflow:hidden}.match-event-group-title{display:flex;align-items:center;gap:9px;padding:13px 14px;border-bottom:1px solid rgba(255,255,255,.14);color:#e6eefc}.match-event-group-title strong{flex:1;font-size:14px}.match-event-total{font-size:13px;font-weight:800;background:rgba(255,255,255,.07);border-radius:8px;padding:3px 9px}.match-event-person{display:flex;gap:11px;align-items:center;padding:12px 14px;border-bottom:1px solid rgba(255,255,255,.14)}.match-event-person:last-child{border-bottom:0}.match-event-minute{min-width:45px;font-weight:800;color:#c72c46}.match-event-person div{min-width:0;display:flex;flex-direction:column;gap:3px}.match-event-person strong{color:#e6eefc;font-size:13px;overflow-wrap:anywhere}.match-event-person small{color:#e6eefc;font-size:11px}.match-event-unavailable{padding:15px;margin:0;color:#e6eefc;font-size:12px}.match-event-note{margin:14px 0 0;font-size:11px;color:#e6eefc}@media(max-width:620px){.match-event-stats{padding:12px}.match-event-grid{grid-template-columns:1fr}}

/* Mobile bottom navigation — Option B, iPhone-safe */
.mobile-bottom-nav{display:none}
@media(max-width:800px){header nav{display:none!important}.mobile-bottom-nav{position:fixed;inset:auto 0 0;z-index:60;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;background:rgba(255,255,255,.07);border-top:1px solid rgba(255,255,255,.14);box-shadow:0 -5px 20px #0a25421a;padding:7px max(5px,env(safe-area-inset-left)) calc(7px + env(safe-area-inset-bottom)) max(5px,env(safe-area-inset-right));width:100%;max-width:100vw}.mobile-bottom-nav .mobile-tab{appearance:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:0;width:100%;margin:0;padding:2px 0 1px;border:0;border-radius:0;background:transparent;color:#e6eefc;line-height:1.15;overflow:hidden}.mobile-tab-icon{width:33px;height:33px;display:grid;place-items:center;border-radius:50%;flex-shrink:0}.mobile-tab-icon svg{width:19px;height:19px}.mobile-tab-label{display:block;width:100%;min-width:0;text-align:center;font-size:10px;font-weight:650;letter-spacing:-.1px;white-space:nowrap;overflow:hidden;text-overflow:clip}.mobile-bottom-nav .mobile-tab.active{color:#c92543;background:transparent}.mobile-bottom-nav .mobile-tab.active .mobile-tab-icon{background:#c92543;color:#fff;width:39px;height:39px}.mobile-bottom-nav .mobile-tab:focus-visible{outline:2px solid #c92543;outline-offset:-2px}main{margin-bottom:105px}footer{padding-bottom:115px}}
@media(max-width:360px){.mobile-tab-label{font-size:9px}.mobile-tab-icon{width:30px;height:30px}.mobile-bottom-nav .mobile-tab.active .mobile-tab-icon{width:36px;height:36px}}

/* Matchday 6 standings form */
.standing-form{display:flex;align-items:center;gap:4px;white-space:nowrap;min-width:125px}.standing-form-dot{width:20px;height:20px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;font-size:12px;font-weight:800;color:#fff;flex:0 0 20px}.standing-form-dot.form-w{background:#1eaf64}.standing-form-dot.form-d{background:#9299a5}.standing-form-dot.form-l{background:#e64043}.standing-table th:last-child,.standing-table td:last-child{white-space:nowrap}.standing-table-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}

/* Home header, match cards and calendar refinements */
@media(max-width:800px){header{display:flex!important;align-items:center!important;justify-content:space-between!important;flex-wrap:nowrap!important;padding:12px 15px!important;gap:8px!important}.brand{min-width:0;flex:1}.brand strong{font-size:17px}.brand small{font-size:9px}.header-season{position:static!important;margin:0!important;align-self:flex-start;flex:0 0 auto;font-size:11px;padding:7px 9px;border-radius:10px}}
.portal-page--home .schedule-title h2{color:#fff!important;text-shadow:0 1px 2px #071b3b50}.portal-page--home .schedule-title button{color:#fff!important}.portal-page--home .schedule-title{min-height:80px;align-items:center}
.home-calendar .cal-crest{width:38px;height:38px;min-width:38px;display:inline-flex;align-items:center;justify-content:center}.home-calendar .cal-crest img{width:100%;height:100%;object-fit:contain}
@media(max-width:600px){.home-calendar .cal-crest{width:29px;height:29px;min-width:29px}.home-calendar .cal-day{min-height:70px}.home-calendar .cal-badges{gap:1px}}
@media(max-width:360px){.home-calendar .cal-crest{width:26px;height:26px;min-width:26px}}

/* Match events follow the home/away sides of the scoreboard. */
.match-event-person{display:grid;grid-template-columns:minmax(0,1fr) 52px minmax(0,1fr);gap:8px;align-items:center;text-align:left}.match-event-person .match-event-side{display:block;min-width:0}.match-event-side--home{text-align:left}.match-event-side--away{text-align:right}.match-event-person .match-event-minute{min-width:0;text-align:center;font-size:13px;white-space:nowrap}.match-event-person .match-event-player{display:flex;min-width:0;flex-direction:column;gap:3px}.match-event-person--unknown>.match-event-player{grid-column:1/-1;text-align:center}.match-event-person strong,.match-event-person small{overflow-wrap:anywhere}@media(max-width:380px){.match-event-person{padding:11px 9px;grid-template-columns:minmax(0,1fr) 44px minmax(0,1fr);gap:5px}.match-event-person strong{font-size:12px}.match-event-person .match-event-minute{font-size:12px}}

/* Match Centre video and content refinement */
.match-video{margin:16px 0 24px;border:1px solid rgba(255,255,255,.14);border-radius:18px;overflow:hidden;background:rgba(255,255,255,.07);box-shadow:0 6px 22px #102b540a}.match-video-heading{display:flex;align-items:center;gap:11px;padding:16px;text-align:left}.match-video-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:#eaf0fc;color:#e6eefc;flex-shrink:0}.match-video-heading h3{margin:0;color:#e6eefc;font-size:16px}.match-video-heading p{margin:4px 0 0;color:#e6eefc;font-size:12px}.match-video-heading a{margin-left:auto;color:#e6eefc;font-size:12px;font-weight:750;text-decoration:none;white-space:nowrap}.match-video-frame{position:relative;aspect-ratio:16/9;background:#0c1c35}.match-video-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0}.detail-content .match-event-stats{margin:0 0 18px}.detail-summary{padding-bottom:22px}.detail-matchmeta{margin:5px 0!important;line-height:1.5}.detail-summary .detail-matchmeta:first-child{font-size:12px;font-weight:850;letter-spacing:1px;text-transform:uppercase;color:#b82847}.detail-tabs{gap:0;display:flex;justify-content:space-around}.detail-tabs button{flex:1;min-width:0}.detail-content{padding-top:20px}@media(max-width:600px){.match-video-heading{padding:13px;gap:8px}.match-video-heading h3{font-size:14px}.match-video-heading p{font-size:11px}.match-video-heading a{font-size:11px}.detail-tabs button{font-size:12px;padding-left:6px;padding-right:6px}.detail-content{padding:16px 12px}.match-event-stats-head h3{font-size:20px}}

/* Compact results with inline highlights thumbnail */
.compact-match{display:grid;grid-template-columns:minmax(0,1fr) 132px;gap:16px;padding:18px;margin:0 0 14px;border:1px solid rgba(255,255,255,.14);border-radius:16px;background:rgba(255,255,255,.07);box-shadow:0 5px 18px #102b5407;align-items:center}.compact-match-main{display:flex;flex-direction:column;gap:10px;min-width:0;padding:0;border:0;background:transparent;color:#e6eefc;text-align:left;cursor:pointer}.compact-round{font-size:10px;font-weight:800;letter-spacing:1px;color:#e6eefc;margin-bottom:2px}.compact-team{display:grid;grid-template-columns:28px minmax(0,1fr) 24px;align-items:center;gap:10px;width:100%;min-width:0}.compact-team strong{font-size:15px;font-weight:650;line-height:1.35;overflow-wrap:anywhere}.compact-team b{text-align:right;font-size:20px;font-weight:800;font-variant-numeric:tabular-nums}.compact-crest{display:flex;width:28px;height:28px;align-items:center;justify-content:center;min-width:28px}.compact-crest img{width:100%;height:100%;object-fit:contain}.compact-match-aside{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;align-self:stretch;border-left:1px solid rgba(255,255,255,.14);padding-left:16px}.compact-status{font-size:13px;color:#e6eefc;font-weight:800}.compact-status.is-live{background:#d92347;color:#fff;border-radius:5px;padding:3px 7px}.compact-match-aside time{font-size:10px;color:#e6eefc;text-align:center;line-height:1.4}.compact-video{position:relative;display:block;width:112px;aspect-ratio:16/9;overflow:hidden;border-radius:8px;background:#132c52}.compact-video img{width:100%;height:100%;object-fit:cover;display:block}.compact-video span{position:absolute;inset:auto 0 0;background:linear-gradient(transparent,#071429e8);color:#fff;font-size:10px;font-weight:750;padding:12px 4px 4px;text-align:center}.compact-video:hover img{filter:brightness(.85)}.compact-match>.match-edit-btn{grid-column:1/-1}.compact-match-main:focus-visible,.compact-video:focus-visible{outline:3px solid #3974c7;outline-offset:4px}@media(max-width:600px){.compact-match{grid-template-columns:minmax(0,1fr) 96px;gap:10px;padding:14px 12px;border-radius:14px}.compact-team{grid-template-columns:24px minmax(0,1fr) 20px;gap:7px}.compact-crest{width:24px;height:24px;min-width:24px}.compact-team strong{font-size:13px}.compact-team b{font-size:18px}.compact-match-aside{padding-left:10px;gap:6px}.compact-video{width:84px}.compact-video span{font-size:9px;padding-top:9px}.compact-match-aside time{font-size:9px}.compact-round{font-size:9px;letter-spacing:.7px}}

/* Open calendar grid: match crests replace dates. */
.home-calendar .cal-grid,.home-calendar .cal-weekdays{gap:8px}.home-calendar .cal-day,.home-calendar .cal-blank{min-height:64px;aspect-ratio:1;border:0;border-radius:0;background:transparent;box-shadow:none;padding:4px;justify-content:center;align-items:center;gap:0}.home-calendar .cal-day:disabled{opacity:1;color:#e6eefc}.home-calendar .cal-date{display:grid;place-items:center;width:36px;height:36px;font-size:14px;font-weight:650;border-radius:50%;background:rgba(255,255,255,.07)}.home-calendar .cal-day.has-game{border:0;background:transparent;box-shadow:none;cursor:pointer}.home-calendar .cal-day.has-game:hover{background:#f1f5fc;border-radius:12px}.home-calendar .cal-badges{display:flex;align-items:center;justify-content:center;gap:2px;width:100%}.home-calendar .cal-crest{width:54px;height:54px;min-width:0;max-width:100%;flex:0 1 54px;background:transparent;border:0;border-radius:0;padding:0;box-shadow:none}.home-calendar .cal-crest img{object-fit:contain;border-radius:0}.home-calendar .cal-day.cal-today{outline:0}.home-calendar .cal-today .cal-date{background:#173b78;color:#fff}.home-calendar .cal-today.has-game{outline:2px solid #dc3150;outline-offset:-2px;border-radius:12px}.home-calendar .cal-day:focus-visible{outline:2px solid #2c64b7;outline-offset:2px;border-radius:10px}.home-calendar .cal-controls{border:0;background:transparent;padding:0}.home-calendar .cal-controls strong{font-size:20px}.home-calendar .cal-controls button{border-radius:50%;background:rgba(255,255,255,.07)}.home-calendar .cal-weekdays{margin-top:20px}.home-calendar .cal-legend{display:none}@media(max-width:600px){.home-calendar .cal-grid,.home-calendar .cal-weekdays{gap:3px}.home-calendar .cal-day,.home-calendar .cal-blank{min-height:43px;padding:2px}.home-calendar .cal-crest{width:39px;height:39px;flex-basis:39px;min-width:0}.home-calendar .cal-date{width:30px;height:30px;font-size:12px}.home-calendar .cal-controls strong{font-size:18px}}@media(max-width:360px){.home-calendar .cal-crest{width:34px;height:34px;flex-basis:34px}.home-calendar .cal-day,.home-calendar .cal-blank{min-height:38px}}

/* Competition colours behind calendar crests */
.home-calendar .cal-crest.cal-crest--msl{background:#e0ecff;border:1px solid #b8d0f6;border-radius:12px;padding:5px;box-sizing:border-box}.home-calendar .cal-crest.cal-crest--fa{background:#fff0cc;border:1px solid #ecd18d;border-radius:12px;padding:5px;box-sizing:border-box}.cal-competition-key{display:flex;justify-content:center;align-items:center;gap:22px;margin-top:20px;color:#e6eefc;font-size:12px;font-weight:700}.cal-competition-key>span{display:inline-flex;align-items:center;gap:7px}.cal-competition-key i{display:inline-block;width:14px;height:14px;border-radius:4px}.cal-key-msl{background:#e0ecff;border:1px solid #b8d0f6}.cal-key-fa{background:#fff0cc;border:1px solid #ecd18d}@media(max-width:600px){.home-calendar .cal-crest.cal-crest--msl,.home-calendar .cal-crest.cal-crest--fa{padding:4px;border-radius:9px}.cal-competition-key{font-size:11px;margin-top:16px}}

/* Larger calendar logos with minimal inset. */
.home-calendar .cal-day,.home-calendar .cal-blank{min-height:72px}.home-calendar .cal-crest{width:66px;height:66px;flex-basis:66px}.home-calendar .cal-crest.cal-crest--msl,.home-calendar .cal-crest.cal-crest--fa{padding:1px}.home-calendar .cal-crest img{display:block;width:100%;height:100%;object-fit:contain}@media(max-width:600px){.home-calendar .cal-day,.home-calendar .cal-blank{min-height:52px;padding:0}.home-calendar .cal-crest{width:48px;height:48px;flex-basis:48px}.home-calendar .cal-crest.cal-crest--msl,.home-calendar .cal-crest.cal-crest--fa{padding:1px}}@media(max-width:360px){.home-calendar .cal-day,.home-calendar .cal-blank{min-height:44px}.home-calendar .cal-crest{width:42px;height:42px;flex-basis:42px}}

/* Position-grouped player roster */
.squad-page--roster{background:transparent;border-radius:20px;overflow:hidden}.squad-page--roster .squad-header{padding:24px;border-radius:20px;background:linear-gradient(120deg,#10284d,#1d4a8c);margin-bottom:22px}.squad-page--roster .squad-header h2{font-size:30px;margin:10px 0;color:#fff}.squad-page--roster .squad-header p{font-size:14px;line-height:1.6;margin:0;color:#d1def3}.squad-page--roster .squad-section{padding:0;margin:0 0 24px;border:0}.squad-page--roster .squad-section-heading{padding:0 3px 12px;border:0;display:flex;justify-content:space-between;align-items:center}.squad-page--roster .squad-section-heading h3{font-size:20px;letter-spacing:0;text-transform:none;margin:0;color:#e6eefc}.squad-page--roster .squad-section-heading>span{font-size:10px;color:#e6eefc}.squad-page--roster .squad-list{padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;background:transparent}.squad-page--roster .squad-player{display:grid;grid-template-columns:32px 52px minmax(0,1fr) 14px;align-items:center;gap:12px;border:1px solid rgba(255,255,255,.14);border-radius:14px;padding:14px;background:rgba(255,255,255,.07);min-height:94px;width:100%;text-align:left;overflow:hidden;box-shadow:0 4px 14px #102b5406}.squad-page--roster .squad-player:hover{background:#edf3fd;border-color:#bacdeb;transform:translateY(-1px)}.squad-page--roster .squad-number{display:block;width:auto;min-width:0;height:auto;background:transparent;color:#e6eefc;font-size:23px;font-weight:750;padding:0;border:0;border-radius:0;text-align:center}.squad-avatar{position:relative;display:block;width:52px;height:62px;border-radius:10px;overflow:hidden;background:rgba(255,255,255,.07);color:#e6eefc}.squad-avatar svg{position:absolute;bottom:0;left:6px;width:40px;height:48px}.squad-avatar .player-photo{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain;object-position:center bottom;background:transparent}.squad-player-copy{display:flex;flex-direction:column;gap:5px;min-width:0}.squad-page--roster .squad-player-copy strong{font-size:13px;font-weight:750;line-height:1.4;color:#e6eefc;overflow-wrap:anywhere;padding:0}.squad-player-copy small{font-size:12px;color:#e6eefc;line-height:1.3}.squad-page--roster .squad-chevron{font-size:24px;color:#e6eefc;padding:0}@media(max-width:650px){.squad-page--roster .squad-list{grid-template-columns:1fr}.squad-page--roster .squad-header{padding:20px}.squad-page--roster .squad-header h2{font-size:27px}.squad-page--roster .squad-player{grid-template-columns:30px 48px minmax(0,1fr) 12px;gap:10px;padding:12px;min-height:86px}.squad-avatar{width:48px;height:58px}.squad-page--roster .squad-player-copy strong{font-size:12px}.squad-page--roster .squad-section-heading h3{font-size:18px}}

/* Consistent restrained surfaces and statistics typography */
.stats-leader{border:1px solid rgba(255,255,255,.14)!important;background:rgba(255,255,255,.07)!important;border-radius:16px!important;box-shadow:0 5px 18px #102b5408!important}.stats-leader::before,.stats-leader::after{display:none!important}.stats-leader-details strong,.stats-rank-details strong{color:#e6eefc!important}.stats-ranking-row:disabled{opacity:1;color:#e6eefc}.stats-rank-details small{line-height:1.5}.match-detail .detail-content{border-top:1px solid rgba(255,255,255,.14);padding-top:20px}.portal-page--players .squad-header{margin-top:0}.stats-board{overflow:hidden}.stats-board-header{border-bottom-width:3px!important}.stats-source-note{line-height:1.6}.stats-leader-fallback{font-size:28px!important;font-weight:750!important;letter-spacing:1px;color:#a5b5cc!important}

.match-team-stats{margin:16px 0 20px;border:1px solid rgba(255,255,255,.14);border-radius:12px;overflow:hidden}.match-team-stats-clubs{display:flex;justify-content:space-between;gap:15px;padding:12px;background:rgba(255,255,255,.07);font-size:12px;color:#e6eefc}.match-team-stat{display:grid;grid-template-columns:40px minmax(0,1fr) 40px;align-items:center;padding:12px;border-top:1px solid rgba(255,255,255,.14);text-align:center;font-size:13px}.match-team-stat b:first-child{color:#e6eefc}.match-team-stat b:last-child{color:#c62a49}.match-team-stat span{font-weight:650;color:#e6eefc}

.event-editor{min-width:0;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.14);border-radius:16px;padding:16px}.event-editor-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;flex-wrap:wrap}.event-editor-head h3{margin:0;color:#e6eefc}.event-editor-head p{font-size:12px;color:#e6eefc;margin:6px 0}.event-edit-row{display:grid;grid-template-columns:120px 90px minmax(140px,1fr) 90px 36px;align-items:end;gap:10px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.07);border-radius:12px;padding:12px;margin-bottom:10px}.event-edit-row label{font-size:12px;min-width:0}.event-edit-row input,.event-edit-row select{width:100%;min-width:0;box-sizing:border-box;font-size:14px;padding:10px}.event-remove{height:40px;border:0;border-radius:9px;background:#fde9ed;color:#bd2443;font-size:22px;cursor:pointer}.event-editor [data-event-list]:empty:after{content:'Belum ada rekod. Tekan + Tambah Rekod.';display:block;padding:15px;color:#e6eefc;font-size:13px}#matchEditForm input{max-width:100%;box-sizing:border-box}#matchEditForm small{font-size:12px;color:#e6eefc}@media(max-width:650px){.event-editor{padding:12px}.event-edit-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 34px;gap:9px}.event-edit-row label:nth-child(1){grid-column:1}.event-edit-row label:nth-child(2){grid-column:2}.event-edit-row .event-player{grid-column:1/3;grid-row:2}.event-edit-row label:nth-child(4){grid-column:1/3;grid-row:3}.event-remove{grid-column:3;grid-row:1/4;align-self:center}}

/* Portal UI refinement: consistent spacing, surfaces and controls. */
:root{--ui-ink:#142e52;--ui-muted:#718096;--ui-line:#e1e7ef;--ui-red:#c92746;--ui-radius:16px}
*{box-sizing:border-box}body{background:rgba(255,255,255,.07);color:var(--ui-ink);-webkit-font-smoothing:antialiased}
button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default}
[hidden]{display:none!important}
main{max-width:1120px}.portal-page-heading h1{letter-spacing:-1.1px}.portal-page-heading p{line-height:1.6}
.portal-eyebrow,.eyebrow{letter-spacing:2px;font-size:10px}
header{box-shadow:0 3px 16px #102b5410}header nav button{font-size:13px;border-radius:9px}
.portal-page .panel,.home-calendar,.portal-page .match-centre{border-radius:var(--ui-radius);box-shadow:0 5px 20px #132e5005}
.portal-page--matches .match-centre{padding:20px}.competition-caption{font-size:12px;line-height:1.6;color:var(--ui-muted)}
.compact-match{transition:border-color .15s,box-shadow .15s}.compact-match:hover{border-color:#b8c9e1;box-shadow:0 5px 16px #122f500b}
.compact-round{line-height:1.5;letter-spacing:.6px}.compact-aggregate{font-size:11px;line-height:1.4;color:#e6eefc}
.match-toolbar{gap:12px}.match-count{white-space:nowrap;font-size:11px}
.squad-search{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;align-items:center;margin:0 0 24px}
.squad-search label{grid-column:1/-1;font-weight:700;color:#e6eefc;font-size:12px}
.squad-search input{width:100%;min-width:0;border:1px solid #d5deea;border-radius:12px;padding:13px 15px;background:white;color:#e6eefc;outline:none}
.squad-search input:focus{border-color:#3767a8;box-shadow:0 0 0 3px #3767a81a}
.squad-search [data-squad-count]{font-size:11px;color:#e6eefc;white-space:nowrap}
.squad-search-empty{padding:25px 15px;text-align:center;color:#e6eefc;border:1px dashed #ced9e8;border-radius:12px;background:rgba(255,255,255,.07)}
.squad-page--roster .squad-header{background:#153762;border-radius:16px;padding:22px}
.squad-page--roster .squad-section-heading h3{font-size:19px}.squad-page--roster .squad-player{box-shadow:none;transition:background .15s,border-color .15s}
.stats-dashboard{padding:0 0 18px}.stats-heading h2{font-size:32px;letter-spacing:-1px;margin:9px 0}.stats-heading p{color:#e6eefc;font-size:14px}
.stats-board{border-radius:16px!important;padding:14px;background:rgba(255,255,255,.07)}.stats-board-header{background:#16365f!important;border-radius:11px 11px 0 0!important;padding:18px!important}
.stats-board-header h3{font-size:20px!important}.stats-board-header>span{font-size:10px!important;letter-spacing:.6px}
.stats-summary{gap:8px;padding:12px 0}.stats-summary>div{border-radius:11px!important;box-shadow:none!important;padding:14px 8px}
.stats-summary b{font-size:25px}.stats-summary small{font-size:9px;letter-spacing:.7px}
.stats-leader{margin:12px 0!important}.stats-rank-details small{font-size:10px!important}.stats-rank-list{border-radius:12px;overflow:hidden}
.stats-ranking-row{background:rgba(255,255,255,.07);border-bottom:1px solid rgba(255,255,255,.14)}.stats-ranking-row:hover{background:rgba(255,255,255,.07)}
.match-event-stats{border-radius:14px}.match-event-group{border-radius:11px}.match-event-stats-head p{line-height:1.6;font-size:12px}
.detail-top{padding:18px 20px}.detail-top>span{font-size:12px;letter-spacing:1.2px}.detail-matchmeta{font-size:13px;line-height:1.5}
.detail-summary{padding-top:26px!important}.match-event-person strong{line-height:1.45}
.form{gap:16px}.form label{font-size:13px;line-height:1.5;color:#e6eefc}.form input,.form select,.form textarea{border:1px solid #d7dfeb;border-radius:10px;min-width:0;padding:12px;background:rgba(255,255,255,.07);color:#e6eefc}
.form input:focus,.form select:focus,.form textarea:focus{outline:2px solid #3767a84d;outline-offset:1px}
.primary{background:#c92746;border:0;border-radius:10px;padding:12px 18px;font-weight:750}.secondary{border-radius:10px;padding:11px 16px}
.actions{gap:10px;flex-wrap:wrap}.notice{border-radius:10px;font-size:13px;line-height:1.6}.match-disclaimer,.profile-disclaimer{font-size:11px;line-height:1.7;color:#e6eefc}
button:focus-visible,a:focus-visible{outline:3px solid #4278bd;outline-offset:3px}
@media(max-width:680px){
main{padding:20px 14px 110px}.portal-page--matches .match-centre{padding:14px}
.portal-page-heading{margin:8px 0 20px}.portal-page-heading h1{font-size:30px}.portal-page-heading p{font-size:13px}
.home-calendar{padding:16px 12px}.home-calendar-head h2{font-size:25px}.home-calendar-head p{font-size:12px;line-height:1.6}
.squad-page--roster .squad-header h2{font-size:25px}.squad-page--roster .squad-header p{font-size:13px}
.squad-search{gap:8px}.squad-search input{font-size:16px;padding:12px}.squad-search [data-squad-count]{font-size:10px}
.stats-board{padding:10px}.stats-heading h2{font-size:30px}.stats-board-header{padding:15px!important}.stats-board-header h3{font-size:18px!important}
.detail-result b{font-size:34px}.detail-side strong{font-size:13px}.detail-matchmeta{font-size:12px}.match-event-person strong{font-size:12px}
.form input,.form select,.form textarea{font-size:16px}.event-edit-row input,.event-edit-row select{font-size:16px}
.mobile-bottom-nav{box-shadow:0 -3px 15px #132e5008}.mobile-tab-label{font-size:10px}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Larger portraits in the Players roster. */
.squad-page--roster .squad-player{grid-template-columns:32px 112px minmax(0,1fr) 14px;min-height:172px}
.squad-page--roster .squad-avatar{width:112px;height:140px;border-radius:12px}
.squad-page--roster .squad-avatar svg{left:10%;width:80%;height:80%}
@media(max-width:650px){
.squad-page--roster .squad-player{grid-template-columns:30px 88px minmax(0,1fr) 12px;min-height:134px}
.squad-page--roster .squad-avatar{width:88px;height:110px}
}
@media(min-width:651px) and (max-width:850px){
.squad-page--roster .squad-list{grid-template-columns:1fr}
}

.citizenship-item{display:inline-flex;align-items:center;gap:7px;margin:4px 16px 4px 0}.citizenship-item [role=img]{font-size:23px;line-height:1}.main-position h2{background:rgba(255,255,255,.07);padding:12px 18px;margin:-1px -1px 0}.main-position-body{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px}.main-position-body p{font-size:18px;color:#e6eefc}.main-position-body strong{display:block;margin-top:8px}.position-pitch{display:block;width:min(100%,310px);height:auto;flex-shrink:0}@media(max-width:520px){.main-position-body{flex-direction:column;align-items:stretch;padding:18px}.position-pitch{align-self:center;width:min(100%,270px)}}

.additional-player{width:100%;text-align:left;font:inherit;color:inherit;border:0;border-bottom:1px solid rgba(255,255,255,.14);background:transparent;cursor:pointer;padding:16px 0}.additional-player:hover{background:#f0f5fc}.additional-player:focus-visible{outline:2px solid #2456a5;outline-offset:3px}

.citizenship-flag{display:inline-block;width:28px;height:21px;object-fit:cover;border:1px solid rgba(255,255,255,.14);border-radius:2px;vertical-align:middle;flex-shrink:0}.profile-position{display:inline-flex;align-items:center;gap:7px}.player-position-icon{width:23px;height:23px;flex-shrink:0}.profile-club{display:flex;align-items:center;gap:8px;margin-top:12px;font-size:12px;font-weight:750}.profile-club .profile-club-logo{width:28px;height:32px;min-width:28px;background:transparent;border:0;border-radius:0}.profile-fields .profile-club{margin-top:0}.profile-hero-body{align-items:flex-start;padding-top:0}.profile-intro{padding-top:4px}.profile-intro .profile-team{display:block}.profile-edit-field [data-citizenship-preview]:empty{display:none}

.squad-position-filters{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 24px;padding:4px 0}.squad-position-filters button{font:inherit;font-size:14px;font-weight:750;color:#e6eefc;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.14);border-radius:9px;padding:11px 16px;cursor:pointer}.squad-position-filters button:hover{background:#eaf1fb}.squad-position-filters button[aria-pressed=true]{background:#19395f;border-color:#e6eefc;color:#fff}.squad-position-filters button:focus-visible{outline:3px solid #ed3c56;outline-offset:3px}.squad-page--roster [hidden]{display:none!important}@media(max-width:520px){.squad-position-filters{gap:6px;margin-bottom:18px}.squad-position-filters button{font-size:12px;padding:10px 12px}}

/* Player showcase: full portrait, identity, and the existing season data. */
.squad-profile--showcase{max-width:1120px}.squad-profile--showcase .profile-back{background:transparent;padding-left:0}.squad-profile--showcase .profile-hero{padding:0;border-radius:24px;background:radial-gradient(ellipse at 22% 20%,#b7c9f5 0,transparent 53%),linear-gradient(135deg,#eff3ff 0,#cbd9f6 48%,#5480c5 100%);color:#e6eefc;position:relative}.squad-profile--showcase .profile-hero-body{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:32px;padding:36px 36px 0;align-items:center;min-height:470px}.profile-portrait-stage{position:relative;align-self:stretch;min-height:440px;isolation:isolate;display:flex;align-items:flex-end;justify-content:center}.profile-watermark{position:absolute;inset:0;display:grid;place-items:center;font-size:clamp(160px,24vw,320px);line-height:1;font-weight:950;letter-spacing:-.08em;color:#fff6;z-index:-2}.profile-portrait-placeholder{position:absolute;bottom:0;height:86%;width:82%;color:#e6eefc;z-index:-1}.profile-portrait-stage .player-photo-hero{position:relative;width:100%;height:440px;max-height:none;object-fit:contain;object-position:center bottom;background:transparent;border-radius:0;mask-image:linear-gradient(#000 88%,transparent)}.profile-portrait-caption{position:absolute;bottom:19px;left:0;font-size:9px;font-weight:850;letter-spacing:.18em;color:#e6eefc;z-index:1}.squad-profile--showcase .profile-intro{padding:6px 0 35px}.squad-profile--showcase .profile-team{font-size:10px;font-weight:850;letter-spacing:.16em;color:#e6eefc}.profile-title-row{display:flex;align-items:center;gap:17px;margin:15px 0}.profile-display-number{font-size:78px;font-weight:950;letter-spacing:-.07em;line-height:1;color:#e82e4e;flex-shrink:0}.squad-profile--showcase .profile-intro h1{font-size:clamp(25px,3.3vw,42px);margin:0;line-height:1.08;letter-spacing:-.045em;color:#e6eefc}.squad-profile--showcase .profile-position{background:#fff8;color:#e6eefc;font-size:12px;padding:7px 10px}.profile-position-name{font-weight:500;border-left:1px solid #9db1ce;padding-left:8px}.squad-profile--showcase .profile-intro .profile-club{color:#e6eefc;margin:12px 0 18px}.profile-hero-summary{background:#102b50;color:#fff;border-radius:18px;padding:22px;box-shadow:0 14px 28px #153c7420}.profile-summary-label{font-size:9px;letter-spacing:.15em;font-weight:800;color:#a7bfdf}.profile-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:19px 24px;margin-top:16px}.profile-summary-grid>div{display:flex;flex-direction:column;gap:5px}.profile-summary-grid strong{font-size:29px;line-height:1;font-weight:850}.profile-summary-grid span{font-size:11px;color:#c8d7ed}.profile-statistics-link{display:inline-flex;align-items:center;gap:12px;margin-top:20px;color:#fff;font-size:12px;font-weight:750;text-decoration:underline;text-underline-offset:4px}.profile-details-layout{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:18px;margin-top:22px}.squad-profile--showcase .profile-details-layout .profile-panel{margin:0;padding:25px;border-radius:20px}.profile-section-kicker{display:block;color:#e6eefc;font-size:9px;letter-spacing:.16em;font-weight:850;margin-bottom:9px}.squad-profile--showcase .profile-panel h2{font-size:23px;letter-spacing:-.03em}.squad-profile--showcase .profile-fields{gap:10px}.squad-profile--showcase .profile-fields>div{padding:14px}.squad-profile--showcase .main-position h2{margin:0;background:transparent;padding:0}.squad-profile--showcase .main-position-body{padding:0;flex-direction:column;align-items:stretch;gap:14px}.squad-profile--showcase .main-position-body p{font-size:13px;margin:0}.squad-profile--showcase .main-position-body strong{display:inline;margin-left:8px}.squad-profile--showcase .position-pitch{width:180px;max-width:100%;align-self:center;margin-top:3px;border-radius:4px}.squad-profile--showcase .profile-complete-statistics{background:#102b50;border:0;padding:28px;border-radius:20px;scroll-margin-top:24px}.squad-profile--showcase .profile-complete-statistics h2{color:#fff}.profile-complete-statistics .profile-section-kicker{color:#a7bfdf}.profile-complete-statistics .profile-stat{background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.14);text-align:left;padding:22px}.profile-complete-statistics .profile-stat strong{color:#fff;font-size:38px}.profile-complete-statistics .profile-stat span{color:#c1d2ea;font-size:10px}.profile-complete-statistics .profile-note{color:#a7bfdf}.squad-profile--showcase .profile-actions{margin:18px 0 0}
@media(max-width:760px){.squad-profile--showcase .profile-hero-body{gap:18px;padding:24px 22px 0;min-height:400px;grid-template-columns:minmax(0,.8fr) minmax(0,1fr)}.profile-portrait-stage{min-height:380px}.profile-portrait-stage .player-photo-hero{height:380px}.profile-title-row{gap:10px}.profile-display-number{font-size:60px}.squad-profile--showcase .profile-intro h1{font-size:26px}.profile-hero-summary{padding:16px}.profile-details-layout{grid-template-columns:1fr}.squad-profile--showcase .main-position-body{flex-direction:row;align-items:center;justify-content:space-between}.squad-profile--showcase .position-pitch{width:150px}.profile-position-name{font-size:10px}}
@media(max-width:520px){.squad-profile--showcase .profile-hero-body{grid-template-columns:1fr;padding:24px 20px 0;gap:0}.profile-portrait-stage{min-height:290px;grid-row:1}.profile-portrait-stage .player-photo-hero{height:290px;width:90%}.profile-watermark{font-size:250px}.profile-portrait-caption{bottom:12px;left:4px;font-size:8px}.squad-profile--showcase .profile-intro{padding:18px 0 22px}.profile-title-row{margin:12px 0}.squad-profile--showcase .profile-intro h1{font-size:28px}.profile-display-number{font-size:70px}.profile-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.profile-summary-grid strong{font-size:25px}.profile-summary-grid span{font-size:9px;line-height:1.4}.squad-profile--showcase .profile-details-layout .profile-panel{padding:20px}.squad-profile--showcase .profile-complete-statistics{padding:22px 18px}.profile-complete-statistics .profile-stat{padding:18px 12px}.profile-complete-statistics .profile-stat strong{font-size:32px}.squad-profile--showcase .main-position-body{gap:12px}.squad-profile--showcase .position-pitch{width:130px}.squad-profile--showcase .main-position-body strong{display:block;margin:6px 0 0}}

.profile-detail-tabs{display:flex;gap:8px;margin:24px 0 0;padding:6px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.07);border-radius:13px}.profile-detail-tabs button{flex:1;border:0;background:transparent;color:#e6eefc;border-radius:9px;padding:13px 16px;font:inherit;font-size:13px;font-weight:800;cursor:pointer}.profile-detail-tabs button[aria-pressed=true]{background:#102b50;color:#fff;box-shadow:0 4px 12px #102b5022}.profile-detail-tabs button:focus-visible{outline:3px solid #e82e4e;outline-offset:2px}.squad-profile--showcase [data-profile-panel][hidden]{display:none!important}.profile-history-panel{min-height:220px;padding:30px}.profile-history-empty{color:#e6eefc;font-size:14px;line-height:1.7;padding:20px 0}.profile-career-list{max-width:760px}.profile-career-row{display:flex;justify-content:space-between;gap:24px;padding:20px 0;border-bottom:1px solid rgba(255,255,255,.14);color:#e6eefc;font-size:14px}.profile-career-row span{color:#e6eefc;text-align:right;white-space:pre-wrap}.profile-honours-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.profile-honour-card{border:1px solid rgba(255,255,255,.14);background:#f3f6fc;border-radius:15px;padding:22px}.profile-honour-card>div{display:flex;justify-content:space-between;align-items:center;gap:12px}.profile-honour-card strong{font-size:48px;line-height:1;color:#e82e4e}.profile-honour-card svg{width:42px;height:42px;color:#e6eefc}.profile-honour-card h3{font-size:15px;color:#e6eefc;line-height:1.4;margin:20px 0 6px;overflow-wrap:anywhere}.profile-honour-card p{color:#e6eefc;font-size:12px;margin:0}.profile-history-edit{grid-column:1/-1}.profile-history-edit>span{font-size:11px;font-weight:500;line-height:1.5;color:#e6eefc}.profile-history-edit textarea{font:inherit;font-size:13px;line-height:1.8;padding:12px;border:1px solid rgba(255,255,255,.14);border-radius:9px;resize:vertical;min-height:120px;background:rgba(255,255,255,.07);color:#e6eefc}@media(max-width:650px){.profile-honours-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-history-panel{padding:22px}.profile-detail-tabs button{padding:12px 8px;font-size:12px}.profile-honour-card{padding:16px}.profile-honour-card strong{font-size:38px}}@media(max-width:360px){.profile-honours-grid{grid-template-columns:1fr}}

.honour-trophy-image{width:64px;height:76px;object-fit:contain;flex-shrink:0}.profile-honour-card [hidden]{display:none!important}.profile-honour-card>div>span{display:flex;align-items:center}

.profile-detail-tabs button{scroll-margin-block:110px}

.profile-overview-heading{font-size:25px;color:#e6eefc;letter-spacing:-.03em;margin:28px 0 0}.profile-history-panel{scroll-margin-top:24px}.squad-profile--showcase [data-profile-panel]{display:block}

.profile-career-row{align-items:center}.profile-career-club{display:flex;align-items:center;gap:12px;min-width:0}.profile-career-club>span:last-child{overflow-wrap:anywhere}.profile-career-club .career-club-logo{width:34px;height:38px;min-width:34px;background:transparent;border:0;border-radius:0}

/* Portrait cards for the Players roster. */
.squad-page--roster .squad-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.squad-page--roster .squad-player--portrait{position:relative;display:block;isolation:isolate;aspect-ratio:4/5;min-height:0;height:auto;padding:0;border:0;border-radius:22px;overflow:hidden;background:radial-gradient(ellipse at 50% 8%,#f2f4ff 0,transparent 65%),linear-gradient(180deg,#d0d9f7 0%,#7894de 54%,#193d83 100%);box-shadow:0 12px 30px #142e5c12;transition:transform .2s,box-shadow .2s}.squad-page--roster .squad-player--portrait:hover{background:radial-gradient(ellipse at 50% 8%,#f2f4ff 0,transparent 65%),linear-gradient(180deg,#d0d9f7 0%,#7894de 54%,#193d83 100%);transform:translateY(-4px);box-shadow:0 18px 34px #142e5c24}.squad-player--portrait::after{content:"";position:absolute;inset:35% 0 0;background:linear-gradient(transparent,#102a5055 44%,#0b2146f5 100%);z-index:1;pointer-events:none}.squad-page--roster .squad-player--portrait .squad-avatar{position:absolute;inset:0;display:block;width:100%;height:100%;border-radius:0;background:transparent;color:#e6eefc}.squad-page--roster .squad-player--portrait .squad-avatar svg{width:80%;height:85%;left:10%;bottom:0}.squad-player--portrait .squad-avatar .player-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center top;border-radius:0;transition:transform .3s}.squad-player--portrait:hover .squad-avatar .player-photo{transform:scale(1.025)}.squad-page--roster .squad-player--portrait .squad-number{position:absolute;bottom:24px;left:22px;z-index:2;color:#fff;font-size:clamp(40px,4.4vw,58px);font-weight:900;line-height:.9;letter-spacing:-.06em;min-width:48px;text-align:left;text-shadow:0 2px 10px #071a3930}.squad-player--portrait .squad-player-copy{position:absolute;bottom:23px;left:88px;right:18px;gap:5px;z-index:2}.squad-page--roster .squad-player--portrait .squad-player-copy strong{font-size:16px;line-height:1.2;font-weight:850;color:#fff;letter-spacing:-.02em;overflow-wrap:anywhere}.squad-player--portrait .squad-player-copy small{color:#e3edff;font-size:12px;line-height:1.3}.squad-page--roster .squad-player--portrait .squad-chevron{position:absolute;right:16px;top:16px;z-index:2;display:grid;place-items:center;width:30px;height:30px;border:1px solid rgba(255,255,255,.14);border-radius:50%;background:#102b5020;color:white;font-size:23px}.squad-page--roster .squad-section{margin-bottom:36px}.squad-page--roster .squad-section-heading{padding-bottom:18px}.squad-page--roster .squad-section-heading h3{font-size:25px;letter-spacing:-.03em}@media(max-width:1000px){.squad-page--roster .squad-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}}@media(max-width:520px){.squad-page--roster .squad-list{grid-template-columns:1fr;gap:18px}.squad-page--roster .squad-player--portrait{aspect-ratio:4/5;border-radius:19px}.squad-page--roster .squad-player--portrait .squad-number{font-size:54px;left:21px}.squad-page--roster .squad-player--portrait .squad-player-copy strong{font-size:18px}.squad-player--portrait .squad-player-copy{left:88px;right:20px}.squad-player--portrait .squad-player-copy small{font-size:13px}.squad-page--roster .squad-section-heading h3{font-size:23px}}

.home-section-tabs{display:flex;gap:8px;margin:0 0 22px}.home-section-tabs button{font:inherit;font-size:13px;font-weight:800;padding:12px 20px;border:1px solid rgba(255,255,255,.14);border-radius:10px;background:rgba(255,255,255,.07);color:#e6eefc;cursor:pointer}.home-section-tabs button.active{background:#102b50;color:#fff}.club-honours-page{max-width:1160px;margin:auto}.club-honours-hero{display:flex;justify-content:flex-start;align-items:center;gap:22px;background:linear-gradient(120deg,#0b2144,#1b4c8a);border-radius:20px;padding:30px;color:white;margin-bottom:26px;min-height:0}.club-honours-hero .honours-club-crest{width:76px;height:84px;min-width:76px;background:rgba(255,255,255,.07);border-radius:14px}.club-honours-hero span{font-size:10px;letter-spacing:.14em;color:#c3d4ed}.club-honours-hero h1{font-size:34px;margin:9px 0;color:#fff}.club-honours-hero p{font-size:13px;margin:0;color:#d4e0f2}.club-honours-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:22px;align-items:start}.club-honours-layout h2{background:#102b50;color:#fff;text-transform:uppercase;font-size:17px;margin:0;padding:14px 18px;letter-spacing:.03em}.club-victories-label{background:rgba(255,255,255,.07);margin:0 0 18px;padding:13px 18px;color:#e6eefc;font-size:13px}.club-trophy-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.club-trophy-card{background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.14);border-radius:12px;overflow:hidden}.club-trophy-card h3{font-size:17px;line-height:1.5;color:#e6eefc;font-weight:650;padding:18px;margin:0;border-bottom:1px solid rgba(255,255,255,.14);min-height:87px}.club-trophy-card h3>span{font-size:24px;font-weight:850}.club-trophy-body{display:flex;align-items:center;gap:20px;padding:24px 18px}.club-trophy-body>strong{font-size:16px;color:#e6eefc}.club-trophy-art{display:grid;place-items:center;min-width:75px;width:90px;height:140px;color:#e6eefc}.club-trophy-art img{width:100%;height:140px;object-fit:contain}.club-trophy-art svg{width:75px;height:110px}.club-trophy-art [hidden]{display:none!important}.club-all-titles{background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.14);border-radius:12px;overflow:hidden}.club-all-titles table{width:100%;border-collapse:collapse;font-size:13px}.club-all-titles th{background:rgba(255,255,255,.07);color:#e6eefc;text-align:left;padding:14px}.club-all-titles td{padding:14px;border-top:1px solid rgba(255,255,255,.14);color:#e6eefc;white-space:normal}.club-all-titles td:first-child{width:75px}.club-all-titles td:last-child{display:flex;align-items:center;gap:10px}.club-title-icon{display:inline-flex;align-items:center;justify-content:center;width:22px;min-width:22px;color:#e6eefc}.club-title-icon svg{width:20px;height:27px}.club-title-icon.promotion{font-size:30px;line-height:1;color:#e6eefc}@media(max-width:900px){.club-honours-layout{grid-template-columns:1fr}}@media(max-width:520px){.club-honours-hero{padding:22px 18px;gap:14px}.club-honours-hero h1{font-size:27px}.club-honours-hero .honours-club-crest{width:54px;height:64px;min-width:54px}.club-trophy-grid{grid-template-columns:1fr}.club-trophy-card h3{min-height:0}.club-trophy-body{padding:18px;justify-content:flex-start;gap:35px}.club-all-titles td,.club-all-titles th{padding:12px 10px}}

.portal-page--about .club-honours-page{margin-top:24px}.club-honours-hero .club-honours-heading{font-size:34px;margin:9px 0;color:#fff;line-height:1.15}@media(max-width:520px){.club-honours-hero .club-honours-heading{font-size:27px}}

.video-source-credit{font-size:12px;line-height:1.7;color:#e6eefc;margin:12px 0 0}.video-source-credit a{color:#e6eefc;font-weight:700;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}.video-source-credit a:hover{color:#ce2848}.video-source-credit a:focus-visible{outline:2px solid #ce2848;outline-offset:3px}.match-video>.video-source-credit{padding:13px 18px;margin:0;background:rgba(255,255,255,.07);border-top:1px solid rgba(255,255,255,.14)}footer .video-source-credit{font-size:11px;margin-top:8px}

/* Compact roster: six portrait cards per desktop row. */
.squad-page--roster .squad-list{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.squad-page--roster .squad-player--portrait{aspect-ratio:3/5;border-radius:15px}.squad-page--roster .squad-player--portrait .squad-number{top:13px;left:12px;bottom:auto;font-size:30px;min-width:0;text-shadow:0 2px 10px #071a3980}.squad-player--portrait .squad-player-copy{left:12px;right:12px;bottom:14px;gap:5px}.squad-page--roster .squad-player--portrait .squad-player-copy strong{font-size:12px;line-height:1.3}.squad-player--portrait .squad-player-copy small{font-size:10px}.squad-page--roster .squad-player--portrait .squad-chevron{right:10px;top:12px;width:23px;height:23px;font-size:19px}.squad-player--portrait::after{inset:28% 0 0;background:linear-gradient(transparent,#102a5040 30%,#0b2146f5 100%)}
@media(max-width:1000px){.squad-page--roster .squad-list{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:760px){.squad-page--roster .squad-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}}
@media(max-width:520px){.squad-page--roster .squad-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.squad-page--roster .squad-player--portrait{aspect-ratio:3/5;border-radius:14px}.squad-page--roster .squad-player--portrait .squad-number{font-size:30px;left:11px}.squad-player--portrait .squad-player-copy{left:11px;right:10px;bottom:13px}.squad-page--roster .squad-player--portrait .squad-player-copy strong{font-size:12px}.squad-player--portrait .squad-player-copy small{font-size:10px}}

/* Use the available desktop width consistently across every page. */
@media(min-width:1001px){
#app>header{padding-left:clamp(24px,3vw,56px);padding-right:clamp(24px,3vw,56px)}
#app>main{width:100%;max-width:none;padding-left:clamp(24px,3vw,56px);padding-right:clamp(24px,3vw,56px)}
.portal-page{width:100%;min-width:0}
.portal-page :is(.club-home,.match-detail,.squad-page,.squad-profile,.squad-profile--showcase,.squad-stats,.stats-dashboard,.club-honours-page){width:100%;max-width:none;margin-left:0;margin-right:0}
.squad-page--roster .squad-player--portrait .squad-player-copy strong{font-size:clamp(12px,.9vw,17px)}
.squad-player--portrait .squad-player-copy small{font-size:clamp(10px,.72vw,13px)}
}

.publish-status{margin:0 clamp(14px,3vw,56px) 25px;padding:16px 20px;border:1px solid #d5e1ef;border-radius:12px;background:rgba(255,255,255,.07);color:#e6eefc;font-size:13px}.publish-status p{margin:0 0 12px;line-height:1.6}.publish-status p[data-state=error]{color:#e6eefc}.publish-status p[data-state=success]{color:#1a7045}.publish-status>div{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.publish-status a{color:#e6eefc}.publish-status button{border:0;border-radius:8px;padding:10px 14px;background:#14365e;color:#fff;font-weight:750}.publish-status button:disabled{opacity:.55;cursor:wait}@media(max-width:1000px){.publish-status{margin-bottom:100px}}

.video-playlist-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.video-playlist-actions a,.video-picker-external{font-size:12px;color:#e6eefc;font-weight:750}.match-video-picker{width:min(860px,calc(100vw - 28px));max-height:90dvh;overflow:auto;padding:24px;border:1px solid rgba(255,255,255,.14);border-radius:20px;background:rgba(255,255,255,.07);color:#e6eefc;box-shadow:0 24px 90px #071a3955}.match-video-picker::backdrop{background:#061731b8;backdrop-filter:blur(4px)}.video-picker-top{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:18px}.video-picker-top span{font-size:9px;letter-spacing:.15em;color:#e6eefc;font-weight:850}.video-picker-top h2{margin:7px 0 0;font-size:23px}.video-picker-top button{flex-shrink:0;border:0;border-radius:50%;width:36px;height:36px;background:rgba(255,255,255,.07);color:#e6eefc;font-size:26px}.video-picker-preview{aspect-ratio:16/9;background:#102b50;border-radius:12px;overflow:hidden}.video-picker-preview iframe{width:100%;height:100%;border:0}.video-picker-instruction{font-size:13px;color:#e6eefc;line-height:1.7;margin:16px 0 10px}#videoPickerForm{margin-top:20px}#videoPickerForm label{display:block;font-size:13px;font-weight:800;margin-bottom:8px}#videoPickerForm input{width:100%;border:1px solid #ccd9e9;background:rgba(255,255,255,.07);border-radius:9px;padding:12px;font-size:14px;color:#e6eefc}.video-picker-error{color:#e6eefc;font-size:12px;line-height:1.5}.video-picker-error:empty{display:none}.video-picker-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:15px}@media(max-width:520px){.match-video-picker{padding:16px;border-radius:15px}.video-picker-top h2{font-size:19px}.video-playlist-actions{gap:12px}#videoPickerForm input{font-size:16px}}

.local-save-notice{margin:0 0 18px;padding:12px 16px;background:rgba(255,255,255,.07);border:1px solid #c8e4d2;border-radius:10px;color:#e6eefc;font-size:13px;line-height:1.6}

.squad-page--roster .squad-player--portrait .squad-number{color:#d61f40;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.14);border-radius:8px;padding:5px 7px;text-shadow:none;font-size:28px;line-height:1;box-shadow:0 3px 12px #102b5015}.squad-player--portrait .squad-player-copy small{display:flex;align-items:center;gap:5px}.squad-player--portrait .squad-player-copy .player-position-icon{width:16px;height:16px;flex:0 0 16px}.squad-player--portrait .squad-player-copy small>span{min-width:0;overflow-wrap:anywhere}

.match-stat-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}.match-stat-team{min-width:0}.match-stat-team-heading{display:flex;align-items:center;gap:10px;min-height:54px;padding:10px 14px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.14);border-radius:12px;margin-bottom:12px}.match-stat-team-heading strong{font-size:14px;color:#e6eefc;overflow-wrap:anywhere}.match-stat-team-heading .match-stat-crest{width:30px;height:34px;min-width:30px;background:transparent;border:0;border-radius:0}.match-stat-team--away .match-stat-team-heading{flex-direction:row-reverse;text-align:right}.match-team-event-groups{display:grid;gap:12px}.match-stat-team .match-event-group{min-width:0;overflow:hidden}.match-record{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:15px;border-top:1px solid rgba(255,255,255,.14);min-height:58px}.match-record-player{min-width:0}.match-record-player strong{font-size:12px;line-height:1.5;color:#e6eefc;overflow-wrap:anywhere}.match-record-minute{font-size:13px;line-height:1.4;color:#d32247;white-space:nowrap;flex-shrink:0}.match-stat-team--away .match-record{flex-direction:row-reverse;text-align:right}.match-assists-section{margin-top:24px;padding-top:20px;border-top:1px solid rgba(255,255,255,.14)}.match-assists-section>h4{margin:0 0 14px;font-size:19px;color:#e6eefc}.match-unassigned-events{margin-top:18px;display:grid;gap:10px}.match-unassigned-events>h4{margin:0;font-size:14px;color:#e6eefc}@media(max-width:650px){.match-stat-columns{gap:10px}.match-stat-team-heading{padding:8px;gap:6px;min-height:50px}.match-stat-team-heading strong{font-size:11px}.match-stat-team-heading .match-stat-crest{width:24px;height:28px;min-width:24px}.match-stat-team .match-event-group-title{padding:10px 8px;gap:5px;font-size:11px;flex-wrap:wrap}.match-stat-team .match-event-group-title strong{font-size:11px}.match-stat-team .match-event-total{font-size:10px;padding:3px 5px}.match-record{padding:11px 8px;gap:7px;align-items:flex-start}.match-record-player strong{font-size:10px}.match-record-minute{font-size:11px}.match-stat-team .match-event-unavailable{padding:12px 8px;font-size:10px;line-height:1.6}}

.match-event-list{border:1px solid rgba(255,255,255,.14);border-radius:12px;overflow:hidden;background:#f7f9fd}.match-event-list .match-record:first-child{border-top:0}.match-record-icon{display:inline-flex;align-items:center;justify-content:center;width:22px;flex:0 0 22px;font-size:16px;line-height:1.4}.match-event-list .match-record-player{flex:1}.match-event-list .match-event-unavailable{margin:0}.match-event-list .match-record-icon--assist{font-size:20px;color:#e6eefc}@media(max-width:650px){.match-record-icon{width:16px;flex-basis:16px;font-size:12px}.match-event-list .match-record{gap:5px}.match-event-list .match-record-icon--assist{font-size:16px}}

.match-event-list .match-record-player{display:flex;align-items:flex-start;gap:7px}.match-event-list .match-record-player strong{min-width:0}.match-stat-team--away .match-record-player{flex-direction:row-reverse}.match-record-icon svg{display:block;width:18px;height:18px;flex-shrink:0}.match-record-icon{color:#e6eefc;align-self:flex-start}.match-record-icon--assist{color:#e6eefc}@media(max-width:650px){.match-event-list .match-record-player{gap:5px}.match-record-icon svg{width:14px;height:14px}}

.match-timeline-headings,.match-timeline-row{display:grid;grid-template-columns:minmax(0,1fr) 68px minmax(0,1fr);gap:12px}.match-timeline-headings{align-items:stretch;margin-bottom:12px}.match-timeline-headings .match-stat-team-heading{margin:0;min-width:0}.match-stat-team-heading--away{flex-direction:row-reverse;text-align:right}.match-timeline{border:1px solid rgba(255,255,255,.14);border-radius:12px;overflow:hidden;background:#f7f9fd}.match-timeline-row{align-items:center;min-height:62px;padding:12px 16px;border-top:1px solid rgba(255,255,255,.14);position:relative}.match-timeline-row:first-child{border-top:0}.match-timeline-row::before{content:"";position:absolute;top:0;bottom:0;left:50%;width:1px;background:rgba(255,255,255,.07);pointer-events:none}.match-timeline-team{min-width:0;display:grid;gap:10px}.match-timeline-minute{position:relative;z-index:1;display:block;text-align:center;background:#f7f9fd;color:#d32247;font-size:13px;white-space:nowrap;padding:5px 0;line-height:1.5}.match-timeline .match-record-player{display:flex;gap:8px;align-items:flex-start;min-width:0}.match-timeline .match-record-player strong{font-size:12px;line-height:1.5;min-width:0;overflow-wrap:anywhere;color:#e6eefc}.match-timeline-team--away .match-record-player{flex-direction:row-reverse;text-align:right}@media(max-width:650px){.match-timeline-headings,.match-timeline-row{grid-template-columns:minmax(0,1fr) 46px minmax(0,1fr);gap:5px}.match-timeline-row{padding:11px 8px;min-height:60px}.match-timeline-minute{font-size:11px}.match-timeline .match-record-player{gap:4px}.match-timeline .match-record-player strong{font-size:10px}.match-timeline-headings .match-stat-team-heading{padding:8px 6px;gap:5px}.match-timeline-headings .match-stat-team-heading strong{font-size:10px}.match-timeline-headings .match-stat-crest{width:22px;height:26px;min-width:22px}}

.event-editor-tabs{display:flex;gap:8px;margin:4px 0 18px}.event-editor-tabs button{font:inherit;font-size:13px;font-weight:800;border:1px solid rgba(255,255,255,.14);border-radius:9px;padding:11px 18px;background:rgba(255,255,255,.07);color:#e6eefc}.event-editor-tabs button[aria-pressed=true]{background:#16375f;color:#fff;border-color:#e6eefc}.event-editor [data-event-list][hidden]{display:none!important}.match-editor-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;align-items:stretch}.match-editor-actions button{white-space:normal;line-height:1.5;min-width:0}.match-editor-actions [data-add-event]:focus-visible{outline:3px solid #e82e4e;outline-offset:3px}@media(max-width:520px){.match-editor-actions{gap:7px}.match-editor-actions button{font-size:11px;padding:10px 7px}.event-editor-tabs button{flex:1;padding:11px 10px}}

.event-editor-tabs button,.match-editor-actions button{scroll-margin-block:110px}

.player-competition-breakdown{margin-top:22px;overflow-x:auto;border:1px solid rgba(255,255,255,.14);border-radius:12px}.player-competition-breakdown table{width:100%;min-width:440px;color:#fff}.player-competition-breakdown caption{text-align:left;padding:14px;font-size:13px;font-weight:800;color:#d6e4f6}.player-competition-breakdown th,.player-competition-breakdown td{padding:13px 12px;border-bottom:1px solid rgba(255,255,255,.14);font-size:12px;color:#e2ecfa}.player-competition-breakdown td{text-align:center;font-weight:750}.player-competition-breakdown thead th{text-align:center;background:rgba(255,255,255,.07)}.player-competition-breakdown thead th:first-child{text-align:left}.player-competition-breakdown tr[data-player-competition=all]{background:rgba(255,255,255,.07);font-weight:850}

.stats-goal-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.stats-goal-row {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr) auto minmax(0, .85fr);
  align-items: center;
  gap: .65rem;
  padding: .8rem .6rem;
  border-bottom:1px solid rgba(255,255,255,.14);
}
.stats-goal-row:last-child { border-bottom:0; }
.stats-goal-minute {
  color:#e6eefc;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.stats-goal-scorer,
.stats-goal-opponent { overflow-wrap: anywhere; }
.stats-goal-vs {
  color:#e6eefc;
  font-size: .75rem;
}
.stats-goal-opponent {
  display: flex;
  align-items: center;
  gap: .5rem;
  min-width: 0;
  color:#e6eefc;
  font-size: .82rem;
  font-weight: 750;
}
.stats-goal-opponent small {
  display: block;
  margin-top: .15rem;
  color:#e6eefc;
  font-size: .7rem;
  font-weight: 500;
}
.club-logo.stats-goal-crest {
  width: 2rem;
  height: 2rem;
  border-radius:.35rem;
}
.stats-goal-empty {
  padding: .7rem .6rem;
  color:#e6eefc;
}
@media (max-width: 600px) {
  .portal-page--stats .stats-category-tabs {
    flex-wrap: wrap;
    gap: 0 .65rem;
  }
  .stats-goal-row {
    grid-template-columns: 2.7rem minmax(0, 1fr) auto minmax(0, 1fr);
    gap: .35rem;
    padding-inline: .15rem;
    font-size: .8rem;
  }
  .stats-goal-opponent {
    gap: .3rem;
    font-size: .73rem;
  }
  .club-logo.stats-goal-crest {
    width: 1.55rem;
    height: 1.55rem;
  }
}

.three-goal-filters{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(130px,.7fr) minmax(260px,1fr);gap:15px;margin:18px 0 10px}.three-goal-filters label,.three-goal-half>span{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:800;color:#e6eefc}.three-goal-filters input,.three-goal-filters select{width:100%;min-width:0;font:inherit;font-size:13px;font-weight:500;padding:11px 12px;border:1px solid #d7e1ef;border-radius:9px;background:#f7f9fd;color:#e6eefc}.three-goal-half>div{display:flex;gap:5px;margin-top:7px}.three-goal-half button{font:inherit;font-size:12px;font-weight:750;padding:12px 10px;border:1px solid #d7e1ef;border-radius:8px;background:rgba(255,255,255,.07);color:#e6eefc;white-space:nowrap}.three-goal-half button[aria-pressed=true]{background:#19395f;color:#fff;border-color:#e6eefc}.three-goal-count{font-size:12px;color:#e6eefc;margin:14px 0}.stats-goal-scorer small{display:block;font-size:10px;font-weight:500;color:#e6eefc;margin-top:4px}.stats-goal-row[hidden],.stats-goal-empty[hidden]{display:none!important}@media(max-width:950px){.three-goal-filters{grid-template-columns:minmax(0,1fr) minmax(130px,.6fr)}.three-goal-half{grid-column:1/-1}}@media(max-width:520px){.three-goal-filters{grid-template-columns:1fr;gap:12px}.three-goal-filters input,.three-goal-filters select{font-size:16px}.three-goal-half>div{width:100%}.three-goal-half button{flex:1;padding:11px 8px}}

.three-goal-filters{grid-template-columns:minmax(0,1.25fr) minmax(125px,.65fr) minmax(125px,.65fr) minmax(260px,1fr)}@media(max-width:1200px){.three-goal-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.three-goal-half{grid-column:auto}}@media(max-width:520px){.three-goal-filters{grid-template-columns:1fr}.three-goal-half{grid-column:1/-1}}

/* Phone kickoff notifications: explicit opt-in, readable status, no automatic permission prompt. */
.header-tools{display:flex;align-items:center;gap:12px;flex-shrink:0}
.notification-launcher{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:42px;padding:9px 12px;border:1px solid rgba(255,255,255,.14);border-radius:12px;background:rgba(255,255,255,.07);color:white;font:inherit;font-size:12px;font-weight:750}
.notification-launcher svg{width:19px;height:19px;flex:none}
.notification-dialog{max-width:480px;width:calc(100% - 32px);max-height:calc(100dvh - 40px);overflow-y:auto;padding:28px;border:1px solid rgba(255,255,255,.14);border-radius:24px;background:rgba(255,255,255,.07);color:#e6eefc;box-shadow:0 24px 100px #071b3b50}
.notification-dialog::backdrop{background:#071b3b8c;backdrop-filter:blur(5px)}
.notification-dialog-top{display:flex;justify-content:space-between;align-items:center}.notification-dialog-icon{display:grid;place-items:center;width:54px;height:54px;background:#eaf0fb;border-radius:16px;color:#e6eefc}.notification-dialog-icon svg{width:28px;height:28px}
.notification-close{display:grid;place-items:center;width:36px;height:36px;border:0;border-radius:50%;background:rgba(255,255,255,.07);color:#e6eefc;font-size:24px}
.notification-kicker{font-size:10px;font-weight:850;letter-spacing:.14em;color:#d51e40;margin:24px 0 10px}.notification-dialog h2{font-size:29px;line-height:1.15;letter-spacing:-.04em;margin:0 0 14px}.notification-description{font-size:14px;line-height:1.7;color:#e6eefc}.notification-status{background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.14);border-radius:14px;padding:15px;font-size:14px;line-height:1.6;min-height:78px}.notification-status[data-error=true]{background:#fff0f2;color:#e6eefc;border-color:#f3d1d9}.notification-actions{display:flex;gap:10px;margin:20px 0}.notification-actions button{min-height:48px;width:100%;font-size:14px}.notification-actions button:disabled{opacity:.55;cursor:default}.notification-footnote{font-size:11px;line-height:1.7;color:#e6eefc;margin:0}.notification-dialog [hidden]{display:none!important}
@media(max-width:800px){.header-tools{position:absolute;right:15px;top:17px;gap:8px}.header-tools .header-season{display:none}.notification-launcher{padding:8px;min-height:38px}.notification-launcher span{display:none}.notification-dialog{padding:22px}}

/* Statistik: gambar pemain diletakkan di tengah kotak */
.stats-leader-photo{position:relative;overflow:hidden}
.stats-leader-photo .stats-feature-photo{position:absolute;inset:0;width:100%;height:100%;margin:0;border-radius:0;background:transparent;object-fit:contain;object-position:center;z-index:1}
.stats-leader-photo .stats-leader-fallback{position:absolute;inset:0;display:grid;place-items:center;z-index:0}
.stats-rank-avatar{position:relative}
.stats-rank-avatar .stats-thumb{position:absolute;inset:0;width:100%;height:100%;margin:0;border-radius:0;background:transparent;object-fit:contain;object-position:center}

/* Three Goals: gambar pemain di sebelah nama */
.stats-goal-row{grid-template-columns:3.5rem 48px minmax(0,1fr) auto minmax(0,.85fr)}
.stats-goal-photo-wrap{position:relative;display:block;width:48px;height:52px;border-radius:9px;background:rgba(255,255,255,.07);overflow:hidden}
.stats-goal-photo{position:absolute;inset:0;width:100%;height:100%;margin:0;border-radius:0;background:transparent;object-fit:contain;object-position:center}

/* ===== Profil pemain: reka bentuk semula (tanpa perubahan data/markup) ===== */
.squad-profile--showcase{--pf-ink:#0f2747;--pf-muted:#6b7a90;--pf-line:#e6ecf4;--pf-tile:#f5f8fc;--pf-red:#e11d48;--pf-blue:#1d4ed8;color:var(--pf-ink)}
.squad-profile--showcase .profile-back{background:rgba(255,255,255,.07);border:1px solid var(--pf-line);border-radius:999px;padding:9px 14px;font-size:12px;box-shadow:0 1px 2px #0f274708}
.squad-profile--showcase .profile-hero{border-radius:28px;box-shadow:0 18px 40px -22px #0f274733;background:radial-gradient(120% 90% at 0% 0%,rgba(255,255,255,.07) 0,transparent 55%),linear-gradient(160deg,#e8effc 0,#c3d4f5 45%,#6f97d6 100%)}
.squad-profile--showcase .profile-hero-body{gap:28px;padding:28px 28px 0}
.squad-profile--showcase .profile-portrait-stage .player-photo-hero{height:400px}
.squad-profile--showcase .profile-watermark{color:#ffffff99;font-size:clamp(150px,22vw,280px)}
.squad-profile--showcase .profile-portrait-caption{font-size:9px;letter-spacing:.22em;color:#1e3a66b3}
.squad-profile--showcase .profile-intro{padding:4px 0 28px}
.squad-profile--showcase .profile-team{font-size:10px;letter-spacing:.2em;color:var(--pf-blue);background:rgba(255,255,255,.07);border-radius:999px;padding:5px 10px;display:inline-block}
.squad-profile--showcase .profile-intro h1{font-size:clamp(26px,4vw,40px);font-weight:800;letter-spacing:-.035em;line-height:1.05}
.squad-profile--showcase .profile-display-number{color:var(--pf-red);font-weight:900;letter-spacing:-.06em}
.squad-profile--showcase .profile-position{background:rgba(255,255,255,.07);color:var(--pf-ink);border-radius:999px;padding:7px 12px;box-shadow:0 1px 0 #fff inset,0 6px 16px -10px #0f274766}
.squad-profile--showcase .profile-club{background:rgba(255,255,255,.07);border-radius:999px;padding:6px 12px 6px 6px;width:max-content;margin-top:12px}
.squad-profile--showcase .profile-hero-summary{background:#0b1f3a;border-radius:22px;padding:20px 20px 18px;color:#fff;box-shadow:0 14px 30px -16px #0b1f3acc}
.squad-profile--showcase .profile-summary-label{font-size:10px;letter-spacing:.2em;color:#e6eefc}
.squad-profile--showcase .profile-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:14px 0 14px}
.squad-profile--showcase .profile-summary-grid>div{background:rgba(255,255,255,.07);border-radius:14px;padding:12px 8px;text-align:center}
.squad-profile--showcase .profile-summary-grid strong{display:block;font-size:26px;font-weight:800;letter-spacing:-.03em;line-height:1}
.squad-profile--showcase .profile-summary-grid span{display:block;margin-top:7px;font-size:10px;color:#c9d7ee}
.squad-profile--showcase .profile-statistics-link{color:#fff;font-weight:700;font-size:12px;text-decoration:none;border-bottom:1px solid rgba(255,255,255,.14);padding-bottom:2px}
.squad-profile--showcase .profile-actions{margin-top:16px}
.squad-profile--showcase .profile-actions button{border-radius:999px;background:var(--pf-red);box-shadow:0 10px 20px -12px #e11d48cc}
.squad-profile--showcase .profile-overview-heading{font-size:22px;font-weight:800;letter-spacing:-.03em;margin:30px 2px 4px}
.squad-profile--showcase .profile-panel{border-radius:22px;border:1px solid var(--pf-line);box-shadow:0 1px 2px #0f274708,0 12px 28px -24px #0f274740;padding:22px;margin-top:14px}
.squad-profile--showcase .profile-section-kicker{display:block;font-size:10px;letter-spacing:.2em;color:var(--pf-blue);font-weight:800;margin-bottom:6px}
.squad-profile--showcase .profile-panel h2{font-size:20px;font-weight:800;letter-spacing:-.02em;margin:0 0 16px}
.squad-profile--showcase .profile-fields{gap:10px}
.squad-profile--showcase .profile-fields>div{background:var(--pf-tile);border:1px solid rgba(255,255,255,.14);border-radius:16px;padding:14px}
.squad-profile--showcase .profile-fields small{font-size:9.5px;letter-spacing:.14em;text-transform:uppercase;color:var(--pf-muted)}
.squad-profile--showcase .profile-fields strong{font-size:14px;font-weight:700;color:var(--pf-ink);line-height:1.3}
.squad-profile--showcase .profile-stats-grid{gap:10px}
.squad-profile--showcase .profile-stat{background:var(--pf-tile);border:1px solid rgba(255,255,255,.14);border-radius:18px;padding:18px 10px}
.squad-profile--showcase .profile-stat strong{font-size:34px;font-weight:800;color:var(--pf-ink);letter-spacing:-.04em}
.squad-profile--showcase .profile-stat span{font-size:9.5px;letter-spacing:.14em;color:var(--pf-muted)}
.squad-profile--showcase .profile-note,.squad-profile--showcase .profile-disclaimer{color:var(--pf-muted)}
.squad-profile--showcase .profile-disclaimer{text-align:center;font-size:11px;margin:22px 0 28px}
@media(max-width:650px){
.squad-profile--showcase .profile-hero-body{grid-template-columns:1fr;gap:4px;padding:18px 18px 0}
.squad-profile--showcase .profile-portrait-stage .player-photo-hero{height:300px}
.squad-profile--showcase .profile-hero-summary{margin-bottom:0}
.squad-profile--showcase .profile-summary-grid strong{font-size:22px}
.squad-profile--showcase .profile-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.squad-profile--showcase .profile-panel{padding:18px;border-radius:20px}
.squad-profile--showcase .profile-fields{grid-template-columns:1fr}
}

/* ===== Halaman utama, Matches, Table & Stats: kemas kini gaya kad (CSS sahaja) ===== */
:root{--pg-line:#e6ecf4;--pg-ink:#0f2747;--pg-muted:#6b7a90;--pg-shadow:0 1px 2px #0f274708,0 12px 28px -24px #0f274740}
.portal-page-heading{font-weight:800;letter-spacing:-.035em;line-height:1.05;color:var(--pg-ink)}
.portal-eyebrow{letter-spacing:.2em;font-weight:800}
.panel.standing-panel,.schedule-card,.fixture-card,.stats-board,.home-calendar{border-radius:22px!important;border:1px solid var(--pg-line)!important;box-shadow:var(--pg-shadow)!important}
.schedule-card,.fixture-card{padding:18px!important}
.schedule-score,.fixture-score{font-weight:800!important;letter-spacing:-.03em}
.schedule-club,.fixture-team strong,.fixture-teams strong{font-weight:700!important;color:var(--pg-ink)}
.schedule-small,.fixture-venue,.schedule-ground,.fixture-meta{color:var(--pg-muted)!important}
.standing-table-scroll{border-radius:16px;border:1px solid var(--pg-line);overflow:hidden}
.standing-table thead th{background:rgba(255,255,255,.07)!important;font-size:10px!important;letter-spacing:.14em;color:var(--pg-muted)!important;font-weight:800!important}
.standing-table tbody tr{transition:background .15s}
.standing-table tbody tr:hover{background:#f7faff}
.standing-points{font-weight:800!important;color:var(--pg-ink)}
.stats-board-header{border-radius:22px 22px 0 0}
.stats-leader{border-radius:20px!important;box-shadow:0 10px 24px -20px #0f274766!important}
.stats-ranking-row{border-radius:14px}
.portal-page-heading + p,.portal-page-heading ~ p{font-weight:400;letter-spacing:normal}
.portal-eyebrow + h1 + p{font-weight:400;letter-spacing:normal;color:var(--pg-muted)}

/* ===== Tema gelap biru + kaca (Apple-style) ===== */
:root{--gl-ink:#e6eefc;--gl-muted:#9fb2d4;--gl-accent:linear-gradient(135deg,#3b82f6,#22d3ee);--gl-line:rgba(255,255,255,.14)}
html,body{background:#07122a!important;color:var(--gl-ink)}
body{background:radial-gradient(900px 600px at 10% -10%,#1d4ed855,transparent 60%),radial-gradient(800px 500px at 110% 10%,#22d3ee33,transparent 55%),linear-gradient(180deg,#07122a 0%,#0a1b3d 60%,#071429 100%)!important;min-height:100vh}
header{background:rgba(10,27,61,.55)!important;backdrop-filter:blur(22px) saturate(160%);-webkit-backdrop-filter:blur(22px) saturate(160%);border-bottom:1px solid var(--gl-line)!important}
.mobile-bottom-nav,nav.mobile-bottom-nav{background:rgba(12,28,62,.6)!important;backdrop-filter:blur(24px) saturate(170%);-webkit-backdrop-filter:blur(24px) saturate(170%);border:1px solid var(--gl-line);border-radius:999px;margin:0 12px 12px;box-shadow:0 18px 40px -18px #000c}
.panel,.profile-panel,.schedule-card,.fixture-card,.stats-board,.standing-panel,.home-calendar,.match-detail,.profile-stat,.profile-fields>div,.stats-summary>div,.stats-leader,.stats-ranking-row,.home-stat,.squad-player,.opponent-item,.profile-honour-card,.club-trophy-card,.notice{backdrop-filter:blur(18px) saturate(150%);-webkit-backdrop-filter:blur(18px) saturate(150%);box-shadow:0 14px 34px -18px #000a,inset 0 1px 0 rgba(255,255,255,.08)!important}
.panel,.profile-panel,.schedule-card,.fixture-card,.stats-board,.standing-panel,.home-calendar{background:rgba(255,255,255,.06)!important;border:1px solid var(--gl-line)!important}
h1,h2,h3,h4{color:#f5f8ff}
.portal-eyebrow,.eyebrow,.profile-section-kicker{color:#7dd3fc!important}
button.active,[aria-pressed="true"],[aria-current="true"]{background:var(--gl-accent)!important;color:#fff!important;border-color:transparent!important;box-shadow:0 10px 24px -12px #3b82f6aa}
.profile-actions button,button.primary{background:var(--gl-accent)!important;color:#fff!important}
input,select,textarea{background:rgba(255,255,255,.08)!important;color:var(--gl-ink)!important;border:1px solid var(--gl-line)!important}
input::placeholder,textarea::placeholder{color:#7f93b8}
::selection{background:#3b82f666}
a{color:#93c5fd}
.standing-table tbody tr:hover,.stats-ranking-row:hover{background:rgba(255,255,255,.05)!important}
/* pembetulan tema gelap */
:root{--pg-ink:#f5f8ff;--pg-muted:#9fb2d4;--pg-line:rgba(255,255,255,.14)}
.squad-profile--showcase{--pf-ink:#f5f8ff;--pf-muted:#9fb2d4;--pf-line:rgba(255,255,255,.14);--pf-tile:rgba(255,255,255,.06)}
.portal-page-heading{color:#f5f8ff!important}
.mobile-bottom-nav button.active,.mobile-bottom-nav [aria-current="page"],nav button.active{background:initial!important;box-shadow:none!important}
.mobile-bottom-nav button.active{background:#dc2643!important;color:#fff!important;border-radius:999px}
button[aria-pressed="true"],.competition-tab.active,.stats-competition-tabs button.active,.stats-category-tabs button.active,.home-competition-tabs button.active,.home-section-tabs button.active,.club-tabs button.active,.squad-position-filters button.active,.match-centre .competition-tab.active{background:linear-gradient(135deg,#3b82f6,#22d3ee)!important;color:#fff!important}
.standing-table tbody tr.is-sabah,.standing-table tr[aria-current],.standing-table tbody tr[data-sabah],.standing-table tbody tr.highlight,.standing-table tr.sabah,.standing-table tbody tr:has(.standing-club.sabah){background:rgba(59,130,246,.2)!important;color:#fff!important}
.standing-table tbody tr.sabah-highlight{background:rgba(59,130,246,.2)!important;color:#fff!important}
.standing-table tbody tr.sabah-highlight td,.standing-table tbody tr.sabah-highlight strong{color:#fff!important}
/* pembetulan tema gelap lanjutan */
h1,h2,h3{color:#f5f8ff}
.squad-profile--showcase .profile-hero{background:linear-gradient(160deg,#0c1f4a 0,#14307a 55%,#2563eb 100%)!important;color:#f5f8ff}
.squad-profile--showcase .profile-intro h1,.squad-profile--showcase .profile-display-number{color:#f5f8ff}
.squad-profile--showcase .profile-display-number{color:#fb7185!important}
.squad-profile--showcase .profile-team,.squad-profile--showcase .profile-position,.squad-profile--showcase .profile-club{background:rgba(255,255,255,.12)!important;color:#e6eefc!important}
.portal-page .stats-competition-tabs button.active,.portal-page .home-competition-tabs button.active,.portal-page .club-tabs button.active,.portal-page .stats-category-tabs button.active,.portal-page .match-centre .competition-tab.active,.portal-page .competition-tab.active,.portal-page button[aria-pressed="true"]{background:linear-gradient(135deg,#3b82f6,#22d3ee)!important;color:#fff!important}
.stats-summary>div,.stats-leader,.stats-ranking-row,.profile-stat,.stats-board .stats-summary>div{background:rgba(255,255,255,.06)!important;border:1px solid rgba(255,255,255,.12)!important}
.stats-summary b,.stats-summary strong,.stats-leader-details strong,.stats-leader-score b,.stats-rank-details strong,.stats-ranking-row b{color:#f5f8ff!important}
.stats-summary small,.stats-summary span,.stats-leader-details small,.stats-rank-details small{color:#9fb2d4!important}
.portal-page .stats-leader-score span,.stats-leader-rank{color:#fb7185!important}
h1,h2,h3{color:#f5f8ff!important}
.stats-category-tabs button,.stats-competition-tabs button{border-radius:999px}
.mobile-bottom-nav{left:12px!important;right:12px!important;width:auto!important;max-width:none!important;transform:none!important;box-sizing:border-box}

/* ===== Pembetulan lanjutan tema gelap biru ===== */
/* Jadual: baris Sabah FC */
.standing-table tbody tr.sabah-highlight,.standing-table tbody tr.sabah-highlight td{background:rgba(59,130,246,.22)!important;color:#fff!important}
.standing-table tbody tr.sabah-highlight{box-shadow:inset 4px 0 0 #e11d48}
.standing-table tbody tr.sabah-highlight strong,.standing-table tbody tr.sabah-highlight td{color:#fff!important}
/* Label status perlawanan */
.fixture-status{background:rgba(255,255,255,.12)!important;color:#dbe7ff!important;border:1px solid rgba(255,255,255,.16)}
.fixture-status.is-upcoming{background:rgba(59,130,246,.22)!important;color:#bfdbfe!important}
.fixture-status.is-live{background:#e11d48!important;color:#fff!important}
.fixture-status.is-ft{background:rgba(255,255,255,.1)!important;color:#e6eefc!important}
/* Tab Matches: teks aktif */
.match-centre .competition-tab.active,.match-centre button[aria-selected="true"],.match-centre .tab-active{color:#fff!important}
/* Navigasi bawah: kekalkan reka bentuk asal (bulatan merah pada ikon) */
.mobile-bottom-nav button.active{background:transparent!important;color:#fff!important;box-shadow:none!important}
/* Profil: kotak putih di belakang gambar dan teks watermark */
.squad-profile--showcase .player-photo-hero,.squad-profile--showcase .profile-portrait-stage,.squad-profile--showcase .profile-portrait-stage>*{background:transparent!important;box-shadow:none!important}
.squad-profile--showcase .profile-portrait-stage [class*="circle"],.squad-profile--showcase .profile-watermark-circle{background:rgba(255,255,255,.08)!important}
.squad-profile--showcase .profile-portrait-caption,.squad-profile--showcase .profile-hero .profile-portrait-caption{color:#9fb2d4!important;opacity:1!important}
.squad-profile--showcase .profile-hero [class*="caption"]{color:#9fb2d4!important}

/* ===== Tab Match Centre / butiran perlawanan: tema gelap biru ===== */
.match-detail{background:linear-gradient(180deg,#0f2453 0%,#0a1a3d 70%)!important;color:#e6eefc!important;border-radius:28px 28px 0 0}
.match-detail :where(h1,h2,h3,h4,p,strong,b,small,span,div,li,td,th,label){color:#e6eefc}
.match-detail :where(small,.detail-status,.detail-note){color:#9fb2d4!important}
.match-detail :where(div,section,article,li,td,th){background-color:transparent}
.match-detail :where(.detail-summary,.detail-info-grid>div,.detail-highlights>div,.match-event-group,.match-event-list,.match-event-stats,.match-timeline,.match-video,.match-team-stats-clubs,.opening-goals,.opening-rank-group,.club-trophy-card){background:rgba(255,255,255,.06)!important;border:1px solid rgba(255,255,255,.12)!important;border-radius:18px}
.match-detail :where(.match-event-stats>div,.match-timeline-minute){background:rgba(255,255,255,.08)!important}
.detail-result,.detail-result>div{background:linear-gradient(160deg,rgba(255,255,255,.12),rgba(255,255,255,.04))!important;border:1px solid rgba(255,255,255,.14)!important;border-radius:22px;color:#fff!important}
.detail-result b,.detail-result strong{color:#fff!important}
.detail-tabs button,.event-editor-tabs button{background:rgba(255,255,255,.08)!important;color:#e6eefc!important;border:1px solid rgba(255,255,255,.12)}
.detail-tabs button.active,.event-editor-tabs button.active{background:linear-gradient(135deg,#3b82f6,#22d3ee)!important;color:#fff!important}
.detail-back{background:rgba(255,255,255,.12)!important;color:#fff!important}
/* Latar belakang profil: sembunyikan siluet cerah di belakang gambar */
.squad-profile--showcase .profile-portrait-placeholder{color:rgba(255,255,255,.07)!important;fill:rgba(255,255,255,.07)!important}
.squad-profile--showcase .profile-watermark{color:rgba(255,255,255,.12)!important}

/* ===== Player Statistics: logo SVG watermark + jadual muat skrin iPhone ===== */
.squad-profile--showcase .profile-complete-statistics{position:relative;overflow:hidden}
.squad-profile--showcase .profile-complete-statistics>*{position:relative;z-index:1}
.player-competition-breakdown{overflow:hidden}
.player-competition-breakdown table{min-width:0!important;width:100%;table-layout:fixed;border-collapse:collapse}
.player-competition-breakdown th,.player-competition-breakdown td{padding:10px 4px!important;font-size:12.5px;line-height:1.25;text-align:center;word-break:break-word}
.player-competition-breakdown th:first-child,.player-competition-breakdown td:first-child{text-align:left;padding-left:12px!important;width:30%}
.player-competition-breakdown thead th{font-size:11px;letter-spacing:.02em}
@media(max-width:420px){
.player-competition-breakdown th,.player-competition-breakdown td{font-size:11.5px;padding:9px 2px!important}
.player-competition-breakdown th:first-child,.player-competition-breakdown td:first-child{width:28%;padding-left:10px!important}
}

/* Burger menu beside the notification bell */
.header-menu-wrap{position:relative;display:inline-flex}
.header-menu-btn{appearance:none;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px;width:42px;height:42px;padding:0;border:1px solid rgba(255,255,255,.14);border-radius:12px;background:rgba(255,255,255,.07);cursor:pointer}
.header-menu-btn span{display:block;width:18px;height:2px;border-radius:2px;background:#e6eefc;transition:transform .2s,opacity .2s}
.header-menu-wrap.menu-open .header-menu-btn span:nth-child(1){transform:translateY(6px) rotate(45deg)}
.header-menu-wrap.menu-open .header-menu-btn span:nth-child(2){opacity:0}
.header-menu-wrap.menu-open .header-menu-btn span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}
.header-menu{display:none;position:absolute;top:calc(100% + 10px);right:0;z-index:80;flex-direction:column;gap:4px;min-width:190px;padding:8px;border:1px solid rgba(255,255,255,.14);border-radius:16px;background:rgba(16,44,86,.96);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);box-shadow:0 18px 50px #071b3b80}
.header-menu-wrap.menu-open .header-menu{display:flex}
.header-menu button{appearance:none;width:100%;padding:12px 14px;border:0;border-radius:10px;background:transparent;color:#e6eefc;font:inherit;font-size:15px;font-weight:650;text-align:left;cursor:pointer}
.header-menu button:hover,.header-menu button:focus-visible{background:rgba(255,255,255,.08);outline:none}
.header-menu button.active{background:linear-gradient(135deg,#3b82f6,#22d3ee);color:#fff}

/* Burger menu: larger touch targets and text */
.header-menu-btn{width:46px;height:46px;border-radius:14px}
.header-menu-btn span{width:20px}
.header-menu{min-width:240px;padding:10px;gap:6px;border-radius:20px}
.header-menu button{padding:16px 18px;font-size:19px;border-radius:14px}

/* Burger menu icons */
.header-menu button{display:flex;align-items:center;gap:12px}
.header-menu .menu-icon{width:20px;height:20px;flex:none}

/* Notification dialog: readable on dark glass */
.notification-dialog-icon{background:linear-gradient(135deg,#3b82f6,#22d3ee);color:#fff;box-shadow:0 10px 30px #3b82f655}
.notification-status{color:#e6eefc;background:rgba(255,255,255,.07)}
.notification-status[data-error=true]{background:rgba(225,29,72,.16);border-color:rgba(251,113,133,.45);color:#fecdd3}
.notification-actions button:disabled{opacity:.8;color:#fff;background:linear-gradient(135deg,#3b82f6,#22d3ee);filter:saturate(.6)}
.notification-actions button:not(:disabled){color:#fff}

/* Notice boxes: dark glass with readable text */
.notice,.panel .notice,p.notice{background:rgba(245,158,11,.12)!important;border:1px solid rgba(251,191,36,.35)!important;border-left:4px solid #fbbf24!important;color:#fde68a!important;box-shadow:none!important}

/* Player position filters: keep in page flow, not pinned to bottom like the site nav */
nav.squad-position-filters{position:static!important;bottom:auto!important;left:auto!important;right:auto!important;z-index:auto!important;display:flex!important;flex-wrap:wrap;grid-template-columns:none!important;gap:8px;padding:4px 0!important;margin:0 0 18px!important;background:none!important;border:0!important;box-shadow:none!important;overflow:visible!important}

/* Competition logos on Super League / FA Cup tabs */
.comp-logo{width:18px;height:18px;object-fit:contain;vertical-align:middle;margin-right:6px;flex:none;display:inline-block}

/* Table page: competition tabs */
.standing-soon{text-align:center;padding:36px 22px}
.standing-soon h2{margin:10px 0 8px;font-size:26px}

/* Piala FA bracket on Table page */
.fa-bracket{padding:22px 18px}
.fa-round-title{font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:#7dd3fc;margin:20px 0 10px}
.fa-tie{display:grid;gap:6px;padding:12px;margin-bottom:10px;border:1px solid rgba(255,255,255,.14);border-radius:14px;background:rgba(255,255,255,.05)}
.fa-team{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:650;color:#e6eefc}
.fa-team span{flex:1;min-width:0}
.fa-team b{font-size:16px;min-width:18px;text-align:right}
.fa-team.win{color:#fff;font-weight:800}
.fa-team.win b{color:#22d3ee}
.fa-tie small{font-size:11px;color:#94a3b8;letter-spacing:.02em}
.fa-note{font-size:12px;margin-top:14px}
.fa-sabah{display:grid;gap:4px;margin:16px 0 4px;padding:14px;border-radius:14px;border:1px solid rgba(251,113,133,.45);background:rgba(225,29,72,.14)}
.fa-sabah span{font-size:11px;letter-spacing:.12em;font-weight:800;color:#fda4af}
.fa-sabah strong{font-size:16px;color:#fff}
.fa-sabah small{font-size:12px;color:#e6eefc}

/* Piala FA: cleaner match cards */
.fa-bracket{padding:22px 18px;background:linear-gradient(160deg,rgba(59,130,246,.16),rgba(14,165,233,.03) 60%),rgba(255,255,255,.05)}
.fa-bracket h2{font-size:26px;margin:6px 0 16px}
.fa-sabah{border-radius:18px;background:linear-gradient(135deg,rgba(225,29,72,.35),rgba(225,29,72,.08));border:1px solid rgba(251,113,133,.4);padding:16px 18px;margin:0 0 16px;box-shadow:0 12px 30px rgba(225,29,72,.15)}
.fa-tie{padding:14px 14px 10px;margin:0 0 12px;border-radius:18px;background:rgba(15,23,42,.45);border:1px solid rgba(255,255,255,.1);box-shadow:0 10px 26px rgba(2,6,23,.35)}
.fa-tie small{display:inline-block;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#93c5fd;background:rgba(59,130,246,.15);border:1px solid rgba(59,130,246,.3);padding:4px 10px;border-radius:999px;margin-bottom:10px}
.fa-team{display:flex;align-items:center;gap:12px;padding:8px 4px;border-radius:12px}
.fa-team + .fa-team{border-top:1px solid rgba(255,255,255,.08);margin-top:4px;padding-top:12px}
.fa-team .club-logo{flex:0 0 42px;width:42px;height:42px;min-width:42px;border-radius:50%;background:#fff;padding:4px;display:grid;place-items:center;box-shadow:0 0 0 2px rgba(255,255,255,.2);overflow:hidden}
.fa-team .club-logo img{width:100%;height:100%;object-fit:contain}
.fa-team .club-logo-fallback{font-size:11px;font-weight:800;color:#1e3a8a}
.fa-team span{flex:1;min-width:0;font-size:15px;font-weight:700;color:#e6eefc;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fa-team b{font-size:24px;font-weight:900;color:#e6eefc;min-width:28px;text-align:right}
.fa-team.win span{color:#fff}
.fa-team.win b{color:#38bdf8}
.fa-team.is-sabah span{color:#fda4af}
.fa-team.is-sabah.win span{color:#fff}

/* ---- Refinement pass: intentional scroll rows, press feedback, focus ---- */
/* Competition tab rows scroll sideways on purpose instead of clipping text mid-word */
.home-competition-tabs,
.competition-tabs,
.stats-competition-tabs{display:flex;flex-wrap:nowrap;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.home-competition-tabs::-webkit-scrollbar,
.competition-tabs::-webkit-scrollbar,
.stats-competition-tabs::-webkit-scrollbar{display:none}
.home-competition-tabs > *,
.competition-tabs > *,
.stats-competition-tabs > *{flex:0 0 auto;scroll-snap-align:start;white-space:nowrap}

/* Press feedback on every tappable control */
button,a.standing-official-link{transition:transform .14s ease,background-color .2s ease,box-shadow .2s ease}
button:active,a.standing-official-link:active{transform:scale(.97)}

/* One focus ring for the whole site, in the club red */
:focus-visible{outline:2px solid #f43f5e;outline-offset:3px;border-radius:6px}

@media (prefers-reduced-motion: reduce){
  button,a.standing-official-link{transition:none}
  button:active,a.standing-official-link:active{transform:none}
}

/* Table page tabs: same horizontal scroll row as the other pages */

/* Table page tabs: same track and pill as the other pages */
.standing-comp-tabs{display:flex;flex-wrap:nowrap;gap:6px;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:none;-webkit-overflow-scrolling:touch;background:rgba(255,255,255,.07);border-radius:19px;padding:7px;margin:0 0 18px;max-width:100%}
.standing-comp-tabs::-webkit-scrollbar{display:none}
.standing-comp-tabs button{flex:0 0 auto;scroll-snap-align:start;appearance:none;display:inline-flex;align-items:center;gap:8px;background:transparent;border:0;border-radius:13px;color:#e6eefc;font:inherit;font-size:14px;font-weight:750;line-height:1.35;padding:10px 14px;white-space:nowrap;cursor:pointer}
.standing-comp-tabs button .comp-logo{margin-right:0}
.standing-comp-tabs button.active{background:linear-gradient(135deg,#3b82f6,#22d3ee);color:#fff;box-shadow:0 6px 16px rgba(59,130,246,.3)}

/* Table legend: one abbreviation per line */
.standing-legend{display:flex;flex-direction:column;gap:6px;margin:16px 0 0;font-size:12px;line-height:1.45;color:#94a3b8}
.standing-legend span{min-width:0}

/* Keep the full league table available at every viewport width. */
.standing-table-scroll {
  max-width: 100%;
  overflow-x: auto;
}

.standing-table {
  width: 100%;
  min-width: 680px;
}

.standing-table .standing-club strong {
  white-space: normal;
  overflow-wrap: anywhere;
}

header nav[aria-label="Navigasi utama"]:not(.mobile-bottom-nav) {
  display: none;
}

#app {
  min-height: 100dvh;
}

#app > main {
  width: 100%;
  min-width: 0;
  margin: 0 auto;
  padding: clamp(16px, 3vw, 38px) clamp(12px, 3vw, 44px) 0;
}

#app > header .brand {
  min-width: 0;
}

#app > header .header-tools {
  position: static;
  gap: clamp(6px, 1.2vw, 14px);
}

#app .header-menu {
  max-width: calc(100vw - 32px);
  max-height: min(65dvh, 480px);
  overflow-y: auto;
}

@media (max-width: 480px) {
  #app > header {
    padding-inline: 12px;
    gap: 8px;
  }

  #app > header .brand {
    gap: 8px;
  }

  #app > header .brand strong {
    font-size: clamp(15px, 4.6vw, 21px);
  }

  #app > header .brand small {
    font-size: 11px;
  }

  #app > header .notification-launcher {
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
  }

  .match-stat-columns {
    grid-template-columns: 1fr;
  }

  .match-record-player strong,
  .match-timeline .match-record-player strong {
    font-size: 12px;
  }
}

@media (min-width: 801px) {
  html {
    background: radial-gradient(ellipse at 50% 0%, #112c57, #050f24 72%);
  }

  #app {
    width: min(1320px, calc(100% - 48px));
    min-height: calc(100dvh - 48px);
    margin: 24px auto;
    border: 1px solid rgba(147, 197, 253, .18);
    border-radius: 24px;
    background: linear-gradient(180deg, #0c2249, #081a3a);
    box-shadow: 0 24px 64px #0006;
  }

  #app > header {
    padding-inline: clamp(24px, 3vw, 44px);
    border-radius: 23px 23px 0 0;
  }

  .home-calendar .cal-day,
  .home-calendar .cal-blank {
    aspect-ratio: auto;
    min-height: clamp(68px, 7vw, 96px);
  }
}

@media (min-width: 801px) and (max-width: 950px) {
  #app {
    width: calc(100% - 24px);
    min-height: calc(100dvh - 24px);
    margin-block: 12px;
  }
}

@media (min-width: 1001px) {
  .fixture-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .fixture-list > :only-child {
    grid-column: 1 / -1;
  }
}
