:root{font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;color:#14233d;background:#f4f7fb}*{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:#fff;border-radius:12px;color:#102c56;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:#14233d}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:#fff;border:1px solid #e2e8f0;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:#102c56}.muted{color:#66758d;font-size:13px}.row{display:flex;justify-content:space-between;align-items:center;gap:12px}.match,.player{padding:15px 0;border-bottom:1px solid #e9edf3}.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:#15477b;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:#132b4d}.secondary{background:#e8eef7;color:#102c56}table{width:100%;border-collapse:collapse}th,td{padding:13px 10px;border-bottom:1px solid #e9edf3;text-align:left}th{font-size:12px;color:#66758d}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:#fff}.form .wide{grid-column:1/-1}.notice{padding:12px;border-left:3px solid #e9b23b;background:#fff8e7;color:#5c4a1e;border-radius:6px}.empty{padding:20px;color:#66758d;text-align:center}footer{text-align:center;color:#78869b;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:#eaf1fa}.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:#eef2f8;color:#15243d}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 #ffffff12;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:#0c3674}.match{border:1px solid #e5ebf3;border-left:4px solid #df293b;border-radius:12px;padding:15px;margin:11px 0;background:linear-gradient(90deg,#f8faff,#fff)}.match:last-child{border-bottom:1px solid #e5ebf3}.match .score{color:#0d3270}.tag{background:#e9eef8;color:#173d7b;border:1px solid #d7e2f2}.primary{background:#df293b;color:white}.secondary{background:#eaf0f8;color:#153e77}.secondary.active{background:#123c7a;color:#fff}button{transition:background .2s ease,transform .2s ease}button:hover{transform:translateY(-1px)}.sabah-highlight{background:#e8f0fd!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:#fff;border-top:1px solid #dce5f1;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:#5d6c82;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 #dce5f1;background:#f2f6fc;color:#1b3b68;border-radius:11px;padding:12px 15px;white-space:nowrap;font-weight:750;font-size:13px}.competition-tab.active{background:#113e7c;border-color:#113e7c;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:#fff;border:1px solid #e8ecf2;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:#101e33}
.eyebrow{font-size:10px;letter-spacing:.16em;color:#d12e45;font-weight:850}
.season-label{font-size:12px;font-weight:800;color:#728098;background:#f2f5fa;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:#f2f5fa;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:#65748b;font-size:12px;font-weight:800;box-shadow:none}
.match-centre .competition-tab.active{background:#fff;color:#102f61;box-shadow:0 2px 9px #142e4c12}
.competition-caption{font-size:12px;color:#7a8799;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:#778397;font-size:13px;font-weight:750;padding:8px 0;position:relative}
.match-filters .secondary.active{color:#123b76;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:#98a1ae;white-space:nowrap}
.fixture-list{display:grid;gap:10px}
.fixture-card{background:#fff;border:1px solid #e8ecf1;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:#8390a2;font-size:10px;letter-spacing:.045em;font-weight:800}
.meta-dot{padding:0 3px;color:#a9b2c0}
.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:#f0f2f5;color:#6c7686}
.fixture-status.is-upcoming{background:#eaf1fd;color:#1b4e8b}
.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:#18273e;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:#f0f4f9;border:1px solid #e3e9f1;color:#285083;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:#0d2d5d;letter-spacing:-.04em;white-space:nowrap}
.fixture-kickoff{font-size:9px;color:#8c98a9;font-weight:750;white-space:nowrap}
.fixture-venue{border-top:1px solid #f0f2f5;padding-top:10px;color:#8995a5;font-size:11px}
.venue-mark{font-size:15px;color:#b0b8c4}
.match-disclaimer{font-size:11px;color:#99a4b2;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:#17243a}.home-link{background:transparent;border:0;color:#22538b;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 #e6eaf0;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:#718097;letter-spacing:.08em;font-weight:850}.home-status{background:#eaf1fd;color:#24528c;border-radius:5px;padding:5px 7px;font-size:9px}.home-status-ft{background:#f0f1f3;color:#6d7580}.home-feature-meta{text-align:center;color:#8490a1;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 #dfe6ef;border-radius:10px;display:grid;place-items:center;color:#153b72;background:#f4f7fc;font-weight:900;font-size:12px}.home-feature-score{text-align:center;font-size:25px;color:#0b2f66;font-weight:900;white-space:nowrap}.home-feature-score small{display:block;color:#98a2af;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 #edf0f4;text-align:center;color:#8a95a4;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 #e6eaf0;border-radius:12px;padding:20px 15px}.home-stat strong{display:block;font-size:31px;color:#103b78;line-height:1.2}.home-stat span{font-size:10px;font-weight:800;color:#8b97a7;letter-spacing:.08em}.home-competitions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.home-competitions button{border:1px solid #e6eaf0;background:white;border-radius:11px;padding:16px;text-align:left;color:#152c4b;font-weight:850;font-size:13px}.home-competitions button span{display:block;color:#8593a5;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 #dce3ef;background:white;color:#6d778a;padding:11px 14px;border-radius:9px;font-size:13px;font-weight:800}.club-tabs button.active{border-color:#e52c48;color:#14213d}.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:#14223d}.schedule-title button{background:none;border:0;color:#205198;font-size:12px;font-weight:800}.home-competition-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;padding:5px;background:#e9eef6;border-radius:11px}.home-competition-tabs button{border:0;background:transparent;color:#607087;border-radius:8px;padding:11px 5px;font-size:12px;font-weight:800}.home-competition-tabs button.active{background:#fff;color:#123e87;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:#17233d;margin:23px 0 12px;text-transform:uppercase}.schedule-card{background:#fff;border:1px solid #e9edf3;border-radius:15px;padding:20px 18px 14px;box-shadow:0 5px 20px #14223c0a}.schedule-competition{text-align:center;color:#67758d;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:#18233a;font-weight:850;overflow-wrap:anywhere}.schedule-crest{width:62px;height:62px;border:1px solid #e1e7f0;background:#f2f5fa;border-radius:13px;display:grid;place-items:center;color:#45618c;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:#303d53;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:#15213a;white-space:nowrap}.schedule-small{font-size:10px;color:#a0a9b8;font-weight:750}.schedule-ground{border-top:1px solid #f0f2f6;padding-top:11px;text-align:center;font-size:11px;color:#8793a6}.schedule-empty{background:#fff;border:1px solid #e5eaf2;border-radius:13px;text-align:center;color:#8290a5;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:#fff}.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:#f8f9fc;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:#fff;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:#fff;color:#17345c;border:3px solid #eee;font-size:23px;font-weight:900}.detail-sabah{background:#e83249;color:#fff}.detail-result{background:white;color:#15213a;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:#7b8394;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:#80899b;margin:9px 0}.detail-highlights{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:25px;text-align:left}.detail-highlights>div{background:#f7f8fb;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:#8893a5}.detail-tabs{display:flex;gap:20px;overflow-x:auto;background:#fff;padding:0 20px;border-bottom:1px solid #eee}.detail-tabs button{border:0;border-bottom:3px solid transparent;background:none;white-space:nowrap;padding:17px 0;color:#8992a4;font-weight:750;cursor:pointer}.detail-tabs button.active{color:#15213a;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:#f8f9fc;border-radius:12px;padding:15px;display:flex;flex-direction:column;gap:8px}.detail-info-grid small{font-size:10px;color:#8793a3;font-weight:800}.detail-info-grid strong{font-size:13px}.detail-empty{text-align:center;padding:25px;color:#8793a3}.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,#fff);border-color:var(--home-primary,#123579);color:#15213a}
.match-detail .detail-away .detail-crest{background:var(--away-secondary,#fff);border-color:var(--away-primary,#c40018);color:#15213a}
.match-detail .detail-home .detail-crest.detail-sabah,.match-detail .detail-away .detail-crest.detail-sabah{background:#e52e49;color:white;border-color:#fff}
.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:#fff}.squad-section-heading{display:flex;align-items:center;justify-content:space-between;padding:10px 13px;background:#eef2f8;border-bottom:1px solid #dfe6ef}.squad-section-heading h3{margin:0;color:#153b79;font-size:11px;letter-spacing:.09em}.squad-section-heading span{font-size:10px;color:#8390a3;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 #e7ebf1}.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:#1d2a40;line-height:1.3;overflow-wrap:anywhere}.squad-position{display:grid;place-items:center;color:#66758a;font-size:12px;font-weight:800;border-left:1px solid #e9edf3}.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:#f0f4fa;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:#f5f7fb;padding:14px}.squad-player{border:1px solid #e0e7f0;border-radius:12px;background:#fff;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:#fafbfd;font-size:11px;color:#244d87}.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 #e0e7f0}.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:#a3aec0}.squad-profile{max-width:900px;margin:auto;padding-bottom:40px}.profile-back{border:0;background:#fff;color:#183c76;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 #ffffff36;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:#ffffff22;padding:7px 12px;border-radius:7px;font-size:12px;font-weight:850}.profile-panel{background:white;border:1px solid #e4eaf3;border-radius:16px;margin-top:16px;padding:23px}.profile-panel h2{font-size:19px;color:#142b4c;margin:0 0 20px}.profile-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.profile-fields>div{background:#f5f7fb;padding:15px;border-radius:11px;display:flex;flex-direction:column;gap:8px}.profile-fields small{font-size:10px;color:#8995a6;font-weight:850}.profile-fields strong{font-size:13px;color:#182d4b}.profile-note,.profile-disclaimer{color:#7f8ca0;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:#f4f7fb;border:1px solid #e8edf5;border-radius:12px;text-align:center}.profile-stat strong{font-size:30px;line-height:1;color:#153e7d;font-weight:950}.profile-stat span{font-size:10px;letter-spacing:.04em;color:#8793a5;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:#506078}.profile-edit-field input,.profile-edit-field select,.profile-country-button{width:100%;min-height:45px;background:#f7f9fc;border:1px solid #dce4ef;border-radius:9px;padding:10px 12px;font:inherit;font-size:13px;color:#152c4d}.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:#eef2f8;color:#294a77;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:#eef2f7;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:#f6f8fc;border:1px solid #e5eaf2;border-radius:9px;padding:12px 9px;color:#213a5d;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:#fff;border:1px solid #e5eaf2;border-radius:15px;padding:18px;text-align:left}.opening-goals h3{font-size:16px;color:#142c51;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 #eef1f6}.opening-minute{font-size:13px;color:#174a95;font-weight:900}.opening-event strong{display:block;color:#1b2a44;font-size:12px;line-height:1.4}.opening-event small{display:block;color:#8895a7;font-size:11px;margin-top:3px}.opening-stat-note{padding:13px 15px;margin:14px 0;background:#f1f5fb;border-radius:10px;color:#61728b;font-size:12px;line-height:1.6}.opening-rankings{margin-top:20px}.opening-rankings>h3{font-size:17px;color:#172b4c}.opening-rankings>p{font-size:12px;color:#78879b;line-height:1.5}.opening-rank-group{border:1px solid #e2e8f0;border-radius:12px;overflow:hidden;margin:15px 0;background:#fff}.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 #e9edf3}.opening-rank-row>span{color:#9aa5b4;font-size:12px}.opening-rank-row strong{font-size:12px;color:#22324d;overflow-wrap:anywhere}.opening-rank-row small{grid-column:2;grid-row:2;color:#8291a6;font-size:10px}.opening-rank-row b{grid-column:3;grid-row:1/3;color:#173d7d;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 #e3e9f1;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:#fff;border:0;border-bottom:1px solid #edf1f5;text-align:left;cursor:pointer;font:inherit}.squad-rank-row:hover:not(:disabled){background:#f5f8fc}.squad-rank-row:disabled{cursor:default}.squad-rank-index{font-size:13px;font-weight:900;color:#7d8fa7}.squad-rank-name{display:flex;flex-direction:column;gap:4px;min-width:0}.squad-rank-name strong{font-size:12px;color:#1a2f4c;overflow-wrap:anywhere}.squad-rank-name small{font-size:10px;color:#8997a9}.squad-rank-row>b{color:#174a96;font-size:23px;text-align:right}.squad-rank-empty{padding:18px;color:#8b97a9;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:#fff;border:1px solid #e5eaf2;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:#153a70}
.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:#fff}
@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:#fff;border:1px solid #dce4ef;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:#fff;border:1px solid #ffffff44;overflow:hidden}
.club-logo.crest img{width:100%;height:100%;object-fit:contain;padding:4px}
.club-logo.crest .club-logo-fallback{color:#173b7c;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:#edf1f7;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:#fff;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 #dbe3ee;border-radius:14px;background:#f7f9fc}.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:#e8edf5;overflow:hidden}.player-photo-edit{width:100%;height:100%}.profile-photo-edit a{font-weight:700;color:#1b3f80}.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:#fff;color:#a71924;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 #e7e7e7;border-radius:10px;padding:10px;background:#fff;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 #eee;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:#152c50}.stats-heading{margin:6px 0 25px}.stats-heading h2{font-size:clamp(30px,5vw,42px);margin:8px 0}.stats-heading p{color:#8794a9;margin:0}.stats-switch{display:grid;grid-template-columns:1fr 1fr;background:#e9edf6;border:1px solid #dce3ee;border-radius:17px;padding:6px;gap:6px;margin:18px 0}.stats-switch button{border:0;border-radius:12px;padding:15px 8px;background:transparent;color:#8390a7;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 #dbe1ed;margin:20px 0 28px;scrollbar-width:none}.stats-category-tabs button{border:0;border-bottom:3px solid transparent;background:transparent;color:#8390a7;font-weight:800;white-space:nowrap;padding:12px 4px 15px;cursor:pointer}.stats-category-tabs button.active{border-bottom-color:#245cba;color:#245cba}.stats-board{background:#fff;border:1px solid #dce3ed;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 #ffffff60;background:#ffffff18;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:#f2f5fb}.stats-summary>div{text-align:center;background:#fff;border:1px solid #dfe5ef;border-radius:12px;padding:14px 3px;display:flex;flex-direction:column;gap:5px}.stats-summary b{font-size:26px;color:#15396c}.stats-summary small{font-size:9px;font-weight:800;letter-spacing:.06em;color:#7b8ca6}.stats-leader{width:100%;border:2px solid #3a65d2;border-right-color:#d53674;border-bottom-color:#d53674;border-radius:20px;background:#fff;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:#f1f4fa;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:#8793a7}.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 #e4e8f1;background:#f9fafd;text-align:left;cursor:pointer}.stats-ranking-row b{font-size:22px;text-align:right;color:#d32d50}.stats-place{color:#8795aa}.stats-rank-avatar{display:grid;place-items:center;width:48px;height:52px;border-radius:9px;background:#e9eef9;color:#284b87;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:#8a95a9;font-size:10px;overflow-wrap:anywhere}.stats-no-data{padding:30px 15px;text-align:center;color:#8190a6}@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:#e5eaf4;border-radius:14px;margin:18px 0 8px}.stats-competition-tabs button{background:transparent;border:0;border-radius:10px;color:#64748b;padding:12px 5px;font-size:12px;font-weight:800;cursor:pointer}.stats-competition-tabs button.active{background:#fff;color:#153b7a;box-shadow:0 2px 9px #10254b18}.stats-source-note{color:#77869b;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:#dce3ef;--portal-surface:#fff;--portal-radius:20px}
body{background:#f0f3fa;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:#e4e9f5;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:#65748f!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:#173764!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:#8290a8!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:#ffffff1b;border:1px solid #ffffff40;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:#8290a8!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 #e3e9f2;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:#f1f5fa;color:#6e7c92;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 #e9edf4;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:#e9f0ff;color:#14356a;font-weight:800}.standing-table .sabah-highlight td:first-child{box-shadow:inset 4px 0 #e52947}.standing-points{font-weight:900;color:#173b78}.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,#fff,#f8f9fd);border:1px solid #e1e6f1;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:#112c54;margin:8px 0}.home-calendar-head p{color:#8290a5;font-size:13px;margin:0}.cal-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #e7ebf2;border-radius:16px;padding:5px;background:#fff}.cal-controls strong{color:#1a3056;font-size:15px;min-width:140px;text-align:center}.cal-controls button{border:0;border-radius:12px;background:#f1f4f9;color:#203a68;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:#8c98a9;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 #e9edf4;background:#fff;color:#40516f;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:#7e8ba1;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 #e1e7f0;border-radius:20px;background:#fff}.match-event-stats-head h3{margin:0;color:#142e58;font-size:21px}.match-event-stats-head p{margin:6px 0 16px;color:#8290a3;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 #e5eaf2;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 #e5eaf2;color:#203a63}.match-event-group-title strong{flex:1;font-size:14px}.match-event-total{font-size:13px;font-weight:800;background:#e7edf8;border-radius:8px;padding:3px 9px}.match-event-person{display:flex;gap:11px;align-items:center;padding:12px 14px;border-bottom:1px solid #e8edf4}.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:#1b2d4a;font-size:13px;overflow-wrap:anywhere}.match-event-person small{color:#8a96a9;font-size:11px}.match-event-unavailable{padding:15px;margin:0;color:#8b97a8;font-size:12px}.match-event-note{margin:14px 0 0;font-size:11px;color:#8b97a8}@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:#fff;border-top:1px solid #e2e8f0;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:#6b7890;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 #dfe6f0;border-radius:18px;overflow:hidden;background:#fff;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:#173c78;flex-shrink:0}.match-video-heading h3{margin:0;color:#142e58;font-size:16px}.match-video-heading p{margin:4px 0 0;color:#8090a5;font-size:12px}.match-video-heading a{margin-left:auto;color:#2457a0;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 #dce3ee;border-radius:16px;background:#fff;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:#142e58;text-align:left;cursor:pointer}.compact-round{font-size:10px;font-weight:800;letter-spacing:1px;color:#8a95a8;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 #e1e6ef;padding-left:16px}.compact-status{font-size:13px;color:#53647f;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:#8390a4;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:#8a94a6}.home-calendar .cal-date{display:grid;place-items:center;width:36px;height:36px;font-size:14px;font-weight:650;border-radius:50%;background:#f6f7fa}.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:#f3f5f8}.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:#65758d;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:#17365f}.squad-page--roster .squad-section-heading>span{font-size:10px;color:#8491a5}.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 #e0e7f1;border-radius:14px;padding:14px;background:#fff;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:#244c85;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:#edf2fa;color:#9baecb}.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:#183353;overflow-wrap:anywhere;padding:0}.squad-player-copy small{font-size:12px;color:#7c8ba2;line-height:1.3}.squad-page--roster .squad-chevron{font-size:24px;color:#9aaac0;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 #dce4ef!important;background:#fff!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:#17365f!important}.stats-ranking-row:disabled{opacity:1;color:#17365f}.stats-rank-details small{line-height:1.5}.match-detail .detail-content{border-top:1px solid #e4eaf2;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 #e1e7f0;border-radius:12px;overflow:hidden}.match-team-stats-clubs{display:flex;justify-content:space-between;gap:15px;padding:12px;background:#f0f4fa;font-size:12px;color:#203d69}.match-team-stat{display:grid;grid-template-columns:40px minmax(0,1fr) 40px;align-items:center;padding:12px;border-top:1px solid #e6ebf3;text-align:center;font-size:13px}.match-team-stat b:first-child{color:#2457a0}.match-team-stat b:last-child{color:#c62a49}.match-team-stat span{font-weight:650;color:#60728b}

.event-editor{min-width:0;background:#f6f8fc;border:1px solid #dce4f0;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:#17365f}.event-editor-head p{font-size:12px;color:#7c8ba1;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 #e0e6ef;background:#fff;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:#8090a6;font-size:13px}#matchEditForm input{max-width:100%;box-sizing:border-box}#matchEditForm small{font-size:12px;color:#7d8ba0}@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:#f3f5f9;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:#7a8799}
.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:#29466f;font-size:12px}
.squad-search input{width:100%;min-width:0;border:1px solid #d5deea;border-radius:12px;padding:13px 15px;background:white;color:#17365f;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:#7d8ba0;white-space:nowrap}
.squad-search-empty{padding:25px 15px;text-align:center;color:#718096;border:1px dashed #ced9e8;border-radius:12px;background:#fff}
.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:#718096;font-size:14px}
.stats-board{border-radius:16px!important;padding:14px;background:#fff}.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:#fff;border-bottom:1px solid #e8edf4}.stats-ranking-row:hover{background:#f5f8fc}
.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:#294368}.form input,.form select,.form textarea{border:1px solid #d7dfeb;border-radius:10px;min-width:0;padding:12px;background:#fff;color:#17365f}
.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:#8290a3}
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:#d3e4ee;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:#183353}.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 #e0e7f1;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 #dce4ed;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:#19395f;background:#fff;border:1px solid #d8e2ef;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:#19395f;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:#102b50;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:#5e7fa733;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:#17375e;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:#264e80}.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:#102b50}.squad-profile--showcase .profile-position{background:#fff8;color:#234b79;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:#183b66;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:#6e84a2;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:#ffffff0d;border-color:#ffffff14;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}}
