/* Value-first player page. Scoped to avoid changing market, team or match pages. */
.pv-editorial .pv-metric { padding:10px;border:1px solid #ffffff10;border-radius:10px;transition:background .15s,border-color .15s; }
.pv-editorial .pv-metric:hover { background:#ffffff06;border-color:#ffffff30; }
.pv-editorial .pv-metric.is-selected { background:#a58ad812;border-color:#a58ad85c; }
.pv-editorial .pv-metric>span { display:flex;align-items:center;gap:6px; }
.pv-editorial .pv-metric>span svg { width:13px;height:13px;flex-shrink:0; }
.pv-editorial .pv-metric>span svg:last-child { margin-left:auto;opacity:.5;width:12px; }
.pv-editorial .pv-switch-hint { display:flex;align-items:center;gap:6px;font-size:10px;color:#87949e;margin:-10px 0 18px; }
.pv-switch-hint svg { width:12px;height:12px; }
.pv-rating-card { margin:0;padding:20px 18px 17px;border:1px solid #ffffff0a;border-radius:16px;background:#14191c; }
.pv-ratings-heading { display:flex;justify-content:space-between;align-items:center;gap:16px;font-size:11px;color:#a6b1ba;margin-bottom:18px; }.pv-ratings-heading strong { display:block;color:#e1e5e8;font-size:15px;font-weight:550; }.pv-ratings-heading small { display:block;color:#74838e;font-size:10px;font-weight:400;margin-top:5px; }.pv-ratings-heading>span { padding:7px 10px;border-radius:7px;background:#ffffff07;color:#c5cdd3;font-size:11px;white-space:nowrap; }
.pv-rating-card .pv-ratings-chart { display:flex;align-items:flex-end;gap:5px;position:relative;height:104px;margin:0 2px 32px;border-bottom:1px solid #ffffff12; }
.pv-rating-column { position:relative;display:flex;align-items:flex-end;flex:1;min-width:0;height:100%;padding:0;border:0;background:none;cursor:default; }
.pv-rating-bar { display:block;width:100%;max-width:22px;margin:auto auto 0;background:var(--rating-color);border-radius:3px 3px 0 0;opacity:.9; }
.pv-rating-number { position:absolute;bottom:-20px;left:50%;transform:translateX(-50%);color:var(--rating-color);font-size:10px;font-weight:600;white-space:nowrap; }
.pv-rating-opponent { position:absolute;bottom:-35px;left:50%;transform:translateX(-50%);max-width:76px;overflow:hidden;text-overflow:ellipsis;color:#657681;font-size:8px;white-space:nowrap; }
.pv-ratings-mean { position:absolute;left:0;right:0;border-top:1px dashed #6fa381;pointer-events:none;z-index:1; }
.pv-ratings-dates { display:flex;justify-content:space-between;gap:16px;font-size:9px;color:#758591; }
.pv-ratings-empty { color:#aab4bd;font-size:12px; }.pv-ratings-empty small { display:block;margin-top:8px; }
#player-page-content>.page-top-nav-bar { background:none;border:0;padding:0;margin-bottom:24px;min-height:32px; }
#player-page-content>.page-top-nav-bar>div:last-child:not(.page-nav-left) { display:none; }
#player-page-content>.page-top-nav-bar .btn-back-nav { background:none;border:0;padding-left:0; }
.pv-editorial button:focus-visible,.pv-editorial summary:focus-visible,.pv-editorial a:focus-visible,.pv-editorial select:focus-visible { outline:2px solid #b8a0f5;outline-offset:4px; }
.player-page .pv-editorial { background:transparent;border:0;border-radius:0;overflow:visible; }
.pv-editorial .detail-hero { padding:12px 0 32px;background:none;border:0;gap:20px;align-items:center; }
.pv-editorial .detail-hero-avatar { width:76px;height:76px; }
.pv-editorial .detail-hero-avatar-wrap { flex:0 0 76px; }
.pv-editorial .detail-hero-name { font-size:30px;letter-spacing:-1px;line-height:1.2; }
.pv-editorial .detail-hero-info { flex:1;min-width:0; }
.pv-editorial .detail-hero-meta { margin-top:10px;gap:10px; }
.player-page .pv-editorial .detail-hero-meta .meta-tag { padding:0;border:0;font-size:12px;background:none; }
.pv-hero-actions { display:flex;align-items:center;gap:10px; }
.pv-editorial .pv-hero-actions .btn-sheet-primary { border-radius:9px;min-height:42px;padding:10px 18px;font-size:12px;box-shadow:none;white-space:nowrap; }
.pv-quiet-action { display:inline-flex;align-items:center;justify-content:center;gap:8px;background:#ffffff06;border:1px solid #ffffff0e;color:#b6bdc6;border-radius:9px;padding:11px;font:inherit;font-size:12px;cursor:pointer; }
.pv-quiet-action svg { width:17px;height:17px; }
.pv-quiet-action:hover { background:#ffffff0c;color:#fff; }
.pv-editorial .pv-analysis-grid { display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px;margin:0 0 32px;align-items:start; }
.pv-side-column { display:grid;gap:16px;min-width:0; }
.pv-editorial .pv-radar-sidebar { padding:14px 10px 8px; }
.pv-radar-sidebar .mi-head { margin:0 4px 4px; }
.pv-radar-sidebar .mi-head h3 { color:#e2e6e9;font-size:15px;font-weight:600; }
.pv-radar-sidebar #player-traits { display:block; }
.pv-radar-sidebar .pv-radar { max-width:320px;margin:0 auto; }
.pv-radar-sidebar .pv-radar .pv-radar-label { fill:#aeb3ba;font-size:11px;font-weight:450; }
.pv-radar-sidebar .pv-radar .pv-radar-value { fill:#081013;font-size:14px;font-weight:750;font-variant-numeric:tabular-nums; }
.pv-radar-sidebar .pv-radar .pv-radar-value.is-missing { fill:#c3c8cf; }
.pv-editorial .pv-feature { border:1px solid #ffffff0a;border-radius:18px;background:linear-gradient(155deg,#191c22 0%,#13181b 72%);min-width:0;overflow:visible; }
.pv-editorial #pv-value-header { padding:30px 30px 0; }
.pv-editorial .pv-summary-main { padding:0 0 28px;gap:20px; }
.pv-editorial .pv-primary-metric>strong { font-size:clamp(40px,3.8vw,64px);letter-spacing:-2.5px;line-height:1.1;margin:16px 0 13px;font-weight:600; }
.pv-editorial .pv-brand b { font-size:21px; }.pv-editorial .pv-brand>span { font-size:14px; }
.pv-editorial .pv-secondary-metrics { gap:25px;padding-left:24px; }
.pv-editorial .pv-metric>span { font-size:12px; }.pv-editorial .pv-metric strong { font-size:28px;font-weight:500; }.pv-editorial .pv-metric em { font-size:10px; }
.pv-editorial .pv-chart-toolbar { padding-top:20px; }
.player-page .pv-editorial .pv-feature .player-chart-card { padding:22px 24px 20px; }
.player-page .pv-editorial .pv-feature .chart-canvas-wrap { height:370px; }
.pv-match-context { border-radius:18px;padding:24px;background:#14191c;border:1px solid #ffffff08; }
.pv-editorial .pv-match-context #pv-last-impact { display:block;margin:0;padding:0;border:0; }
.pv-context-heading { display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px;color:#a9b2ba; }
.pv-context-heading time { color:#77848f;font-size:10px; }
.pv-context-select { display:block;font-size:10px;color:#84939f;margin-bottom:20px; }.pv-context-select select { display:block;width:100%;margin-top:8px;border:1px solid #ffffff10;border-radius:7px;padding:9px 7px;font:inherit;font-size:11px;background:#1a2025;color:#c2cbd3; }.pv-context-select+.pv-context-heading { display:none; }
.pv-context-fixture { margin:26px 0 20px; }
.pv-context-team { display:flex;align-items:center;gap:9px;margin:13px 0;font-size:13px;color:#cfd5da; }
.pv-context-team>span:not(.pmt-logo-fallback) { flex:1;min-width:0; }
.pv-context-team img { width:22px;height:22px;object-fit:contain; }
.pv-context-team>b { font-size:17px;font-weight:550; }
.pv-context-performance { display:flex;align-items:center;gap:9px;font-size:11px;color:#85939e;padding-bottom:22px;border-bottom:1px solid #ffffff0c; }
.pv-context-performance>span:first-child { flex:1; }.pv-context-performance small { font-size:10px; }.pv-context-performance .sq-rating { font-size:12px; }
.pv-context-effect { margin:24px 0; }.pv-context-effect>span { font-size:11px;color:#929ea8;display:block; }.pv-context-effect strong { display:block;font-size:29px;font-weight:550;letter-spacing:-1px;margin:10px 0 8px; }.pv-context-effect>small { font-size:10px; }
.pv-editorial #pv-last-impact .pv-context-link { display:flex;align-items:center;justify-content:space-between;margin:0;padding:0;color:#b6c0c8;background:none;font-size:12px;text-decoration:none; }.pv-context-link:hover { color:white!important; }
.pv-editorial .detail-nav { position:static;z-index:auto;margin:0;border-bottom:1px solid #ffffff12;gap:28px;padding:0;background:transparent; }
.pv-editorial .detail-nav button { padding:0 0 17px;background:none;font-size:13px;color:#8c99a3;font-weight:500; }
.pv-editorial .detail-nav button[aria-selected="true"] { color:#f0f2f5; }
.pv-editorial .detail-nav button[aria-selected="true"]::after { height:2px;background:#c7bddb;border-radius:0; }
.pv-editorial #detail-overview { margin-top:22px;padding:0;border:1px solid #ffffff0b;border-radius:16px;background:#14191c;overflow:hidden; }
.pv-editorial #detail-matches { padding:24px 0 0; }
.pv-editorial .detail-section-heading { margin:0 0 18px;padding:0; }.pv-editorial .detail-section-heading h3 { font-size:19px;font-weight:550;letter-spacing:-.4px; }.pv-editorial .detail-section-heading p { color:#7f8c96;font-size:12px; }
.pv-editorial #detail-overview>.detail-section-heading { margin:0;padding:22px 24px 20px;border-bottom:1px solid #ffffff0b; }
.pv-match-count { display:inline-flex;align-items:center;padding:6px 9px;border-radius:999px;background:#ffffff07;color:#9aa6af;font-size:10px;font-weight:550;white-space:nowrap; }
.pv-editorial .pmt-wrap { border:0;border-radius:0;background:transparent; }.pv-editorial .pmt-table th { background:#171c20;padding-top:13px;padding-bottom:13px; }.pv-editorial .pmt-table td { padding-top:17px;padding-bottom:17px; }
.pv-editorial .pmt-upcoming-row td { background:#ffffff02;color:#b4b6bb; }.pv-editorial .pmt-upcoming-row:hover td,.pv-editorial .pmt-upcoming-row:focus-visible td { background:#ffffff04; }
.pv-editorial .pmt-upcoming-row .pmt-date strong { color:#d4d5d8; }.pmt-countdown { display:inline-flex;align-items:center;gap:5px;margin-top:6px;color:#909398;font-size:9px;font-weight:400;white-space:nowrap; }.pmt-countdown svg { width:12px;height:12px;stroke-width:1.5; }
.pv-profile-disclosure { border-top:1px solid #ffffff12;margin-top:32px; }
.pv-profile-disclosure>summary { list-style:none;display:flex;justify-content:space-between;gap:16px;align-items:center;padding:25px 0;cursor:pointer;color:#dce1e6;font-size:16px; }
.pv-profile-disclosure>summary::-webkit-details-marker { display:none; }.pv-profile-disclosure>summary>span { display:flex;align-items:center;gap:12px; }.pv-profile-disclosure>summary>span:last-child { font-size:11px;color:#8996a0; }.pv-profile-disclosure>summary svg { width:18px;height:18px; }.pv-profile-disclosure[open]>summary>span:last-child svg { transform:rotate(45deg); }
.pv-profile-body { display:grid;grid-template-columns:minmax(0,1.4fr) minmax(240px,1fr);gap:24px;padding-bottom:28px; }
.pv-profile-body .pv-radar-card { border:0;background:#14191c;border-radius:14px; }.pv-profile-body #player-traits { display:grid;grid-template-columns:1.2fr 1fr;gap:15px; }.pv-profile-body .mi-head,.pv-profile-body .mi-index-note,.pv-profile-body .pv-text-button { grid-column:1/-1; }.pv-profile-body .pi-traits { align-self:center; }.pv-profile-body .pv-text-button { text-align:left; }
.pv-bio { background:#14191c;padding:24px;border-radius:14px; }.pv-bio h3 { font-size:16px;font-weight:550;margin:0 0 20px; }.pv-bio dl { margin:0; }.pv-bio dl>div { display:flex;justify-content:space-between;gap:18px;padding:13px 0;border-bottom:1px solid #ffffff09;font-size:12px; }.pv-bio dt { color:#82909b; }.pv-bio dd { margin:0;color:#d1d7dd;text-align:right; }.pv-status { margin:20px 0; }.pv-bio .pv-quiet-action { width:100%; }
@media(max-width:1250px) { .pv-editorial .pv-analysis-grid { grid-template-columns:minmax(0,1fr) 250px;gap:18px; }.pv-match-context { padding:20px; }.pv-rating-card { padding-left:15px;padding-right:15px; }.pv-ratings-heading { align-items:flex-start;flex-direction:column;gap:9px; }.pv-ratings-heading>span { padding:0;background:none; }.pv-editorial .pv-secondary-metrics { gap:16px;padding-left:18px; }.pv-editorial .pv-metric strong { font-size:24px; }.pv-editorial #pv-value-header { padding:24px 24px 0; }.pv-hero-actions .btn-sheet-primary { max-width:210px;white-space:normal!important; } }
@media(max-width:1000px) { .pv-editorial .pv-analysis-grid { grid-template-columns:1fr; }.pv-side-column { grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start; }.pv-radar-sidebar #player-traits { display:block; }.pv-match-context { display:block; }.pv-context-fixture { margin:18px 0; }.pv-editorial .detail-hero-name { font-size:25px; }.pv-hero-actions { flex-wrap:wrap;justify-content:flex-end; }.pv-profile-body { grid-template-columns:1fr; } }
@media(max-width:650px) { .pv-editorial .detail-hero { padding:8px 0 24px;gap:14px;flex-wrap:wrap; }.pv-editorial .detail-hero-avatar { width:62px;height:62px; }.pv-editorial .detail-hero-avatar-wrap { flex-basis:62px; }.pv-editorial .detail-hero-name { font-size:25px; }.pv-editorial .detail-hero-meta { gap:8px; }.pv-editorial .detail-hero-meta .meta-tag { font-size:11px!important; }.pv-hero-actions { width:100%;justify-content:flex-start;margin-top:8px; }.pv-editorial .pv-hero-actions .btn-sheet-primary { max-width:none;flex:1; }.pv-editorial .pv-analysis-grid { margin:0 0 20px; }.pv-side-column { grid-template-columns:1fr; }.pv-editorial #pv-value-header { padding:24px 20px 0; }.pv-editorial .pv-primary-metric>strong { font-size:48px; }.pv-editorial .pv-secondary-metrics { padding:18px 0 0;gap:28px; }.pv-editorial .pv-summary-main { gap:22px; }.player-page .pv-editorial .pv-feature .player-chart-card { padding:20px 12px; }.player-page .pv-editorial .pv-feature .chart-canvas-wrap { height:310px; }.pv-match-context { display:block;padding:22px; }.pv-rating-card { padding:21px 16px 17px;overflow:hidden; }.pv-rating-card .pv-ratings-heading { flex-direction:row;align-items:center; }.pv-rating-card .pv-ratings-heading>span { padding:7px 10px;background:#ffffff07; }.pv-rating-card .pv-ratings-chart { gap:6px;height:108px;margin-left:0;margin-right:0; }.pv-rating-bar { max-width:28px; }.pv-rating-opponent { display:none; }.pv-profile-disclosure>summary>span:last-child { font-size:0;gap:0; }.pv-profile-body #player-traits { display:block; }.pv-editorial .detail-nav { gap:22px; }.pv-editorial .detail-nav button { font-size:12px; } }
@media(prefers-reduced-motion:no-preference) { .pv-profile-disclosure>summary svg,.pv-primary-metric,.pv-metric,.pv-quiet-action { transition:color .18s ease,background .18s ease,transform .18s ease; } }
.pv-match-heading-actions{display:flex;align-items:center;gap:12px}
.pv-match-heading-actions label{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:12px}
.pv-match-heading-actions select{min-width:150px;border:1px solid var(--line);border-radius:8px;background:var(--surface-2);color:var(--text);padding:7px 30px 7px 10px;font:inherit}
@media(max-width:700px){.pv-match-heading-actions{width:100%;justify-content:space-between}.pv-match-heading-actions select{min-width:130px}}
.pmt-competition-group + .pmt-competition-group { border-top:8px solid #0f1417; }
.pmt-competition-heading { display:flex;align-items:center;gap:10px;padding:15px 24px 13px;background:#171c20;border-bottom:1px solid #ffffff0b; }
.pmt-competition-heading>span:last-child { display:flex;flex-direction:column;gap:4px;min-width:0; }
.pmt-competition-heading strong { color:#d9e0e4;font-size:12px;font-weight:600; }
.pmt-competition-heading small { color:#73838e;font-size:9px; }
.pmt-competition-logo,.pmt-competition-fallback { width:22px;height:22px;object-fit:contain;flex:0 0 auto; }
.pmt-competition-fallback { display:grid;place-items:center;border-radius:6px;background:#ffffff08;color:#909da5; }.pmt-competition-fallback svg { width:14px;height:14px; }
.player-page-loading { min-height:560px;padding:34px 0;color:#8d9ba4; }
.player-loading-top { display:flex;align-items:center;gap:18px;padding:14px 0 32px; }
.player-loading-avatar,.player-loading-line,.player-loading-panel { display:block;background:linear-gradient(100deg,#1b2226 20%,#283238 38%,#1b2226 56%);background-size:250% 100%;animation:player-loading-shimmer 1.35s linear infinite; }
.player-loading-avatar { width:76px;height:76px;border-radius:50%;flex:0 0 auto; }
.player-loading-top>div { display:grid;gap:12px;width:min(360px,55vw); }
.player-loading-line { height:13px;border-radius:5px; }.player-loading-name { width:75%;height:25px; }.player-loading-meta { width:52%; }
.player-loading-grid { display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px; }
.player-loading-panel { min-height:300px;border-radius:18px; }.player-loading-wide { min-height:430px; }
.player-loading-label { display:block;margin-top:22px;font-size:12px;text-align:center;color:#82919b; }
@keyframes player-loading-shimmer { to { background-position:-250% 0; } }
@media(max-width:1000px) { .player-loading-grid { grid-template-columns:1fr; }.player-loading-grid .player-loading-panel:not(.player-loading-wide) { min-height:220px; } }
@media(max-width:650px) { .player-page-loading { min-height:480px;padding:18px 12px; }.player-loading-top { padding-bottom:24px; }.player-loading-avatar { width:62px;height:62px; }.player-loading-grid { gap:14px; }.player-loading-wide { min-height:340px; }.player-loading-grid .player-loading-panel:not(.player-loading-wide) { min-height:180px; } }
@media(prefers-reduced-motion:reduce) { .player-loading-avatar,.player-loading-line,.player-loading-panel { animation:none; } }

/* Player detail shares the club view's darker middle surface. */
#view-player {
  --detail-surface:rgba(21,20,23,.74);
  --detail-surface-soft:rgba(20,20,22,.68);
  --detail-line:#39353d;
}
#view-player .player-page-card {
  background:transparent;
  border:0;
  border-radius:0;
}
#view-player .pv-editorial .pv-feature {
  background:var(--detail-surface);
  border-color:rgba(61,53,70,.82);
  border-radius:14px;
}
#view-player .pv-editorial .pv-feature .player-chart-card {
  background:transparent;
}

/* Keep every full-page detail breadcrumb aligned with the player view. */
#player-page-content>.page-top-nav-bar,
#team-page-content>.page-top-nav-bar,
#match-page-content>.page-top-nav-bar {
  background:none;
  border:0;
  padding:0;
  margin-bottom:24px;
  min-height:32px;
}
#player-page-content>.page-top-nav-bar .btn-back-nav,
#team-page-content>.page-top-nav-bar .btn-back-nav,
#match-page-content>.page-top-nav-bar .btn-back-nav {
  background:none;
  border:0;
  padding-left:0;
  color:#d8dde1;
}
#player-page-content>.page-top-nav-bar .btn-back-nav:hover,
#team-page-content>.page-top-nav-bar .btn-back-nav:hover,
#match-page-content>.page-top-nav-bar .btn-back-nav:hover {
  background:none;
  border-color:transparent;
  color:#fff;
}
#player-page-content>.page-top-nav-bar .page-breadcrumbs,
#team-page-content>.page-top-nav-bar .page-breadcrumbs,
#match-page-content>.page-top-nav-bar .page-breadcrumbs {
  gap:8px;
  color:#89939b;
}
#player-page-content>.page-top-nav-bar .page-breadcrumbs a,
#team-page-content>.page-top-nav-bar .page-breadcrumbs a,
#match-page-content>.page-top-nav-bar .page-breadcrumbs a { color:#89939b; }
#player-page-content>.page-top-nav-bar .page-breadcrumbs a:hover,
#team-page-content>.page-top-nav-bar .page-breadcrumbs a:hover,
#match-page-content>.page-top-nav-bar .page-breadcrumbs a:hover { color:#e5e8eb; }
#player-page-content>.page-top-nav-bar .page-breadcrumbs .current,
#team-page-content>.page-top-nav-bar .page-breadcrumbs .current,
#match-page-content>.page-top-nav-bar .page-breadcrumbs .current { color:#e5e8eb; }
#player-page-content>.page-top-nav-bar .page-breadcrumbs svg,
#team-page-content>.page-top-nav-bar .page-breadcrumbs svg,
#match-page-content>.page-top-nav-bar .page-breadcrumbs svg { width:13px;height:13px;opacity:.45; }
#view-player .pv-editorial .pv-rating-card,
#view-player .pv-editorial .pv-match-context,
#view-player .pv-editorial #detail-overview,
#view-player .pv-editorial .pv-radar-card,
#view-player .pv-editorial .pv-bio,
#view-player .pv-editorial .stat-tile,
#view-player .pv-editorial .match-timeline-box {
  background:var(--detail-surface-soft);
  border-color:var(--detail-line);
}
#view-player .pv-editorial .pv-metric {
  border-color:var(--detail-line);
  background:rgba(255,255,255,.018);
}
#view-player .pv-editorial .pv-metric:hover {
  background:rgba(255,255,255,.04);
  border-color:#625274;
}
#view-player .pv-editorial .detail-nav {
  border-bottom-color:var(--detail-line);
}
#view-player .pv-editorial #detail-overview>.detail-section-heading,
#view-player .pv-editorial .pv-profile-disclosure {
  border-color:var(--detail-line);
}
#view-player .pv-editorial .pmt-competition-heading {
  background:rgba(24,22,27,.76);
  border-bottom-color:var(--detail-line);
}
#view-player .pv-editorial .pmt-wrap {
  background:transparent;
}
#view-player .pv-editorial .pmt-table th {
  background:#16141a;
  border-bottom-color:var(--detail-line);
}
#view-player .pv-editorial .pmt-table td {
  border-bottom-color:#2d2735;
}
#view-player .pv-editorial .pmt-table tbody tr:hover {
  background:#18161b;
}
#view-player .pv-editorial .pv-value-definition {
  background:#121115;
}
#view-player .pv-editorial .pv-chart-toolbar {
  border-top-color:var(--detail-line);
}

.pv-feature .chart-canvas-wrap { position:relative; }
.pv-chart-match { position:absolute;z-index:5;width:260px;max-width:calc(100% - 16px);box-sizing:border-box;padding:15px;background:#17171a;border:1px solid #39353d;border-radius:12px;box-shadow:0 12px 36px #0009;color:#dce1e6;font-size:12px; }
.pv-chart-match[hidden] { display:none; }
.pv-chart-match-close { position:absolute;right:7px;top:5px;width:26px;height:26px;border:0;background:transparent;color:#b6bdc6;font-size:21px;cursor:pointer; }
.pv-chart-match .pv-context-heading { padding-right:22px;font-size:10px; }
.pv-chart-match .pv-context-fixture { margin:12px 0; }
.pv-chart-match .pv-context-team { margin:7px 0;font-size:12px; }
.pv-chart-match .pv-context-team img { width:18px;height:18px; }
.pv-chart-match .pv-context-team>b { font-size:14px; }
.pv-chart-match .pv-context-performance { padding-bottom:10px;font-size:10px; }
.pv-chart-match .pv-context-effect { margin:10px 0; }
.pv-chart-match .pv-context-effect strong { font-size:23px;margin:4px 0; }
.pv-chart-match .pv-context-effect>span,.pv-chart-match .pv-context-effect>small { font-size:10px; }
.pv-chart-match .pv-context-reason { font-size:10px;line-height:1.5;margin:10px 0;color:#aeb3ba; }
.pv-chart-match .pv-context-link { display:flex;justify-content:space-between;align-items:center;color:#bfa9ed;font-size:11px;text-decoration:none; }
.pv-chart-match .pv-context-link svg { width:14px;height:14px; }
#player-history-chart:focus-visible { outline:2px solid #a58ad8;outline-offset:4px;border-radius:6px; }
.pv-editorial .pmt-timeline .pmt-table { min-width:660px; }
#view-player .pmt-timeline .pmt-table th { background:transparent;color:#83818a;border-bottom-color:#ffffff0b;padding:12px 16px; }
#view-player .pmt-timeline .pmt-table td { padding:14px 16px;border-bottom-color:#ffffff08; }
.pmt-timeline .pmt-played-row .pmt-teams span { color:#939199; }
.pmt-timeline .pmt-played-row .pmt-teams span.is-own { color:#bab8c0; }
.pmt-timeline .pmt-played-row .pmt-date strong { color:#aaa7b0; }
.pmt-timeline .pmt-result { display:table-cell;white-space:nowrap; }
.pmt-timeline .pmt-score { display:inline-block;vertical-align:middle;margin-right:10px; }
.pmt-timeline .pmt-result b { display:inline-grid;width:20px;height:20px;font-size:9px;border-radius:5px;vertical-align:middle; }
.pmt-timeline .pmt-competition-cell>span { display:flex;align-items:center;gap:8px;max-width:160px;color:#8f8c97;font-size:10px;line-height:1.4; }
.pmt-timeline .pmt-competition-logo,.pmt-timeline .pmt-competition-fallback { width:18px;height:18px; }
.pmt-timeline .pmt-form small { display:block;margin-top:5px;color:#827e89;font-size:9px; }
.pmt-timeline .pmt-impact strong { font-weight:550;font-size:12px; }
.pmt-timeline .pmt-impact small { display:block;margin-top:5px;font-size:9px;opacity:.7; }
#view-player .pmt-timeline .pmt-upcoming-row td { background:#ffffff02; }
#view-player .pmt-timeline .pmt-played-row+.pmt-upcoming-row td { border-top:1px solid #343638; }
#view-player .pmt-timeline .pmt-table tr:hover td { background:#ffffff04; }

/* ===== Club page ==========================================================
   The club view reads the player page's components for a squad: same value
   header, same chart shell, same match timeline, same table surfaces. Only the
   crest, the squad table cells and the league card are club-specific. */
#view-team {
  --detail-surface:rgba(21,20,23,.74);
  --detail-surface-soft:rgba(20,20,22,.68);
  --detail-line:#39353d;
}
.team-page-card { background:transparent;border:0;border-radius:0;overflow:visible; }
.team-page .detail-hero { padding:12px 0 32px;background:none;border:0;gap:20px;align-items:center; }
.team-page .detail-hero-name { font-size:30px;letter-spacing:-1px;line-height:1.2; }
.team-page .detail-hero-meta .meta-tag { padding:0;border:0;font-size:12px;background:none;color:#99a5ad; }
.team-page .detail-hero-meta .meta-tag.pos-tag { color:#c9bbec; }
.tm-crest-wrap { display:grid;place-items:center;width:76px;height:76px;flex:0 0 76px;border-radius:18px;background:#ffffff08; }
.team-page .detail-hero-avatar.tm-crest { width:56px;height:56px;border:0;border-radius:0;background:none;object-fit:contain; }
.team-page .pv-feature .player-chart-card { border:0;background:transparent;border-radius:0;margin:0;padding:22px 24px 20px; }
.team-page .pv-feature .chart-header-row { display:none; }
.team-page .pv-feature .chart-canvas-wrap { height:370px; }
.team-page [role="tabpanel"][hidden] { display:none!important; }
.team-page-card>section[role="tabpanel"] { margin-top:22px;padding:0;border:1px solid var(--detail-line);border-radius:16px;background:var(--detail-surface-soft);overflow:hidden; }
.team-page-card>section[role="tabpanel"]>.detail-section-heading { margin:0;padding:22px 24px 20px;border-bottom:1px solid #ffffff0b; }
.team-page-card>#team-panel-standings { border:0;background:none;border-radius:0;overflow:visible; }
.team-page-card>#team-panel-standings>.detail-section-heading { border:0;padding:0 0 18px; }
.team-page .pv-feature { background:var(--detail-surface);border:1px solid rgba(61,53,70,.82);border-radius:14px; }
.team-page .pv-rating-card { background:var(--detail-surface-soft);border-color:var(--detail-line); }
.team-page .pv-metric { border-color:var(--detail-line);background:rgba(255,255,255,.018); }
.team-page .pv-metric:hover { background:rgba(255,255,255,.04);border-color:#625274; }
.team-page .detail-nav { border-bottom-color:var(--detail-line); }
.team-page .pmt-wrap { border:0;border-radius:0;background:transparent; }
.team-page .pmt-table th { background:#171c20;padding-top:13px;padding-bottom:13px; }
.team-page .pmt-table td { padding-top:17px;padding-bottom:17px; }
.team-page .pmt-upcoming-row td { background:#ffffff02;color:#b4b6bb; }
.team-page .pmt-upcoming-row:hover td,.team-page .pmt-upcoming-row:focus-visible td { background:#ffffff04; }
.team-page .pmt-upcoming-row .pmt-date strong { color:#d4d5d8; }

/* League standing card, the club's answer to the player radar. */
.tm-standing-card .pv-ratings-heading { margin-bottom:14px; }
.tm-standing-rank { display:flex;align-items:baseline;gap:8px;margin:2px 0 16px; }
.tm-standing-rank b { font-size:38px;font-weight:600;letter-spacing:-2px;color:#d8c7fa;line-height:1; }
.tm-standing-rank span { color:#8a969f;font-size:12px; }
.tm-form-strip { display:flex;gap:6px;margin:0 0 18px; }
.tm-form-strip b { display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#2a3238;color:#aeb8bd;font-size:10px;font-weight:650; }
.tm-form-strip b.win { background:#49c873;color:#0f171a; }
.tm-form-strip b.draw { background:#aeb8bd;color:#0f171a; }
.tm-form-strip b.loss { background:#f06150;color:#0f171a; }
.tm-standing-list { margin:0;display:grid;gap:1px; }
.tm-standing-list>div { display:flex;align-items:center;justify-content:space-between;gap:16px;padding:9px 0;border-bottom:1px solid #ffffff09;font-size:11.5px; }
.tm-standing-list>div:last-child { border-bottom:0; }
.tm-standing-list dt { color:#8b959d; }
.tm-standing-list dd { margin:0;color:#dfe4e8;font-variant-numeric:tabular-nums; }
.tm-standing-empty { margin:0;color:#8b959d;font-size:11px; }

/* Squad table. Same rows as the match timeline, club-specific cells. */
.tm-squad-wrap .pmt-competition-group+.pmt-competition-group { border-top:8px solid rgba(0,0,0,.25); }
.tm-squad-wrap .pmt-competition-heading svg { width:16px;height:16px;color:#9aa6af;flex:0 0 auto; }
.tm-squad-table { min-width:560px; }
.tm-squad-table tbody tr { cursor:pointer; }
.tm-squad-table td { vertical-align:middle; }
.tm-player-num { width:48px;color:#76848d;font-size:10px;font-variant-numeric:tabular-nums; }
.tm-player-cell>span { display:flex;align-items:center;gap:12px;min-width:0; }
.tm-player-cell .sq-avatar { width:34px;height:34px;font-size:10px; }
.tm-player-cell strong { display:flex;align-items:center;gap:8px;color:#e2e7ea;font-size:12px;font-weight:550; }
.tm-player-cell small { display:block;margin-top:4px;color:#7d8a93;font-size:10px; }
.tm-player-flag { padding:2px 6px;border-radius:5px;background:#472529;color:#ff9b9e;font-size:8.5px;font-weight:600;letter-spacing:.02em; }
.tm-player-flag.doubtful { background:#463a22;color:#f3c473; }
.tm-player-power { width:76px;color:#cbd4d9;font-size:13px;font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap; }
.tm-player-power small { margin-left:4px;color:#75838d;font-size:8.5px;font-weight:400; }
.tm-player-form { width:60px; }
.tm-player-value { width:132px;text-align:right;white-space:nowrap; }
.tm-player-value strong { display:block;color:#e6ebee;font-size:12.5px;font-weight:600;font-variant-numeric:tabular-nums; }
.tm-player-value small { display:block;margin-top:5px;font-size:9.5px; }
.tm-player-action { width:52px;text-align:right; }
.tm-add-btn { display:inline-grid;place-items:center;width:30px;height:30px;border:1px solid var(--detail-line);border-radius:9px;background:rgba(255,255,255,.02);color:#b6bdc6;cursor:pointer; }
.tm-add-btn svg { width:15px;height:15px; }
.tm-add-btn:hover:not(:disabled) { background:rgba(255,255,255,.07);color:#fff;border-color:#625274; }
.tm-add-btn:disabled { opacity:.35;cursor:not-allowed; }
.tm-add-btn.is-owned { color:var(--green);border-color:rgba(83,214,147,.35); }

@media(max-width:1000px) {
  .team-page .pv-editorial .pv-analysis-grid { grid-template-columns:1fr; }
  .team-page .detail-hero-name { font-size:25px; }
}
@media(max-width:650px) {
  .team-page .detail-hero { padding:8px 0 24px;gap:14px;flex-wrap:wrap; }
  .tm-crest-wrap { width:62px;height:62px;flex-basis:62px; }
  .team-page .detail-hero-avatar.tm-crest { width:46px;height:46px; }
  .team-page .pv-feature .player-chart-card { padding:20px 12px; }
  .team-page .pv-feature .chart-canvas-wrap { height:310px; }
  .team-page-card>section[role="tabpanel"]>.detail-section-heading { padding:18px 16px 16px;flex-wrap:wrap; }
  /* The value is the column a club page is read for, so the shirt number goes
     before it does and the table stops needing a sideways scroll. */
  .tm-squad-table { min-width:0; }
  .tm-squad-table td { padding-left:10px;padding-right:10px; }
  .tm-player-num { display:none; }
  .tm-player-cell .sq-avatar { width:30px;height:30px; }
  .tm-player-power { width:52px;font-size:12px; }
  .tm-player-power small { display:none; }
  .tm-player-form { width:46px; }
  .tm-player-value { width:92px; }
  .tm-player-action { width:42px; }
}
.team-page #team-value-header { padding:30px 30px 0; }
@media(max-width:1250px) { .team-page #team-value-header { padding:24px 24px 0; } }
@media(max-width:650px) { .team-page #team-value-header { padding:24px 20px 0; } }
.pv-metric.is-static { cursor:default;background:transparent;border-color:transparent;padding:10px; }
.team-page .pv-metric.is-static { border-color:transparent;background:transparent; }
.pv-metric.is-static>span svg:last-child { display:none; }
.pv-metric.is-static>span { color:#909ca5; }
.tm-movers { padding:0; }
.tm-movers .sq-movement { width:100%;padding:11px 2px;border-bottom-color:#ffffff0c; }
.tm-movers .sq-movement:last-child { border-bottom:0; }
.tm-movers .sq-movement:hover { background:rgba(255,255,255,.02); }
