/* The approved football player card, scoped away from team/coach/referee/basketball UI. */
.football-player-hover{--fph-paper:var(--tooltip-surface,var(--panel-strong,#fff));--fph-soft:color-mix(in srgb,var(--fph-accent) 10%,var(--fph-paper));--fph-line:var(--line,#cbdad5);--fph-ink:var(--text,#122126);--fph-muted:var(--muted,#50636a);--fph-accent:var(--accent-strong,#006b60);display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:18px;width:100%;min-width:0;color:var(--fph-ink);font-family:inherit;font-size:calc(12px * var(--ui-font-scale,1));line-height:1.3;background:var(--fph-paper);text-align:left}
.football-player-hover *{box-sizing:border-box;min-width:0}
.football-player-hover .fph-main{display:grid;align-content:start;gap:8px}
.football-player-hover .fph-head{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:8px;align-items:center;background:var(--fph-soft);padding:6px;border-radius:5px}
.football-player-hover .fph-avatar{width:48px;height:60px;background:color-mix(in srgb,var(--fph-accent) 12%,var(--fph-paper));border-radius:5px;overflow:hidden;display:grid;place-items:center;font-weight:900}
.football-player-hover .fph-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.football-player-hover .fph-identity>strong{display:block;font-size:calc(16px * var(--ui-font-scale,1));font-weight:900;line-height:1.15;overflow-wrap:anywhere}
.football-player-hover .fph-identity>span{display:block;font-size:calc(11px * var(--ui-font-scale,1));font-weight:750;color:var(--fph-muted);line-height:1.25;overflow-wrap:anywhere}
.football-player-hover .fph-head-actions{display:flex;flex-direction:column;gap:3px;align-items:flex-end}
.football-player-hover .fph-head-actions>button{margin:0}
.football-player-hover .fph-pronunciation,.football-player-hover .league-pronunciation-inline,.football-player-hover .pronunciation-play{display:inline-flex;align-items:center;gap:4px;padding:4px 7px;width:auto;height:auto;border:1px solid var(--fph-line);border-radius:20px;background:var(--fph-paper);font-size:calc(10px * var(--ui-font-scale,1));color:var(--fph-muted);font-weight:750}
.football-player-hover .fph-pronunciation:disabled{opacity:.6;cursor:help}
.football-player-hover .fph-injury-status{position:relative;display:grid;place-items:center;width:21px;height:21px;padding:0;border:1px solid var(--fph-line);border-radius:4px;background:var(--fph-paper);color:var(--fph-muted);font-size:17px;line-height:1;cursor:help}
.football-player-hover .fph-injury-status.is-injured{color:#d32f3b;border-color:#d99ba1;background:#fff1f1}
.football-player-hover .fph-facts{display:grid;grid-template-columns:minmax(0,.75fr) minmax(0,1.45fr);gap:6px}
.football-player-hover .fph-facts>div{padding:7px 8px;border-radius:5px;background:color-mix(in srgb,var(--fph-accent) 15%,var(--fph-paper))}
.football-player-hover h3{margin:0 0 3px;font-size:calc(11px * var(--ui-font-scale,1));line-height:1.25;font-weight:900;color:var(--fph-accent);text-transform:uppercase}
.football-player-hover .fph-facts h3,.football-player-hover .fph-national h3{font-size:calc(10px * var(--ui-font-scale,1));color:var(--fph-muted)}
.football-player-hover .fph-facts strong,.football-player-hover .fph-facts span{display:block;font-size:calc(11px * var(--ui-font-scale,1));line-height:1.3;overflow-wrap:anywhere}
.football-player-hover .fph-facts span{color:var(--fph-muted);font-weight:750;margin-top:3px}
.football-player-hover .fph-section{padding:8px 9px;border:1px solid var(--fph-line);border-radius:6px;background:var(--fph-soft);overflow:visible}
.football-player-hover .fph-empty{margin:3px 0;color:var(--fph-muted);font-size:calc(11px * var(--ui-font-scale,1))}
.football-player-hover .fph-season{padding:6px 7px;border:1px solid var(--fph-line);border-radius:7px;margin-top:6px}
.football-player-hover .fph-season header{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:3px 6px;margin-bottom:5px;font-size:calc(10px * var(--ui-font-scale,1));font-weight:800}
.football-player-hover .fph-season header>b{padding:2px 5px;border-radius:4px;background:color-mix(in srgb,var(--fph-accent) 16%,transparent);color:var(--fph-accent)}
.football-player-hover .fph-season header>span{overflow-wrap:anywhere}
.football-player-hover .fph-season-competition,.football-player-hover .fph-stat-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;border-top:1px solid var(--fph-line);padding:3px 0;font-size:calc(10.5px * var(--ui-font-scale,1));line-height:1.25}
.football-player-hover .fph-season-competition b,.football-player-hover .fph-stat-row b{overflow-wrap:anywhere}
.football-player-hover .fph-season-competition span,.football-player-hover .fph-stat-row span{color:var(--fph-muted);font-weight:700;text-align:right}
.football-player-hover details{margin:4px 0 0;border:0;padding:0;background:none}
.football-player-hover summary{cursor:pointer;font-size:calc(11px * var(--ui-font-scale,1));font-weight:850;color:var(--fph-accent);padding:4px 0}
.football-player-hover summary small{float:right;color:var(--fph-muted);font-size:inherit}
.football-player-hover .fph-national{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);background:var(--fph-soft);border-radius:5px;border:1px solid var(--fph-line)}
.football-player-hover .fph-national>div{padding:8px}
.football-player-hover .fph-national>div+div{border-left:1px solid var(--fph-line)}
.football-player-hover .fph-national strong,.football-player-hover .fph-national>div>span{display:block;font-size:calc(11px * var(--ui-font-scale,1));line-height:1.3;overflow-wrap:anywhere}
.football-player-hover .fph-national>div>span{color:var(--fph-muted);font-size:calc(10px * var(--ui-font-scale,1));font-weight:750;margin-top:3px}
.football-player-hover .fph-national>.fph-national-goals{grid-column:1/-1;border-left:0;border-top:1px solid var(--fph-line);padding:5px 8px}
.football-player-hover .fph-national>.fph-national-youth{grid-column:1/-1;border-left:0;border-top:1px solid var(--fph-line);padding:5px 8px}
.football-player-hover .fph-goal{position:relative;display:grid;grid-template-columns:75px minmax(0,1fr);gap:7px;padding:3px 0;font-size:calc(10.5px * var(--ui-font-scale,1));cursor:help}
.football-player-hover .fph-goal>b{color:var(--fph-muted)}
.football-player-hover .fph-goal>span{font-weight:700;overflow-wrap:anywhere}
.football-player-hover .fph-goal-tooltip,.football-player-hover .fph-injury-tooltip{display:none;pointer-events:none;position:absolute;z-index:10;top:100%;right:0;width:260px;max-width:75vw;padding:8px 10px;border-radius:6px;border:1px solid var(--fph-line);background:var(--fph-paper);color:var(--fph-ink);box-shadow:0 4px 15px #0003;font-size:calc(11px * var(--ui-font-scale,1));line-height:1.35;text-align:left;font-weight:600}
.football-player-hover .fph-goal:hover>.fph-goal-tooltip,.football-player-hover .fph-goal:focus>.fph-goal-tooltip,.football-player-hover .fph-injury-status:hover>.fph-injury-tooltip,.football-player-hover .fph-injury-status:focus>.fph-injury-tooltip{display:block}
.football-player-hover .fph-total{display:block;font-size:calc(15px * var(--ui-font-scale,1));font-weight:900}
.football-player-hover .fph-career-sub{font-size:calc(11px * var(--ui-font-scale,1));font-weight:750;color:var(--fph-muted);margin:3px 0 6px}
.football-player-hover .fph-career>details{border-top:1px solid var(--fph-line)}
.football-player-hover .fph-station{margin:6px 0}
.football-player-hover .fph-station>strong{display:block;font-size:calc(11.5px * var(--ui-font-scale,1));line-height:1.35;font-weight:900;overflow-wrap:anywhere}
.football-player-hover .fph-station>span{display:block;padding-left:8px;font-size:calc(10.5px * var(--ui-font-scale,1));color:var(--fph-muted);font-weight:750;line-height:1.3;margin-top:2px;overflow-wrap:anywhere}
.football-player-hover .fph-achievement{display:flex;gap:7px;align-items:center;background:linear-gradient(var(--fph-paper),color-mix(in srgb,var(--fph-accent) 4%,var(--fph-paper)));border:1px solid var(--fph-line);border-radius:7px;padding:5px 7px;margin-top:5px}
.football-player-hover .fph-trophy{font-size:20px;flex-shrink:0}
.football-player-hover .fph-achievement strong{display:block;font-size:calc(11.5px * var(--ui-font-scale,1));line-height:1.35;overflow-wrap:anywhere}
.football-player-hover .fph-achievement strong>b{color:var(--fph-accent);font-size:calc(10px * var(--ui-font-scale,1))}
.football-player-hover .fph-achievement div>span{display:block;font-size:calc(10.5px * var(--ui-font-scale,1));color:var(--fph-muted);line-height:1.35;overflow-wrap:anywhere}
.football-player-hover .fph-injury-row{font-size:calc(11px * var(--ui-font-scale,1));margin:5px 0;line-height:1.35;overflow-wrap:anywhere}
.football-player-hover .fph-injuries summary{text-align:right}
.football-player-hover .fph-notes{min-width:0;border-left:1px solid var(--fph-line);padding-left:18px;align-self:stretch}
.football-player-hover .fph-notes .app-notes-component,.football-player-hover .fph-notes .tooltip-profile-notes{display:block;width:100%;max-width:none;border:0;border-radius:0;padding:0;margin:0;background:transparent;max-height:none;overflow:visible}
.football-player-hover .fph-notes .app-notes-heading{font-size:calc(14px * var(--ui-font-scale,1))}
.football-player-hover .fph-notes textarea{width:100%;height:180px;min-height:100px;font-size:calc(12px * var(--ui-font-scale,1))}
.football-player-hover .fph-notes .league-note-text-field{display:block;position:static}
.football-player-hover .fph-notes .league-note-new-controls{display:flex;gap:7px;align-items:center}
.football-player-hover .fph-notes .league-note-new-controls select{width:45px;flex:0 0 45px;min-width:0}
.football-player-hover .fph-notes .league-note-new-controls [data-note-add]{flex:1}
.football-player-hover .fph-status{font-size:calc(10.5px * var(--ui-font-scale,1))}
.football-player-hover .fph-status:empty{display:none}
.football-player-hover .fph-status .tooltip-note-strip{margin:2px 0;padding:4px 6px}
.football-player-hover .fph-competition .stat-block-grid{gap:5px}
.football-player-hover .fph-competition .stat-block{padding:5px;border-radius:5px}
.football-player-hover .fph-competition .stat-block-metrics{gap:3px 6px}
.football-player-hover .fph-competition .stat-metric{font-size:calc(10px * var(--ui-font-scale,1))}
.football-player-hover .fph-competition .stat-block-label{font-size:calc(10px * var(--ui-font-scale,1))}
.floating-player-tooltip:has(.football-player-hover),#leagueHoverCard:has(.football-player-hover),#hover:has(.football-player-hover){padding:13px;border:1px solid var(--line,#cbdad5);border-radius:12px;background:var(--tooltip-surface,var(--panel-strong,#fff));overflow:auto;max-height:calc(100dvh - 16px)}
@media(max-width:650px){.football-player-hover{gap:10px;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)!important}.football-player-hover .fph-head{grid-template-columns:36px minmax(0,1fr)}.football-player-hover .fph-avatar{width:36px;height:45px}.football-player-hover .fph-head-actions{grid-column:1/-1;flex-direction:row;justify-content:flex-end}.football-player-hover .fph-notes{padding-left:10px}.football-player-hover .fph-facts,.football-player-hover .fph-national{grid-template-columns:minmax(0,1fr)}.football-player-hover .fph-national>div+div{border-left:0;border-top:1px solid var(--fph-line)}.football-player-hover .fph-season-competition,.football-player-hover .fph-stat-row{grid-template-columns:minmax(0,1fr)}.football-player-hover .fph-goal{grid-template-columns:minmax(0,1fr);gap:2px}.football-player-hover .fph-identity>strong{font-size:calc(13px * var(--ui-font-scale,1))}}
html[data-theme="light"] .football-player-hover{--fph-paper:#fff;--fph-soft:#e2eae7;--fph-line:#cbdad5;--fph-ink:#122126;--fph-muted:#50636a;--fph-accent:#006b60}
html[data-theme="light"] .floating-player-tooltip:has(.football-player-hover),html[data-theme="light"] #leagueHoverCard:has(.football-player-hover),html[data-theme="light"] #hover:has(.football-player-hover){background:#fff}
.football-player-hover .fph-add-note{font-size:calc(11px * var(--ui-font-scale,1));color:var(--fph-accent);background:color-mix(in srgb,var(--fph-accent) 9%,var(--fph-paper));border:1px solid var(--fph-line);border-radius:5px;padding:5px 8px;margin:0 0 7px}
.football-player-hover .fph-note-body{border:1px solid var(--fph-line);border-radius:7px;padding:9px}
.football-player-hover .fph-note-body:not(.is-composing) .league-note-new,.football-player-hover .fph-note-body:not(.is-composing) .league-note-actions{display:none}
.football-player-hover .fph-note-body:has(textarea:focus) .league-note-new{display:block}
.football-player-hover .fph-notes .league-note-head{padding:0;margin:0 0 6px;border:0;align-items:flex-start}
.football-player-hover .fph-notes .league-note-head>div:first-child{width:auto}
.football-player-hover .fph-notes .league-note-head strong{font-size:calc(14px * var(--ui-font-scale,1));line-height:1.2}
.football-player-hover .fph-notes .league-note-head span,.football-player-hover .fph-notes .league-note-head em{font-size:calc(10px * var(--ui-font-scale,1));line-height:1.25}
.football-player-hover .fph-notes .league-note-head em{display:block;float:none;color:var(--fph-accent)}
.football-player-hover .fph-notes .tooltip-profile-notes>.app-notes-component{border:1px solid var(--fph-line);border-radius:7px;padding:9px;margin-top:6px}
.football-player-hover .fph-notes .league-note-empty{font-size:calc(11px * var(--ui-font-scale,1));padding:7px}
