/* Shared large player analysis: subtle numbers, explicit optional score help. */
.league-player-dialog .metric-counter,
.league-player-dialog .metric-counter-visual { display: inline; color: inherit; font: inherit; letter-spacing: inherit; margin: 0; font-variant-numeric: tabular-nums; }
.league-player-hero-value .metric-counter { display: inline-block; min-width: 6ch; }
.league-player-kpis .metric-counter { display: inline-block; min-width: 3ch; }
.player-score-summary { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.player-score-summary > span { text-align: right; }
.player-score-summary small { display: block; color: var(--muted); font-size: 9px; }
.player-score-summary strong { display: block; margin-top: 5px; color: var(--lime); font-size: 28px; font-weight: 800; }
.score-help { position: relative; display: inline-flex; align-items: center; vertical-align: middle; }
.score-help-toggle { display: grid; place-items: center; width: 26px; height: 26px; padding: 0; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--muted); background: var(--panel-2); font-size: 13px; font-weight: 750; line-height: 1; cursor: pointer; transition: color .18s, border-color .18s, background .18s; }
.score-help-toggle:hover, .score-help-toggle[aria-expanded="true"] { color: var(--lime); border-color: var(--lime); background: #203020; }
.score-help-toggle:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
.score-help-popover { position: absolute; z-index: 20; top: calc(100% + 9px); right: 0; width: min(300px, calc(100vw - 90px)); padding: 16px 18px; border: 1px solid var(--line-strong); border-radius: 14px; color: var(--text); background: #182a21; box-shadow: 0 14px 42px #0008; font-size: 12px; line-height: 1.75; letter-spacing: 0; font-weight: 400; text-transform: none; text-align: left; animation: score-help-in .16s ease-out both; }
.score-help-popover::before { content: ''; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.drawer-score .score-help { margin-left: 4px; }
.drawer-score .score-help-popover { width: min(290px, calc(100vw - 90px)); }
.league-player-analysis-card { position: relative; }
.league-player-analysis-card:has(.score-help-toggle[aria-expanded="true"]) { z-index: 6; }
@keyframes score-help-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (max-width: 520px) {
  .league-player-analysis-card > .league-player-section-head { flex-wrap: wrap; }
  .player-score-summary { margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .score-help-popover, .score-help-toggle,
  .league-player-dialog[open], .league-player-dialog::backdrop { animation: none; transition: none; }
}
