/* Scoped refinements: the public site and the administrative palette stay intact. */
#joueur .rubric-welcome {padding-block:16px;margin-bottom:12px}
#joueur .rubric-welcome h1 {font-size:clamp(27px,3vw,38px);line-height:1.12}
#joueur .rubric-welcome p {margin:6px 0 0}
#joueur .club-session-toolbar {padding:8px 14px;margin-top:14px;min-height:50px}
#joueur .app-shell {margin-top:16px}
#joueur .app-shell {padding-top:0}
#joueur:has(#player-dashboard:not([hidden])) .rubric-welcome {display:none}
#joueur .rubric-welcome {padding:12px 20px;gap:14px}
#joueur .rubric-welcome h1 {margin:4px 0;font-size:29px}
#joueur .rubric-welcome p {display:none}
#joueur .rubric-welcome .eyebrow {font-size:10px}
#joueur .rubric-welcome .rubric-club-mark {font-size:30px;line-height:1;min-width:70px}
#joueur .rubric-welcome .rubric-club-mark span {font-size:40px}
#joueur .rubric-welcome .rubric-club-mark small {font-size:7px;margin-top:5px}
#player-dashboard .player-scoreboard {padding:16px 22px 20px;border-radius:20px}
#player-dashboard .scoreboard-identity {margin-top:14px;gap:16px}
#player-dashboard .scoreboard-logo {width:68px;height:68px;border-radius:16px}
#player-dashboard .scoreboard-logo img {width:62px;height:60px}
#player-dashboard .scoreboard-name>b {font-size:clamp(23px,2.5vw,34px)}
#player-dashboard .scoreboard-ranking h3 {font-size:48px}
#player-dashboard .scoreboard-top {min-height:16px}
#player-dashboard .scoreboard-top .my-overview-season {position:absolute;right:0;top:-4px}
#player-dashboard .scoreboard-top .theme-select-trigger,#player-dashboard .scoreboard-top select {min-height:36px;height:36px}
#player-dashboard .scoreboard-identity {margin-top:23px}
#player-dashboard .scoreboard-name {gap:4px}
#player-dashboard .scoreboard-ranking>small {font-size:9px;line-height:1.3}
#player-dashboard .player-scoreboard {padding:12px 20px 14px}
#player-dashboard .scoreboard-identity {margin-top:14px}
#player-dashboard .dashboard-highlights {display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-top:14px}
#player-dashboard .highlight-tile {min-width:0;padding:15px 14px;min-height:142px;border-radius:16px;transition:transform .18s ease,box-shadow .18s ease}
#player-dashboard .highlight-tile:hover {transform:translateY(-3px);box-shadow:0 8px 22px #00151c28}
#player-dashboard .highlight-tile:focus-visible,.projection-dialog button:focus-visible {outline:3px solid var(--club-turquoise);outline-offset:4px}
#player-dashboard .highlight-top {font-size:10px;letter-spacing:.5px;line-height:1.4}
#player-dashboard .highlight-tile>b {font-size:clamp(25px,2.6vw,37px);margin-block:10px}
#player-dashboard .highlight-tile>small {font-size:11px;line-height:1.5}
#player-dashboard .highlight-action {font-size:11px;line-height:1.5}
#player-dashboard .highlight-tile>b {line-height:1.05;margin:8px 0}
#player-dashboard .highlight-tile>small {line-height:1.3}
#player-dashboard .highlight-action {line-height:1.3;margin-top:10px;padding-top:8px}
#player-dashboard .highlight-projection {background:linear-gradient(125deg,#123f4b,#0a2734);color:#f5fafb;border:1px solid #51818a;text-align:left}
#player-dashboard .highlight-projection>b {font-size:clamp(21px,2.1vw,29px);color:#e4ed9c;letter-spacing:-.6px}
#player-dashboard .highlight-projection .highlight-top,#player-dashboard .highlight-projection>small {color:#d1e0e5}
#player-dashboard .highlight-projection .highlight-action {color:#78f3e6}
#player-dashboard .dashboard-quick-nav {margin-block:14px;gap:12px;flex-wrap:wrap}
#player-dashboard .dashboard-highlights {margin-bottom:12px}
#player-dashboard .dashboard-utility-grid {gap:14px;margin-bottom:16px}
#player-dashboard .dashboard-utility-grid {padding:0;margin-top:14px;background:transparent;border:0;box-shadow:none}
#player-dashboard .dashboard-next,#player-dashboard .dashboard-wallet {padding:18px;border-radius:18px}
#player-dashboard .dashboard-section-heading {margin-bottom:10px;gap:10px}
#player-dashboard .dashboard-section-heading h2 {font-size:23px;line-height:1.2}
#player-dashboard .section-number {font-size:24px}
#player-dashboard .dashboard-next .section-number,#player-dashboard .dashboard-next .dashboard-section-heading span:not(.section-number) {display:none}
#player-dashboard .dashboard-next .dashboard-section-heading h2 {font-size:18px}
#player-dashboard .dashboard-next .dashboard-section-heading {display:none}
#player-dashboard .dashboard-next {background:var(--club-panel-raised);border:1px solid var(--club-border)}
.overview-next-summary h3 {font-size:19px;line-height:1.3;margin:8px 0}
.overview-next-summary p {font-size:13px;line-height:1.55;margin:8px 0 12px}
.overview-next-summary .btn {min-height:44px}
#player-dashboard #my-season-archive {margin-top:18px;padding-top:0}
#player-dashboard .season-cards {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-block:12px}
#player-dashboard .season-card {min-width:0;padding:14px;border-radius:14px}
#player-dashboard .season-card b {font-size:27px}
#player-dashboard .season-card>small {font-size:11px}
#player-dashboard .season-card>strong {display:none}
#player-dashboard .season-card-action {font-size:11px}
#player-dashboard #my-season-archive .section-number,#player-dashboard #my-season-archive .dashboard-section-heading span,#player-dashboard #my-season-archive-status {display:none}
#player-dashboard #my-season-archive .dashboard-section-heading {margin-bottom:8px}
#player-dashboard #my-season-archive .dashboard-section-heading h2 {font-size:20px}
#player-dashboard .season-card {display:grid;grid-template-columns:1fr auto;gap:4px 12px;text-align:left;padding:12px}
#player-dashboard .season-card b {grid-column:2;grid-row:1/3;margin:0}
#player-dashboard .season-card>small {grid-column:1;font-size:10px}
#player-dashboard .season-card-action {display:none}
.rsvp-view-tabs,.result-view-tabs {display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}
.rsvp-view-tabs button,.result-view-tabs button {min-height:44px;padding:10px 16px;border:1px solid #56818a;border-radius:12px;background:#123b48;color:#e9f5f7;font:inherit;font-weight:700;font-size:14px;line-height:1.3;cursor:pointer}
.rsvp-view-tabs button[aria-pressed=true],.result-view-tabs button[aria-pressed=true] {background:var(--club-accent);color:var(--club-on-accent);border-color:var(--club-accent)}
.rsvp-view-tabs button:focus-visible,.result-view-tabs button:focus-visible {outline:3px solid var(--club-turquoise);outline-offset:3px}
#player-matches:not([data-result-view-active=history]) #my-history-content,
#player-matches:not([data-result-view-active=history]) #my-history-status,
#player-matches:not([data-result-view-active=performance]) #dashboard-interclubs,
#player-matches:not([data-result-view-active=performance]) #my-archive-performance,
#player-matches[data-result-view-active=history] #my-numeric-section,
#player-matches[data-result-view-active=points] .numeric-analysis,
#player-matches[data-result-view-active=points] .numeric-block:has(>.numeric-summary),
#player-matches[data-result-view-active=performance] .points-evolution,
#player-matches[data-result-view-active=performance] .numeric-technical,
#player-matches[data-result-view-active=performance] .numeric-games {display:none}
#player-matches .dashboard-section {margin-top:20px}
#player-availability #my-upcoming-section {margin-block:18px 24px}
#player-availability #my-upcoming-section:has(#rsvp-matches-list:empty) {margin-bottom:12px}
.projection-dialog {width:min(560px,calc(100vw - 28px));max-height:calc(100dvh - 40px);overflow:auto;box-sizing:border-box;background:#f0f6f7;color:#173540;border:1px solid #8cb2ba;border-radius:20px;padding:24px;box-shadow:0 30px 90px #00131c80}
.projection-dialog::backdrop {background:#041b25bb}
.projection-dialog header {display:flex;justify-content:space-between;align-items:flex-start;gap:16px}
.projection-dialog header h2 {font-size:25px;line-height:1.2;margin:7px 0 16px;color:#123540}
.projection-dialog header button {flex:0 0 44px;min-height:44px;background:#123f4b;color:#fff;border:0;border-radius:12px;font-size:26px;cursor:pointer}
.projection-dialog .eyebrow {color:#365b64;font-size:11px}
.projection-dialog p {font-size:14px;line-height:1.65}
.projection-dialog dl {margin:20px 0;border:1px solid #c5dce1;border-radius:12px;overflow:hidden}
.projection-dialog dl>div {display:flex;justify-content:space-between;gap:18px;padding:12px 14px;background:#fff;border-bottom:1px solid #d8e6e9;font-size:13px;line-height:1.4}
.projection-dialog dl>div:last-child {border-bottom:0}
.projection-dialog dd {margin:0;font-weight:800;text-align:right}
.projection-dialog>.btn {display:block;margin-top:20px;background:#123f4b;color:white;min-height:44px}
.projection-dialog a {color:#125764}
@media(max-width:1100px) and (min-width:701px){#player-dashboard .dashboard-highlights{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){
 #player-dashboard .dashboard-highlights{grid-template-columns:repeat(2,minmax(0,1fr))}
 #player-dashboard .highlight-projection{grid-column:1/-1;min-height:110px}
 #player-dashboard .season-cards{grid-template-columns:1fr}
 #player-dashboard .season-card{display:grid;grid-template-columns:1fr auto;gap:4px 14px;text-align:left}
 #player-dashboard .season-card b{grid-column:2;grid-row:1/3}
 #player-dashboard .season-card>small,#player-dashboard .season-card-action{grid-column:1}
 #player-dashboard .scoreboard-identity{gap:12px;flex-wrap:wrap}
 #player-dashboard .scoreboard-name{flex:1;min-width:130px}
 #player-dashboard .scoreboard-ranking{margin-left:auto}
 #player-dashboard .scoreboard-identity{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:10px}
 #player-dashboard .scoreboard-logo{width:48px;height:48px;border-radius:12px}
 #player-dashboard .scoreboard-logo img{width:44px;height:44px}
 #player-dashboard .scoreboard-name{min-width:0}
 #player-dashboard .scoreboard-name>b{font-size:20px;letter-spacing:-.5px}
 #player-dashboard .scoreboard-name>small,#player-dashboard .scoreboard-name>span{font-size:10px;line-height:1.4}
 #player-dashboard .scoreboard-ranking{width:auto;max-width:60px;min-width:0;border:0;padding:0;text-align:right}
 #player-dashboard .scoreboard-ranking>span{font-size:7px;letter-spacing:.3px}
 #player-dashboard .scoreboard-ranking h3{font-size:32px;letter-spacing:-1px}
 #player-dashboard .scoreboard-ranking>small{display:none}
 .projection-dialog{padding:18px}
}
@media(prefers-reduced-motion:reduce){#player-dashboard .highlight-tile{transition:none}#player-dashboard .highlight-tile:hover{transform:none}}
