html,
body{
    margin:0;
    min-height:100%;
    font-family:Arial,sans-serif;
    color:#fff;

    background-image:url('background.jpg');
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
    background-attachment:fixed;

    background-color:#050505;
}

/* Phase 2 + 3 final page overrides: keep after legacy page rules. */
.academy-shell .academyDashboard .dashHero,.academy-shell .teamHero,.academy-shell .profileHero,.academy-shell .fixturesHero{border-radius:4px !important;border:1px solid var(--border-soft) !important;background:linear-gradient(118deg,#0b0c0e,#1b1113 62%,var(--club-red-dark)) !important;box-shadow:var(--academy-shadow) !important}
.academy-shell .academyDashboard .dashCard,.academy-shell .academyDashboard .coachCard,.academy-shell .settingsPage .settingsCard,.academy-shell .fotCard,.academy-shell .lightCard,.academy-shell .darkCard,.academy-shell .formationCard,.academy-shell .coachSection,.academy-shell .statsDashboard,.academy-shell .fixturesDashboard,.academy-shell .fixtureFormCard,.academy-shell .fixtureListCard,.academy-shell .fixture-card{background:linear-gradient(145deg,var(--panel-bg-soft),var(--panel-bg)) !important;color:var(--text-main) !important;border:1px solid var(--border-soft) !important;border-radius:3px !important;box-shadow:0 16px 38px rgba(0,0,0,.22) !important}
.academy-shell .academyDashboard .dashCard h2,.academy-shell .academyDashboard .coachCard h2,.academy-shell .settingsPage h2,.academy-shell .fotCard h2,.academy-shell .darkCard h2,.academy-shell .formationCard h2,.academy-shell .coachSection h2,.academy-shell .statsDashboard h2,.academy-shell .fixturesDashboard h2,.academy-shell .fixtureFormCard h2,.academy-shell .fixtureListCard h2{color:var(--text-main) !important}
.academy-shell .academyDashboard .dashCard p,.academy-shell .academyDashboard .coachCard p,.academy-shell .academyDashboard .smallMuted,.academy-shell .settingsPage p,.academy-shell .playerMeta,.academy-shell .statLine span:first-child,.academy-shell .traitTop span:first-child,.academy-shell .coachRole,.academy-shell .fixture-meta,.academy-shell .teamSub{color:var(--text-muted) !important}
.academy-shell .academyDashboard .feedPost,.academy-shell .academyDashboard .todoItem,.academy-shell .academyDashboard .responseItem,.academy-shell .academyDashboard .familyResponseItem,.academy-shell .academyDashboard .familyTrainingBlock,.academy-shell .academyDashboard .responseStat,.academy-shell .insightBox,.academy-shell .commitmentMini,.academy-shell .journeyItem,.academy-shell .coachStatsCard,.academy-shell .coachStatBox,.academy-shell .edit-form{background:#101113 !important;color:var(--text-main) !important;border-color:var(--border-soft) !important;border-radius:2px !important}
.academy-shell .academyDashboard .feedLink,.academy-shell .matchName a,.academy-shell .squadPlayer,.academy-shell .fixtureButton{color:var(--club-gold) !important}.academy-shell .academyDashboard .feedPostText span,.academy-shell .insightList li,.academy-shell .commitmentMini span,.academy-shell .journeyNote,.academy-shell .coachStatBox span:last-child{color:var(--text-muted) !important}.academy-shell .statValue,.academy-shell .traitTop span:last-child,.academy-shell .commitmentMini strong,.academy-shell .coachStatBox strong,.academy-shell .fixture-score{color:var(--text-main) !important}
.academy-shell .settingsPreview{--preview-primary:var(--club-red);--preview-secondary:var(--club-gold);--preview-page:var(--page-bg);--preview-card:var(--panel-bg);background:radial-gradient(circle at 90% 10%,color-mix(in srgb,var(--preview-primary) 22%,transparent),transparent 38%),var(--preview-page) !important}.academy-shell .settingsPreview .settingsPreviewIdentity,.academy-shell .settingsPreview .academy-panel{background:var(--preview-card) !important}.academy-shell .settingsPreview .settingsPreviewIdentity{border-color:color-mix(in srgb,var(--preview-secondary) 40%,transparent)}.academy-shell .settingsPreview .academy-button{background:var(--preview-primary) !important}.academy-shell .settingsPreview .academy-section-kicker{color:var(--preview-secondary)}
.academy-shell .profileSelect select,.academy-shell .seasonSelector select,.academy-shell .fixturesHero select,.academy-shell .feedForm input,.academy-shell .feedForm textarea,.academy-shell .feedForm select,.academy-shell .fixtureFormCard input,.academy-shell .fixtureFormCard select,.academy-shell .edit-form input,.academy-shell .edit-form select{background:#090a0b !important;color:var(--text-main) !important;border-color:rgba(255,255,255,.13) !important;border-radius:2px !important}
.academy-shell .quickStats,.academy-shell .seasonStatsGrid{gap:1px !important;background:var(--border-soft) !important;border:1px solid var(--border-soft)}.academy-shell .quickStat,.academy-shell .seasonStat{background:#101113 !important;color:var(--text-muted) !important;border:0 !important;border-radius:0 !important}.academy-shell .quickStat strong,.academy-shell .seasonStat strong{color:var(--text-main) !important}
.academy-shell .teamTableScroll,.academy-shell .tableWrap,.academy-shell .tableScroll{width:100%;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;border:1px solid var(--border-soft)}.academy-shell .teamTableScroll table{min-width:720px}.academy-shell .squadTable,.academy-shell .teamTable,.academy-shell .matchTable{background:#0d0e10 !important}.academy-shell .squadTable tr,.academy-shell .squadTable td,.academy-shell .teamTable tr,.academy-shell .teamTable td,.academy-shell .matchTable tr,.academy-shell .matchTable td{background:#0d0e10 !important;color:var(--text-main) !important}.academy-shell .squadTable th,.academy-shell .teamTable th,.academy-shell .matchTable th{background:#17181b !important;color:var(--text-muted) !important}.academy-shell .teamTable .currentTeamRow td{background:rgba(193,18,31,.2) !important}.academy-shell .positionBadge{background:#24262a !important;color:var(--club-gold) !important}.academy-shell .teamTable td:nth-child(10),.academy-shell .teamTable td:nth-child(10) strong{color:var(--club-gold) !important;font-weight:900}
.academy-shell .fixture-card{border-left:3px solid var(--club-red) !important}.academy-shell .fixture-card.fixture-tournament{border-left-color:var(--club-gold) !important}.academy-shell .fixture-title{color:var(--text-main) !important}.academy-shell .fixture-score{background:rgba(212,175,90,.07) !important;border:1px solid rgba(212,175,90,.32) !important}.academy-shell .workflow-buttons .button{background:#222429 !important;color:#fff !important;border:1px solid rgba(255,255,255,.1) !important;border-radius:2px !important}.academy-shell .workflow-buttons .button:hover{background:#2b2d32 !important;border-color:rgba(212,175,90,.45) !important}
.academy-shell .fixtureCard{background:linear-gradient(145deg,var(--panel-bg-soft),var(--panel-bg)) !important;color:var(--text-main) !important;border:1px solid var(--border-soft) !important;border-radius:3px !important;box-shadow:0 16px 38px rgba(0,0,0,.22) !important}.academy-shell .fixtureCard h3,.academy-shell .fixtureCard .fixtureOpponent,.academy-shell .fixtureCard .fixtureScore{color:var(--text-main) !important}.academy-shell .fixtureCard .fixtureDate,.academy-shell .fixtureCard .fixtureMeta{color:var(--text-muted) !important}.academy-shell .fixtureCard .fixtureButton{color:var(--club-gold) !important}
.academy-shell main a:not(.button):not(.logBtn):not(.fixtureButton):not(.squadPlayer){color:var(--club-gold)}

@media(max-width:760px){.academy-shell .academyDashboard,.academy-shell .settingsPage,.academy-shell .sectionGrid,.academy-shell .profileWide,.academy-shell .coachDashboard,.academy-shell .fixturesDashboard,.academy-shell .statsDashboard{min-width:0}.academy-shell .academyDashboard .feedGrid,.academy-shell .academyDashboard .dashGrid,.academy-shell .overviewGrid,.academy-shell .sectionGrid,.academy-shell .twoCol,.academy-shell .insightGrid,.academy-shell .fixtureFormCard .form-grid,.academy-shell .edit-form .form-grid{grid-template-columns:1fr !important}.academy-shell .academyDashboard .feedList{grid-template-columns:1fr}.academy-shell .academyDashboard .todoItem,.academy-shell .academyDashboard .responseItem,.academy-shell .academyDashboard .familyResponseItem,.academy-shell .fixture-top{align-items:flex-start;flex-direction:column}.academy-shell .workflow-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.academy-shell .workflow-buttons .button{width:100%;text-align:center}.academy-shell .quickStats,.academy-shell .commitmentMiniGrid,.academy-shell .coachStatsGrid{grid-template-columns:repeat(2,minmax(0,1fr)) !important}.academy-shell .teamTableScroll{max-width:100%}}
@media(max-width:430px){.academy-shell .workflow-buttons{grid-template-columns:1fr}.academy-shell .academyDashboard .dashCard,.academy-shell .academyDashboard .coachCard,.academy-shell .settingsPage .settingsCard,.academy-shell .fotCard,.academy-shell .fixture-card{padding:17px !important}.academy-shell .academyDashboard .dashHero,.academy-shell .teamHero,.academy-shell .profileHero,.academy-shell .fixturesHero{padding:22px 18px !important}}

/* Phase 6 - Secondary Page Academy Redesign (final cascade) */
:is(.phase6-match-report,.phase6-reports-index,.phase6-parent-report,.phase6-tournament-view,.phase6-training,.phase6-tournament-admin,.phase6-tournament-fixtures,.phase6-published-squads){color:var(--text-main)}
:is(.phase6-match-report .report-header,.phase6-reports-index .page-header,.phase6-parent-report .parent-hero,.phase6-tournament-view .tournament-hero,.phase6-training .trainingHero,.phase6-tournament-admin .pageHero,.phase6-tournament-fixtures .pageHero,.phase6-published-squads .pageHero){position:relative;overflow:hidden;max-width:1200px;margin:24px auto;padding:clamp(22px,4vw,42px) !important;border:1px solid var(--border-soft) !important;border-radius:4px !important;background:linear-gradient(118deg,#090a0c,#1b1113 62%,var(--club-red-dark)) !important;color:var(--text-main) !important;box-shadow:var(--academy-shadow) !important}
:is(.phase6-match-report .card,.phase6-match-report .awards-section,.phase6-match-report .award-card,.phase6-match-report .lineup-poster,.phase6-match-report .rating-card,.phase6-match-report .match-story-box,.phase6-reports-index .report-card,.phase6-reports-index .empty-card,.phase6-parent-report .card,.phase6-parent-report .report-card,.phase6-tournament-view .tournament-card,.phase6-training .card,.phase6-training .editSessionPanel,.phase6-tournament-admin .card,.phase6-tournament-admin .squadEditor,.phase6-tournament-fixtures .card,.phase6-tournament-fixtures .fixture-card,.phase6-tournament-fixtures .edit-form,.phase6-published-squads .publishedSquadPostCard,.phase6-published-squads .pasteImportResultPanel){background:linear-gradient(145deg,var(--panel-bg-soft),var(--panel-bg)) !important;color:var(--text-main) !important;border:1px solid var(--border-soft) !important;border-radius:3px !important;box-shadow:0 16px 38px rgba(0,0,0,.22) !important}
:is(.phase6-match-report,.phase6-reports-index,.phase6-parent-report,.phase6-tournament-view,.phase6-training,.phase6-tournament-admin,.phase6-tournament-fixtures,.phase6-published-squads) :is(h1,h2,h3,strong){color:var(--text-main)}
:is(.phase6-match-report .report-grid,.phase6-match-report .averages-grid,.phase6-match-report .totals-grid,.phase6-match-report .rating-card-grid,.phase6-match-report .standout-grid,.phase6-parent-report .quick-grid,.phase6-parent-report .stats-grid,.phase6-parent-report .positives-grid) > div,:is(.phase6-tournament-view .summary-box,.phase6-training .statBox,.phase6-published-squads .publishedSquadFixture,.phase6-published-squads .importResultGrid > div){background:#101113 !important;color:var(--text-main) !important;border:1px solid var(--border-soft) !important;border-radius:2px !important}
:is(.phase6-match-report .match-meta,.phase6-match-report .award-meta,.phase6-match-report .muted,.phase6-reports-index .report-top p,.phase6-reports-index .report-meta,.phase6-reports-index .basic-report-note,.phase6-parent-report .summary-text,.phase6-parent-report .pdf-credit,.phase6-tournament-view .coach-line,.phase6-tournament-view .player-role,.phase6-tournament-view .notes-box,.phase6-training .monthGroup summary span,.phase6-published-squads p,.phase6-published-squads label,.phase6-published-squads .publishedSquadFixture span,.phase6-published-squads .publishedSquadPostList span){color:var(--text-muted) !important}
.phase6-match-report .score-card{background:#090a0b !important;border:1px solid rgba(212,175,90,.38) !important;border-radius:2px !important;color:#fff !important}.phase6-match-report :is(.score-card strong,.award-score,.competition-badge),.phase6-reports-index .score-line,.phase6-tournament-view :is(.group-title,.match-link),.phase6-tournament-fixtures :is(.fixture-tournament-meta,.fixture-score),.phase6-published-squads .squadChip{color:var(--club-gold) !important}
.phase6-reports-index .report-card{padding:22px !important;transition:transform .2s,border-color .2s}.phase6-reports-index .report-card:hover{transform:translateY(-3px);border-color:rgba(212,175,90,.42) !important}
.phase6-parent-report .parent-hero{display:grid !important;grid-template-columns:auto auto 1fr auto;align-items:center;gap:20px}.phase6-parent-report .overall-score,.phase6-parent-report .chart-wrap{background:#090a0b !important;border:1px solid rgba(212,175,90,.38) !important;color:#fff !important}.phase6-parent-report :is(.badge-item,.focus-list li){background:#101113 !important;color:#fff !important;border-color:var(--border-soft) !important}
.phase6-tournament-view .tournament-tabs{overflow-x:auto;flex-wrap:nowrap !important}.phase6-tournament-view .tournament-tabs a{flex:0 0 auto;background:#101113 !important;color:var(--text-muted) !important;border:1px solid var(--border-soft);border-radius:2px !important}.phase6-tournament-view .tournament-tabs a.active{background:var(--club-red) !important;color:#fff !important}.phase6-tournament-view :is(.player-row,.empty-state){background:#101113 !important;color:#fff !important;border:1px solid var(--border-soft)}.phase6-tournament-view .player-name{color:#fff !important}
:is(.phase6-match-report .ratings-table-wrap,.phase6-match-report .table-wrap,.phase6-tournament-view .match-table-wrap,.phase6-tournament-view .standings-wrap,.phase6-training .card,.phase6-tournament-admin .table-wrap,.phase6-tournament-fixtures .tableScroll,.phase6-tournament-fixtures .readableTable){max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
:is(.phase6-tournament-view .match-table,.phase6-tournament-view .standings-table,.phase6-training .attendanceTable,.phase6-tournament-admin table,.phase6-tournament-fixtures table){min-width:620px;background:#0d0e10 !important;color:#fff !important}:is(.phase6-tournament-view,.phase6-training,.phase6-tournament-admin,.phase6-tournament-fixtures) th{background:#17181b !important;color:var(--text-muted) !important}:is(.phase6-tournament-view,.phase6-training,.phase6-tournament-admin,.phase6-tournament-fixtures) td{background:#0d0e10 !important;color:#fff !important;border-color:var(--border-soft) !important}
.phase6-training :is(.monthGroup,.sessionItem,.sessionLink),.phase6-published-squads :is(.publishedSquadFixture,.publishedSquadPostList a,.squadChip,.restWeekList li){background:#101113 !important;color:#fff !important;border-color:var(--border-soft) !important}.phase6-training .sessionItem.active{background:rgba(193,18,31,.2) !important}
:is(.phase6-training,.phase6-tournament-admin,.phase6-tournament-fixtures,.phase6-published-squads) :is(input,select,textarea){background:#090a0b !important;color:#fff !important;border:1px solid rgba(255,255,255,.14) !important;border-radius:2px !important}
@media(max-width:900px){.phase6-parent-report .parent-hero{grid-template-columns:auto 1fr !important}.phase6-parent-report .overall-score{grid-column:1/-1}.phase6-tournament-view .tournament-grid,.phase6-training .trainingGrid,.phase6-published-squads .publishedSquadLayout{grid-template-columns:1fr !important}.phase6-match-report .report-header{display:grid !important;gap:18px}}
@media(max-width:600px){:is(.phase6-match-report .report-header,.phase6-reports-index .page-header,.phase6-parent-report .parent-hero,.phase6-tournament-view .tournament-hero,.phase6-training .trainingHero,.phase6-tournament-admin .pageHero,.phase6-tournament-fixtures .pageHero,.phase6-published-squads .pageHero){margin:14px 12px;padding:22px 18px !important}.phase6-parent-report .parent-hero{grid-template-columns:1fr !important;text-align:center}.phase6-parent-report .parent-hero>*{justify-self:center !important}:is(.phase6-match-report .report-grid,.phase6-match-report .averages-grid,.phase6-match-report .totals-grid,.phase6-match-report .rating-card-grid,.phase6-match-report .standout-grid,.phase6-parent-report .quick-grid,.phase6-parent-report .stats-grid,.phase6-parent-report .positives-grid,.phase6-parent-report .report-chart-grid,.phase6-training .statsRow,.phase6-published-squads .publishedSquadFormGrid,.phase6-published-squads .importResultGrid){grid-template-columns:1fr !important}}

/* Phase 6 - Secondary Page Academy Redesign */
.phase6-match-report,
.phase6-reports-index,
.phase6-parent-report,
.phase6-tournament-view,
.phase6-training,
.phase6-tournament-admin,
.phase6-tournament-fixtures,
.phase6-published-squads{
    color:var(--text-main);
}

.phase6-match-report .report-header,
.phase6-reports-index .page-header,
.phase6-parent-report .parent-hero,
.phase6-tournament-view .tournament-hero,
.phase6-training .trainingHero,
.phase6-tournament-admin .pageHero,
.phase6-tournament-fixtures .pageHero,
.phase6-published-squads .pageHero{
    position:relative;
    overflow:hidden;
    max-width:1200px;
    margin:24px auto;
    padding:clamp(22px,4vw,42px) !important;
    border:1px solid var(--border-soft) !important;
    border-radius:4px !important;
    background:linear-gradient(118deg,#090a0c,#1b1113 62%,var(--club-red-dark)) !important;
    color:var(--text-main) !important;
    box-shadow:var(--academy-shadow) !important;
}

.phase6-reports-index .page-wrap,
.phase6-parent-report .parent-report,
.phase6-tournament-view .tournament-page,
.phase6-tournament-admin .tournament-wrap{
    width:min(1200px,calc(100% - 32px));
    max-width:1200px !important;
    margin-inline:auto !important;
}

.phase6-match-report .card,
.phase6-match-report .awards-section,
.phase6-match-report .award-card,
.phase6-match-report .lineup-poster,
.phase6-match-report .rating-card,
.phase6-match-report .match-story-box,
.phase6-reports-index .report-card,
.phase6-reports-index .empty-card,
.phase6-parent-report .card,
.phase6-parent-report .report-card,
.phase6-tournament-view .tournament-card,
.phase6-training .card,
.phase6-training .editSessionPanel,
.phase6-tournament-admin .card,
.phase6-tournament-admin .squadEditor,
.phase6-tournament-fixtures .card,
.phase6-tournament-fixtures .fixture-card,
.phase6-tournament-fixtures .edit-form,
.phase6-published-squads .publishedSquadPostCard,
.phase6-published-squads .pasteImportResultPanel{
    background:linear-gradient(145deg,var(--panel-bg-soft),var(--panel-bg)) !important;
    color:var(--text-main) !important;
    border:1px solid var(--border-soft) !important;
    border-radius:3px !important;
    box-shadow:0 16px 38px rgba(0,0,0,.22) !important;
}

.phase6-match-report :is(.card,.awards-section,.award-card,.rating-card) :is(h1,h2,h3,strong),
.phase6-reports-index .report-card :is(h2,.score-line),
.phase6-parent-report :is(.card,.report-card) :is(h2,h3,strong),
.phase6-tournament-view .tournament-card :is(h2,h3,strong),
.phase6-training .card :is(h2,h3,strong),
.phase6-tournament-admin .card :is(h2,h3,strong),
.phase6-tournament-fixtures :is(.card,.fixture-card) :is(h2,h3,strong),
.phase6-published-squads .publishedSquadPostCard :is(h2,h3,strong){
    color:var(--text-main) !important;
}

.phase6-match-report :is(.report-grid,.averages-grid,.totals-grid,.rating-card-grid,.standout-grid) > div,
.phase6-parent-report :is(.quick-grid,.stats-grid,.positives-grid) > div,
.phase6-tournament-view .summary-box,
.phase6-training .statBox,
.phase6-published-squads .publishedSquadFixture,
.phase6-published-squads .importResultGrid > div{
    background:#101113 !important;
    color:var(--text-main) !important;
    border:1px solid var(--border-soft) !important;
    border-radius:2px !important;
}

.phase6-match-report :is(.report-grid,.averages-grid,.totals-grid,.rating-card-grid) span,
.phase6-match-report :is(.match-meta,.award-meta,.muted,.key-moment-detail),
.phase6-reports-index :is(.report-top p,.report-meta,.basic-report-note,.page-header p),
.phase6-parent-report :is(.quick-grid,.stats-grid,.positives-grid) span,
.phase6-parent-report :is(.report-card p,.summary-text,.pdf-credit),
.phase6-tournament-view :is(.coach-line,.player-role,.notes-box,.empty-state),
.phase6-training :is(.monthGroup summary span,.sessionItem small),
.phase6-published-squads :is(p,label,.publishedSquadFixture span,.publishedSquadPostList span){
    color:var(--text-muted) !important;
}

.phase6-match-report .score-card{
    background:#090a0b !important;
    border:1px solid rgba(212,175,90,.38) !important;
    border-radius:2px !important;
    color:var(--text-main) !important;
}
.phase6-match-report .score-card strong,
.phase6-match-report .award-score,
.phase6-match-report .competition-badge{
    color:var(--club-gold) !important;
}
.phase6-match-report .lineup-poster{background:linear-gradient(160deg,#0b0c0e,#17191d) !important}
.phase6-match-report .lineup-player span,
.phase6-match-report .lineup-sub span{background:#0a0b0d !important;color:#fff !important;border-color:rgba(212,175,90,.36) !important}
.phase6-match-report .ratings-table-wrap,
.phase6-match-report .table-wrap,
.phase6-parent-report .report-chart-grid,
.phase6-tournament-view :is(.match-table-wrap,.standings-wrap),
.phase6-training .card,
.phase6-tournament-admin .table-wrap,
.phase6-tournament-fixtures :is(.tableScroll,.readableTable){max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}

.phase6-reports-index .reports-grid{gap:18px !important}
.phase6-reports-index .report-card{padding:22px !important;transition:transform .2s,border-color .2s}
.phase6-reports-index .report-card:hover{transform:translateY(-3px);border-color:rgba(212,175,90,.42) !important}
.phase6-reports-index .score-line{color:var(--club-gold) !important}
.phase6-reports-index .report-season select{background:#090a0b !important;color:#fff !important;border:1px solid var(--border-soft) !important;border-radius:2px !important}

.phase6-parent-report .parent-hero{display:grid !important;grid-template-columns:auto auto 1fr auto;align-items:center;gap:20px}
.phase6-parent-report .parent-hero > img:not(.club-badge){border:2px solid var(--club-gold) !important;box-shadow:0 14px 34px rgba(0,0,0,.4)}
.phase6-parent-report .overall-score{background:#090a0b !important;border:1px solid rgba(212,175,90,.38) !important;color:#fff !important}
.phase6-parent-report .chart-wrap{background:#0b0c0e !important;border:1px solid var(--border-soft);border-radius:2px;padding:12px}
.phase6-parent-report .badge-item,
.phase6-parent-report .focus-list li{background:#101113 !important;color:var(--text-main) !important;border-color:var(--border-soft) !important}
.phase6-parent-report .report-actions a,
.phase6-parent-report .report-actions button{border-radius:2px !important;text-transform:uppercase;letter-spacing:.06em;font-weight:900}

.phase6-tournament-view .tournament-tabs{overflow-x:auto;flex-wrap:nowrap !important;padding-bottom:5px}
.phase6-tournament-view .tournament-tabs a{flex:0 0 auto;background:#101113 !important;color:var(--text-muted) !important;border:1px solid var(--border-soft);border-radius:2px !important}
.phase6-tournament-view .tournament-tabs a.active{background:var(--club-red) !important;color:#fff !important}
.phase6-tournament-view .player-row,
.phase6-tournament-view .empty-state{background:#101113 !important;color:var(--text-main) !important;border:1px solid var(--border-soft)}
.phase6-tournament-view .player-name{color:var(--text-main) !important}
.phase6-tournament-view :is(.match-table,.standings-table){min-width:620px;background:#0d0e10 !important}
.phase6-tournament-view :is(.match-table,.standings-table) th{background:#17181b !important;color:var(--text-muted) !important}
.phase6-tournament-view :is(.match-table,.standings-table) td{background:#0d0e10 !important;color:var(--text-main) !important;border-color:var(--border-soft) !important}
.phase6-tournament-view .standings-table tr.highlight-row td{background:rgba(193,18,31,.2) !important}
.phase6-tournament-view .group-title,
.phase6-tournament-view .match-link{color:var(--club-gold) !important}

.phase6-training .trainingGrid{max-width:1280px;margin:0 auto 40px;gap:18px}
.phase6-training .monthGroup,
.phase6-training .sessionItem,
.phase6-training .sessionLink{background:#101113 !important;color:var(--text-main) !important;border-color:var(--border-soft) !important}
.phase6-training .sessionItem.active{background:rgba(193,18,31,.2) !important;border:1px solid rgba(193,18,31,.42)}
.phase6-training :is(input,select,textarea,.notesInput,.statusPill),
.phase6-tournament-admin :is(input,select,textarea),
.phase6-tournament-fixtures :is(input,select,textarea),
.phase6-published-squads :is(input,select,textarea){background:#090a0b !important;color:var(--text-main) !important;border:1px solid rgba(255,255,255,.14) !important;border-radius:2px !important}
.phase6-training .attendanceTable{min-width:720px;background:#0d0e10}
.phase6-training .attendanceTable th{background:#17181b;color:var(--text-muted) !important}
.phase6-training .attendanceTable td{color:var(--text-main);border-color:var(--border-soft) !important}

.phase6-tournament-admin .tournament-grid,
.phase6-tournament-fixtures .fixtures-list,
.phase6-published-squads .publishedSquadLayout{gap:18px !important}
.phase6-tournament-admin table,
.phase6-tournament-fixtures table{background:#0d0e10 !important;color:var(--text-main) !important}
.phase6-tournament-admin th,
.phase6-tournament-fixtures th{background:#17181b !important;color:var(--text-muted) !important}
.phase6-tournament-admin td,
.phase6-tournament-fixtures td{background:#0d0e10 !important;color:var(--text-main) !important;border-color:var(--border-soft) !important}
.phase6-tournament-fixtures .fixture-title{color:#fff !important}
.phase6-tournament-fixtures .fixture-tournament-meta,
.phase6-tournament-fixtures .fixture-score{color:var(--club-gold) !important}

.phase6-published-squads .publishedSquadFixture,
.phase6-published-squads .publishedSquadPostList a,
.phase6-published-squads .squadChip,
.phase6-published-squads .restWeekList li{background:#101113 !important;color:var(--text-main) !important;border-color:var(--border-soft) !important}
.phase6-published-squads .publishedSquadPostList a:hover{border-color:rgba(212,175,90,.42) !important}
.phase6-published-squads .squadChip{color:var(--club-gold) !important}

@media(max-width:900px){
    .phase6-parent-report .parent-hero{grid-template-columns:auto 1fr !important}
    .phase6-parent-report .parent-hero .overall-score{grid-column:1/-1;justify-self:start}
    .phase6-tournament-view .tournament-grid,
    .phase6-training .trainingGrid,
    .phase6-published-squads .publishedSquadLayout{grid-template-columns:1fr !important}
    .phase6-match-report .report-header{display:grid !important;gap:18px}
    .phase6-match-report .score-card{width:100%;box-sizing:border-box}
}

@media(max-width:600px){
    .phase6-match-report .report-header,
    .phase6-reports-index .page-header,
    .phase6-parent-report .parent-hero,
    .phase6-tournament-view .tournament-hero,
    .phase6-training .trainingHero,
    .phase6-tournament-admin .pageHero,
    .phase6-tournament-fixtures .pageHero,
    .phase6-published-squads .pageHero{margin:14px 12px;padding:22px 18px !important}
    .phase6-reports-index .page-wrap,
    .phase6-parent-report .parent-report,
    .phase6-tournament-view .tournament-page,
    .phase6-tournament-admin .tournament-wrap{width:calc(100% - 24px)}
    .phase6-parent-report .parent-hero{grid-template-columns:1fr !important;text-align:center}
    .phase6-parent-report .parent-hero > *{justify-self:center !important}
    .phase6-match-report :is(.report-grid,.averages-grid,.totals-grid,.rating-card-grid,.standout-grid),
    .phase6-parent-report :is(.quick-grid,.stats-grid,.positives-grid,.report-chart-grid),
    .phase6-training .statsRow,
    .phase6-published-squads :is(.publishedSquadFormGrid,.importResultGrid){grid-template-columns:1fr !important}
    .phase6-tournament-view .summary-stats{grid-template-columns:repeat(2,minmax(0,1fr)) !important}
}

/* ===== Squad player avatars fix ===== */

.squadPlayer{
    display:flex;
    align-items:center;
    gap:12px;
    font-weight:900;
    color:#fff;
    text-decoration:none;
}

.avatar{
    width:38px !important;
    height:38px !important;
    min-width:38px !important;
    max-width:38px !important;

    border-radius:50%;
    overflow:hidden;

    display:flex;
    align-items:center;
    justify-content:center;

    background:#444;

    flex-shrink:0;
}

.avatar img{
    width:38px !important;
    height:38px !important;
    max-width:38px !important;

    object-fit:cover;
    display:block;
}

/* stop table images stretching */

.squadTable img{
    width:auto;
    max-width:none;
}
/* ========================================
FANTASY CARD
Northwood Analytics
======================================== */

.shirtMock{
    width:110px;
    height:110px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:none;
    border:none;
    box-shadow:none;
}

.shirtMock img{
    width:100%;
    height:auto;
    object-fit:contain;

    filter:
    drop-shadow(0 6px 10px rgba(0,0,0,.35));

    transition:.3s;
}

.shirtMock img:hover{
    transform:scale(1.05);
}

.fantasyPage{
    min-height:100vh;
    padding:24px 12px 50px;
    display:flex;
    flex-direction:column;
    align-items:center;
}

.fantasyActions{
    width:100%;
    max-width:430px;
    margin-bottom:14px;
}

.fantasyCard{
    width:100%;
    max-width:430px;
    background:linear-gradient(180deg,#20b8ff 0%,#6b5cff 55%,#8d47ff 100%);
    border-radius:28px;
    padding:22px;
    color:#28002f;
    box-shadow:0 18px 40px rgba(0,0,0,.35);
    font-family:Arial, sans-serif;
}

.fantasyTop{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-bottom:18px;
}

.fantasyBrand{
    display:flex;
    align-items:center;
    gap:10px;
    font-weight:900;
}

.fantasyBrand img{
    width:42px;
    height:42px;
    object-fit:contain;
}

.fantasyLeague{
    font-size:22px;
    line-height:1;
}

.fantasySub{
    font-size:11px;
    letter-spacing:2px;
    text-transform:uppercase;
    opacity:.8;
}

.fantasyBadge{
    background:rgba(255,255,255,.22);
    color:white;
    border:1px solid rgba(255,255,255,.4);
    padding:8px 12px;
    border-radius:14px;
    font-weight:900;
}

.fantasyHeadline{
    text-align:center;
    margin:14px 0 18px;
}

.fantasyPoints{
    font-size:34px;
    font-weight:1000;
    line-height:1;
}

.fantasyTeam{
    font-size:26px;
    font-weight:1000;
    line-height:1.05;
}

.fantasyWeek{
    font-size:16px;
    font-weight:800;
    margin-top:8px;
}

.fantasyTopPerformer{
    background:linear-gradient(135deg,#fff 0%,#dff4ff 45%,#7d5cff 100%);
    border:5px solid #fff;
    border-radius:24px;
    padding:16px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    min-height:120px;
    margin-bottom:16px;
}

.fantasyTopPerformer .label{
    font-size:13px;
    font-weight:900;
}

.topPts{
    font-size:24px;
    font-weight:1000;
    margin-top:10px;
}

.topName{
    font-size:18px;
    font-weight:1000;
}

.topPos{
    font-size:12px;
    font-weight:800;
}

.shirtMock{
    width:105px;
    height:110px;
    border-radius:22px 22px 14px 14px;
    background:linear-gradient(90deg,#111 0%,#d71920 45%,#111 100%);
    color:white;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    box-shadow:0 10px 20px rgba(0,0,0,.25);
    border:3px solid rgba(255,255,255,.7);
}

.shirtBadge{
    font-size:12px;
    font-weight:900;
    background:#101113;
    color:#d71920;
    border-radius:50%;
    padding:7px;
    margin-bottom:8px;
}

.shirtName{
    font-size:11px;
    font-weight:900;
    letter-spacing:.5px;
}

.captainRow{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
    background:white;
    border-radius:18px 18px 0 0;
    padding:12px;
    text-align:center;
    font-weight:900;
}

.circleIcon{
    display:inline-flex;
    width:20px;
    height:20px;
    border-radius:50%;
    background:var(--club-gold);
    color:#090909;
    align-items:center;
    justify-content:center;
    font-size:11px;
    margin-right:5px;
}

.fantasyList{
    background:#090a0b;
    color:white;
    padding:16px;
    border-radius:0 0 22px 22px;
}

.fantasyPlayerRow{
    display:grid;
    grid-template-columns:70px 1fr 54px;
    align-items:center;
    gap:8px;
    padding:6px 0;
    font-weight:900;
}

.fpPts{
    font-size:16px;
}

.fpPts span{
    font-size:12px;
    opacity:.75;
    font-weight:600;
}

.fpName{
    font-size:16px;
}

.fpPos{
    justify-self:end;
    font-size:11px;
    background:rgba(255,255,255,.13);
    padding:4px 8px;
    border-radius:999px;
    color:#ddd;
}

.fantasyFooter{
    text-align:center;
    color:white;
    font-size:12px;
    margin-top:18px;
    font-weight:700;
    opacity:.9;
}

@media(max-width:520px){
    .fantasyCard{
        border-radius:0;
        max-width:none;
    }

    .fantasyPage{
        padding-left:0;
        padding-right:0;
    }

    .fantasyPoints{
        font-size:30px;
    }

    .fantasyTeam{
        font-size:23px;
    }
}

/* ========================================
SEASON SELECTOR
Northwood Analytics
======================================== */

.seasonSelector{
    display:flex;
    align-items:center;
    gap:10px;
    margin:0 0 18px;
    background:#fff;
    padding:12px 14px;
    border-radius:14px;
    box-shadow:0 2px 8px rgba(0,0,0,.08);
    width:fit-content;
}

.seasonSelector label{
    font-weight:800;
    color:#141518;
}

.seasonSelector select{
    padding:8px 12px;
    border-radius:10px;
    border:1px solid #d1d5db;
    color:#141518;
    background:#fff;
    font-weight:700;
}

/* ========================================
GLOBAL CONTENT COLOUR FIX
Northwood Analytics
======================================== */

/* Light cards / containers */
.card.light,
.awardCard,
.statCard,
.dashboardCard,
.profileCard,
.reportCard,
.trainingCard,
.teamCard,
.whiteBox{
    background:#fff;
    color:#141518;
}

/* Text inside light cards */
.card.light *,
.awardCard *,
.statCard *,
.dashboardCard *,
.profileCard *,
.reportCard *,
.trainingCard *,
.teamCard *,
.whiteBox *{
    color:#141518;
}

/* Inputs only */
input,
textarea,
select{
    width:100%;
    box-sizing:border-box;
    background:#fff !important;
    color:#141518 !important;
    border:1px solid #d1d5db;
    border-radius:10px;
    padding:10px 12px;
}

input::placeholder,
textarea::placeholder{
    color:#6b7280 !important;
}

select option{
    color:#141518;
    background:#fff;
}

/* ---------- HEADER ---------- */

body:not(.academy-shell) .topbar{
  background:#d71920;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:0;
  padding:0 18px;
  min-height:54px;
  flex-wrap:wrap;
  box-shadow:0 3px 12px rgba(0,0,0,.25);
}

/* Force readable text in cards/forms */
.card,
.card h1,
.card h2,
.card h3,
.card p,
.card label,
.card span,
.card td,
.card th{
    color:#141518;
}

input,
select,
textarea{
    color:#141518 !important;
    background:#fff;
}

input::placeholder,
textarea::placeholder{
    color:#6b7280;
}

select option{
    color:#141518;
}

body:not(.academy-shell) .brand a{
  color:#fff;
  text-decoration:none;
  font-weight:900;
  font-size:20px;
  padding:16px 10px;
  display:block;
}

body:not(.academy-shell) .mainNav{
  display:flex;
  align-items:stretch;
  flex-wrap:wrap;
}

body:not(.academy-shell) .mainNav a{
  color:#fff;
  text-decoration:none;
  font-weight:800;
  font-size:15px;
  padding:18px 13px;
  display:flex;
  align-items:center;
  border-left:1px solid rgba(255,255,255,.15);
}

body:not(.academy-shell) .mainNav .installAppButton{
  appearance:none;
  border:0;
  border-left:1px solid rgba(255,255,255,.15);
  border-radius:0;
  background:#0f7a3a;
  color:#fff;
  cursor:pointer;
  display:flex;
  align-items:center;
  font:inherit;
  font-size:15px;
  font-weight:800;
  padding:18px 13px;
}

.installAppButton[hidden]{
  display:none !important;
}

body:not(.academy-shell) .mainNav .installAppButton:hover{
  background:#111;
}

body:not(.academy-shell) .mainNav a:hover,
body:not(.academy-shell) .mainNav a.active{
  background:#111;
  color:#fff;
  text-decoration:none;
}

body:not(.academy-shell) .mainNav a.logout{
  background:#8f0d15;
}

body:not(.academy-shell) .mainNav a.logout:hover{
  background:#111;
}

body{
  font-family:Arial,sans-serif;
  background:#101010;
  margin:0;
  color:#fff;
}

.wrap{
  max-width:1200px;
  margin:0 auto;
  padding:24px 14px;
}

.card{
  background:#1b1b1b;
  color:#fff;
  border-radius:14px;
  padding:16px;
  margin-bottom:14px;
  box-shadow:0 4px 16px rgba(0,0,0,.35);
}

input,
select,
textarea{
  background:#fff;
  color:#0b2344;
}

.academy-shell .insightBox,.academy-shell .commitmentMini,.academy-shell .journeyItem,.academy-shell .coachStatsCard,.academy-shell .coachBanter,.academy-shell .edit-form{background:#101113 !important;color:#fff !important;border-color:var(--border-soft) !important;border-radius:2px !important}
.academy-shell .insightBox h3,.academy-shell .insightList li,.academy-shell .commitmentMini strong,.academy-shell .commitmentMini span,.academy-shell .trainingMeta,.academy-shell .trainingMeta strong,.academy-shell .journeyMonth,.academy-shell .journeyNote,.academy-shell .coachStatsHeader h2,.academy-shell .coachStatsHeader p,.academy-shell .coachBanter,.academy-shell .fixture-title,.academy-shell summary{color:inherit !important}
.academy-shell .commitmentLabel{color:var(--text-muted) !important}.academy-shell .commitmentCard{border-left:3px solid var(--club-red) !important}.academy-shell .coachStatsCard{padding:20px}.academy-shell .matchTable td{background:#0d0e10 !important;color:#fff !important}.academy-shell .matchTable th{background:#161719 !important;color:#aeb1b6 !important}.academy-shell .matchName a{color:#fff !important}.academy-shell .fixture-card.fixture-tournament{border-left-color:var(--club-gold) !important}.academy-shell .alert.success,.academy-shell .journeyMessage{background:#102418 !important;color:#9be1af !important;border:1px solid rgba(155,225,175,.2)}
.academy-shell .lightCard,.academy-shell .darkCard,.academy-shell .formationCard,.academy-shell .fixturesDashboard,.academy-shell .statsDashboard,.academy-shell .coachSection{background:linear-gradient(145deg,var(--panel-bg-soft),var(--panel-bg)) !important;color:#fff !important;border:1px solid var(--border-soft) !important;border-radius:3px !important;box-shadow:0 16px 38px rgba(0,0,0,.24) !important}.academy-shell .lightCard,.academy-shell .darkCard,.academy-shell .fixturesDashboard,.academy-shell .statsDashboard,.academy-shell .coachSection{padding:22px}.academy-shell .tabs{display:flex;overflow-x:auto;margin-bottom:16px}.academy-shell .tabs a{white-space:nowrap}.academy-shell .typeFilters a{background:#0c0d0f !important;color:var(--text-muted) !important;border-color:var(--border-soft) !important}.academy-shell .typeFilters a.active{background:var(--club-red) !important;color:#fff !important}.academy-shell .teamTable .currentTeamRow td{background:rgba(193,18,31,.16) !important;border-top:1px solid rgba(193,18,31,.38);border-bottom:1px solid rgba(193,18,31,.38)}.academy-shell .positionBadge{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#202126;color:var(--club-gold);font-weight:900}.academy-shell .teamTable td:nth-child(10){font-size:17px;color:var(--club-gold) !important;font-weight:900}
.academy-shell .adminPublicCard,.academy-shell .adminPublicSponsors,.academy-shell .adminPublicSponsorForm,.academy-shell .adminPublicSponsorList article{background:linear-gradient(145deg,var(--panel-bg-soft),var(--panel-bg)) !important;color:#fff !important;border-color:var(--border-soft) !important;border-radius:3px !important}.academy-shell .adminPublicCard h2,.academy-shell .adminPublicSponsors h2,.academy-shell .adminPublicCard label,.academy-shell .adminPublicSponsorForm label,.academy-shell .adminPublicSponsorList span{color:inherit !important}.academy-shell .adminPublicSectionTitle p,.academy-shell .adminPublicCard p{color:var(--text-muted) !important}.academy-shell .adminPublicImagePreview,.academy-shell .adminPublicLogoFallback{background:#090a0b !important}.academy-shell .adminPublicPreview{background:var(--club-red);color:#fff;border-radius:2px}.academy-shell .adminPublicSave button,.academy-shell .adminPublicSponsorForm button{background:var(--club-red);border-radius:2px}

@media(max-width:900px){
  .topbar{
    padding:0;
  }

  .brand{
    width:100%;
    text-align:center;
  }

  .mainNav{
    width:100%;
    display:grid;
    grid-template-columns:1fr 1fr;
  }

  .mainNav a{
    justify-content:center;
    border-top:1px solid rgba(255,255,255,.15);
    padding:13px 8px;
    font-size:14px;
  }

  .mainNav .installAppButton{
    justify-content:center;
    border-left:1px solid rgba(255,255,255,.15);
    border-top:1px solid rgba(255,255,255,.15);
    padding:13px 8px;
    font-size:14px;
  }
}

/* ========================================
   ACADEMY PHASE 2 + 3 PAGE POLISH
======================================== */
.academy-shell a:not(.academy-button):not(.logBtn):not(.button):not(.fixtureButton):not(.navGroup a):not(.brand){
    color:var(--club-gold);
}

/* Dashboard */
.academyDashboard{display:block;min-width:0}
.academyDashboard .dashHero{
    position:relative;
    overflow:hidden;
    margin-bottom:24px;
    padding:clamp(26px,4vw,48px);
    border:1px solid var(--border-soft);
    border-radius:4px;
    background:linear-gradient(118deg,#0b0c0e,#1c1113 62%,var(--club-red-dark));
    box-shadow:var(--academy-shadow);
}
.academyDashboard .dashHero:after{content:"";position:absolute;right:-70px;bottom:-150px;width:330px;height:330px;border-radius:50%;background:rgba(193,18,31,.18);filter:blur(12px);pointer-events:none}
.academyDashboard .dashHero h1{position:relative;color:var(--text-main);font-size:clamp(36px,5vw,64px);line-height:.95;letter-spacing:-.045em;text-transform:uppercase}
.academyDashboard .dashHero p{color:var(--text-soft);font-size:16px}.academyDashboard .heroSub{color:var(--text-muted);text-transform:uppercase;letter-spacing:.12em;font-size:10px}.academyDashboard .clubBadge{width:104px;height:104px;border:1px solid rgba(212,175,90,.35);border-radius:50%;background:rgba(0,0,0,.24);box-shadow:0 18px 38px rgba(0,0,0,.35)}
.academyDashboard .dashGrid,.academyDashboard .feedGrid,.academyDashboard .coachCards{gap:18px;margin-bottom:24px}
.academyDashboard .dashCard,.academyDashboard .coachCard{
    position:relative;background:linear-gradient(145deg,var(--panel-bg-soft),var(--panel-bg)) !important;color:var(--text-main) !important;border:1px solid var(--border-soft) !important;border-radius:3px !important;padding:22px !important;box-shadow:0 16px 38px rgba(0,0,0,.22) !important;
}
.academyDashboard .dashCard h2,.academyDashboard .coachCard h2{color:var(--text-main) !important;font-size:18px;text-transform:uppercase;letter-spacing:.02em}.academyDashboard .dashCard>h2:after,.academyDashboard .coachCard h2:after{content:"";display:block;width:34px;height:2px;margin-top:10px;background:var(--club-red)}
.academyDashboard .matchLine{color:var(--text-main);font-size:24px}.academyDashboard .smallMuted,.academyDashboard .dashCard p,.academyDashboard .coachCard p{color:var(--text-muted) !important;line-height:1.6}
.academyDashboard .feedForm{gap:12px}.academyDashboard .feedForm input,.academyDashboard .feedForm textarea,.academyDashboard .feedForm select{background:#090a0b !important;color:var(--text-main) !important;border:1px solid rgba(255,255,255,.12) !important;border-radius:2px !important}.academyDashboard .feedBtn{min-height:44px;border-radius:2px;background:var(--club-red);text-transform:uppercase;letter-spacing:.09em;font-size:10px}.academyDashboard .feedList{gap:14px}.academyDashboard .feedPost{overflow:hidden;background:#0b0c0e !important;border:1px solid var(--border-soft) !important;border-radius:3px !important;transition:transform .2s,border-color .2s}.academyDashboard .feedPost:hover{transform:translateY(-3px);border-color:rgba(212,175,90,.35) !important}.academyDashboard .feedPost img{aspect-ratio:16/11}.academyDashboard .feedPostText{padding:14px}.academyDashboard .feedPostText strong{color:var(--text-main)}.academyDashboard .feedPostText span{color:var(--text-muted) !important}.academyDashboard .feedLink{color:var(--club-gold) !important;text-transform:uppercase;letter-spacing:.08em;font-size:10px}
.academyDashboard .todoItem,.academyDashboard .responseItem,.academyDashboard .familyResponseItem,.academyDashboard .familyTrainingBlock,.academyDashboard .responseStat{border-radius:2px !important}.academyDashboard .todoItem,.academyDashboard .responseItem,.academyDashboard .familyResponseItem{padding:14px}.academyDashboard .statusHint{background:rgba(212,175,90,.1);color:var(--club-gold);border:1px solid rgba(212,175,90,.25)}.academyDashboard .logBtn{border-radius:2px;text-transform:uppercase;letter-spacing:.07em;font-size:10px}.academyDashboard .logBtn.secondary{background:#25272b}.academyDashboard .responseStat strong{color:var(--text-main);font-size:27px}.academyDashboard .coachCard{transition:transform .2s,border-color .2s}.academyDashboard .coachCard:hover{transform:translateY(-3px);border-color:rgba(193,18,31,.45) !important}

/* Club settings */
.settingsPage .settingsGrid{align-items:stretch}.settingsPage .settingsCard{min-width:0}.settingsPage .settingsCard p{color:var(--text-muted) !important;line-height:1.6}.settingsPage .colourRow{align-items:center}.settingsPage .colourRow input[type=color]{border-radius:2px !important;background:#090a0b !important}.settingsPage .settingsPreview{background:radial-gradient(circle at 90% 10%,rgba(193,18,31,.16),transparent 38%),linear-gradient(145deg,var(--panel-bg-soft),var(--panel-bg)) !important}.settingsPage .settingsPreviewIdentity{margin-bottom:18px}.settingsPage .settingsPreviewIdentity strong{color:var(--text-main);font-size:21px}.settingsPage .settingsPreviewIdentity span,.settingsPage .settingsPreview>p{color:var(--text-muted) !important}.settingsPage .settingsPreview>p{margin:7px 0}.settingsPage .settingsPreview .academy-button{margin-top:14px}.settingsPage .saveBar{position:sticky;bottom:12px;z-index:5;padding:12px;background:rgba(5,5,5,.86);border:1px solid var(--border-soft);backdrop-filter:blur(12px)}

/* Player profiles */
.academy-shell .profileHero{padding:clamp(24px,4vw,44px) !important;margin-bottom:22px !important}.academy-shell .profileIdentity{min-width:0}.academy-shell .playerName{color:var(--text-main);font-size:clamp(34px,5vw,58px);letter-spacing:-.04em;text-transform:uppercase}.academy-shell .playerMeta{color:var(--text-muted)}.academy-shell .profileSelect{max-width:360px}.academy-shell .profileSelect select{min-height:44px}.academy-shell .ratingCircle{min-width:126px;min-height:126px;border-radius:50% !important;background:radial-gradient(circle,#211b10,#0a0b0d 68%) !important}.academy-shell .ratingNumber{color:var(--text-main)}.academy-shell .ratingLabel{color:var(--club-gold);letter-spacing:.12em}.academy-shell .quickStats{gap:1px;background:var(--border-soft);border:1px solid var(--border-soft)}.academy-shell .quickStat{margin:0;background:#101113 !important;border:0 !important;border-radius:0 !important;padding:17px}.academy-shell .quickStat strong{color:var(--text-main) !important}.academy-shell .quickStat{color:var(--text-muted) !important;font-size:11px;text-transform:uppercase;letter-spacing:.08em}
.academy-shell .sectionGrid,.academy-shell .profileWide,.academy-shell .coachProfileWrap,.academy-shell .coachDashboard{min-width:0}.academy-shell .fotCard{padding:22px !important}.academy-shell .fotCard h2{padding-bottom:13px;border-bottom:1px solid var(--border-soft);font-size:17px;text-transform:uppercase;letter-spacing:.04em}.academy-shell .statLine{padding:12px 0;font-size:14px}.academy-shell .statLine span:first-child{color:var(--text-muted) !important}.academy-shell .statLine .statValue{color:var(--text-main) !important;font-size:16px}.academy-shell .traitsCard .trait{padding:10px 0;margin:0;border-bottom:1px solid rgba(255,255,255,.06)}.academy-shell .traitsCard .trait:last-child{border-bottom:0}.academy-shell .traitTop{font-size:13px}.academy-shell .traitTop span:last-child{color:var(--text-main) !important}.academy-shell .traitBar{height:7px;border-radius:0}.academy-shell .traitFill{border-radius:0}.academy-shell .insightBox{padding:18px}.academy-shell .insightBox h3{color:var(--text-main) !important}.academy-shell .insightList li{color:var(--text-muted) !important;font-weight:600;line-height:1.55}.academy-shell .commitmentMini strong{color:var(--text-main) !important}.academy-shell .commitmentMini span{color:var(--text-muted) !important}.academy-shell .journeyItem{padding:16px}.academy-shell .journeyMonth{color:var(--club-gold) !important}.academy-shell .journeyNote{color:var(--text-soft) !important}.academy-shell .coachStatBox{padding:17px}.academy-shell .coachStatBox strong{color:var(--text-main) !important}.academy-shell .coachStatBox span:last-child{color:var(--text-muted) !important}.academy-shell .coachRatingPill{background:var(--club-red);border-radius:999px}.academy-shell .tableWrap{border:1px solid var(--border-soft)}

/* Team Hub and league table */
.academy-shell .teamHero{position:relative;overflow:hidden;padding:clamp(26px,4vw,46px) !important;background:linear-gradient(118deg,#0b0c0e,#191113 62%,var(--club-red-dark)) !important}.academy-shell .teamTitle{color:var(--text-main) !important;font-size:clamp(34px,5vw,58px);letter-spacing:-.045em;text-transform:uppercase}.academy-shell .teamSub{color:var(--text-muted) !important;text-transform:uppercase;letter-spacing:.09em;font-size:11px}.academy-shell .teamBadge{background:rgba(0,0,0,.2);border:1px solid rgba(212,175,90,.35);box-shadow:0 18px 38px rgba(0,0,0,.35)}.academy-shell .tabs.academy-tabs{margin:18px 0;overflow-x:auto;scrollbar-width:thin}.academy-shell .tabs.academy-tabs a{color:var(--text-muted) !important;text-transform:uppercase;letter-spacing:.08em;font-size:10px}.academy-shell .tabs.academy-tabs a.active{color:var(--text-main) !important}.academy-shell .typeFilters{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}.academy-shell .typeFilters a{border-radius:2px;padding:9px 13px;text-decoration:none;text-transform:uppercase;letter-spacing:.08em;font-size:9px}.academy-shell .overviewGrid{gap:18px}.academy-shell .overviewGrid .darkCard{min-height:190px}.academy-shell .darkCard h2,.academy-shell .formationCard h2,.academy-shell .coachSection h2,.academy-shell .statsDashboard h2,.academy-shell .fixturesDashboard h2{color:var(--text-main) !important;text-transform:uppercase;letter-spacing:.035em}.academy-shell .seasonStatsGrid{gap:1px;background:var(--border-soft);border:1px solid var(--border-soft)}.academy-shell .seasonStat{border-radius:0 !important;background:#101113 !important;padding:16px}.academy-shell .seasonStat strong{color:var(--text-main) !important}.academy-shell .seasonStat span{color:var(--text-muted) !important;font-size:10px;text-transform:uppercase;letter-spacing:.08em}.academy-shell .nextMatchOpponent{font-size:27px;color:var(--text-main) !important}.academy-shell .coachGrid,.academy-shell .coachHead{gap:18px}.academy-shell .coachSection .coachCard{border:1px solid var(--border-soft);border-radius:3px !important;padding:20px;transition:transform .2s,border-color .2s}.academy-shell .coachSection .coachCard:hover{transform:translateY(-3px);border-color:rgba(212,175,90,.35)}.academy-shell .coachRole{color:var(--text-muted) !important}.academy-shell .teamTableScroll{width:100%;overflow-x:auto;border:1px solid var(--border-soft);-webkit-overflow-scrolling:touch}.academy-shell .teamTableScroll table{min-width:720px}.academy-shell .squadTable,.academy-shell .teamTable{background:#0d0e10 !important;border-radius:0 !important}.academy-shell .squadTable tr,.academy-shell .squadTable td,.academy-shell .squadTable th,.academy-shell .teamTable tr,.academy-shell .teamTable td,.academy-shell .teamTable th{background:#0d0e10 !important;color:var(--text-main) !important}.academy-shell .squadTable th,.academy-shell .teamTable th{background:#17181b !important;color:var(--text-muted) !important}.academy-shell .teamTable .currentTeamRow td{background:rgba(193,18,31,.18) !important}.academy-shell .teamTable td:nth-child(10) strong{color:var(--club-gold) !important}.academy-shell .positionBadge{background:#24262a;color:var(--club-gold)}

/* Fixtures Match Centre */
.academy-shell .fixturesHero form{max-width:260px;margin-top:18px}.academy-shell .fixtureFormCard,.academy-shell .fixtureListCard{margin-bottom:24px}.academy-shell .fixtureFormCard h2,.academy-shell .fixtureListCard h2{font-size:20px;text-transform:uppercase;letter-spacing:.04em}.academy-shell .fixtureFormCard .form-grid{gap:16px}.academy-shell .fixtureFormCard label,.academy-shell .edit-form label{color:var(--text-muted) !important;text-transform:uppercase;letter-spacing:.06em;font-size:9px}.academy-shell .fixtureFormCard button,.academy-shell .edit-form button{border-radius:2px;text-transform:uppercase;letter-spacing:.07em;font-size:10px}.academy-shell .fixtures-list{gap:18px}.academy-shell .fixture-card{padding:22px !important}.academy-shell .fixture-title{color:var(--text-main) !important;font-size:21px}.academy-shell .fixture-meta{line-height:1.6}.academy-shell .fixture-score{display:inline-flex;align-items:center;justify-content:center;min-width:86px;min-height:52px;padding:10px 14px;border:1px solid rgba(212,175,90,.32);background:rgba(212,175,90,.07);color:var(--text-main) !important}.academy-shell .fixture-tournament-meta{color:var(--club-gold) !important}.academy-shell .workflow-buttons{padding-top:14px;border-top:1px solid var(--border-soft)}.academy-shell .workflow-buttons .button{min-height:38px;border:1px solid rgba(255,255,255,.1);border-radius:2px !important;background:#222429;color:#fff !important;text-transform:uppercase;letter-spacing:.06em;font-size:9px}.academy-shell .workflow-buttons .button:hover{border-color:rgba(212,175,90,.45);background:#2b2d32}.academy-shell .workflow-buttons .squad{border-left:2px solid #94a3b8}.academy-shell .workflow-buttons .logger{border-left:2px solid #22c55e}.academy-shell .workflow-buttons .review{border-left:2px solid var(--club-gold)}.academy-shell .workflow-buttons .report,.academy-shell .workflow-buttons .pdf{border-left:2px solid var(--club-red)}.academy-shell .fixture-card summary{color:var(--text-soft) !important;text-transform:uppercase;letter-spacing:.07em;font-size:10px}.academy-shell .edit-form{margin-top:16px;padding:18px !important}.academy-shell .edit-buttons{display:flex;gap:8px;flex-wrap:wrap}.academy-shell button.danger{background:#7f1d1d !important;color:#fff !important}

@media(max-width:760px){
    .academyDashboard .heroLeft,.academy-shell .profileIdentity,.academy-shell .teamHero .heroLeft{align-items:flex-start}.academyDashboard .clubBadge{width:78px;height:78px}.academyDashboard .feedGrid,.academyDashboard .dashGrid{grid-template-columns:1fr}.academyDashboard .todoItem,.academyDashboard .responseItem,.academyDashboard .familyResponseItem{align-items:flex-start;flex-direction:column}.academyDashboard .todoActions,.academyDashboard .familyResponseForm{width:100%;justify-content:flex-start}.academyDashboard .feedList{grid-template-columns:1fr}.academyDashboard .responseStats{grid-template-columns:repeat(2,minmax(0,1fr))}
    .academy-shell .profileTop{align-items:flex-start}.academy-shell .profileIdentity{width:100%}.academy-shell .profileHeroPic,.academy-shell .profileFallback{width:88px;height:88px}.academy-shell .ratingCircle{min-width:92px;min-height:92px}.academy-shell .quickStats{grid-template-columns:repeat(2,minmax(0,1fr)) !important}.academy-shell .commitmentMiniGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.academy-shell .coachStatsGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.academy-shell .journeyForm,.academy-shell .journeyItem{grid-template-columns:1fr}.academy-shell .sectionGrid,.academy-shell .twoCol,.academy-shell .insightGrid{grid-template-columns:1fr}
    .academy-shell .overviewGrid{grid-template-columns:1fr}.academy-shell .teamHero .heroLeft{gap:15px}.academy-shell .teamBadge{width:82px;height:82px}.academy-shell .tabs.academy-tabs{width:100%}.academy-shell .pitch{min-width:0}.academy-shell .fixture-top{flex-direction:column;align-items:flex-start}.academy-shell .fixture-score{min-width:0}.academy-shell .workflow-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.academy-shell .workflow-buttons .button{width:100%;text-align:center}.academy-shell .fixtureFormCard .form-grid,.academy-shell .edit-form .form-grid{grid-template-columns:1fr}.settingsPage .saveBar{position:static;padding:0;border:0;background:transparent;backdrop-filter:none}
}

@media(max-width:430px){
    .academyDashboard .dashHero,.academy-shell .teamHero,.academy-shell .profileHero{padding:22px 18px !important}.academyDashboard .heroLeft,.academy-shell .teamHero .heroLeft{display:grid;grid-template-columns:auto 1fr}.academyDashboard .dashHero h1,.academy-shell .teamTitle,.academy-shell .playerName{font-size:31px}.academyDashboard .feedGrid,.academyDashboard .dashGrid,.academyDashboard .coachCards{gap:12px}.academyDashboard .dashCard,.academyDashboard .coachCard,.academy-shell .fotCard,.academy-shell .fixture-card{padding:17px !important}.academy-shell .quickStats{grid-template-columns:1fr 1fr !important}.academy-shell .profileTop{display:grid}.academy-shell .ratingCircle{justify-self:start}.academy-shell .workflow-buttons{grid-template-columns:1fr}.academy-shell .teamTableScroll{max-width:100%}
}

/* ---------- WRAPPER ---------- */

.wrap{
    max-width:1300px;
    margin:auto;
    padding:25px;
}

/* ---------- CARDS ---------- */

.card{
    background:
    linear-gradient(
    135deg,
    rgba(25,25,25,.95),
    rgba(15,15,15,.95)
    );

    border-radius:22px;

    padding:20px;
    margin-bottom:18px;

    border:1px solid rgba(255,255,255,.05);

    box-shadow:
    0 10px 30px rgba(0,0,0,.4);
}

.card h2{
    margin-top:0;
}

/* ---------- BUTTONS ---------- */

button,
.btn{

    display:inline-block;

    background:#d71920;
    color:#fff;

    border:none;

    padding:12px 18px;

    border-radius:12px;

    font-weight:700;

    text-decoration:none;

    cursor:pointer;

    transition:.25s;
}

button:hover,
.btn:hover{
    transform:translateY(-2px);
}

/* ---------- STATS ---------- */

.statgrid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
    gap:12px;
}

.stat{
    background:#222;
    padding:15px;
    border-radius:14px;

    border:1px solid rgba(255,255,255,.05);
}

.bigRating{

    background:
    linear-gradient(
    135deg,
    #00b050,
    #0c9442
    );

    font-size:56px;
    font-weight:900;

    border-radius:20px;
    text-align:center;

    padding:25px;
}

/* ---------- TABLES ---------- */

table{
    width:100%;
    border-collapse:collapse;

    background:#141414;

    border-radius:14px;
    overflow:hidden;
}

th{
    background:#1f1f1f;
}

td,th{
    padding:12px;
    border-bottom:1px solid rgba(255,255,255,.05);
}

tr:hover{
    background:rgba(255,255,255,.03);
}

/* ---------- IMAGES ---------- */

.playerPic,
.profileHeroPic,
.squadPic{

    object-fit:cover;
    border-radius:50%;
    border:3px solid rgba(255,255,255,.15);
}

.playerPic{
    width:80px;
    height:80px;
}

.profileHeroPic{
    width:130px;
    height:130px;
}

.squadPic{
    width:45px;
    height:45px;
}

/* ---------- FOOTER ---------- */

.site-footer{
    margin-top:60px;
    background:#111;
    color:white;
    text-align:center;
    padding:18px;
    border-top:1px solid rgba(255,255,255,.08);
}

.site-footer a{
    color:#d71920;
    text-decoration:none;
}

/* ======================================================
TEAM PAGE
Northwood FC Analytics
Move ALL team.php styles here
====================================================== */

/* ---------- HERO ---------- */

.teamHero{
    background:#171717;
    color:#fff;
    border-radius:22px;
    padding:24px;
    margin-bottom:16px;
    box-shadow:0 4px 14px rgba(0,0,0,.18);
}

.teamHero .heroLeft{
    display:flex;
    align-items:center;
    gap:24px;
}

.teamInfo{
    display:flex;
    flex-direction:column;
}

.teamTitle{
    font-size:36px;
    font-weight:900;
    margin:0;
}

.teamSub{
    color:#cfd3da;
}

/* ---------- TEAM BADGE ---------- */

.teamBadge{
    width:110px;
    height:110px;
    flex-shrink:0;

    display:flex;
    align-items:center;
    justify-content:center;

    padding:12px;
    border-radius:18px;

    box-shadow:0 6px 18px rgba(0,0,0,.25);
}

.teamBadge img{
    width:100%;
    height:100%;
    object-fit:contain;
}

/* ---------- TABS ---------- */

.tabs{
    display:flex;
    gap:22px;
    margin-top:24px;
    flex-wrap:wrap;
}

.tabs a{
    color:#cfd3da;
    text-decoration:none;
    font-weight:900;
}

.tabs a.active{
    color:#fff;
    border-bottom:4px solid var(--club-gold);
    padding-bottom:8px;
}

/* ---------- FILTERS ---------- */

.typeFilters{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    margin-bottom:14px;
}

.typeFilters a{
    background:#202020;
    color:#fff;
    padding:9px 14px;
    border-radius:999px;
    text-decoration:none;
    font-weight:900;
}

.typeFilters a.active{
    background:var(--club-gold);
    color:#080808;
}

/* ---------- DARK CARDS ---------- */

.darkCard,
.formationCard,
.coachSection,
.squadTable{
    background:#202020;
    color:#fff;
}

.darkCard *,
.formationCard *,
.coachSection *,
.squadTable *{
    color:inherit;
}

.darkCard{
    border-radius:18px;
    padding:18px;
    margin-bottom:14px;
}

/* ---------- SQUAD TABLE ---------- */

.squadTable{
    width:100%;
    border-collapse:collapse;
    overflow:hidden;
    border-radius:18px;
}

.squadTable th{
    color:#aaa;
    font-size:13px;
}

.squadTable td,
.squadTable th{
    padding:16px;
    border-bottom:1px solid rgba(255,255,255,.08);
}

/* ---------- PLAYER ROW ---------- */

.squadPlayer{
    display:flex;
    align-items:center;
    gap:12px;

    font-weight:900;
    color:#fff;
    text-decoration:none;
}

.squadPlayer:hover{
    opacity:.85;
}

/* ---------- AVATARS ---------- */

.avatar{
    width:38px;
    height:38px;
    min-width:38px;
    max-width:38px;

    border-radius:50%;
    overflow:hidden;

    display:flex;
    align-items:center;
    justify-content:center;

    background:#444;

    flex-shrink:0;
}

.avatar img{
    width:100%;
    height:100%;

    object-fit:cover;
    display:block;
}

.squadTable img{
    width:auto;
    max-width:none;
}

/* ---------- RATING ---------- */

.ratingBadge{
    background:#0c9442;
    color:#fff;
    border-radius:8px;
    padding:6px 10px;
    font-weight:900;
}

/* ---------- MOBILE ---------- */

@media(max-width:850px){

    .teamHero .heroLeft{
        flex-wrap:wrap;
    }

    .tabs{
        gap:12px;
    }

}

/* ---------- MOBILE ---------- */

@media(max-width:700px){

body:not(.academy-shell) .mainNav{
    width:100%;
    display:grid;
    grid-template-columns:1fr 1fr;
}

/* Personal Development Journey - Global Cascade Fix */
.developmentJourney{width:min(1180px,calc(100% - 24px));margin:22px auto;padding:clamp(18px,3vw,28px);box-sizing:border-box;background:linear-gradient(145deg,var(--panel-bg-soft),var(--panel-bg)) !important;color:var(--text-main) !important;border:1px solid var(--border-soft) !important;border-radius:4px !important;box-shadow:0 18px 44px rgba(0,0,0,.28)}
.developmentJourneyHead{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding-bottom:18px;border-bottom:1px solid var(--border-soft)}.developmentJourneyHead h2{margin:4px 0 6px;color:#fff !important;font-size:clamp(26px,4vw,40px);text-transform:uppercase;letter-spacing:-.025em}.developmentJourneyHead p{margin:0;color:var(--text-muted) !important}.developmentJourneyHead>strong{color:var(--club-gold) !important;font-size:20px;white-space:nowrap}
.developmentSummary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;margin:20px 0;background:var(--border-soft);border:1px solid var(--border-soft)}.developmentSummary>div{display:flex;flex-direction:column-reverse;gap:5px;min-width:0;padding:17px;background:#101113}.developmentSummary span{color:var(--text-muted) !important;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.07em}.developmentSummary strong{color:#fff !important;font-size:25px}
.developmentChartGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.developmentChart,.developmentNotes{min-width:0;padding:20px;background:#0c0d0f;border:1px solid var(--border-soft);border-radius:3px}.developmentChartTitle{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:16px}.developmentChartTitle h3{margin:0;color:#fff !important;font-size:17px}.developmentChartTitle>span{color:var(--text-muted) !important;font-size:10px;text-transform:uppercase;letter-spacing:.07em}.developmentEmpty{margin:20px 0;color:var(--text-muted) !important}
.ratingTrend{width:100%;height:220px;overflow:hidden}.ratingTrend svg{display:block;width:100% !important;height:185px !important;max-width:100%;min-height:0;overflow:hidden;background:linear-gradient(to bottom,transparent 49%,rgba(255,255,255,.08) 50%,transparent 51%);fill:none !important}.ratingTrend svg *{fill:none !important}.ratingTrend line{stroke:rgba(255,255,255,.12);stroke-width:.5}.ratingTrend polyline{fill:none !important;stroke:var(--club-gold) !important;stroke-width:2.2;vector-effect:non-scaling-stroke;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 3px 6px rgba(0,0,0,.45))}.ratingTrendLabels{display:flex;justify-content:space-between;color:var(--text-muted);font-size:10px}
.developmentScrollableChart{overflow-x:auto}.contributionChart{display:flex;align-items:flex-end;gap:7px;min-width:max-content;height:190px;padding:0 4px 8px}.contributionChart>div{display:grid;grid-template-rows:160px auto;align-items:end;justify-items:center;gap:7px;width:32px}.contributionChart>div>span{color:var(--text-muted);font-size:9px;white-space:nowrap;transform:rotate(-35deg)}.contributionBar{position:relative;width:18px;height:var(--contribution-height);min-height:3px;background:var(--club-gold);border:1px solid rgba(255,255,255,.12)}.contributionBar i{position:absolute;inset:auto 0 0;height:var(--goal-share);background:var(--club-red)}.developmentLegend{display:flex;gap:18px;color:var(--text-muted);font-size:10px}.developmentLegend span:before{content:"";display:inline-block;width:9px;height:9px;margin-right:6px;background:var(--club-red)}.developmentLegend span+span:before{background:var(--club-gold)}
.attendanceChart{display:flex;align-items:flex-end;gap:12px;min-width:max-content;height:210px;padding:0 4px}.attendanceChart>div{display:grid;grid-template-rows:auto 150px auto;align-items:end;justify-items:center;gap:6px;width:42px}.attendanceChart strong{color:#fff !important;font-size:11px}.attendanceChart i{display:block;width:22px;height:var(--attendance-height);min-height:2px;background:linear-gradient(to top,var(--club-red-dark),var(--club-red));border-top:2px solid var(--club-gold)}.attendanceChart span{color:var(--text-muted);font-size:10px}
.developmentTimeline{display:grid;max-height:260px;overflow-y:auto}.developmentTimeline>div{position:relative;display:grid;grid-template-columns:78px minmax(0,1fr);gap:2px 14px;padding:0 0 17px 18px;border-left:1px solid color-mix(in srgb,var(--club-gold) 35%,transparent)}.developmentTimeline>div:before{content:"";position:absolute;left:-5px;top:3px;width:9px;height:9px;background:var(--club-gold);border-radius:50%}.developmentTimeline time{grid-row:1/4;color:var(--text-muted);font-size:10px}.developmentTimeline span{color:var(--club-gold);font-size:9px;font-weight:900;text-transform:uppercase}.developmentTimeline strong{color:#fff !important}.developmentTimeline small{color:var(--text-muted)}
.developmentNotes{margin-top:16px}.developmentNoteForm,.developmentNoteEdit{display:grid;grid-template-columns:150px minmax(160px,.6fr) minmax(240px,1.4fr) auto;gap:9px}.developmentNoteForm{margin-bottom:18px}.developmentJourney :is(input,textarea){width:100%;box-sizing:border-box;background:#08090a !important;color:#fff !important;border:1px solid rgba(255,255,255,.14) !important;border-radius:2px !important;padding:10px;font:inherit}.developmentJourney textarea{min-height:44px;resize:vertical}.developmentJourney button{min-height:42px;border:0;border-radius:2px;background:var(--club-red);color:#fff;padding:9px 13px;font-weight:900}.developmentNoteList{display:grid;gap:10px}.developmentNoteList>article{padding:16px 16px 16px 20px;background:#101113;border:1px solid var(--border-soft);border-left:3px solid var(--club-gold)}.developmentNoteList article>time{display:block;margin-bottom:7px;color:var(--club-gold);font-size:10px;font-weight:900}.developmentNoteList h4{margin:0 0 6px;color:#fff !important}.developmentNoteList p{margin:0;color:var(--text-muted) !important;line-height:1.6}.developmentNoteDelete{margin-top:8px;text-align:right}.developmentNoteDelete button{min-height:34px;background:#64141a;padding:6px 10px}
@media(max-width:850px){.developmentSummary{grid-template-columns:repeat(2,minmax(0,1fr))}.developmentChartGrid{grid-template-columns:1fr}.developmentNoteForm,.developmentNoteEdit{grid-template-columns:1fr}.developmentJourneyHead{align-items:flex-start;flex-direction:column}.developmentJourneyHead>strong{font-size:16px}}
@media(max-width:480px){.developmentJourney{width:calc(100% - 16px);padding:14px}.developmentSummary strong{font-size:21px}.developmentChart,.developmentNotes{padding:15px}.ratingTrend{height:190px}.ratingTrend svg{height:155px !important}}

/* Personal Development Journey */
.developmentJourney{width:min(1180px,calc(100% - 24px));margin:22px auto;padding:clamp(18px,3vw,28px);box-sizing:border-box;background:linear-gradient(145deg,var(--panel-bg-soft),var(--panel-bg)) !important;color:var(--text-main) !important;border:1px solid var(--border-soft) !important;border-radius:4px !important;box-shadow:0 18px 44px rgba(0,0,0,.28)}
.developmentJourneyHead{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding-bottom:18px;border-bottom:1px solid var(--border-soft)}.developmentJourneyHead h2{margin:4px 0 6px;color:#fff !important;font-size:clamp(26px,4vw,40px);text-transform:uppercase;letter-spacing:-.025em}.developmentJourneyHead p{margin:0;color:var(--text-muted) !important}.developmentJourneyHead>strong{color:var(--club-gold) !important;font-size:20px;white-space:nowrap}
.developmentSummary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;margin:20px 0;background:var(--border-soft);border:1px solid var(--border-soft)}.developmentSummary>div{display:flex;flex-direction:column-reverse;gap:5px;min-width:0;padding:17px;background:#101113}.developmentSummary span{color:var(--text-muted) !important;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.07em}.developmentSummary strong{color:#fff !important;font-size:25px}
.developmentChartGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.developmentChart,.developmentNotes{min-width:0;padding:20px;background:#0c0d0f;border:1px solid var(--border-soft);border-radius:3px}.developmentChartTitle{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:16px}.developmentChartTitle h3{margin:0;color:#fff !important;font-size:17px}.developmentChartTitle>span{color:var(--text-muted) !important;font-size:10px;text-transform:uppercase;letter-spacing:.07em}.developmentEmpty{margin:20px 0;color:var(--text-muted) !important}
.ratingTrend{height:220px}.ratingTrend svg{display:block;width:100%;height:185px;overflow:visible;background:linear-gradient(to bottom,transparent 49%,rgba(255,255,255,.08) 50%,transparent 51%)}.ratingTrend line{stroke:rgba(255,255,255,.08);stroke-width:.5}.ratingTrend polyline{fill:none;stroke:var(--club-gold);stroke-width:2.2;vector-effect:non-scaling-stroke;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 3px 6px rgba(0,0,0,.45))}.ratingTrendLabels{display:flex;justify-content:space-between;color:var(--text-muted);font-size:10px}
.developmentScrollableChart{overflow-x:auto}.contributionChart{display:flex;align-items:flex-end;gap:7px;min-width:max-content;height:190px;padding:0 4px 8px}.contributionChart>div{display:grid;grid-template-rows:160px auto;align-items:end;justify-items:center;gap:7px;width:32px}.contributionChart>div>span{color:var(--text-muted);font-size:9px;white-space:nowrap;transform:rotate(-35deg);transform-origin:center}.contributionBar{position:relative;width:18px;height:var(--contribution-height);min-height:3px;background:var(--club-gold);border:1px solid rgba(255,255,255,.12)}.contributionBar i{position:absolute;inset:auto 0 0;height:var(--goal-share);background:var(--club-red)}.developmentLegend{display:flex;gap:18px;color:var(--text-muted);font-size:10px}.developmentLegend span:before{content:"";display:inline-block;width:9px;height:9px;margin-right:6px;background:var(--club-red)}.developmentLegend span+span:before{background:var(--club-gold)}
.attendanceChart{display:flex;align-items:flex-end;gap:12px;min-width:max-content;height:210px;padding:0 4px}.attendanceChart>div{display:grid;grid-template-rows:auto 150px auto;align-items:end;justify-items:center;gap:6px;width:42px}.attendanceChart strong{color:#fff !important;font-size:11px}.attendanceChart i{display:block;width:22px;height:var(--attendance-height);min-height:2px;background:linear-gradient(to top,var(--club-red-dark),var(--club-red));border-top:2px solid var(--club-gold)}.attendanceChart span{color:var(--text-muted);font-size:10px}
.developmentTimeline{display:grid;gap:0;max-height:260px;overflow-y:auto}.developmentTimeline>div{position:relative;display:grid;grid-template-columns:78px minmax(0,1fr);gap:2px 14px;padding:0 0 17px 18px;border-left:1px solid rgba(212,175,90,.35)}.developmentTimeline>div:before{content:"";position:absolute;left:-5px;top:3px;width:9px;height:9px;background:var(--club-gold);border-radius:50%}.developmentTimeline time{grid-row:1/4;color:var(--text-muted);font-size:10px}.developmentTimeline span{color:var(--club-gold);font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.07em}.developmentTimeline strong{color:#fff !important}.developmentTimeline small{color:var(--text-muted)}
.developmentNotes{margin-top:16px}.developmentNoteForm{display:grid;grid-template-columns:150px minmax(160px,.6fr) minmax(240px,1.4fr) auto;gap:9px;margin-bottom:18px}.developmentJourney :is(input,textarea){width:100%;box-sizing:border-box;background:#08090a !important;color:#fff !important;border:1px solid rgba(255,255,255,.14) !important;border-radius:2px !important;padding:10px;font:inherit}.developmentJourney textarea{min-height:44px;resize:vertical}.developmentJourney :is(input,textarea):focus{outline:2px solid color-mix(in srgb,var(--club-gold) 38%,transparent);border-color:var(--club-gold) !important}.developmentJourney button{min-height:42px;border:0;border-radius:2px;background:var(--club-red);color:#fff;padding:9px 13px;font-weight:900;cursor:pointer}.developmentNoteList{display:grid;gap:10px}.developmentNoteList>article{position:relative;padding:16px 16px 16px 20px;background:#101113;border:1px solid var(--border-soft);border-left:3px solid var(--club-gold)}.developmentNoteList article>time{display:block;margin-bottom:7px;color:var(--club-gold);font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.07em}.developmentNoteList h4{margin:0 0 6px;color:#fff !important}.developmentNoteList p{margin:0;color:var(--text-muted) !important;line-height:1.6}.developmentNoteEdit{display:grid;grid-template-columns:150px minmax(180px,.6fr) minmax(240px,1.4fr) auto;gap:8px}.developmentNoteDelete{margin-top:8px;text-align:right}.developmentNoteDelete button{min-height:34px;background:#64141a;padding:6px 10px}
@media(max-width:850px){.developmentSummary{grid-template-columns:repeat(2,minmax(0,1fr))}.developmentChartGrid{grid-template-columns:1fr}.developmentNoteForm,.developmentNoteEdit{grid-template-columns:1fr}.developmentJourneyHead{align-items:flex-start;flex-direction:column}.developmentJourneyHead>strong{font-size:16px}}
@media(max-width:480px){.developmentJourney{width:calc(100% - 16px);padding:14px}.developmentSummary strong{font-size:21px}.developmentChart,.developmentNotes{padding:15px}.ratingTrend{height:190px}.ratingTrend svg{height:155px}}
@media print{.developmentJourney{width:100%;box-shadow:none}.developmentNoteForm,.developmentNoteEdit,.developmentNoteDelete{display:none !important}.developmentChartGrid{grid-template-columns:1fr 1fr}.developmentTimeline{max-height:none;overflow:visible}}

/* Development Journey Regression Fixes */
.ratingTrendBars{display:flex;align-items:flex-end;gap:9px;min-width:max-content;height:220px;padding:0 5px 4px;overflow:visible}.ratingTrendPoint{display:grid;grid-template-rows:20px 160px auto;align-items:end;justify-items:center;gap:6px;width:42px}.ratingTrendPoint>strong{color:#fff !important;font-size:11px}.ratingTrendPoint>div{position:relative;width:24px;height:160px;background:#191a1d;border:1px solid var(--border-soft)}.ratingTrendPoint>div:after{content:"";position:absolute;left:-4px;right:-4px;top:50%;border-top:1px solid rgba(255,255,255,.09)}.ratingTrendPoint i{position:absolute;inset:auto 0 0;height:var(--rating-height);min-height:2px;background:linear-gradient(to top,var(--club-red-dark),var(--club-red) 70%,var(--club-gold));border-top:2px solid var(--club-gold)}.ratingTrendPoint>span{color:var(--text-muted);font-size:9px;white-space:nowrap;transform:rotate(-35deg);transform-origin:center}
.phase6-match-report .ratings-table-wrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;border:1px solid var(--border-soft);background:#0b0c0d}
.phase6-match-report .ratings-table{min-width:980px;background:#0b0c0d !important;color:#fff !important}
.phase6-match-report .ratings-table thead tr,.phase6-match-report .ratings-table th{background:#17181b !important;color:var(--text-muted) !important;border-color:var(--border-soft) !important}
.phase6-match-report .ratings-table tbody tr,.phase6-match-report .ratings-table tbody tr:nth-child(even),.phase6-match-report .ratings-table tbody tr:hover{background:#0d0e10 !important}
.phase6-match-report .ratings-table tbody tr:nth-child(even){background:#121315 !important}
.phase6-match-report .ratings-table td,.phase6-match-report .ratings-table td strong{background:transparent !important;color:#fff !important;border-color:var(--border-soft) !important}
.phase6-match-report .ratings-table .rating-pill{display:inline-flex;align-items:center;justify-content:center;min-width:42px;padding:6px 9px;border:1px solid rgba(212,175,90,.38);background:#222429 !important;color:#fff !important;border-radius:2px;font-weight:900}
.phase6-match-report .ratings-table .rating-pill.elite,.phase6-match-report .ratings-table .rating-pill.great{background:var(--club-gold) !important;color:#090909 !important}
.phase6-match-report .ratings-table .rating-pill.good{background:var(--club-red) !important;color:#fff !important}
.phase6-match-report .parent-report-btn{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:7px 11px;background:var(--club-red) !important;color:#fff !important;border:1px solid rgba(255,255,255,.12);border-radius:2px;text-decoration:none;font-weight:900;white-space:nowrap}
.phase6-match-report .parent-report-btn:hover{background:var(--club-red-dark) !important;color:#fff !important}
@media(max-width:900px){.phase6-match-report .rating-card{background:#101113 !important;color:#fff !important}.phase6-match-report .rating-card :is(span,strong,.rating-band){color:inherit}.phase6-match-report .parent-report-card-btn{width:100%;box-sizing:border-box;margin-top:12px}.ratingTrendBars{height:205px}.ratingTrendPoint{grid-template-rows:20px 145px auto}.ratingTrendPoint>div{height:145px}}

body:not(.academy-shell) .mainNav a{
    text-align:center;
}

.wrap{
    padding:12px;
}

.bigRating{
    font-size:40px;
}

}

/* Force readable training table text */
.attendanceTable,
.attendanceTable th,
.attendanceTable td,
.attendanceTable td strong{
    color:#141518 !important;
}

/* Header row */
.attendanceTable th{
    background:#f8fafc;
    color:#475467 !important;
}

/* Rows */
.attendanceTable tr{
    background:#fff;
}

/* Alternate rows */
.attendanceTable tr:nth-child(even){
    background:#f9fafb;
}

/* ===== Fix dark cards/table text ===== */

.playersTable,
.playersTable th,
.playersTable td,
.playersTable tr,
.playersTable span,
.playersTable p{
    color:#f5f5f5 !important;
}

.playersTable th{
    color:#b8c1cc !important;
}

.playersTable td{
    color:#fff !important;
}

.playersTable .position{
    color:#d1d5db !important;
}

.playersTable a{
    color:#fff !important;
    text-decoration:none;
}

.playersTable a:hover{
    color:#d71920 !important;
}

/* Dark containers automatically get light text */
.dark-card,
.dark-panel,
.dark-section{
    color:#fff;
}

.dark-card *:not(.badge):not(input):not(select):not(textarea){
    color:inherit;
}

/* ===== Global dark card rules ===== */

.darkCard{
    background:#111;
    color:#fff;
}

.darkCard *{
    color:inherit;
}

.squadPlayer{
    color:#fff;
    text-decoration:none;
}

.squadPlayer:hover{
    opacity:.85;
}

.squadTable{
    color:#fff;
}

.squadTable th{
    color:#aaa;
}

.ratingBadge{
    color:#fff;
}

/* ======================================================
TEAM PAGE FIX - MUST STAY AT BOTTOM
====================================================== */

.teamHero,
.darkCard,
.formationCard,
.coachSection,
.statsDashboard{
    background:#202020;
    color:#fff !important;
    border-radius:18px;
    padding:18px;
    margin-bottom:18px;
    box-shadow:0 2px 10px rgba(0,0,0,.25);
}

.teamHero *,
.darkCard *,
.formationCard *,
.coachSection *,
.statsDashboard *{
    color:inherit !important;
}

.overviewGrid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:14px;
}

.seasonStatsGrid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:10px;
}

.seasonStat{
    background:#2b2b2b;
    border-radius:14px;
    padding:12px;
}

.seasonStat strong{
    display:block;
    font-size:26px;
    color:#fff !important;
}

.seasonStat span{
    color:#cfd3da !important;
    font-weight:700;
}

.formBadges{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
}

.formBadge{
    padding:8px 12px;
    border-radius:10px;
    color:#fff !important;
    font-weight:900;
    min-width:46px;
    text-align:center;
}

.formBadge.win{background:#009e67;}
.formBadge.draw{background:#8c949c;}
.formBadge.loss{background:#e23b3b;}

.fixtureMini{
    margin-top:10px;
    color:#d6dae0 !important;
    font-size:13px;
}

.pitch{
    background:linear-gradient(180deg,#263b2a,#1f3024);
    border-radius:22px;
    padding:22px 12px;
    min-height:520px;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
}

.pitchRow{
    display:flex;
    justify-content:center;
    gap:22px;
    flex-wrap:wrap;
}

.pitchPlayer{
    text-align:center;
    width:82px;
}

.pitchAvatar{
    width:58px;
    height:58px;
    border-radius:50%;
    background:#444;
    margin:0 auto 5px;
    overflow:hidden;
    display:flex;
    align-items:center;
    justify-content:center;
}

.pitchAvatar img{
    width:100% !important;
    height:100% !important;
    object-fit:cover;
}

.pitchRating{
    display:inline-block;
    background:var(--club-gold);
    color:#080808 !important;
    font-weight:900;
    padding:3px 7px;
    border-radius:999px;
    font-size:13px;
    margin-bottom:4px;
}

.pitchName{
    font-size:12px;
    font-weight:900;
    color:#fff !important;
}

.squadTable{
    width:100%;
    border-collapse:collapse;
    background:#202020;
    color:#fff !important;
    border-radius:18px;
    overflow:hidden;
}

.squadTable th,
.squadTable td{
    padding:16px;
    border-bottom:1px solid rgba(255,255,255,.12);
    text-align:left;
    color:#fff !important;
}

.squadTable th{
    color:#aaa !important;
    font-size:13px;
}

.squadPlayer{
    display:flex;
    align-items:center;
    gap:12px;
    font-weight:900;
    color:#fff !important;
    text-decoration:none;
}

.avatar{
    width:38px !important;
    height:38px !important;
    min-width:38px !important;
    max-width:38px !important;
    border-radius:50%;
    overflow:hidden;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#444;
    flex-shrink:0;
}

.avatar img{
    width:38px !important;
    height:38px !important;
    object-fit:cover;
    display:block;
}

.ratingBadge{
    background:#0c9442;
    color:#fff !important;
    padding:6px 10px;
    border-radius:8px;
    font-weight:900;
}

@media(max-width:850px){
    .overviewGrid{
        grid-template-columns:1fr;
    }

    .pitch{
        min-height:470px;
    }
}

/* ======================================================
TEAM PAGE - FINAL OVERRIDE
Keep this at the VERY BOTTOM of style.css
====================================================== */

.teamHero,
.darkCard,
.formationCard,
.coachSection,
.statsDashboard,
.fixturesDashboard{
    background:#202020;
    color:#fff !important;
}

.teamHero *,
.darkCard *,
.formationCard *,
.coachSection *,
.statsDashboard *,
.fixturesDashboard *{
    color:inherit !important;
}

/* Squad table */
.squadTable,
.squadTable tr,
.squadTable td,
.squadTable th{
    background:#202020;
    color:#fff !important;
}

.squadTable th{
    color:#aaa !important;
}

/* League table stays light/readable */
.teamTable{
    background:#fff;
}

.teamTable th,
.teamTable td{
    color:#141518 !important;
    background:#fff;
}

/* Coach cards */
.coachCard,
.coachCard *{
    background:#202020;
    color:#fff !important;
    text-decoration:none;
}

.coachCard.headCoach{
    background:linear-gradient(135deg,#3b111d,#202020);
}

/* Coach images */
.coachImage{
    width:105px;
    height:105px;
    margin:0 auto 12px;
    border-radius:50%;
    overflow:hidden;
    border:4px solid #e30613;
    background:#333;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
}

.coachImage img{
    width:100% !important;
    height:100% !important;
    object-fit:cover;
    display:block;
}

/* Player avatars */
.avatar{
    width:38px !important;
    height:38px !important;
    min-width:38px !important;
    max-width:38px !important;
    border-radius:50%;
    overflow:hidden;
    background:#444;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
}

.avatar img{
    width:38px !important;
    height:38px !important;
    object-fit:cover;
    display:block;
}

/* Pitch images */
.pitchAvatar{
    width:58px;
    height:58px;
    border-radius:50%;
    overflow:hidden;
    background:#444;
}

.pitchAvatar img{
    width:100% !important;
    height:100% !important;
    object-fit:cover;
}

/* Rating badges */
.ratingBadge,
.pitchRating,
.statsHeaderBadge{
    background:var(--club-gold);
    color:#080808 !important;
}

/* Stat leader cards */
.coolStatCard,
.coolStatCard *{
    color:#fff !important;
}

.winnerValue,
.runnerRow strong{
    color:#fff !important;
}

/* ======================================================
TEAM PAGE - COACHES + TEAM STATS FIX
KEEP AT VERY BOTTOM
====================================================== */

/* ---------- Coaching layout ---------- */

.coachSection{
    background:#202020;
    color:#fff;
    border-radius:18px;
    padding:22px;
    margin-bottom:18px;
    box-shadow:0 2px 10px rgba(0,0,0,.25);
}

.coachSection h2{
    margin:0 0 22px;
    font-size:24px;
    color:#fff !important;
}

.coachHead{
    display:flex;
    justify-content:center;
    margin-bottom:22px;
}

.coachGrid{
    display:grid;
    grid-template-columns:repeat(3, minmax(180px, 1fr));
    gap:18px;
}

.coachCard{
    background:#252525;
    color:#fff !important;
    text-decoration:none;
    border-radius:18px;
    padding:18px;
    text-align:center;
    border:1px solid rgba(255,255,255,.08);
    box-shadow:0 4px 14px rgba(0,0,0,.22);
}

.coachCard *{
    color:#fff !important;
}

.coachCard.headCoach{
    max-width:280px;
    width:100%;
    background:linear-gradient(135deg,#3b111d,#202020);
}

.coachName{
    font-size:20px;
    font-weight:900;
    margin-top:8px;
}

.coachRole{
    color:#cfd3da !important;
    font-weight:800;
}

/* ---------- Team stats layout ---------- */

.statsDashboard{
    background:
        radial-gradient(circle at top left,rgba(227,6,19,.18),transparent 340px),
        radial-gradient(circle at bottom right,rgba(38,208,124,.08),transparent 300px),
        linear-gradient(135deg,#050505,#171717);
    padding:35px 25px;
    border-radius:25px;
    color:#fff;
    box-shadow:0 10px 30px rgba(0,0,0,.25);
}

.statsDashboard *{
    color:#fff !important;
}

.statsHeader{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:18px;
    margin-bottom:35px;
}

.statsHeader h2{
    margin:5px 0 0;
    font-size:34px;
    font-weight:900;
}

.statsHeaderBadge{
    background:var(--club-gold);
    color:#080808 !important;
    padding:10px 16px;
    border-radius:999px;
    font-weight:900;
    white-space:nowrap;
}

.coolStatsGrid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:18px;
}

.coolStatCard{
    background:linear-gradient(145deg,rgba(255,255,255,.08),rgba(255,255,255,.02));
    border:1px solid rgba(255,255,255,.08);
    border-radius:24px;
    padding:22px;
    box-shadow:0 15px 35px rgba(0,0,0,.35);
    position:relative;
    overflow:hidden;
}

.coolStatCard:before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:3px;
    background:linear-gradient(90deg,var(--club-primary),var(--club-gold),var(--club-primary));
}

.statWinner{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:14px;
    margin-bottom:15px;
}

.winnerLeft{
    display:flex;
    align-items:center;
    gap:14px;
    min-width:0;
}

.winnerAvatar{
    width:64px;
    height:64px;
    min-width:64px;
    border-radius:18px;
    overflow:hidden;
    background:#333;
}

.winnerAvatar img{
    width:100% !important;
    height:100% !important;
    object-fit:cover;
    display:block;
}

.winnerName{
    font-size:24px;
    font-weight:900;
    line-height:1.1;
}

.winnerSub{
    font-size:11px;
    margin-top:5px;
    text-transform:uppercase;
    letter-spacing:1px;
    color:#8f959d !important;
    font-weight:900;
}

.winnerValue{
    background:rgba(255,255,255,.12);
    border:1px solid rgba(255,255,255,.1);
    color:#fff !important;
    font-size:30px;
    font-weight:900;
    padding:10px 16px;
    border-radius:18px;
    min-width:60px;
    text-align:center;
}

.runnerList{
    margin-top:15px;
    padding-top:12px;
    border-top:1px solid rgba(255,255,255,.08);
}

.runnerRow{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:9px 0;
    color:#d9dde4 !important;
}

.runnerPlayer{
    display:flex;
    align-items:center;
    gap:10px;
    font-weight:900;
}

.runnerRank{
    width:24px;
    height:24px;
    display:flex;
    justify-content:center;
    align-items:center;
    background:#333;
    border-radius:50%;
    font-size:12px;
}

.runnerRow strong{
    background:rgba(227,6,19,.85);
    color:#fff !important;
    padding:4px 8px;
    border-radius:8px;
    font-size:12px;
}

/* ---------- Image protection ---------- */

.coachImage img,
.winnerAvatar img,
.pitchAvatar img,
.avatar img{
    max-width:none !important;
}

/* ---------- Mobile ---------- */

@media(max-width:850px){
    .coachGrid{
        grid-template-columns:1fr;
    }

    .statsHeader{
        align-items:flex-start;
        flex-direction:column;
    }
}

/* ======================================================
TEAM PAGE - FIXTURES TAB
KEEP AT VERY BOTTOM
====================================================== */

.fixturesDashboard{
    background:#202020;
    color:#fff;
    border-radius:18px;
    padding:24px;
    margin-bottom:18px;
    box-shadow:0 2px 10px rgba(0,0,0,.25);
}

.fixturesDashboard *{
    box-sizing:border-box;
}

.fixturesHeader{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:18px;
    margin-bottom:20px;
}

.fixtureCards{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:18px;
    margin-top:18px;
}

.fixtureCard{
    position:relative;
    overflow:hidden;
    background:#fff;
    color:#141518 !important;
    border-radius:20px;
    padding:18px;
    box-shadow:0 12px 28px rgba(0,0,0,.18);
    border:1px solid rgba(11,35,68,.08);
}

/* ---------- Fixture card text ---------- */

.fixtureCard{
    color:#141518 !important;
}

.fixtureCard h1,
.fixtureCard h2,
.fixtureCard h3,
.fixtureCard p,
.fixtureCard div,
.fixtureCard span,
.fixtureCard a{
    color:#141518 !important;
}

.fixtureScore{
    color:#fff !important;
}

.fixtureButton{
    color:#fff !important;
}

.fixtureOpponent{
    color:#0b2344 !important;
    font-weight:900;
}

.fixtureDate{
    color:#c8102e !important;
}

.fixtureMeta span{
    color:#0b2344 !important;
}

.fixtureAccent{
    position:absolute;
    inset:0 0 auto 0;
    height:7px;
    background:#2ecc71;
}

.fixtureCard.loss .fixtureAccent{background:#c8102e;}
.fixtureCard.win .fixtureAccent{background:#2ecc71;}
.fixtureCard.draw .fixtureAccent{background:#f1c40f;}
.fixtureCard.unlogged .fixtureAccent{background:#94a3b8;}
.fixtureCard.upcoming .fixtureAccent{background:#0b2344;}

.fixtureTop{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:16px;
    margin-top:8px;
}

.fixtureDate{
    font-size:12px;
    font-weight:900;
    letter-spacing:.06em;
    text-transform:uppercase;
    color:#c8102e !important;
    margin-bottom:6px;
}

.fixtureOpponent{
    font-size:22px;
    line-height:1.1;
    font-weight:900;
    color:#0b2344 !important;
}

.fixtureScore{
    background:#111;
    color:#fff !important;
    border-radius:16px;
    padding:10px 14px;
    font-size:22px;
    font-weight:900;
    min-width:76px;
    text-align:center;
    white-space:nowrap;
}

.fixtureMeta{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-top:16px;
}

.fixtureMeta span{
    background:#eef2f7;
    color:#0b2344 !important;
    border-radius:999px;
    padding:7px 11px;
    font-size:12px;
    font-weight:800;
}

.resultPill.win{
    background:#d9fbe8 !important;
    color:#128243 !important;
}

.resultPill.loss{
    background:#ffe1e1 !important;
    color:#b80000 !important;
}

.resultPill.draw{
    background:#fff3c4 !important;
    color:#8a6800 !important;
}

.resultPill.unlogged{
    background:#e5e7eb !important;
    color:#374151 !important;
}

.resultPill.upcoming{
    background:#e7ebf3 !important;
    color:#0b2344 !important;
}

.fixtureButton{
    display:block;
    margin-top:18px;
    background:#c8102e;
    color:#fff !important;
    text-align:center;
    text-decoration:none;
    font-weight:900;
    border-radius:14px;
    padding:12px 14px;
}

.fixtureButton:hover{
    background:#0b2344;
    color:#fff !important;
}

@media(max-width:850px){
    .fixturesHeader{
        flex-direction:column;
        align-items:flex-start;
    }

    .fixtureCards{
        grid-template-columns:1fr;
    }
}

/* ======================================================
MOBILE SQUAD TABLE
Hide less important columns
====================================================== */

@media(max-width:850px){

    /* Shirt column */
    .squadTable th:nth-child(3),
    .squadTable td:nth-child(3){
        display:none;
    }

    /* Age column */
    .squadTable th:nth-child(4),
    .squadTable td:nth-child(4){
        display:none;
    }

}

/* Fixtures admin cleanup */
.fixture-card,
.fixtureCard {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 18px;
    margin-bottom: 16px;
    box-shadow: 0 8px 20px rgba(0,0,0,.06);
}

.fixtureTop,
.fixture-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.fixtureCard h3,
.fixture-card h3 {
    margin: 0 0 6px;
    color: #071426;
    font-size: 20px;
}

.fixtureMeta,
.fixture-meta {
    color: #334155;
    font-size: 14px;
}

.fixtureScore,
.fixture-score {
    font-size: 28px;
    font-weight: 900;
    color: #071426;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 8px 14px;
    min-width: 74px;
    text-align: center;
}

.fixtureActions,
.fixture-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.fixtureActions a,
.fixture-actions a,
.fixtureActions button,
.fixture-actions button {
    border: 0;
    border-radius: 999px;
    background: #d71920;
    color: #fff;
    padding: 9px 14px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.fixtureActions a:hover,
.fixture-actions a:hover {
    background: #202226;
}

details {
    margin-top: 14px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 12px;
}

summary {
    cursor: pointer;
    font-weight: 900;
    color: #071426;
}

input,
select,
textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 10px 12px;
    background: #fff;
    color: #071426;
}

button,
.btn {
    border: 0;
    border-radius: 12px;
    background: #d71920;
    color: #fff;
    padding: 10px 15px;
    font-weight: 900;
    cursor: pointer;
}

button:hover,
.btn:hover {
    background: #202226;
}

@media(max-width:700px){
    .fixtureTop,
    .fixture-top {
        align-items: flex-start;
    }

    .fixtureScore,
    .fixture-score {
        font-size: 22px;
        min-width: 60px;
    }

    .fixtureActions,
    .fixture-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}

/* Tournament Squad Editor */
.squadEditor table,
.squadEditor td,
.squadEditor th{
    color:#fff;
}

.squadEditor td{
    border-color:rgba(255,255,255,.12);
}

.squadEditor td:first-child{
    font-weight:600;
}

.squadEditor .position{
    color:#b8c4d6;
    font-size:13px;
}

/* inputs stay dark text on white */
.squadEditor input,
.squadEditor select,
.squadEditor textarea{
    color:#111 !important;
    background:#fff;
}

/* radio/checkbox visibility */
.squadEditor input[type="radio"],
.squadEditor input[type="checkbox"]{
    accent-color:#d71920;
}

/* hover rows */
.squadEditor tbody tr:hover{
    background:rgba(255,255,255,.04);
}

.coachStatsCard{
    background:#fff;
    color:#111;
    border-radius:18px;
    padding:22px;
    margin-top:18px;
}

.coachStatsHeader{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:16px;
    margin-bottom:18px;
}

.coachStatsHeader h2{
    margin:0;
    color:#001f4d;
}

.coachStatsHeader p{
    margin:4px 0 0;
    color:#555;
}

.coachRating{
    background:#d71920;
    color:#fff;
    font-weight:900;
    padding:10px 16px;
    border-radius:999px;
    white-space:nowrap;
}

.coachStatsGrid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:14px;
}

.coachStatBox{
    background:#f4f6f8;
    border-radius:16px;
    padding:18px;
    text-align:center;
    color:#111;
}

.coachStatBox span{
    display:block;
    font-size:28px;
    margin-bottom:8px;
}

.coachStatBox strong{
    display:block;
    font-size:30px;
    color:#d71920;
}

.coachStatBox small{
    display:block;
    margin-top:4px;
    color:#333;
    font-weight:700;
}

.coachRecord{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:12px;
    margin-top:16px;
}

.coachRecord div{
    background:#202226;
    color:#fff;
    border-radius:14px;
    padding:14px;
    text-align:center;
}

.coachRecord strong{
    display:block;
    font-size:26px;
}

.coachRecord span{
    font-size:13px;
    opacity:.85;
}

.coachBanter{
    margin-top:16px;
    background:#fff4f4;
    border-left:5px solid #d71920;
    padding:14px 16px;
    border-radius:12px;
    color:#111;
}

@media(max-width:800px){
    .coachStatsHeader{
        flex-direction:column;
        align-items:flex-start;
    }

    .coachStatsGrid{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:520px){
    .coachStatsGrid,
    .coachRecord{
        grid-template-columns:1fr;
    }
}

.commitmentHero{
    background:linear-gradient(135deg,#101113,var(--club-red));
    color:#fff;
    border-radius:24px;
    padding:24px;
    margin-bottom:18px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:18px;
}

.commitmentHero h2{
    font-size:48px;
    margin:6px 0;
}

.commitmentHero p{
    margin:0;
    color:rgba(255,255,255,.85);
}

.commitmentBadge{
    background:#fff;
    color:#141518;
    padding:12px 18px;
    border-radius:999px;
    font-weight:900;
    white-space:nowrap;
}

.commitmentGrid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:16px;
    margin-bottom:18px;
}

.commitmentCard{
    background:#fff;
    color:#141518;
    border-radius:20px;
    padding:20px;
    box-shadow:0 8px 22px rgba(0,0,0,.08);
}

.commitmentCard span{
    display:block;
    font-size:13px;
    text-transform:uppercase;
    letter-spacing:.08em;
    color:#6b7280;
    font-weight:800;
    margin-bottom:8px;
}

.commitmentCard strong{
    display:block;
    font-size:38px;
    color:#d71920;
    margin-bottom:8px;
}

.commitmentCard p{
    margin:0;
    color:#374151;
    font-size:14px;
}

.commitmentPanel{
    background:#fff;
    color:#141518;
    border-radius:20px;
    padding:22px;
    box-shadow:0 8px 22px rgba(0,0,0,.08);
}

.commitmentPanel h2{
    margin-top:0;
}

@media(max-width:900px){
    .commitmentGrid{
        grid-template-columns:1fr 1fr;
    }

    .commitmentHero{
        flex-direction:column;
        align-items:flex-start;
    }
}

@media(max-width:600px){
    .commitmentGrid{
        grid-template-columns:1fr;
    }

    .commitmentHero h2{
        font-size:40px;
    }
}

.commitmentTable{
background:#fff;
border-radius:20px;
overflow:hidden;
box-shadow:0 8px 22px rgba(0,0,0,.08);
}

.commitmentHead,
.commitmentRow{
display:grid;
grid-template-columns:2fr 1fr 1fr 1fr 1fr;
align-items:center;
padding:16px 20px;
}

.commitmentHead{
background:#17181b;
color:#fff;
font-weight:700;
}

.commitmentRow{
border-bottom:1px solid #eee;
color:#111;
}

.commitmentRow:hover{
background:#f8fafc;
}

.playerName{
font-weight:700;
}

.good{
color:#16a34a;
font-weight:700;
}

.medium{
color:#d97706;
font-weight:700;
}

.bad{
color:#dc2626;
font-weight:700;
}

@media(max-width:700px){

.commitmentHead,
.commitmentRow{
font-size:13px;
padding:12px;
grid-template-columns:1.6fr .8fr .8fr .9fr .9fr;
}

}

/* Dark cards/tables automatically use white text */
.card-dark,
.dark-table,
table.dark{
    color:#fff;
}

.card-dark * ,
.dark-table * ,
table.dark *{
    color:inherit;
}


/* squad commitment */
.neutral{
    color:#475467;
    font-weight:900;
}

/* ======================================================
PRESENTATION STATS PAGE
====================================================== */

.presentationHero{
    background:
        radial-gradient(circle at top left,rgba(227,6,19,.25),transparent 340px),
        radial-gradient(circle at bottom right,rgba(38,208,124,.12),transparent 300px),
        linear-gradient(135deg,#050505,#171717);
    color:#fff;
    border-radius:26px;
    padding:30px;
    margin-bottom:18px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    box-shadow:0 10px 30px rgba(0,0,0,.35);
}

.presentationHero *{
    color:#fff !important;
}

.presentationKicker{
    text-transform:uppercase;
    letter-spacing:.12em;
    font-size:12px;
    font-weight:900;
    color:var(--club-gold) !important;
    margin-bottom:8px;
}

.presentationHero h1{
    margin:0;
    font-size:46px;
    font-weight:1000;
}

.presentationHero p{
    margin:8px 0 0;
    color:#d1d5db !important;
    font-weight:700;
}

.presentationBadge{
    background:var(--club-gold);
    color:#001b0f !important;
    padding:12px 18px;
    border-radius:999px;
    font-weight:1000;
    white-space:nowrap;
}

.presentationFilters{
    background:#fff;
    color:#141518;
    border-radius:18px;
    padding:16px;
    margin-bottom:16px;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:14px;
    box-shadow:0 6px 18px rgba(0,0,0,.12);
}

.presentationFilters label{
    display:block;
    font-weight:900;
    margin-bottom:6px;
    color:#141518 !important;
}

.presentationNotice{
    background:#202226;
    color:#fff;
    border-left:6px solid var(--club-gold);
    border-radius:16px;
    padding:15px 18px;
    margin-bottom:18px;
    font-weight:800;
}

.presentationNotice strong{
    color:var(--club-gold) !important;
}

.presentationGrid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(310px,1fr));
    gap:18px;
}

.presentationCard{
    background:linear-gradient(145deg,rgba(255,255,255,.08),rgba(255,255,255,.02));
    border:1px solid rgba(255,255,255,.08);
    border-radius:24px;
    padding:22px;
    color:#fff;
    box-shadow:0 15px 35px rgba(0,0,0,.35);
    position:relative;
    overflow:hidden;
}

.presentationCard:before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:4px;
    background:linear-gradient(90deg,var(--club-red),var(--club-gold),var(--club-red));
}

.presentationCard *{
    color:#fff !important;
}

.presentationCardTitle{
    font-size:16px;
    font-weight:900;
    margin-bottom:16px;
}

.presentationWinner{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:14px;
}

.presentationWinnerLeft{
    display:flex;
    align-items:center;
    gap:14px;
    min-width:0;
}

.presentationAvatar{
    width:66px;
    height:66px;
    min-width:66px;
    border-radius:18px;
    overflow:hidden;
    background:#333;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:900;
}

.presentationAvatar img{
    width:100% !important;
    height:100% !important;
    object-fit:cover;
    display:block;
    max-width:none !important;
}

.presentationName{
    font-size:25px;
    font-weight:1000;
    line-height:1.05;
}

.presentationSub{
    font-size:11px;
    margin-top:5px;
    text-transform:uppercase;
    letter-spacing:1px;
    color:#9ca3af !important;
    font-weight:900;
}

.presentationScore{
    background:rgba(255,255,255,.12);
    border:1px solid rgba(255,255,255,.1);
    border-radius:18px;
    padding:10px 14px;
    min-width:82px;
    text-align:center;
    font-size:30px;
    font-weight:1000;
}

.presentationScore span{
    display:block;
    font-size:11px;
    color:#cfd3da !important;
    margin-top:2px;
}

.presentationMeta{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-top:14px;
}

.presentationMeta span{
    background:rgba(255,255,255,.08);
    border-radius:999px;
    padding:7px 10px;
    font-size:12px;
    font-weight:900;
    color:#d1d5db !important;
}

.presentationRunners{
    margin-top:16px;
    padding-top:12px;
    border-top:1px solid rgba(255,255,255,.08);
}

.presentationRunnerRow{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:12px;
    padding:9px 0;
    font-weight:900;
}

.presentationRunnerRow b{
    display:inline-flex;
    width:24px;
    height:24px;
    align-items:center;
    justify-content:center;
    background:#333;
    border-radius:50%;
    font-size:12px;
    margin-right:8px;
}

.presentationRunnerRow strong{
    background:rgba(227,6,19,.85);
    padding:5px 9px;
    border-radius:8px;
    font-size:12px;
    white-space:nowrap;
}

@media(max-width:850px){
    .presentationHero{
        flex-direction:column;
        align-items:flex-start;
    }

    .presentationHero h1{
        font-size:38px;
    }

    .presentationFilters{
        grid-template-columns:1fr;
    }

    .presentationGrid{
        grid-template-columns:1fr;
    }
}

/* Match report story and key moments */
.match-story-card{
    background:#fff;
    color:#141518;
}

.match-story-card h2{
    color:#071f3a;
}

.match-story-box{
    background:#f8fafc;
    border:1px solid #e2e8f0;
    border-radius:14px;
    padding:16px;
}

.match-story-box p{
    margin:0 0 12px;
    color:#141518;
    font-weight:650;
    line-height:1.6;
}

.match-story-box p:last-child{
    margin-bottom:0;
}

.phase6-match-report .key-moments-card{
    background:linear-gradient(145deg,var(--panel-bg-soft),var(--panel-bg)) !important;
    color:var(--text-main) !important;
    border:1px solid var(--border-soft) !important;
    border-top:3px solid var(--club-red) !important;
}

.phase6-match-report .key-moments-card > h2{
    color:var(--text-main) !important;
}

.phase6-match-report .key-moments-card > p,
.phase6-match-report .key-moments-half > p{
    margin:0;
    color:var(--text-muted) !important;
    font-weight:700;
}

.phase6-match-report .key-moments-half{
    position:relative;
    background:#0b0c0e;
    border:1px solid var(--border-soft);
    border-radius:3px;
    padding:16px;
    margin-top:14px;
    color:var(--text-main);
    overflow:hidden;
}

.phase6-match-report .key-moments-half::before{
    content:"";
    position:absolute;
    inset:0 auto 0 0;
    width:3px;
    background:linear-gradient(180deg,var(--club-gold),var(--club-red));
}

.phase6-match-report .key-moments-half h3{
    margin:0 0 12px;
    color:var(--club-gold) !important;
    font-size:13px;
    font-weight:900;
    letter-spacing:.12em;
    text-transform:uppercase;
}

.phase6-match-report .key-moment-row{
    display:grid;
    grid-template-columns:62px 38px minmax(0,1fr);
    gap:12px;
    align-items:center;
    background:#15171a;
    border:1px solid rgba(255,255,255,.09);
    border-left:2px solid rgba(212,175,90,.48);
    border-radius:3px;
    padding:11px 12px;
    margin-bottom:8px;
    box-shadow:0 8px 20px rgba(0,0,0,.16);
}

.phase6-match-report .key-moment-row:last-child{
    margin-bottom:0;
}

.phase6-match-report .key-moment-time{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:28px;
    padding:4px 7px;
    background:rgba(193,18,31,.2);
    border:1px solid rgba(193,18,31,.55);
    border-radius:2px;
    color:#fff !important;
    font-weight:900;
    font-size:14px;
    white-space:nowrap;
}

.phase6-match-report .key-moment-icon{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:34px;
    height:34px;
    background:rgba(212,175,90,.1);
    border:1px solid rgba(212,175,90,.42);
    border-radius:50%;
    color:var(--club-gold) !important;
    font-size:12px;
    font-weight:900;
    line-height:1;
}

.phase6-match-report .key-moment-detail{
    min-width:0;
    color:var(--text-main) !important;
    font-weight:800;
    line-height:1.4;
    overflow-wrap:anywhere;
}

@media(max-width:520px){
    .match-story-box,
    .phase6-match-report .key-moments-half{
        padding:12px;
    }

    .phase6-match-report .key-moment-row{
        grid-template-columns:52px 30px minmax(0,1fr);
        gap:8px;
        padding:9px 10px;
    }

    .phase6-match-report .key-moment-time{
        min-height:26px;
        padding:3px 5px;
        font-size:12px;
    }

    .phase6-match-report .key-moment-icon{
        width:28px;
        height:28px;
        font-size:10px;
    }

    .phase6-match-report .key-moment-detail{
        font-size:14px;
    }
}

/* ======================================================
PUBLISHED SQUAD POSTS
====================================================== */

.button.published-squad{
    background:#0f766e;
}

.publishedSquadLayout{
    display:grid;
    grid-template-columns:minmax(0,2fr) minmax(280px,1fr);
    gap:16px;
    align-items:start;
}

.publishedSquadPostCard,
.squadImportPanel,
.pasteImportResultPanel{
    background:#fff;
    color:#141518;
    border:1px solid #e5e7eb;
    border-radius:18px;
    padding:20px;
    margin-bottom:16px;
    box-shadow:0 8px 22px rgba(0,0,0,.08);
}

.publishedSquadPostCard *,
.squadImportPanel *,
.pasteImportResultPanel *{
    color:#141518;
    box-sizing:border-box;
}

.publishedSquadHeader{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:14px;
    margin-bottom:14px;
}

.publishedSquadHeader h1,
.publishedSquadHeader h2{
    margin:0 0 6px;
}

.publishedSquadHeader p,
.publishedSquadFixture span,
.publishedSquadPostList span,
.publishedSquadInfoGrid span,
.pasteImportResultPanel li span{
    color:#4b5563;
}

.statusBadge{
    display:inline-flex;
    align-items:center;
    width:auto;
    border-radius:999px;
    padding:6px 10px;
    font-size:12px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.04em;
    white-space:nowrap;
}

.statusBadge.published{
    background:#dcfce7;
    color:#166534 !important;
}

.statusBadge.draft{
    background:#e5e7eb;
    color:#374151 !important;
}

.publishedSquadFormGrid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:14px;
}

.publishedSquadFormGrid .full{
    grid-column:1 / -1;
}

.publishedSquadForm label,
.publishedSquadFormGrid label{
    display:block;
    font-weight:900;
    margin-bottom:6px;
    color:#141518 !important;
}

.publishedSquadForm textarea{
    min-height:120px;
    resize:vertical;
}

.publishedSquadActions{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:16px;
    align-items:center;
}

.publishedSquadActions button,
.publishedSquadActions .secondaryLinkBtn,
.squadImportPanel button,
.secondaryLinkBtn{
    display:inline-block;
    width:auto;
    background:#202226;
    color:#fff !important;
    border:0;
    border-radius:12px;
    padding:10px 14px;
    font-weight:900;
    text-decoration:none;
    cursor:pointer;
}

.publishedSquadActions .publishBtn,
.squadImportPanel button{
    background:#16a34a;
}

.publishedSquadActions .secondaryBtn,
.secondaryLinkBtn{
    background:#64748b;
}

.publishedSquadFixture{
    display:grid;
    gap:5px;
    background:#f8fafc;
    border:1px solid #e2e8f0;
    border-radius:14px;
    padding:12px;
    margin-bottom:12px;
}

.squadChipList{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
}

.squadChip{
    display:inline-flex;
    align-items:center;
    width:auto;
    background:rgba(212,175,90,.1);
    color:var(--club-gold) !important;
    border:1px solid rgba(212,175,90,.35);
    border-radius:999px;
    padding:7px 10px;
    font-weight:900;
    font-size:13px;
}

.restWeekList{
    display:grid;
    gap:7px;
    margin:0;
    padding:0;
    list-style:none;
}

.restWeekList li{
    background:#fff7ed;
    color:#9a3412 !important;
    border:1px solid #fed7aa;
    border-radius:10px;
    padding:8px 10px;
    font-weight:800;
}

.pasteImportResultPanel h2{
    margin-top:0;
}

.importResultGrid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:12px;
}

.importResultGrid > div{
    background:#f8fafc;
    border:1px solid #e2e8f0;
    border-radius:14px;
    padding:12px;
}

.importResultGrid h3{
    margin:0 0 8px;
}

.importResultGrid ul{
    margin:0;
    padding-left:18px;
}

.importResultGrid li{
    margin-bottom:6px;
    font-weight:800;
}

.publishedSquadPostList{
    display:grid;
    gap:10px;
}

.publishedSquadPostList a{
    display:grid;
    gap:4px;
    text-decoration:none;
    background:#f8fafc;
    border:1px solid #e2e8f0;
    border-radius:14px;
    padding:12px;
}

.publishedSquadPostList em{
    justify-self:start;
    font-style:normal;
}

.playerPublishedSquad{
    margin-bottom:16px;
}

.playerSelectionStatus{
    background:#202226;
    color:#fff !important;
    border-radius:14px;
    padding:10px 12px;
    text-align:center;
}

.publishedSquadInfoGrid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
    margin-bottom:12px;
}

.publishedSquadInfoGrid div{
    background:#f8fafc;
    border:1px solid #e2e8f0;
    border-radius:14px;
    padding:12px;
}

.publishedSquadInfoGrid span{
    display:block;
    font-size:12px;
    font-weight:900;
    text-transform:uppercase;
    margin-bottom:4px;
}

.publishedSquadInfoGrid strong{
    display:block;
    font-size:20px;
}

.publishedSquadKitImage{
    display:block;
    width:auto;
    max-width:88px;
    max-height:96px;
    object-fit:contain;
    margin:6px 0 8px;
}

.publishedSquadNotes{
    background:#f8fafc;
    border-left:5px solid #0f766e;
    border-radius:12px;
    padding:12px 14px;
    margin-bottom:14px;
    line-height:1.5;
}

.publishedSquadLists{
    display:grid;
    grid-template-columns:2fr 1fr;
    gap:16px;
}

.squadImportPanel{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:16px;
}

.squadImportPanel h2{
    margin:8px 0 5px;
}

.squadImportPanel p{
    margin:0;
    color:#4b5563;
}

.squadSelectionPage{
    color:#141518;
}

.squadFormationField{
    display:grid;
    grid-template-columns:minmax(110px, auto) minmax(150px, 240px);
    align-items:center;
    gap:12px;
    margin:16px 0;
}

.squadFormationField label{
    font-weight:900;
}

.squadFormationField select{
    width:100%;
}

.squadTableWrap{
    overflow-x:auto;
}

.squadSelectionTable{
    width:100%;
    border-collapse:collapse;
    background:#fff;
    color:#141518;
}

.squadSelectionTable th{
    background:#17181b;
    color:#fff !important;
    position:sticky;
    top:0;
}

.squadSelectionTable th,
.squadSelectionTable td{
    padding:10px;
    border:1px solid #e5e7eb;
    text-align:center;
}

.squadSelectionTable td,
.squadSelectionTable td strong{
    color:#141518 !important;
}

.squadSelectionTable input[type="checkbox"]{
    width:auto;
    accent-color:#d71920;
}

.squadSelectionTable select{
    min-width:95px;
}

@media(max-width:900px){
    .publishedSquadLayout,
    .publishedSquadLists{
        grid-template-columns:1fr;
    }

    .importResultGrid{
        grid-template-columns:1fr 1fr;
    }

    .squadImportPanel,
    .publishedSquadHeader{
        flex-direction:column;
    }
}

@media(max-width:620px){
    .publishedSquadFormGrid,
    .publishedSquadInfoGrid,
    .importResultGrid{
        grid-template-columns:1fr;
    }
}

/* Heja-style registration profile settings */
.hejaProfileShell{
    max-width:720px;
    margin:0 auto 28px;
}

.hejaProfileTop{
    background:#fff;
    color:#141518;
    border-radius:0 0 24px 24px;
    padding:18px 18px 24px;
    margin:-18px -12px 16px;
    text-align:center;
    box-shadow:0 4px 18px rgba(0,0,0,.08);
}

.hejaProfileTop h1{
    margin:12px 0 4px;
    font-size:28px;
}

.hejaProfileTop p{
    margin:0;
    color:#64748b;
    font-weight:700;
}

.hejaAvatarWrap{
    display:grid;
    place-items:center;
}

.hejaAvatar{
    width:128px;
    height:128px;
    border-radius:50%;
    object-fit:cover;
    border:5px solid #fff;
    box-shadow:0 8px 24px rgba(15,23,42,.2);
    background:#e5e7eb;
}

.hejaPlayerSwitch{
    margin-bottom:14px;
}

.hejaPlayerSwitch select{
    width:100%;
    padding:12px;
    border:1px solid #d1d5db;
    border-radius:12px;
    background:#f8fafc;
    color:#141518;
    font-weight:900;
}

.hejaCard{
    background:#fff;
    color:#141518;
    border-radius:18px;
    padding:16px;
    margin-bottom:14px;
    box-shadow:0 2px 12px rgba(0,0,0,.08);
}

.hejaCardHead{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:12px;
    margin-bottom:12px;
}

.hejaCardHead h2{
    margin:0;
    font-size:20px;
}

.hejaCardHead span{
    color:#64748b;
    font-size:13px;
    font-weight:800;
}

.hejaIconButton{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:42px;
    padding:10px 14px;
    border-radius:999px;
    background:rgba(212,175,90,.1);
    color:var(--club-gold);
    font-weight:900;
    cursor:pointer;
}

.hejaIconButton input{
    display:none;
}

.hejaFieldList{
    display:grid;
    gap:12px;
}

.hejaTwoCol{
    grid-template-columns:repeat(2,minmax(0,1fr));
}

.hejaFieldList label{
    display:grid;
    gap:6px;
}

.hejaFieldList span{
    color:#64748b;
    font-size:13px;
    font-weight:900;
}

.hejaFieldList input:not([type="radio"]):not([type="checkbox"]),
.hejaFieldList textarea{
    box-sizing:border-box;
    width:100%;
    min-height:46px;
    padding:12px;
    border:1px solid #d1d5db;
    border-radius:12px;
    background:#f8fafc;
    color:#141518;
    font:inherit;
}

.hejaFieldList textarea{
    min-height:96px;
    resize:vertical;
}

.hejaProfileForm .hejaFieldList + .hejaFieldList{
    margin-top:12px;
}

.hejaSectionTitle{
    margin:20px 0 10px;
    padding-top:16px;
    border-top:1px solid #e5e7eb;
    color:#141518;
    font-size:16px;
    font-weight:1000;
}

.hejaFieldList strong{
    display:block;
    padding:12px;
    border-radius:12px;
    background:#f8fafc;
    color:#141518;
    line-height:1.45;
}

.hejaPrimaryButton{
    width:100%;
    min-height:48px;
    margin-top:14px;
    border:0;
    border-radius:14px;
    background:#d71920;
    color:#fff;
    font-weight:900;
    font-size:16px;
    cursor:pointer;
}

.hejaAccountList{
    display:grid;
    gap:10px;
}

.hejaAccountRow{
    display:flex;
    justify-content:space-between;
    gap:12px;
    padding:12px;
    border:1px solid #e5e7eb;
    border-radius:12px;
    background:#f8fafc;
}

.hejaAccountRow strong,
.hejaAccountRow span{
    display:block;
}

.hejaAccountRow span{
    color:#64748b;
    font-size:13px;
    font-weight:800;
    margin-top:3px;
}

.hejaInviteForm{
    margin-top:14px;
}

.hejaNotice{
    padding:12px 14px;
    border-radius:14px;
    margin-bottom:12px;
    font-weight:900;
}

.hejaNotice.success{
    background:#dcfce7;
    color:#166534;
}

.hejaNotice.error{
    background:#fee2e2;
    color:#991b1b;
}

.linkedChildCard{
    display:grid;
    grid-template-columns:76px 1fr;
    gap:14px;
    align-items:center;
}

.linkedChildCard img{
    width:76px;
    height:76px;
    border-radius:50%;
    object-fit:cover;
    background:#e5e7eb;
}

.linkedChildCard h2{
    margin:0 0 4px;
}

.linkedChildCard p{
    margin:0 0 8px;
}

@media(min-width:760px){
    .hejaProfileTop{
        border-radius:24px;
        margin:0 0 16px;
    }
}

@media(max-width:640px){
    .hejaTwoCol{
        grid-template-columns:1fr;
    }
}

/* Academy dashboard prototype */
.academyDashboard{
    min-height:calc(100vh - 80px);
    padding:24px 18px 36px;
    background:
        radial-gradient(circle at 12% 0%, rgba(227,6,19,.24), transparent 32%),
        radial-gradient(circle at 85% 12%, rgba(212,175,90,.1), transparent 34%),
        linear-gradient(145deg,#050505 0%,#111214 48%,#030303 100%);
    color:#f8fafc;
}

.academyDashboard .dashHero{
    position:relative;
    overflow:hidden;
    border:1px solid rgba(255,255,255,.14);
    border-radius:28px;
    padding:32px;
    background:
        linear-gradient(120deg,rgba(7,17,31,.94),rgba(12,18,31,.78)),
        linear-gradient(135deg,rgba(227,6,19,.9),rgba(15,23,42,.4));
    box-shadow:0 24px 70px rgba(0,0,0,.34);
}

.academyDashboard .dashHero::after{
    content:"";
    position:absolute;
    inset:auto -80px -120px auto;
    width:320px;
    height:320px;
    border:38px solid rgba(227,6,19,.18);
    border-radius:50%;
    pointer-events:none;
}

.academyDashboard .dashHero h1,
.academyDashboard .dashHero p,
.academyDashboard .heroSub{
    color:#fff;
}

.academyDashboard .heroSub{
    display:inline-flex;
    margin-top:12px;
    padding:7px 11px;
    border-radius:999px;
    background:rgba(227,6,19,.22);
    border:1px solid rgba(255,255,255,.16);
}

.academyDashboard .clubBadge{
    background:rgba(255,255,255,.92);
    border:1px solid rgba(255,255,255,.5);
}

.academyDashboard .dashGrid,
.academyDashboard .feedGrid,
.academyDashboard .coachCards{
    gap:16px;
}

.academyDashboard .dashCard,
.academyDashboard .coachCard{
    background:rgba(10,18,32,.76);
    color:#f8fafc;
    border:1px solid rgba(255,255,255,.12);
    border-radius:20px;
    box-shadow:0 18px 44px rgba(0,0,0,.28);
    backdrop-filter:blur(16px);
}

.academyDashboard .dashCard h2,
.academyDashboard .coachCard h2,
.academyDashboard .matchLine,
.academyDashboard .todoItem strong,
.academyDashboard .responseItem strong,
.academyDashboard .familyResponseItem strong,
.academyDashboard .familyTrainingHead strong,
.academyDashboard .feedPostText strong{
    color:#fff;
}

.academyDashboard .dashCard p,
.academyDashboard .coachCard p,
.academyDashboard .smallMuted,
.academyDashboard .todoItem span,
.academyDashboard .responseItem span,
.academyDashboard .familyResponseItem span,
.academyDashboard .familyTrainingHead span,
.academyDashboard .feedPostText span{
    color:#cbd5e1;
}

.academyDashboard .todoItem,
.academyDashboard .responseItem,
.academyDashboard .familyResponseItem,
.academyDashboard .familyTrainingBlock,
.academyDashboard .responseStat,
.academyDashboard .feedPost{
    background:rgba(15,23,42,.82);
    border-color:rgba(255,255,255,.12);
    color:#f8fafc;
}

.academyDashboard .responseStat strong{
    color:#fff;
}

.academyDashboard .responseStat span{
    color:#cbd5e1;
}

.academyDashboard .logBtn,
.academyDashboard .feedBtn,
.academyDashboard .familyBtn{
    border-radius:999px;
    background:#e30613;
    color:#fff;
    box-shadow:0 10px 22px rgba(227,6,19,.22);
}

.academyDashboard .logBtn.secondary{
    background:#1f2937;
}

.academyDashboard .coachCard{
    transition:transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.academyDashboard .coachCard:hover{
    border-color:rgba(227,6,19,.56);
    box-shadow:0 22px 54px rgba(227,6,19,.16);
}

.academyDashboard .feedForm input,
.academyDashboard .feedForm textarea,
.academyDashboard .feedForm select,
.academyDashboard .familyResponseForm input[type=text]{
    background:#f8fafc;
    color:#141518;
    border-color:#cbd5e1;
}

.academyDashboard .feedForm input::placeholder,
.academyDashboard .feedForm textarea::placeholder,
.academyDashboard .familyResponseForm input[type=text]::placeholder{
    color:#64748b;
}

.academyDashboard .feedLink{
    color:#93c5fd;
}

.academyDashboard .statusHint{
    background:rgba(227,6,19,.14);
    color:#fecaca;
}

@media(max-width:720px){
    .academyDashboard{
        padding:16px 10px 28px;
    }

    .academyDashboard .dashHero{
        padding:24px 18px;
    }

    .academyDashboard .dashHero h1{
        font-size:30px;
        line-height:1.05;
    }

    .academyDashboard .dashCard,
    .academyDashboard .coachCard{
        border-radius:16px;
    }
}

/* Premium academy navigation prototype */
body:not(.academy-shell) .topbar{
    position:sticky;
    top:0;
    z-index:50;
    min-height:62px;
    padding:10px 18px;
    gap:14px;
    background:
        linear-gradient(180deg,rgba(5,7,12,.94),rgba(7,17,31,.9)) !important;
    border-bottom:1px solid rgba(255,255,255,.1);
    box-shadow:0 14px 42px rgba(0,0,0,.34);
    backdrop-filter:blur(18px);
}

body:not(.academy-shell) .brand a{
    padding:8px 0;
    color:#fff;
    font-size:18px;
    letter-spacing:.01em;
    white-space:nowrap;
}

body:not(.academy-shell) .brand a::before{
    content:"";
    display:inline-block;
    width:9px;
    height:9px;
    margin-right:9px;
    border-radius:50%;
    background:#e30613;
    box-shadow:0 0 18px rgba(227,6,19,.85);
    vertical-align:middle;
}

body:not(.academy-shell) .mainNav{
    flex:1;
    justify-content:flex-end;
    align-items:center;
    gap:6px;
}

body:not(.academy-shell) .mainNav a,
body:not(.academy-shell) .mainNav .installAppButton{
    min-height:38px;
    padding:9px 12px;
    border:1px solid transparent;
    border-radius:999px;
    background:transparent;
    color:#e5e7eb;
    font-size:13px;
    line-height:1;
    font-weight:850;
    letter-spacing:.01em;
}

body:not(.academy-shell) .mainNav a:hover,
body:not(.academy-shell) .mainNav a.active,
body:not(.academy-shell) .mainNav .installAppButton:hover{
    background:rgba(255,255,255,.08) !important;
    border-color:rgba(255,255,255,.14);
    color:#fff;
}

body:not(.academy-shell) .mainNav a.active{
    background:rgba(227,6,19,.22) !important;
    border-color:rgba(227,6,19,.42);
    box-shadow:0 8px 24px rgba(227,6,19,.16);
}

body:not(.academy-shell) .mainNav a.logout{
    background:rgba(227,6,19,.16) !important;
    color:#fecaca;
}

body:not(.academy-shell) .mainNav a.logout:hover{
    background:#e30613 !important;
    color:#fff;
}

body:not(.academy-shell) .mainNav .installAppButton{
    background:#057a45;
    color:#fff;
    cursor:pointer;
}

@media(max-width:980px){
    .topbar{
        align-items:flex-start;
        padding:10px 12px;
    }

    .brand{
        width:100%;
        text-align:left;
    }

    .mainNav{
        width:100%;
        display:flex;
        justify-content:flex-start;
        overflow-x:auto;
        flex-wrap:nowrap;
        padding-bottom:4px;
        scrollbar-width:thin;
    }

    .mainNav a,
    .mainNav .installAppButton{
        flex:0 0 auto;
        white-space:nowrap;
        padding:9px 11px;
    }
}

@media(max-width:560px){
    .topbar{
        min-height:0;
        gap:8px;
    }

    .brand a{
        font-size:16px;
    }

    .mainNav{
        gap:5px;
    }

    .mainNav a,
    .mainNav .installAppButton{
        min-height:34px;
        padding:8px 10px;
        font-size:12px;
    }
}

/* Public academy homepage */
.publicAcademyPage{--academy-red:#d71920;--academy-gold:#c8a45b;--academy-black:#08090b;--academy-panel:#111318;margin:0;background:#08090b;color:#f7f7f5;font-family:Arial,Helvetica,sans-serif;line-height:1.55;overflow-x:hidden}
.publicAcademyPage *{box-sizing:border-box}.publicAcademyPage a{color:inherit;text-decoration:none}.publicAcademyPage main{display:block}.publicNav{height:86px;padding:0 max(28px,5vw);display:flex;align-items:center;justify-content:space-between;position:absolute;z-index:20;width:100%;border-bottom:1px solid rgba(255,255,255,.12);background:linear-gradient(180deg,rgba(0,0,0,.68),transparent)}
.publicBrand{display:flex;align-items:center;gap:13px}.publicBrand img{width:52px;height:52px;object-fit:contain;filter:drop-shadow(0 8px 12px rgba(0,0,0,.4))}.publicBrand span{display:flex;flex-direction:column;line-height:1.08}.publicBrand strong{text-transform:uppercase;font-size:15px;letter-spacing:.08em}.publicBrand small{font-size:10px;color:#c8a45b;letter-spacing:.18em;text-transform:uppercase;margin-top:5px}.publicNav nav{display:flex;align-items:center;gap:28px}.publicNav nav a{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.11em;color:#d7d7d7;transition:.2s}.publicNav nav a:hover{color:#fff}.publicNav .publicNavLogin{border:1px solid rgba(255,255,255,.35);padding:11px 18px;border-radius:3px;color:#fff}
.publicHero{min-height:790px;position:relative;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(380px,.95fr);align-items:center;padding:145px max(28px,7vw) 90px;isolation:isolate;background:linear-gradient(90deg,rgba(4,5,7,.97) 0%,rgba(5,6,8,.85) 46%,rgba(5,6,8,.3) 100%),linear-gradient(0deg,#08090b 0%,transparent 24%),var(--public-hero-image) center/cover no-repeat}.publicHero:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 73% 44%,rgba(215,25,32,.18),transparent 34%),repeating-linear-gradient(90deg,transparent 0,transparent 119px,rgba(255,255,255,.018) 120px);z-index:-1}.publicHeroContent{max-width:720px;position:relative;z-index:2}.publicEyebrow{display:flex;align-items:center;gap:12px;color:#c8a45b;font-weight:800;font-size:11px;text-transform:uppercase;letter-spacing:.22em;margin-bottom:24px}.publicEyebrow span{display:block;width:38px;height:2px;background:#d71920}.publicHeroBadge{width:112px;height:112px;object-fit:contain;margin-bottom:16px;filter:drop-shadow(0 18px 25px rgba(0,0,0,.48))}.publicHero h1{font-size:clamp(48px,7vw,96px);line-height:.88;letter-spacing:-.06em;text-transform:uppercase;margin:0;max-width:800px;font-weight:950}.publicHero h2{font-size:clamp(20px,2.2vw,34px);line-height:1.05;max-width:620px;margin:22px 0;color:#c8a45b;text-transform:uppercase;letter-spacing:.02em}.publicHeroContent>p{max-width:610px;color:#b9bbc0;font-size:16px;margin:0 0 32px}.publicHeroActions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.publicButton{display:inline-flex;min-height:50px;align-items:center;justify-content:center;padding:0 24px;border-radius:3px;font-size:11px;text-transform:uppercase;letter-spacing:.12em;font-weight:900;transition:transform .2s,background .2s,box-shadow .2s}.publicButton:hover{transform:translateY(-3px)}.publicButtonPrimary{background:#d71920;color:#fff;box-shadow:0 12px 32px rgba(215,25,32,.25)}.publicButtonPrimary:hover{background:#f0252c}.publicButtonGhost{border:1px solid rgba(255,255,255,.32);background:rgba(255,255,255,.04);backdrop-filter:blur(12px)}.publicButtonGold{background:#c8a45b;color:#090909}.publicTextLink{padding:10px 5px;border-bottom:1px solid rgba(255,255,255,.3);font-size:11px;text-transform:uppercase;letter-spacing:.1em;margin-left:5px}.publicAnalyticsPreview{justify-self:end;width:min(100%,520px);min-height:330px;border:1px solid rgba(255,255,255,.14);background:linear-gradient(145deg,rgba(21,23,28,.74),rgba(8,9,11,.35));backdrop-filter:blur(15px);border-radius:9px;padding:25px;transform:perspective(1000px) rotateY(-7deg);box-shadow:0 40px 90px rgba(0,0,0,.5);opacity:.78}.previewHeader{display:flex;justify-content:space-between;text-transform:uppercase;font-size:11px;letter-spacing:.13em;color:#bfc1c4}.previewHeader strong{color:#f06267}.previewChart{height:180px;margin:25px 0 18px;border-left:1px solid rgba(255,255,255,.1);border-bottom:1px solid rgba(255,255,255,.1);display:flex;align-items:flex-end;gap:14px;padding:0 14px}.previewChart i{flex:1;display:block;background:linear-gradient(#d71920,rgba(215,25,32,.1));height:45%;border-radius:3px 3px 0 0}.previewChart i:nth-child(2){height:64%}.previewChart i:nth-child(3){height:52%}.previewChart i:nth-child(4){height:82%}.previewChart i:nth-child(5){height:70%}.previewChart i:nth-child(6){height:91%}.previewChart i:nth-child(7){height:78%}.previewStats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.previewStats span{font-size:9px;color:#989ba1;text-transform:uppercase}.previewStats b{display:block;color:#fff;font-size:22px}.publicHeroIndex{position:absolute;right:3vw;bottom:35px;font-size:74px;line-height:.8;font-weight:950;color:rgba(255,255,255,.06);display:flex;align-items:flex-end;gap:8px}.publicHeroIndex span{font-size:9px;letter-spacing:.25em;color:rgba(255,255,255,.25)}.publicPitchLines{position:absolute;right:-140px;bottom:-210px;width:650px;height:650px;border:1px solid rgba(255,255,255,.055);border-radius:50%;z-index:-1}.publicPitchLines:before{content:"";position:absolute;top:50%;left:-400px;width:1050px;border-top:1px solid rgba(255,255,255,.055)}
.publicSection{width:min(1180px,calc(100% - 48px));margin:0 auto;padding:105px 0}.publicSectionHeading{display:flex;justify-content:space-between;align-items:end;gap:30px;margin-bottom:45px}.publicSectionHeading span,.publicJoin>div>span,.publicSocialCard>span{display:block;color:#d71920;font-weight:900;font-size:10px;text-transform:uppercase;letter-spacing:.22em;margin-bottom:10px}.publicSectionHeading h2,.publicAccessGrid h2,.publicJoin h2{font-size:clamp(32px,4vw,56px);line-height:.98;letter-spacing:-.045em;margin:0;text-transform:uppercase}.publicSectionHeading>p{max-width:430px;color:#8e9197;margin:0}.publicPerformance{padding-top:80px}.publicMetricGrid{display:grid;grid-template-columns:repeat(6,1fr);border:1px solid #282a2f;background:#0d0f12}.publicMetric{padding:24px 16px 21px;text-align:center;position:relative;border-right:1px solid #282a2f;transition:.25s}.publicMetric:last-child{border:0}.publicMetric:hover{background:#15171b;transform:translateY(-6px)}.publicMetric>small{position:absolute;top:10px;right:12px;color:#555960;font-size:9px}.metricRing{width:92px;height:92px;margin:12px auto 18px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(#d71920 calc(var(--metric)*1%),#24262b 0);position:relative}.metricRing:after{content:"";position:absolute;inset:7px;border-radius:50%;background:#0d0f12}.metricRing span{z-index:1;font-size:25px;font-weight:900}.metricRing i{font-style:normal;font-size:10px;color:#8d9095}.publicMetric h3{font-size:13px;text-transform:uppercase;letter-spacing:.08em;margin:0}.publicMetric p{font-size:10px;color:#73767c;margin:5px 0 0;text-transform:uppercase}
.publicFixtureSection{padding-top:70px}.publicMatchdayCard{border:1px solid #2a2d32;background:radial-gradient(circle at 50% 40%,rgba(215,25,32,.17),transparent 33%),linear-gradient(120deg,#15171b,#0d0f12);position:relative;overflow:hidden}.publicMatchdayCard:after{content:"MATCHDAY";position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);font-size:150px;font-weight:950;color:rgba(255,255,255,.018);white-space:nowrap}.matchdayLabel{display:flex;justify-content:space-between;border-bottom:1px solid #2a2d32;padding:15px 22px;font-size:10px;text-transform:uppercase;letter-spacing:.16em;color:#858990}.matchdayLabel span{color:#d71920;font-weight:900}.matchdayTeams{display:grid;grid-template-columns:1fr 190px 1fr;align-items:center;padding:42px 8%;position:relative;z-index:1}.matchdayTeams>div:not(.matchdayVs){display:flex;flex-direction:column;align-items:center;text-align:center}.matchdayTeams img,.opponentCrest>span{width:104px;height:104px;object-fit:contain;margin-bottom:16px}.opponentCrest>span{display:grid;place-items:center;border:2px solid #c8a45b;border-radius:50%;font-size:30px;font-weight:950;color:#c8a45b;background:#17191d}.matchdayTeams strong{font-size:21px;text-transform:uppercase}.matchdayTeams small{font-size:10px;color:#888c92;text-transform:uppercase;letter-spacing:.13em}.matchdayVs{text-align:center;display:flex;flex-direction:column;align-items:center}.matchdayVs span{text-transform:uppercase;color:#9a9da3;font-size:10px;letter-spacing:.16em}.matchdayVs b{font-size:26px}.matchdayVs em{font-style:normal;color:#c8a45b;font-size:12px}.matchdayVs i{font-style:normal;font-size:12px;font-weight:900;border:1px solid #44474e;padding:7px 9px;border-radius:50%;margin-top:12px}.matchdayMeta{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid #2a2d32}.matchdayMeta span{padding:17px 22px;text-align:center;color:#c8c9cc;font-size:12px;border-right:1px solid #2a2d32}.matchdayMeta span:last-child{border:0}.matchdayMeta b{display:block;color:#696c72;text-transform:uppercase;font-size:8px;letter-spacing:.15em}.publicEmptyState,.publicPartnerPlaceholder{padding:50px;border:1px solid #2a2d32;text-align:center;color:#8c8f94;text-transform:uppercase;letter-spacing:.1em}.publicFixtureColumns{display:grid;grid-template-columns:1fr 1fr;gap:34px;margin-top:46px}.publicFixtureColumns h3{text-transform:uppercase;font-size:15px;letter-spacing:.1em;border-bottom:1px solid #2a2d32;padding-bottom:14px}.publicResultCard,.publicUpcomingCard{min-height:78px;display:grid;align-items:center;border-bottom:1px solid #24262b;transition:.2s}.publicResultCard:hover,.publicUpcomingCard:hover{background:#111318;padding-left:12px;padding-right:12px}.publicResultCard{grid-template-columns:65px 1fr auto}.publicResultCard time{font-size:10px;text-transform:uppercase;color:#777b82}.publicResultCard div{display:flex;flex-direction:column}.publicResultCard strong,.publicUpcomingCard strong{font-size:13px;text-transform:uppercase}.publicResultCard span,.publicUpcomingCard span{font-size:11px;color:#7e8187}.publicResultCard>b{font-size:25px}.publicResultCard>b i{font-style:normal;color:#d71920}.publicUpcomingCard{grid-template-columns:58px 1fr 20px}.publicUpcomingCard time{display:flex;flex-direction:column;text-align:center;text-transform:uppercase;color:#c8a45b;font-size:9px}.publicUpcomingCard time b{font-size:24px;line-height:1;color:#fff}.publicUpcomingCard div{display:flex;flex-direction:column}.publicUpcomingCard>i{font-style:normal;color:#d71920;font-size:25px}.publicMuted{color:#777b82}
.publicPartners{background:#f1eee8;color:#141518}.publicPartners .publicSection{padding-top:80px;padding-bottom:80px}.publicPartners .publicSectionHeading h2{color:#141518}.publicSponsorWall{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));border-top:1px solid #c9c5bd;border-left:1px solid #c9c5bd}.publicSponsorWall a{min-height:155px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:13px;border-right:1px solid #c9c5bd;border-bottom:1px solid #c9c5bd;padding:25px;transition:.2s}.publicSponsorWall a:hover{background:#fff}.publicSponsorWall img{max-width:140px;max-height:70px;object-fit:contain}.publicSponsorWall span{font-size:11px;text-transform:uppercase;letter-spacing:.1em;font-weight:800}.publicPartnerPlaceholder{grid-column:1/-1;border-color:#c9c5bd;color:#68645e}
.publicAccessGrid{display:grid;grid-template-columns:1.25fr 1fr 1fr;gap:1px;background:#282a2f;padding:0;margin-top:105px;margin-bottom:105px}.publicAccessGrid>article{background:#101216;padding:50px 40px;min-height:390px;display:flex;flex-direction:column;align-items:flex-start}.publicAccessGrid>article>small{color:#c8a45b;text-transform:uppercase;letter-spacing:.14em}.publicAccessGrid h2{font-size:31px;margin-top:25px}.publicAccessGrid p{color:#92959b}.publicArrowLink{margin-top:auto;width:100%;border-top:1px solid #303238;padding-top:18px;text-transform:uppercase;letter-spacing:.12em;font-size:10px;font-weight:900;display:flex;justify-content:space-between}.publicArrowLink span{color:#d71920;font-size:20px}.publicSocialCard{background:linear-gradient(150deg,#291014,#0f1114 64%)!important}.publicSocialCard h2{font-size:28px;text-transform:none;overflow-wrap:anywhere}.publicSocialCard .publicButton{margin-top:auto}
.publicJoin{min-height:530px;display:flex;align-items:center;padding:80px max(28px,9vw);position:relative;background:linear-gradient(90deg,rgba(5,6,8,.98),rgba(5,6,8,.73) 55%,rgba(5,6,8,.2)),var(--public-team-image) center/cover no-repeat}.publicJoin>div{max-width:650px}.publicJoin h2{font-size:clamp(44px,6vw,82px)}.publicJoin p{color:#b9bbc0;max-width:560px;margin:22px 0 30px}.publicFooter{min-height:160px;padding:35px max(28px,5vw);display:grid;grid-template-columns:1fr auto auto;gap:40px;align-items:center;border-top:1px solid #282a2f;background:#060708}.publicFooter>p{font-size:11px;color:#777b82;text-transform:uppercase;letter-spacing:.1em}.publicFooter>a{text-transform:uppercase;font-size:10px;letter-spacing:.12em}.publicFooter>small{grid-column:1/-1;color:#4f5258;border-top:1px solid #1e2024;padding-top:15px}

/* Public homepage manager */
.adminPublicPage{max-width:1180px;margin:0 auto;color:#141518}.adminPublicHero{display:flex;align-items:center;justify-content:space-between}.adminPublicPreview{background:#fff;color:#991b1b;padding:11px 16px;border-radius:9px;font-weight:900;text-decoration:none}.adminPublicNotice{padding:13px 15px;border-radius:10px;margin-bottom:14px;font-weight:800}.adminPublicGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.adminPublicCard,.adminPublicSponsors{background:#f8fafc;color:#141518;border-radius:18px;padding:22px;box-shadow:0 12px 34px rgba(0,0,0,.18);border:1px solid #dfe3e8}.adminPublicCard>span,.adminPublicSectionTitle span{color:#b91c1c;font-size:11px;font-weight:950;letter-spacing:.12em}.adminPublicCard h2,.adminPublicSponsors h2{margin:2px 0 18px;color:#141518}.adminPublicCard label,.adminPublicSponsorForm label{display:block;color:#222b38;font-size:12px;font-weight:900;margin-top:13px}.adminPublicCard input,.adminPublicCard textarea,.adminPublicSponsorForm input{width:100%;box-sizing:border-box;border:1px solid #cbd5e1;border-radius:9px;background:#fff;color:#141518;padding:11px;margin-top:5px;font:inherit}.adminPublicCard textarea{resize:vertical}.adminPublicTwo{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}.adminPublicImagePreview{width:100%;height:130px;object-fit:contain;background:#e9edf2;border-radius:9px;margin:6px 0}.adminPublicSave{position:sticky;bottom:12px;display:flex;justify-content:flex-end;padding:18px 0;z-index:4}.adminPublicSave button,.adminPublicSponsorForm button{border:0;border-radius:10px;background:#b91c1c;color:#fff;padding:13px 20px;font-weight:950;cursor:pointer;box-shadow:0 9px 20px rgba(185,28,28,.25)}.adminPublicSponsors{margin-top:30px}.adminPublicSectionTitle{display:flex;justify-content:space-between;align-items:end}.adminPublicSectionTitle p{color:#64748b}.adminPublicSponsorForm{display:grid;grid-template-columns:1.2fr 1fr 1.2fr .5fr auto auto;gap:12px;align-items:end;background:#e9edf2;border-radius:12px;padding:15px;margin:18px 0}.adminPublicSponsorForm label{margin:0}.adminPublicSponsorForm .adminPublicCheck{display:flex;gap:7px;align-items:center;padding-bottom:11px}.adminPublicCheck input{width:auto;margin:0}.adminPublicSponsorList{display:grid;gap:8px}.adminPublicSponsorList article{display:grid;grid-template-columns:72px 1fr auto auto auto;align-items:center;gap:12px;border:1px solid #d8dee7;border-radius:11px;padding:10px;background:#fff}.adminPublicSponsorList img,.adminPublicLogoFallback{width:64px;height:45px;object-fit:contain;background:#f1f5f9;border-radius:6px}.adminPublicLogoFallback{display:grid;place-items:center;color:#94a3b8;font-size:9px;font-weight:900}.adminPublicSponsorList article>div:nth-child(2){display:flex;flex-direction:column}.adminPublicSponsorList span{font-size:11px;color:#64748b}.adminPublicSponsorList a,.adminPublicSponsorList button{border:1px solid #cbd5e1;background:#fff;color:#334155;border-radius:7px;padding:8px 10px;font-weight:800;cursor:pointer}.adminPublicSponsorList .danger{color:#b91c1c;border-color:#fecaca}

@media(max-width:960px){.publicHero{grid-template-columns:1fr;padding-top:140px}.publicAnalyticsPreview{display:none}.publicMetricGrid{grid-template-columns:repeat(3,1fr)}.publicMetric:nth-child(3){border-right:0}.publicAccessGrid{grid-template-columns:1fr 1fr}.publicSocialCard{grid-column:1/-1}.adminPublicSponsorForm{grid-template-columns:1fr 1fr}.adminPublicSponsorList article{grid-template-columns:60px 1fr auto}.adminPublicSponsorList article form{grid-column:auto}.adminPublicGrid{grid-template-columns:1fr}}
@media(max-width:680px){.publicNav{height:auto;min-height:74px;padding:10px 18px}.publicNav nav>a:not(.publicNavLogin){display:none}.publicBrand img{width:44px;height:44px}.publicHero{min-height:740px;padding:125px 24px 75px}.publicHeroBadge{width:82px;height:82px}.publicHero h1{font-size:49px}.publicHero h2{font-size:20px}.publicSection{width:min(100% - 32px,1180px);padding:72px 0}.publicSectionHeading{align-items:flex-start;flex-direction:column}.publicMetricGrid{grid-template-columns:repeat(2,1fr)}.publicMetric:nth-child(2n){border-right:0}.matchdayTeams{grid-template-columns:1fr 74px 1fr;padding:35px 12px}.matchdayTeams img,.opponentCrest>span{width:70px;height:70px}.opponentCrest>span{font-size:20px}.matchdayTeams strong{font-size:13px}.matchdayVs b{font-size:19px}.matchdayMeta{grid-template-columns:1fr}.matchdayMeta span{border-right:0;border-bottom:1px solid #2a2d32}.publicFixtureColumns{grid-template-columns:1fr}.publicAccessGrid{display:grid;grid-template-columns:1fr;width:100%;margin:70px 0}.publicSocialCard{grid-column:auto}.publicAccessGrid>article{min-height:340px;padding:38px 28px}.publicJoin{min-height:480px}.publicFooter{grid-template-columns:1fr;gap:18px}.publicFooter>small{grid-column:auto}.adminPublicTwo,.adminPublicSponsorForm{grid-template-columns:1fr}.adminPublicSponsorList article{grid-template-columns:55px 1fr}.adminPublicSponsorList article>a,.adminPublicSponsorList article>form{grid-column:auto}.adminPublicHero{align-items:flex-start;gap:15px;flex-direction:column}}

.publicHero{background:linear-gradient(90deg,rgba(4,5,7,.97) 0%,rgba(5,6,8,.85) 46%,rgba(5,6,8,.3) 100%),linear-gradient(0deg,#08090b 0%,transparent 24%)}
.publicHeroBackdrop{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
.metricRing.metric84{background:conic-gradient(#d71920 84%,#24262b 0)}.metricRing.metric86{background:conic-gradient(#d71920 86%,#24262b 0)}.metricRing.metric88{background:conic-gradient(#d71920 88%,#24262b 0)}.metricRing.metric90{background:conic-gradient(#d71920 90%,#24262b 0)}.metricRing.metric92{background:conic-gradient(#d71920 92%,#24262b 0)}.metricRing.metric94{background:conic-gradient(#d71920 94%,#24262b 0)}
.publicJoin{isolation:isolate;background:linear-gradient(90deg,rgba(5,6,8,.98),rgba(5,6,8,.73) 55%,rgba(5,6,8,.2))}.publicJoinBackdrop{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-1}

/* ========================================
   ACADEMY PLATFORM DESIGN SYSTEM
======================================== */
:root{
    --club-red:#c1121f;
    --club-red-dark:#7d1920;
    --club-gold:#d4af5a;
    --page-bg:#050505;
    --panel-bg:#101010;
    --panel-bg-soft:#151515;
    --border-soft:rgba(255,255,255,.08);
    --text-main:#fff;
    --text-muted:#b8b8b8;
    --text-soft:#d8d8d8;
    --academy-shadow:0 24px 60px rgba(0,0,0,.34);
}

body.academy-shell{
    color:var(--text-main);
    background:radial-gradient(circle at 85% 0,color-mix(in srgb,var(--club-red) 18%,transparent),transparent 32%),linear-gradient(color-mix(in srgb,var(--page-bg) 94%,transparent),color-mix(in srgb,var(--page-bg) 97%,transparent)),url('background.jpg') center/cover fixed;
    background-color:var(--page-bg);
    overflow-x:hidden;
}
.academy-shell *{box-sizing:border-box}
.academy-shell .wrap,.academy-page{width:min(100% - 36px,1280px);max-width:1280px;margin:0 auto}
.academy-shell .wrap{padding:34px 0 72px}
.academy-hero,.academy-shell .pageHero,.academy-shell .pageHeader,.academy-shell .trainingHero,.academy-shell .minutesHero,.academy-shell .scoringHero,.academy-shell .awardHero,.academy-shell .profileHero{
    position:relative;overflow:hidden;background:linear-gradient(118deg,rgba(11,11,12,.98),rgba(25,13,15,.96) 62%,rgba(125,25,32,.9));border:1px solid var(--border-soft);border-radius:4px;padding:clamp(26px,4vw,52px);margin-bottom:24px;box-shadow:var(--academy-shadow);color:#fff;
}
.academy-hero:after,.academy-shell .pageHero:after,.academy-shell .pageHeader:after,.academy-shell .profileHero:after{content:"";position:absolute;inset:auto -8% -70% auto;width:360px;height:360px;border-radius:50%;background:rgba(193,18,31,.14);filter:blur(12px);pointer-events:none}
.academy-title,.academy-hero h1,.academy-shell .pageHero h1,.academy-shell .pageHeader h1{margin:0;color:#fff;font-size:clamp(34px,5vw,62px);line-height:.96;letter-spacing:-.04em;text-transform:uppercase}
.academy-subtitle,.academy-hero p,.academy-shell .pageHero p,.academy-shell .pageHeader p{color:var(--text-muted);max-width:720px;font-size:15px;line-height:1.7}
.academy-section{margin:42px 0}.academy-section-kicker{display:block;color:var(--club-gold);font-size:10px;font-weight:900;letter-spacing:.18em;text-transform:uppercase;margin-bottom:10px}
.academy-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:18px}
.academy-card,.academy-panel,.academy-shell .card,.academy-shell .settingsCard,.academy-shell .portalCard,.academy-shell .portalStat,.academy-shell .dashStat,.academy-shell .report-card,.academy-shell .reportCard,.academy-shell .fotCard,.academy-shell .teamCard,.academy-shell .profileCard,.academy-shell .trainingCard,.academy-shell .awardCard,.academy-shell .dashboardCard,.academy-shell .whiteBox{
    background:linear-gradient(145deg,var(--panel-bg-soft),var(--panel-bg)) !important;color:var(--text-main) !important;border:1px solid var(--border-soft) !important;border-radius:3px !important;box-shadow:0 16px 38px rgba(0,0,0,.24) !important;
}
.academy-card,.academy-panel,.academy-shell .card,.academy-shell .settingsCard{padding:24px}
.academy-shell .card *,.academy-shell .settingsCard *,.academy-shell .portalCard *,.academy-shell .portalStat *,.academy-shell .dashStat *,.academy-shell .report-card *,.academy-shell .reportCard *,.academy-shell .fotCard *,.academy-shell .teamCard *,.academy-shell .profileCard *,.academy-shell .trainingCard *,.academy-shell .awardCard *,.academy-shell .dashboardCard *,.academy-shell .whiteBox *{color:inherit}
.academy-card h2,.academy-panel h2,.academy-shell .card h2,.academy-shell .fotCard h2{color:#fff;margin-top:0}.academy-card p,.academy-panel p,.academy-shell .smallMuted,.academy-shell .muted{color:var(--text-muted) !important}
.academy-button,.academy-shell .primaryBtn,.academy-shell .actionBtn{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:11px 17px;border:1px solid transparent;border-radius:2px;text-decoration:none;text-transform:uppercase;letter-spacing:.09em;font-size:10px;font-weight:900;cursor:pointer}
.academy-button-primary,.academy-shell .primaryBtn,.academy-shell .actionBtn{background:var(--club-red) !important;color:#fff !important;box-shadow:0 10px 28px rgba(193,18,31,.22)}
.academy-button-secondary{background:transparent;color:#fff;border-color:rgba(255,255,255,.22)}
.academy-stat-card,.academy-metric{background:var(--panel-bg-soft);border:1px solid var(--border-soft);padding:20px}.academy-metric strong{display:block;color:#fff;font-size:30px}.academy-metric span{color:var(--text-muted);font-size:10px;text-transform:uppercase;letter-spacing:.13em}
.academy-badge,.academy-shell .status-badge{display:inline-flex;padding:6px 9px;border:1px solid rgba(212,175,90,.35);background:rgba(212,175,90,.08);color:var(--club-gold);border-radius:999px;font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.1em}

/* Navigation */
.academy-nav{position:sticky;top:0;z-index:1000;min-height:74px;padding:0 max(18px,3vw);display:flex;align-items:center;gap:28px;background:rgba(5,5,5,.96) !important;border-bottom:1px solid var(--border-soft);box-shadow:0 12px 35px rgba(0,0,0,.35);backdrop-filter:blur(18px)}
.academy-nav .brand{display:flex;align-items:center;gap:11px;color:#fff;text-decoration:none;min-width:max-content}.academy-nav .brand img{width:44px;height:44px;object-fit:contain}.academy-nav .brand span{display:flex;flex-direction:column}.academy-nav .brand strong{font-size:14px;text-transform:uppercase;letter-spacing:.04em}.academy-nav .brand small{color:#8f9298;font-size:8px;text-transform:uppercase;letter-spacing:.13em}
.academy-nav .mainNav{margin-left:auto;display:flex;align-items:center;gap:4px;min-width:0}.navGroup{position:relative}.navGroup>button{height:44px;border:0;background:transparent;color:#d9dadd;padding:0 13px;text-transform:uppercase;font-size:9px;font-weight:900;letter-spacing:.13em;cursor:pointer}.navGroup>button:after{content:" +";color:var(--club-red)}.navGroup>div{display:none;position:absolute;top:calc(100% + 10px);right:0;min-width:225px;padding:8px;background:#0c0d0f;border:1px solid var(--border-soft);box-shadow:0 22px 50px rgba(0,0,0,.5)}.navGroup:hover>div,.navGroup:focus-within>div{display:grid}.navGroup a{padding:12px 13px;color:#b8bbc0;text-decoration:none;font-size:11px;border-left:2px solid transparent}.navGroup a:hover,.navGroup a.active{color:#fff;background:rgba(255,255,255,.04);border-left-color:var(--club-red)}
.navActions{display:flex;align-items:center;gap:7px;margin-left:8px}.navActions .logout,.installAppButton{padding:10px 13px;border:1px solid var(--border-soft);background:transparent;color:#fff;text-decoration:none;text-transform:uppercase;font-size:9px;font-weight:900;letter-spacing:.08em;cursor:pointer}.navActions .logout{border-color:rgba(193,18,31,.45)}.academy-menu-toggle{display:none;background:transparent;border:1px solid var(--border-soft);color:#fff;padding:10px}.academy-menu-toggle span{display:block;width:20px;height:1px;background:#fff;margin:4px}.academy-menu-toggle b{display:none}

/* Forms and tables */
.academy-form label,.academy-shell form label{color:var(--text-soft);font-size:11px;font-weight:800;letter-spacing:.02em}.academy-input,.academy-select,.academy-shell input:not([type=checkbox]):not([type=radio]),.academy-shell textarea,.academy-shell select{width:100%;background:#090a0b !important;color:#f7f7f7 !important;border:1px solid rgba(255,255,255,.13) !important;border-radius:2px !important;padding:11px 12px}.academy-shell input:focus,.academy-shell textarea:focus,.academy-shell select:focus{outline:0;border-color:var(--club-red) !important;box-shadow:0 0 0 3px rgba(193,18,31,.12)}.academy-shell select option{background:#101010;color:#fff}.academy-shell input::placeholder,.academy-shell textarea::placeholder{color:#777 !important}.academy-shell input[type=color]{padding:3px !important;min-height:43px}
.academy-table,.academy-shell table{width:100%;border-collapse:collapse;background:#0d0e10 !important;color:#fff !important}.academy-table th,.academy-shell table th{background:#151619 !important;color:#aaaeb5 !important;padding:13px 12px;border-bottom:1px solid var(--border-soft);font-size:9px;text-transform:uppercase;letter-spacing:.12em}.academy-table td,.academy-shell table td{color:#e7e7e8 !important;padding:13px 12px;border-bottom:1px solid rgba(255,255,255,.06)}.academy-shell table tr:hover td{background:rgba(255,255,255,.025)}.academy-shell .tableScroll{overflow-x:auto;border:1px solid var(--border-soft)}
.academy-tabs{display:flex;gap:4px;padding:4px;background:#0c0d0f;border:1px solid var(--border-soft)}.academy-tabs a{padding:11px 14px;color:var(--text-muted);text-decoration:none}.academy-tabs a.active{background:var(--club-red);color:#fff}

/* Club settings */
.settingsPage{max-width:1180px}.settingsGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.settingsCard h2{margin:0 0 18px}.settingsCard label{display:block;margin:13px 0 6px}.badgePreview{display:grid;place-items:center;min-height:230px;background:radial-gradient(circle,rgba(193,18,31,.15),transparent 65%),#090a0b;border:1px solid var(--border-soft)}.badgePreview img{max-width:210px;max-height:190px}.colourRow{display:grid;grid-template-columns:58px 1fr;gap:9px}.saveBar{display:flex;justify-content:flex-end;margin-top:18px}.notice{padding:12px 14px;margin-bottom:12px;border:1px solid var(--border-soft)}.successBox{background:#102418;color:#9be1af}.errorBox{background:#2b1013;color:#ffb1b8}.settingsPreviewIdentity{display:flex;align-items:center;gap:15px;padding:20px;background:#090a0b;border:1px solid var(--border-soft)}.settingsPreviewIdentity img{width:68px;height:68px;object-fit:contain}.settingsPreviewIdentity div{display:flex;flex-direction:column}.settingsPreviewIdentity strong{font-size:18px}.settingsPreviewIdentity span{color:var(--text-muted)}.settingsPreview .academy-panel{margin-top:18px;padding:18px}

/* Dashboard, team, player profiles and fixtures */
.academy-shell .dashboardHero,.academy-shell .teamHero{border-radius:3px !important}.academy-shell .quickStats,.academy-shell .coachStatsGrid,.academy-shell .sectionGrid,.academy-shell .statsGrid{gap:14px}.academy-shell .quickStat,.academy-shell .coachStatBox,.academy-shell .statBox,.academy-shell .teamStat,.academy-shell .summaryCard{background:#111214 !important;color:#fff !important;border:1px solid var(--border-soft) !important;border-radius:2px !important}.academy-shell .quickStat strong,.academy-shell .statValue{color:var(--club-gold) !important}.academy-shell .profileHero{background:linear-gradient(118deg,#0c0d0f,#171012 65%,var(--club-red-dark)) !important}.academy-shell .profileHeroPic,.academy-shell .profileFallback{border:2px solid var(--club-gold);box-shadow:0 14px 35px rgba(0,0,0,.45)}.academy-shell .ratingCircle{background:#0a0b0d !important;border:2px solid var(--club-gold) !important;color:#fff !important}.academy-shell .traitBar,.academy-shell .impactBar,.academy-shell .commitmentBar{background:#242529 !important}.academy-shell .traitFill,.academy-shell .impactFill,.academy-shell .commitmentFill{background:linear-gradient(90deg,var(--club-red-dark),var(--club-red)) !important}.academy-shell .statLine{border-bottom-color:rgba(255,255,255,.07) !important}.academy-shell .fixture-card{background:linear-gradient(135deg,#121315,#0c0d0e) !important;color:#fff !important;border:1px solid var(--border-soft) !important;border-left:3px solid var(--club-red) !important;border-radius:2px !important;padding:20px !important}.academy-shell .fixture-meta{color:var(--text-muted) !important}.academy-shell .fixture-score{color:var(--club-gold) !important}.academy-shell .workflow-buttons a,.academy-shell .workflow-buttons button,.academy-shell .edit-buttons button{border-radius:2px !important}.academy-shell .seasonSelector{background:#101113 !important;color:#fff;border:1px solid var(--border-soft);box-shadow:none}.academy-shell .seasonSelector label{color:#fff}

@media(max-width:900px){
    .academy-nav{min-height:66px;padding:0 16px}.academy-nav .brand img{width:38px;height:38px}.academy-menu-toggle{display:block;margin-left:auto}.academy-nav .mainNav{display:none;position:fixed;inset:66px 0 0;background:#08090a;padding:18px;overflow-y:auto;align-items:stretch}.academy-nav .mainNav.is-open{display:block}.academy-menu-open{overflow:hidden}.navGroup{border-bottom:1px solid var(--border-soft)}.navGroup>button{width:100%;height:52px;text-align:left;padding:0}.navGroup>button:after{float:right}.navGroup>div,.navGroup:hover>div,.navGroup:focus-within>div{display:none;position:static;min-width:0;padding:0 0 13px;background:transparent;border:0;box-shadow:none}.navGroup.is-open>div{display:grid}.navGroup a{padding:13px 12px;font-size:12px}.navActions{margin:18px 0 0;display:grid;grid-template-columns:1fr 1fr}.navActions>*{text-align:center}.settingsGrid{grid-template-columns:1fr}.academy-shell .wrap,.academy-page{width:min(100% - 24px,1280px)}
}
@media(max-width:620px){.academy-shell .wrap{padding-top:20px}.academy-hero,.academy-shell .pageHero,.academy-shell .pageHeader,.academy-shell .profileHero{padding:26px 20px}.academy-title,.academy-hero h1,.academy-shell .pageHero h1,.academy-shell .pageHeader h1{font-size:34px}.academy-card,.academy-panel,.academy-shell .card,.academy-shell .settingsCard{padding:18px}.academy-shell table{min-width:680px}.academy-shell .quickStats{grid-template-columns:repeat(2,minmax(0,1fr)) !important}.academy-nav .brand small{display:none}}

/* Academy contrast and mobile overlay corrections */
.academy-shell .academy-card h1,
.academy-shell .academy-card h2,
.academy-shell .academy-card h3,
.academy-shell .academy-panel h1,
.academy-shell .academy-panel h2,
.academy-shell .academy-panel h3,
.academy-shell .fotCard h1,
.academy-shell .fotCard h2,
.academy-shell .fotCard h3,
.academy-shell .statLine .statValue,
.academy-shell .profile-stat-value,
.academy-shell .profile-metric-value{
    color:var(--text-main) !important;
}

.academy-shell .statLine span:first-child,
.academy-shell .traitTop span:first-child,
.academy-shell .coachStatBox span:last-child,
.academy-shell .matchScore,
.academy-shell .profile-stat-label,
.academy-shell .profile-metric-label,
.academy-shell .fotCard label,
.academy-shell .fotCard small,
.academy-shell .fotCard p,
.academy-shell .academy-card label,
.academy-shell .academy-card small,
.academy-shell .academy-panel label,
.academy-shell .academy-panel small{
    color:var(--text-muted) !important;
}

.academy-shell .traitTop span:last-child,
.academy-shell .coachStatBox strong,
.academy-shell .commitmentScore{
    color:var(--text-main) !important;
}

.academy-shell .dashCard,
.academy-shell .todoItem,
.academy-shell .responseItem,
.academy-shell .familyResponseItem,
.academy-shell .familyTrainingBlock,
.academy-shell .responseStat,
.academy-shell .coachCard{
    background:var(--panel-bg-soft) !important;
    color:var(--text-main) !important;
    border-color:var(--border-soft) !important;
}

.academy-shell .dashCard h2,
.academy-shell .todoItem strong,
.academy-shell .responseItem strong,
.academy-shell .familyResponseItem strong,
.academy-shell .familyTrainingHead strong,
.academy-shell .responseStat strong,
.academy-shell .coachCard h2{
    color:var(--text-main) !important;
}

.academy-shell .dashCard p,
.academy-shell .todoItem span,
.academy-shell .responseItem span,
.academy-shell .familyResponseItem span,
.academy-shell .familyTrainingHead span,
.academy-shell .responseStat span,
.academy-shell .coachCard p,
.academy-shell .fixture-meta{
    color:var(--text-muted) !important;
}

@media(max-width:900px){
    .topbar.academy-nav{
        position:sticky;
        z-index:99998;
        isolation:isolate;
        overflow:visible;
        transform:none;
        filter:none;
        backdrop-filter:none;
    }

    .topbar.academy-nav #academy-navigation.mainNav.academy-dropdown{
        overflow-x:hidden;
    }

    .topbar.academy-nav #academy-navigation.mainNav.academy-dropdown.is-open{
        position:fixed;
        inset:0;
        z-index:99999;
        display:flex;
        flex-direction:column;
        align-items:stretch;
        width:100%;
        max-width:none;
        height:100vh;
        height:100dvh;
        max-height:100dvh;
        padding:82px 18px 24px;
        background:#08090a;
        overflow-x:hidden;
        overflow-y:auto;
        overscroll-behavior:contain;
    }

    .topbar.academy-nav .academy-menu-toggle{
        position:relative;
        z-index:100000;
    }

    body.academy-menu-open{overflow:hidden;touch-action:none}

    .academy-shell .tableScroll,
    .academy-shell .tableWrap,
    .academy-shell .card,
    .academy-shell .academy-card,
    .academy-shell .academy-panel{
        position:relative;
        z-index:auto;
    }
}

/* Phase 2 + 3 definitive overrides. */
.academy-shell .academyDashboard .dashHero,.academy-shell .teamHero,.academy-shell .profileHero,.academy-shell .fixturesHero{border-radius:4px !important;border:1px solid var(--border-soft) !important;background:linear-gradient(118deg,#0b0c0e,#1b1113 62%,var(--club-red-dark)) !important;box-shadow:var(--academy-shadow) !important}
.academy-shell .academyDashboard .dashCard,.academy-shell .academyDashboard .coachCard,.academy-shell .settingsPage .settingsCard,.academy-shell .fotCard,.academy-shell .lightCard,.academy-shell .darkCard,.academy-shell .formationCard,.academy-shell .coachSection,.academy-shell .statsDashboard,.academy-shell .fixturesDashboard,.academy-shell .fixtureFormCard,.academy-shell .fixtureListCard,.academy-shell .fixture-card{background:linear-gradient(145deg,var(--panel-bg-soft),var(--panel-bg)) !important;color:var(--text-main) !important;border:1px solid var(--border-soft) !important;border-radius:3px !important;box-shadow:0 16px 38px rgba(0,0,0,.22) !important}
.academy-shell .academyDashboard .dashCard h2,.academy-shell .academyDashboard .coachCard h2,.academy-shell .settingsPage h2,.academy-shell .fotCard h2,.academy-shell .darkCard h2,.academy-shell .formationCard h2,.academy-shell .coachSection h2,.academy-shell .statsDashboard h2,.academy-shell .fixturesDashboard h2,.academy-shell .fixtureFormCard h2,.academy-shell .fixtureListCard h2{color:var(--text-main) !important}.academy-shell .academyDashboard .dashCard p,.academy-shell .academyDashboard .coachCard p,.academy-shell .academyDashboard .smallMuted,.academy-shell .settingsPage p,.academy-shell .playerMeta,.academy-shell .statLine span:first-child,.academy-shell .traitTop span:first-child,.academy-shell .coachRole,.academy-shell .fixture-meta,.academy-shell .teamSub{color:var(--text-muted) !important}
.academy-shell .academyDashboard .feedPost,.academy-shell .academyDashboard .todoItem,.academy-shell .academyDashboard .responseItem,.academy-shell .academyDashboard .familyResponseItem,.academy-shell .academyDashboard .familyTrainingBlock,.academy-shell .academyDashboard .responseStat,.academy-shell .insightBox,.academy-shell .commitmentMini,.academy-shell .journeyItem,.academy-shell .coachStatsCard,.academy-shell .coachStatBox,.academy-shell .edit-form{background:#101113 !important;color:var(--text-main) !important;border-color:var(--border-soft) !important;border-radius:2px !important}.academy-shell .academyDashboard .feedLink,.academy-shell .matchName a,.academy-shell .squadPlayer,.academy-shell .fixtureButton{color:var(--club-gold) !important}.academy-shell .academyDashboard .feedPostText span,.academy-shell .insightList li,.academy-shell .commitmentMini span,.academy-shell .journeyNote,.academy-shell .coachStatBox span:last-child{color:var(--text-muted) !important}.academy-shell .statValue,.academy-shell .traitTop span:last-child,.academy-shell .commitmentMini strong,.academy-shell .coachStatBox strong,.academy-shell .fixture-score{color:var(--text-main) !important}
.academy-shell .settingsPreview{--preview-primary:var(--club-red);--preview-secondary:var(--club-gold);--preview-page:var(--page-bg);--preview-card:var(--panel-bg);background:radial-gradient(circle at 90% 10%,rgba(193,18,31,.18),transparent 38%),var(--preview-page) !important}.academy-shell .settingsPreview .settingsPreviewIdentity,.academy-shell .settingsPreview .academy-panel{background:var(--preview-card) !important}.academy-shell .settingsPreview .settingsPreviewIdentity{border-color:var(--preview-secondary)}.academy-shell .settingsPreview .academy-button{background:var(--preview-primary) !important}.academy-shell .settingsPreview .academy-section-kicker{color:var(--preview-secondary)}
.academy-shell .profileSelect select,.academy-shell .seasonSelector select,.academy-shell .fixturesHero select,.academy-shell .feedForm input,.academy-shell .feedForm textarea,.academy-shell .feedForm select,.academy-shell .fixtureFormCard input,.academy-shell .fixtureFormCard select,.academy-shell .edit-form input,.academy-shell .edit-form select{background:#090a0b !important;color:var(--text-main) !important;border-color:rgba(255,255,255,.13) !important;border-radius:2px !important}.academy-shell .quickStats,.academy-shell .seasonStatsGrid{gap:1px !important;background:var(--border-soft) !important;border:1px solid var(--border-soft)}.academy-shell .quickStat,.academy-shell .seasonStat{background:#101113 !important;color:var(--text-muted) !important;border:0 !important;border-radius:0 !important}.academy-shell .quickStat strong,.academy-shell .seasonStat strong{color:var(--text-main) !important}
.academy-shell .teamTableScroll,.academy-shell .tableWrap,.academy-shell .tableScroll{width:100%;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;border:1px solid var(--border-soft)}.academy-shell .teamTableScroll table{min-width:720px}.academy-shell .squadTable,.academy-shell .teamTable,.academy-shell .matchTable{background:#0d0e10 !important}.academy-shell .squadTable tr,.academy-shell .squadTable td,.academy-shell .teamTable tr,.academy-shell .teamTable td,.academy-shell .matchTable tr,.academy-shell .matchTable td{background:#0d0e10 !important;color:var(--text-main) !important}.academy-shell .squadTable th,.academy-shell .teamTable th,.academy-shell .matchTable th{background:#17181b !important;color:var(--text-muted) !important}.academy-shell .teamTable .currentTeamRow td{background:rgba(193,18,31,.2) !important}.academy-shell .positionBadge{background:#24262a !important;color:var(--club-gold) !important}.academy-shell .teamTable td:nth-child(10),.academy-shell .teamTable td:nth-child(10) strong{color:var(--club-gold) !important;font-weight:900}
.academy-shell .fixture-card{border-left:3px solid var(--club-red) !important}.academy-shell .fixture-card.fixture-tournament{border-left-color:var(--club-gold) !important}.academy-shell .fixture-title{color:var(--text-main) !important}.academy-shell .fixture-score{background:rgba(212,175,90,.07) !important;border:1px solid rgba(212,175,90,.32) !important}.academy-shell .workflow-buttons .button{background:#222429 !important;color:#fff !important;border:1px solid rgba(255,255,255,.1) !important;border-radius:2px !important}.academy-shell .workflow-buttons .button:hover{background:#2b2d32 !important;border-color:rgba(212,175,90,.45) !important}
@media(max-width:760px){.academy-shell .academyDashboard,.academy-shell .settingsPage,.academy-shell .sectionGrid,.academy-shell .profileWide,.academy-shell .coachDashboard,.academy-shell .fixturesDashboard,.academy-shell .statsDashboard{min-width:0}.academy-shell .academyDashboard .feedGrid,.academy-shell .academyDashboard .dashGrid,.academy-shell .overviewGrid,.academy-shell .sectionGrid,.academy-shell .twoCol,.academy-shell .insightGrid,.academy-shell .fixtureFormCard .form-grid,.academy-shell .edit-form .form-grid{grid-template-columns:1fr !important}.academy-shell .academyDashboard .feedList{grid-template-columns:1fr}.academy-shell .academyDashboard .todoItem,.academy-shell .academyDashboard .responseItem,.academy-shell .academyDashboard .familyResponseItem,.academy-shell .fixture-top{align-items:flex-start;flex-direction:column}.academy-shell .workflow-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.academy-shell .workflow-buttons .button{width:100%;text-align:center}.academy-shell .quickStats,.academy-shell .commitmentMiniGrid,.academy-shell .coachStatsGrid{grid-template-columns:repeat(2,minmax(0,1fr)) !important}.academy-shell .teamTableScroll{max-width:100%}}
@media(max-width:430px){.academy-shell .workflow-buttons{grid-template-columns:1fr}.academy-shell .academyDashboard .dashCard,.academy-shell .academyDashboard .coachCard,.academy-shell .settingsPage .settingsCard,.academy-shell .fotCard,.academy-shell .fixture-card{padding:17px !important}.academy-shell .academyDashboard .dashHero,.academy-shell .teamHero,.academy-shell .profileHero,.academy-shell .fixturesHero{padding:22px 18px !important}}

/* Phase 6 - Secondary Page Academy Redesign (final cascade) */
:is(.phase6-match-report,.phase6-reports-index,.phase6-parent-report,.phase6-tournament-view,.phase6-training,.phase6-tournament-admin,.phase6-tournament-fixtures,.phase6-published-squads){color:var(--text-main);overflow-x:hidden}
:is(.phase6-match-report,.phase6-reports-index,.phase6-parent-report,.phase6-tournament-view,.phase6-training,.phase6-tournament-admin,.phase6-tournament-fixtures,.phase6-published-squads) :is(.card,.report-card,.tournament-card,.publishedSquadPostCard){background:linear-gradient(145deg,var(--panel-bg-soft),var(--panel-bg)) !important;color:var(--text-main) !important;border-color:var(--border-soft) !important}
:is(.phase6-match-report,.phase6-parent-report,.phase6-tournament-view,.phase6-training,.phase6-tournament-admin,.phase6-tournament-fixtures,.phase6-published-squads) :is(table,.ratings-table,.attendanceTable){max-width:100%;color:var(--text-main)}
@media(max-width:600px){:is(.phase6-match-report,.phase6-reports-index,.phase6-parent-report,.phase6-tournament-view,.phase6-training,.phase6-tournament-admin,.phase6-tournament-fixtures,.phase6-published-squads) :is(.card,.report-card,.tournament-card,.publishedSquadPostCard){max-width:100%;box-sizing:border-box}}

/* Phase 7 - Parent and Player Experience Academy Redesign */
:is(.phase7-player-dashboard,.phase7-parent-highlights,.phase7-player-commitment,.phase7-profile-settings,.phase7-change-password){color:var(--text-main);overflow-x:hidden}
.phase7-player-dashboard>section,.phase7-parent-highlights>section,.phase7-parent-highlights>nav,.phase7-player-commitment>.pageHeader,.phase7-player-commitment>.commitmentFilters,.phase7-player-commitment>.commitmentTable{width:min(1180px,calc(100% - 32px));margin-left:auto;margin-right:auto;box-sizing:border-box}
:is(.phase7-player-dashboard .playerHero,.phase7-parent-highlights .highlightsHero,.phase7-player-commitment .pageHeader,.phase7-profile-settings .hejaProfileTop){position:relative;overflow:hidden;border:1px solid var(--border-soft) !important;border-radius:4px !important;background:linear-gradient(118deg,#090a0c,#1b1113 62%,var(--club-red-dark)) !important;color:var(--text-main) !important;box-shadow:var(--academy-shadow) !important}
:is(.phase7-player-dashboard .playerHero,.phase7-parent-highlights .highlightsHero,.phase7-player-commitment .pageHeader){padding:clamp(22px,4vw,42px) !important;margin-top:24px;margin-bottom:18px}
:is(.phase7-player-dashboard .playerHero,.phase7-parent-highlights .highlightsHero,.phase7-player-commitment .pageHeader,.phase7-profile-settings .hejaProfileTop) :is(h1,h2,strong){color:var(--text-main) !important}
:is(.phase7-player-dashboard .playerHero,.phase7-parent-highlights .highlightsHero,.phase7-player-commitment .pageHeader,.phase7-profile-settings .hejaProfileTop) p{color:var(--text-muted) !important}
.phase7-player-dashboard :is(.portalCard,.portalStat,.publishedSquadPostCard,.calendarMonth,.scheduleCard,.feedCard),.phase7-parent-highlights :is(.highlightCard,.highlightSummary>div),.phase7-profile-settings .hejaCard,.phase7-change-password .passwordCard{background:linear-gradient(145deg,var(--panel-bg-soft),var(--panel-bg)) !important;color:var(--text-main) !important;border:1px solid var(--border-soft) !important;border-radius:3px !important;box-shadow:0 16px 38px rgba(0,0,0,.22) !important}
.phase7-player-dashboard :is(.portalCard,.portalStat,.publishedSquadPostCard) :is(h1,h2,h3,strong),.phase7-parent-highlights :is(.highlightCard,.highlightSummary>div) :is(h2,h3,strong),.phase7-profile-settings .hejaCard :is(h2,h3,strong),.phase7-change-password .passwordCard :is(h1,h2,strong){color:var(--text-main) !important}
.phase7-player-dashboard :is(.portalCard p,.portalStat span,.portalMatch span,.feedCaption span,.eventMeta,.calendarMonth summary span,.publishedSquadInfoGrid span),.phase7-parent-highlights :is(.highlightSummary span,.personMain span,.personStats span,.trainingRow span,.formRow span,.emptyHighlight),.phase7-profile-settings :is(.hejaCardHead span,.hejaFieldList span,.hejaProfileTop p),.phase7-change-password .passwordCard p{color:var(--text-muted) !important}
.phase7-player-dashboard .portalGrid{gap:1px !important;background:var(--border-soft);border:1px solid var(--border-soft)}.phase7-player-dashboard .portalStat{border:0 !important;border-radius:0 !important;box-shadow:none !important}.phase7-player-dashboard .portalStat strong{color:var(--club-gold) !important}
.phase7-player-dashboard .portalBtn{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:10px 15px;border:1px solid rgba(255,255,255,.12);border-radius:2px !important;background:var(--club-red) !important;color:#fff !important;text-transform:uppercase;letter-spacing:.06em;font-size:10px;font-weight:900}.phase7-player-dashboard .portalBtn.dark{background:#202226 !important}
.phase7-player-dashboard .portalMatch{color:var(--text-main) !important;border-color:var(--border-soft) !important}.phase7-player-dashboard .portalMatch:hover{background:rgba(255,255,255,.025)}
.phase7-player-dashboard :is(.calendarMonth summary,.scheduleCard,.dateTile,.feedCard,.publishedSquadInfoGrid>div,.publishedSquadNotes,.squadChip,.restWeekList li){background:#101113 !important;color:var(--text-main) !important;border-color:var(--border-soft) !important}.phase7-player-dashboard .calendarMonth summary{border-bottom:1px solid var(--border-soft)}
.phase7-player-dashboard .dateTile{border-left-color:var(--club-red) !important}.phase7-player-dashboard .dateTile.tournament{border-left-color:var(--club-gold) !important}.phase7-player-dashboard :is(.calendarLink,.feedCaption a,.squadChip){color:var(--club-gold) !important}.phase7-player-dashboard .linkedChildCard img{border:2px solid var(--club-gold);box-shadow:0 10px 26px rgba(0,0,0,.38)}
.phase7-player-dashboard .successNotice{background:#102418 !important;color:#9be1af !important;border:1px solid rgba(67,180,118,.35)}
.phase7-parent-highlights .highlightFilters{padding:4px;background:#0c0d0f;border:1px solid var(--border-soft);border-radius:2px}.phase7-parent-highlights .highlightFilters a{background:transparent !important;color:var(--text-muted) !important;border:0 !important;border-radius:2px !important;text-transform:uppercase;letter-spacing:.06em;font-size:10px}.phase7-parent-highlights .highlightFilters a.active{background:var(--club-red) !important;color:#fff !important}
.phase7-parent-highlights .highlightSummary{gap:1px !important;background:var(--border-soft);border:1px solid var(--border-soft)}.phase7-parent-highlights .highlightSummary>div{border:0 !important;border-radius:0 !important;box-shadow:none !important}.phase7-parent-highlights .highlightSummary strong,.phase7-parent-highlights .trainingPercent{color:var(--club-gold) !important}.phase7-parent-highlights :is(.highlightPerson,.trainingRow,.formRow){border-color:var(--border-soft) !important}.phase7-parent-highlights .miniAvatar{background:#090a0b !important;border:1px solid rgba(212,175,90,.34)}.phase7-parent-highlights .trainingPercent{background:rgba(212,175,90,.1) !important;border:1px solid rgba(212,175,90,.32)}
.phase7-player-commitment .commitmentFilters{padding:14px;background:#101113;border:1px solid var(--border-soft);border-radius:3px}.phase7-player-commitment .commitmentFilters label{background:transparent !important;color:var(--text-muted) !important;padding:0 !important;border-radius:0 !important;text-transform:uppercase;letter-spacing:.06em;font-size:10px}
.phase7-player-commitment .commitmentTable{overflow-x:auto;-webkit-overflow-scrolling:touch;background:#0d0e10 !important;border:1px solid var(--border-soft);border-radius:3px !important;box-shadow:0 16px 38px rgba(0,0,0,.22)}.phase7-player-commitment :is(.commitmentHead,.commitmentRow){min-width:680px;box-sizing:border-box}.phase7-player-commitment .commitmentHead{background:#17181b !important;color:var(--text-muted) !important;text-transform:uppercase;letter-spacing:.06em;font-size:10px}.phase7-player-commitment .commitmentRow{background:#0d0e10 !important;color:var(--text-main) !important;border-color:var(--border-soft) !important}.phase7-player-commitment .commitmentRow:hover{background:#131416 !important}.phase7-player-commitment .playerName{color:var(--text-main) !important}.phase7-player-commitment .neutral{color:var(--text-muted) !important}
.phase7-profile-settings .hejaProfileShell{width:min(820px,calc(100% - 32px));max-width:820px}.phase7-profile-settings .hejaProfileTop{margin:24px 0 18px !important;padding:28px !important}.phase7-profile-settings .hejaAvatar{border:3px solid var(--club-gold) !important;background:#090a0b !important;box-shadow:0 14px 34px rgba(0,0,0,.42)}.phase7-profile-settings .hejaSectionTitle{color:var(--text-main) !important;border-color:var(--border-soft) !important;text-transform:uppercase;letter-spacing:.07em;font-size:11px}.phase7-profile-settings .hejaFieldList strong{background:#101113 !important;color:var(--text-main) !important;border:1px solid var(--border-soft);border-radius:2px !important}.phase7-profile-settings .hejaPrimaryButton{border-radius:2px !important;background:var(--club-red) !important;text-transform:uppercase;letter-spacing:.06em;font-size:11px}.phase7-profile-settings input[type=file]{padding:10px;border:1px dashed rgba(212,175,90,.4) !important}
.phase7-profile-settings .hejaNotice.success,.phase7-change-password .notice.success{background:#102418 !important;color:#9be1af !important;border:1px solid rgba(67,180,118,.35)}.phase7-profile-settings .hejaNotice.error,.phase7-change-password .notice.error{background:#2b1013 !important;color:#ffb1b8 !important;border:1px solid rgba(255,100,110,.3)}
.phase7-change-password .passwordCard{width:min(520px,calc(100% - 32px));max-width:520px !important;margin:40px auto !important;padding:clamp(22px,4vw,34px) !important}.phase7-change-password .passwordCard h1{margin-top:0}.phase7-change-password .passwordCard button{width:100%;min-height:46px;border-radius:2px !important;background:var(--club-red) !important;text-transform:uppercase;letter-spacing:.06em;font-size:11px;cursor:pointer}
:is(.phase7-player-dashboard,.phase7-parent-highlights,.phase7-player-commitment,.phase7-profile-settings,.phase7-change-password) :is(input:not([type=radio]):not([type=checkbox]),select,textarea){background:#090a0b !important;color:var(--text-main) !important;border:1px solid rgba(255,255,255,.14) !important;border-radius:2px !important;font:inherit}:is(.phase7-player-dashboard,.phase7-parent-highlights,.phase7-player-commitment,.phase7-profile-settings,.phase7-change-password) :is(input:not([type=radio]):not([type=checkbox]),select,textarea):focus{outline:2px solid rgba(212,175,90,.34);outline-offset:1px;border-color:var(--club-gold) !important}:is(.phase7-player-dashboard,.phase7-parent-highlights,.phase7-player-commitment,.phase7-profile-settings,.phase7-change-password) a:not(.portalBtn):not(.highlightFilters a){color:var(--club-gold)}
.phase7-profile-settings .hejaMedicalDeclaration{display:grid;gap:10px;margin:0;padding:0;border:0}
.phase7-profile-settings .hejaMedicalDeclaration legend{margin:0 0 4px;color:var(--text-main);font-size:13px;font-weight:900;line-height:1.35}
.phase7-profile-settings .medicalDeclarationGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.phase7-profile-settings .medicalDeclarationOption{position:relative;display:grid!important;grid-template-columns:20px minmax(0,1fr);gap:10px;align-items:flex-start;margin:0;padding:13px;background:#101113;border:1px solid var(--border-soft);border-left:3px solid rgba(255,255,255,.14);border-radius:3px;color:var(--text-main)!important;cursor:pointer}
.phase7-profile-settings .medicalDeclarationOption:hover{border-color:rgba(212,175,90,.45);background:#141518}
.phase7-profile-settings .medicalDeclarationOption input[type=radio]{position:absolute;opacity:0;pointer-events:none}
.phase7-profile-settings .medicalDeclarationIndicator{box-sizing:border-box;width:18px!important;height:18px!important;min-width:18px;min-height:18px;margin:1px 0 0;padding:0!important;border:2px solid rgba(255,255,255,.38);border-radius:50%;background:#090a0b!important}
.phase7-profile-settings .medicalDeclarationOption>span:last-child{display:grid;gap:4px;min-width:0;color:var(--text-main)!important}
.phase7-profile-settings .medicalDeclarationOption strong{padding:0!important;background:transparent!important;border:0!important;color:var(--text-main)!important;font-size:13px;line-height:1.25}
.phase7-profile-settings .medicalDeclarationOption small{color:var(--text-muted);font-size:12px;line-height:1.4}
.phase7-profile-settings .medicalDeclarationOption:has(input[type=radio]:checked){border-color:rgba(212,175,90,.72);border-left-color:var(--club-red);background:#171214}
.phase7-profile-settings .medicalDeclarationOption:has(input[type=radio]:checked) .medicalDeclarationIndicator{border-color:var(--club-gold);box-shadow:inset 0 0 0 4px #090a0b;background:var(--club-red)!important}
.phase7-profile-settings .medicalDeclarationOption:has(input[type=radio]:focus-visible){outline:2px solid rgba(212,175,90,.5);outline-offset:2px}
.phase7-profile-settings .medicalDeclarationOption:has(input[type=radio]:disabled){cursor:not-allowed;opacity:.65}
@media(max-width:620px){.phase7-profile-settings .medicalDeclarationGrid{grid-template-columns:1fr}}
@media(max-width:760px){.phase7-player-dashboard>section,.phase7-parent-highlights>section,.phase7-parent-highlights>nav,.phase7-player-commitment>.pageHeader,.phase7-player-commitment>.commitmentFilters,.phase7-player-commitment>.commitmentTable{width:calc(100% - 24px)}.phase7-player-dashboard .portalTwoCol,.phase7-player-dashboard .publishedSquadLists{grid-template-columns:1fr !important}.phase7-player-dashboard .eventTop{display:grid !important;grid-template-columns:1fr}.phase7-player-dashboard .calendarLink{white-space:normal}.phase7-parent-highlights .highlightsHero{display:grid !important;grid-template-columns:1fr}.phase7-parent-highlights .highlightSeason select{width:100%}.phase7-profile-settings .hejaProfileShell,.phase7-change-password .passwordCard{width:calc(100% - 24px)}}
@media(max-width:460px){.phase7-player-dashboard .portalGrid,.phase7-parent-highlights .highlightSummary{grid-template-columns:repeat(2,minmax(0,1fr)) !important}.phase7-player-dashboard .portalActions{display:grid;grid-template-columns:1fr}.phase7-player-dashboard .portalBtn{width:100%;box-sizing:border-box}.phase7-player-dashboard .scheduleCard{grid-template-columns:44px minmax(0,1fr) !important}.phase7-player-dashboard .rsvpBtn{flex:1 1 calc(50% - 8px)}.phase7-parent-highlights :is(.highlightPerson,.trainingRow,.formRow){align-items:flex-start;gap:9px}.phase7-profile-settings .hejaProfileTop{padding:22px 16px !important}}

/* Phase 8 - Admin Management Pages Academy Redesign */
:is(.phase8-player-management,.phase8-player-accounts,.phase8-coach-accounts,.phase8-team-admin-accounts,.phase8-import-league,.phase8-push-reminders,.phase8-public-page-admin,.phase8-scoring-settings,.phase8-presentation-stats){color:var(--text-main);overflow-x:hidden}
:is(.phase8-player-management,.phase8-player-accounts,.phase8-coach-accounts,.phase8-team-admin-accounts,.phase8-import-league,.phase8-push-reminders,.phase8-public-page-admin,.phase8-scoring-settings,.phase8-presentation-stats)>.pageHero,
.phase8-scoring-settings>.scoringHero,
.phase8-presentation-stats>.presentationHero{width:min(1180px,calc(100% - 32px));margin:24px auto 18px;box-sizing:border-box}
:is(.phase8-player-management,.phase8-player-accounts,.phase8-coach-accounts,.phase8-team-admin-accounts,.phase8-import-league,.phase8-push-reminders,.phase8-public-page-admin)>.pageHero,
.phase8-scoring-settings>.scoringHero,
.phase8-presentation-stats>.presentationHero{position:relative;overflow:hidden;padding:clamp(22px,4vw,42px) !important;border:1px solid var(--border-soft) !important;border-radius:4px !important;background:linear-gradient(118deg,#090a0c,#1b1113 62%,var(--club-red-dark)) !important;color:var(--text-main) !important;box-shadow:var(--academy-shadow) !important}
:is(.phase8-player-management,.phase8-player-accounts,.phase8-coach-accounts,.phase8-team-admin-accounts,.phase8-import-league,.phase8-push-reminders,.phase8-public-page-admin,.phase8-scoring-settings,.phase8-presentation-stats) :is(h1,h2,h3,strong){color:var(--text-main)}

.phase8-player-management>.card,.phase8-player-management .playerCard,.phase8-player-accounts .accountCard,.phase8-player-accounts .accountMessage,.phase8-coach-accounts :is(.coachLoginCard,.coachMessage,.defaultBox),.phase8-team-admin-accounts :is(.teamAdminCard,.teamAdminForm,.teamAdminMessage),.phase8-import-league>.card,.phase8-push-reminders :is(.pushCard,.pushPanel),.phase8-public-page-admin :is(.adminPublicCard,.adminPublicSponsors,.adminPublicSponsorForm,.adminPublicSponsorList article),.phase8-scoring-settings .scoreCard,.phase8-scoring-settings .saveBar,.phase8-presentation-stats :is(.presentationFilters,.presentationCard,.presentationNotice){background:linear-gradient(145deg,var(--panel-bg-soft),var(--panel-bg)) !important;color:var(--text-main) !important;border:1px solid var(--border-soft) !important;border-radius:3px !important;box-shadow:0 16px 38px rgba(0,0,0,.22) !important}
.phase8-player-management>.card,.phase8-import-league>.card,.phase8-push-reminders>.pushGrid,.phase8-push-reminders>.pushPanel,.phase8-scoring-settings>form,.phase8-presentation-stats>.presentationFilters,.phase8-presentation-stats>.typeFilters,.phase8-presentation-stats>.presentationNotice,.phase8-presentation-stats>.presentationGrid{width:min(1180px,calc(100% - 32px));margin-left:auto;margin-right:auto;box-sizing:border-box}

:is(.phase8-player-management,.phase8-player-accounts,.phase8-coach-accounts,.phase8-team-admin-accounts,.phase8-import-league,.phase8-push-reminders,.phase8-public-page-admin,.phase8-scoring-settings,.phase8-presentation-stats) :is(input,select,textarea){background:#090a0b !important;color:var(--text-main) !important;border:1px solid rgba(255,255,255,.14) !important;border-radius:2px !important;font:inherit}
:is(.phase8-player-management,.phase8-player-accounts,.phase8-coach-accounts,.phase8-team-admin-accounts,.phase8-import-league,.phase8-push-reminders,.phase8-public-page-admin,.phase8-scoring-settings,.phase8-presentation-stats) :is(input,select,textarea):focus{outline:2px solid rgba(212,175,90,.3);outline-offset:1px;border-color:var(--club-gold) !important}
:is(.phase8-player-management,.phase8-player-accounts,.phase8-coach-accounts,.phase8-team-admin-accounts,.phase8-import-league,.phase8-push-reminders,.phase8-public-page-admin,.phase8-scoring-settings) :is(button,.btn){border-radius:2px !important;background:var(--club-red) !important;color:#fff !important;text-transform:uppercase;letter-spacing:.055em;font-size:10px;font-weight:900;cursor:pointer}
:is(.phase8-player-management,.phase8-player-accounts,.phase8-coach-accounts,.phase8-team-admin-accounts,.phase8-import-league,.phase8-push-reminders,.phase8-public-page-admin,.phase8-scoring-settings,.phase8-presentation-stats) a{color:var(--club-gold)}

.phase8-player-management .playerEditorGrid{gap:16px}.phase8-player-management .playerCard{padding:18px !important}.phase8-player-management .playerPhoto{background:#090a0b !important;border:2px solid rgba(212,175,90,.4);color:var(--club-gold)}.phase8-player-management .playerTop small,.phase8-player-management .smallLabel{color:var(--text-muted) !important}.phase8-player-management .inlineCheck{color:var(--text-main)}.phase8-player-management input[type=checkbox]{accent-color:var(--club-red)}
.phase8-player-accounts .accountGrid,.phase8-coach-accounts .coachLoginGrid,.phase8-team-admin-accounts .teamAdminGrid{width:min(1180px,calc(100% - 32px));margin:0 auto 32px;gap:16px}.phase8-player-accounts .accountCard,.phase8-coach-accounts .coachLoginCard,.phase8-team-admin-accounts :is(.teamAdminCard,.teamAdminForm){padding:20px !important}.phase8-player-accounts .accountStatus,.phase8-coach-accounts :is(.coachLoginCard p,.defaultBox),.phase8-team-admin-accounts .teamAdminCard p{color:var(--text-muted) !important}.phase8-player-accounts .tempPassword,.phase8-team-admin-accounts .tempPassword{color:var(--club-gold) !important}.phase8-team-admin-accounts .secondary{background:#202226 !important}
.phase8-import-league .pageHero form{max-width:280px;margin-top:16px}.phase8-import-league .tableScroll{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;border:1px solid var(--border-soft)}.phase8-import-league .readableTable{min-width:760px;background:#0d0e10 !important;color:#fff !important}.phase8-import-league .readableTable th{background:#17181b !important;color:var(--text-muted) !important}.phase8-import-league .readableTable td{background:#0d0e10 !important;color:var(--text-main) !important;border-color:var(--border-soft) !important}.phase8-import-league .readableTable td:nth-child(10){color:var(--club-gold) !important;font-weight:900}
.phase8-push-reminders .pushGrid{gap:1px !important;background:var(--border-soft);border:1px solid var(--border-soft)}.phase8-push-reminders .pushCard{border:0 !important;border-radius:0 !important;box-shadow:none !important}.phase8-push-reminders .pushCard span{color:var(--text-muted) !important}.phase8-push-reminders .pushCard strong{color:var(--club-gold) !important}.phase8-push-reminders .pushPanel code{background:#090a0b !important;color:var(--club-gold) !important;border:1px solid var(--border-soft)}.phase8-push-reminders .pushNotice.good{background:#102418;color:#9be1af;border:1px solid rgba(67,180,118,.35)}.phase8-push-reminders .pushNotice.warn{background:#2b2310;color:#ead18b;border:1px solid rgba(212,175,90,.3)}
.phase8-public-page-admin .adminPublicPage{color:var(--text-main) !important}.phase8-public-page-admin .adminPublicGrid{gap:16px}.phase8-public-page-admin :is(.adminPublicCard,.adminPublicSponsors){padding:22px !important}.phase8-public-page-admin :is(.adminPublicCard p,.adminPublicSectionTitle p,.adminPublicSponsorList span){color:var(--text-muted) !important}.phase8-public-page-admin .adminPublicCard>span,.phase8-public-page-admin .adminPublicSectionTitle span{color:var(--club-gold) !important}.phase8-public-page-admin :is(.adminPublicImagePreview,.adminPublicLogoFallback){background:#090a0b !important}.phase8-public-page-admin .adminPublicSponsorForm{background:#101113 !important}.phase8-public-page-admin .adminPublicSponsorList :is(a,button){background:#202226 !important;color:#fff !important;border-color:rgba(255,255,255,.14) !important}.phase8-public-page-admin .adminPublicSponsorList .danger{background:#7f1d1d !important}
.phase8-scoring-settings .scoringGrid{gap:16px}.phase8-scoring-settings .scoreCard{padding:20px !important}.phase8-scoring-settings .weightRow{border-color:var(--border-soft) !important}.phase8-scoring-settings .weightLabel{color:var(--text-main) !important}.phase8-scoring-settings .weightMeta{color:var(--text-muted) !important}.phase8-scoring-settings .weightInput{max-width:95px}.phase8-scoring-settings .saveBar{position:sticky;bottom:12px;background:rgba(16,17,19,.96) !important;backdrop-filter:blur(12px);border-color:var(--border-soft) !important}.phase8-scoring-settings .notice{background:rgba(212,175,90,.1) !important;color:var(--club-gold) !important;border:1px solid rgba(212,175,90,.3)}
.phase8-presentation-stats .presentationHero{border-radius:4px !important}.phase8-presentation-stats .presentationKicker,.phase8-presentation-stats .presentationNotice strong{color:var(--club-gold) !important}.phase8-presentation-stats .presentationBadge{background:var(--club-gold) !important;color:#090909 !important;border-radius:2px !important}.phase8-presentation-stats .presentationFilters{grid-template-columns:repeat(3,minmax(0,1fr));padding:16px}.phase8-presentation-stats .presentationFilters label{color:var(--text-muted) !important}.phase8-presentation-stats .typeFilters{overflow-x:auto;flex-wrap:nowrap;padding-bottom:4px}.phase8-presentation-stats .typeFilters a{flex:0 0 auto}.phase8-presentation-stats .presentationNotice{border-left:3px solid var(--club-gold) !important}.phase8-presentation-stats .presentationCard{border-radius:3px !important}.phase8-presentation-stats .presentationCard:before{background:linear-gradient(90deg,var(--club-red),var(--club-gold),var(--club-red)) !important}.phase8-presentation-stats .presentationScore{border-color:rgba(212,175,90,.35) !important;background:rgba(212,175,90,.08) !important;color:var(--club-gold) !important}.phase8-presentation-stats .presentationRunnerRow strong{background:var(--club-red) !important}

@media(max-width:900px){.phase8-team-admin-accounts .teamAdminGrid,.phase8-public-page-admin .adminPublicGrid{grid-template-columns:1fr !important}.phase8-public-page-admin .adminPublicSponsorForm{grid-template-columns:repeat(2,minmax(0,1fr)) !important}.phase8-scoring-settings .scoringGrid{grid-template-columns:1fr}.phase8-presentation-stats .presentationFilters{grid-template-columns:1fr}}
@media(max-width:620px){:is(.phase8-player-management,.phase8-player-accounts,.phase8-coach-accounts,.phase8-team-admin-accounts,.phase8-import-league,.phase8-push-reminders,.phase8-public-page-admin,.phase8-scoring-settings,.phase8-presentation-stats)>.pageHero,.phase8-scoring-settings>.scoringHero,.phase8-presentation-stats>.presentationHero,:is(.phase8-player-management,.phase8-player-accounts,.phase8-coach-accounts,.phase8-team-admin-accounts,.phase8-import-league,.phase8-push-reminders,.phase8-public-page-admin,.phase8-scoring-settings,.phase8-presentation-stats)>:is(.card,.pushGrid,.pushPanel,.presentationFilters,.typeFilters,.presentationNotice,.presentationGrid),.phase8-scoring-settings>form{width:calc(100% - 24px)}.phase8-player-management .playerEditorGrid,.phase8-player-accounts .accountGrid,.phase8-coach-accounts .coachLoginGrid,.phase8-team-admin-accounts .teamAdminGrid{grid-template-columns:1fr !important}.phase8-public-page-admin :is(.adminPublicTwo,.adminPublicSponsorForm){grid-template-columns:1fr !important}.phase8-public-page-admin .adminPublicSponsorList article{grid-template-columns:54px minmax(0,1fr) !important}.phase8-public-page-admin .adminPublicSponsorList article :is(a,form){grid-column:auto}.phase8-scoring-settings .weightRow{grid-template-columns:minmax(0,1fr) 82px}.phase8-presentation-stats .presentationWinner{align-items:flex-start}.phase8-presentation-stats .presentationName{font-size:20px}}

/* Phase 9 - Matchday Workflow Academy Redesign */
:is(.phase9-squad,.phase9-no-video-match){color:var(--text-main);overflow-x:hidden}
:is(.phase9-squad,.phase9-no-video-match) :is(.publishedSquadPostCard,.squadImportPanel,.card){background:linear-gradient(145deg,var(--panel-bg-soft),var(--panel-bg)) !important;color:var(--text-main) !important;border:1px solid var(--border-soft) !important;border-radius:3px !important;box-shadow:0 18px 44px rgba(0,0,0,.28)}
:is(.phase9-squad,.phase9-no-video-match) :is(h1,h2,h3,strong){color:var(--text-main)}
:is(.phase9-squad,.phase9-no-video-match) :is(p,.smallMuted,label){color:var(--text-muted) !important}
.phase9-squad .squadSelectionPage{max-width:1180px;margin:0 auto;padding-bottom:40px}.phase9-squad .publishedSquadHeader{align-items:center}.phase9-squad .publishedSquadHeader h1{font-size:clamp(30px,5vw,54px);text-transform:uppercase;letter-spacing:-.04em}.phase9-squad .publishedSquadHeader p{line-height:1.65}.phase9-squad .statusBadge.published{background:rgba(212,175,90,.12) !important;color:var(--club-gold) !important;border:1px solid rgba(212,175,90,.32)}.phase9-squad .squadImportPanel{display:flex;align-items:center;justify-content:space-between;gap:20px}.phase9-squad .squadTableWrap{max-width:100%;overflow-x:auto;border:1px solid var(--border-soft);-webkit-overflow-scrolling:touch}.phase9-squad .squadSelectionTable{min-width:680px;background:#0b0c0d !important}.phase9-squad .squadSelectionTable :is(th,td){background:#0b0c0d !important;color:var(--text-main) !important;border-color:var(--border-soft) !important}.phase9-squad .squadSelectionTable th{background:#17181b !important;color:var(--text-muted) !important;text-transform:uppercase;font-size:10px;letter-spacing:.06em}.phase9-squad .squadSelectionTable tbody tr:has(input[name$="[selected]"]:checked) td{background:rgba(193,18,31,.13) !important}.phase9-squad .squadSelectionTable select{min-height:42px;background:#080808 !important;color:#fff !important;border-color:var(--border-soft) !important}.phase9-squad .squadSelectionTable input[type="checkbox"]{width:22px;height:22px;accent-color:var(--club-red)}.phase9-squad .publishedSquadActions{padding-top:18px;border-top:1px solid var(--border-soft)}.phase9-squad :is(.publishedSquadActions button,.squadImportPanel button){min-height:46px;border-radius:2px !important;text-transform:uppercase;letter-spacing:.05em;font-size:11px}.phase9-squad .secondaryLinkBtn{background:#202226 !important;color:#fff !important;border:1px solid var(--border-soft) !important;border-radius:2px !important}
.phase9-no-video-match>.pageHero,.phase9-no-video-match>.card{width:min(1180px,calc(100% - 32px));margin-left:auto;margin-right:auto}.phase9-no-video-match .form-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.phase9-no-video-match .noVideoTools{padding:12px;background:#0b0c0d;border:1px solid var(--border-soft)}.phase9-no-video-match .noVideoTools button{min-height:42px;background:#202226 !important;color:#fff !important;border:1px solid var(--border-soft) !important;border-radius:2px}.phase9-no-video-match .squadEditor{max-width:100%;overflow-x:auto;border:1px solid var(--border-soft);-webkit-overflow-scrolling:touch}.phase9-no-video-match .squadEditor table{min-width:760px;background:#0b0c0d}.phase9-no-video-match .squadEditor :is(th,td){background:#0b0c0d !important;color:var(--text-main) !important;border-color:var(--border-soft) !important}.phase9-no-video-match .squadEditor th{background:#17181b !important;color:var(--text-muted) !important;text-transform:uppercase;font-size:10px;letter-spacing:.05em}.phase9-no-video-match .squadEditor input[type="checkbox"]{width:22px;height:22px;accent-color:var(--club-red)}.phase9-no-video-match .squadEditor :is(input,select){background:#080808 !important;color:#fff !important;border-color:var(--border-soft) !important}.phase9-no-video-match form>button[type="submit"]{min-height:48px;background:var(--club-red) !important;border-radius:2px;text-transform:uppercase;letter-spacing:.05em}
@media(max-width:700px){.phase9-squad .squadImportPanel{align-items:stretch;flex-direction:column}.phase9-squad .squadImportPanel form,.phase9-squad .squadImportPanel button,.phase9-squad .publishedSquadActions>*{width:100%}.phase9-squad .publishedSquadHeader{align-items:flex-start;flex-direction:column}.phase9-no-video-match .form-grid{grid-template-columns:1fr}.phase9-no-video-match>.pageHero,.phase9-no-video-match>.card{width:calc(100% - 20px)}.phase9-no-video-match .noVideoTools button{flex:1 1 100%}}

/* Phase 10B - Club Settings and Rebrandability Fixes */
.publicAcademyPage{background:var(--academy-black) !important}.publicAcademyPage :is(.publicAccessGrid>article,.publicMatchdayCard,.publicFixtureCard,.publicSocialCard){background-color:var(--academy-panel)}.publicAcademyPage .publicPartners{background:var(--academy-panel);color:#fff}.publicAcademyPage .publicPartners .publicSectionHeading h2{color:#fff}.publicAcademyPage .publicSponsorWall{border-color:rgba(255,255,255,.12)}.publicAcademyPage .publicSponsorWall a{border-color:rgba(255,255,255,.12)}.publicAcademyPage .publicSponsorWall a:hover{background:color-mix(in srgb,var(--academy-panel) 86%,white 14%)}.publicAcademyPage .publicPartnerPlaceholder{color:#b8b8b8;border-color:rgba(255,255,255,.12)}.publicAcademyPage .publicEyebrow,.publicAcademyPage .publicBrand small,.publicAcademyPage .publicSectionHeading span{color:var(--academy-gold)}.publicAcademyPage :is(.publicEyebrow span,.publicButtonPrimary,.previewChart i){background-color:var(--academy-red)}.publicAcademyPage .publicButtonGold{background:var(--academy-gold);color:#090909}.publicMenuToggle{display:none;border:1px solid rgba(255,255,255,.3);background:rgba(0,0,0,.3);color:#fff;padding:10px;width:44px;height:42px}.publicMenuToggle span{display:block;width:20px;height:1px;background:#fff;margin:4px auto}.publicMenuToggle b{display:none}
.phase10-fantasy{overflow-x:hidden}.phase10-fantasy .fantasyPage{width:min(100% - 24px,760px);margin:0 auto}.phase10-fantasy .fantasyCard *{color:inherit}.phase10-fantasy .fantasyLeague,.phase10-fantasy .fantasyPoints,.phase10-fantasy .fantasyTeam,.phase10-fantasy .topName{color:var(--text-main)}.phase10-fantasy :is(.fantasySub,.fantasyWeek,.fantasyTopPerformer .label,.topPos,.fantasyFooter){color:var(--text-muted)}.phase10-fantasy :is(.topPts,.fpPts){color:var(--club-gold)}.phase10-fantasy .fpPos{color:#fff}
@media(max-width:680px){.publicMenuToggle{display:block;position:relative;z-index:32}.publicNav nav{display:none;position:absolute;top:74px;left:12px;right:12px;padding:12px;background:var(--academy-panel);border:1px solid rgba(255,255,255,.14);box-shadow:0 18px 40px rgba(0,0,0,.45)}.publicNav nav.is-open{display:grid}.publicNav nav>a,.publicNav nav>a:not(.publicNavLogin){display:block;padding:13px !important}.publicNav .publicNavLogin{text-align:center}.phase10-fantasy .fantasyPage{padding-top:20px}.phase10-fantasy .fantasyTopPerformer{grid-template-columns:minmax(0,1fr) 90px}.phase10-fantasy .shirtMock,.phase10-fantasy .shirtMock img{width:88px;height:88px}.phase10-fantasy .fantasyPlayerRow{grid-template-columns:52px minmax(0,1fr) 48px}}
.publicAcademyPage :is(.publicResultCard,.publicUpcomingCard){background-color:var(--academy-panel)}

/* Phase 11 - Dedicated Team Feed Workflow */
.phase11-team-feed{overflow-x:hidden;color:var(--text-main)}
.teamFeedPage{width:min(940px,calc(100% - 32px));margin:0 auto;padding:28px 0 44px;box-sizing:border-box}
.teamFeedHero{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:clamp(24px,5vw,46px);margin-bottom:18px;border:1px solid var(--border-soft);border-radius:4px;background:linear-gradient(118deg,#090a0c,#1b1113 62%,var(--club-red-dark));box-shadow:var(--academy-shadow)}
.teamFeedHero h1{margin:4px 0 8px;color:#fff;font-size:clamp(36px,7vw,64px);line-height:.95;text-transform:uppercase;letter-spacing:-.045em}.teamFeedHero p{max-width:620px;margin:0;color:var(--text-muted);line-height:1.65}
.teamFeedEditor,.teamFeedPost,.teamFeedEmpty{background:linear-gradient(145deg,var(--panel-bg-soft),var(--panel-bg)) !important;color:var(--text-main) !important;border:1px solid var(--border-soft) !important;border-radius:4px !important;box-shadow:0 18px 44px rgba(0,0,0,.28) !important}
.teamFeedEditor{padding:24px;margin:0 0 18px}.teamFeedSectionHead,.teamFeedPostHead{display:flex;align-items:center;justify-content:space-between;gap:14px}.teamFeedSectionHead span{color:var(--club-gold);font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.1em}.teamFeedSectionHead h2{margin:3px 0 0;color:#fff}.teamFeedSectionHead a{color:var(--club-gold);font-weight:800}
.teamFeedForm{display:grid;gap:16px;margin-top:20px}.teamFeedForm label>span,.teamFeedExisting>span{display:block;margin-bottom:7px;color:var(--text-muted);font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.06em}.teamFeedForm :is(textarea,select,input[type=file],input[type=date]){width:100%;box-sizing:border-box;background:#090a0b !important;color:#fff !important;border:1px solid rgba(255,255,255,.14) !important;border-radius:2px !important;padding:12px;font:inherit;color-scheme:dark}.teamFeedForm textarea{min-height:116px;resize:vertical}.teamFeedForm :is(textarea,select,input[type=file],input[type=date]):focus{outline:2px solid color-mix(in srgb,var(--club-gold) 38%,transparent);outline-offset:1px;border-color:var(--club-gold) !important}.teamFeedForm small{display:block;margin-top:6px;color:var(--text-muted)}
.teamFeedExisting>div{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:10px}.teamFeedExisting label{display:grid;gap:7px;color:var(--text-muted);font-size:12px}.teamFeedExisting img{width:100%;aspect-ratio:1;object-fit:cover;border:1px solid var(--border-soft)}.teamFeedExisting input{accent-color:var(--club-red)}
.teamFeedButton,.feedFullButton{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 17px;border:1px solid transparent;border-radius:2px;background:var(--club-red);color:#fff !important;text-decoration:none;text-transform:uppercase;letter-spacing:.06em;font-size:11px;font-weight:900;cursor:pointer}.teamFeedButton.secondary{background:#202226;border-color:rgba(255,255,255,.14)}
.teamFeedNotice{margin-bottom:18px;padding:13px 15px;border-radius:3px;font-weight:800}.teamFeedNotice.success{background:#102418;color:#9be1af;border:1px solid rgba(67,180,118,.35)}.teamFeedNotice.error{background:#2b1013;color:#ffb1b8;border:1px solid rgba(255,100,110,.3)}
.teamFeedStream{display:grid;gap:18px}.teamFeedPost{overflow:hidden}.teamFeedPostHead{padding:18px 20px;border-bottom:1px solid var(--border-soft)}.teamFeedAvatar{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border-radius:50%;background:var(--club-red);color:#fff;font-weight:900}.teamFeedPostHead>div:nth-child(2){min-width:0;margin-right:auto}.teamFeedPostHead strong,.teamFeedPostHead time{display:block}.teamFeedPostHead strong{color:#fff}.teamFeedPostHead time{margin-top:3px;color:var(--text-muted);font-size:12px}
.teamFeedActions{display:flex;align-items:center;gap:8px}.teamFeedActions form{margin:0}.teamFeedActions :is(a,button){border:1px solid var(--border-soft);border-radius:2px;background:#202226;color:#fff !important;padding:7px 10px;text-decoration:none;font:inherit;font-size:11px;font-weight:900;cursor:pointer}.teamFeedActions button{background:#64141a}
.teamFeedPostTitle{margin:0;padding:20px 20px 0;color:#fff;font-size:clamp(22px,3vw,30px);line-height:1.15}.teamFeedPostText{padding:14px 20px 20px;color:#fff;line-height:1.65;white-space:normal}.teamFeedPostText a{color:var(--club-red);font-weight:900;text-decoration:none}.teamFeedPostText a:hover{text-decoration:underline}.teamFeedPostText p{margin:0 0 14px}.teamFeedPostText p:last-child{margin-bottom:0}.teamFeedPostText ul{margin:0 0 14px;padding-left:22px}.teamFeedPostText li+li{margin-top:5px}.teamFeedGallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:150px;gap:3px;max-height:462px;overflow:auto;background:#050505}.teamFeedGallery.count-1{grid-template-columns:1fr;grid-auto-rows:minmax(260px,420px);max-height:420px}.teamFeedGallery.count-2{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:260px;max-height:260px}.teamFeedGallery.count-3,.teamFeedGallery.count-4{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:180px;max-height:363px}.teamFeedGallery.count-3 .teamFeedGalleryImage:first-child{grid-row:span 2}.teamFeedGalleryImage{min-width:0;padding:0;border:0;background:#050505;cursor:zoom-in;overflow:hidden}.teamFeedGalleryImage img{display:block;width:100%;height:100%;min-height:0;max-height:none;aspect-ratio:auto;object-fit:cover;transition:transform .2s ease}.teamFeedGalleryImage:hover img{transform:scale(1.015)}.teamFeedPost footer{padding:14px 20px;border-top:1px solid var(--border-soft)}.teamFeedRelated{color:var(--club-gold) !important;font-size:12px;font-weight:900;text-decoration:none;text-transform:uppercase;letter-spacing:.05em}
.teamFeedSocial{padding:14px 20px 18px;border-top:1px solid var(--border-soft);background:rgba(0,0,0,.16)}.teamFeedReactions{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px}.teamFeedReactions form{margin:0}.teamFeedReactions button{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:7px 11px;border:1px solid rgba(255,255,255,.14);border-radius:999px;background:#15171a;color:#fff;cursor:pointer;font:inherit}.teamFeedReactions button.active{border-color:var(--club-gold);background:rgba(214,173,78,.16);box-shadow:0 0 0 1px rgba(214,173,78,.14) inset}.teamFeedReactions button span{font-size:18px;line-height:1}.teamFeedReactions button strong{min-width:8px;font-size:12px}.teamFeedComments{display:grid;gap:12px}.teamFeedCommentList{display:grid;gap:9px}.teamFeedComment{padding:10px 12px;border:1px solid rgba(255,255,255,.1);border-radius:3px;background:#111316}.teamFeedCommentHead{display:flex;align-items:center;justify-content:space-between;gap:10px}.teamFeedCommentHead form{margin:0}.teamFeedComment strong{display:block;color:#fff;font-size:13px}.teamFeedCommentHead button{border:1px solid rgba(255,255,255,.12);border-radius:3px;background:#2a1013;color:#ffb8bd;padding:4px 7px;font:inherit;font-size:10px;font-weight:900;text-transform:uppercase;cursor:pointer}.teamFeedComment p{margin:5px 0;color:var(--text-main);line-height:1.45}.teamFeedComment time{display:block;color:var(--text-muted);font-size:11px}.teamFeedCommentForm{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:end}.teamFeedCommentForm textarea{min-height:42px;max-height:130px;resize:vertical;box-sizing:border-box;width:100%;padding:10px 12px;border:1px solid rgba(255,255,255,.14);border-radius:3px;background:#090a0b;color:#fff;font:inherit}.teamFeedCommentForm textarea:focus{outline:2px solid color-mix(in srgb,var(--club-gold) 38%,transparent);outline-offset:1px;border-color:var(--club-gold)}.teamFeedCommentForm button{min-height:42px;padding:9px 13px;border:0;border-radius:3px;background:var(--club-red);color:#fff;font-weight:900;text-transform:uppercase;font-size:11px;letter-spacing:.05em;cursor:pointer}
.teamFeedEmpty{padding:34px;text-align:center}.teamFeedEmpty h2{color:#fff}.teamFeedEmpty p{color:var(--text-muted)}.teamFeedPagination{display:flex;align-items:center;justify-content:center;gap:16px;margin-top:24px}.teamFeedPagination a{color:var(--club-gold);font-weight:900}.teamFeedPagination span{color:var(--text-muted)}
.teamFeedLightbox[hidden]{display:none}.teamFeedLightbox{position:fixed;inset:0;z-index:120000;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:16px;padding:24px;background:rgba(0,0,0,.94);box-sizing:border-box}.teamFeedLightbox figure{display:grid;place-items:start center;min-width:0;max-height:90vh;margin:0;overflow:auto}.teamFeedLightbox img{display:block;width:auto;max-width:min(1180px,100%);height:auto;object-fit:contain}.teamFeedLightbox figcaption{max-width:760px;margin:10px auto 0;color:var(--text-muted);text-align:center}.teamFeedLightbox button{border:1px solid rgba(255,255,255,.2);border-radius:2px;background:#17181b;color:#fff;padding:11px;cursor:pointer}.teamFeedLightboxClose{position:absolute;top:18px;right:18px}.team-feed-lightbox-open{overflow:hidden}
.academyDashboard .feedPostPreview{display:grid;grid-template-columns:1fr;background:#090909}.academyDashboard .feedPostPreview.has-two{grid-template-columns:repeat(2,minmax(0,1fr));gap:2px}.academyDashboard .feedPostPreview a{position:relative;display:block;min-width:0}.academyDashboard .feedPostPreview img{width:100%;height:100%;min-height:145px;aspect-ratio:4/3;object-fit:cover}.academyDashboard .feedMore{position:absolute;inset:0;display:grid;place-items:center;background:rgba(0,0,0,.64);color:#fff !important;font-size:17px !important;font-weight:900}.academyDashboard .feedFullButton{margin-top:14px}.academyDashboard .feedPost>img{display:none}

.teamCalendarPage{width:min(1260px,calc(100% - 28px));margin:0 auto;padding:30px 0 52px}.teamCalendarHero{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:18px;padding:30px;border:1px solid var(--border-soft);border-radius:4px;background:linear-gradient(118deg,#090a0c,#1b1113 58%,var(--club-red-dark));box-shadow:var(--academy-shadow)}.teamCalendarHero h1{margin:4px 0 8px;color:#fff;font-size:clamp(34px,6vw,58px);line-height:.95;text-transform:uppercase}.teamCalendarHero p{margin:0;color:var(--text-muted)}.teamCalendarHeroActions{display:flex;gap:9px;flex-wrap:wrap}.teamCalendarHeroActions a,.teamCalendarDownloadOne{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:9px 13px;border:1px solid rgba(255,255,255,.14);border-radius:3px;background:#202226;color:#fff !important;text-decoration:none;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.05em}.teamCalendarHeroActions a:first-child{background:var(--club-red);border-color:transparent}.teamCalendarDetailActions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.teamCalendarDetailActions .plannedTrainingAction.primary{background:var(--club-red);border-color:rgba(212,175,90,.45)}.teamCalendarNotice{margin-bottom:16px;padding:12px 14px;border-radius:3px;font-weight:900}.teamCalendarNotice.success{background:#102418;color:#9be1af;border:1px solid rgba(67,180,118,.35)}.teamCalendarNotice.error{background:#2b1013;color:#ffb1b8;border:1px solid rgba(255,100,110,.3)}
.teamCalendarShell{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:18px}.teamCalendarMain,.teamCalendarSide>article,.teamCalendarUpcoming{border:1px solid var(--border-soft);border-radius:4px;background:linear-gradient(145deg,var(--panel-bg-soft),var(--panel-bg));box-shadow:0 18px 44px rgba(0,0,0,.24)}.teamCalendarMain{padding:16px}.teamCalendarToolbar{display:grid;grid-template-columns:42px 1fr 42px;align-items:center;gap:10px;margin-bottom:12px}.teamCalendarToolbar h2{margin:0;color:#fff;text-align:center;font-size:30px;text-transform:uppercase}.teamCalendarToolbar a{display:grid;place-items:center;width:42px;height:42px;border:1px solid rgba(255,255,255,.14);border-radius:3px;color:#fff;text-decoration:none;background:#17191d;font-size:22px;font-weight:900}.teamCalendarWeekdays,.teamCalendarGrid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}.teamCalendarWeekdays{margin-bottom:5px}.teamCalendarWeekdays span{padding:7px 4px;color:var(--text-muted);font-size:11px;font-weight:900;text-align:center;text-transform:uppercase}.teamCalendarDay{min-height:138px;padding:8px;border:1px solid rgba(255,255,255,.08);border-radius:5px;background:#111214;box-sizing:border-box}.teamCalendarDay.outside{opacity:.42}.teamCalendarDay.today{outline:2px solid var(--club-gold);outline-offset:-2px}.teamCalendarDay header{display:flex;justify-content:flex-end;margin-bottom:7px}.teamCalendarDay header span{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;color:#fff;font-weight:900}.teamCalendarDay.today header span{background:var(--club-red)}.teamCalendarDayEvents{display:grid;gap:5px}.teamCalendarEvent{display:block;min-width:0;padding:6px 7px;border-left:3px solid #64748b;border-radius:4px;background:#151827;color:#fff !important;text-decoration:none;font-size:12px;font-weight:800;line-height:1.25;overflow:hidden}.teamCalendarEvent span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.teamCalendarEvent.match{border-color:var(--club-red);background:#291215}.teamCalendarEvent.tournament{border-color:var(--club-gold);background:#25200f}.teamCalendarEvent.training{border-color:#4f8cff;background:#11192d}.teamCalendarEvent.other{border-color:#8b5cf6;background:#201733}.teamCalendarDayEvents small{color:var(--text-muted);font-weight:900;font-size:11px}
.teamCalendarSide{display:grid;gap:14px;align-content:start}.teamCalendarDetail{padding:18px;border-top:4px solid #64748b}.teamCalendarDetail.match{border-top-color:var(--club-red)}.teamCalendarDetail.tournament{border-top-color:var(--club-gold)}.teamCalendarDetail.training{border-top-color:#4f8cff}.teamCalendarDetail.other{border-top-color:#8b5cf6}.teamCalendarDetail>span{color:var(--club-gold);font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.teamCalendarDetail h2{margin:6px 0 8px;color:#fff;font-size:25px;line-height:1.08}.teamCalendarDetail p{margin:7px 0;color:var(--text-main);line-height:1.45}.teamCalendarNotes{margin:12px 0;padding:11px;border-left:3px solid rgba(255,255,255,.18);background:rgba(255,255,255,.04);color:var(--text-main);line-height:1.5}.teamCalendarRsvp{display:grid;gap:11px;margin-top:14px;padding-top:14px;border-top:1px solid var(--border-soft)}.teamCalendarRsvp label{display:grid;gap:6px;color:var(--text-muted);font-size:11px;font-weight:900;text-transform:uppercase}.teamCalendarRsvp input{width:100%;box-sizing:border-box;padding:10px;border:1px solid rgba(255,255,255,.14);border-radius:3px;background:#090a0b;color:#fff;font:inherit}.teamCalendarRsvp div{display:flex;flex-wrap:wrap;gap:8px}.teamCalendarRsvp button{border:0;border-radius:999px;padding:9px 12px;background:#64748b;color:#fff;font-weight:900;cursor:pointer}.teamCalendarRsvp button.active.attending{background:#16a34a}.teamCalendarRsvp button.active.not_attending{background:#dc2626}.teamCalendarRsvp button.active.unsure{background:#d97706}.teamCalendarRsvp button.active.injured{background:#e11d48}.teamCalendarNoResponse{padding:10px;border:1px solid rgba(255,255,255,.1);background:#111316;color:var(--text-muted) !important}.teamCalendarUpcoming{padding:16px}.teamCalendarUpcoming h2{margin:0 0 10px;color:#fff}.teamCalendarUpcoming>a{display:grid;grid-template-columns:52px 1fr;gap:8px;padding:10px 0;border-top:1px solid var(--border-soft);color:#fff;text-decoration:none}.teamCalendarUpcoming time{color:var(--club-gold);font-size:12px;font-weight:900}.teamCalendarUpcoming strong{display:block}.teamCalendarUpcoming span{grid-column:2;color:var(--text-muted);font-size:12px}
.phase7-player-dashboard .feedCardPreview{display:grid;grid-template-columns:1fr;gap:2px;background:#090909}.phase7-player-dashboard .feedCardPreview.has-two{grid-template-columns:repeat(2,minmax(0,1fr))}.phase7-player-dashboard .feedCardPreview a{position:relative;display:block;min-width:0}.phase7-player-dashboard .feedCardPreview img{width:100%;height:100%;min-height:145px;aspect-ratio:4/3;object-fit:cover}.phase7-player-dashboard .feedCardPreview span{position:absolute;inset:0;display:grid;place-items:center;margin:0;background:rgba(0,0,0,.64);color:#fff !important;font-size:17px;font-weight:900}.phase7-player-dashboard .feedFullButton{margin-top:14px}
@media(max-width:680px){.teamFeedPage{width:calc(100% - 20px);padding-top:14px}.teamFeedHero{align-items:stretch;flex-direction:column;padding:24px 18px}.teamFeedHero .teamFeedButton{width:100%;box-sizing:border-box}.teamFeedEditor{padding:18px}.teamFeedPostHead{align-items:flex-start;padding:15px}.teamFeedActions{margin-left:auto}.teamFeedActions :is(a,button){padding:7px 8px}.teamFeedPostTitle{padding:17px 17px 0;font-size:23px}.teamFeedPostText{padding:12px 17px 17px}.teamFeedGallery,.teamFeedGallery.count-1,.teamFeedGallery.count-2,.teamFeedGallery.count-3,.teamFeedGallery.count-4{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:132px;max-height:405px}.teamFeedGallery.count-1{grid-template-columns:1fr;grid-auto-rows:240px;max-height:240px}.teamFeedGallery.count-3 .teamFeedGalleryImage:first-child{grid-row:auto}.teamFeedSocial{padding:13px 15px 16px}.teamFeedCommentForm{grid-template-columns:1fr}.teamFeedCommentForm button{width:100%}.teamFeedLightbox{grid-template-columns:1fr;padding:62px 10px 70px}.teamFeedLightbox figure{max-height:calc(100vh - 150px)}.teamFeedLightboxPrev,.teamFeedLightboxNext{position:absolute;bottom:16px}.teamFeedLightboxPrev{left:16px}.teamFeedLightboxNext{right:16px}}
@media(max-width:900px){.teamCalendarPage{width:calc(100% - 18px);padding-top:14px}.teamCalendarHero{align-items:stretch;flex-direction:column;padding:22px 18px}.teamCalendarHeroActions{display:grid;grid-template-columns:1fr 1fr}.teamCalendarShell{grid-template-columns:1fr}.teamCalendarMain{padding:10px}.teamCalendarToolbar h2{font-size:24px}.teamCalendarWeekdays,.teamCalendarGrid{gap:3px}.teamCalendarDay{min-height:105px;padding:5px}.teamCalendarDay header span{width:24px;height:24px;font-size:13px}.teamCalendarEvent{padding:5px 4px;font-size:11px}.teamCalendarDetail h2{font-size:22px}}
@media(max-width:560px){.teamCalendarHeroActions{grid-template-columns:1fr}.teamCalendarWeekdays span{font-size:10px}.teamCalendarDay{min-height:92px}.teamCalendarDayEvents{gap:3px}.teamCalendarEvent{border-left-width:2px;font-size:10px}.teamCalendarEvent span{-webkit-line-clamp:3}.teamCalendarRsvp div{display:grid;grid-template-columns:1fr 1fr}.teamCalendarRsvp button{width:100%}.teamCalendarDetailActions .teamCalendarDownloadOne{width:100%;box-sizing:border-box}.teamCalendarUpcoming>a{grid-template-columns:44px 1fr}}

/* Team Hub Mobile Layout Fixes */
.team-hub-page{overflow-x:hidden}
@media(max-width:700px){
    .team-hub-page .fixturesDashboard{min-width:0;padding:18px !important}
    .team-hub-page .fixtureCard{min-width:0;padding:17px !important}
    .team-hub-page .fixtureCard .fixtureScore{background:#090a0b !important;color:#fff !important;border:1px solid rgba(212,175,90,.42) !important;box-shadow:0 8px 20px rgba(0,0,0,.28)}
    .team-hub-page .fixtureCard .resultPill.win{background:var(--club-gold) !important;color:#090909 !important}
    .team-hub-page .fixtureCard .resultPill.loss{background:var(--club-red-dark) !important;color:#fff !important}
    .team-hub-page .fixtureCard .resultPill.draw{background:#2a2b2e !important;color:#fff !important;border:1px solid rgba(212,175,90,.34)}
    .team-hub-page .fixtureCard .resultPill.unlogged,.team-hub-page .fixtureCard .resultPill.upcoming{background:#24262a !important;color:#fff !important;border:1px solid rgba(255,255,255,.14)}
    .team-hub-page .fixtureTop{align-items:center;gap:12px}
    .team-hub-page .fixtureTop>div:first-child{min-width:0}
    .team-hub-page .fixtureOpponent{overflow-wrap:anywhere;font-size:19px}
    .team-hub-page .fixtureScore{flex:0 0 auto;min-width:66px;font-size:21px;padding:9px 11px}
    .team-hub-page .fixtureMeta{gap:6px}
    .team-hub-page .fixtureMeta span{padding:6px 9px;font-size:11px}

    .team-hub-page .squadCard{min-width:0;overflow:visible;padding:16px !important}
    .team-hub-page .squadTableScroll{width:100%;max-width:100%;overflow:visible;border:0}
    .team-hub-page .squadTable,.team-hub-page .squadTable tbody{display:block;width:100%;min-width:0 !important;background:transparent !important}
    .team-hub-page .squadTable tbody{display:grid;gap:10px}
    .team-hub-page .squadTable tr:first-child{display:none}
    .team-hub-page .squadTable tr:not(:first-child){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px;width:100%;min-width:0;padding:14px;background:#101113 !important;border:1px solid var(--border-soft);border-left:3px solid var(--club-red);box-sizing:border-box}
    .team-hub-page .squadTable td,.team-hub-page .squadTable td:nth-child(3),.team-hub-page .squadTable td:nth-child(4){display:block !important;min-width:0;padding:0 !important;border:0 !important;background:transparent !important}
    .team-hub-page .squadTable td:first-child{grid-column:1/-1;padding-bottom:10px !important;border-bottom:1px solid var(--border-soft) !important}
    .team-hub-page .squadTable td:not(:first-child)::before{display:block;margin-bottom:3px;color:var(--text-muted);font-size:9px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}
    .team-hub-page .squadTable td:nth-child(2)::before{content:"Position"}
    .team-hub-page .squadTable td:nth-child(3)::before{content:"Shirt"}
    .team-hub-page .squadTable td:nth-child(4)::before{content:"Age"}
    .team-hub-page .squadTable td:nth-child(5)::before{content:"Rating"}
    .team-hub-page .squadPlayer{width:100%;min-width:0;gap:12px;color:#fff !important;overflow-wrap:anywhere}
    .team-hub-page .squadPlayer .avatar,.team-hub-page .squadPlayer .avatar img{width:46px !important;height:46px !important;min-width:46px !important;max-width:46px !important}
    .team-hub-page .ratingBadge{display:inline-flex;background:var(--club-gold) !important;color:#090909 !important;border-radius:2px}
}

/* Personal Development Journey - Definitive Global Fix */
.developmentJourney{width:min(1180px,calc(100% - 24px));margin:22px auto;padding:clamp(18px,3vw,28px);box-sizing:border-box;background:linear-gradient(145deg,var(--panel-bg-soft),var(--panel-bg)) !important;color:var(--text-main) !important;border:1px solid var(--border-soft) !important;border-radius:4px !important;box-shadow:0 18px 44px rgba(0,0,0,.28)}
.developmentJourneyHead{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding-bottom:18px;border-bottom:1px solid var(--border-soft)}.developmentJourneyHead h2{margin:4px 0 6px;color:#fff !important;font-size:clamp(26px,4vw,40px);text-transform:uppercase;letter-spacing:-.025em}.developmentJourneyHead p{margin:0;color:var(--text-muted) !important}.developmentJourneyHead>strong{color:var(--club-gold) !important;font-size:20px;white-space:nowrap}
.developmentSummary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;margin:20px 0;background:var(--border-soft);border:1px solid var(--border-soft)}.developmentSummary>div{display:flex;flex-direction:column-reverse;gap:5px;min-width:0;padding:17px;background:#101113}.developmentSummary span{color:var(--text-muted) !important;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.07em}.developmentSummary strong{color:#fff !important;font-size:25px}
.developmentChartGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.developmentChart,.developmentNotes{min-width:0;padding:20px;background:#0c0d0f;border:1px solid var(--border-soft);border-radius:3px}.developmentChartTitle{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:16px}.developmentChartTitle h3{margin:0;color:#fff !important;font-size:17px}.developmentChartTitle>span{color:var(--text-muted) !important;font-size:10px;text-transform:uppercase;letter-spacing:.07em}.developmentEmpty{margin:20px 0;color:var(--text-muted) !important}
.ratingTrend{width:100%;height:220px;overflow:hidden}.ratingTrend svg{display:block;width:100% !important;height:185px !important;max-width:100%;min-height:0;overflow:hidden;fill:none !important;background:linear-gradient(to bottom,transparent 49%,rgba(255,255,255,.08) 50%,transparent 51%)}.ratingTrend svg *{fill:none !important}.ratingTrend line{stroke:rgba(255,255,255,.12);stroke-width:.5}.ratingTrend polyline{fill:none !important;stroke:var(--club-gold) !important;stroke-width:2.2;vector-effect:non-scaling-stroke;stroke-linecap:round;stroke-linejoin:round}.ratingTrendLabels{display:flex;justify-content:space-between;color:var(--text-muted);font-size:10px}
.developmentScrollableChart{overflow-x:auto}.contributionChart{display:flex;align-items:flex-end;gap:7px;min-width:max-content;height:190px;padding:0 4px 8px}.contributionChart>div{display:grid;grid-template-rows:160px auto;align-items:end;justify-items:center;gap:7px;width:32px}.contributionChart>div>span{color:var(--text-muted);font-size:9px;white-space:nowrap;transform:rotate(-35deg)}.contributionBar{position:relative;width:18px;height:var(--contribution-height);min-height:3px;background:var(--club-gold);border:1px solid rgba(255,255,255,.12)}.contributionBar i{position:absolute;inset:auto 0 0;height:var(--goal-share);background:var(--club-red)}.developmentLegend{display:flex;gap:18px;color:var(--text-muted);font-size:10px}.developmentLegend span:before{content:"";display:inline-block;width:9px;height:9px;margin-right:6px;background:var(--club-red)}.developmentLegend span+span:before{background:var(--club-gold)}
.attendanceChart{display:flex;align-items:flex-end;gap:12px;min-width:max-content;height:210px;padding:0 4px}.attendanceChart>div{display:grid;grid-template-rows:auto 150px auto;align-items:end;justify-items:center;gap:6px;width:42px}.attendanceChart strong{color:#fff !important;font-size:11px}.attendanceChart i{display:block;width:22px;height:var(--attendance-height);min-height:2px;background:linear-gradient(to top,var(--club-red-dark),var(--club-red));border-top:2px solid var(--club-gold)}.attendanceChart span{color:var(--text-muted);font-size:10px}
.developmentTimeline{display:grid;max-height:260px;overflow-y:auto}.developmentTimeline>div{position:relative;display:grid;grid-template-columns:78px minmax(0,1fr);gap:2px 14px;padding:0 0 17px 18px;border-left:1px solid rgba(212,175,90,.35)}.developmentTimeline>div:before{content:"";position:absolute;left:-5px;top:3px;width:9px;height:9px;background:var(--club-gold);border-radius:50%}.developmentTimeline time{grid-row:1/4;color:var(--text-muted);font-size:10px}.developmentTimeline span{color:var(--club-gold);font-size:9px;font-weight:900;text-transform:uppercase}.developmentTimeline strong{color:#fff !important}.developmentTimeline small{color:var(--text-muted)}
.developmentNotes{margin-top:16px}.developmentNoteForm,.developmentNoteEdit{display:grid;grid-template-columns:150px minmax(160px,.6fr) minmax(240px,1.4fr) auto;gap:9px}.developmentNoteForm{margin-bottom:18px}.developmentJourney :is(input,textarea){width:100%;box-sizing:border-box;background:#08090a !important;color:#fff !important;border:1px solid rgba(255,255,255,.14) !important;border-radius:2px !important;padding:10px;font:inherit}.developmentJourney textarea{min-height:44px;resize:vertical}.developmentJourney button{min-height:42px;border:0;border-radius:2px;background:var(--club-red);color:#fff;padding:9px 13px;font-weight:900}.developmentNoteList{display:grid;gap:10px}.developmentNoteList>article{padding:16px 16px 16px 20px;background:#101113;border:1px solid var(--border-soft);border-left:3px solid var(--club-gold)}.developmentNoteList article>time{display:block;margin-bottom:7px;color:var(--club-gold);font-size:10px;font-weight:900}.developmentNoteList h4{margin:0 0 6px;color:#fff !important}.developmentNoteList p{margin:0;color:var(--text-muted) !important;line-height:1.6}.developmentNoteDelete{margin-top:8px;text-align:right}.developmentNoteDelete button{min-height:34px;background:#64141a;padding:6px 10px}
@media(max-width:850px){.developmentSummary{grid-template-columns:repeat(2,minmax(0,1fr))}.developmentChartGrid{grid-template-columns:1fr}.developmentNoteForm,.developmentNoteEdit{grid-template-columns:1fr}.developmentJourneyHead{align-items:flex-start;flex-direction:column}.developmentJourneyHead>strong{font-size:16px}}
@media(max-width:480px){.developmentJourney{width:calc(100% - 16px);padding:14px}.developmentSummary strong{font-size:21px}.developmentChart,.developmentNotes{padding:15px}.ratingTrend{height:190px}.ratingTrend svg{height:155px !important}}
@media print{.developmentJourney{width:100%;box-shadow:none}.developmentNoteForm,.developmentNoteEdit,.developmentNoteDelete{display:none !important}.developmentChartGrid{grid-template-columns:1fr 1fr}.developmentTimeline{max-height:none;overflow:visible}}

/* Development Journey and Match Ratings - Definitive Regression Fix */
.developmentScrollableChart{overflow-x:auto;-webkit-overflow-scrolling:touch}.ratingTrendBars{display:flex;align-items:flex-end;gap:9px;min-width:max-content;height:220px;padding:0 5px 4px}.ratingTrendPoint{display:grid;grid-template-rows:20px 160px auto;align-items:end;justify-items:center;gap:6px;width:42px}.ratingTrendPoint>strong{color:#fff !important;font-size:11px}.ratingTrendPoint>div{position:relative;width:24px;height:160px;background:#191a1d;border:1px solid var(--border-soft)}.ratingTrendPoint>div:after{content:"";position:absolute;left:-4px;right:-4px;top:50%;border-top:1px solid rgba(255,255,255,.09)}.ratingTrendPoint i{position:absolute;inset:auto 0 0;height:var(--rating-height);min-height:2px;background:linear-gradient(to top,var(--club-red-dark),var(--club-red) 70%,var(--club-gold));border-top:2px solid var(--club-gold)}.ratingTrendPoint>span{color:var(--text-muted);font-size:9px;white-space:nowrap;transform:rotate(-35deg);transform-origin:center}
.phase6-match-report .ratings-table-wrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;border:1px solid var(--border-soft);background:#0b0c0d !important}.phase6-match-report .ratings-table{min-width:980px;background:#0b0c0d !important;color:#fff !important}.phase6-match-report .ratings-table thead tr,.phase6-match-report .ratings-table th{background:#17181b !important;color:var(--text-muted) !important;border-color:var(--border-soft) !important}.phase6-match-report .ratings-table tbody tr,.phase6-match-report .ratings-table tbody tr:hover{background:#0d0e10 !important}.phase6-match-report .ratings-table tbody tr:nth-child(even),.phase6-match-report .ratings-table tbody tr:nth-child(even):hover{background:#121315 !important}.phase6-match-report .ratings-table td,.phase6-match-report .ratings-table td strong{background:transparent !important;color:#fff !important;border-color:var(--border-soft) !important}.phase6-match-report .ratings-table .rating-pill{display:inline-flex;align-items:center;justify-content:center;min-width:42px;padding:6px 9px;border:1px solid rgba(212,175,90,.38);background:#222429 !important;color:#fff !important;border-radius:2px;font-weight:900}.phase6-match-report .ratings-table .rating-pill.elite,.phase6-match-report .ratings-table .rating-pill.great{background:var(--club-gold) !important;color:#090909 !important}.phase6-match-report .ratings-table .rating-pill.good{background:var(--club-red) !important;color:#fff !important}.phase6-match-report .parent-report-btn{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:7px 11px;background:var(--club-red) !important;color:#fff !important;border:1px solid rgba(255,255,255,.12);border-radius:2px;text-decoration:none;font-weight:900;white-space:nowrap}.phase6-match-report .parent-report-btn:hover{background:var(--club-red-dark) !important;color:#fff !important}
@media(max-width:900px){.phase6-match-report .rating-card{background:#101113 !important;color:#fff !important}.phase6-match-report .rating-card :is(span,strong,.rating-band){color:inherit}.phase6-match-report .parent-report-card-btn{width:100%;box-sizing:border-box;margin-top:12px}.ratingTrendBars{height:205px}.ratingTrendPoint{grid-template-rows:20px 145px auto}.ratingTrendPoint>div{height:145px}}

/* Development Journey and Parent Report - Polish Regression Fix */
.profile-page .developmentJourney{width:min(1280px,calc(100% - 24px));max-width:1280px}
.phase6-parent-report .quick-grid>div{background:#101113 !important;color:var(--text-main) !important;border-color:var(--border-soft) !important}
.phase6-parent-report .quick-grid>div>span{color:var(--text-muted) !important}
.phase6-parent-report .quick-grid>div>strong{color:#fff !important}
.phase6-parent-report .quick-grid>div>small{color:var(--text-muted) !important}
@media(max-width:480px){.profile-page .developmentJourney{width:calc(100% - 16px)}}

/* Mixed-Position Player Contribution Display */
.phase6-parent-report .position-segment-panel{border-top:3px solid var(--club-gold) !important}
.position-segment-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:12px}.position-segment-heading h2{margin:3px 0 0}.position-segment-overall{flex:0 0 auto;min-width:130px;padding:10px 14px;background:#090a0b;border:1px solid rgba(212,175,90,.4);text-align:center}.position-segment-overall span{display:block;color:var(--text-muted);font-size:10px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.position-segment-overall strong{display:block;margin-top:3px;color:#fff !important;font-size:25px}.position-segment-note{margin:0 0 15px;color:var(--text-muted) !important;line-height:1.55}.position-segment-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px}.position-segment-card{padding:14px;background:#101113;border:1px solid var(--border-soft);border-left:3px solid var(--club-red)}.position-segment-card.is-gk{border-left-color:var(--club-gold)}.position-segment-card-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.position-segment-card-top strong{color:#fff !important;font-size:19px}.position-segment-card-top span{color:var(--club-gold);font-size:12px;font-weight:900;text-transform:uppercase}.position-segment-card p{margin:8px 0 0;color:var(--text-muted) !important;font-size:13px;line-height:1.5}
.phase6-match-report .position-segment-inline{display:flex;flex-wrap:wrap;gap:4px;margin-top:6px}.phase6-match-report .position-segment-inline span{display:inline-flex;padding:3px 6px;background:#191a1d;border:1px solid rgba(212,175,90,.3);color:#fff !important;font-size:10px;font-weight:900;white-space:nowrap}.phase6-match-report .position-segment-inline-card{margin:8px 0 2px}.phase6-match-report .position-segment-inline-card small{flex:1 0 100%;color:var(--text-muted) !important;font-size:10px;line-height:1.4}
@media(max-width:600px){.position-segment-heading{align-items:flex-start;flex-direction:column}.position-segment-overall{width:100%;box-sizing:border-box}.position-segment-grid{grid-template-columns:1fr}}

/* Player Settings - Parent, Emergency, Medical and Consent Details */
.phase7-profile-settings .hejaThreeCol{grid-template-columns:repeat(3,minmax(0,1fr))}
.phase7-profile-settings .hejaRequiredNote{margin:0 0 14px;color:var(--text-muted);font-size:12px;font-weight:800}.phase7-profile-settings .hejaRequiredNote span{color:var(--club-gold)}
.phase7-profile-settings .hejaFieldList :is(input,textarea):disabled{background:#121315 !important;color:#d8d8d8 !important;opacity:1;cursor:not-allowed}
.phase7-profile-settings .hejaConsentGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.phase7-profile-settings .hejaConsentOption{display:grid;grid-template-columns:24px minmax(0,1fr);gap:11px;align-items:start;padding:14px;background:#101113;border:1px solid var(--border-soft);border-radius:2px;cursor:pointer}
.phase7-profile-settings .hejaConsentOption>input[type=hidden]{display:none}.phase7-profile-settings .hejaConsentOption>input[type=checkbox]{width:20px;height:20px;margin:1px 0 0;accent-color:var(--club-red)}
.phase7-profile-settings .hejaConsentOption>span{display:grid;gap:4px}.phase7-profile-settings .hejaConsentOption strong{color:#fff !important;font-size:14px}.phase7-profile-settings .hejaConsentOption small{color:var(--text-muted);font-size:11px;line-height:1.45}
.phase7-profile-settings .hejaConsentOption:has(input:checked){border-color:color-mix(in srgb,var(--club-gold) 48%,transparent);background:color-mix(in srgb,var(--panel-bg-soft) 88%,var(--club-red) 12%)}
.phase7-profile-settings .hejaConsentOption:has(input:disabled){cursor:not-allowed}
@media(max-width:760px){.phase7-profile-settings :is(.hejaThreeCol,.hejaConsentGrid){grid-template-columns:1fr}}

/* Tournament Fixture Status and Management Controls */
.tournament-status-badge{display:inline-flex;align-items:center;justify-content:center;width:max-content;padding:6px 9px;border:1px solid var(--border-soft);border-radius:2px;font-size:9px;font-weight:900;letter-spacing:.07em;text-transform:uppercase;white-space:nowrap}.tournament-status-badge.unlogged{background:#24262a;color:var(--text-muted)}.tournament-status-badge.complete{background:rgba(212,175,90,.12);color:var(--club-gold);border-color:rgba(212,175,90,.38)}
.phase6-tournament-view .result-pill.unplayed{background:#24262a !important;color:#fff !important}.phase6-tournament-view .match-table td .tournament-status-badge{display:flex;margin-top:6px}
.phase6-tournament-fixtures .fixture-status-wrap{display:grid;justify-items:end;gap:7px}.phase6-tournament-fixtures .fixture-management{margin-top:12px}.phase6-tournament-fixtures .fixture-delete-warning{margin-top:14px;padding:11px 13px;background:#2b2310;color:#ead18b;border:1px solid rgba(212,175,90,.3);font-size:12px;font-weight:800}.phase6-tournament-fixtures .delete-form button{background:#7f1d1d !important;color:#fff !important}
@media(max-width:700px){.phase6-tournament-fixtures .fixture-status-wrap{justify-items:start}.phase6-tournament-fixtures .tournamentFixtureEditForm .form-grid{grid-template-columns:1fr}.phase6-tournament-view .match-table{min-width:720px}}

/* Coach Match Report V2 */
.reportV2-page{background:#070809;color:var(--text-main)}
.reportV2{width:min(1240px,calc(100% - 28px));margin:24px auto 60px;color:#f4f1ea}.reportV2 *{box-sizing:border-box}.reportV2 :is(h1,h2,h3,p){margin-top:0}.reportV2 a{color:inherit}
.reportV2-hero,.reportV2-card,.reportV2-headlineGrid>article{background:linear-gradient(145deg,#17181b,#0d0e10);border:1px solid var(--border-soft);box-shadow:0 18px 48px rgba(0,0,0,.28)}
.reportV2-hero{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:28px;align-items:center;padding:clamp(24px,5vw,48px);background:radial-gradient(circle at 90% 10%,rgba(193,18,31,.28),transparent 38%),linear-gradient(118deg,#090a0c,#1b1113 65%,var(--club-red-dark));border-top:3px solid var(--club-gold)}
.reportV2-kicker{display:block;margin-bottom:8px;color:var(--club-gold);font-size:10px;font-weight:900;letter-spacing:.13em;text-transform:uppercase}.reportV2-hero h1{margin:0 0 9px;font-size:clamp(32px,5vw,62px);line-height:.98;text-transform:uppercase}.reportV2-hero p{margin:0;color:var(--text-muted);font-weight:700}.reportV2-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:19px}.reportV2-actions a,.reportV2-button,.reportV2-footerActions a{display:inline-flex;align-items:center;justify-content:center;padding:10px 14px;background:#202226;border:1px solid rgba(212,175,90,.35);color:#fff;text-decoration:none;font-weight:900}.reportV2-actions a:first-child,.reportV2-button{background:var(--club-red);border-color:var(--club-red)}
.reportV2-score{display:flex;min-width:190px;min-height:190px;align-items:center;justify-content:center;flex-direction:column;background:#090a0b;border:2px solid var(--club-gold);border-radius:50%;text-align:center}.reportV2-score span{color:var(--club-gold);font-size:11px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.reportV2-score strong{margin:7px 0;color:#fff;font-size:48px;line-height:1}.reportV2-score small{color:var(--text-muted);font-weight:800}
.reportV2-card{margin-top:18px;padding:clamp(20px,3vw,30px)}.reportV2-summary{border-left:3px solid var(--club-gold)}.reportV2-summary h2{font-size:clamp(25px,3vw,38px)}.reportV2-summary p{max-width:1040px;margin-bottom:12px;color:#e7e2d8;font-size:15px;font-weight:650;line-height:1.72}.reportV2-summary p:last-child{margin-bottom:0}
.reportV2-headlineGrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:18px}.reportV2-headlineGrid>article{display:flex;min-width:0;min-height:142px;flex-direction:column;padding:20px;border-top:3px solid var(--club-red)}.reportV2-headlineGrid>article:nth-child(even){border-top-color:var(--club-gold)}.reportV2-headlineGrid span,.reportV2-headlineGrid small{color:var(--text-muted);font-size:9px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.reportV2-headlineGrid strong{margin:auto 0 8px;color:#fff;font-size:clamp(18px,2vw,27px);line-height:1.12}
.reportV2-possessionCard{display:grid;gap:12px;border-top:3px solid var(--club-red)}.reportV2-possessionCard>span,.reportV2-possessionCard small{color:var(--text-muted);font-size:10px;font-weight:900;letter-spacing:.09em;text-transform:uppercase}.reportV2-possessionCard strong{display:block;color:#fff;font-size:clamp(22px,3vw,35px);line-height:1.25}.reportV2-possessionCard strong b{color:#fff}.reportV2-possessionCard strong i{color:var(--club-gold);font-style:normal}.reportV2-possessionBar{display:flex;width:100%;height:18px;margin:2px 0;overflow:hidden;background:#34363a;border:1px solid rgba(255,255,255,.16);box-shadow:inset 0 1px 5px rgba(0,0,0,.45)}.reportV2-possessionBar>span{display:block;flex:0 0 auto;height:100%;background:linear-gradient(90deg,var(--club-red-dark),var(--club-red))}.reportV2-possessionBar>i{display:block;flex:1;height:100%;background:#34363a}.reportV2-possessionCard small{min-height:11px}.reportV2-possessionCard small:first-letter{text-transform:uppercase}
.reportV2-sectionHead{display:flex;align-items:flex-start;gap:14px;margin-bottom:20px;padding-bottom:15px;border-bottom:1px solid var(--border-soft)}.reportV2-sectionHead>span{display:flex;flex:0 0 34px;height:34px;align-items:center;justify-content:center;background:var(--club-red);color:#fff;font-size:11px;font-weight:900}.reportV2-sectionHead h2{margin:0;color:#fff;font-size:clamp(23px,3vw,34px)}.reportV2-sectionHead p{margin:5px 0 0;color:var(--text-muted)}
.reportV2-eventGrid,.reportV2-statGrid,.reportV2-formationGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.reportV2-eventGrid article,.reportV2-statGrid article,.reportV2-formationGrid article{position:relative;display:flex;min-width:0;min-height:92px;justify-content:center;flex-direction:column;padding:15px 16px;background:#101113;border:1px solid var(--border-soft);overflow:hidden}.reportV2-eventGrid article:before,.reportV2-statGrid article:before{content:"";position:absolute;inset:0 auto 0 0;width:3px;background:var(--club-gold)}.reportV2-eventGrid article.is-team{background:linear-gradient(145deg,rgba(62,47,18,.58),#0d0e10);border-color:rgba(212,175,90,.26)}.reportV2-eventGrid article.is-opponent{background:linear-gradient(145deg,rgba(72,17,23,.5),#0d0e10);border-color:rgba(193,18,31,.32)}.reportV2-eventGrid article.is-opponent:before{background:var(--club-red)}.reportV2-eventGrid strong,.reportV2-statGrid strong,.reportV2-formationGrid strong{color:#fff;font-size:24px}.reportV2-eventGrid span,.reportV2-statGrid span,.reportV2-formationGrid span{margin-top:5px;color:var(--text-muted);font-size:10px;font-weight:900;text-transform:uppercase}.reportV2-eventGrid .is-team strong{color:#f1d58b}.reportV2-eventGrid .is-opponent strong{color:#e8b6b9}
.reportV2-subhead{margin:24px 0 10px;color:var(--club-gold);font-size:15px;letter-spacing:.04em;text-transform:uppercase}.reportV2-subhead:after{content:"";display:inline-block;width:24px;margin-left:9px;border-top:2px solid var(--club-red);vertical-align:middle}.reportV2-statGrid{grid-template-columns:repeat(4,minmax(0,1fr))}.reportV2-statGrid article{min-height:82px}.reportV2-statGrid article.is-good{background:linear-gradient(145deg,rgba(78,61,22,.6),#0d0e10);border-color:rgba(212,175,90,.42)}.reportV2-statGrid article.is-concern{background:linear-gradient(145deg,rgba(84,18,24,.56),#0d0e10);border-color:rgba(193,18,31,.48)}.reportV2-statGrid article.is-concern:before{background:var(--club-red)}.reportV2-statGrid article.is-neutral:before{background:#777}
.reportV2-tableWrap{max-width:100%;overflow-x:auto}.reportV2 table{width:100%;min-width:760px;border-collapse:collapse;background:#0b0c0e}.reportV2 th,.reportV2 td{padding:13px;text-align:left;border-bottom:1px solid var(--border-soft)}.reportV2 th{background:#191a1d;color:var(--text-muted);font-size:9px;letter-spacing:.07em;text-transform:uppercase}.reportV2 td{color:#f1eee8}.reportV2 td:first-child{font-weight:900}.reportV2-change{display:inline-flex;padding:5px 8px;background:#222429;font-size:10px;font-weight:900}.reportV2-change.is-up{background:rgba(212,175,90,.18);color:#f1d58b}.reportV2-change.is-down{background:rgba(193,18,31,.22);color:#f2b7bb}.reportV2-change.is-same{color:var(--text-muted)}
.reportV2-formationGrid{grid-template-columns:repeat(3,minmax(0,1fr))}.reportV2-formationGrid article{border-top:2px solid var(--club-gold)}.reportV2-themeGrid,.reportV2-trainingGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.reportV2-themeGrid article,.reportV2-trainingGrid article{padding:20px;background:#0e0f11;border:1px solid var(--border-soft);border-left:3px solid var(--club-red)}.reportV2-themeGrid article:nth-child(even),.reportV2-trainingGrid article:nth-child(even){border-left-color:var(--club-gold)}.reportV2-themeGrid h3,.reportV2-trainingGrid h3{margin-bottom:12px;color:#fff}.reportV2-themeGrid p,.reportV2-trainingGrid p{margin-bottom:8px;color:var(--text-muted);line-height:1.55}.reportV2-themeGrid p:last-child,.reportV2-trainingGrid p:last-child{margin-bottom:0}.reportV2-themeGrid p strong,.reportV2-trainingGrid p strong{color:#fff}.reportV2-trainingGrid>article>span{color:var(--club-gold);font-size:9px;font-weight:900;text-transform:uppercase}
.reportV2-standoutGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.reportV2-standoutGrid article{display:grid;gap:7px;padding:17px;background:#101113;border:1px solid var(--border-soft);border-top:2px solid var(--club-red)}.reportV2-standoutGrid span,.reportV2-standoutGrid small{color:var(--text-muted);font-size:9px;font-weight:900;text-transform:uppercase}.reportV2-standoutGrid strong{color:#fff;font-size:18px}.reportV2-standoutGrid small{color:var(--club-gold)}
.reportV2-moments{display:grid;gap:8px}.reportV2-moments article{display:grid;grid-template-columns:70px minmax(0,1fr);gap:14px;padding:15px;background:#101113;border:1px solid var(--border-soft);border-left:3px solid var(--club-red)}.reportV2-moments article.is-special{background:linear-gradient(100deg,rgba(73,57,20,.65),#101113);border-left-color:var(--club-gold)}.reportV2-moments time{color:var(--club-gold);font-size:18px;font-weight:900}.reportV2-moments h3{margin:0 0 4px;color:#fff}.reportV2-moments p{margin:0;color:var(--text-muted)}
.reportV2-gk{border-top:3px solid var(--club-gold)}.reportV2-callout{margin:14px 0 0;padding:13px 15px;background:rgba(212,175,90,.1);border-left:3px solid var(--club-gold);color:#f2e5bd}.reportV2-recurring{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.reportV2-recurring p{margin:0;padding:14px;background:#101113;border:1px solid var(--border-soft);color:var(--text-muted)}.reportV2-recurring strong{color:var(--club-gold)}.reportV2-empty{padding:22px;background:#101113;border:1px dashed rgba(212,175,90,.35);color:var(--text-muted);text-align:center}.reportV2-video{position:relative;padding-top:56.25%;overflow:hidden;background:#000;border:1px solid rgba(212,175,90,.35)}.reportV2-video iframe{position:absolute;inset:0;width:100%;height:100%;border:0}.reportV2-footerActions{display:flex;justify-content:space-between;gap:10px;margin-top:18px}.reportV2-footerActions a{background:#202226}
@media(max-width:900px){.reportV2-headlineGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.reportV2-statGrid{grid-template-columns:repeat(3,minmax(0,1fr))}.reportV2-themeGrid,.reportV2-trainingGrid{grid-template-columns:1fr 1fr}}
@media(max-width:650px){.reportV2{width:calc(100% - 16px);margin-top:10px}.reportV2-hero{grid-template-columns:1fr}.reportV2-score{width:130px;min-width:130px;min-height:130px}.reportV2-score strong{font-size:34px}.reportV2-headlineGrid,.reportV2-eventGrid,.reportV2-statGrid,.reportV2-formationGrid,.reportV2-themeGrid,.reportV2-trainingGrid,.reportV2-standoutGrid,.reportV2-recurring{grid-template-columns:1fr}.reportV2-headlineGrid>article{min-height:110px}.reportV2-moments article{grid-template-columns:48px minmax(0,1fr)}.reportV2-footerActions{flex-direction:column}.reportV2-footerActions a{width:100%}}
@media print{.reportV2-headlineGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.reportV2-possessionCard{break-inside:avoid}.reportV2-possessionCard,.reportV2-possessionBar,.reportV2-possessionBar>span,.reportV2-possessionBar>i{-webkit-print-color-adjust:exact;print-color-adjust:exact}}

/* Coach Match Report V2 - Timeline Intelligence */
.reportV2-flow{border-top:3px solid var(--club-gold)}
.reportV2-flowAnswers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.reportV2-flowAnswers article{display:grid;gap:7px;padding:17px;background:#101113;border:1px solid var(--border-soft);border-top:2px solid var(--club-gold)}.reportV2-flowAnswers span,.reportV2-flowAnswers small{color:var(--text-muted);font-size:9px;font-weight:900;text-transform:uppercase}.reportV2-flowAnswers strong{color:#fff;font-size:18px}
.reportV2-phaseList{display:grid;gap:10px}.reportV2-phaseList article{display:grid;grid-template-columns:190px minmax(0,1fr);gap:20px;padding:18px;background:linear-gradient(100deg,rgba(61,46,18,.38),#101113 38%);border:1px solid var(--border-soft);border-left:3px solid var(--club-gold)}.reportV2-phaseList article>div span{color:var(--club-gold);font-size:10px;font-weight:900;text-transform:uppercase}.reportV2-phaseList h3{margin:5px 0 0}.reportV2-phaseList p{margin:0;color:#ddd8ce;line-height:1.65}
.reportV2-patternGrid,.reportV2-responseGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.reportV2-patternGrid article,.reportV2-responseGrid article{padding:18px;background:#101113;border:1px solid var(--border-soft);border-left:3px solid #777}.reportV2-patternGrid article.is-team,.reportV2-responseGrid article{border-left-color:var(--club-gold);background:linear-gradient(145deg,rgba(61,47,19,.42),#101113)}.reportV2-patternGrid article.is-opponent{border-left-color:var(--club-red);background:linear-gradient(145deg,rgba(75,17,23,.46),#101113)}.reportV2-patternGrid article.is-keeper{border-left-color:var(--club-gold);box-shadow:inset 0 0 24px rgba(212,175,90,.07)}.reportV2-patternGrid article.is-shift{border-left-color:#d7822d}.reportV2-patternGrid span,.reportV2-responseGrid span{color:var(--club-gold);font-size:10px;font-weight:900}.reportV2-patternGrid h3,.reportV2-responseGrid h3{margin:6px 0 8px}.reportV2-patternGrid p,.reportV2-responseGrid p{margin:0;color:var(--text-muted);line-height:1.55}
.reportV2-keeperInfluence{margin-top:18px;padding:22px;background:radial-gradient(circle at 90% 0,rgba(212,175,90,.18),transparent 42%),#101113;border:1px solid rgba(212,175,90,.4);border-left:4px solid var(--club-gold)}.reportV2-keeperInfluence>span{color:var(--club-gold);font-size:10px;font-weight:900;letter-spacing:.1em;text-transform:uppercase}.reportV2-keeperInfluence h3{margin:8px 0;color:#fff;font-size:22px}.reportV2-keeperInfluence p{margin:0;color:var(--text-muted)}
.reportV2-momentumTimeline{display:flex;gap:10px;padding:12px 2px 10px;overflow-x:auto}.reportV2-momentumTimeline article{position:relative;display:grid;flex:0 0 150px;grid-template-columns:34px minmax(0,1fr);gap:5px 8px;padding:13px;background:#101113;border:1px solid var(--border-soft);border-top:3px solid #777}.reportV2-momentumTimeline article:after{content:"";position:absolute;left:100%;top:27px;width:11px;border-top:1px solid rgba(212,175,90,.4)}.reportV2-momentumTimeline article:last-child:after{display:none}.reportV2-momentumTimeline time{grid-column:1/-1;color:var(--club-gold);font-size:12px;font-weight:900}.reportV2-momentumTimeline i{display:flex;width:30px;height:30px;align-items:center;justify-content:center;background:#202226;color:#fff;font-style:normal;font-weight:900}.reportV2-momentumTimeline div{display:grid;gap:3px}.reportV2-momentumTimeline strong{font-size:11px}.reportV2-momentumTimeline span{color:var(--text-muted);font-size:10px}.reportV2-momentumTimeline article.is-goal,.reportV2-momentumTimeline article.is-team{border-top-color:var(--club-gold)}.reportV2-momentumTimeline article.is-save,.reportV2-momentumTimeline article.is-penalty{border-top-color:#d4af5a}.reportV2-momentumTimeline article.is-penalty{background:linear-gradient(145deg,rgba(70,54,20,.65),#101113)}.reportV2-momentumTimeline article.is-against{border-top-color:var(--club-red);background:linear-gradient(145deg,rgba(70,17,22,.52),#101113)}.reportV2-momentumTimeline article.is-card{border-top-color:#d7822d}
@media(max-width:900px){.reportV2-patternGrid,.reportV2-responseGrid{grid-template-columns:1fr 1fr}.reportV2-phaseList article{grid-template-columns:150px minmax(0,1fr)}}
@media(max-width:650px){.reportV2-flowAnswers,.reportV2-patternGrid,.reportV2-responseGrid{grid-template-columns:1fr}.reportV2-phaseList article{grid-template-columns:1fr;gap:10px}}

/* Coach Match Report V2 - Player Performance Review */
.reportV2-coachRead{margin:16px 0 0;padding:15px;background:rgba(212,175,90,.08);border-left:3px solid var(--club-gold);color:#ddd8ce;line-height:1.65}.reportV2-coachRead strong{color:var(--club-gold)}
.reportV2-unitGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.reportV2-unitGrid>article{padding:19px;background:#101113;border:1px solid var(--border-soft);border-top:3px solid var(--club-gold)}.reportV2-unitGrid>article:nth-child(even){border-top-color:var(--club-red)}.reportV2-unitGrid header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.reportV2-unitGrid header span{color:var(--text-muted);font-size:9px;font-weight:900;text-transform:uppercase}.reportV2-unitGrid h3{margin:5px 0 0}.reportV2-unitGrid header>strong{color:var(--club-gold);font-size:29px}.reportV2-unitScores{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin:14px 0}.reportV2-unitScores span{display:flex;justify-content:space-between;gap:7px;padding:9px;background:#191a1d;color:var(--text-muted);font-size:9px;font-weight:900;text-transform:uppercase}.reportV2-unitScores b{color:#fff}.reportV2-unitGrid p{margin:8px 0 0;color:var(--text-muted);line-height:1.5}.reportV2-unitGrid p strong{color:#fff}
.reportV2-shapeMeta{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.reportV2-shapeMeta strong{color:var(--club-gold);font-size:25px}.reportV2-shapeMeta span,.reportV2-shapeLabel{color:var(--text-muted);font-size:11px;font-weight:900;text-transform:uppercase}.reportV2-shape{display:grid;gap:11px;padding:22px;background:linear-gradient(180deg,rgba(25,53,34,.72),rgba(10,24,17,.9));border:1px solid rgba(212,175,90,.28)}.reportV2-shape.is-secondary{background:linear-gradient(180deg,rgba(33,34,37,.95),rgba(13,14,16,.98))}.reportV2-shapeLine{display:flex;direction:ltr;justify-content:center;gap:8px}.reportV2-shapeLine article{display:grid;flex:0 1 160px;gap:3px;min-width:0;padding:10px;background:rgba(8,9,10,.88);border:1px solid rgba(255,255,255,.12);border-top:2px solid var(--club-gold);text-align:center}.reportV2-shapeLine article span{color:var(--club-gold);font-size:8px;font-weight:900}.reportV2-shapeLine article strong{overflow:hidden;color:#fff;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.reportV2-shapeLine article small{color:var(--text-muted);font-size:9px}.reportV2-shapeLine.is-keeper article{border-top-color:var(--club-red)}
.reportV2-contributorGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.reportV2-contributorGrid article{padding:16px;background:#101113;border:1px solid var(--border-soft);border-left:3px solid var(--club-gold)}.reportV2-contributorGrid article.is-development{border-left-color:var(--club-red);background:linear-gradient(145deg,rgba(72,17,23,.28),#101113)}.reportV2-contributorGrid h3{margin:0 0 10px}.reportV2-contributorGrid p{display:flex;justify-content:space-between;gap:10px;margin:0;padding:7px 0;border-top:1px solid var(--border-soft);color:var(--text-muted)}.reportV2-contributorGrid p strong{color:#fff}.reportV2-contributorGrid p span{color:var(--club-gold);font-weight:900}.reportV2-contributorGrid small{display:block;margin-top:10px;color:#d8b8ba;line-height:1.45}
.reportV2-questionList{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:0;padding:0;list-style:none;counter-reset:coach-question}.reportV2-questionList li{position:relative;padding:17px 17px 17px 52px;background:#101113;border:1px solid var(--border-soft);color:#eee9df;line-height:1.55;counter-increment:coach-question}.reportV2-questionList li:before{content:counter(coach-question);position:absolute;left:14px;top:14px;display:flex;width:26px;height:26px;align-items:center;justify-content:center;background:var(--club-red);color:#fff;font-size:10px;font-weight:900}
.reportV2-changeGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.reportV2-changeGrid article{padding:18px;background:#101113;border:1px solid var(--border-soft);border-left:3px solid #777}.reportV2-changeGrid article.is-positive{border-left-color:var(--club-gold);background:linear-gradient(145deg,rgba(61,47,19,.38),#101113)}.reportV2-changeGrid article.is-negative{border-left-color:var(--club-red);background:linear-gradient(145deg,rgba(72,17,23,.38),#101113)}.reportV2-changeGrid article.is-mixed{border-left-color:#d7822d}.reportV2-changeGrid header{display:flex;justify-content:space-between;gap:12px}.reportV2-changeGrid header span{color:var(--club-gold);font-size:10px;font-weight:900;text-transform:uppercase}.reportV2-changeGrid header strong{padding:4px 7px;background:#25272a;color:#fff;font-size:9px;text-transform:uppercase}.reportV2-changeGrid h3{margin:10px 0}.reportV2-impactWindows{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:12px 0}.reportV2-impactWindows>div{display:grid;align-content:start;gap:5px;padding:10px;background:#18191c}.reportV2-impactWindows span{color:var(--club-gold);font-size:8px;font-weight:900;text-transform:uppercase}.reportV2-impactWindows b{color:#eee9df;font-size:10px;line-height:1.45}.reportV2-changeGrid p{margin:7px 0 0;color:var(--text-muted);line-height:1.5}.reportV2-changeGrid p b{color:#fff}
.reportV2-playerReview{border-top:3px solid var(--club-red)}
.reportV2-ratingSummary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:16px}.reportV2-ratingSummary article{display:grid;gap:5px;padding:15px;background:linear-gradient(145deg,rgba(62,47,18,.38),#101113);border:1px solid rgba(212,175,90,.28);border-left:3px solid var(--club-gold)}.reportV2-ratingSummary span{color:var(--text-muted);font-size:9px;font-weight:900;text-transform:uppercase}.reportV2-ratingSummary strong{color:#fff;font-size:25px}
.reportV2-ratingsTableWrap{display:none}.reportV2-rank{display:inline-flex;width:30px;height:30px;align-items:center;justify-content:center;background:#202226;border:1px solid rgba(212,175,90,.3);color:var(--club-gold);font-weight:900}.reportV2-ratingPill{display:inline-flex;min-width:46px;justify-content:center;padding:7px 9px;background:#25272b;color:#fff;font-weight:900}.reportV2-ratingPill.is-high{background:var(--club-gold);color:#111}.reportV2-ratingPill.is-low{background:var(--club-red)}
.reportV2-flagList,.reportV2-cardFlags{display:flex;flex-wrap:wrap;gap:5px}.reportV2-flagList span,.reportV2-cardFlags span{display:inline-flex;padding:5px 7px;background:#24262a;border:1px solid rgba(255,255,255,.08);color:#ddd;font-size:9px;font-weight:900;white-space:nowrap}.reportV2-flagList :is(.is-outstanding,.is-workrate,.is-keeper),.reportV2-cardFlags :is(.is-outstanding,.is-workrate,.is-keeper){background:rgba(212,175,90,.13);border-color:rgba(212,175,90,.33);color:#f1d58b}.reportV2-flagList .is-development,.reportV2-cardFlags .is-development{background:rgba(193,18,31,.17);border-color:rgba(193,18,31,.4);color:#f0b7bb}.reportV2-flagList .is-none,.reportV2-cardFlags .is-none{color:var(--text-muted)}
.reportV2-smallButton{display:inline-flex;padding:7px 9px;background:#202226;border:1px solid rgba(212,175,90,.35);color:#fff!important;font-size:10px;font-weight:900;text-decoration:none}.reportV2-rowActions{display:flex;flex-wrap:wrap;gap:5px}.reportV2-ratingCards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.reportV2-playerRatingCard{padding:18px;background:#101113;border:1px solid var(--border-soft);border-left:3px solid var(--club-red)}.reportV2-playerRatingCard.is-outstanding{border-left-color:var(--club-gold);background:linear-gradient(145deg,rgba(61,47,19,.42),#101113)}.reportV2-playerRatingCard header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.reportV2-playerRatingCard header span{color:var(--club-gold);font-size:10px;font-weight:900;text-transform:uppercase}.reportV2-playerRatingCard header h3{margin:4px 0 0}.reportV2-playerRatingCard header>div>small{color:var(--text-muted)}.reportV2-playerRatingCard header>strong{display:inline-flex;min-width:58px;justify-content:center;padding:9px;background:var(--club-red);color:#fff;font-size:23px}.reportV2-playerRatingCard.is-outstanding header>strong{background:var(--club-gold);color:#111}.reportV2-playerContext{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:14px 0}.reportV2-playerContext>div{display:grid;gap:4px;padding:10px;background:#18191c}.reportV2-playerContext span{color:var(--text-muted);font-size:8px;font-weight:900;text-transform:uppercase}.reportV2-playerContext strong{color:#fff}.reportV2-playerScores{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin-bottom:12px}.reportV2-playerScores span{display:flex;justify-content:space-between;gap:6px;padding:10px;background:#18191c;color:var(--text-muted);font-size:9px;font-weight:900;text-transform:uppercase}.reportV2-playerScores b{color:#fff}.reportV2-playerEfficiency span.is-strong{background:rgba(212,175,90,.13);border:1px solid rgba(212,175,90,.33);color:#f1d58b}.reportV2-playerEfficiency span.is-strong b{color:#f1d58b}.reportV2-playerRatingCard>.reportV2-rowActions{margin-top:13px}
@media(min-width:1250px){.reportV2-ratingCards{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.reportV2-ratingCards{grid-template-columns:1fr;gap:10px}}
@media(max-width:650px){.reportV2-ratingSummary,.reportV2-playerContext{grid-template-columns:1fr}.reportV2-playerScores{grid-template-columns:repeat(2,minmax(0,1fr))}.reportV2-playerEfficiency{grid-template-columns:repeat(3,minmax(0,1fr))}.reportV2-playerEfficiency span{min-width:0;flex-direction:column;align-items:flex-start;gap:3px;padding:8px 5px;font-size:7px}.reportV2-playerEfficiency b{font-size:10px}}
@media(max-width:800px){.reportV2-unitGrid,.reportV2-questionList,.reportV2-changeGrid{grid-template-columns:1fr}.reportV2-contributorGrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.reportV2-impactWindows{grid-template-columns:1fr}}
@media(max-width:520px){.reportV2-contributorGrid{grid-template-columns:1fr}.reportV2-unitScores{grid-template-columns:1fr}.reportV2-shapeMeta{align-items:flex-start;flex-direction:column}.reportV2-shape{width:100%;max-width:100%;gap:8px;padding:10px 6px;overflow:hidden}.reportV2-shapeLine{display:grid;width:100%;gap:4px}.reportV2-shapeLine.has-1{grid-template-columns:minmax(0,1fr);padding-inline:36%}.reportV2-shapeLine.has-2{grid-template-columns:repeat(2,minmax(0,1fr));padding-inline:18%}.reportV2-shapeLine.has-3{grid-template-columns:repeat(3,minmax(0,1fr));padding-inline:8%}.reportV2-shapeLine.has-4{grid-template-columns:repeat(4,minmax(0,1fr));padding-inline:3%}.reportV2-shapeLine.has-5{grid-template-columns:repeat(5,minmax(0,1fr))}.reportV2-shapeLine article{display:grid;width:auto;min-width:0;min-height:58px;align-content:center;gap:2px;padding:6px 3px;background:linear-gradient(145deg,rgba(24,25,28,.98),rgba(8,9,10,.96));border-left:2px solid var(--club-red);border-top:1px solid rgba(212,175,90,.55);box-shadow:0 4px 10px rgba(0,0,0,.2)}.reportV2-shapeLine article:nth-child(even){border-left-color:var(--club-gold)}.reportV2-shapeLine article span{font-size:7px;letter-spacing:.04em}.reportV2-shapeLine article strong{display:-webkit-box;overflow:hidden;font-size:clamp(7px,2.35vw,10px);line-height:1.1;text-overflow:ellipsis;white-space:normal;-webkit-box-orient:vertical;-webkit-line-clamp:2}.reportV2-shapeLine article small{font-size:clamp(6px,1.9vw,8px);line-height:1.15}.reportV2-shapeLine.is-keeper article{border-left-color:var(--club-gold);border-top-color:var(--club-red)}}

/* Team fixture cards */
.team-hub-page .fixturesDashboard{
    overflow:hidden;
}

.team-hub-page .fixturesDashboard .fixtureCards{
    grid-template-columns:repeat(auto-fit,minmax(min(270px,100%),1fr));
    gap:14px;
}

.team-hub-page .fixturesDashboard .fixtureCard{
    min-width:0;
    overflow:hidden;
    padding:18px !important;
    background:linear-gradient(145deg,#191a1d,#0d0e10) !important;
    border:1px solid var(--border-soft) !important;
    border-radius:3px !important;
    box-shadow:0 14px 32px rgba(0,0,0,.24) !important;
}

.team-hub-page .fixturesDashboard .fixtureTop{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    align-items:start;
    gap:10px;
}

.team-hub-page .fixturesDashboard .fixtureTop > div:first-child{
    min-width:0;
}

.team-hub-page .fixturesDashboard .fixtureDate{
    color:var(--club-gold) !important;
    letter-spacing:.08em;
}

.team-hub-page .fixturesDashboard .fixtureOpponent{
    color:#fff !important;
    font-size:clamp(18px,1.4vw,22px);
    line-height:1.08;
    overflow-wrap:anywhere;
}

.team-hub-page .fixturesDashboard .fixtureCard .fixtureScore{
    align-self:start;
    box-sizing:border-box;
    width:auto;
    min-width:64px;
    max-width:100%;
    padding:8px 10px;
    background:#090a0b !important;
    color:#fff !important;
    border:1px solid rgba(212,175,90,.48) !important;
    border-radius:3px !important;
    box-shadow:0 8px 20px rgba(0,0,0,.3);
    font-size:clamp(18px,1.55vw,24px);
    font-variant-numeric:tabular-nums;
    line-height:1;
    text-shadow:none;
    white-space:nowrap;
}

.team-hub-page .fixturesDashboard .fixtureMeta > span{
    background:#202226 !important;
    color:#ddd8ce !important;
    border:1px solid var(--border-soft) !important;
    border-radius:2px !important;
}

.team-hub-page .fixturesDashboard .fixtureMeta .resultPill.win{
    background:rgba(38,170,91,.14) !important;
    color:#a7e4bb !important;
    border-color:rgba(75,205,125,.32) !important;
}

.team-hub-page .fixturesDashboard .fixtureMeta .resultPill.loss{
    background:rgba(193,18,31,.16) !important;
    color:#f1b5ba !important;
    border-color:rgba(220,55,67,.34) !important;
}

.team-hub-page .fixturesDashboard .fixtureMeta .resultPill.draw{
    background:rgba(212,175,90,.13) !important;
    color:#f1d58b !important;
    border-color:rgba(212,175,90,.32) !important;
}

.team-hub-page .fixturesDashboard .fixtureButton{
    border-radius:2px !important;
    box-shadow:0 8px 20px rgba(0,0,0,.25);
}

/* Team overview V2 */
.team-overview-v2{
    scroll-behavior:smooth;
}

.team-overview-v2 .teamOverviewPage{
    display:grid;
    gap:22px;
    width:min(1280px,calc(100% - 32px));
    margin:0 auto;
    padding:24px 0 56px;
}

.team-overview-v2 .teamOverviewHero{
    position:relative;
    display:grid;
    grid-template-columns:minmax(0,1.4fr) minmax(420px,.9fr);
    align-items:end;
    gap:28px;
    overflow:hidden;
    min-height:250px;
    padding:clamp(28px,4vw,48px);
    background:
        radial-gradient(circle at 82% 22%,rgba(212,175,90,.14),transparent 25%),
        linear-gradient(118deg,#08090a 0%,#181012 68%,#4d0b13 100%);
    border:1px solid var(--border-soft);
    border-top:3px solid var(--club-red);
    box-shadow:0 24px 54px rgba(0,0,0,.35);
}

.team-overview-v2 .teamOverviewHero::after{
    content:"";
    position:absolute;
    right:-70px;
    bottom:-105px;
    width:310px;
    height:310px;
    border:1px solid rgba(212,175,90,.12);
    border-radius:50%;
    box-shadow:0 0 0 42px rgba(212,175,90,.035),0 0 0 84px rgba(212,175,90,.02);
    pointer-events:none;
}

.team-overview-v2 .teamOverviewIdentity{
    position:relative;
    z-index:1;
    display:flex;
    align-items:center;
    gap:22px;
    min-width:0;
}

.team-overview-v2 .teamOverviewBadge{
    display:grid;
    place-items:center;
    flex:0 0 104px;
    width:104px;
    height:104px;
    padding:12px;
    background:rgba(0,0,0,.34);
    border:1px solid rgba(212,175,90,.38);
    box-shadow:0 18px 38px rgba(0,0,0,.38);
}

.team-overview-v2 .teamOverviewBadge img{
    width:100%;
    height:100%;
    object-fit:contain;
}

.team-overview-v2 .teamOverviewKicker,
.team-overview-v2 .teamSectionHeading span,
.team-overview-v2 .teamPanelTitle span,
.team-overview-v2 .teamSubsectionHeading span{
    color:var(--club-gold);
    font-size:10px;
    font-weight:900;
    letter-spacing:.14em;
    text-transform:uppercase;
}

.team-overview-v2 .teamOverviewIdentity h1{
    max-width:760px;
    margin:8px 0 7px;
    color:#fff;
    font-size:clamp(34px,4.4vw,62px);
    line-height:.92;
    letter-spacing:-.045em;
    text-transform:uppercase;
}

.team-overview-v2 .teamOverviewIdentity p{
    margin:0;
    color:var(--text-muted);
    font-size:11px;
    font-weight:800;
    letter-spacing:.09em;
    text-transform:uppercase;
}

.team-overview-v2 .teamOverviewIdentity p span,
.team-overview-v2 .teamNextMatchPanel p span{
    margin:0 7px;
    color:var(--club-red);
}

.team-overview-v2 .teamOverviewHeroStats{
    position:relative;
    z-index:1;
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:1px;
    background:rgba(212,175,90,.18);
    border:1px solid rgba(212,175,90,.22);
}

.team-overview-v2 .teamOverviewHeroStats>div{
    display:grid;
    gap:5px;
    min-width:0;
    padding:16px;
    background:rgba(9,10,11,.88);
}

.team-overview-v2 .teamOverviewHeroStats span,
.team-overview-v2 .teamSnapshotGrid span,
.team-overview-v2 .teamSquadRating span{
    color:var(--text-muted);
    font-size:9px;
    font-weight:900;
    letter-spacing:.1em;
    text-transform:uppercase;
}

.team-overview-v2 .teamOverviewHeroStats strong{
    color:#fff;
    font-size:23px;
    font-variant-numeric:tabular-nums;
}

.team-overview-v2 .teamOverviewControls{
    position:sticky;
    top:0;
    z-index:20;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    padding:10px;
    background:rgba(10,11,12,.94);
    border:1px solid var(--border-soft);
    box-shadow:0 12px 30px rgba(0,0,0,.28);
    backdrop-filter:blur(12px);
}

.team-overview-v2 .teamOverviewNav{
    display:flex;
    gap:4px;
    min-width:0;
    overflow-x:auto;
}

.team-overview-v2 .teamOverviewNav a{
    padding:11px 14px;
    color:var(--text-muted);
    border-left:2px solid transparent;
    font-size:10px;
    font-weight:900;
    letter-spacing:.09em;
    text-decoration:none;
    text-transform:uppercase;
    white-space:nowrap;
}

.team-overview-v2 .teamOverviewNav a:hover,
.team-overview-v2 .teamOverviewNav a:focus{
    color:#fff;
    background:#17181b;
    border-left-color:var(--club-red);
}

.team-overview-v2 .teamOverviewSeason{
    display:flex;
    align-items:center;
    gap:9px;
    flex:0 0 auto;
}

.team-overview-v2 .teamOverviewSeason label{
    color:var(--text-muted);
    font-size:9px;
    font-weight:900;
    letter-spacing:.1em;
    text-transform:uppercase;
}

.team-overview-v2 .teamOverviewSeason select{
    min-width:112px;
    padding:10px 30px 10px 11px;
    background:#17181b;
    color:#fff;
    border:1px solid rgba(212,175,90,.32);
    border-radius:0;
    font-weight:800;
}

.team-overview-v2 .teamOverviewSection{
    scroll-margin-top:88px;
    padding:clamp(20px,3vw,30px);
    background:linear-gradient(145deg,#17181a,#0e0f11);
    border:1px solid var(--border-soft);
    border-top:3px solid var(--club-gold);
    box-shadow:0 18px 42px rgba(0,0,0,.25);
}

.team-overview-v2 .teamSectionHeading{
    display:flex;
    align-items:end;
    justify-content:space-between;
    gap:24px;
    margin-bottom:22px;
    padding-bottom:16px;
    border-bottom:1px solid var(--border-soft);
}

.team-overview-v2 .teamSectionHeading h2,
.team-overview-v2 .teamSubsectionHeading h3,
.team-overview-v2 .teamPanelTitle h3{
    margin:5px 0 0;
    color:#fff;
    line-height:1;
    letter-spacing:-.025em;
    text-transform:uppercase;
}

.team-overview-v2 .teamSectionHeading h2{
    font-size:clamp(25px,3vw,36px);
}

.team-overview-v2 .teamSectionHeading>p{
    max-width:480px;
    margin:0;
    color:var(--text-muted);
    font-size:12px;
    line-height:1.6;
    text-align:right;
}

.team-overview-v2 .teamCompetitionFilters{
    display:flex;
    flex-wrap:wrap;
    justify-content:flex-end;
    gap:6px;
}

.team-overview-v2 .teamCompetitionFilters a{
    padding:9px 12px;
    background:#0d0e10;
    color:var(--text-muted);
    border:1px solid var(--border-soft);
    font-size:9px;
    font-weight:900;
    letter-spacing:.08em;
    text-decoration:none;
    text-transform:uppercase;
}

.team-overview-v2 .teamCompetitionFilters a.active{
    background:var(--club-red);
    color:#fff;
    border-color:var(--club-red);
}

.team-overview-v2 .teamSnapshotGrid{
    display:grid;
    grid-template-columns:1.45fr repeat(5,minmax(0,1fr));
    gap:1px;
    margin-bottom:18px;
    background:var(--border-soft);
    border:1px solid var(--border-soft);
}

.team-overview-v2 .teamSnapshotGrid article{
    display:grid;
    align-content:center;
    gap:4px;
    min-height:104px;
    padding:17px;
    background:#0f1012;
}

.team-overview-v2 .teamSnapshotGrid strong{
    color:#fff;
    font-size:29px;
    font-variant-numeric:tabular-nums;
}

.team-overview-v2 .teamSnapshotGrid .teamSnapshotPrimary{
    background:linear-gradient(140deg,rgba(83,62,19,.58),#101113);
    border-left:3px solid var(--club-gold);
}

.team-overview-v2 .teamSnapshotGrid .teamSnapshotPrimary strong{
    color:var(--club-gold);
    font-size:38px;
}

.team-overview-v2 .teamSnapshotGrid p{
    margin:0;
    color:var(--text-muted);
    font-size:10px;
}

.team-overview-v2 .teamOverviewFeatureGrid{
    display:grid;
    grid-template-columns:minmax(0,1.65fr) minmax(280px,.7fr);
    gap:14px;
}

.team-overview-v2 .teamOverviewPanel{
    min-width:0;
    padding:20px;
    background:#101113;
    border:1px solid var(--border-soft);
    border-left:3px solid var(--club-red);
}

.team-overview-v2 .teamPanelTitle{
    margin-bottom:15px;
}

.team-overview-v2 .teamFormList{
    display:grid;
    gap:6px;
}

.team-overview-v2 .teamFormResult{
    display:grid;
    grid-template-columns:54px minmax(0,1fr) auto;
    align-items:center;
    gap:12px;
    padding:11px 12px;
    background:#18191c;
    color:#fff;
    border-left:3px solid #555;
    text-decoration:none;
}

.team-overview-v2 .teamFormResult.win{border-left-color:#36bb70}
.team-overview-v2 .teamFormResult.loss{border-left-color:var(--club-red)}
.team-overview-v2 .teamFormResult.draw{border-left-color:var(--club-gold)}
.team-overview-v2 .teamFormResult span{color:var(--text-muted);font-size:9px;font-weight:900;text-transform:uppercase}
.team-overview-v2 .teamFormResult b{min-width:0;overflow-wrap:anywhere;font-size:12px}
.team-overview-v2 .teamFormResult strong{padding:6px 9px;background:#090a0b;color:#fff;border:1px solid rgba(212,175,90,.28);font-variant-numeric:tabular-nums}

.team-overview-v2 .teamNextMatchPanel{
    display:flex;
    flex-direction:column;
    justify-content:center;
    background:linear-gradient(145deg,rgba(71,15,21,.72),#101113);
}

.team-overview-v2 .teamNextDate{
    align-self:flex-start;
    margin:8px 0 14px;
    padding:7px 9px;
    background:var(--club-gold);
    color:#111;
    font-size:10px;
    font-weight:900;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.team-overview-v2 .teamNextMatchPanel h4{
    margin:0;
    color:#fff;
    font-size:clamp(24px,3vw,38px);
    line-height:.98;
}

.team-overview-v2 .teamNextMatchPanel p{
    margin:14px 0 0;
    color:var(--text-muted);
    font-size:10px;
    font-weight:900;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.team-overview-v2 .teamBestXiSection{
    border-top-color:var(--club-red);
}

.team-overview-v2 .teamBestXiPitch{
    position:relative;
    display:grid;
    align-content:space-around;
    gap:28px;
    width:min(100%,760px);
    min-height:920px;
    margin-inline:auto;
    overflow:hidden;
    padding:82px 30px;
    background:
        linear-gradient(to bottom,transparent 49.8%,rgba(255,255,255,.25) 50%,transparent 50.2%),
        repeating-linear-gradient(to bottom,rgba(255,255,255,.025) 0 12.5%,rgba(0,0,0,.025) 12.5% 25%),
        #183b28;
    border:2px solid rgba(255,255,255,.28);
    box-sizing:border-box;
}

.team-overview-v2 .teamBestXiPitch::before{
    content:"";
    position:absolute;
    inset:18px;
    border:2px solid rgba(255,255,255,.2);
    pointer-events:none;
}

.team-overview-v2 .teamBestXiPitch::after{
    content:"";
    position:absolute;
    top:50%;
    left:50%;
    width:120px;
    height:120px;
    border:2px solid rgba(255,255,255,.2);
    border-radius:50%;
    transform:translate(-50%,-50%);
    pointer-events:none;
}

.team-overview-v2 .teamPitchPenaltyArea,
.team-overview-v2 .teamPitchGoal{
    position:absolute;
    z-index:0;
    left:50%;
    border:2px solid rgba(255,255,255,.22);
    transform:translateX(-50%);
    pointer-events:none;
}

.team-overview-v2 .teamPitchPenaltyArea{
    width:58%;
    height:110px;
}

.team-overview-v2 .teamPitchPenaltyAreaTop{
    top:18px;
    border-top:0;
}

.team-overview-v2 .teamPitchPenaltyAreaBottom{
    bottom:18px;
    border-bottom:0;
}

.team-overview-v2 .teamPitchGoal{
    width:25%;
    height:28px;
    background:rgba(255,255,255,.035);
}

.team-overview-v2 .teamPitchGoalTop{
    top:18px;
    border-top:0;
}

.team-overview-v2 .teamPitchGoalBottom{
    bottom:18px;
    border-bottom:0;
}

.team-overview-v2 .teamBestXiLine{
    position:relative;
    z-index:1;
    display:flex;
    justify-content:space-around;
    gap:10px;
}

.team-overview-v2 .teamBestXiPlayer{
    position:relative;
    display:grid;
    justify-items:center;
    width:104px;
    color:#fff;
    text-align:center;
}

.team-overview-v2 .teamBestXiPlayer>span{
    position:absolute;
    z-index:2;
    top:-7px;
    right:5px;
    display:grid;
    place-items:center;
    width:31px;
    height:31px;
    background:var(--club-gold);
    color:#111;
    border:2px solid #fff;
    font-size:10px;
    font-weight:900;
}

.team-overview-v2 .teamBestXiPlayer>div{
    display:grid;
    place-items:center;
    width:72px;
    height:72px;
    overflow:hidden;
    background:#0c0d0f;
    border:2px solid #fff;
    border-radius:50%;
    box-shadow:0 10px 24px rgba(0,0,0,.35);
    font-size:22px;
    font-weight:900;
}

.team-overview-v2 .teamBestXiPlayer img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.team-overview-v2 .teamBestXiPlayer b{
    display:block;
    max-width:100%;
    margin-top:7px;
    padding:5px 7px;
    overflow:hidden;
    background:rgba(7,8,9,.85);
    font-size:10px;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.team-overview-v2 .teamMatchCentre.fixturesDashboard{
    padding:0 !important;
    background:transparent !important;
    border:0 !important;
    box-shadow:none !important;
}

.team-overview-v2 .teamCoachGrid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(190px,1fr));
    gap:12px;
    margin-bottom:18px;
}

.team-overview-v2 .teamCoachCard{
    display:grid;
    grid-template-columns:64px minmax(0,1fr);
    grid-template-rows:auto auto;
    align-items:center;
    gap:3px 13px;
    min-width:0;
    padding:14px;
    background:linear-gradient(145deg,rgba(70,52,17,.42),#101113);
    color:#fff;
    border:1px solid rgba(212,175,90,.25);
    border-left:3px solid var(--club-gold);
    text-decoration:none;
}

.team-overview-v2 .teamCoachCard>div{
    grid-row:1/3;
    display:grid;
    place-items:center;
    width:64px;
    height:64px;
    overflow:hidden;
    background:#0b0c0e;
    border:1px solid rgba(212,175,90,.42);
    font-weight:900;
}

.team-overview-v2 .teamCoachCard img,
.team-overview-v2 .teamSquadPhoto img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.team-overview-v2 .teamCoachCard span{
    align-self:end;
    color:var(--club-gold);
    font-size:9px;
    font-weight:900;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.team-overview-v2 .teamCoachCard strong{
    align-self:start;
    min-width:0;
    overflow-wrap:anywhere;
    font-size:17px;
}

.team-overview-v2 .teamSquadGrid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:8px;
}

.team-overview-v2 .teamSquadPlayer{
    display:grid;
    grid-template-columns:52px minmax(0,1fr) auto;
    align-items:center;
    gap:12px;
    min-width:0;
    padding:11px;
    background:#101113;
    color:#fff;
    border:1px solid var(--border-soft);
    border-left:3px solid var(--club-red);
    text-decoration:none;
    transition:transform .18s,border-color .18s,background .18s;
}

.team-overview-v2 .teamSquadPlayer:hover{
    transform:translateY(-2px);
    background:#18191c;
    border-color:rgba(212,175,90,.34);
}

.team-overview-v2 .teamSquadPhoto{
    display:grid;
    place-items:center;
    width:52px;
    height:52px;
    overflow:hidden;
    background:#202226;
    color:var(--club-gold);
    font-weight:900;
}

.team-overview-v2 .teamSquadIdentity{
    display:grid;
    gap:3px;
    min-width:0;
}

.team-overview-v2 .teamSquadIdentity span{
    color:var(--club-gold);
    font-size:8px;
    font-weight:900;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.team-overview-v2 .teamSquadIdentity strong{
    overflow:hidden;
    font-size:14px;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.team-overview-v2 .teamSquadRating{
    display:grid;
    justify-items:end;
    gap:3px;
}

.team-overview-v2 .teamSquadRating b{
    color:#fff;
    font-size:19px;
}

.team-overview-v2 .teamLeaderGrid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:10px;
}

.team-overview-v2 .teamLeaderGrid .coolStatCard{
    min-width:0;
    padding:0 !important;
    overflow:hidden;
    background:linear-gradient(145deg,#18191c,#0c0d0f) !important;
    color:#fff !important;
    border:1px solid var(--border-soft) !important;
    border-top:3px solid var(--club-red) !important;
    border-radius:0 !important;
    box-shadow:0 14px 28px rgba(0,0,0,.22) !important;
}

.team-overview-v2 .teamLeaderGrid .coolStatTitle{
    min-height:44px;
    padding:14px 16px 10px;
    color:var(--club-gold) !important;
    border-bottom:1px solid var(--border-soft);
    font-size:10px !important;
    font-weight:900;
    letter-spacing:.09em;
    text-transform:uppercase;
}

.team-overview-v2 .teamLeaderGrid .statWinner{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:15px 16px;
    border-bottom:1px solid var(--border-soft);
}

.team-overview-v2 .teamLeaderGrid .winnerLeft{
    display:flex;
    align-items:center;
    gap:11px;
    min-width:0;
}

.team-overview-v2 .teamLeaderGrid .winnerAvatar{
    display:grid;
    place-items:center;
    flex:0 0 55px;
    width:55px;
    height:55px;
    overflow:hidden;
    background:#232529;
    color:var(--club-gold) !important;
    border:1px solid rgba(212,175,90,.38);
    border-radius:0 !important;
    font-weight:900;
}

.team-overview-v2 .teamLeaderGrid .winnerAvatar img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.team-overview-v2 .teamLeaderGrid .winnerName{
    min-width:0;
    overflow:hidden;
    color:#fff !important;
    font-size:18px !important;
    font-weight:900;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.team-overview-v2 .teamLeaderGrid .winnerSub{
    margin-top:3px;
    color:var(--text-muted) !important;
    font-size:8px !important;
    font-weight:900;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.team-overview-v2 .teamLeaderGrid .winnerValue{
    flex:0 0 auto;
    min-width:58px;
    padding:10px;
    background:#090a0b !important;
    color:#fff !important;
    border:1px solid rgba(212,175,90,.38);
    border-radius:0 !important;
    font-size:25px !important;
    font-variant-numeric:tabular-nums;
    text-align:center;
}

.team-overview-v2 .teamLeaderGrid .runnerList{
    display:grid;
    gap:1px;
    padding:7px 12px 12px;
}

.team-overview-v2 .teamLeaderGrid .runnerRow{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:9px;
    min-width:0;
    padding:8px;
    background:#121315;
    color:#fff !important;
}

.team-overview-v2 .teamLeaderGrid .runnerPlayer{
    min-width:0;
    overflow:hidden;
    color:#fff !important;
    font-size:11px !important;
    font-weight:800;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.team-overview-v2 .teamLeaderGrid .runnerRank{
    display:inline-grid;
    place-items:center;
    width:21px;
    height:21px;
    margin-right:7px;
    background:#222428;
    color:var(--club-gold) !important;
    font-size:9px;
}

.team-overview-v2 .teamLeaderGrid .runnerRow>strong{
    padding:4px 7px;
    background:var(--club-red);
    color:#fff !important;
    font-size:10px;
    font-variant-numeric:tabular-nums;
}

.team-overview-v2 .teamSubsectionHeading{
    margin:30px 0 15px;
    padding-top:22px;
    border-top:1px solid var(--border-soft);
}

.team-overview-v2 .teamSubsectionHeading h3{
    font-size:25px;
}

.team-overview-v2 .teamAwardGrid .coolStatCard{
    border-top-color:var(--club-gold) !important;
}

.team-overview-v2 .teamOverviewTableWrap{
    width:100%;
    overflow-x:auto;
    border:1px solid var(--border-soft);
    -webkit-overflow-scrolling:touch;
}

.team-overview-v2 .teamOverviewTable{
    width:100%;
    min-width:780px;
    border-collapse:collapse;
    background:#0d0e10;
    color:#fff;
}

.team-overview-v2 .teamOverviewTable th{
    padding:13px 11px;
    background:#18191c;
    color:var(--text-muted);
    border-bottom:1px solid var(--border-soft);
    font-size:9px;
    letter-spacing:.08em;
    text-align:center;
    text-transform:uppercase;
}

.team-overview-v2 .teamOverviewTable th:nth-child(2),
.team-overview-v2 .teamOverviewTable td:nth-child(2){text-align:left}

.team-overview-v2 .teamOverviewTable td{
    padding:12px 11px;
    color:#ddd;
    border-bottom:1px solid rgba(255,255,255,.055);
    font-size:11px;
    text-align:center;
}

.team-overview-v2 .teamOverviewTable td:first-child span{
    display:inline-grid;
    place-items:center;
    width:28px;
    height:28px;
    background:#222428;
    color:var(--club-gold);
    font-weight:900;
}

.team-overview-v2 .teamOverviewTable .currentTeamRow td{
    background:rgba(193,18,31,.16);
    color:#fff;
}

.team-overview-v2 .teamOverviewTable td strong{
    color:var(--club-gold);
    font-size:15px;
}

.team-overview-v2 .teamEmptyState{
    padding:24px;
    background:#101113;
    color:var(--text-muted);
    border:1px dashed rgba(212,175,90,.28);
    line-height:1.6;
}

@media(max-width:1050px){
    .team-overview-v2 .teamOverviewHero{grid-template-columns:1fr}
    .team-overview-v2 .teamSnapshotGrid{grid-template-columns:repeat(3,minmax(0,1fr))}
    .team-overview-v2 .teamSnapshotPrimary{grid-column:span 3}
    .team-overview-v2 .teamSquadGrid,.team-overview-v2 .teamLeaderGrid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:760px){
    .team-overview-v2{overflow-x:hidden}
    .team-overview-v2 .wrap{width:100%;max-width:100%;padding:10px 0 42px !important;box-sizing:border-box;overflow:hidden}
    .team-overview-v2 .teamOverviewPage{width:100%;max-width:100%;margin:0;padding:0 10px;box-sizing:border-box;overflow:hidden}
    .team-overview-v2 .teamOverviewPage *{box-sizing:border-box}
    .team-overview-v2 .teamOverviewPage>*,
    .team-overview-v2 .teamOverviewSection,
    .team-overview-v2 .teamOverviewPanel,
    .team-overview-v2 .teamMatchCentre,
    .team-overview-v2 .fixtureCards,
    .team-overview-v2 .teamLeaderGrid,
    .team-overview-v2 .teamSquadGrid{min-width:0;max-width:100%}
    .team-overview-v2 .teamOverviewHero{grid-template-columns:minmax(0,1fr);min-height:0;padding:25px 19px}
    .team-overview-v2 .teamOverviewIdentity{align-items:flex-start;gap:14px}
    .team-overview-v2 .teamOverviewBadge{flex-basis:76px;width:76px;height:76px;padding:9px}
    .team-overview-v2 .teamOverviewIdentity>div:last-child{min-width:0}
    .team-overview-v2 .teamOverviewIdentity h1{overflow-wrap:anywhere}
    .team-overview-v2 .teamOverviewHeroStats{width:100%;min-width:0}
    .team-overview-v2 .teamOverviewControls{align-items:stretch;flex-direction:column;gap:7px}
    .team-overview-v2 .teamOverviewNav{width:100%;max-width:100%;padding-bottom:3px}
    .team-overview-v2 .teamOverviewSeason{justify-content:space-between;padding:0 5px}
    .team-overview-v2 .teamSectionHeading{align-items:flex-start;flex-direction:column;gap:12px}
    .team-overview-v2 .teamSectionHeading>p{text-align:left}
    .team-overview-v2 .teamCompetitionFilters{justify-content:flex-start}
    .team-overview-v2 .teamSnapshotGrid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .team-overview-v2 .teamSnapshotPrimary{grid-column:span 2}
    .team-overview-v2 .teamOverviewFeatureGrid{grid-template-columns:1fr}
    .team-overview-v2 .teamBestXiPitch{width:100%;min-height:720px;padding:72px 5px;gap:18px}
    .team-overview-v2 .teamBestXiPlayer{width:66px}
    .team-overview-v2 .teamBestXiPlayer>div{width:54px;height:54px}
    .team-overview-v2 .teamBestXiPlayer>span{right:-2px;width:25px;height:25px}
    .team-overview-v2 .teamBestXiPlayer b{max-width:70px;font-size:8px}
    .team-overview-v2 .teamSquadGrid{grid-template-columns:1fr}
    .team-overview-v2 .fixturesDashboard .fixtureCards{grid-template-columns:minmax(0,1fr) !important;width:100%}
    .team-overview-v2 .fixturesDashboard .fixtureCard{width:100%;max-width:100%}
    .team-overview-v2 .fixturesDashboard .fixtureTop{grid-template-columns:minmax(0,1fr) auto}
    .team-overview-v2 .teamCoachGrid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .team-overview-v2 .teamOverviewTableWrap{max-width:100%}
}

@media(max-width:580px){
    .team-overview-v2 .teamOverviewHeroStats{grid-template-columns:1fr 1fr}
    .team-overview-v2 .teamLeaderGrid{grid-template-columns:1fr}
    .team-overview-v2 .teamFormResult{grid-template-columns:46px minmax(0,1fr) auto;gap:8px}
    .team-overview-v2 .teamCoachGrid{grid-template-columns:1fr}
    .team-overview-v2 .teamSectionHeading h2{font-size:26px}
    .team-overview-v2 .teamCompetitionFilters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}
    .team-overview-v2 .teamCompetitionFilters a{text-align:center}
}

@media(max-width:420px){
    .team-overview-v2 .teamOverviewIdentity{display:grid;grid-template-columns:62px minmax(0,1fr)}
    .team-overview-v2 .teamOverviewBadge{width:62px;height:62px}
    .team-overview-v2 .teamOverviewIdentity h1{font-size:29px}
    .team-overview-v2 .teamOverviewHeroStats>div{padding:13px}
    .team-overview-v2 .teamOverviewSection{padding:17px 13px}
    .team-overview-v2 .teamSnapshotGrid{grid-template-columns:1fr}
    .team-overview-v2 .teamSnapshotPrimary{grid-column:auto}
    .team-overview-v2 .teamFormResult{grid-template-columns:minmax(0,1fr) auto}
    .team-overview-v2 .teamFormResult>span{grid-column:1/-1}
    .team-overview-v2 .teamBestXiPlayer{width:58px}
    .team-overview-v2 .teamBestXiPlayer>div{width:48px;height:48px}
    .team-overview-v2 .teamBestXiPitch{min-height:680px;padding-inline:2px}
    .team-overview-v2 .teamBestXiLine{gap:2px}
    .team-overview-v2 .teamSquadPlayer{grid-template-columns:46px minmax(0,1fr) auto;gap:9px}
    .team-overview-v2 .teamSquadPhoto{width:46px;height:46px}
    .team-overview-v2 .teamLeaderGrid .statWinner{padding-inline:12px}
    .team-overview-v2 .teamLeaderGrid .winnerAvatar{flex-basis:48px;width:48px;height:48px}
}

/* Match Report - Dark Academy Stat Accents */
.phase6-match-report .team-totals-card,
.phase6-match-report .team-events-card,
.phase6-match-report .match-story-card{
    border-top:3px solid var(--club-gold) !important;
}

.phase6-match-report .totals-subheading{
    display:flex;
    align-items:center;
    gap:9px;
    margin-top:24px;
    color:var(--club-gold) !important;
    letter-spacing:.03em;
}

.phase6-match-report .totals-subheading::before{
    content:"";
    width:18px;
    height:2px;
    flex:0 0 18px;
    background:var(--club-red);
}

.phase6-match-report .stat-grid > div,
.phase6-match-report .match-events-grid > div{
    position:relative;
    overflow:hidden;
    background:linear-gradient(145deg,#111214,#0c0d0f) !important;
    border-color:rgba(255,255,255,.09) !important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.025);
}

.phase6-match-report .stat-grid > div::before,
.phase6-match-report .match-events-grid > div::before{
    content:"";
    position:absolute;
    inset:0 auto 0 0;
    width:2px;
    background:rgba(212,175,90,.42);
}

.phase6-match-report .stat-grid-defensive > div::before,
.phase6-match-report .stat-grid-attacking > div::before{
    background:rgba(193,18,31,.58);
}

.phase6-match-report .stat-grid-goalkeeping > div::before,
.phase6-match-report .stat-grid-set-pieces > div::before{
    background:var(--club-gold);
}

.phase6-match-report .stat-grid-summary > div{
    background:linear-gradient(145deg,rgba(43,31,15,.72),#0d0e10) !important;
}

.phase6-match-report .match-events-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
}

.phase6-match-report .match-events-grid .match-event-team{
    background:linear-gradient(145deg,rgba(55,43,20,.62),#0d0e10) !important;
    border-color:rgba(212,175,90,.24) !important;
}

.phase6-match-report .match-events-grid .match-event-team::before{
    background:var(--club-gold);
}

.phase6-match-report .match-events-grid .match-event-team strong{
    color:#f1d58b !important;
}

.phase6-match-report .match-events-grid .match-event-opponent{
    background:linear-gradient(145deg,rgba(72,18,23,.48),#0d0e10) !important;
    border-color:rgba(193,18,31,.3) !important;
}

.phase6-match-report .match-events-grid .match-event-opponent::before{
    background:rgba(193,18,31,.9);
}

.phase6-match-report .match-events-grid .match-event-opponent strong{
    color:#e8b6b9 !important;
}

.phase6-match-report .match-story-box{
    position:relative;
    padding:20px 22px !important;
    background:linear-gradient(145deg,rgba(47,37,20,.36),#0d0e10 45%,#111214) !important;
    border-left:3px solid var(--club-gold) !important;
}

.phase6-match-report .match-story-box p{
    color:#ece8df !important;
    font-weight:650;
    line-height:1.72;
}

.phase6-match-report .match-story-box p + p{
    padding-top:12px;
    border-top:1px solid rgba(212,175,90,.12);
}

@media(max-width:760px){
    .phase6-match-report .match-events-grid{
        grid-template-columns:1fr !important;
    }
}

/* Player Settings - Locked Player Name */
.phase7-profile-settings .hejaLockedField>span{display:flex;align-items:center;justify-content:space-between;gap:10px}.phase7-profile-settings .hejaLockedField>span b{padding:4px 7px;background:rgba(212,175,90,.1);color:var(--club-gold);border:1px solid rgba(212,175,90,.3);border-radius:2px;font-size:9px;letter-spacing:.07em;text-transform:uppercase}.phase7-profile-settings .hejaLockedField input[readonly]{background:#121315 !important;color:#fff !important;border-color:rgba(212,175,90,.28) !important;cursor:not-allowed}.phase7-profile-settings .hejaLockedField small{color:var(--text-muted);font-size:11px;line-height:1.45}

/* Secure Player Contacts Backend */
.player-contacts-page{overflow-x:hidden;color:var(--text-main)}.playerContactsShell{width:min(1380px,calc(100% - 32px));margin:0 auto;padding:28px 0 44px}.playerContactsHero{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:clamp(24px,4vw,42px);margin-bottom:16px;background:linear-gradient(118deg,#090a0c,#1b1113 62%,var(--club-red-dark));border:1px solid var(--border-soft);box-shadow:var(--academy-shadow)}.playerContactsHero h1{margin:4px 0 7px;color:#fff;font-size:clamp(34px,6vw,58px);line-height:1;text-transform:uppercase}.playerContactsHero p{margin:0;color:var(--text-muted)}.playerContactsExport,.playerContactsFilters button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 15px;background:var(--club-red);color:#fff !important;border:0;border-radius:2px;text-decoration:none;font-weight:900;text-transform:uppercase;letter-spacing:.06em;font-size:10px}
.playerContactsFilters{display:grid;grid-template-columns:1.2fr repeat(3,minmax(150px,.8fr)) auto auto;gap:10px;align-items:end;padding:16px;margin-bottom:14px;background:var(--panel-bg);border:1px solid var(--border-soft)}.playerContactsFilters label{display:grid;gap:6px}.playerContactsFilters label>span{color:var(--text-muted);font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.07em}.playerContactsFilters :is(input,select){width:100%;min-height:44px;box-sizing:border-box;padding:10px;background:#090a0b;color:#fff;border:1px solid rgba(255,255,255,.14);border-radius:2px}.playerContactsFilters>a{display:flex;align-items:center;justify-content:center;min-height:42px;color:var(--club-gold);font-weight:900}.playerContactsCount{margin:0 0 12px;color:var(--text-muted);font-size:12px;font-weight:900}.playerContactsGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.playerContactCard,.playerContactsEmpty{background:linear-gradient(145deg,var(--panel-bg-soft),var(--panel-bg));border:1px solid var(--border-soft);box-shadow:0 16px 38px rgba(0,0,0,.22)}.playerContactCard>header{display:grid;grid-template-columns:70px minmax(0,1fr) auto;gap:14px;align-items:center;padding:18px;border-bottom:1px solid var(--border-soft)}.playerContactCard>header img{width:70px;height:70px;object-fit:cover;border-radius:50%;border:2px solid var(--club-gold);background:#090a0b}.playerContactCard h2{margin:0 0 4px;color:#fff}.playerContactCard header p{margin:0;color:var(--text-muted);font-size:12px}.playerContactCard header>div>span{color:var(--club-gold);font-size:10px;font-weight:900}.contactAlerts{display:grid;gap:5px}.contactAlerts b{padding:5px 7px;background:#2b1013;color:#ffb1b8;border:1px solid rgba(255,100,110,.25);font-size:9px;text-transform:uppercase}.playerContactSections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;background:var(--border-soft)}.playerContactSections section{min-width:0;padding:16px;background:#101113}.playerContactSections h3{margin:0 0 12px;color:#fff;font-size:13px;text-transform:uppercase}.playerContactSections dl{display:grid;grid-template-columns:110px minmax(0,1fr);gap:7px 10px;margin:0}.playerContactSections dt{color:var(--text-muted);font-size:10px;font-weight:900}.playerContactSections dd{min-width:0;margin:0;color:#fff;font-size:12px;overflow-wrap:anywhere}.playerContactSections dd span{color:#777b82}.playerContactSections a{color:var(--club-gold) !important}.playerConsentRow{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--border-soft);border-top:1px solid var(--border-soft)}.playerConsentRow span{display:grid;gap:3px;padding:12px;background:#101113;color:var(--text-muted);font-size:10px}.playerConsentRow b{color:#fff}.playerConsentRow .granted{border-bottom:2px solid var(--club-gold)}.playerConsentRow .missing{border-bottom:2px solid var(--club-red)}.playerContactsEmpty{padding:32px;text-align:center}.playerContactsEmpty h2{color:#fff}.playerContactsEmpty p{color:var(--text-muted)}
@media(max-width:1050px){.playerContactsGrid{grid-template-columns:1fr}.playerContactsFilters{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.playerContactsShell{width:calc(100% - 20px);padding-top:14px}.playerContactsHero{align-items:flex-start;flex-direction:column}.playerContactsExport{width:100%;box-sizing:border-box}.playerContactsFilters{grid-template-columns:1fr}.playerContactsFilters button,.playerContactsFilters>a{width:100%;box-sizing:border-box}.playerContactCard>header{grid-template-columns:58px minmax(0,1fr)}.playerContactCard>header img{width:58px;height:58px}.contactAlerts{grid-column:1/-1}.playerContactSections{grid-template-columns:1fr}.playerConsentRow{grid-template-columns:1fr}.playerContactSections dl{grid-template-columns:95px minmax(0,1fr)}}

/* Phase 9 - Matchday Workflow Final UX Pass */
:is(.phase9-squad,.phase9-no-video-match){overflow-x:hidden}
.matchdayKicker{display:block;margin-bottom:7px;color:var(--club-gold);font-size:10px;font-weight:900;letter-spacing:.14em;text-transform:uppercase}
.phase9-squad .publishedSquadPostCard{border-top:2px solid var(--club-red) !important}
.phase9-squad .publishedSquadHeader{align-items:flex-start}
.phase9-squad .squadTableWrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.phase9-squad .squadSelectionTable :is(th,td){border-color:var(--border-soft) !important}
.phase9-squad .squadSelectionTable tbody tr{background:#0d0e10 !important}
.phase9-squad .squadSelectionTable tbody tr:nth-child(even){background:#121315 !important}
.phase9-squad .squadSelectionTable tbody td:nth-child(3),
.phase9-squad .squadSelectionTable tbody td:nth-child(3) strong,
.phase9-squad .squadSelectionTable tbody tr:hover td:nth-child(3),
.phase9-squad .squadSelectionTable tbody tr:hover td:nth-child(3) strong,
.phase9-squad .squadSelectionTable tbody tr:has(input[name$="[selected]"]:checked) td:nth-child(3),
.phase9-squad .squadSelectionTable tbody tr:has(input[name$="[selected]"]:checked) td:nth-child(3) strong{color:#fff !important}
.phase9-squad .squadSelectionTable th{color:var(--text-muted) !important}
.phase9-squad .squadSelectionTable select,
.phase9-squad .squadSelectionTable select option{color:#fff !important;background:#080808 !important}
.phase9-no-video-match .pageHero{border-top:2px solid var(--club-red) !important}
.phase9-no-video-match :is(.card,.noVideoTools,.squadEditor){background:linear-gradient(145deg,var(--panel-bg-soft),var(--panel-bg)) !important;color:var(--text-main) !important;border-color:var(--border-soft) !important}
.phase9-no-video-match :is(label,.hint,small){color:var(--text-muted) !important}
.phase9-no-video-match :is(input,select,textarea){background:#090a0b !important;color:#fff !important;border-color:rgba(255,255,255,.14) !important}
@media(max-width:700px){
  .phase9-squad .squadTableWrap{overflow:visible;border:0 !important;background:transparent !important}
  .phase9-squad .squadSelectionTable,.phase9-squad .squadSelectionTable tbody{display:block;width:100%;min-width:0 !important}
  .phase9-squad .squadSelectionTable thead{display:none}
  .phase9-squad .squadSelectionTable tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(92px,.42fr);gap:0;margin-bottom:10px;border:1px solid var(--border-soft);background:#0d0e10 !important}
  .phase9-squad .squadSelectionTable td{display:grid;grid-template-columns:92px minmax(0,1fr);align-items:center;gap:10px;width:auto !important;min-width:0 !important;padding:10px 12px !important;border:0 !important;border-bottom:1px solid var(--border-soft) !important;text-align:left !important;overflow-wrap:anywhere}
  .phase9-squad .squadSelectionTable td:nth-child(3){grid-column:1/-1;order:-1;padding:14px 12px !important;font-size:15px;font-weight:900}
  .phase9-squad .squadSelectionTable td:last-child{border-bottom:0 !important}
  .phase9-squad .squadSelectionTable td:before{color:var(--text-muted);font-size:9px;font-weight:900;letter-spacing:.06em;text-transform:uppercase}
  .phase9-squad .squadSelectionTable td:nth-child(1):before{content:"In Squad"}
  .phase9-squad .squadSelectionTable td:nth-child(2):before{content:"Starting XI"}
  .phase9-squad .squadSelectionTable td:nth-child(3):before{content:"Player"}
  .phase9-squad .squadSelectionTable td:nth-child(4):before{content:"Position"}
  .phase9-squad .squadSelectionTable td:nth-child(5):before{content:"Captain"}
  .phase9-squad .squadSelectionTable :is(input,select,button){max-width:100%;min-height:44px}
  .phase9-no-video-match .form-grid{grid-template-columns:1fr !important}
}
/* ===============================
   Profile V2 Prototype
   =============================== */
.profileV2{width:min(1220px,calc(100% - 28px));margin:28px auto 54px;color:#fff}.profileV2 *{box-sizing:border-box}.profileV2Hero,.profileV2Panel{background:linear-gradient(145deg,var(--panel-bg-soft),var(--panel-bg));border:1px solid var(--border-soft);box-shadow:0 22px 55px rgba(0,0,0,.3)}.profileV2Hero{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:22px;padding:clamp(22px,4vw,42px);overflow:hidden}.profileV2Hero:after{content:"";position:absolute;inset:0 0 auto auto;width:45%;height:100%;background:radial-gradient(circle at 80% 20%,color-mix(in srgb,var(--club-red) 35%,transparent),transparent 62%);pointer-events:none}.profileV2Identity{position:relative;z-index:1;display:flex;align-items:center;gap:22px;min-width:0}.profileV2Identity img{width:clamp(105px,15vw,165px);height:clamp(105px,15vw,165px);object-fit:cover;border:3px solid var(--club-gold);background:#111}.profileV2Kicker{display:block;color:var(--club-gold)!important;font-size:10px;font-weight:900;letter-spacing:.14em;text-transform:uppercase}.profileV2 h1,.profileV2 h2,.profileV2 h3{color:#fff!important}.profileV2 h1{margin:6px 0;font-size:clamp(34px,6vw,66px);line-height:.95;text-transform:uppercase}.profileV2Identity p{margin:8px 0 0;color:var(--text-muted);font-weight:700}.profileV2Rating{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;justify-content:center;width:140px;height:140px;border:4px solid var(--club-gold);border-radius:50%;background:#090909}.profileV2Rating strong{color:#fff;font-size:44px;line-height:1}.profileV2Rating span{margin-top:7px;color:var(--text-muted);font-size:9px;font-weight:900;text-transform:uppercase}.profileV2Selectors{position:relative;z-index:1;display:flex;gap:10px;grid-column:1/-1}.profileV2Selectors form{min-width:180px}.profileV2 label{display:grid;gap:5px;color:var(--text-muted);font-size:10px;font-weight:900;text-transform:uppercase}.profileV2 :is(input,textarea,select){width:100%;padding:11px 12px;background:#f4f2ed!important;color:#161616!important;border:1px solid #d1cdc3;border-radius:2px;font:inherit}.profileV2 textarea{min-height:86px;resize:vertical}.profileV2 :is(input,textarea,select):focus{outline:2px solid var(--club-gold);outline-offset:1px}.profileV2 button{min-height:42px;padding:10px 16px;border:0;background:var(--club-red);color:#fff;font-weight:900;cursor:pointer}.profileV2Badges{position:relative;z-index:1;display:flex;flex-wrap:wrap;gap:8px;grid-column:1/-1}.profileV2Badges span{padding:7px 10px;background:#0b0b0c;border:1px solid var(--border-soft);color:#fff;font-size:10px;font-weight:900;text-transform:uppercase}.profileV2Panel{padding:clamp(20px,3vw,30px);margin-top:18px}.profileV2CoachSummary{border-left:4px solid var(--club-gold)}.profileV2CoachSummary p{max-width:920px;margin:10px 0;color:var(--text-soft);font-size:16px;line-height:1.7}.profileV2Heading{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:18px}.profileV2Heading h2,.profileV2Panel h2{margin:5px 0 0;font-size:clamp(22px,3vw,34px);text-transform:uppercase}.profileV2Section{margin-top:26px}.profileV2Highlights{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.profileV2Highlights article{display:flex;flex-direction:column-reverse;gap:7px;padding:20px;background:#111214;border:1px solid var(--border-soft);border-top:3px solid var(--club-red)}.profileV2Highlights span{color:var(--text-muted);font-size:10px;font-weight:900;text-transform:uppercase}.profileV2Highlights strong{color:#fff;font-size:28px}.profileV2Traits{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.profileV2Traits article{padding:15px;background:#0c0d0f;border:1px solid var(--border-soft)}.profileV2Traits article>div{display:flex;justify-content:space-between;gap:10px;margin-bottom:10px}.profileV2Traits span{color:var(--text-soft);font-weight:800}.profileV2Traits strong{color:#fff}.profileV2Traits i{display:block;height:8px;background:#27282b;overflow:hidden}.profileV2Traits b{display:block;width:var(--profile-v2-trait);height:100%;background:linear-gradient(90deg,var(--club-red),var(--club-gold))}.profileV2Split{display:grid;grid-template-columns:1fr 1fr;gap:18px}.profileV2Split ul{display:grid;gap:11px;margin:20px 0 0;padding:0;list-style:none}.profileV2Split li{display:flex;gap:10px;color:var(--text-soft);line-height:1.55}.profileV2Split li b{display:inline-flex;align-items:center;justify-content:center;flex:0 0 24px;height:24px;background:var(--club-red);color:#fff}.profileV2Timeline{display:grid}.profileV2Timeline article{display:grid;grid-template-columns:150px minmax(0,1fr);gap:24px;padding:0 0 24px 20px;border-left:1px solid rgba(212,175,90,.4)}.profileV2Timeline article:before{content:"";width:9px;height:9px;margin-left:-25px;background:var(--club-gold);border-radius:50%;grid-column:1;position:absolute}.profileV2Timeline time{color:var(--club-gold);font-size:11px;font-weight:900;text-transform:uppercase}.profileV2Timeline div span{color:var(--text-muted);font-size:9px;font-weight:900;text-transform:uppercase}.profileV2Timeline h3{margin:4px 0 5px}.profileV2Timeline p{margin:0;color:var(--text-muted);line-height:1.55}.profileV2NoteForm,.profileV2NoteEdit{display:grid;grid-template-columns:150px minmax(180px,.6fr) minmax(260px,1.4fr) auto;gap:9px;margin-bottom:18px}.profileV2NoteGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.profileV2NoteGrid>article{padding:18px;background:#101113;border:1px solid var(--border-soft);border-left:3px solid var(--club-gold)}.profileV2NoteGrid time{display:block;margin-bottom:10px;color:var(--club-gold);font-size:10px;font-weight:900;text-transform:uppercase}.profileV2NoteGrid h3{margin:0 0 8px}.profileV2NoteGrid p{margin:0;color:var(--text-muted);line-height:1.65}.profileV2Delete{text-align:right}.profileV2Delete button{min-height:34px;margin-top:8px;padding:6px 10px;background:#65151b}.profileV2Training{display:grid;grid-template-columns:240px minmax(0,1fr);gap:24px;align-items:center}.profileV2Training h2{font-size:64px}.profileV2Training>div>strong{color:var(--club-gold)}.profileV2Sessions{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.profileV2Sessions article{display:grid;gap:5px;padding:13px;background:#0d0e10;border:1px solid var(--border-soft)}.profileV2Sessions span,.profileV2Sessions small{color:var(--text-muted);font-size:9px}.profileV2Sessions strong{color:#fff;font-size:20px}.profileV2TableWrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.profileV2 table{width:100%;min-width:800px;border-collapse:collapse;background:#0c0d0f;color:#fff}.profileV2 th,.profileV2 td{padding:13px;text-align:left;border-bottom:1px solid var(--border-soft)}.profileV2 th{background:#18191c;color:var(--text-muted);font-size:9px;text-transform:uppercase}.profileV2 td,.profileV2 td a{color:#fff}.profileV2 td a{font-weight:900}.profileV2RatingPill{display:inline-flex;min-width:42px;justify-content:center;padding:6px 9px;background:var(--club-red);color:#fff;font-weight:900}.profileV2Empty{color:var(--text-muted)}
@media(max-width:850px){.profileV2Hero{grid-template-columns:1fr}.profileV2Rating{width:110px;height:110px}.profileV2Highlights{grid-template-columns:repeat(2,minmax(0,1fr))}.profileV2Split,.profileV2Training{grid-template-columns:1fr}.profileV2Sessions{grid-template-columns:repeat(2,minmax(0,1fr))}.profileV2NoteForm,.profileV2NoteEdit{grid-template-columns:1fr}.profileV2NoteGrid{grid-template-columns:1fr}}
@media(max-width:560px){.profileV2{width:calc(100% - 16px);margin-top:14px}.profileV2Identity{align-items:flex-start;flex-direction:column}.profileV2Identity img{width:110px;height:110px}.profileV2Selectors{flex-direction:column}.profileV2Selectors form{width:100%}.profileV2Traits,.profileV2Highlights{grid-template-columns:1fr}.profileV2Timeline article{grid-template-columns:1fr;gap:7px}.profileV2Sessions{grid-template-columns:1fr}}
.profileV2 .profileV2Traits progress{display:block;width:100%;height:8px;border:0;background:#27282b;accent-color:var(--club-gold)}.profileV2 .profileV2Traits progress::-webkit-progress-bar{background:#27282b}.profileV2 .profileV2Traits progress::-webkit-progress-value{background:linear-gradient(90deg,var(--club-red),var(--club-gold))}.profileV2 .profileV2Traits progress::-moz-progress-bar{background:linear-gradient(90deg,var(--club-red),var(--club-gold))}

/* ===============================
   Profile V3 Prototype
   =============================== */
.profileV3{width:min(1280px,calc(100% - 28px));margin:26px auto 60px;color:#fff}.profileV3 *{box-sizing:border-box}.profileV3 :is(h1,h2,h3,strong,dd){color:#fff}.profileV3 :is(p,small,dt){color:var(--text-muted)}.profileV3Hero,.profileV3Section,.profileV3FocusGrid>article,.profileV3Journey,.profileV3Training,.profileV3Recent,.profileV3Notes{background:linear-gradient(145deg,var(--panel-bg-soft),var(--panel-bg));border:1px solid var(--border-soft);box-shadow:0 20px 50px rgba(0,0,0,.28)}.profileV3Hero{padding:clamp(20px,3vw,34px)}.profileV3HeroTop{display:flex;align-items:center;justify-content:space-between;gap:24px}.profileV3Identity{display:flex;align-items:center;gap:20px;min-width:0}.profileV3Identity img{width:clamp(100px,13vw,155px);height:clamp(100px,13vw,155px);object-fit:cover;background:#111;border:3px solid var(--club-gold)}.profileV3Identity span,.profileV3Heading>span,.profileV3FocusGrid>article>span,.profileV3Training>div>span{color:var(--club-gold);font-size:10px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.profileV3Identity h1{margin:5px 0;font-size:clamp(34px,5vw,62px);line-height:.95;text-transform:uppercase}.profileV3Identity p{margin:8px 0 0;font-weight:700}.profileV3Rating{display:flex;flex:0 0 132px;height:132px;align-items:center;justify-content:center;flex-direction:column;border:4px solid var(--club-gold);border-radius:50%;background:#090909}.profileV3Rating strong{font-size:42px;line-height:1}.profileV3Rating span{margin-top:6px;color:var(--text-muted);font-size:9px;font-weight:900;text-transform:uppercase}.profileV3Rating.excellent{border-color:#31965a}.profileV3Rating.good{border-color:#26979b}.profileV3Rating.solid{border-color:#d58a22}.profileV3Rating.needs-work{border-color:var(--club-red)}.profileV3Selectors{display:flex;gap:10px;margin-top:20px}.profileV3Selectors form{min-width:190px}.profileV3 label{display:grid;gap:5px;color:var(--text-muted);font-size:9px;font-weight:900;text-transform:uppercase}.profileV3 :is(input,select,textarea){width:100%;padding:11px;background:#f2f0eb!important;color:#151515!important;border:1px solid #cbc6bb;border-radius:2px;font:inherit}.profileV3 textarea{min-height:82px;resize:vertical}.profileV3 :is(input,select,textarea):focus{outline:2px solid var(--club-gold);outline-offset:1px}.profileV3 button{min-height:42px;padding:10px 15px;border:0;background:var(--club-red);color:#fff;font-weight:900;cursor:pointer}.profileV3StatStrip{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:1px;margin-top:20px;background:var(--border-soft);border:1px solid var(--border-soft)}.profileV3StatStrip>div{display:flex;min-width:0;flex-direction:column-reverse;gap:5px;padding:13px 9px;background:#101113;text-align:center}.profileV3StatStrip strong{font-size:20px}.profileV3StatStrip span{color:var(--text-muted);font-size:8px;font-weight:900;text-transform:uppercase}.profileV3Section,.profileV3Journey,.profileV3Training,.profileV3Recent,.profileV3Notes{margin-top:18px;padding:clamp(20px,3vw,30px)}.profileV3Heading{margin-bottom:18px}.profileV3Heading h2,.profileV3FocusGrid h2,.profileV3Training h2{margin:4px 0 0;font-size:clamp(23px,3vw,34px);text-transform:uppercase}.profileV3TraitCards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.profileV3TraitCard{padding:20px;background:#0c0d0f;border:1px solid var(--border-soft);border-top:3px solid var(--club-red)}.profileV3TraitCard span{color:var(--text-muted);font-size:10px;font-weight:900;text-transform:uppercase}.profileV3TraitCard strong{display:block;margin:8px 0 5px;font-size:38px}.profileV3TraitCard p{margin:0;font-size:12px;line-height:1.5}.profileV3FocusGrid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:18px}.profileV3FocusGrid>article{padding:26px}.profileV3FocusGrid>article>div{display:flex;align-items:flex-start;gap:11px;padding:12px 0;border-top:1px solid var(--border-soft)}.profileV3FocusGrid b{display:inline-flex;flex:0 0 25px;height:25px;align-items:center;justify-content:center;background:var(--club-red);color:#fff}.profileV3FocusGrid p{margin:2px 0 0;line-height:1.55}.profileV3JourneySummary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;background:var(--border-soft)}.profileV3JourneySummary>div{display:flex;flex-direction:column-reverse;gap:5px;padding:15px;background:#101113}.profileV3JourneySummary strong{font-size:24px}.profileV3JourneySummary span{color:var(--text-muted);font-size:9px;font-weight:900;text-transform:uppercase}.profileV3JourneyGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:14px}.profileV3JourneyGrid>article{min-width:0;padding:18px;background:#0c0d0f;border:1px solid var(--border-soft)}.profileV3JourneyGrid h3{margin:0 0 14px}.profileV3Trend{display:flex;gap:8px;min-height:90px;overflow-x:auto}.profileV3Trend>div{display:flex;min-width:58px;flex-direction:column;justify-content:flex-end;gap:7px;padding:10px;background:#17181b;border-top:3px solid var(--club-gold);text-align:center}.profileV3Trend span{color:var(--text-muted);font-size:8px}.profileV3MiniTimeline{display:grid;gap:9px;max-height:190px;overflow-y:auto}.profileV3MiniTimeline>div{display:grid;gap:3px;padding-left:12px;border-left:2px solid var(--club-gold)}.profileV3MiniTimeline time,.profileV3MiniTimeline small{color:var(--text-muted);font-size:9px}.profileV3Training{display:grid;grid-template-columns:240px minmax(0,1fr);gap:24px;align-items:center}.profileV3Training h2{font-size:60px}.profileV3Training>div>strong{color:var(--club-gold)}.profileV3Training>div>p{margin:8px 0 0;font-size:12px}.profileV3Sessions{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.profileV3Sessions article{display:grid;gap:6px;padding:13px;background:#0d0e10;border:1px solid var(--border-soft)}.profileV3Sessions span{color:var(--text-muted);font-size:9px}.profileV3StatGroups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.profileV3StatGroups>article{padding:18px;background:#0c0d0f;border:1px solid var(--border-soft)}.profileV3StatGroups h3{margin:0 0 13px;padding-bottom:9px;border-bottom:2px solid var(--club-red)}.profileV3StatGroups article>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.profileV3StatGroups article span{display:flex;min-width:0;flex-direction:column-reverse;gap:4px;padding:11px;background:#17181b}.profileV3StatGroups small{font-size:8px;text-transform:uppercase}.profileV3StatGroups span strong{font-size:19px}.profileV3RecentTable{max-width:100%;overflow-x:auto}.profileV3Recent table{width:100%;min-width:1320px;border-collapse:collapse;background:#0b0c0e}.profileV3Recent th,.profileV3Recent td{padding:12px 10px;border-bottom:1px solid var(--border-soft);text-align:left;white-space:nowrap}.profileV3Recent th{background:#191a1d;color:var(--text-muted);font-size:8px;text-transform:uppercase}.profileV3Recent td{color:#fff}.profileV3Recent td:first-child{min-width:220px;white-space:normal}.profileV3Recent td:first-child strong,.profileV3Recent td:first-child small{display:block}.profileV3Recent td:first-child small{margin-top:4px}.profileV3RatingPill{display:inline-flex;min-width:45px;justify-content:center;padding:6px 9px;background:var(--club-red);color:#fff;border-radius:2px;font-weight:900}.profileV3RatingPill.elite{background:var(--club-gold);color:#111}.profileV3RatingPill.excellent{background:#31965a}.profileV3RatingPill.good{background:#267f83}.profileV3RatingPill.solid{background:#bd7419}.profileV3MatchCards{display:none}.profileV3NoteForm,.profileV3NoteEdit{display:grid;grid-template-columns:150px minmax(180px,.6fr) minmax(260px,1.4fr) auto;gap:9px;margin-bottom:16px}.profileV3NoteGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.profileV3NoteGrid>article{padding:17px;background:#101113;border:1px solid var(--border-soft);border-left:3px solid var(--club-gold)}.profileV3NoteGrid time{display:block;margin-bottom:9px;color:var(--club-gold);font-size:10px;font-weight:900;text-transform:uppercase}.profileV3NoteGrid h3{margin:0 0 7px}.profileV3NoteGrid p{margin:0;line-height:1.6}.profileV3Delete{text-align:right}.profileV3Delete button{min-height:34px;margin-top:7px;padding:6px 10px;background:#64141a}
@media(max-width:1050px){.profileV3StatStrip{grid-template-columns:repeat(5,minmax(0,1fr))}.profileV3Sessions{grid-template-columns:repeat(3,minmax(0,1fr))}.profileV3StatGroups article>div{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.profileV3{width:calc(100% - 16px);margin-top:14px}.profileV3HeroTop{align-items:flex-start;flex-direction:column}.profileV3Identity{align-items:flex-start;flex-direction:column}.profileV3Identity img{width:110px;height:110px}.profileV3Rating{width:105px;height:105px;flex-basis:105px}.profileV3Rating strong{font-size:34px}.profileV3Selectors{flex-direction:column}.profileV3Selectors form{width:100%}.profileV3StatStrip{grid-template-columns:repeat(3,minmax(0,1fr))}.profileV3TraitCards{grid-template-columns:repeat(2,minmax(0,1fr))}.profileV3FocusGrid,.profileV3JourneyGrid,.profileV3Training,.profileV3StatGroups{grid-template-columns:1fr}.profileV3JourneySummary{grid-template-columns:repeat(2,minmax(0,1fr))}.profileV3Sessions{grid-template-columns:repeat(2,minmax(0,1fr))}.profileV3NoteForm,.profileV3NoteEdit{grid-template-columns:1fr}.profileV3NoteGrid{grid-template-columns:1fr}.profileV3RecentTable{display:none}.profileV3MatchCards{display:grid;gap:10px}.profileV3MatchCard{padding:16px;background:#0d0e10;border:1px solid var(--border-soft);border-left:3px solid var(--club-red)}.profileV3MatchCard h3{margin:0}.profileV3MatchCard p{margin:5px 0 14px;font-size:12px}.profileV3MatchCard dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:0}.profileV3MatchCard dl>div{padding:10px;background:#17181b}.profileV3MatchCard dt{font-size:8px;font-weight:900;text-transform:uppercase}.profileV3MatchCard dd{margin:5px 0 0;font-weight:900}}
.profileV3 .profileV3Hero{border-radius:22px!important;background:linear-gradient(118deg,#0c0d0f,#171012 65%,var(--club-red-dark))!important}.profileV3 .profileTop{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}.profileV3 .profileIdentity{display:flex;align-items:center;gap:20px;flex-wrap:wrap}.profileV3 .profileHeroPic,.profileV3 .profileFallback{width:120px;height:120px;flex:0 0 auto;border:4px solid rgba(255,255,255,.25);border-radius:50%;background:#222}.profileV3 .profileHeroPic{object-fit:cover}.profileV3 .profileFallback{display:flex;align-items:center;justify-content:center;color:#fff;font-size:52px;font-weight:900}.profileV3 .playerName{margin:0;font-size:42px;font-weight:900;line-height:1.05}.profileV3 .playerMeta{margin-top:6px;color:#fff;opacity:.9;font-size:16px}.profileV3 .profileSelect{max-width:360px;margin-top:12px}.profileV3 .profileSelect select{min-height:44px;background:#090a0b!important;color:#fff!important;border:1px solid rgba(255,255,255,.2)!important}.profileV3 .ratingCircle{display:flex;flex:0 0 120px;width:120px;height:120px;min-width:120px;min-height:120px;align-items:center;justify-content:center;flex-direction:column;border:2px solid var(--club-gold);border-radius:50%;background:#0a0b0d;color:#fff}.profileV3 .ratingNumber{font-size:42px;font-weight:900;line-height:1}.profileV3 .ratingLabel{margin-top:6px;color:var(--club-gold);font-size:10px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.profileV3 .quickStats.profileV3StatStrip{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));margin-top:20px}.profileV3 .quickStat{display:flex;min-width:0;flex-direction:column;gap:5px;padding:17px;text-align:center}.profileV3 .quickStat strong{font-size:20px}.profileV3 .profileV3JourneyGrid>article{min-width:0;overflow:hidden}.profileV3 .profileV3BarChart{display:flex;width:100%;max-width:100%;height:220px;align-items:flex-end;gap:10px;padding:4px 4px 8px;overflow-x:auto;overflow-y:hidden;overscroll-behavior-inline:contain}.profileV3 .profileV3BarChart>div{display:grid;flex:0 0 44px;grid-template-rows:20px 160px 18px;align-items:end;justify-items:center;gap:5px;min-width:0}.profileV3 .profileV3BarChart strong{font-size:11px}.profileV3 .profileV3BarChart span{max-width:44px;overflow:hidden;color:var(--text-muted);font-size:9px;text-overflow:ellipsis;white-space:nowrap}.profileV3 .profileV3BarTrack{position:relative;display:block;width:24px;height:160px;overflow:hidden;background:#191a1d;border:1px solid var(--border-soft);border-radius:2px}.profileV3 .profileV3BarTrack b{position:absolute;right:0;bottom:0;left:0;height:var(--bar-height);max-height:100%;background:linear-gradient(180deg,var(--club-red),var(--club-red-dark));border-top:2px solid var(--club-gold)}
.profileV3 .profileV3Rating.default{border-color:rgba(255,255,255,.22)!important;background:#151619!important;color:#fff!important}.profileV3 .profileV3Rating.high{border-color:var(--club-gold)!important;background:var(--club-gold)!important;color:#111!important}.profileV3 .profileV3Rating.low{border-color:var(--club-red)!important;background:var(--club-red)!important;color:#fff!important}.profileV3 .profileV3Rating.high .ratingNumber,.profileV3 .profileV3Rating.high .ratingLabel{color:#111!important}.profileV3 .profileV3Rating.low .ratingNumber,.profileV3 .profileV3Rating.low .ratingLabel,.profileV3 .profileV3Rating.default .ratingNumber{color:#fff!important}.profileV3 .profileV3RatingPill{background:#222429;color:#fff;border:1px solid rgba(255,255,255,.12)}.profileV3 .profileV3RatingPill.high{background:var(--club-gold);color:#111;border-color:var(--club-gold)}.profileV3 .profileV3RatingPill.low{background:var(--club-red);color:#fff;border-color:var(--club-red)}.profileV3 .profileV3Recent table{min-width:1060px}.profileV3 .profileV3Recent th,.profileV3 .profileV3Recent td{padding:13px 11px}.profileV3 .profileV3MatchCard dl{grid-template-columns:repeat(4,minmax(0,1fr))}
.profileV3 .profileV3MatchLink{display:block;color:inherit;text-decoration:none;cursor:pointer;transition:color .18s ease}.profileV3 .profileV3MatchLink:hover,.profileV3 .profileV3MatchLink:focus-visible{color:var(--club-gold)}.profileV3 .profileV3MatchLink:focus-visible{outline:2px solid var(--club-gold);outline-offset:4px}.profileV3 .profileV3MatchCard{color:inherit;text-decoration:none;cursor:pointer;transition:transform .18s ease,border-color .18s ease,background .18s ease}.profileV3 .profileV3MatchCard:hover,.profileV3 .profileV3MatchCard:focus-visible{transform:translateY(-2px);border-color:rgba(212,175,90,.58);background:#131417}.profileV3 .profileV3MatchCard:focus-visible{outline:2px solid var(--club-gold);outline-offset:2px}
@media(max-width:760px){.profileV3 .profileHeroPic,.profileV3 .profileFallback{width:86px;height:86px}.profileV3 .profileFallback{font-size:38px}.profileV3 .playerName{font-size:32px}.profileV3 .playerMeta{font-size:14px}.profileV3 .ratingCircle{flex-basis:90px;width:90px;height:90px;min-width:90px;min-height:90px}.profileV3 .ratingNumber{font-size:32px}.profileV3 .quickStats.profileV3StatStrip{grid-template-columns:repeat(2,minmax(0,1fr))}.profileV3 .profileV3BarChart{height:210px}.profileV3 .profileV3BarChart>div{grid-template-rows:20px 150px 18px}.profileV3 .profileV3BarTrack{height:150px}.profileV3 .profileV3MatchCard dl{grid-template-columns:repeat(2,minmax(0,1fr))}.profileV3 .profileV3Recent{overflow:visible}}

/* Coach Profile Settings and Specialisms */
.coachSettingsPage{width:min(1120px,calc(100% - 28px));margin:24px auto 60px;color:#fff}.coachSettingsHero{display:flex;align-items:center;justify-content:space-between;gap:22px}.coachSettingsHero h1{margin:6px 0;font-size:clamp(34px,5vw,58px);line-height:.95;text-transform:uppercase}.coachSettingsHero p{max-width:720px;color:var(--text-muted);font-weight:700}.coachSettingsHero img{width:124px;height:124px;object-fit:cover;border:4px solid rgba(255,255,255,.25);border-radius:50%;background:#111}.coachSettingsCard{display:grid;gap:16px;margin-top:16px;padding:22px;background:linear-gradient(145deg,var(--panel-bg-soft),var(--panel-bg));border:1px solid var(--border-soft);border-radius:3px;box-shadow:0 16px 38px rgba(0,0,0,.22)}.coachSettingsCard h2{margin:0;color:#fff;text-transform:uppercase}.coachSettingsCard label{display:grid;gap:6px;color:var(--text-muted);font-size:10px;font-weight:900;text-transform:uppercase}.coachSettingsCard :is(input,select,textarea){box-sizing:border-box;width:100%;padding:12px;background:#090a0b;color:#fff;border:1px solid rgba(255,255,255,.14);border-radius:2px;font:inherit}.coachSettingsCard input[readonly]{color:var(--text-muted);background:#151619}.coachSettingsCard textarea{min-height:110px;resize:vertical;line-height:1.5}.coachSettingsCard button{justify-self:start;min-height:44px;border:0;background:var(--club-red);color:#fff;font-weight:900;padding:11px 16px;cursor:pointer}.coachSettingsGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.coachSettingsNotice{margin:14px 0;padding:13px 15px;border-radius:3px;font-weight:900}.coachSettingsNotice.success{background:#dcfce7;color:#166534}.coachSettingsNotice.error{background:#fee2e2;color:#991b1b}.coachSwitch{max-width:520px}.coachProfile .coachProfileEditButton{align-self:flex-start;background:var(--club-red);color:#fff!important;text-decoration:none;font-weight:900;padding:12px 16px;border-radius:2px}.profileV3 .quickStats.coachProfileStrip{grid-template-columns:repeat(4,minmax(0,1fr))}.coachProfileInfo article p{line-height:1.6}.coachQualificationGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:12px}.coachQualificationGrid article{display:grid;gap:8px;padding:18px;background:#101113;border:1px solid var(--border-soft);border-left:3px solid var(--club-gold)}.coachQualificationGrid span{color:var(--club-gold);font-size:9px;font-weight:900;text-transform:uppercase}.coachQualificationGrid strong{line-height:1.35}.coach-specialisms-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px;margin:0;padding:16px;border:1px solid var(--border-soft);background:#0d0e10}.coach-specialisms-grid legend{padding:0 8px;color:var(--club-gold);font-size:10px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.coach-specialism-check{display:flex!important;align-items:center;gap:10px;min-width:0;padding:12px;background:#141518!important;color:#fff!important;border:1px solid rgba(255,255,255,.12);border-radius:2px;font-size:12px!important;font-weight:800!important;line-height:1.35;text-transform:none!important;cursor:pointer}.coach-specialism-check span{min-width:0;color:#fff!important;overflow-wrap:anywhere}.coachSettingsCard .coach-specialism-check input{width:18px!important;height:18px;min-height:18px;flex:0 0 18px;margin:0;padding:0;background:#090a0b;accent-color:var(--club-red)}.coach-specialism-badges{display:flex;flex-wrap:wrap;gap:10px}.coach-specialism-badge{display:inline-flex;align-items:center;max-width:100%;min-height:34px;padding:8px 11px;background:#231416;color:#fff;border:1px solid rgba(212,175,90,.55);border-left:3px solid var(--club-gold);border-radius:999px;font-size:12px;font-weight:900;line-height:1.25;overflow-wrap:anywhere}.coachSpecialisms p{margin:0}@media(max-width:760px){.profileV3 .quickStats.coachProfileStrip{grid-template-columns:repeat(2,minmax(0,1fr))}.coach-specialisms-grid{grid-template-columns:1fr}.coach-specialism-badge{font-size:11px}}@media(max-width:720px){.coachSettingsPage{width:calc(100% - 16px)}.coachSettingsHero{align-items:flex-start;flex-direction:column}.coachSettingsHero img{width:92px;height:92px}.coachSettingsGrid{grid-template-columns:1fr}}

/* Coach Season Review */
.coach-season-review-page .wrap{width:min(1280px,calc(100% - 28px));margin:0 auto;padding:24px 0 60px}.coachReviewHero,.coachReviewPanel,.coachReviewSnapshot article{background:linear-gradient(145deg,#151619,#0b0c0e);border:1px solid var(--border-soft);box-shadow:0 20px 50px rgba(0,0,0,.28);color:#fff}.coachReviewHero{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;padding:clamp(24px,4vw,42px);background:linear-gradient(118deg,#090a0c,#1b1113 62%,var(--club-red-dark));border-top:3px solid var(--club-red)}.coachReviewHero h1{margin:6px 0;color:#fff;font-size:clamp(36px,5vw,62px);line-height:.95;text-transform:uppercase}.coachReviewHero p{margin:0;color:var(--text-muted);font-weight:800}.coachReviewSeason select{min-width:210px;padding:12px;background:#090a0b;color:#fff;border:1px solid rgba(255,255,255,.18);border-radius:2px;font-weight:900}.coachReviewTabs{display:flex;gap:8px;margin:14px 0;overflow-x:auto}.coachReviewTabs a{flex:0 0 auto;padding:10px 15px;background:#111214;color:var(--text-muted);border:1px solid var(--border-soft);border-radius:2px;font-weight:900;text-decoration:none}.coachReviewTabs a.active{background:var(--club-red);border-color:var(--club-red);color:#fff}.coachReviewGrid{display:grid;gap:10px}.coachReviewSnapshot{grid-template-columns:repeat(auto-fit,minmax(145px,1fr));margin-bottom:16px}.coachReviewSnapshot article{display:flex;min-height:86px;flex-direction:column-reverse;justify-content:center;gap:6px;padding:15px;background:#101113}.coachReviewSnapshot span,.coachReviewHeading span,.coachReviewStory>span,.coachReviewInsightGrid span,.coachReviewPriorityGrid span,.coachReviewExtremeGrid span,.coachReviewMonthHighlights span{color:var(--club-gold);font-size:9px;font-weight:900;letter-spacing:.09em;text-transform:uppercase}.coachReviewSnapshot strong{color:#fff;font-size:24px}.coachReviewPanel{margin-top:16px;padding:clamp(20px,3vw,28px)}.coachReviewStory h2,.coachReviewHeading h2{margin:5px 0 0;color:#fff;font-size:clamp(24px,3vw,36px);text-transform:uppercase}.coachReviewStory p{max-width:1050px;color:#e9e6df;font-size:16px;font-weight:750;line-height:1.7}.coachReviewHeading{margin-bottom:16px}.coachReviewMonthHighlights,.coachReviewExtremeGrid,.coachReviewCompare,.coachReviewPlayerGrid,.coachReviewInsightGrid,.coachReviewPriorityGrid{display:grid;gap:12px}.coachReviewMonthHighlights{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:14px}.coachReviewMonthHighlights article,.coachReviewExtremeGrid article,.coachReviewCompare article,.coachReviewPlayerGrid article,.coachReviewInsightGrid article,.coachReviewPriorityGrid article{min-width:0;padding:18px;background:#101113;border:1px solid var(--border-soft);border-left:3px solid var(--club-red)}.coachReviewMonthHighlights strong,.coachReviewExtremeGrid strong,.coachReviewPriorityGrid strong{display:block;margin-top:7px;color:#fff;font-size:22px}.coachReviewMonthHighlights p,.coachReviewExtremeGrid p,.coachReviewInsightGrid p,.coachReviewPriorityGrid p,.coachReviewEmpty{color:var(--text-muted);line-height:1.55}.coachReviewTableWrap{overflow-x:auto;border:1px solid var(--border-soft)}.coachReviewTableWrap table{width:100%;min-width:820px;border-collapse:collapse;background:#0d0e10;color:#fff}.coachReviewTableWrap th,.coachReviewTableWrap td{padding:12px;border-bottom:1px solid var(--border-soft);text-align:left}.coachReviewTableWrap th{background:#18191c;color:var(--text-muted);font-size:9px;text-transform:uppercase}.coachReviewExtremeGrid{grid-template-columns:repeat(auto-fit,minmax(215px,1fr))}.coachReviewCompare{grid-template-columns:repeat(2,minmax(0,1fr))}.coachReviewCompare h3,.coachReviewPlayerGrid h3{margin:0 0 12px;color:#fff;text-transform:uppercase}.coachReviewCompare article>div,.coachReviewPlayerRow{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid var(--border-soft)}.coachReviewCompare article>div:first-of-type,.coachReviewPlayerRow:first-of-type{border-top:0}.coachReviewCompare span,.coachReviewPlayerRow small{color:var(--text-muted);font-size:11px;font-weight:900;text-transform:uppercase}.coachReviewCompare strong,.coachReviewPlayerRow strong{color:#fff;text-align:right}.coachReviewPlayerGrid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}.coachReviewPlayerRow span{min-width:0;color:#fff;font-weight:900}.coachReviewPlayerRow small{display:block;margin-top:3px}.coachReviewPlayerRow b{color:var(--club-gold)}.coachReviewInsightGrid{grid-template-columns:repeat(auto-fit,minmax(245px,1fr))}.coachReviewInsightGrid article{border-left-color:var(--club-gold)}.coachReviewPriorityGrid{grid-template-columns:repeat(3,minmax(0,1fr))}.coachReviewPriorityGrid article{border-top:3px solid var(--club-gold)}@media(max-width:820px){.coachReviewHero{align-items:flex-start;flex-direction:column}.coachReviewSeason,.coachReviewSeason select{width:100%}.coachReviewMonthHighlights,.coachReviewCompare,.coachReviewPriorityGrid{grid-template-columns:1fr}}@media(max-width:520px){.coach-season-review-page .wrap{width:calc(100% - 16px);padding-top:14px}.coachReviewSnapshot{grid-template-columns:repeat(2,minmax(0,1fr))}.coachReviewPanel{padding:18px}.coachReviewPlayerRow{align-items:flex-start;flex-direction:column}.coachReviewPlayerRow strong{text-align:left}}
.coachReviewSnapshot article.stat-positive{background:linear-gradient(145deg,rgba(212,175,90,.16),#101113);border-color:rgba(212,175,90,.48);box-shadow:0 20px 50px rgba(212,175,90,.08)}
.coachReviewSnapshot article.stat-positive strong{color:var(--club-gold)}
.coachReviewSnapshot article.stat-negative{background:linear-gradient(145deg,rgba(193,18,31,.18),#101113);border-color:rgba(193,18,31,.5);box-shadow:0 20px 50px rgba(193,18,31,.08)}
.coachReviewSnapshot article.stat-negative strong{color:#ffb4b9}
.coachReviewTableWrap table{min-width:1180px}

/* Rule-based player and team season summaries */
.seasonNarrative{width:min(1280px,calc(100% - 28px));margin:18px auto 0;padding:clamp(22px,3vw,34px);box-sizing:border-box;background:linear-gradient(145deg,#111214,#0b0c0e);border:1px solid var(--border-soft);border-top:3px solid var(--club-red);box-shadow:0 20px 50px rgba(0,0,0,.26);color:#fff}.profileV3>.seasonNarrative,.teamOverviewPage>.seasonNarrative{width:100%}.seasonNarrativeHeader span,.seasonNarrativeIdentity>span{color:var(--club-gold);font-size:10px;font-weight:900;letter-spacing:.13em;text-transform:uppercase}.seasonNarrativeHeader h2{margin:5px 0 0;color:#fff;font-size:clamp(25px,3vw,38px);text-transform:uppercase}.seasonNarrativeOverview{max-width:1050px;margin:20px 0 0;color:#e9e6df;font-size:clamp(15px,1.4vw,18px);font-weight:700;line-height:1.7}.seasonNarrativeIdentity{margin-top:20px;padding:17px 19px;background:#17181b;border-left:3px solid var(--club-gold)}.seasonNarrativeIdentity p{margin:7px 0 0;color:#e1ddd5;line-height:1.65}.seasonNarrativeColumns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:20px}.seasonNarrativeColumns>div{padding:20px;background:#0c0d0f;border:1px solid var(--border-soft)}.seasonNarrative h3{margin:0 0 13px;color:#fff;font-size:16px;text-transform:uppercase}.seasonNarrativeColumns ul{display:grid;gap:11px;margin:0;padding:0;list-style:none}.seasonNarrativeColumns li{position:relative;padding-left:20px;color:var(--text-muted);line-height:1.55}.seasonNarrativeColumns li:before{content:"";position:absolute;left:0;top:.62em;width:7px;height:7px;background:var(--club-red);border:1px solid var(--club-gold)}.seasonNarrativeNumbers{margin-top:20px}.seasonNarrativeNumbers>div{display:grid;grid-template-columns:repeat(auto-fit,minmax(118px,1fr));gap:1px;background:var(--border-soft);border:1px solid var(--border-soft)}.seasonNarrativeNumbers span{display:flex;min-width:0;min-height:78px;flex-direction:column-reverse;justify-content:center;gap:6px;padding:12px 9px;background:#151619;text-align:center}.seasonNarrativeNumbers small{color:var(--text-muted);font-size:8px;font-weight:900;line-height:1.3;text-transform:uppercase}.seasonNarrativeNumbers strong{color:#fff;font-size:20px}.seasonNarrativeCompact{margin-top:18px}.seasonNarrativeCompact .seasonNarrativeOverview{font-size:16px}
@media(max-width:1000px){.seasonNarrativeNumbers>div{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:700px){.seasonNarrative{width:calc(100% - 16px);padding:20px 16px}.seasonNarrativeColumns{grid-template-columns:1fr}.seasonNarrativeNumbers>div{grid-template-columns:repeat(2,minmax(0,1fr))}.seasonNarrativeNumbers span{min-height:70px}.seasonNarrativeOverview{font-size:15px}.seasonNarrativeIdentity{padding:15px}}

/* Dashboard response summaries and player account login cards */
.academyDashboard .responseEventMeta{display:grid;gap:3px;margin:0 0 14px}.academyDashboard .responseEventMeta strong{color:var(--text-main)}.academyDashboard .responseEventMeta span{color:var(--text-muted);font-size:14px}.academyDashboard .responseDetailLink{display:inline-flex;align-items:center;justify-content:center;min-height:42px;margin-top:16px;padding:0 14px;background:var(--club-red);border:1px solid rgba(255,255,255,.12);border-radius:2px;color:#fff !important;font-size:11px;font-weight:900;letter-spacing:.07em;text-transform:uppercase;text-decoration:none}.academyDashboard .responseDetailLink:hover{background:var(--club-red-dark);border-color:rgba(212,175,90,.5)}
.phase8-player-accounts .accountGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:16px}.phase8-player-accounts .accountCard{display:grid;gap:9px}.phase8-player-accounts .accountCard input{box-sizing:border-box;width:100%;padding:10px;margin:3px 0 0}.phase8-player-accounts .accountCard button{justify-self:start;padding:11px 14px}.phase8-player-accounts .accountMessage{width:min(1180px,calc(100% - 32px));margin:0 auto 16px;padding:16px}.phase8-player-accounts .tempPassword{font-size:20px;font-weight:900;letter-spacing:1px}.phase8-player-accounts .accountStatus{font-size:13px;line-height:1.45;color:var(--text-muted) !important}
@media(max-width:620px){.phase8-player-accounts .accountMessage{width:calc(100% - 24px)}.academyDashboard .responseDetailLink{width:100%}}
/* Pitch-side training attendance workflow */
.academyDashboard .attendanceLaunchCard{border-left:3px solid var(--club-red)}.academyDashboard .attendanceLaunchActions{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;margin-top:16px}.academyDashboard .attendanceLogButton{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 18px;background:var(--club-red);border:1px solid rgba(212,175,90,.44);border-radius:2px;color:#fff!important;font-size:12px;font-weight:900;letter-spacing:.08em;text-decoration:none;text-transform:uppercase}.academyDashboard .attendanceLogButton:hover{background:var(--club-red-dark);border-color:var(--club-gold)}.academyDashboard .attendanceLaunchActions .responseDetailLink{margin-top:0;white-space:nowrap}
.phase6-training .selectedAttendanceCard:focus{outline:2px solid var(--club-gold);outline-offset:4px}.phase6-training .quickAttendanceHeading{display:none}
@media(max-width:760px){.academyDashboard .attendanceLaunchActions{grid-template-columns:1fr}.academyDashboard .attendanceLaunchActions .responseDetailLink{width:100%}.phase6-training.session-focus-requested .monthGroup:not(.contains-selected){display:none}.phase6-training.session-focus-requested .sessionList{margin-bottom:8px}.phase6-training .selectedAttendanceCard{scroll-margin-top:14px}.phase6-training .quickAttendanceHeading{display:grid;gap:4px;margin:4px 0 14px;padding:13px 14px;background:rgba(193,18,31,.16);border:1px solid rgba(212,175,90,.34);border-left:3px solid var(--club-gold)}.phase6-training .quickAttendanceHeading strong{color:#fff;text-transform:uppercase;letter-spacing:.06em}.phase6-training .quickAttendanceHeading span{color:var(--text-muted);font-size:13px}.phase6-training .attendanceTable,.phase6-training .attendanceTable tbody,.phase6-training .attendanceTable tr,.phase6-training .attendanceTable td{display:block;min-width:0!important;width:100%}.phase6-training .attendanceTable{background:transparent!important}.phase6-training .attendanceTable thead{display:none}.phase6-training .attendanceTable tbody{display:grid;gap:12px}.phase6-training .attendanceTable .attendanceRow{padding:13px;background:#101113;border:1px solid var(--border-soft);border-left:3px solid var(--club-red);border-radius:2px}.phase6-training .attendanceTable td{display:grid!important;grid-template-columns:92px minmax(0,1fr);align-items:center;gap:10px;padding:9px 0!important;border:0!important;background:transparent!important;color:#fff!important}.phase6-training .attendanceTable td::before{content:attr(data-label);color:var(--text-muted);font-size:10px;font-weight:900;letter-spacing:.07em;text-transform:uppercase}.phase6-training .attendanceTable td:first-child{padding-top:0!important}.phase6-training .attendanceTable td:first-child strong{font-size:17px}.phase6-training .attendanceTable td:last-child{padding-bottom:0!important}.phase6-training .attendanceTable .statusPill,.phase6-training .attendanceTable .notesInput{width:100%;min-height:42px;box-sizing:border-box}.phase6-training .attendanceTable small{color:var(--text-muted)}.phase6-training .attendanceTable [data-label="Player RSVP"] strong{color:var(--club-gold)}.phase6-training .attendanceTable+br{display:none}.phase6-training .attendanceTable~.btn{width:100%;min-height:48px;margin-top:16px}}
/* Mobile quick-mark attendance controls */
.phase6-training .quickStatusButtons{display:none}.phase6-training .attendanceSaveBar{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-top:18px}.phase6-training .attendanceDirtyIndicator{display:none;color:var(--club-gold);font-size:11px;font-weight:900;letter-spacing:.06em;text-transform:uppercase}.phase6-training .attendanceForm.hasUnsavedChanges .attendanceDirtyIndicator{display:inline}
@media(max-width:760px){.phase6-training .attendanceForm{padding-bottom:82px}.phase6-training .attendanceTable td[data-label="Status"]{align-items:start}.phase6-training .attendanceTable td[data-label="Status"]>.statusPill{display:none}.phase6-training .quickStatusButtons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;width:100%}.phase6-training .quickStatusButton{min-height:42px;padding:8px 6px;background:#202226;border:1px solid rgba(255,255,255,.14);border-radius:2px;color:#fff;font:inherit;font-size:11px;font-weight:900;line-height:1.1;text-transform:uppercase}.phase6-training .quickStatusButton.active{background:var(--club-red);border-color:var(--club-gold);box-shadow:inset 0 0 0 1px rgba(255,255,255,.14)}.phase6-training .quickStatusButton:active{transform:translateY(1px)}.phase6-training .quickStatusButton[data-status="excused"].active{background:#24506a}.phase6-training .quickStatusButton[data-status="no_show"].active{background:#5e1d25}.phase6-training .attendanceTable td[data-label="Notes"]{align-items:start}.phase6-training .attendanceTable td[data-label="Notes"]::before{padding-top:12px}.phase6-training .attendanceSaveBar{position:fixed;z-index:50;right:0;bottom:0;left:0;display:grid;grid-template-columns:1fr auto;align-items:center;gap:10px;margin:0;padding:10px 12px calc(10px + env(safe-area-inset-bottom));background:rgba(9,10,11,.97);border-top:1px solid rgba(212,175,90,.4);box-shadow:0 -10px 28px rgba(0,0,0,.34)}.phase6-training .attendanceSaveBar .btn{width:auto!important;min-width:154px;min-height:46px;margin:0!important}.phase6-training .attendanceDirtyIndicator{color:var(--club-gold);font-size:10px;line-height:1.25}.phase6-training .attendanceForm:not(.hasUnsavedChanges) .attendanceDirtyIndicator{display:none}}
/* Official Presentation Day honours board */
.phase7-parent-highlights .official-awards-section{position:relative;overflow:hidden;margin:0 0 22px;padding:clamp(20px,3vw,30px);background:radial-gradient(circle at 88% 8%,rgba(212,175,90,.14),transparent 28%),linear-gradient(118deg,#101114,#1b1113 58%,#100d09);border:1px solid rgba(212,175,90,.48);border-top:3px solid var(--club-red);border-radius:12px;box-shadow:0 24px 56px rgba(0,0,0,.34)}.phase7-parent-highlights .official-awards-section:before{content:"";position:absolute;inset:0 auto 0 0;width:5px;background:linear-gradient(var(--club-red),var(--club-gold),transparent)}.phase7-parent-highlights .official-awards-header{position:relative;z-index:1;max-width:720px;margin-bottom:20px}.phase7-parent-highlights .official-awards-header>span{display:block;color:var(--club-gold);font-size:10px;font-weight:900;letter-spacing:.14em;text-transform:uppercase}.phase7-parent-highlights .official-awards-header h2{margin:7px 0;color:#fff;font-size:clamp(26px,4vw,40px);line-height:1;text-transform:uppercase}.phase7-parent-highlights .official-awards-header p{margin:0;color:#e1ddd5;font-size:15px;font-weight:700;line-height:1.5}.phase7-parent-highlights .official-awards-grid{position:relative;z-index:1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.phase7-parent-highlights .official-award-card{position:relative;display:flex;min-width:0;min-height:230px;flex-direction:column;padding:18px;background:linear-gradient(155deg,rgba(255,255,255,.07),rgba(10,11,12,.84));border:1px solid rgba(212,175,90,.35);border-radius:10px;box-shadow:inset 0 1px 0 rgba(255,255,255,.07),0 14px 30px rgba(0,0,0,.22);overflow:hidden}.phase7-parent-highlights .official-award-card:after{content:"";position:absolute;right:-32px;bottom:-42px;width:115px;height:115px;border:1px solid rgba(212,175,90,.16);border-radius:50%;pointer-events:none}.phase7-parent-highlights .official-award-accent{position:absolute;top:0;right:18px;left:18px;height:3px;background:linear-gradient(90deg,var(--club-red),var(--club-gold),transparent)}.phase7-parent-highlights .official-award-icon{display:grid;place-items:center;width:46px;height:46px;margin-bottom:15px;border:1px solid rgba(212,175,90,.58);border-radius:12px;background:linear-gradient(145deg,rgba(212,175,90,.23),rgba(88,62,14,.18));font-size:25px;filter:drop-shadow(0 5px 10px rgba(0,0,0,.32))}.phase7-parent-highlights .official-award-title{min-height:38px;margin:0 0 15px;color:var(--club-gold);font-size:14px;line-height:1.3;text-transform:uppercase}.phase7-parent-highlights .official-award-player{display:flex;align-items:center;gap:10px;min-width:0}.phase7-parent-highlights .official-award-player img{width:48px;height:48px;flex:0 0 48px;object-fit:cover;border:2px solid var(--club-gold);border-radius:50%;background:#202226}.phase7-parent-highlights .official-award-player strong{display:block;overflow:hidden;color:#fff;font-size:19px;text-overflow:ellipsis;white-space:nowrap}.phase7-parent-highlights .official-award-player span{display:block;margin-top:3px;color:var(--text-muted);font-size:11px;font-weight:800;text-transform:uppercase}.phase7-parent-highlights .official-award-note{margin:15px 0 0;color:#d7d3ca;font-size:12px;line-height:1.5}.phase7-parent-highlights .official-awards-empty{position:relative;z-index:1;padding:15px 16px;border:1px dashed rgba(212,175,90,.35);border-radius:8px;color:var(--text-muted);background:rgba(0,0,0,.18)}@media(max-width:1000px){.phase7-parent-highlights .official-awards-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.phase7-parent-highlights .official-awards-section{padding:18px}.phase7-parent-highlights .official-awards-grid{grid-template-columns:1fr}.phase7-parent-highlights .official-award-card{min-height:0;padding:16px}.phase7-parent-highlights .official-award-title{min-height:0}.phase7-parent-highlights .official-awards-header h2{font-size:28px}}

/* Coach Season Review V2 prototype */
.coach-season-review-v2 .coachReviewHero{border-radius:12px;border-top:3px solid var(--club-red)}.coach-season-review-v2 .coachReviewTabs{margin-bottom:18px}.coach-season-review-v2 .coachReviewV2Awards{border-color:rgba(212,175,90,.45);background:radial-gradient(circle at 92% 10%,rgba(212,175,90,.16),transparent 30%),linear-gradient(135deg,#17130a,#101114 64%,#1c1214);border-top:3px solid var(--club-red)}.coach-season-review-v2 .coachReviewV2AwardGrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.coach-season-review-v2 .coachReviewV2AwardGrid article{min-width:0;padding:16px;background:linear-gradient(155deg,rgba(255,255,255,.07),rgba(0,0,0,.26));border:1px solid rgba(212,175,90,.32);border-radius:8px}.coach-season-review-v2 .coachReviewV2AwardGrid article>span{display:block;color:var(--club-gold);font-size:11px;font-weight:900;line-height:1.3;text-transform:uppercase}.coach-season-review-v2 .coachReviewV2AwardGrid article>div{display:flex;align-items:center;gap:10px;margin-top:14px}.coach-season-review-v2 .coachReviewV2AwardGrid img{width:44px;height:44px;object-fit:cover;border:2px solid var(--club-gold);border-radius:50%;background:#202226}.coach-season-review-v2 .coachReviewV2AwardGrid strong{display:block;color:#fff;font-size:17px}.coach-season-review-v2 .coachReviewV2AwardGrid small{display:block;margin-top:3px;color:var(--text-muted);font-size:10px;text-transform:uppercase}.coach-season-review-v2 .coachReviewV2AwardGrid p,.coach-season-review-v2 .coachReviewV2Empty{margin:12px 0 0;color:#d8d4ca;font-size:12px;line-height:1.45}.coach-season-review-v2 .coachReviewV2Snapshot{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:18px}.coach-season-review-v2 .coachReviewV2PillarGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.coach-season-review-v2 .coachReviewV2Pillar{padding:18px;background:#101113;border:1px solid var(--border-soft);border-left:3px solid var(--club-red)}.coach-season-review-v2 .coachReviewV2Pillar:nth-child(even){border-left-color:var(--club-gold)}.coach-season-review-v2 .coachReviewV2Pillar h3{margin:0;color:#fff;font-size:18px}.coach-season-review-v2 .coachReviewV2Pillar>p{margin:7px 0 14px;color:var(--text-muted);font-size:13px;line-height:1.45}.coach-season-review-v2 .coachReviewV2Pillar>div{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-top:1px solid var(--border-soft)}.coach-season-review-v2 .coachReviewV2Pillar>div span{color:var(--text-muted);font-size:11px;font-weight:800}.coach-season-review-v2 .coachReviewV2Pillar>div strong{color:#fff;text-align:right}.coach-season-review-v2 .coachReviewV2Trend{border-top:3px solid rgba(212,175,90,.65)}.coach-season-review-v2 .coachReviewV2Action{margin:18px 0 0;padding:15px 17px;background:#17181b;border-left:3px solid var(--club-gold);color:#e4e0d7;line-height:1.6}@media(max-width:900px){.coach-season-review-v2 .coachReviewV2AwardGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.coach-season-review-v2 .coachReviewV2Snapshot{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.coach-season-review-v2 .coachReviewV2AwardGrid,.coach-season-review-v2 .coachReviewV2PillarGrid{grid-template-columns:1fr}.coach-season-review-v2 .coachReviewV2Snapshot{grid-template-columns:repeat(2,minmax(0,1fr))}.coach-season-review-v2 .coachReviewV2AwardGrid article{padding:14px}}
.coach-season-review-v2 .coachReviewV2StoryGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.coach-season-review-v2 .coachReviewV2StoryGrid article{padding:18px;background:#101113;border:1px solid var(--border-soft);border-top:3px solid var(--club-red)}.coach-season-review-v2 .coachReviewV2StoryGrid article:nth-child(2){border-top-color:var(--club-gold)}.coach-season-review-v2 .coachReviewV2StoryGrid span{color:var(--club-gold);font-size:10px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.coach-season-review-v2 .coachReviewV2StoryGrid h3{margin:9px 0;color:#fff;font-size:20px}.coach-season-review-v2 .coachReviewV2StoryGrid p{margin:0;color:#ddd;line-height:1.55}@media(max-width:760px){.coach-season-review-v2 .coachReviewV2StoryGrid{grid-template-columns:1fr}}

/* Cancellation controls and notices */
.cancelledNotice { margin: .65rem 0; padding: .75rem 1rem; border-left: 4px solid #d49b19; background: #fff4d6; color: #171717; border-radius: 6px; }
.cancelledNotice strong { color: #9e1b1b; text-transform: uppercase; letter-spacing: .06em; }
.cancelBtn { background: #a61f1f !important; color: #fff !important; }
.reopenBtn { background: #254e36 !important; color: #fff !important; }
.cancelControl { display: inline-block; position: relative; }
.cancelControl summary { cursor: pointer; list-style: none; }
.cancelControl form { margin-top: .5rem; padding: .75rem; background: #fff; color: #111; border: 1px solid #d4b064; border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.cancelControl input { color: #111; background: #fff; border: 1px solid #777; padding: .45rem; margin: 0 .4rem .4rem 0; }
.teamCalendarEvent.cancelled { opacity: .72; text-decoration: line-through; }

/* Premium cancellation state: shared across admin, calendar and player views. */
.cancelControl{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}.cancelControl summary{display:inline-flex!important;align-items:center;justify-content:center;min-height:38px;padding:0 13px;background:var(--club-red)!important;border:1px solid rgba(212,175,90,.55)!important;border-radius:2px!important;color:#fff!important;font-size:11px;font-weight:900;letter-spacing:.07em;text-transform:uppercase}.cancelControl form{background:#151618!important;color:#fff!important;border:1px solid rgba(212,175,90,.48)!important;border-radius:2px!important;box-shadow:0 12px 28px rgba(0,0,0,.35)!important}.cancelControl input{background:#0d0e10!important;border:1px solid #595b60!important;color:#fff!important}.cancelledNotice,.cancelledEventMessage{display:grid;gap:4px;margin:10px 0;padding:11px 13px;background:linear-gradient(135deg,rgba(117,18,26,.9),rgba(45,13,16,.96))!important;border:1px solid rgba(212,175,90,.55)!important;border-left:4px solid var(--club-red)!important;border-radius:2px!important;color:#fff!important}.cancelledNotice strong,.cancelledEventMessage strong{color:var(--club-gold)!important;font-size:11px;font-weight:900;letter-spacing:.09em;text-transform:uppercase}.cancelledNotice span,.cancelledEventMessage span{color:#fff!important;line-height:1.4}.phase7-player-dashboard .scheduleCard:has(.cancelledEventMessage){border-color:rgba(193,18,31,.75)!important;background:#151214!important}.phase7-player-dashboard .scheduleCard:has(.cancelledEventMessage) .dateTile{border-left-color:var(--club-red)!important;background:#211316!important;color:#fff}.phase7-player-dashboard .scheduleCard:has(.cancelledEventMessage) .eventMeta{color:#c7c8cc!important}
.tournamentLiveLinks{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}.tournamentLiveLinks a,.liveLinkEditor+button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 14px;background:#17191d;border:1px solid rgba(212,175,90,.55);border-left:3px solid var(--club-gold);border-radius:2px;color:#fff!important;font-size:11px;font-weight:900;letter-spacing:.05em;text-decoration:none;text-transform:uppercase}.tournamentLiveLinks a:hover{background:var(--club-red-dark);border-color:var(--club-gold)}.liveLinkEditor{display:grid;grid-template-columns:minmax(140px,.55fr) minmax(0,1fr);gap:8px;margin:8px 0}.phase6-tournament-admin .formHint{color:var(--text-muted);font-size:12px}.phase6-tournament-admin .liveLinkEditor input{background:#090a0b!important;color:#fff!important}@media(max-width:650px){.liveLinkEditor{grid-template-columns:1fr}.tournamentLiveLinks a{width:100%;box-sizing:border-box}}
.tournamentLiveButton{display:flex;margin:10px 0;padding:10px 12px;background:#17191d;border:1px solid rgba(212,175,90,.5);border-left:3px solid var(--club-gold);border-radius:2px;color:#fff!important;font-size:11px;font-weight:900;letter-spacing:.05em;text-decoration:none;text-transform:uppercase}.tournamentLiveButton:hover{background:var(--club-red-dark)}
.tournamentTeamLiveButton{display:flex;align-items:center;justify-content:center;min-height:44px;margin:14px 0;background:#17191d;border:1px solid rgba(212,175,90,.55);border-left:3px solid var(--club-gold);border-radius:2px;color:#fff!important;font-size:11px;font-weight:900;letter-spacing:.05em;text-decoration:none;text-transform:uppercase}.tournamentTeamLiveButton:hover{background:var(--club-red-dark);border-color:var(--club-gold)}@media(max-width:700px){.phase6-tournament-view .tournament-tabs{display:flex!important;overflow-x:auto!important;flex-wrap:nowrap!important;gap:8px;padding:0 2px 8px}.phase6-tournament-view .tournament-tabs a{flex:0 0 auto}.phase6-tournament-view .summary-stats,.phase6-tournament-view .tournament-grid{grid-template-columns:1fr!important}.phase6-tournament-view .tournament-card{padding:15px!important}.phase6-tournament-view .team-title{display:grid;grid-template-columns:1fr;gap:10px}.phase6-tournament-view .team-badge{justify-self:start}.phase6-tournament-view .player-row{grid-template-columns:34px minmax(0,1fr)!important}.phase6-tournament-view .player-tags{grid-column:2;min-width:0}.tournamentTeamLiveButton{width:100%;box-sizing:border-box;text-align:center}}
.phase8-player-accounts .accountLoginLabel{display:block;margin:11px 0 5px;font-weight:800}.phase8-player-accounts .accountCard .secondary{background:#202226}.phase8-player-accounts .accountStatus.isOnline{color:#8ee6a5!important}.phase8-player-accounts .accountStatus.isOffline{color:#9ca3af!important}
.teamCalendarEvent.birthday{border-color:#d28bbd;background:#321a30}.teamCalendarDetail.birthday{border-top-color:#d28bbd}.teamCalendarUpcoming>a:has(+ .birthday){border-color:#d28bbd}

/* Admin fixtures: RSVP and edit panels */
.academy-shell .fixtureListCard .fixtures-list{display:grid;gap:14px}
.academy-shell .fixtureListCard .fixtureListHeader{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:16px}
.academy-shell .fixtureListCard .fixtureListHeader h2{margin:0}
.academy-shell .fixtureListCard .fixtureCompetitionFilter{display:grid;gap:5px;min-width:210px}
.academy-shell .fixtureListCard .fixture-card{border-left:3px solid var(--club-red) !important}
.academy-shell .fixtureListCard .fixture-card.fixture-tournament{border-left-color:var(--club-gold) !important}
.academy-shell .fixtureListCard .fixture-top{display:flex;align-items:center;justify-content:space-between;gap:14px}
.academy-shell .fixtureListCard .fixture-title{font-size:18px;font-weight:900;color:var(--text-main) !important}
.academy-shell .fixtureListCard .fixture-meta{margin-top:4px;color:var(--text-muted) !important;font-size:14px}
.academy-shell .fixtureListCard .fixture-score{font-size:24px;font-weight:900;color:var(--text-main) !important;white-space:nowrap}
.academy-shell .fixtureListCard .workflow-buttons{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.academy-shell .fixtureListCard .workflow-buttons .button{font-size:13px;padding:8px 11px}
.academy-shell .fixtureListCard .fixtureRsvpSummary,
.academy-shell .fixtureListCard .fixture-card>details:not(.fixtureRsvpSummary):not(.cancelControl){margin-top:12px;padding:14px 16px;background:linear-gradient(145deg,#151618,#0d0e10) !important;border:1px solid var(--border-soft) !important;border-radius:3px !important;box-shadow:none !important;color:var(--text-main) !important}
.academy-shell .fixtureListCard .fixtureRsvpSummary{border-left:3px solid var(--club-gold) !important}
.academy-shell .fixtureListCard .fixture-card>details:not(.fixtureRsvpSummary):not(.cancelControl){border-left:3px solid var(--club-red) !important}
.academy-shell .fixtureListCard .fixtureRsvpSummary>summary,
.academy-shell .fixtureListCard .fixture-card>details:not(.fixtureRsvpSummary):not(.cancelControl)>summary{margin:0;color:var(--text-main) !important;cursor:pointer;font-size:11px;font-weight:900;letter-spacing:.07em;text-transform:uppercase}
.academy-shell .fixtureListCard .fixtureRsvpSummary>summary{color:var(--club-gold) !important}
.academy-shell .fixtureListCard .fixtureRsvpSummary p,
.academy-shell .fixtureListCard .fixtureRsvpSummary li{color:var(--text-muted) !important}
.academy-shell .fixtureListCard .fixtureRsvpSummary strong{color:var(--text-main) !important}
.academy-shell .fixtureListCard .fixtureRsvpSummary ul{margin:12px 0 0;padding-left:20px}
.academy-shell .fixtureListCard .fixtureRsvpSummary li+li{margin-top:7px}
.academy-shell .fixtureListCard .edit-form{margin-top:14px;padding:16px !important;background:#101113 !important;color:var(--text-main) !important;border:1px solid var(--border-soft) !important;border-radius:2px !important}
.academy-shell .fixtureListCard .edit-form .form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.academy-shell .fixtureListCard .edit-form .form-grid .full{grid-column:1 / -1}
.academy-shell .fixtureListCard .edit-form label{display:block;margin-bottom:5px;color:var(--text-muted) !important;font-size:10px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.academy-shell .fixtureListCard .edit-form input,
.academy-shell .fixtureListCard .edit-form select{width:100%;box-sizing:border-box;padding:10px;background:#090a0b !important;color:#fff !important;border:1px solid rgba(255,255,255,.16) !important;border-radius:2px !important}
.academy-shell .fixtureListCard .edit-form option{background:#090a0b;color:#fff}
.academy-shell .fixtureListCard .edit-buttons{margin-top:14px}
.academy-shell .fixtureListCard .edit-form button{background:var(--club-red) !important;color:#fff !important;border:1px solid rgba(212,175,90,.5) !important;border-radius:2px !important}
.academy-shell .fixtureListCard .delete-form{margin-top:10px}
@media(max-width:850px){.academy-shell .fixtureListCard .fixtureListHeader{align-items:stretch;flex-direction:column}.academy-shell .fixtureListCard .fixtureCompetitionFilter{min-width:0}.academy-shell .fixtureListCard .edit-form .form-grid{grid-template-columns:1fr}.academy-shell .fixtureListCard .fixture-top{align-items:flex-start}.academy-shell .fixtureListCard .fixture-score{font-size:20px}.academy-shell .fixtureListCard .workflow-buttons .button{flex:1 1 auto;text-align:center}}
.phase7-player-dashboard .latestMatchesCard{
  display:grid;
  gap:14px;
}
.phase7-player-dashboard .latestMatchesHeader{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding-bottom:2px;
}
.phase7-player-dashboard .latestMatchesHeader h2{
  margin:0;
}
.phase7-player-dashboard .latestMatchesList{
  display:grid;
  gap:11px;
}
.phase7-player-dashboard .latestMatchRow{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(92px,auto) auto;
  align-items:center;
  gap:16px;
  padding:15px 16px 15px 18px;
  background:linear-gradient(135deg,#101113,#15171a 72%,#18100f);
  border:1px solid var(--border-soft);
  border-left:3px solid var(--club-red);
  border-radius:4px;
  box-shadow:0 12px 28px rgba(0,0,0,.18);
  transition:transform .18s ease,border-color .18s ease,background .18s ease;
}
.phase7-player-dashboard .latestMatchRow:after{
  content:"";
  position:absolute;
  right:14px;
  top:10px;
  width:28px;
  height:2px;
  background:rgba(212,175,90,.5);
}
.phase7-player-dashboard .latestMatchRow:hover{
  transform:translateY(-1px);
  border-color:rgba(212,175,90,.36);
  background:linear-gradient(135deg,#121416,#17191c 70%,#211416);
}
.phase7-player-dashboard .latestMatchMain strong{
  display:block;
  color:var(--text-main)!important;
  font-size:16px;
  line-height:1.2;
}
.phase7-player-dashboard .latestMatchMain span{
  display:block;
  margin-top:5px;
  color:var(--text-muted)!important;
  font-size:12px;
  font-weight:800;
}
.phase7-player-dashboard .latestMatchResult{
  display:grid;
  justify-items:end;
  gap:6px;
  text-align:right;
}
.phase7-player-dashboard .latestMatchResult strong{
  color:var(--text-main)!important;
  font-size:22px;
  line-height:1;
}
.phase7-player-dashboard .latestMatchBadge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:54px;
  padding:4px 8px;
  border-radius:999px;
  font-size:10px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.06em;
}
.phase7-player-dashboard .latestMatchBadge.win{
  background:rgba(74,130,83,.18);
  color:#9acb9f!important;
  border:1px solid rgba(113,168,120,.28);
}
.phase7-player-dashboard .latestMatchBadge.draw{
  background:rgba(212,175,90,.16);
  color:var(--club-gold)!important;
  border:1px solid rgba(212,175,90,.3);
}
.phase7-player-dashboard .latestMatchBadge.loss{
  background:rgba(139,47,56,.2);
  color:#d88c93!important;
  border:1px solid rgba(160,68,78,.3);
}
.phase7-player-dashboard .latestMatchAction,
.phase7-player-dashboard .latestMatchesFooter a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:34px;
  padding:8px 12px;
  background:var(--club-red);
  color:#fff!important;
  border:1px solid rgba(255,255,255,.08);
  border-radius:2px;
  text-decoration:none;
  font-size:11px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.05em;
  white-space:nowrap;
}
.phase7-player-dashboard .latestMatchAction:hover,
.phase7-player-dashboard .latestMatchesFooter a:hover{
  background:#8f1018;
}
.phase7-player-dashboard .latestMatchesFooter{
  display:flex;
  justify-content:flex-end;
  padding-top:4px;
}
.phase7-player-dashboard .latestMatchesFooter a{
  background:#202226;
  border-color:rgba(212,175,90,.24);
  color:var(--club-gold)!important;
}
.phase7-player-dashboard .latestMatchesFooter a:hover{
  background:#292b30;
}
@media(max-width:720px){
  .phase7-player-dashboard .latestMatchRow{
    grid-template-columns:1fr;
    gap:12px;
    padding:15px;
  }
  .phase7-player-dashboard .latestMatchRow:after{
    right:15px;
    top:11px;
  }
  .phase7-player-dashboard .latestMatchResult{
    justify-items:start;
    text-align:left;
  }
  .phase7-player-dashboard .latestMatchResult strong{
    font-size:24px;
  }
  .phase7-player-dashboard .latestMatchAction,
  .phase7-player-dashboard .latestMatchesFooter a{
    width:100%;
    box-sizing:border-box;
  }
  .phase7-player-dashboard .latestMatchesFooter{
    justify-content:stretch;
  }
}
/* Admin Control Centre */
.admin-control-centre-page .academyDashboard{display:grid;gap:18px}
.admin-control-centre-page .controlHero{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(280px,.85fr);gap:18px;align-items:stretch;padding:28px;border:1px solid var(--border-soft);border-radius:4px;background:linear-gradient(118deg,#090a0b,#171011 62%,var(--club-red-dark));box-shadow:var(--academy-shadow);overflow:hidden;position:relative}
.admin-control-centre-page .controlHero::before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:var(--club-gold)}
.admin-control-centre-page .controlHero h1{margin:6px 0 8px;color:var(--text-main);font-size:clamp(34px,5vw,62px);line-height:.95;text-transform:uppercase;letter-spacing:0}
.admin-control-centre-page .controlHero p{margin:0;color:var(--text-soft);font-size:18px;font-weight:800}
.admin-control-centre-page .controlHeroSummary{display:grid;grid-template-columns:1fr;gap:10px}
.admin-control-centre-page .controlHeroSummary div{padding:15px;background:rgba(8,9,10,.72);border:1px solid rgba(255,255,255,.11);border-radius:3px}
.admin-control-centre-page .controlHeroSummary strong{display:block;color:var(--club-gold);font-size:26px;line-height:1}
.admin-control-centre-page .controlHeroSummary span{display:block;margin-top:6px;color:var(--text-muted);font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.07em}
.admin-control-centre-page .controlPanel{padding:20px;background:linear-gradient(145deg,var(--panel-bg-soft),var(--panel-bg));border:1px solid var(--border-soft);border-radius:3px;box-shadow:0 16px 38px rgba(0,0,0,.22)}
.admin-control-centre-page .controlSectionHead{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:15px}
.admin-control-centre-page .controlSectionHead h2,.admin-control-centre-page .controlLinkedPlayer h2{margin:4px 0 0;color:var(--text-main);font-size:18px;text-transform:uppercase;letter-spacing:.02em}
.admin-control-centre-page .controlSectionHead h2::after,.admin-control-centre-page .controlLinkedPlayer h2::after{content:"";display:block;width:34px;height:2px;margin-top:10px;background:var(--club-red)}
.admin-control-centre-page .controlTextButton{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:0 13px;background:#25272b;border:1px solid rgba(212,175,90,.28);border-radius:2px;color:#fff!important;font-size:10px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;text-decoration:none;white-space:nowrap}
.admin-control-centre-page .controlTextButton:hover{border-color:var(--club-gold);background:#303238}
.admin-control-centre-page .controlTaskList{display:grid;gap:10px}
.admin-control-centre-page .controlTask{display:grid;grid-template-columns:180px minmax(180px,.8fr) minmax(0,1fr);gap:12px;align-items:center;padding:14px 15px;background:linear-gradient(120deg,#0b0c0e,#141518);border:1px solid rgba(255,255,255,.1);border-left:3px solid var(--club-red);border-radius:3px;color:var(--text-main)!important;text-decoration:none;transition:transform .18s,border-color .18s,background .18s}
.admin-control-centre-page .controlTask:hover{transform:translateY(-2px);border-color:rgba(212,175,90,.38);background:linear-gradient(120deg,#101113,#181a1d)}
.admin-control-centre-page .controlTaskPlayer{font-weight:900;color:#fff}
.admin-control-centre-page .controlTaskMain{font-weight:900;color:var(--club-gold)}
.admin-control-centre-page .controlTaskDetail{color:var(--text-muted);font-size:13px;line-height:1.45}
.admin-control-centre-page .controlEmpty{padding:16px;background:#101113;border:1px solid var(--border-soft);border-left:3px solid var(--club-gold);border-radius:3px;color:var(--text-muted);font-weight:800}
.admin-control-centre-page .controlTwoColumn{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:18px;align-items:start}
.admin-control-centre-page .controlHealthGrid{display:grid;gap:10px}
.admin-control-centre-page .controlHealthMetric{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;padding:13px;background:#101113;border:1px solid var(--border-soft);border-radius:3px;color:var(--text-main)!important;text-decoration:none}
.admin-control-centre-page .controlHealthMetric:hover{border-color:rgba(212,175,90,.38)}
.admin-control-centre-page .controlHealthMetric span{color:var(--text-muted);font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.06em}
.admin-control-centre-page .controlHealthMetric strong{color:#fff;font-size:15px}
.admin-control-centre-page .controlHealthMetric progress{grid-column:1/-1;width:100%;height:8px;appearance:none;border:0;border-radius:999px;background:#090a0b;overflow:hidden}
.admin-control-centre-page .controlHealthMetric progress::-webkit-progress-bar{background:#090a0b;border-radius:999px}
.admin-control-centre-page .controlHealthMetric progress::-webkit-progress-value{background:linear-gradient(90deg,var(--club-red),var(--club-gold));border-radius:999px}
.admin-control-centre-page .controlHealthMetric progress::-moz-progress-bar{background:linear-gradient(90deg,var(--club-red),var(--club-gold));border-radius:999px}
.admin-control-centre-page .controlUpcomingGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px}
.admin-control-centre-page .controlUpcomingCard{display:grid;gap:7px;min-height:112px;padding:14px;background:#101113;border:1px solid var(--border-soft);border-top:2px solid var(--club-gold);border-radius:3px;color:var(--text-main)!important;text-decoration:none}
.admin-control-centre-page .controlUpcomingCard:hover{border-color:rgba(212,175,90,.42);transform:translateY(-1px)}
.admin-control-centre-page .controlUpcomingCard span{color:var(--club-gold);font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}
.admin-control-centre-page .controlUpcomingCard strong{font-size:16px;color:#fff}
.admin-control-centre-page .controlUpcomingCard small{color:var(--text-muted);line-height:1.45}
.admin-control-centre-page .controlRsvpBox{margin-top:13px;padding:14px;background:#0b0c0e;border:1px solid var(--border-soft);border-radius:3px}
.admin-control-centre-page .controlRsvpHead{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.admin-control-centre-page .controlRsvpHead strong{display:block;color:#fff}.admin-control-centre-page .controlRsvpHead span{display:block;margin-top:3px;color:var(--text-muted);font-size:13px}
.admin-control-centre-page .controlRsvpStats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
.admin-control-centre-page .controlRsvpStats div{padding:10px;background:#101113;border:1px solid rgba(255,255,255,.08);border-radius:3px;text-align:center}
.admin-control-centre-page .controlRsvpStats strong{display:block;color:var(--club-gold);font-size:20px}.admin-control-centre-page .controlRsvpStats span{display:block;margin-top:3px;color:var(--text-muted);font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.05em}
.admin-control-centre-page .controlQuickGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px}
.admin-control-centre-page .controlQuickTile{display:grid;align-content:start;gap:7px;min-height:104px;padding:15px;background:#101113;border:1px solid var(--border-soft);border-left:3px solid var(--club-red);border-radius:3px;color:var(--text-main)!important;text-decoration:none;transition:transform .18s,border-color .18s,background .18s}
.admin-control-centre-page .controlQuickTile:hover{transform:translateY(-2px);border-color:rgba(212,175,90,.4);background:#141518}
.admin-control-centre-page .controlQuickTile strong{color:#fff}.admin-control-centre-page .controlQuickTile span{color:var(--text-muted);font-size:13px;line-height:1.45}
.admin-control-centre-page .controlLinkedPlayer{display:flex;align-items:center;justify-content:space-between;gap:14px;border-left:3px solid var(--club-gold)}
.admin-control-centre-page .controlLinkedPlayer p{margin:10px 0 0;color:var(--text-muted)}
.admin-control-centre-page .controlLinkedActions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.admin-control-centre-page .controlActivityList{display:grid;gap:10px}
.admin-control-centre-page .controlActivityItem{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 14px;background:#101113;border:1px solid var(--border-soft);border-radius:3px}
.admin-control-centre-page .controlActivityItem strong{color:#fff;font-size:14px}.admin-control-centre-page .controlActivityItem span{color:var(--text-muted);font-size:12px;white-space:nowrap}
@media(max-width:900px){.admin-control-centre-page .controlHero,.admin-control-centre-page .controlTwoColumn{grid-template-columns:1fr}.admin-control-centre-page .controlTask{grid-template-columns:1fr}.admin-control-centre-page .controlRsvpStats{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-control-centre-page .controlLinkedPlayer,.admin-control-centre-page .controlActivityItem{align-items:flex-start;flex-direction:column}.admin-control-centre-page .controlLinkedActions{justify-content:flex-start}.admin-control-centre-page .controlTextButton{width:100%}}
@media(max-width:520px){.admin-control-centre-page .controlHero,.admin-control-centre-page .controlPanel{padding:17px}.admin-control-centre-page .controlHero h1{font-size:31px}.admin-control-centre-page .controlSectionHead{display:grid}.admin-control-centre-page .controlQuickGrid,.admin-control-centre-page .controlUpcomingGrid{grid-template-columns:1fr}.admin-control-centre-page .controlHealthMetric{grid-template-columns:1fr}.admin-control-centre-page .controlRsvpStats{grid-template-columns:1fr}}

/* Admin Schedule Management */
.schedule-management-page .scheduleManagement{display:grid;gap:18px;max-width:1240px;margin:0 auto;padding:18px}
.schedule-management-page .schedulePanel{padding:20px;background:linear-gradient(145deg,var(--panel-bg-soft),var(--panel-bg));border:1px solid var(--border-soft);border-radius:3px;box-shadow:0 16px 38px rgba(0,0,0,.22);color:var(--text-main)}
.schedule-management-page .scheduleSectionHead{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:15px}.schedule-management-page .scheduleSectionHead h2{margin:4px 0 0;color:var(--text-main);font-size:18px;text-transform:uppercase;letter-spacing:.02em}.schedule-management-page .scheduleSectionHead h2:after{content:"";display:block;width:34px;height:2px;margin-top:10px;background:var(--club-red)}
.schedule-management-page .scheduleEmpty{padding:16px;background:#101113;border:1px solid var(--border-soft);border-left:3px solid var(--club-gold);border-radius:3px;color:var(--text-muted);font-weight:800}.schedule-management-page .scheduleTableWrap{overflow:auto}.schedule-management-page .scheduleTable{width:100%;border-collapse:collapse;min-width:940px}.schedule-management-page .scheduleTable th,.schedule-management-page .scheduleTable td{padding:12px;border-bottom:1px solid var(--border-soft);text-align:left;vertical-align:top}.schedule-management-page .scheduleTable th{color:var(--club-gold);font-size:11px;text-transform:uppercase;letter-spacing:.08em;background:#0b0c0e}.schedule-management-page .scheduleTable td{color:var(--text-main)}.schedule-management-page .scheduleTable td span{display:block;color:var(--text-muted);font-size:12px;margin-top:4px}.schedule-management-page .scheduleTable tr.isCancelled{background:rgba(193,18,31,.08)}
.schedule-management-page .scheduleStatus{display:inline-flex!important;align-items:center;min-height:24px;padding:0 8px;border-radius:999px;font-size:10px!important;font-weight:900;text-transform:uppercase;letter-spacing:.06em}.schedule-management-page .scheduleStatus.active{background:rgba(22,163,74,.13);color:#86efac!important}.schedule-management-page .scheduleStatus.cancelled{background:rgba(193,18,31,.2);color:#fca5a5!important}
.schedule-management-page .scheduleActions{display:flex;align-items:flex-start;gap:8px;flex-wrap:wrap}.schedule-management-page .scheduleButton{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:0 11px;background:#25272b;border:1px solid rgba(212,175,90,.28);border-radius:2px;color:#fff!important;font-size:10px;font-weight:900;letter-spacing:.07em;text-transform:uppercase;text-decoration:none;white-space:nowrap;cursor:pointer}.schedule-management-page .scheduleButton.primary{background:var(--club-red);border-color:rgba(212,175,90,.4)}.schedule-management-page .scheduleButton.danger{background:var(--club-red-dark);border-color:rgba(255,255,255,.18)}.schedule-management-page .scheduleButton:hover{border-color:var(--club-gold);background:#303238}.schedule-management-page .scheduleResponses summary,.schedule-management-page .scheduleCancel summary{display:inline-flex;align-items:center;min-height:34px;padding:0 10px;background:#101113;border:1px solid var(--border-soft);border-radius:2px;color:var(--club-gold);font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.06em;cursor:pointer}.schedule-management-page .scheduleResponses div,.schedule-management-page .scheduleCancel form{margin-top:8px;padding:10px;background:#0b0c0e;border:1px solid var(--border-soft);border-radius:3px;color:var(--text-muted);min-width:220px}.schedule-management-page .scheduleCancel input{width:100%;box-sizing:border-box;margin:6px 0 8px;padding:9px;background:#090a0b;color:var(--text-main);border:1px solid rgba(255,255,255,.13);border-radius:2px}
.schedule-management-page .scheduleCreateGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px}.schedule-management-page .scheduleCreateCard{display:grid;align-content:start;gap:8px;padding:16px;background:#101113;border:1px solid var(--border-soft);border-left:3px solid var(--club-red);border-radius:3px;color:var(--text-main)!important;text-decoration:none}.schedule-management-page .scheduleCreateCard:hover{border-color:rgba(212,175,90,.42);transform:translateY(-1px)}.schedule-management-page .scheduleCreateCard strong{color:#fff}.schedule-management-page .scheduleCreateCard span{color:var(--text-muted);font-size:13px;line-height:1.45}.schedule-management-page .scheduleFormCard{grid-template-columns:1fr 1fr}.schedule-management-page .scheduleFormCard strong{grid-column:1/-1}.schedule-management-page .scheduleFormCard label,.schedule-management-page .scheduleEditForm label{display:grid;gap:5px;color:var(--text-muted);font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.06em}.schedule-management-page .scheduleFormCard input,.schedule-management-page .scheduleFormCard select,.schedule-management-page .scheduleFormCard textarea,.schedule-management-page .scheduleEditForm input,.schedule-management-page .scheduleEditForm select,.schedule-management-page .scheduleEditForm textarea{width:100%;box-sizing:border-box;padding:10px;background:#090a0b;color:var(--text-main);border:1px solid rgba(255,255,255,.13);border-radius:2px}.schedule-management-page .scheduleFormCard textarea,.schedule-management-page .scheduleEditForm textarea{min-height:76px;resize:vertical}.schedule-management-page .scheduleCheck{display:flex!important;grid-column:1/-1;align-items:center;gap:8px;text-transform:none!important;letter-spacing:0!important}.schedule-management-page .scheduleCheck input{width:auto}.schedule-management-page .scheduleFormCard .scheduleButton{grid-column:1/-1}
.schedule-management-page .scheduleEditList{display:grid;gap:10px}.schedule-management-page .scheduleEditItem{background:#101113;border:1px solid var(--border-soft);border-radius:3px}.schedule-management-page .scheduleEditItem summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 14px;cursor:pointer}.schedule-management-page .scheduleEditItem summary strong{color:#fff}.schedule-management-page .scheduleEditItem summary span{color:var(--text-muted);font-size:13px}.schedule-management-page .scheduleEditForm{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:0 14px 14px}.schedule-management-page .scheduleEditForm .full{grid-column:1/-1}
@media(max-width:760px){.schedule-management-page .scheduleManagement{padding:12px}.schedule-management-page .scheduleTable{min-width:0}.schedule-management-page .scheduleTable thead{display:none}.schedule-management-page .scheduleTable,.schedule-management-page .scheduleTable tbody,.schedule-management-page .scheduleTable tr,.schedule-management-page .scheduleTable td{display:block;width:100%}.schedule-management-page .scheduleTable tr{padding:12px;background:#101113;border:1px solid var(--border-soft);border-left:3px solid var(--club-red);border-radius:3px;margin-bottom:10px}.schedule-management-page .scheduleTable td{display:grid;grid-template-columns:96px minmax(0,1fr);gap:10px;padding:7px 0;border:0}.schedule-management-page .scheduleTable td:before{content:attr(data-label);color:var(--text-muted);font-size:10px;font-weight:900;letter-spacing:.07em;text-transform:uppercase}.schedule-management-page .scheduleCreateGrid,.schedule-management-page .scheduleFormCard,.schedule-management-page .scheduleEditForm{grid-template-columns:1fr}.schedule-management-page .scheduleActions{display:grid}.schedule-management-page .scheduleButton{width:100%}}
.admin-control-centre-page .controlTaskStatic{grid-template-columns:180px minmax(150px,.55fr) minmax(0,1fr) auto}.admin-control-centre-page .controlTaskActions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
@media(max-width:900px){.admin-control-centre-page .controlTaskStatic{grid-template-columns:1fr}.admin-control-centre-page .controlTaskActions{justify-content:flex-start}.admin-control-centre-page .controlTaskActions .controlTextButton{width:auto}}

.schedule-management-page .scheduleRepeatBlock{display:grid;grid-column:1/-1;gap:12px;padding:13px;background:#0b0c0d;border:1px solid var(--border-soft);border-left:3px solid var(--club-gold);border-radius:3px}.schedule-management-page .scheduleRepeatBlock>span,.schedule-management-page .scheduleRepeatOptions>span{color:var(--club-gold);font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.schedule-management-page .scheduleRepeatOptions{display:grid;gap:10px}.schedule-management-page .scheduleWeekdayGrid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}.schedule-management-page .scheduleWeekdayGrid label{display:flex!important;align-items:center;justify-content:center;gap:5px;min-height:38px;padding:6px;background:#101113;border:1px solid rgba(255,255,255,.12);color:var(--text-main)!important;text-transform:none!important;letter-spacing:0!important}.schedule-management-page .scheduleWeekdayGrid input{width:auto}.schedule-management-page .scheduleSelectedDates{display:flex;flex-wrap:wrap;gap:7px;min-height:36px;align-items:center}.schedule-management-page .scheduleSelectedDates>span:first-child{color:var(--text-muted);font-size:12px}.schedule-management-page .scheduleSelectedDate{display:inline-flex!important;align-items:center;gap:8px;margin:0!important;padding:7px 8px;background:#18191c;border:1px solid rgba(255,255,255,.14);color:#fff!important;font-size:12px!important}.schedule-management-page .scheduleSelectedDate button{border:0;background:#64141a;color:#fff;padding:5px 7px;font-size:10px;font-weight:900;text-transform:uppercase;cursor:pointer}
@media(max-width:760px){.schedule-management-page .scheduleWeekdayGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.schedule-management-page .scheduleRepeatBlock{padding:12px}.schedule-management-page .scheduleSelectedDate{width:100%;justify-content:space-between}}

.installAppCard{display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:center;margin-bottom:16px;border-left:3px solid var(--club-gold)!important}.installAppCard[hidden]{display:none!important}.installAppCard h2{margin:4px 0 8px;color:#fff!important;text-transform:uppercase}.installAppCard p{max-width:760px;margin:0;color:var(--text-muted)!important;line-height:1.6}.installAppCard .iosInstallInstructions{margin-top:10px;color:var(--club-gold)!important;font-weight:900}.installAppActions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}.notificationCentre .notificationStatusBox{padding:13px 14px;background:#0b0c0d;border:1px solid var(--border-soft);border-left:3px solid var(--club-gold);color:var(--text-muted);line-height:1.55}.notificationActions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.notificationEnabled{display:inline-flex;align-items:center;min-height:34px;padding:7px 10px;background:#102418;color:#9be1af;border:1px solid rgba(67,180,118,.35);font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.notificationPreferenceGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.notificationPreferenceOption{align-items:flex-start}.notificationPreferenceOption input{margin-top:3px;accent-color:var(--club-red)}
@media(max-width:760px){.installAppCard{grid-template-columns:1fr}.installAppActions{display:grid;grid-template-columns:1fr}.installAppActions .portalBtn{width:100%;box-sizing:border-box;text-align:center}.notificationPreferenceGrid{grid-template-columns:1fr}.notificationActions .hejaPrimaryButton{width:100%}}

/* Global dark collapsible and panel readability fix. */
.academy-shell details:not(.cancelControl),
.academy-shell .details,
.academy-shell .accordion,
.academy-shell .collapsible {
    background: #181b20 !important;
    color: #f5f5f5 !important;
    border: 1px solid #343943 !important;
    border-radius: 10px !important;
    box-shadow: none !important;
}
.academy-shell details:not(.cancelControl) > summary,
.academy-shell summary {
    color: #f5f5f5 !important;
    cursor: pointer;
    font-weight: 900;
}
.academy-shell details:not(.cancelControl) > summary::-webkit-details-marker {
    color: var(--club-gold);
}
.academy-shell details:not(.cancelControl) > summary::marker {
    color: var(--club-gold);
}
.academy-shell details:not(.cancelControl) p,
.academy-shell details:not(.cancelControl) li,
.academy-shell details:not(.cancelControl) span,
.academy-shell details:not(.cancelControl) small {
    color: var(--text-muted) !important;
}
.academy-shell details:not(.cancelControl) strong,
.academy-shell details:not(.cancelControl) h2,
.academy-shell details:not(.cancelControl) h3,
.academy-shell details:not(.cancelControl) summary span {
    color: #f5f5f5 !important;
}
.academy-shell details:not(.cancelControl) > :not(summary) {
    border-color: #343943 !important;
}
.academy-shell :is(.panel,.stat-card,.challenge-card):not(.light):not(.adminPublicCard) {
    background: #181b20 !important;
    color: #f5f5f5 !important;
    border-color: #343943 !important;
}
.academy-shell :is(.panel,.stat-card,.challenge-card):not(.light):not(.adminPublicCard) :is(p,span,small,li) {
    color: var(--text-muted) !important;
}
.academy-shell :is(.panel,.stat-card,.challenge-card):not(.light):not(.adminPublicCard) :is(h2,h3,strong) {
    color: #f5f5f5 !important;
}

.passwordInput{position:relative;display:block}.passwordInput input{padding-right:48px!important}.passwordInput .passwordToggle{position:absolute;right:6px;top:50%;display:inline-flex;align-items:center;justify-content:center;width:38px!important;height:38px!important;min-height:38px!important;margin:0!important;padding:0!important;transform:translateY(-50%);border:0!important;border-radius:2px!important;background:transparent!important;color:currentColor!important;box-shadow:none!important;cursor:pointer;text-indent:-9999px;overflow:hidden}.passwordToggle span{position:absolute;inset:0;text-indent:0}.passwordToggle span:before{content:"";display:block;width:18px;height:18px;margin:10px auto;border:2px solid currentColor;border-radius:70% 20%;transform:rotate(45deg)}.passwordToggle span:after{content:"";position:absolute;left:16px;top:16px;width:6px;height:6px;border-radius:50%;background:currentColor}.passwordToggle.is-visible span:before{box-shadow:inset 0 0 0 2px var(--panel-bg, #090a0b)}.resetAuthPage .passwordInput .passwordToggle,.phase7-change-password .passwordInput .passwordToggle{color:var(--text-main)!important}.resetAuthPage{color:var(--text-main);overflow-x:hidden}.resetAuthCard{width:min(520px,calc(100% - 32px));margin:40px auto;padding:clamp(22px,4vw,34px);background:linear-gradient(145deg,var(--panel-bg-soft),var(--panel-bg));border:1px solid var(--border-soft);border-radius:3px;box-shadow:0 16px 38px rgba(0,0,0,.22)}.resetAuthCard h1{margin-top:0;color:#fff}.resetAuthCard p{color:var(--text-muted)}.resetAuthCard label{display:block;margin:12px 0 5px;color:#fff;font-weight:800}.resetAuthCard input{box-sizing:border-box;width:100%;padding:11px;background:#090a0b!important;color:var(--text-main)!important;border:1px solid rgba(255,255,255,.14)!important;border-radius:2px!important;font:inherit}.resetAuthCard button[type=submit],.resetAuthCard .authButton{width:100%;min-height:46px;margin-top:15px;border:0;border-radius:2px;background:var(--club-red);color:#fff;font-weight:900;text-transform:uppercase;letter-spacing:.06em;font-size:11px;cursor:pointer}.resetAuthCard .authLink{display:inline-block;margin-top:14px;color:var(--club-gold);font-weight:800}.resetNotice{padding:11px;border-radius:2px;margin-bottom:10px;font-weight:800}.resetNotice.success{background:#102418;color:#9be1af;border:1px solid rgba(67,180,118,.35)}.resetNotice.error{background:#2b1013;color:#ffb1b8;border:1px solid rgba(255,100,110,.3)}

.guardianPlayerSwitcher{display:flex;align-items:center;margin-left:auto}.guardianPlayerSwitcher label{display:flex;align-items:center;gap:8px;color:#fff;font-size:11px;font-weight:900;text-transform:uppercase}.guardianPlayerSwitcher select{min-height:34px;background:#090a0b;color:#fff;border:1px solid rgba(255,255,255,.18);border-radius:2px;padding:6px 8px}.guardianAccessList{display:grid;gap:12px}.guardianAccessItem{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px;background:#101113;border:1px solid var(--border-soft);border-radius:3px}.guardianAccessItem strong,.guardianAccessItem span,.guardianAccessItem small{display:block}.guardianAccessItem span{margin-top:3px;color:var(--text-main);overflow-wrap:anywhere}.guardianAccessItem small{margin-top:4px;color:var(--text-muted)}.guardianAccessActions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.guardianAccessActions form{margin:0}.hejaPrimaryButton.danger{background:#65151b!important}@media(max-width:700px){.guardianPlayerSwitcher{width:100%;margin:8px 0 0}.guardianPlayerSwitcher label,.guardianPlayerSwitcher select{width:100%}.guardianAccessItem{align-items:stretch;flex-direction:column}.guardianAccessActions{justify-content:stretch}.guardianAccessActions form,.guardianAccessActions button{width:100%}}
.teamCalendarStatusRow{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:8px 0 12px}.teamCalendarStatusRow strong,.teamCalendarStatusRow span{display:inline-flex;align-items:center;min-height:26px;padding:4px 8px;border:1px solid rgba(255,255,255,.14);border-radius:999px;background:#151719;color:#fff;font-size:10px;font-weight:900;letter-spacing:.05em;text-transform:uppercase}.teamCalendarStatusRow strong{border-color:rgba(212,175,90,.45);color:var(--club-gold)}.teamCalendarMatchPreview{display:grid;gap:12px;margin-top:8px}.teamCalendarMatchDate{font-weight:900}.teamCalendarMatchDate span{color:var(--club-gold);font-size:12px;text-transform:uppercase}.teamCalendarFactGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.teamCalendarFactGrid div,.teamCalendarVenue,.teamCalendarKitPreview{padding:10px;border:1px solid rgba(255,255,255,.1);border-radius:3px;background:rgba(255,255,255,.04)}.teamCalendarFactGrid span,.teamCalendarVenue>span,.teamCalendarKitPreview span{display:block;margin-bottom:4px;color:var(--text-muted);font-size:10px;font-weight:900;letter-spacing:.06em;text-transform:uppercase}.teamCalendarFactGrid strong,.teamCalendarVenue strong,.teamCalendarKitPreview strong{color:#fff}.teamCalendarVenue p,.teamCalendarKitPreview p{margin:5px 0 0;color:var(--text-main);font-size:13px}.teamCalendarMapAction{margin-top:9px}.teamCalendarKitPreview{display:grid;grid-template-columns:58px minmax(0,1fr);gap:10px;align-items:center}.teamCalendarKitPreview img{display:block;width:58px;max-height:70px;object-fit:contain}.teamCalendarDetailActions .teamCalendarDownloadOne{flex:1 1 150px}@media(max-width:560px){.teamCalendarFactGrid{grid-template-columns:1fr}.teamCalendarKitPreview{grid-template-columns:48px minmax(0,1fr)}.teamCalendarKitPreview img{width:48px;max-height:58px}.teamCalendarDetailActions{display:grid}.teamCalendarDetailActions .teamCalendarDownloadOne{width:100%;box-sizing:border-box}}

/* Player Comparison admin theme integration */
.player-comparison-page .playerComparePage{display:grid;gap:18px;width:min(1200px,calc(100% - 32px));max-width:1200px;min-width:0;margin:24px auto 46px;color:var(--text-main);overflow-x:hidden}
.player-comparison-page .playerComparePage *{box-sizing:border-box;min-width:0}
.player-comparison-page .pcHero{position:relative;display:flex;align-items:flex-end;justify-content:space-between;gap:18px;overflow:hidden;margin:0;padding:clamp(22px,4vw,38px);background:linear-gradient(118deg,#090a0c,#1b1113 62%,var(--club-red-dark));border:1px solid var(--border-soft);border-radius:4px;box-shadow:var(--academy-shadow);color:var(--text-main)}
.player-comparison-page .pcHero h1{margin:5px 0 0;color:#fff;font-size:clamp(31px,5vw,54px);line-height:.98;text-transform:uppercase;letter-spacing:-.02em}
.player-comparison-page .pcHero p{max-width:620px;margin:8px 0 0;color:var(--text-muted);font-weight:800;line-height:1.5}
.player-comparison-page .pcKicker{display:block;color:var(--club-gold);font-size:10px;font-weight:900;letter-spacing:.16em;text-transform:uppercase}
.player-comparison-page .pcBadge{display:inline-flex;align-items:center;min-height:30px;padding:6px 10px;background:#101113;border:1px solid rgba(212,175,90,.38);border-radius:999px;color:var(--club-gold);font-size:10px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap}
.player-comparison-page .pcPanel{padding:20px;background:linear-gradient(145deg,var(--panel-bg-soft),var(--panel-bg));border:1px solid var(--border-soft);border-radius:3px;box-shadow:0 16px 38px rgba(0,0,0,.22);color:var(--text-main)}
.player-comparison-page .pcFilters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;align-items:end}
.player-comparison-page .pcFilters label:not(.pcCheckbox){display:grid;gap:5px;color:var(--text-muted);font-size:11px;font-weight:900;letter-spacing:.06em;text-transform:uppercase}
.player-comparison-page .pcFilters div{min-width:0}
.player-comparison-page .pcFilters div>label{display:block;margin:0 0 5px;color:var(--text-muted);font-size:11px;font-weight:900;letter-spacing:.06em;text-transform:uppercase}
.player-comparison-page .pcFilters :is(input,select){display:block;max-width:100%;width:100%;min-height:42px;padding:10px 11px;background:#090a0b;color:var(--text-main);border:1px solid rgba(255,255,255,.14);border-radius:2px;font:inherit}
.player-comparison-page .pcFilters :is(input,select):focus{outline:2px solid var(--club-gold);outline-offset:1px;border-color:var(--club-gold)}
.player-comparison-page .pcCheckbox{display:flex;align-items:center;gap:9px;min-height:42px;padding:10px 11px;background:#101113;border:1px solid var(--border-soft);border-radius:2px;color:var(--text-main);font-size:12px;font-weight:900;letter-spacing:0;text-transform:none;cursor:pointer}
.player-comparison-page .pcCheckbox input{width:auto;min-height:0;margin:0;accent-color:var(--club-red)}
.player-comparison-page .pcActions{display:grid;grid-template-columns:1fr 1fr;gap:8px;align-items:end}
.player-comparison-page .pcButton{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:10px 14px;border:1px solid rgba(255,255,255,.12);border-radius:2px;background:var(--club-red);color:#fff!important;font-size:11px;font-weight:900;letter-spacing:.06em;text-transform:uppercase;text-decoration:none;cursor:pointer;white-space:nowrap}
.player-comparison-page .pcButton:hover,.player-comparison-page .pcButton:focus-visible{border-color:var(--club-gold);filter:brightness(1.08)}
.player-comparison-page .pcButton.secondary{background:#25272b;color:#fff!important;border-color:rgba(212,175,90,.28)}
.player-comparison-page .pcButton.secondary:hover,.player-comparison-page .pcButton.secondary:focus-visible{background:#303238;border-color:var(--club-gold)}
.player-comparison-page .pcSectionTitle{display:flex;align-items:center;gap:10px;margin:0 0 15px;color:#fff;font-size:18px;text-transform:uppercase;letter-spacing:.02em}
.player-comparison-page .pcSectionTitle:after{content:"";display:block;width:34px;height:2px;background:var(--club-red)}
.player-comparison-page .pcEmpty{margin:0;padding:16px;background:#101113;border:1px solid var(--border-soft);border-left:3px solid var(--club-gold);border-radius:3px;color:var(--text-muted);font-weight:800;line-height:1.5}
.player-comparison-page .pcSummaryGrid,.player-comparison-page .pcSuitabilityGrid,.player-comparison-page .pcRankGrid{display:grid;gap:12px}
.player-comparison-page .pcSummaryGrid{grid-template-columns:repeat(auto-fit,minmax(210px,1fr))}
.player-comparison-page .pcSuitabilityGrid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}
.player-comparison-page .pcRankGrid{grid-template-columns:repeat(auto-fit,minmax(245px,1fr))}
.player-comparison-page .pcPlayerCard,.player-comparison-page .pcRankCard,.player-comparison-page .pcSuitabilityGrid>div{padding:15px;background:#101113;border:1px solid var(--border-soft);border-left:3px solid var(--club-red);border-radius:3px;color:var(--text-main)}
.player-comparison-page .pcPlayerCard>strong{display:block;color:#fff;font-size:18px}
.player-comparison-page .pcPlayerCard>span,.player-comparison-page .pcSuitabilityGrid>div>p{display:block;margin-top:5px;color:var(--text-muted);font-size:13px;line-height:1.5}
.player-comparison-page .pcStatLine{display:flex;justify-content:space-between;gap:12px;margin-top:10px;padding-top:10px;border-top:1px solid var(--border-soft);color:var(--text-muted);font-size:13px}
.player-comparison-page .pcStatLine b{color:var(--club-gold)}
.player-comparison-page .pcSuitabilityGrid h3,.player-comparison-page .pcRankCard h3{margin:0 0 9px;color:#fff;font-size:16px}
.player-comparison-page .pcSuitabilityCard{padding:14px;background:#0b0c0e;border:1px solid var(--border-soft);border-radius:3px;color:var(--text-main)}
.player-comparison-page .pcSuitabilityTop span,.player-comparison-page .pcSuitabilityTop em{display:inline-flex;align-items:center;margin:0 6px 7px 0;padding:5px 8px;background:#151719;border:1px solid rgba(255,255,255,.1);border-radius:999px;color:var(--text-muted);font-size:10px;font-style:normal;font-weight:900;letter-spacing:.06em;text-transform:uppercase}
.player-comparison-page .pcSuitabilityTop strong{display:block;margin:3px 0 10px;color:#fff;font-size:18px}
.player-comparison-page .pcSuitabilityList div{margin-top:9px}
.player-comparison-page .pcSuitabilityList span{display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--text-main);font-size:13px;font-weight:900}
.player-comparison-page .pcSuitabilityList strong{color:var(--club-gold)}
.player-comparison-page .pcSuitabilityList i{display:block;width:var(--fit-width);height:8px;margin-top:6px;background:linear-gradient(90deg,var(--club-red),var(--club-gold));border-radius:999px}
.player-comparison-page .pcReasonGrid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:13px}
.player-comparison-page .pcReasonGrid>div{padding:12px;background:#101113;border:1px solid rgba(255,255,255,.08);border-radius:3px}
.player-comparison-page .pcReasonGrid h4{margin:0 0 7px;color:var(--club-gold);font-size:11px;text-transform:uppercase;letter-spacing:.08em}
.player-comparison-page .pcReasonGrid ul{display:grid;gap:6px;margin:0;padding-left:17px;color:var(--text-muted)}
.player-comparison-page .pcRankCard{border-left-color:var(--club-gold)}
.player-comparison-page .pcRankCard ol{display:grid;gap:8px;margin:0;padding:0;list-style:none;counter-reset:pc-rank}
.player-comparison-page .pcRankCard li{counter-increment:pc-rank;display:grid;grid-template-columns:auto 1fr auto;gap:4px 10px;align-items:center;padding:10px;background:#0b0c0e;border:1px solid rgba(255,255,255,.08);border-radius:3px}
.player-comparison-page .pcRankCard li:before{content:counter(pc-rank);display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;background:var(--club-red);color:#fff;font-size:11px;font-weight:900;grid-row:1/3}
.player-comparison-page .pcRankCard li>span{color:#fff;font-weight:900}
.player-comparison-page .pcRankCard small{grid-column:2/4;color:var(--text-muted);font-size:12px}
.player-comparison-page .pcFitScore{color:var(--club-gold);font-weight:900}
.player-comparison-page .pcCompareLink{grid-column:2/4;justify-self:start;color:var(--club-gold)!important;font-size:10px;font-weight:900;letter-spacing:.07em;text-transform:uppercase;text-decoration:none}
.player-comparison-page details{padding:14px;background:#101113;border:1px solid var(--border-soft);border-radius:3px;color:var(--text-muted)}
.player-comparison-page details summary{color:#fff;font-weight:900;cursor:pointer}
@media(max-width:1024px){.player-comparison-page .pcFilters{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:768px){.player-comparison-page .playerComparePage{width:calc(100% - 24px);margin-top:14px}.player-comparison-page .pcHero{align-items:flex-start;flex-direction:column}.player-comparison-page .pcSummaryGrid,.player-comparison-page .pcSuitabilityGrid,.player-comparison-page .pcRankGrid{grid-template-columns:1fr}}
@media(max-width:520px){.player-comparison-page .playerComparePage{width:calc(100% - 16px);gap:12px}.player-comparison-page .pcHero,.player-comparison-page .pcPanel{padding:17px}.player-comparison-page .pcFilters,.player-comparison-page .pcActions{grid-template-columns:1fr}.player-comparison-page .pcReasonGrid{grid-template-columns:1fr}.player-comparison-page .pcBadge{white-space:normal}}

/* Player Comparison bar presentation */
.player-comparison-page .pcOverviewPanel,.player-comparison-page .pcMetricPanel{display:grid;gap:14px}
.player-comparison-page .pcOverallSummary{margin:0;padding:14px;background:#101113;border:1px solid var(--border-soft);border-left:3px solid var(--club-gold);border-radius:3px;color:var(--text-main);font-weight:900;line-height:1.5}
.player-comparison-page .pcOverviewGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px}
.player-comparison-page .pcOverviewGrid div{display:grid;gap:5px;padding:13px;background:#101113;border:1px solid var(--border-soft);border-radius:3px}
.player-comparison-page .pcOverviewGrid span{color:var(--text-muted);font-size:10px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}
.player-comparison-page .pcOverviewGrid strong{color:var(--club-gold);font-size:15px}
.player-comparison-page .pcCategoryList{display:grid;gap:16px}
.player-comparison-page .pcCategoryBlock{display:grid;gap:12px;padding:14px;background:#0b0c0e;border:1px solid var(--border-soft);border-radius:3px}
.player-comparison-page .pcCategorySummary{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 16px;align-items:start;padding:14px;background:#101113;border:1px solid var(--border-soft);border-left:3px solid var(--club-red);border-radius:3px}
.player-comparison-page .pcCategorySummary>div:first-child span{display:block;color:var(--club-gold);font-size:10px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}
.player-comparison-page .pcCategorySummary>div:first-child strong{display:block;margin-top:5px;color:#fff;font-size:20px}
.player-comparison-page .pcCategorySummary p{grid-column:1/-1;margin:0;color:var(--text-main);font-weight:900;line-height:1.45}
.player-comparison-page .pcCategorySummary small{justify-self:end;padding:6px 9px;background:#151719;border:1px solid rgba(255,255,255,.1);border-radius:999px;color:var(--text-muted);font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.06em;white-space:nowrap}
.player-comparison-page .pcContributionGrid{grid-column:1/-1;display:grid!important;grid-template-columns:1fr 1fr;gap:8px}
.player-comparison-page .pcContributionGrid span{display:grid!important;gap:4px;padding:10px;background:#0b0c0e;border:1px solid rgba(255,255,255,.08);border-radius:3px;color:var(--text-muted)!important;font-size:12px!important;letter-spacing:0!important;text-transform:none!important;line-height:1.35}
.player-comparison-page .pcContributionGrid b{color:#fff;font-size:10px;text-transform:uppercase;letter-spacing:.07em}
.player-comparison-page .pcMetricBars{display:grid;gap:10px}
.player-comparison-page .pcMetricBarCard{display:grid;gap:10px;padding:13px;background:#101113;border:1px solid var(--border-soft);border-radius:3px}
.player-comparison-page .pcMetricBarHead{display:flex;align-items:center;justify-content:space-between;gap:12px}
.player-comparison-page .pcMetricBarHead strong{color:#fff;font-size:15px}
.player-comparison-page .pcMetricLeader{display:inline-flex;align-items:center;min-height:26px;padding:5px 8px;background:#151719;border:1px solid rgba(255,255,255,.1);border-radius:999px;color:var(--text-muted);font-size:10px;font-weight:900;letter-spacing:.06em;text-transform:uppercase;white-space:nowrap}
.player-comparison-page .pcMetricLeader.one{border-color:color-mix(in srgb,var(--club-red) 52%,transparent);color:#fff;background:color-mix(in srgb,var(--club-red) 28%,#151719)}
.player-comparison-page .pcMetricLeader.two{border-color:color-mix(in srgb,var(--club-gold) 52%,transparent);color:var(--club-gold);background:color-mix(in srgb,var(--club-gold) 14%,#151719)}
.player-comparison-page .pcMetricLeader.even{border-color:var(--border-soft);color:var(--text-main)}
.player-comparison-page .pcMetricPair{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.player-comparison-page .pcMetricPlayer{display:grid;grid-template-columns:minmax(96px,.45fr) minmax(120px,1fr) auto;gap:10px;align-items:center;min-height:38px;padding:9px 10px;background:#0b0c0e;border:1px solid rgba(255,255,255,.08);border-radius:3px}
.player-comparison-page .pcMetricPlayer span{color:var(--text-muted);font-size:12px;font-weight:900;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.player-comparison-page .pcMetricPlayer b{color:#fff;font-size:14px;text-align:right;white-space:nowrap}
.player-comparison-page .pcBarTrack{height:9px;background:#24262a;border-radius:999px;overflow:hidden}
.player-comparison-page .pcBarTrack i{display:block;width:var(--pc-bar-width);height:100%;border-radius:999px;background:var(--club-red)}
.player-comparison-page .pcMetricPlayer.two .pcBarTrack i{background:var(--club-gold)}
.player-comparison-page .pcMetricBarCard>small{color:var(--text-muted);font-size:11px;font-weight:800}
@media(max-width:900px){.player-comparison-page .pcMetricPair{grid-template-columns:1fr}.player-comparison-page .pcCategorySummary{grid-template-columns:1fr}.player-comparison-page .pcCategorySummary small{justify-self:start}.player-comparison-page .pcContributionGrid{grid-template-columns:1fr}}
@media(max-width:520px){.player-comparison-page .pcOverviewGrid{grid-template-columns:1fr}.player-comparison-page .pcCategoryBlock{padding:10px}.player-comparison-page .pcMetricBarHead{align-items:flex-start;flex-direction:column}.player-comparison-page .pcMetricPlayer{grid-template-columns:1fr;gap:6px}.player-comparison-page .pcMetricPlayer b{text-align:left}.player-comparison-page .pcMetricLeader{white-space:normal}}

/* Player Comparison two-player refinement */
.player-comparison-page .pcHero{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:12px 18px;overflow:visible;padding:clamp(26px,4vw,44px)}
.player-comparison-page .pcHeroHeading{min-width:0;overflow-wrap:anywhere}
.player-comparison-page .pcHero h1{margin:6px 0 0;font-size:clamp(28px,4.6vw,50px);line-height:1.08;overflow-wrap:anywhere;word-break:normal}
.player-comparison-page .pcHeroText{grid-column:1/-1;max-width:760px;margin:0;color:var(--text-muted);font-weight:800;line-height:1.55;overflow-wrap:anywhere}
.player-comparison-page .pcBadge{justify-self:end;max-width:100%;white-space:normal;text-align:center;overflow-wrap:anywhere}
.player-comparison-page .pcFilters{grid-template-columns:repeat(4,minmax(0,1fr))}
.player-comparison-page .pcSummaryGrid{grid-template-columns:repeat(2,minmax(0,1fr))}
.player-comparison-page .pcPlayerCard{min-height:0;overflow-wrap:anywhere;word-break:normal}
.player-comparison-page .pcPlayerCard>strong,.player-comparison-page .pcPlayerCard>span{white-space:normal;overflow-wrap:anywhere;word-break:normal}
.player-comparison-page .pcStatLine{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:8px 12px}
.player-comparison-page .pcStatLine span{min-width:0;white-space:normal;overflow-wrap:anywhere}
.player-comparison-page .pcStatLine b{max-width:100%;min-width:0;text-align:right;white-space:normal;overflow-wrap:anywhere;word-break:normal}
.player-comparison-page .pcButton{min-width:max-content;white-space:nowrap}
.player-comparison-page .pcCheckbox span,.player-comparison-page .pcOverviewGrid strong,.player-comparison-page .pcCategorySummary strong,.player-comparison-page .pcCategorySummary p,.player-comparison-page .pcContributionGrid span,.player-comparison-page .pcMetricBarHead strong,.player-comparison-page .pcMetricLeader,.player-comparison-page .pcMetricPlayer span,.player-comparison-page .pcMetricPlayer b,.player-comparison-page .pcRankCard li>span,.player-comparison-page .pcRankCard small{overflow-wrap:anywhere;word-break:normal;white-space:normal}
.player-comparison-page .pcMetricPlayer span{overflow:visible;text-overflow:clip}
@media(max-width:1024px){.player-comparison-page .pcHero{grid-template-columns:minmax(0,1fr)}.player-comparison-page .pcBadge{justify-self:start}.player-comparison-page .pcSummaryGrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:768px){.player-comparison-page .pcSummaryGrid{grid-template-columns:1fr}.player-comparison-page .pcButton{width:100%;min-width:0}.player-comparison-page .pcActions{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.player-comparison-page .pcHero{gap:10px;padding:22px 17px}.player-comparison-page .pcHero h1{font-size:clamp(26px,10vw,38px);line-height:1.1}.player-comparison-page .pcActions{grid-template-columns:1fr}.player-comparison-page .pcButton{white-space:normal}.player-comparison-page .pcMetricLeader{white-space:normal}.player-comparison-page .pcStatLine b{text-align:left}}

/* Player Comparison filter stacking correction */
@media(max-width:1024px){.player-comparison-page .pcFilters{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.player-comparison-page .pcFilters{grid-template-columns:1fr}}
.opposition-page .wrap{width:min(1220px,calc(100% - 28px));margin:0 auto;padding:24px 0 60px}.oppositionHero,.oppositionPanel,.oppositionCard{background:linear-gradient(145deg,var(--panel-bg-soft),var(--panel-bg));border:1px solid var(--border-soft);border-radius:3px;box-shadow:0 16px 38px rgba(0,0,0,.22);color:var(--text-main)}.oppositionHero{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:16px;padding:clamp(22px,4vw,42px);background:linear-gradient(118deg,#090a0c,#1b1113 62%,var(--club-red-dark));border-top:3px solid var(--club-red)}.oppositionHero h1{margin:6px 0;color:#fff;font-size:clamp(36px,5vw,62px);line-height:.95;text-transform:uppercase}.oppositionHero p,.oppositionMuted{color:var(--text-muted);font-weight:750;line-height:1.55}.oppositionButton,.oppositionForm button,.oppositionArchiveForm button{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:10px 14px;background:var(--club-red);border:0;border-radius:2px;color:#fff!important;font-size:10px;font-weight:900;letter-spacing:.07em;text-decoration:none;text-transform:uppercase;cursor:pointer}.oppositionButton.secondary,.oppositionArchiveForm button.secondary{background:#222429;border:1px solid rgba(255,255,255,.12)}.oppositionGrid,.oppositionProfileGrid,.oppositionAdminList{display:grid;gap:14px}.oppositionGrid{grid-template-columns:repeat(auto-fit,minmax(270px,1fr))}.oppositionProfileGrid{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:14px}.oppositionAdminList{margin-top:14px}.oppositionCard,.oppositionPanel{min-width:0;padding:20px}.oppositionCard.isNorthwood{border-left:4px solid var(--club-gold)}.oppositionCardHead{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px}.oppositionCardHead span,.oppositionKicker,.oppositionStats span{display:block;color:var(--club-gold);font-size:9px;font-weight:900;letter-spacing:.09em;text-transform:uppercase}.oppositionCardHead h2,.oppositionPanel h2{margin:4px 0 0;color:#fff;text-transform:uppercase}.strengthBadge{display:inline-flex;align-items:center;justify-content:center;max-width:100%;padding:7px 9px;background:#222429;border:1px solid rgba(255,255,255,.12);border-radius:2px;color:#fff;font-size:10px;font-weight:900;letter-spacing:.04em;text-transform:uppercase;overflow-wrap:anywhere}.strengthBadge.strong{background:var(--club-gold);border-color:var(--club-gold);color:#111}.strengthBadge.competitive{background:#1f6f5f}.strengthBadge.developing{background:#8a4f12}.strengthBadge.limited-evidence{background:#4b5563}.oppositionStats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;margin:12px 0;background:var(--border-soft);border:1px solid var(--border-soft)}.oppositionStats.wide{grid-template-columns:repeat(auto-fit,minmax(130px,1fr))}.oppositionStats div{min-width:0;padding:12px;background:#101113}.oppositionStats strong{display:block;margin-top:5px;color:#fff;overflow-wrap:anywhere}.oppositionMetaLine{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-top:1px solid var(--border-soft)}.oppositionMetaLine span{color:var(--text-muted);font-size:11px;font-weight:900;text-transform:uppercase}.oppositionMetaLine strong{color:#fff;text-align:right}.oppositionForm{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.oppositionForm label,.oppositionToolbar label{display:grid;gap:6px;color:var(--text-muted);font-size:9px;font-weight:900;letter-spacing:.06em;text-transform:uppercase}.oppositionForm .wide{grid-column:1/-1}.oppositionForm :is(input,select,textarea),.oppositionToolbar :is(input,select){box-sizing:border-box;width:100%;padding:11px;background:#090a0b;color:#fff;border:1px solid rgba(255,255,255,.14);border-radius:2px;font:inherit}.oppositionForm textarea{resize:vertical;line-height:1.5}.oppositionToolbar{display:grid;grid-template-columns:260px minmax(220px,1fr);gap:12px;margin-bottom:14px}.oppositionAudit{margin-top:10px;color:var(--text-muted);font-size:12px}.oppositionArchiveForm{margin-top:10px}.oppositionTimeline{display:grid;gap:9px}.oppositionTimeline a,.oppositionTimeline div{display:grid;gap:4px;padding:12px;background:#101113;border:1px solid var(--border-soft);border-left:3px solid var(--club-gold);color:#fff;text-decoration:none}.oppositionTimeline time,.oppositionTimeline small{color:var(--text-muted);font-size:10px;font-weight:900;text-transform:uppercase}.oppositionTimeline p{margin:0;line-height:1.55}.oppositionChips{display:flex;flex-wrap:wrap;gap:8px}.oppositionChips span{padding:8px 10px;background:#101113;border:1px solid var(--border-soft);border-left:3px solid var(--club-red);color:#fff;font-size:12px;font-weight:900}.opponentIntelCard{margin:14px 0;padding:14px;background:#101113;border:1px solid var(--border-soft);border-left:3px solid var(--club-gold);color:#fff}.opponentIntelCard h3{margin:0 0 10px;color:#fff;text-transform:uppercase}.opponentIntelGrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;background:var(--border-soft);margin-bottom:10px}.opponentIntelGrid div{padding:10px;background:#0d0e10}.opponentIntelGrid span{display:block;color:var(--text-muted);font-size:9px;font-weight:900;text-transform:uppercase}.opponentIntelGrid strong{display:block;margin-top:4px;color:#fff}.opponentIntelCard p{margin:8px 0;color:var(--text-muted);line-height:1.45}@media(max-width:820px){.oppositionHero{align-items:flex-start;flex-direction:column}.oppositionProfileGrid,.oppositionToolbar{grid-template-columns:1fr}.oppositionForm{grid-template-columns:1fr}.opponentIntelGrid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.opposition-page .wrap{width:calc(100% - 16px);padding-top:14px}.oppositionCardHead,.oppositionMetaLine{display:grid}.oppositionMetaLine strong{text-align:left}.oppositionStats,.opponentIntelGrid{grid-template-columns:1fr}}

.leagueOpponentRating{--rating-accent:var(--club-gold);display:grid;gap:6px;align-content:center;justify-items:start;min-width:150px;padding:12px 13px;background:linear-gradient(145deg,#151719,#090a0b);border:1px solid rgba(212,175,90,.26);border-left:3px solid var(--rating-accent);border-radius:8px;box-shadow:0 12px 26px rgba(0,0,0,.24);color:#fff;overflow:hidden}.leagueOpponentRating .leagueRatingHeading{color:var(--text-muted);font-size:9px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.leagueRatingStars{display:flex;gap:4px;min-height:24px;align-items:center}.leagueRatingStar{display:inline-block;width:22px;height:22px;clip-path:polygon(50% 0%,61% 35%,98% 35%,68% 56%,79% 91%,50% 70%,21% 91%,32% 56%,2% 35%,39% 35%);background:rgba(255,255,255,.18);box-shadow:inset 0 0 0 1px rgba(255,255,255,.1)}.leagueRatingStar.filled{background:var(--rating-accent);filter:drop-shadow(0 0 7px color-mix(in srgb,var(--rating-accent) 50%,transparent))}.leagueOpponentRating strong{color:#fff;font-size:15px;font-weight:950;letter-spacing:.06em;line-height:1;text-transform:uppercase}.leagueOpponentRating small{color:var(--text-muted);font-size:11px;font-weight:750;line-height:1.35}.leagueOpponentRating.rating-strong{--rating-accent:#ef6b5b}.leagueOpponentRating.rating-matched{--rating-accent:var(--club-gold)}.leagueOpponentRating.rating-developing{--rating-accent:#4ade80}.leagueOpponentRating.rating-unrated{--rating-accent:#8b949e}.leagueMatchDifficulty{--difficulty-red-strong:#ff4d5a;--difficulty-red-soft:#ff7a45;--difficulty-neutral:#aab2bd;--difficulty-green:#58d68d;--difficulty-green-strong:#22e06d;--difficulty-tint:rgba(170,178,189,.08);--difficulty-glow:rgba(0,0,0,.18);background:linear-gradient(145deg,var(--difficulty-tint),#090a0b 72%);border-color:color-mix(in srgb,var(--rating-accent) 38%,rgba(255,255,255,.12));box-shadow:0 12px 26px rgba(0,0,0,.24),0 0 18px var(--difficulty-glow)}.leagueMatchDifficulty:before{content:"";width:7px;height:7px;border-radius:50%;background:var(--rating-accent);box-shadow:0 0 8px var(--difficulty-glow)}.leagueMatchDifficulty strong{color:var(--rating-accent)!important;text-shadow:0 0 10px var(--difficulty-glow)}.leagueOpponentRating.difficulty-very-favourable{--rating-accent:var(--difficulty-green-strong);--difficulty-tint:rgba(34,224,109,.13);--difficulty-glow:rgba(34,224,109,.22)}.leagueOpponentRating.difficulty-favourable{--rating-accent:var(--difficulty-green);--difficulty-tint:rgba(88,214,141,.1);--difficulty-glow:rgba(88,214,141,.16)}.leagueOpponentRating.difficulty-even{--rating-accent:var(--difficulty-neutral);--difficulty-tint:rgba(170,178,189,.07);--difficulty-glow:rgba(170,178,189,.04)}.leagueOpponentRating.difficulty-hard{--rating-accent:var(--difficulty-red-soft);--difficulty-tint:rgba(255,122,69,.11);--difficulty-glow:rgba(255,122,69,.17)}.leagueOpponentRating.difficulty-very-hard{--rating-accent:var(--difficulty-red-strong);--difficulty-tint:rgba(255,77,90,.14);--difficulty-glow:rgba(255,77,90,.24)}.leagueOpponentRating.difficulty-unrated{--rating-accent:#8b949e;--difficulty-tint:rgba(139,148,158,.07);--difficulty-glow:rgba(139,148,158,.03)}.leagueMatchDifficulty .leagueRatingStars{display:none}.leagueMatchDifficulty small{display:block}.leagueOpponentRating.card,.leagueOpponentRating.admin{min-width:132px}.leagueOpponentRating.mini{display:inline-grid;margin:0 0 10px;min-width:180px}.leagueOpponentRating.matchday{justify-self:end;min-width:170px}.leagueOpponentRating.profile{width:100%;min-height:126px;justify-items:start}.opponentRatingFacts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;margin:12px 0;background:var(--border-soft);border:1px solid var(--border-soft)}.opponentRatingFacts div{padding:10px;background:#101113}.opponentRatingFacts span{display:block;color:var(--text-muted);font-size:9px;font-weight:900;letter-spacing:.07em;text-transform:uppercase}.opponentRatingFacts strong{display:block;margin-top:4px;color:#fff;overflow-wrap:anywhere}.ratingExplain{margin-top:10px;padding:10px;background:#080808;border:1px solid rgba(255,255,255,.1);border-radius:5px}.ratingExplain summary{cursor:pointer;color:var(--club-gold);font-size:11px;font-weight:900;text-transform:uppercase}.ratingExplain p{margin:8px 0 0;color:var(--text-muted);line-height:1.5}@media(max-width:820px){.leagueOpponentRating.matchday{justify-self:start}.opponentRatingFacts{grid-template-columns:1fr}}@media(max-width:520px){.leagueOpponentRating{width:100%;box-sizing:border-box}.leagueRatingStar{width:20px;height:20px}}

.oppositionActionRow{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    align-items:center;
}

.leagueSyncForm{
    margin-bottom:12px;
}

.leagueMappingList{
    display:grid;
    gap:10px;
}

.leagueMappingRow{
    display:grid;
    grid-template-columns:minmax(160px,1fr) minmax(180px,260px) auto;
    gap:10px;
    align-items:center;
    padding:10px;
    background:#101113;
    border:1px solid var(--border-soft);
}

.leagueMappingRow strong{
    color:#fff;
    overflow-wrap:anywhere;
}

.leagueMappingRow select{
    width:100%;
    padding:10px;
    background:#090a0b;
    color:#fff;
    border:1px solid rgba(255,255,255,.14);
    border-radius:2px;
}

.leagueTableWrap{
    overflow-x:auto;
}

.leagueSyncTable{
    width:100%;
    min-width:760px;
    border-collapse:collapse;
    background:#101113;
    color:#fff;
}

.leagueSyncTable th,
.leagueSyncTable td{
    padding:10px;
    border:1px solid var(--border-soft);
    text-align:left;
    white-space:nowrap;
}

.leagueSyncTable th{
    color:var(--club-gold);
    font-size:9px;
    font-weight:900;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.opponentNotePreview,
.matchdayIntelNote p{
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
    overflow-wrap:anywhere;
}

.leagueMatchDifficulty strong{
    overflow-wrap:anywhere;
}

.leagueOpponentRating.matchday .leagueDifficultyReason{
    max-width:28ch;
}

.matchdayIntelHistoricOnly .matchdayIntelHead{
    align-items:start;
}

.difficultyOverrideForm{
    margin-top:14px;
    padding-top:14px;
    border-top:1px solid var(--border-soft);
}

@media(max-width:820px){
    .leagueMappingRow{
        grid-template-columns:1fr;
    }

    .matchdayIntelHistoricOnly .matchdayIntelHead{
        grid-template-columns:1fr;
    }

    .leagueOpponentRating.matchday{
        width:100%;
        justify-self:stretch;
        box-sizing:border-box;
    }
}

.oppositionEmptyState{
    margin:10px 0;
    padding:12px 13px;
    background:#101113;
    border:1px solid var(--border-soft);
    border-left:3px solid var(--club-gold);
    border-radius:3px;
    color:var(--text-main);
}

.oppositionEmptyState strong{
    display:block;
    color:#fff;
    font-weight:900;
    overflow-wrap:anywhere;
}

.oppositionEmptyState p{
    margin:5px 0 0;
    color:var(--text-muted);
    font-weight:750;
    line-height:1.45;
}
/* OPPOSITION DASHBOARD DESKTOP REFINEMENT */
.opposition-page .wrap{
    width:min(1320px,calc(100% - 40px));
    max-width:1320px;
    margin-inline:auto;
    padding-top:clamp(72px,8vw,104px);
}

.oppositionGrid{
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:16px;
    align-items:stretch;
}

.oppositionGrid .oppositionCard{
    display:flex;
    flex-direction:column;
    gap:12px;
    min-height:0;
    padding:16px;
    background:linear-gradient(180deg,#181a1e 0,#111316 42%,#0d0e10 100%);
    border-color:rgba(255,255,255,.11);
    box-shadow:0 12px 28px rgba(0,0,0,.20);
    overflow:hidden;
}

.oppositionGrid .oppositionCardHead{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:18px;
    align-items:start;
    margin:0;
    padding-bottom:12px;
    border-bottom:1px solid rgba(255,255,255,.10);
}

.oppositionGrid .oppositionCardHead > div:first-child{
    min-width:0;
}

.oppositionGrid .oppositionCardHead h2{
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    margin-top:5px;
    color:#fff;
    font-size:clamp(1.25rem,1.4vw,1.7rem);
    line-height:1.05;
    letter-spacing:0;
    overflow:hidden;
    overflow-wrap:normal;
    word-break:normal;
}

.oppositionGrid .leagueOpponentRating.card{
    width:clamp(150px,11vw,180px);
    min-width:150px;
    max-width:180px;
    padding:10px 11px;
    gap:5px;
    border-radius:4px;
    box-shadow:0 8px 18px rgba(0,0,0,.18);
}

.oppositionGrid .leagueOpponentRating.card.leagueMatchDifficulty{
    box-shadow:0 8px 18px rgba(0,0,0,.18),0 0 16px var(--difficulty-glow);
}

.oppositionGrid .leagueOpponentRating.card small{
    display:none;
}

.oppositionGrid .leagueOpponentRating.card strong{
    max-width:100%;
    font-size:13px;
    line-height:1.1;
    white-space:normal;
    overflow-wrap:anywhere;
}

.oppositionGrid .leagueOpponentRating.card .leagueRatingHeading{
    font-size:8px;
}

.oppositionGrid .leagueOpponentRating.card .leagueRatingStars{
    min-height:18px;
}

.oppositionGrid .leagueOpponentRating.card .leagueRatingStar{
    width:17px;
    height:17px;
}

.oppositionGrid .oppositionStats{
    grid-template-columns:repeat(4,minmax(0,1fr));
    margin:0;
    gap:0;
    background:rgba(255,255,255,.08);
}

.oppositionGrid .oppositionStats div{
    min-height:58px;
    padding:9px 10px;
}

.oppositionGrid .oppositionStats span,
.oppositionCardMetaGrid span{
    font-size:8px;
    letter-spacing:.08em;
}

.oppositionGrid .oppositionStats strong{
    margin-top:4px;
    font-size:15px;
    line-height:1.15;
}

.oppositionSummaryText,
.oppositionPublishNote{
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    margin:0;
    color:var(--text-muted);
    font-size:13px;
    font-weight:750;
    line-height:1.4;
    overflow:hidden;
}

.oppositionCardMetaGrid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:1px;
    margin-top:auto;
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.08);
}

.oppositionCardMetaGrid div{
    min-width:0;
    padding:9px 10px;
    background:#101113;
}

.oppositionCardMetaGrid span{
    display:block;
    color:var(--text-muted);
    font-weight:900;
    text-transform:uppercase;
}

.oppositionCardMetaGrid strong{
    display:block;
    margin-top:4px;
    color:#fff;
    font-size:14px;
    line-height:1.2;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.oppositionCardFooter{
    display:flex;
    margin-top:2px;
}

.oppositionCardFooter .oppositionButton{
    width:auto;
}

@media(max-width:1199px){
    .oppositionGrid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .oppositionGrid .oppositionStats{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media(max-width:759px){
    .opposition-page .wrap{
        width:calc(100% - 18px);
        padding-top:clamp(64px,18vw,88px);
    }

    .oppositionGrid{
        grid-template-columns:1fr;
    }

    .oppositionGrid .oppositionCardHead{
        grid-template-columns:1fr;
        gap:10px;
    }

    .oppositionGrid .leagueOpponentRating.card{
        width:100%;
        max-width:none;
    }

    .oppositionGrid .oppositionStats,
    .oppositionCardMetaGrid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .oppositionCardFooter .oppositionButton{
        width:100%;
    }
}

/* Admin Matchday Centre layout restore */
.matchday-centre-page .wrap{
    width:100%;
    max-width:none;
    padding:24px 0 60px;
    box-sizing:border-box;
}

.matchday-centre-page .matchdayWrap{
    display:grid;
    gap:16px;
    width:min(1180px,calc(100% - 28px));
    margin:0 auto;
    color:var(--text-main);
}

.matchday-centre-page .matchdayHero,
.matchday-centre-page .matchdayPanel{
    min-width:0;
    background:linear-gradient(145deg,var(--panel-bg-soft),var(--panel-bg));
    border:1px solid rgba(212,175,90,.28);
    border-radius:6px;
    box-shadow:0 16px 38px rgba(0,0,0,.22);
    color:#f8fafc;
}

.matchday-centre-page .matchdayHero{
    display:grid;
    grid-template-columns:minmax(0,1.5fr) minmax(260px,.8fr);
    gap:16px;
    align-items:start;
    padding:18px;
    background:linear-gradient(118deg,#090a0c,#1b1113 62%,var(--club-red-dark));
}

.matchday-centre-page .matchdayPanel{
    padding:18px;
}

.matchday-centre-page .matchdayKicker{
    display:block;
    margin-bottom:7px;
    color:var(--club-gold);
    font-size:12px;
    font-weight:900;
    letter-spacing:.12em;
    text-transform:uppercase;
}

.matchday-centre-page .matchdayHero h1,
.matchday-centre-page .matchdayHero h2,
.matchday-centre-page .matchdayPanel h2,
.matchday-centre-page .matchdayPanel h3{
    color:#fff;
}

.matchday-centre-page .matchdayHero h1{
    margin:4px 0 8px;
    font-size:clamp(34px,5vw,58px);
    line-height:1;
    text-transform:uppercase;
}

.matchday-centre-page .matchdayHero h2{
    margin:0 0 10px;
}

.matchday-centre-page .matchdayOpponentLink{
    color:inherit;
    text-decoration:underline;
    text-decoration-thickness:2px;
    text-underline-offset:4px;
}

.matchday-centre-page .matchdayMeta{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
}

.matchday-centre-page .matchdayMeta span,
.matchday-centre-page .statusPill{
    display:inline-flex;
    align-items:center;
    max-width:100%;
    min-height:32px;
    box-sizing:border-box;
    padding:6px 9px;
    background:#191b1f;
    border:1px solid rgba(255,255,255,.14);
    border-radius:999px;
    color:#f8fafc;
    font-size:12px;
    overflow-wrap:anywhere;
}

.matchday-centre-page .matchdaySelect{
    display:grid;
    gap:8px;
}

.matchday-centre-page .matchdaySelect label{
    color:var(--text-muted);
    font-size:10px;
    font-weight:900;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.matchday-centre-page .matchdaySelect select,
.matchday-centre-page .responseForm select,
.matchday-centre-page .responseForm input,
.matchday-centre-page .reminderText{
    box-sizing:border-box;
    background:#080808;
    color:#fff;
    border:1px solid #444;
    border-radius:4px;
    font:inherit;
}

.matchday-centre-page .matchdaySelect select{
    width:100%;
    padding:10px;
}

.matchday-centre-page .matchdayActions,
.matchday-centre-page .responseFilters{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
}

.matchday-centre-page .matchdayBtn,
.matchday-centre-page .responseFilters a,
.matchday-centre-page .copyBtn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:40px;
    box-sizing:border-box;
    padding:9px 12px;
    background:var(--club-red);
    border:0;
    border-radius:4px;
    color:#fff!important;
    cursor:pointer;
    font-size:11px;
    font-weight:900;
    letter-spacing:.04em;
    text-align:center;
    text-decoration:none;
    text-transform:uppercase;
}

.matchday-centre-page .matchdayBtn.secondary,
.matchday-centre-page .responseFilters a{
    background:#222;
    border:1px solid rgba(255,255,255,.16);
}

.matchday-centre-page .matchdayBtn:disabled{
    opacity:.5;
    cursor:not-allowed;
}

.matchday-centre-page .responseFilters a.active{
    background:var(--club-gold);
    border-color:var(--club-gold);
    color:#111!important;
}

.matchday-centre-page .summaryGrid{
    display:grid;
    grid-template-columns:repeat(5,minmax(110px,1fr));
    gap:10px;
}

.matchday-centre-page .summaryGrid div{
    min-width:0;
    padding:12px;
    background:#070707;
    border:1px solid rgba(255,255,255,.1);
    border-radius:5px;
}

.matchday-centre-page .summaryGrid span{
    display:block;
    color:#aaa;
    font-size:12px;
}

.matchday-centre-page .summaryGrid strong{
    display:block;
    color:var(--club-gold);
    font-size:26px;
}

.matchday-centre-page .matchdayGrid{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(280px,340px);
    gap:16px;
    align-items:start;
}

.matchday-centre-page .matchdayGrid aside{
    display:grid;
    gap:16px;
    min-width:0;
}

.matchday-centre-page .responseList,
.matchday-centre-page .sideList{
    display:grid;
    gap:10px;
}

.matchday-centre-page .responseCard{
    display:grid;
    grid-template-columns:48px minmax(0,1fr);
    gap:12px;
    min-width:0;
    padding:12px;
    background:#080808;
    border:1px solid rgba(255,255,255,.1);
    border-radius:5px;
}

.matchday-centre-page .responsePhoto,
.matchday-centre-page .responseCard img.responsePhoto,
.matchday-centre-page .sideList img{
    display:block;
    width:48px;
    max-width:48px;
    height:48px;
    max-height:48px;
    border-radius:50%;
    background:#222;
    object-fit:cover;
    flex:0 0 48px;
}

.matchday-centre-page .responseName{
    display:flex;
    flex-wrap:wrap;
    justify-content:space-between;
    gap:8px;
}

.matchday-centre-page .responseName strong{
    color:#fff;
    font-size:16px;
}

.matchday-centre-page .responseDetail{
    color:#cbd5e1;
    font-size:13px;
    line-height:1.45;
}

.matchday-centre-page .responseForm{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-top:10px;
}

.matchday-centre-page .responseForm select,
.matchday-centre-page .responseForm input{
    min-height:38px;
    padding:8px;
}

.matchday-centre-page .responseForm input{
    flex:1 1 180px;
    min-width:0;
}

.matchday-centre-page .status-attending{color:#86efac}
.matchday-centre-page .status-unsure{color:#fde68a}
.matchday-centre-page .status-not_attending,
.matchday-centre-page .status-injured{color:#fca5a5}
.matchday-centre-page .status-no_response{color:#cbd5e1}

.matchday-centre-page .sideList div,
.matchday-centre-page .warningItem,
.matchday-centre-page .emptyState{
    min-width:0;
    padding:10px;
    background:#080808;
    border:1px solid rgba(255,255,255,.1);
    border-radius:5px;
    color:#f8fafc;
}

.matchday-centre-page .warningItem{
    margin-top:8px;
    border-color:#f59e0b;
}

.matchday-centre-page .reminderText{
    width:100%;
    min-height:130px;
    padding:10px;
    resize:vertical;
}

.matchday-centre-page .printOnlyNote{
    color:#aaa;
    font-size:13px;
}

.matchday-centre-page .positionGroup h4{
    margin:10px 0 6px;
    color:var(--club-gold);
}
.matchday-centre-page .matchdayIntelPanel{
    display:grid;
    gap:12px;
    padding:16px;
}

.matchday-centre-page .matchdayIntelHead{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:12px;
    align-items:start;
}

.matchday-centre-page .matchdayIntelHead h2{
    margin:2px 0 0;
    font-size:clamp(22px,3vw,34px);
    line-height:1.05;
    text-transform:uppercase;
}

.matchday-centre-page .matchdayIntelHead h2 a{
    color:inherit;
    text-decoration:none;
}

.matchday-centre-page .matchdayIntelBody{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(260px,340px);
    gap:12px;
    align-items:start;
}

.matchday-centre-page .matchdayIntelPrimary,
.matchday-centre-page .matchdayIntelAside{
    display:grid;
    gap:10px;
    min-width:0;
}

.matchday-centre-page .matchdayIntelMetrics{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:8px;
}

.matchday-centre-page .matchdayIntelMetrics div,
.matchday-centre-page .matchdayIntelNote,
.matchday-centre-page .matchdayIntelCaption,
.matchday-centre-page .matchdayIntelEmpty,
.matchday-centre-page .matchdayIntelPanel .oppositionEmptyState{
    min-width:0;
    margin:0;
    padding:10px;
    background:#080808;
    border:1px solid rgba(255,255,255,.1);
    border-radius:5px;
}

.matchday-centre-page .matchdayIntelPanel .oppositionEmptyState{
    border-left:3px solid var(--club-gold);
}

.matchday-centre-page .matchdayIntelMetrics span,
.matchday-centre-page .matchdayIntelNote span{
    display:block;
    color:var(--club-gold);
    font-size:10px;
    font-weight:900;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.matchday-centre-page .matchdayIntelMetrics strong{
    display:block;
    margin-top:4px;
    color:#fff;
    line-height:1.3;
    overflow-wrap:anywhere;
}

.matchday-centre-page .matchdayIntelNote p,
.matchday-centre-page .matchdayIntelCaption,
.matchday-centre-page .matchdayIntelEmpty,
.matchday-centre-page .matchdayIntelPanel .oppositionEmptyState p{
    color:#cbd5e1;
    line-height:1.45;
}

.matchday-centre-page .matchdayIntelNote p{
    margin:5px 0 0;
}

.matchday-centre-page .matchdayIntelActions{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
}

.matchday-centre-page .matchdayIntelActions .matchdayBtn{
    flex:1 1 150px;
}

.matchday-centre-page .leagueOpponentRating.matchday{
    align-self:start;
    justify-self:end;
    min-width:0;
    width:min(230px,100%);
    box-sizing:border-box;
}

.matchday-centre-page .matchdayIntelBadge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:32px;
    padding:6px 10px;
    background:#222;
    border:1px solid rgba(255,255,255,.16);
    border-radius:999px;
    color:#fff;
    font-size:11px;
    font-weight:900;
    letter-spacing:.04em;
    text-transform:uppercase;
}

.matchday-centre-page .matchdayIntelBadge.neutral{
    color:#cbd5e1;
}

@media(max-width:850px){
    .matchday-centre-page .matchdayHero,
    .matchday-centre-page .matchdayGrid,
    .matchday-centre-page .matchdayIntelHead,
    .matchday-centre-page .matchdayIntelBody{
        grid-template-columns:1fr;
    }

    .matchday-centre-page .summaryGrid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .matchday-centre-page .leagueOpponentRating.matchday{
        justify-self:stretch;
        width:100%;
    }

    .matchday-centre-page .responseCard{
        grid-template-columns:40px minmax(0,1fr);
    }

    .matchday-centre-page .responsePhoto,
    .matchday-centre-page .responseCard img.responsePhoto,
    .matchday-centre-page .sideList img{
        width:40px;
        max-width:40px;
        height:40px;
        max-height:40px;
    }
}

@media(max-width:560px){
    .matchday-centre-page .wrap{
        padding-top:14px;
    }

    .matchday-centre-page .matchdayWrap{
        width:calc(100% - 18px);
    }

    .matchday-centre-page .summaryGrid,
    .matchday-centre-page .responseForm,
    .matchday-centre-page .matchdayIntelMetrics{
        grid-template-columns:1fr;
    }

    .matchday-centre-page .matchdayActions,
    .matchday-centre-page .responseFilters{
        display:grid;
        grid-template-columns:1fr;
    }

    .matchday-centre-page .matchdayBtn,
    .matchday-centre-page .responseFilters a,
    .matchday-centre-page .copyBtn{
        width:100%;
    }
}
