/* Campionato Padel – sito pubblico.
   Colori personalizzabili dal tema, ad es.: .pl-public { --pl-accent: #0a7d5a; } */
.pl-public {
	--pl-accent: #0a7d5a;
	--pl-win: #1a9a4a;
	--pl-loss: #d0383b;
	--pl-draw: #8a8f98;
	--pl-border: rgba(0, 0, 0, .1);
	--pl-soft: rgba(0, 0, 0, .035);
	margin: 1.5em 0;
	container: pl / inline-size;
}
.pl-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.pl-table { width: 100%; border-collapse: collapse; font-size: .95em; margin: 0 0 1em; }
.pl-table th, .pl-table td { padding: .55em .5em; border-bottom: 1px solid var(--pl-border); text-align: center; vertical-align: middle; }
.pl-table thead th { font-size: .8em; text-transform: uppercase; letter-spacing: .04em; opacity: .7; font-weight: 600; }
.pl-table tbody tr:hover { background: var(--pl-soft); }
.pl-table .pl-l { text-align: left; }
.pl-table .pl-r { text-align: right; }
.pl-pos { font-weight: 600; width: 2em; }
.pl-pts { font-weight: 700; color: var(--pl-accent); }
.pl-team { white-space: nowrap; }
.pl-logo { width: 24px; height: 24px; object-fit: contain; vertical-align: middle; display: inline-block; }
.pl-round-img { border-radius: 50%; object-fit: cover; }

.pl-form { display: inline-block; min-width: 1.5em; line-height: 1.5em; border-radius: 3px; color: #fff; font-size: .75em; font-weight: 700; margin: 0 1px; text-align: center; }
.pl-form-w { background: var(--pl-win); }
.pl-form-d { background: var(--pl-draw); }
.pl-form-l { background: var(--pl-loss); }
.pl-formcell { white-space: nowrap; }

.pl-matches .pl-home { text-align: right; width: 40%; }
.pl-matches .pl-away { text-align: left; width: 40%; }
.pl-matches .pl-score { font-weight: 700; white-space: nowrap; min-width: 4.5em; }
.pl-matches .pl-date, .pl-matches .pl-round { font-size: .82em; opacity: .7; white-space: nowrap; }
.pl-win { font-weight: 700; }
.pl-status-postponed .pl-score { color: var(--pl-loss); font-weight: 400; }

.pl-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: .5em; }
.pl-nav a { text-decoration: none; font-size: 1.3em; padding: 0 .6em; }
.pl-round-title { font-weight: 700; }
.pl-round-title span { font-weight: 400; opacity: .6; font-size: .85em; margin-left: .3em; }
h3.pl-round-title { margin: 1.2em 0 .4em; }

.pl-team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1em; }
.pl-team-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .4em; padding: 1em; border: 1px solid var(--pl-border); border-radius: 8px; text-decoration: none; color: inherit; transition: border-color .15s; }
a.pl-team-card:hover { border-color: var(--pl-accent); }
.pl-team-card span { font-size: .85em; opacity: .65; }
.pl-team-card-logo { width: 72px; height: 72px; object-fit: contain; }
.pl-team-card-initial { width: 72px; height: 72px; border-radius: 50%; background: var(--pl-accent); color: #fff !important; opacity: 1 !important; font-size: 2em !important; display: flex; align-items: center; justify-content: center; }

.pl-header { display: flex; gap: 1em; align-items: center; margin-bottom: 1em; }
.pl-header-img { width: 88px; height: 88px; object-fit: contain; }
.pl-title { margin: 0 0 .2em; }
.pl-meta { margin: 0; opacity: .75; }
.pl-center { text-align: center; }

.pl-stat-boxes { display: grid; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); gap: .6em; margin: 1em 0 1.5em; }
.pl-stat { border: 1px solid var(--pl-border); border-radius: 8px; padding: .7em; text-align: center; }
.pl-stat-value { display: block; font-size: 1.5em; font-weight: 700; color: var(--pl-accent); line-height: 1.2; }
.pl-stat-label { display: block; font-size: .78em; text-transform: uppercase; letter-spacing: .04em; opacity: .65; }

.pl-partners { list-style: none; margin: 0 0 1.5em; padding: 0; display: flex; flex-wrap: wrap; gap: .5em; }
.pl-partners li { border: 1px solid var(--pl-border); border-radius: 20px; padding: .25em .8em; }
.pl-partners span { opacity: .6; font-size: .85em; }
.pl-setscore { white-space: pre; font-variant-numeric: tabular-nums; }
.pl-log small { opacity: .6; }

.pl-match-head { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1em; margin-bottom: .5em; }
.pl-match-team { display: flex; flex-direction: column; align-items: center; gap: .4em; text-align: center; }
.pl-match-team .pl-logo { width: 64px; height: 64px; }
.pl-match-score { font-size: 2.2em; font-weight: 800; text-align: center; line-height: 1.1; }
.pl-match-score small { display: block; font-size: .35em; font-weight: 400; opacity: .6; text-transform: uppercase; letter-spacing: .05em; }
.pl-rubbers td.pl-win { background: rgba(26, 154, 74, .08); }
.pl-notes { font-style: italic; opacity: .8; }
.pl-empty { opacity: .7; font-style: italic; }

@media (max-width: 600px) {
	.pl-table { font-size: .85em; }
	.pl-matches .pl-date { display: none; }
	.pl-header-img { width: 64px; height: 64px; }
}

.pl-cat-table .pl-cat-head { background: var(--pl-soft); }
.pl-cat-table .pl-cat-first { border-left: 2px solid var(--pl-border); }

.pl-cat-table .pl-ltb-first { border-left: 1px dashed var(--pl-border); }

/* ------------------------------------------------------------------
   Titoli di sezione e righe vinte/perse
   ------------------------------------------------------------------ */
.pl-section-title { margin: 1.6em 0 .5em; font-size: 1.15em; }
.pl-log .pl-row-won .pl-log-head { box-shadow: inset 3px 0 0 var(--pl-win); }
.pl-log .pl-row-lost .pl-log-head { box-shadow: inset 3px 0 0 var(--pl-loss); }
.pl-log .pl-log-head { font-weight: 600; padding-left: .8em; }
.pl-log .pl-log-head small { font-weight: 400; opacity: .65; }
.pl-public th[scope="row"] { text-align: left; }

/* ------------------------------------------------------------------
   Area giocatore
   ------------------------------------------------------------------ */
.pl-account { --pl-accent: #204494; --pl-accent-dark: #142c63; --pl-radius: 14px; --pl-card: #fff; width: 100%; max-width: 1080px !important; margin-left: auto !important; margin-right: auto !important; box-sizing: border-box; }
.pl-card { background: var(--pl-card); border: 1px solid var(--pl-border); border-radius: var(--pl-radius); padding: 1.4em 1.5em; margin: 0 0 1.2em; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.pl-card-title { font-size: 1.25em; margin: 0 0 .6em; font-weight: 700; }
.pl-small { font-size: .92em; opacity: .8; }

.pl-alert { border-radius: 10px; padding: .8em 1em; margin: 0 0 1em; font-size: .95em; }
.pl-alert ul { margin: 0; padding-left: 1.2em; }
.pl-alert-error { background: rgba(208, 56, 59, .08); border: 1px solid rgba(208, 56, 59, .35); }
.pl-alert-ok { background: rgba(26, 154, 74, .08); border: 1px solid rgba(26, 154, 74, .35); }

.pl-tablist { display: flex; gap: .3em; margin-bottom: -1px; position: relative; z-index: 1; }
.pl-tab { padding: .7em 1.3em; border: 1px solid transparent; border-bottom: 0; border-radius: 12px 12px 0 0; text-decoration: none; color: inherit; opacity: .65; font-weight: 600; }
.pl-tab.is-active { background: var(--pl-card); border-color: var(--pl-border); opacity: 1; color: var(--pl-accent); }
.pl-tabs .pl-panel { border-top-left-radius: 0; }

.pl-account-form fieldset { border: 0; padding: 0; margin: 0 0 1.2em; }
.pl-account-form legend { font-weight: 700; font-size: .8em; text-transform: uppercase; letter-spacing: .06em; color: var(--pl-accent); margin-bottom: .6em; padding: 0; }
.pl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.2em; }
.pl-field { margin: 0 0 .9em; }
.pl-field label, .pl-account .login-username label, .pl-account .login-password label { display: block; font-size: .88em; font-weight: 600; margin-bottom: .3em; }
.pl-field input, .pl-account .login-username input, .pl-account .login-password input {
	width: 100%; box-sizing: border-box; padding: .7em .8em; border: 1px solid rgba(0,0,0,.2); border-radius: 8px; font: inherit; background: #fff; color: inherit;
}
.pl-field input:focus, .pl-account .login-username input:focus, .pl-account .login-password input:focus { outline: 2px solid var(--pl-accent); outline-offset: 1px; border-color: var(--pl-accent); }
.pl-req { color: var(--pl-loss); }
.pl-check label { display: flex; gap: .5em; align-items: flex-start; font-size: .95em; }
.pl-check input { margin-top: .25em; }
.pl-hp { position: absolute !important; left: -9999px !important; height: 1px; overflow: hidden; }
.pl-button, .pl-account .login-submit input[type="submit"] {
	display: inline-block; background: var(--pl-accent); color: #fff; border: 0; border-radius: 999px; padding: .8em 1.8em; font: inherit; font-weight: 700; cursor: pointer; text-decoration: none;
}
.pl-button:hover, .pl-account .login-submit input[type="submit"]:hover { filter: brightness(1.08); }
.pl-account .login-remember label { font-size: .92em; }

.pl-profile { display: grid; grid-template-columns: auto 1fr auto; gap: 1.2em; align-items: center; background: linear-gradient(135deg, var(--pl-accent), var(--pl-accent-dark, #0b4f3a)); color: #fff; border-radius: var(--pl-radius); padding: 1.4em 1.6em; margin: 0 0 1.4em; }
.pl-avatar { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; border: 3px solid rgba(255,255,255,.7); display: block; }
.pl-avatar-initials { display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.18); font-size: 1.9em; font-weight: 800; letter-spacing: .02em; }
.pl-eyebrow { margin: 0; font-size: .75em; text-transform: uppercase; letter-spacing: .12em; opacity: .8; }
.pl-profile-name { margin: .1em 0 .4em; font-size: 1.7em; line-height: 1.15; color: #fff; }
.pl-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4em; }
.pl-chips li { background: rgba(255,255,255,.16); border-radius: 999px; padding: .2em .8em; font-size: .85em; }
.pl-profile-actions { display: flex; flex-direction: column; gap: .5em; align-items: flex-end; }
.pl-profile-actions a { color: #fff; text-decoration: none; font-weight: 600; font-size: .92em; border: 1px solid rgba(255,255,255,.5); border-radius: 999px; padding: .35em 1em; white-space: nowrap; }
.pl-profile-actions a:hover { background: rgba(255,255,255,.12); }

.pl-account .pl-stat-boxes { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8em; }
.pl-account .pl-stat { background: var(--pl-card); border-radius: 12px; padding: 1em .7em; }
.pl-account .pl-stat-value { font-size: 1.8em; }
.pl-account .pl-player-page .pl-table { background: var(--pl-card); }

.pl-details summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; margin: 0; }
.pl-details summary::-webkit-details-marker { display: none; }
.pl-details summary::after { content: "+"; font-size: 1.3em; font-weight: 400; opacity: .6; }
.pl-details[open] summary::after { content: "–"; }
.pl-details[open] summary { margin-bottom: 1em; }

@container pl (max-width: 640px) {
	.pl-card { padding: 1.1em 1em; }
	.pl-grid { grid-template-columns: 1fr; }
	.pl-grid > span:empty { display: none; }
	.pl-profile { grid-template-columns: auto 1fr; padding: 1.1em; }
	.pl-avatar { width: 64px; height: 64px; }
	.pl-profile-name { font-size: 1.35em; }
	.pl-profile-actions { grid-column: 1 / -1; flex-direction: row; justify-content: flex-start; }
	.pl-account .pl-stat-boxes { grid-template-columns: repeat(2, 1fr); }
	.pl-account .pl-stat-value { font-size: 1.5em; }
	.pl-tab { flex: 1; text-align: center; padding: .7em .5em; }
	.pl-button, .pl-account .login-submit input[type="submit"] { width: 100%; }
}

.pl-field input[disabled] { background: rgba(0,0,0,.04); color: inherit; opacity: .8; cursor: not-allowed; }

/* ------------------------------------------------------------------
   Schede per telefono (al posto delle tabelle quando lo spazio è poco)
   Solo <div>: gli stili del tema sulle tabelle non le toccano.
   ------------------------------------------------------------------ */
.pl-public .pl-only-narrow { display: none; }
.pl-public .pl-mcards { display: none; flex-direction: column; gap: .75em; margin: .4em 0 1.2em; }
.pl-public .pl-mcard { display: block; position: static; height: auto; border: 1px solid var(--pl-border); border-radius: 12px; padding: .8em .9em; background: var(--pl-card, transparent); box-sizing: border-box; }
.pl-public .pl-mcard.pl-row-won { border-left: 4px solid var(--pl-win); }
.pl-public .pl-mcard.pl-row-lost { border-left: 4px solid var(--pl-loss); }
.pl-public .pl-mcard-head { display: flex; justify-content: space-between; align-items: flex-start; gap: .6em; padding-bottom: .55em; margin-bottom: .45em; border-bottom: 1px solid var(--pl-border); line-height: 1.3; }
.pl-public .pl-mcard-head strong { display: block; font-size: 1.02em; }
.pl-public .pl-mcard-head small { font-weight: 400; opacity: .65; }
.pl-public .pl-mcard-sub { display: block; font-size: .82em; opacity: .65; margin-top: .15em; }
.pl-public .pl-mtiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .45em; margin: .2em 0 .5em; }
.pl-public .pl-mtile { display: block; text-align: center; background: var(--pl-soft); border-radius: 8px; padding: .5em .2em; line-height: 1.2; }
.pl-public .pl-mtile b { display: block; font-size: 1.25em; color: var(--pl-accent); }
.pl-public .pl-mtile span { display: block; font-size: .72em; text-transform: uppercase; letter-spacing: .04em; opacity: .65; margin-top: .15em; }
.pl-public .pl-kv { display: flex; justify-content: space-between; align-items: baseline; gap: 1em; padding: .32em 0; line-height: 1.35; }
.pl-public .pl-kv-l { opacity: .65; font-size: .9em; flex: 0 1 auto; }
.pl-public .pl-kv-v { text-align: right; font-weight: 600; flex: 0 1 auto; }
.pl-public .pl-kv-sep { border-top: 1px dashed var(--pl-border); margin-top: .3em; padding-top: .55em; }
.pl-public .pl-mscore { font-size: 1.25em; font-weight: 700; letter-spacing: .02em; font-variant-numeric: tabular-nums; margin: .1em 0 .35em; }

@container pl (max-width: 720px) {
	.pl-public .pl-only-wide { display: none; }
	.pl-public .pl-only-narrow { display: flex; }
}
/* Riserva per i browser senza container query */
@supports not (container-type: inline-size) {
	@media (max-width: 720px) {
		.pl-public .pl-only-wide { display: none; }
		.pl-public .pl-only-narrow { display: flex; }
	}
}

/* ------------------------------------------------------------------
   [padel_statistiche] – tabella su desktop, schede su telefono
   ------------------------------------------------------------------ */
.pl-cat-stats { --pl-card: #fff; width: 100%; max-width: 1400px !important; margin-left: auto !important; margin-right: auto !important; box-sizing: border-box; }
.pl-public .pl-filters { display: flex; flex-wrap: wrap; gap: .8em 1.2em; align-items: flex-end; margin: 0 0 .8em; }
.pl-public .pl-filters label { display: flex; flex-direction: column; gap: .25em; font-size: .85em; font-weight: 600; }
.pl-public .pl-filters select { font: inherit; font-size: 1rem; font-weight: 400; padding: .5em 2em .5em .7em; border: 1px solid rgba(0,0,0,.2); border-radius: 8px; background-color: #fff; color: inherit; min-width: 11em; max-width: 100%; }
.pl-public .pl-legend { font-size: .85em; opacity: .7; margin: 0 0 .8em; }
.pl-cat-stats .pl-cat-table { font-size: .78em; table-layout: auto; width: 100%; }
.pl-cat-stats .pl-cat-table th, .pl-cat-stats .pl-cat-table td { padding: .5em .26em !important; white-space: nowrap; border-left: 0; border-right: 0; vertical-align: middle !important; line-height: 1.3 !important; }
.pl-cat-stats .pl-cat-table thead th { font-size: .82em; letter-spacing: .02em; }
.pl-cat-stats .pl-cat-table td.pl-l { white-space: normal !important; min-width: 7.5em; }
.pl-cat-stats .pl-cat-table thead th { white-space: normal !important; }
.pl-cat-stats .pl-cat-table .pl-cat-head { text-align: center; }
.pl-cat-stats .pl-cat-table .pl-ltb-first { background: rgba(0,0,0,.02); }
.pl-public .pl-mtiles-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pl-public .pl-mcard-badge { flex: 0 0 auto; text-align: center; background: var(--pl-accent); color: #fff; border-radius: 10px; padding: .25em .6em; font-weight: 700; line-height: 1.15; }
.pl-public .pl-mcard-badge small { display: block; font-size: .62em; font-weight: 500; opacity: .9; text-transform: uppercase; letter-spacing: .03em; }
.pl-public .pl-pcat { margin-top: .6em; }
.pl-public .pl-pcat + .pl-pcat { border-top: 1px dashed var(--pl-border); padding-top: .6em; }
.pl-public .pl-pcat-title { font-size: .78em; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--pl-accent); margin-bottom: .4em; }
.pl-public .pl-kvgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.2em; }
.pl-public .pl-pcard .pl-mtile b { font-size: 1.1em; }

/* La tabella completa ha 24 colonne: passa alle schede sotto i 1000px di spazio utile */
@container pl (max-width: 1300px) {
	.pl-cat-stats .pl-only-wide { display: none; }
	.pl-cat-stats .pl-only-narrow { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); align-items: start; }
}
@supports not (container-type: inline-size) {
	@media (max-width: 1400px) {
		.pl-cat-stats .pl-only-wide { display: none; }
		.pl-cat-stats .pl-only-narrow { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); align-items: start; }
	}
}

/* ------------------------------------------------------------------
   Ranking giocatori
   ------------------------------------------------------------------ */
.pl-ranking-wrap { width: 100%; max-width: 1200px !important; margin-left: auto !important; margin-right: auto !important; box-sizing: border-box; }
.pl-public .pl-rank-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5em 2em; }
.pl-public .pl-rank-cols.is-single { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
.pl-public .pl-rank-col .pl-section-title { margin-top: .2em; }
.pl-public .pl-rank-list { display: flex; flex-direction: column; border: 1px solid var(--pl-border); border-radius: 12px; overflow: hidden; }
.pl-public .pl-rank-row { display: grid; grid-template-columns: 2.6em minmax(0, 1fr) 2.6em 2.6em 3.2em 4em; gap: .4em; align-items: center; padding: .6em .8em; border-top: 1px solid var(--pl-border); line-height: 1.25; }
.pl-public .pl-rank-row:first-child { border-top: 0; }
.pl-public .pl-rank-headrow { background: var(--pl-soft); }
.pl-public .pl-rank-headrow span { font-size: .72em; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; opacity: .65; }
.pl-public .pl-rank-headrow span:nth-child(n+3) { text-align: center; }
.pl-public .pl-rank-headrow span:last-child { text-align: right; }
.pl-public .pl-rank-n { font-weight: 800; font-size: 1.05em; text-align: center; width: 1.9em; height: 1.9em; line-height: 1.9em; border-radius: 50%; background: var(--pl-soft); }
.pl-public .pl-rank-1 .pl-rank-n { background: #e8b923; color: #fff; }
.pl-public .pl-rank-2 .pl-rank-n { background: #a9b1bb; color: #fff; }
.pl-public .pl-rank-3 .pl-rank-n { background: #c4834d; color: #fff; }
.pl-public .pl-rank-name { min-width: 0; font-weight: 600; overflow-wrap: anywhere; }
.pl-public .pl-rank-name small { display: block; font-weight: 400; font-size: .8em; opacity: .65; }
.pl-public .pl-rank-num { text-align: center; font-variant-numeric: tabular-nums; }
.pl-public .pl-rank-pts { text-align: right; font-weight: 800; color: var(--pl-accent); font-size: 1.1em; font-variant-numeric: tabular-nums; }
.pl-public .pl-rank-rules { margin: 1em 0 1.2em; font-size: .9em; }
.pl-public .pl-rank-rules summary { cursor: pointer; font-weight: 600; color: var(--pl-accent); }
.pl-public .pl-rank-rules p { margin: .5em 0 0; opacity: .85; }
.pl-public .pl-rank-pos, .pl-public .pl-rank-pts-col { font-weight: 800; }
.pl-cat-stats .pl-cat-table td.pl-rank-pos { font-weight: 800; }
.pl-cat-stats .pl-cat-table td.pl-rank-pts { font-weight: 800; color: var(--pl-accent); text-align: center; font-size: 1em; }

.pl-public .pl-rank-hero { display: flex; gap: .8em; margin: 1em 0 .2em; }
.pl-public .pl-rank-hero > div { flex: 1; border-radius: 12px; padding: .9em 1em; display: flex; flex-direction: column; justify-content: center; }
.pl-public .pl-rank-hero-pos { background: var(--pl-accent); color: #fff; }
.pl-public .pl-rank-hero-pos span, .pl-public .pl-rank-hero-pts span { font-size: .75em; text-transform: uppercase; letter-spacing: .06em; opacity: .85; }
.pl-public .pl-rank-hero-pos b { font-size: 2.2em; line-height: 1.05; }
.pl-public .pl-rank-hero-pos small { opacity: .85; }
.pl-public .pl-rank-hero-pts { border: 1px solid var(--pl-border); background: var(--pl-card, transparent); }
.pl-public .pl-rank-hero-pts b { font-size: 2.2em; line-height: 1.05; color: var(--pl-accent); }

@container pl (max-width: 720px) {
	.pl-public .pl-rank-cols { grid-template-columns: minmax(0, 1fr); }
}
.pl-public .pl-rank-mini { display: none !important; margin-top: .15em; }
@container pl (max-width: 460px) {
	.pl-public .pl-rank-row { grid-template-columns: 2.4em minmax(0, 1fr) auto; }
	.pl-public .pl-rank-headrow, .pl-public .pl-rank-num { display: none; }
	.pl-public .pl-rank-mini { display: block !important; }
}
}

.pl-cat-table td.pl-rank-cell { line-height: 1.15 !important; }
.pl-cat-table td.pl-rank-cell b { display: block; font-size: 1.1em; }
.pl-cat-table td.pl-rank-cell small { display: block; color: var(--pl-accent, #0a7d5a); font-weight: 700; font-size: .85em; }

.pl-public .pl-neg, .pl-cat-table .pl-neg { color: var(--pl-loss, #d0383b) !important; }

/* ------------------------------------------------------------------
   Albo d'oro – colore #204494
   ------------------------------------------------------------------ */
.pl-honors { --pl-hon: #204494; --pl-hon-dark: #142c63; --pl-gold: #d9a520; --pl-gold-soft: #f6e7b8; width: 100%; max-width: 1200px !important; margin-left: auto !important; margin-right: auto !important; box-sizing: border-box; }
.pl-honors .pl-hon-hero { display: flex; align-items: center; gap: 1em; background: linear-gradient(135deg, var(--pl-hon), var(--pl-hon-dark)); color: #fff; border-radius: 16px; padding: 1.4em 1.6em; margin: 0 0 1.6em; }
.pl-honors .pl-hon-hero > .pl-hon-trophy { width: 3.2em; height: 3.2em; flex: 0 0 auto; color: var(--pl-gold); background: rgba(255,255,255,.1); border-radius: 50%; padding: .55em; box-sizing: content-box; }
.pl-honors .pl-hon-eyebrow { margin: 0; font-size: .75em; letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
.pl-honors .pl-hon-title { margin: .1em 0 0; font-size: 1.9em; line-height: 1.1; color: #fff; }

.pl-honors .pl-hon-year { display: grid; grid-template-columns: 7em minmax(0, 1fr); gap: 1.2em; margin: 0 0 1.6em; }
.pl-honors .pl-hon-year-label span { position: sticky; top: 1em; display: block; font-size: 2.4em; font-weight: 800; line-height: 1; color: var(--pl-hon); font-variant-numeric: tabular-nums; border-bottom: 4px solid var(--pl-gold); padding-bottom: .15em; }
.pl-honors .pl-hon-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 1em; align-items: start; }

.pl-honors .pl-hon-card { display: flex; flex-direction: column; background: #fff; border: 1px solid rgba(32,68,148,.18); border-top: 5px solid var(--pl-hon); border-radius: 14px; overflow: hidden; box-shadow: 0 2px 10px rgba(32,68,148,.08); }
.pl-honors .pl-hon-photo { aspect-ratio: 4 / 3; background: #eef2fa; overflow: hidden; }
.pl-honors .pl-hon-photo img { width: 100%; height: 100%; object-fit: cover; display: block; margin: 0; }
.pl-honors .pl-hon-body { padding: 1em 1.2em 1.2em; }
.pl-honors .pl-hon-comp { margin: 0 0 .7em; font-size: .8em; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--pl-hon); }
.pl-honors .pl-hon-label { display: flex; align-items: center; gap: .35em; margin: 0; font-size: .78em; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #9a7413; }
.pl-honors .pl-hon-label .pl-hon-trophy { width: 1.15em; height: 1.15em; color: var(--pl-gold); }
.pl-honors .pl-hon-winner { margin: .15em 0 0; font-size: 1.55em; font-weight: 800; line-height: 1.15; color: var(--pl-hon-dark); }
.pl-honors .pl-hon-note { margin: .6em 0 0; font-size: .9em; opacity: .75; }
.pl-honors .pl-hon-card.is-open { border-style: dashed; border-top-style: solid; border-top-color: rgba(32,68,148,.35); background: #f7f9fd; box-shadow: none; }
.pl-honors .pl-hon-tbd { color: rgba(20,44,99,.45); font-style: italic; font-weight: 600; font-size: 1.2em; }

@container pl (max-width: 600px) {
	.pl-honors .pl-hon-year { grid-template-columns: minmax(0, 1fr); gap: .6em; }
	.pl-honors .pl-hon-year-label span { position: static; font-size: 2em; display: inline-block; }
	.pl-honors .pl-hon-hero { padding: 1.1em 1.2em; }
	.pl-honors .pl-hon-title { font-size: 1.5em; }
}

/* Calendario e risultati: i nomi lunghi vanno a capo invece di uscire dallo schermo */
.pl-public .pl-matches { table-layout: fixed; }
.pl-public .pl-matches td { white-space: normal !important; overflow-wrap: anywhere; word-break: normal; vertical-align: middle !important; }
.pl-public .pl-matches td.pl-score { width: 4.5em; white-space: nowrap !important; }
.pl-public .pl-matches td.pl-date { width: 8em; }
.pl-public .pl-matches td.pl-round { width: 3em; }
@container pl (max-width: 600px) {
	.pl-public .pl-matches td { padding: .55em .35em !important; font-size: .92em; }
	.pl-public .pl-matches td.pl-score { width: 3.2em; }
	.pl-public .pl-matches .pl-logo { display: none; }
}



/* ------------------------------------------------------------------
   Classifica istituzionale (girone oro / girone argento)
   Colori personalizzabili dal tema: .pl-standings-card { --pl-brand: #204494; }
   ------------------------------------------------------------------ */
.pl-public .pl-standings-card,
.pl-public .pl-cal-card {
	--pl-brand: #204494; --pl-brand-dark: #142c63; --pl-brand-soft: #eef2fa;
	--pl-gold: #c9971c; --pl-gold-2: #e9c25a; --pl-gold-bg: #fbf5e3;
	--pl-silver: #8d97a6; --pl-silver-2: #c4cbd5; --pl-silver-bg: #f1f3f6;
	background: #fff; border: 1px solid rgba(20,44,99,.14); border-radius: 14px; overflow: hidden;
	box-shadow: 0 6px 24px rgba(20,44,99,.08); margin: 0 0 1.5em;
}
.pl-public .pl-st-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: .4em 1.5em;
	background: linear-gradient(120deg, var(--pl-brand), var(--pl-brand-dark)); color: #fff; padding: 1.1em 1.4em; }
.pl-public .pl-st-eyebrow { margin: 0; font-size: .72em; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--pl-gold-2); }
.pl-public .pl-st-title { margin: .15em 0 0; font-size: 1.45em; line-height: 1.15; font-weight: 700; color: #fff; }
.pl-public .pl-st-round { margin: 0; font-size: .85em; opacity: .85; color: #fff; }
.pl-public .pl-st-round strong { color: #fff; }

.pl-public .pl-standings-card .pl-scroll { margin: 0; }
.pl-public .pl-standings-card .pl-standings { margin: 0; border: 0; border-collapse: collapse; width: 100%; font-size: .95em; background: transparent; }
.pl-public .pl-standings-card .pl-standings th,
.pl-public .pl-standings-card .pl-standings td { white-space: nowrap; border: 0; border-bottom: 1px solid #e8ecf3; padding: .62em .55em; vertical-align: middle; background: transparent; }
.pl-public .pl-standings-card .pl-standings thead th { background: var(--pl-brand-soft); color: var(--pl-brand); opacity: 1; font-size: .72em; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding-top: .8em; padding-bottom: .8em; border-bottom: 2px solid var(--pl-brand); }
.pl-public .pl-standings-card .pl-standings tbody tr:hover > td { background: #f7f9fd; }
.pl-public .pl-standings-card .pl-standings .pl-c-pos { width: 3.2em; }
.pl-public .pl-standings-card .pl-standings .pl-team { font-weight: 600; }
.pl-public .pl-standings-card .pl-standings .pl-team a { color: #1d2433; text-decoration: none; }
.pl-public .pl-standings-card .pl-standings .pl-team a:hover { color: var(--pl-brand); text-decoration: underline; }
.pl-public .pl-standings-card .pl-standings th.pl-c-pts { background: var(--pl-brand); color: #fff; }
.pl-public .pl-standings-card .pl-standings td.pl-pts { background: rgba(32,68,148,.06); color: var(--pl-brand-dark); font-weight: 800; font-size: 1.08em; font-variant-numeric: tabular-nums; }
.pl-public .pl-standings-card .pl-standings td { font-variant-numeric: tabular-nums; }

/* Medaglie di posizione */
.pl-public .pl-standings-card .pl-pos-n { display: inline-flex; align-items: center; justify-content: center; width: 2em; height: 2em; border-radius: 50%; font-weight: 800; font-size: .92em; line-height: 1; background: #eef1f5; color: #3b4555; }
.pl-public .pl-standings-card .pl-zone-gold .pl-pos-n { background: linear-gradient(145deg, var(--pl-gold-2), var(--pl-gold)); color: #fff; text-shadow: 0 1px 0 rgba(0,0,0,.18); box-shadow: 0 1px 3px rgba(201,151,28,.45); }
.pl-public .pl-standings-card .pl-zone-silver .pl-pos-n { background: linear-gradient(145deg, var(--pl-silver-2), var(--pl-silver)); color: #fff; text-shadow: 0 1px 0 rgba(0,0,0,.18); box-shadow: 0 1px 3px rgba(110,120,135,.4); }
.pl-public .pl-standings-card tr.pl-zone-gold > td:first-child { box-shadow: inset 4px 0 0 var(--pl-gold); }
.pl-public .pl-standings-card tr.pl-zone-silver > td:first-child { box-shadow: inset 4px 0 0 var(--pl-silver); }

.pl-public .pl-st-foot { padding: 1em 1.4em 1.1em; font-size: .85em; color: #5b6475; background: #fafbfd; border-top: 1px solid #e8ecf3; }
.pl-public .pl-st-foot p { margin: 0; }
.pl-public .pl-st-foot strong { color: var(--pl-brand-dark); }
.pl-public .pl-st-legend { margin-bottom: .8em; }
.pl-public .pl-st-legend-title { font-size: .78em; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--pl-brand); margin-bottom: .55em !important; }
.pl-public .pl-st-zones { list-style: none; margin: 0 0 .6em; padding: 0; display: flex; flex-wrap: wrap; gap: .6em 1em; }
.pl-public .pl-st-zones li { display: flex; align-items: center; gap: .6em; margin: 0; padding: .45em .9em .45em .45em; border-radius: 999px; }
.pl-public .pl-legend-gold { background: var(--pl-gold-bg); box-shadow: inset 0 0 0 1px rgba(201,151,28,.35); }
.pl-public .pl-legend-silver { background: var(--pl-silver-bg); box-shadow: inset 0 0 0 1px rgba(141,151,166,.4); }
.pl-public .pl-zone-badge { display: inline-flex; align-items: center; justify-content: center; width: 2em; height: 2em; border-radius: 50%; color: #fff; flex: 0 0 auto; }
.pl-public .pl-legend-gold .pl-zone-badge { background: linear-gradient(145deg, var(--pl-gold-2), var(--pl-gold)); }
.pl-public .pl-legend-silver .pl-zone-badge { background: linear-gradient(145deg, var(--pl-silver-2), var(--pl-silver)); }
.pl-public .pl-zone-ico { width: 1.1em; height: 1.1em; }
.pl-public .pl-legend-txt { display: flex; flex-direction: column; line-height: 1.2; }
.pl-public .pl-zone-name { font-weight: 800; font-size: 1em; letter-spacing: .14em; text-transform: uppercase; }
.pl-public .pl-legend-gold .pl-zone-name { color: #8a6508; }
.pl-public .pl-legend-silver .pl-zone-name { color: #4a5465; }
.pl-public .pl-zone-range { font-size: .85em; opacity: .75; }
.pl-public .pl-st-note { line-height: 1.45; }
.pl-public .pl-st-key { opacity: .75; font-size: .92em; border-top: 1px solid #e8ecf3; padding-top: .7em; }

/* Telefono: tutte le colonne; Pos e Squadra restano ferme, Set / Game / Ultime 5 scorrono di lato */
.pl-public .pl-st-swipe { display: none; }
@container pl (max-width: 560px) {
	.pl-public .pl-st-swipe { display: flex; align-items: center; justify-content: flex-end; gap: .4em; margin: 0; padding: .45em 1em; font-size: .74em; font-weight: 600; color: var(--pl-brand); background: var(--pl-brand-soft); border-bottom: 1px solid #e8ecf3; }
	.pl-public .pl-st-swipe svg { width: 1.1em; height: 1.1em; }
	.pl-public .pl-standings-card .pl-scroll { overflow-x: auto; overscroll-behavior-x: contain; }
	.pl-public .pl-standings-card .pl-standings { width: max-content; border-collapse: separate; border-spacing: 0; font-size: .86em; }
	.pl-public .pl-standings-card .pl-standings th, .pl-public .pl-standings-card .pl-standings td { padding: .6em .4em; }
	.pl-public .pl-standings-card .pl-standings tbody td { background: #fff; }
	.pl-public .pl-standings-card .pl-standings tbody tr:hover > td { background: #fff; }
	.pl-public .pl-standings-card .pl-standings td.pl-pts { background: #eef1f7; }
	.pl-public .pl-standings-card .pl-standings .pl-c-pos,
	.pl-public .pl-standings-card .pl-standings tbody td:first-child { box-sizing: border-box; position: sticky; left: 0; z-index: 2; width: 2.75rem; min-width: 2.75rem; max-width: 2.75rem; padding-left: .45em; padding-right: .2em; }
	.pl-public .pl-standings-card .pl-standings thead th:nth-child(2),
	.pl-public .pl-standings-card .pl-standings .pl-team { box-sizing: border-box; position: sticky; left: 2.75rem; z-index: 2; min-width: 9.4rem; max-width: 9.4rem; width: 9.4rem; white-space: normal; overflow-wrap: break-word; word-break: normal; hyphens: auto; line-height: 1.2; box-shadow: 6px 0 6px -5px rgba(20,44,99,.28); }
	.pl-public .pl-standings-card .pl-standings thead th { z-index: 3; }
	.pl-public .pl-standings-card .pl-standings thead th:nth-child(-n+2) { background: #eaeff8; }
	.pl-public .pl-standings-card .pl-standings th.pl-c-opt, .pl-public .pl-standings-card .pl-standings td.pl-c-opt { padding-left: .7em; padding-right: .7em; }
	.pl-public .pl-standings-card .pl-standings .pl-formcell .pl-form { width: 1.55em; height: 1.55em; line-height: 1.55em; font-size: .78em; margin-right: 1px; }
	.pl-public .pl-standings-card .pl-pos-n { width: 1.85em; height: 1.85em; }
	.pl-public .pl-standings-card .pl-standings .pl-team .pl-logo { display: none; }
	.pl-public .pl-st-head, .pl-public .pl-st-foot { padding-left: 1em; padding-right: 1em; }
	.pl-public .pl-st-title { font-size: 1.2em; }
	.pl-public .pl-st-zones li { flex: 1 1 100%; }
}
.pl-public .pl-st-note strong { text-transform: uppercase; letter-spacing: .06em; }

/* ------------------------------------------------------------------
   Calendario istituzionale: giornate, giorni, data e ora
   ------------------------------------------------------------------ */
.pl-public .pl-cal-card { background: #fff; border: 1px solid rgba(20,44,99,.14); border-radius: 14px; overflow: hidden; box-shadow: 0 6px 24px rgba(20,44,99,.08); margin: 0 0 1.5em; color: #1d2433; }
.pl-public .pl-cal-nav { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .6em; padding: .7em 1em; background: var(--pl-brand-soft); border-bottom: 2px solid var(--pl-brand); }
.pl-public .pl-cal-btn { display: inline-flex; align-items: center; gap: .25em; min-width: 2.6em; height: 2.4em; padding: 0 .7em; justify-content: center; border-radius: 999px; background: #fff; color: var(--pl-brand); font-weight: 700; font-size: .85em; text-decoration: none !important; box-shadow: inset 0 0 0 1px rgba(32,68,148,.25); transition: background .15s, color .15s; }
.pl-public a.pl-cal-btn:hover, .pl-public a.pl-cal-btn:focus-visible { background: var(--pl-brand); color: #fff; }
.pl-public .pl-cal-btn.is-off { opacity: .35; }
.pl-public .pl-cal-btn svg { width: 1.1em; height: 1.1em; }
.pl-public .pl-cal-now { text-align: center; display: flex; flex-direction: column; line-height: 1.2; }
.pl-public .pl-cal-round-n { font-weight: 800; font-size: 1.05em; color: var(--pl-brand-dark); letter-spacing: .02em; }
.pl-public .pl-cal-leg { font-size: .74em; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--pl-brand); opacity: .8; }

.pl-public .pl-cal-round + .pl-cal-round { border-top: 1px solid #e8ecf3; }
.pl-public .pl-cal-round-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2em .8em; padding: .8em 1.4em; background: var(--pl-brand-soft); border-bottom: 2px solid var(--pl-brand); }
.pl-public .pl-cal-round-head .pl-cal-range { margin-left: auto; font-size: .82em; color: #5b6475; font-variant-numeric: tabular-nums; }

.pl-public h3.pl-cal-day { display: flex; align-items: baseline; gap: .5em; margin: 0; padding: .75em 1.4em .45em; font-size: .78em; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #5b6475; background: #fafbfd; border-bottom: 1px solid #e8ecf3; }
.pl-public .pl-cal-dow { color: var(--pl-brand); font-weight: 800; }
.pl-public .pl-cal-date { color: #3b4555; }

.pl-public .pl-cal-list { list-style: none; margin: 0; padding: 0; }
.pl-public .pl-cal-match { display: grid; grid-template-columns: 6.2em 1fr; grid-template-areas: "time teams" "time meta"; column-gap: 1.1em; row-gap: .15em; align-items: center; margin: 0; padding: .85em 1.4em; border-bottom: 1px solid #eef1f6; }
.pl-public .pl-cal-list > .pl-cal-match:last-child { border-bottom: 0; }
.pl-public .pl-cal-match:hover { background: #f9fafd; }
.pl-public .pl-cal-time { grid-area: time; display: flex; flex-direction: column; align-items: center; justify-content: center; align-self: stretch; padding: .35em 0; border-right: 3px solid var(--pl-brand); padding-right: 1em; }
.pl-public .pl-cal-hour { font-size: 1.3em; font-weight: 800; color: var(--pl-brand-dark); font-variant-numeric: tabular-nums; letter-spacing: .02em; line-height: 1.1; }
.pl-public .pl-cal-hour.is-tbd { color: #9aa3b2; }
.pl-public .pl-cal-status { font-size: .66em; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #8a93a3; margin-top: .25em; white-space: nowrap; }
.pl-public .pl-status-played .pl-cal-time { border-right-color: var(--pl-gold); }
.pl-public .pl-status-played .pl-cal-status { color: #8a6508; }
.pl-public .pl-status-postponed .pl-cal-time { border-right-color: #c0392b; }
.pl-public .pl-status-postponed .pl-cal-status { color: #c0392b; }

.pl-public .pl-cal-teams { grid-area: teams; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: .8em; min-width: 0; }
.pl-public .pl-cal-team { display: flex; align-items: center; gap: .5em; font-weight: 600; min-width: 0; line-height: 1.25; }
.pl-public .pl-cal-team a { color: #1d2433; text-decoration: none; min-width: 0; overflow-wrap: break-word; hyphens: auto; }
.pl-public .pl-cal-teams > * { min-width: 0; }
.pl-public .pl-cal-team a:hover { color: var(--pl-brand); text-decoration: underline; }
.pl-public .pl-cal-home { justify-content: flex-end; text-align: right; }
.pl-public .pl-cal-team.pl-win { font-weight: 800; }
.pl-public .pl-cal-team.pl-lose { color: #6b7385; }
.pl-public .pl-cal-team.pl-lose a { color: #6b7385; }
.pl-public .pl-cal-team .pl-logo { width: 24px; height: 24px; object-fit: contain; flex: 0 0 auto; }
.pl-public .pl-cal-center { display: flex; justify-content: center; }
.pl-public .pl-cal-center-link { text-decoration: none !important; }
.pl-public .pl-cal-score { display: inline-flex; align-items: center; gap: .3em; min-width: 3.6em; justify-content: center; padding: .3em .7em; border-radius: 8px; background: var(--pl-brand); color: #fff; font-weight: 800; font-size: 1.05em; font-variant-numeric: tabular-nums; }
.pl-public .pl-cal-score i { font-style: normal; opacity: .6; font-weight: 400; }
.pl-public .pl-cal-score b { font-weight: 800; }
.pl-public a.pl-cal-center-link:hover .pl-cal-score { background: var(--pl-brand-dark); }
.pl-public .pl-cal-vs { display: inline-flex; align-items: center; justify-content: center; min-width: 3.2em; padding: .3em .6em; border-radius: 8px; background: var(--pl-brand-soft); color: var(--pl-brand); font-size: .75em; font-weight: 800; letter-spacing: .12em; }
.pl-public .pl-cal-vs.pl-cal-rinv { background: #fdecea; color: #c0392b; letter-spacing: .04em; text-transform: uppercase; }

.pl-public .pl-cal-meta { grid-area: meta; display: flex; flex-wrap: wrap; justify-content: center; gap: .2em 1em; font-size: .8em; color: #6b7385; }
.pl-public .pl-cal-venue { display: inline-flex; align-items: center; gap: .3em; }
.pl-public .pl-cal-venue svg { width: 1em; height: 1em; color: var(--pl-brand); flex: 0 0 auto; }
.pl-public .pl-cal-note { font-style: italic; }
.pl-public .pl-cal-empty { margin: 0; padding: 1.2em 1.4em; color: #6b7385; }

@container pl (max-width: 760px) {
	.pl-public .pl-cal-match { grid-template-columns: 5em 1fr; column-gap: .9em; padding-left: 1.1em; padding-right: 1.1em; }
	.pl-public .pl-cal-time { padding-right: .8em; }
	.pl-public .pl-cal-teams { gap: .6em; }
	.pl-public .pl-cal-team { font-size: .93em; }
}
/* Telefono: ora sopra, squadre una per riga con il risultato al centro */
@container pl (max-width: 560px) {
	.pl-public .pl-cal-match { grid-template-columns: 4em 1fr; column-gap: .7em; padding: .8em .9em; }
	.pl-public .pl-cal-time { padding-right: .55em; }
	.pl-public .pl-cal-hour { font-size: 1.12em; }
	.pl-public .pl-cal-status { font-size: .58em; letter-spacing: .06em; white-space: normal; text-align: center; }
	.pl-public .pl-cal-teams { grid-template-columns: 1fr auto; grid-template-areas: "home center" "away center"; gap: .35em .6em; }
	.pl-public .pl-cal-home { grid-area: home; justify-content: flex-end; text-align: left; flex-direction: row-reverse; }
	.pl-public .pl-cal-score { flex-direction: column; gap: .35em; min-width: 2.4em; padding: .35em .55em; font-size: 1em; line-height: 1.15; }
	.pl-public .pl-cal-score i { display: none; }
	.pl-public .pl-cal-vs { min-width: 2.6em; padding: .3em .45em; }
	.pl-public .pl-cal-away { grid-area: away; }
	.pl-public .pl-cal-center { grid-area: center; }
	.pl-public .pl-cal-team { font-size: .95em; }
	.pl-public .pl-cal-team .pl-logo { width: 20px; height: 20px; }
	.pl-public .pl-cal-meta { justify-content: flex-start; font-size: .76em; }
	.pl-public h3.pl-cal-day, .pl-public .pl-cal-round-head { padding-left: 1em; padding-right: 1em; }
	.pl-public .pl-cal-round-head .pl-cal-range { margin-left: 0; flex-basis: 100%; }
	.pl-public .pl-cal-nav { padding: .6em .7em; }
}

/* Legenda della classifica a fisarmonica */
.pl-public details.pl-st-foot { padding: 0; }
.pl-public .pl-st-summary { display: flex; align-items: center; gap: .7em; padding: .85em 1.4em; cursor: pointer; list-style: none; user-select: none; }
.pl-public .pl-st-summary::-webkit-details-marker { display: none; }
.pl-public .pl-st-summary::marker { content: ""; }
.pl-public .pl-st-summary:hover { background: #f3f6fb; }
.pl-public .pl-st-summary:focus-visible { outline: 2px solid var(--pl-brand); outline-offset: -2px; }
.pl-public .pl-st-summary .pl-st-legend-title { margin: 0 !important; }
.pl-public .pl-st-dots { display: inline-flex; gap: .3em; }
.pl-public .pl-st-dots i { width: .7em; height: .7em; border-radius: 50%; display: block; }
.pl-public .pl-dot-gold { background: linear-gradient(145deg, var(--pl-gold-2), var(--pl-gold)); }
.pl-public .pl-dot-silver { background: linear-gradient(145deg, var(--pl-silver-2), var(--pl-silver)); }
.pl-public .pl-st-toggle { margin-left: auto; display: inline-flex; align-items: center; gap: .35em; font-size: .78em; font-weight: 700; color: var(--pl-brand); }
.pl-public .pl-st-chev { width: 1.3em; height: 1.3em; transition: transform .25s ease; }
.pl-public details.pl-st-foot[open] .pl-st-chev { transform: rotate(180deg); }
.pl-public .pl-st-hide, .pl-public details.pl-st-foot[open] .pl-st-show { display: none; }
.pl-public details.pl-st-foot[open] .pl-st-hide { display: inline; }
.pl-public .pl-st-foot-body { padding: .5em 1.4em 1.1em; }
.pl-public details.pl-st-foot[open] .pl-st-foot-body { animation: pl-acc-in .25s ease; }
@keyframes pl-acc-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@container pl (max-width: 560px) {
	.pl-public .pl-st-summary { padding-left: 1em; padding-right: 1em; }
	.pl-public .pl-st-foot-body { padding-left: 1em; padding-right: 1em; }
}
@media (prefers-reduced-motion: reduce) {
	.pl-public .pl-st-chev { transition: none; }
	.pl-public details.pl-st-foot[open] .pl-st-foot-body { animation: none; }
}

/* ------------------------------------------------------------------
   Area giocatore – dashboard (panoramica, statistiche, squadra, dati)
   ------------------------------------------------------------------ */
.pl-dash { --pl-gold: #c9971c; --pl-gold-2: #e9c25a; --pl-gold-bg: #fbf5e3; --pl-silver: #8d97a6; --pl-silver-2: #c4cbd5; --pl-silver-bg: #f1f3f6; }
.pl-dash-nav { margin: 0 0 1.2em; position: sticky; top: 0; z-index: 5; }
.pl-dash-nav ul { list-style: none; margin: 0; padding: .3em; display: flex; gap: .25em; background: var(--pl-card); border: 1px solid var(--pl-border); border-radius: 999px; overflow-x: auto; scrollbar-width: none; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.pl-dash-nav ul::-webkit-scrollbar { display: none; }
.pl-dash-nav li { margin: 0; flex: 1 0 auto; }
.pl-dash-nav a { display: block; text-align: center; white-space: nowrap; padding: .6em 1.1em; border-radius: 999px; text-decoration: none !important; color: inherit; font-weight: 600; font-size: .95em; opacity: .7; transition: background .15s, color .15s, opacity .15s; }
.pl-dash-nav a:hover { opacity: 1; background: var(--pl-soft); }
.pl-dash-nav a.is-active { background: var(--pl-accent); color: #fff; opacity: 1; }
.pl-dash-nav a:focus-visible { outline: 2px solid var(--pl-accent); outline-offset: 2px; }
.pl-dash-panel > :last-child { margin-bottom: 0; }

.pl-dash-label { margin: 0 0 .7em; font-size: .74em; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--pl-accent); }
.pl-dash-empty { margin: 0; opacity: .7; }
.pl-dash-sub { margin: -.3em 0 .8em; font-size: .88em; opacity: .7; }
.pl-dash-more { margin: 1em 0 0; font-size: .9em; font-weight: 600; }
.pl-dash-more a { color: var(--pl-accent); text-decoration: none; }
.pl-dash-more a:hover { text-decoration: underline; }
.pl-dash-h4 { margin: 1.2em 0 .6em; font-size: .85em; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; opacity: .75; }

/* Griglie */
.pl-dash-top { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 1.2em; }
.pl-dash-cols { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 1.2em; align-items: start; }
.pl-dash-cols-team { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
.pl-dash-top > .pl-card, .pl-dash-cols > .pl-card { margin-bottom: 0; }
.pl-dash-cols, .pl-dash-top { margin-bottom: 1.2em; }

/* Prossimo incontro */
.pl-dash-next { display: flex; flex-direction: column; }
.pl-dash-next-meta { display: flex; flex-wrap: wrap; gap: .4em; margin: 0 0 1em; }
.pl-dash-pill { display: inline-block; font-size: .8em; font-weight: 600; padding: .25em .8em; border-radius: 999px; background: var(--pl-soft); border: 1px solid var(--pl-border); }
.pl-dash-pill.is-accent { background: var(--pl-accent); border-color: var(--pl-accent); color: #fff; }
.pl-dash-pill.is-home { border-color: var(--pl-accent); color: var(--pl-accent); }
.pl-dash-pill.is-warn { background: rgba(208,56,59,.1); border-color: rgba(208,56,59,.4); color: var(--pl-loss); }
.pl-dash-versus { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1em; padding: .4em 0 1.1em; }
.pl-dash-side { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .55em; min-width: 0; }
.pl-dash-side .pl-dash-team { font-weight: 700; font-size: 1.1em; line-height: 1.2; overflow-wrap: anywhere; }
.pl-dash-side .pl-dash-team a { color: inherit; text-decoration: none; }
.pl-dash-side .pl-dash-team a:hover { color: var(--pl-accent); }
.pl-dash-side.is-mine .pl-dash-team { color: var(--pl-accent); }
.pl-dash-crest { width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--pl-soft); overflow: hidden; }
.pl-dash-crest img { width: 52px !important; height: 52px !important; object-fit: contain; margin: 0 !important; }
.pl-dash-crest-initial { font-size: 1.7em; font-weight: 800; color: var(--pl-accent); }
.pl-dash-side.is-mine .pl-dash-crest { box-shadow: 0 0 0 3px var(--pl-accent); }
.pl-dash-vs { font-weight: 800; font-size: .9em; letter-spacing: .1em; opacity: .45; }
.pl-dash-facts { list-style: none; margin: auto 0 0; padding: .9em 0 0; border-top: 1px solid var(--pl-border); display: grid; gap: .45em; }
.pl-dash-facts li { display: grid; grid-template-columns: 5em 1fr; gap: .8em; margin: 0; font-size: .95em; }
.pl-dash-facts span { opacity: .6; font-size: .9em; }
.pl-dash-facts strong { font-weight: 600; }
.pl-dash-facts a { color: inherit; }

/* Squadra in classifica */
.pl-dash-team-pos { display: flex; flex-direction: column; }
.pl-dash-bigpos { display: flex; align-items: baseline; gap: .4em; }
.pl-dash-bigpos b { font-size: 3.2em; line-height: 1; font-weight: 800; color: var(--pl-accent); font-variant-numeric: tabular-nums; }
.pl-dash-bigpos.is-gold b { color: var(--pl-gold); }
.pl-dash-bigpos.is-silver b { color: #6e7887; }
.pl-dash-bigpos span { opacity: .6; }
.pl-dash-zone { display: inline-block; align-self: flex-start; margin: .5em 0 0; font-size: .75em; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: .25em .8em; border-radius: 999px; }
.pl-dash-zone.is-gold { background: var(--pl-gold-bg); color: #8a6508; }
.pl-dash-zone.is-silver { background: var(--pl-silver-bg); color: #4a5465; }
.pl-dash-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5em; margin: 1em 0 0; }
.pl-dash-mini div { background: var(--pl-soft); border-radius: 10px; padding: .5em .6em; text-align: center; }
.pl-dash-mini dt { font-size: .72em; text-transform: uppercase; letter-spacing: .06em; opacity: .65; }
.pl-dash-mini dd { margin: 0; font-weight: 700; font-size: 1.1em; font-variant-numeric: tabular-nums; }
.pl-dash-form { display: flex; align-items: center; gap: .5em; flex-wrap: wrap; margin: .9em 0 0; font-size: .9em; }
.pl-dash-form > span:first-child { opacity: .65; font-size: .9em; margin-right: .2em; }
.pl-dash-form .pl-form { min-width: 1.8em; line-height: 1.8em; border-radius: 6px; font-size: .78em; }
.pl-dash-team-pos .pl-dash-more { margin-top: auto; padding-top: 1em; }

/* KPI del giocatore */
.pl-dash-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8em; }
.pl-dash-kpi { background: var(--pl-card); border: 1px solid var(--pl-border); border-radius: 12px; padding: 1em; display: flex; flex-direction: column; gap: .1em; }
.pl-dash-kpi b { font-size: 1.9em; line-height: 1.1; font-weight: 800; color: var(--pl-accent); font-variant-numeric: tabular-nums; }
.pl-dash-kpi span { font-size: .85em; font-weight: 600; }
.pl-dash-kpi small { font-size: .78em; opacity: .6; }
.pl-dash-kpi.is-accent { background: var(--pl-accent); border-color: var(--pl-accent); color: #fff; }
.pl-dash-kpi.is-accent b { color: #fff; }
.pl-dash-kpi.is-accent small { opacity: .85; }
.pl-dash-form-me { margin: .8em 0 1.2em; }

/* Ultimo incontro */
.pl-dash-score { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: .8em; padding: .8em 1em; border-radius: 12px; background: var(--pl-soft); }
.pl-dash-score-team { font-weight: 600; line-height: 1.25; overflow-wrap: anywhere; }
.pl-dash-score-team:first-child { text-align: right; }
.pl-dash-score-team a { color: inherit; text-decoration: none; }
.pl-dash-score-n { display: flex; align-items: center; gap: .3em; font-variant-numeric: tabular-nums; }
.pl-dash-score-n b { font-size: 1.7em; font-weight: 800; line-height: 1; }
.pl-dash-score-n i { font-style: normal; opacity: .4; }
.pl-dash-result { margin: .6em 0 0; font-weight: 700; font-size: .9em; text-align: center; }
.pl-dash-result.is-win { color: var(--pl-win); }
.pl-dash-result.is-loss { color: var(--pl-loss); }
.pl-dash-result.is-draw { color: var(--pl-draw); }
.pl-dash-rubbers { list-style: none; margin: 0; padding: 0; display: grid; gap: .5em; }
.pl-dash-rubbers li { margin: 0; display: grid; grid-template-columns: 1fr auto; grid-template-areas: "head score" "body score"; gap: .15em 1em; padding: .65em .8em; border: 1px solid var(--pl-border); border-radius: 10px; }
.pl-dash-rubber-head { grid-area: head; display: flex; align-items: center; gap: .5em; }
.pl-dash-rubber-body { grid-area: body; display: flex; flex-wrap: wrap; gap: 0 .8em; font-size: .88em; }
.pl-dash-rubber-opp { opacity: .7; }
.pl-dash-rubber-score { grid-area: score; align-self: center; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Elenco prossimi incontri */
.pl-dash-list { list-style: none; margin: 0; padding: 0; }
.pl-dash-list li { display: grid; grid-template-columns: 6.5em 1fr; gap: .8em; align-items: center; margin: 0; padding: .65em 0; border-bottom: 1px solid var(--pl-border); }
.pl-dash-list li:last-child { border-bottom: 0; }
.pl-dash-list small { display: block; font-size: .75em; opacity: .6; }
.pl-dash-list-date b { font-variant-numeric: tabular-nums; }
.pl-dash-list-opp { font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.pl-dash-list-opp small { font-weight: 400; }
.pl-dash-list-opp a { color: inherit; text-decoration: none; }
.pl-dash-list-opp a:hover { color: var(--pl-accent); }
.pl-dash-list li.is-postponed .pl-dash-list-date b { color: var(--pl-loss); }
.pl-dash-overdue { margin: .8em 0 0; }

/* La mia squadra */
.pl-dash .pl-dash-st, .pl-dash .pl-dash-rost { margin: 0; }
.pl-dash .pl-dash-st tr.is-mine td, .pl-dash .pl-dash-rost tr.is-mine td { background: color-mix(in srgb, var(--pl-accent) 9%, transparent); font-weight: 700; }
.pl-dash-posn { display: inline-flex; width: 1.9em; height: 1.9em; align-items: center; justify-content: center; border-radius: 50%; font-weight: 700; font-size: .9em; background: var(--pl-soft); }
.pl-dash-zone-gold .pl-dash-posn { background: linear-gradient(145deg, var(--pl-gold-2), var(--pl-gold)); color: #fff; }
.pl-dash-zone-silver .pl-dash-posn { background: linear-gradient(145deg, var(--pl-silver-2), var(--pl-silver)); color: #fff; }
.pl-dash-notes { margin: .9em 0 0; padding: 0; list-style: none; font-size: .88em; display: grid; gap: .3em; }
.pl-dash-notes li { margin: 0; padding-left: 1em; position: relative; opacity: .8; }
.pl-dash-notes li::before { content: ""; position: absolute; left: 0; top: .55em; width: .4em; height: .4em; border-radius: 50%; background: var(--pl-accent); }
.pl-dash-rost-group th { background: var(--pl-soft); font-size: .75em !important; text-transform: uppercase; letter-spacing: .08em; opacity: 1 !important; padding: .4em .5em !important; }
.pl-dash-you { display: inline-block; font-size: .7em; font-weight: 700; padding: .05em .55em; border-radius: 999px; background: var(--pl-accent); color: #fff; vertical-align: middle; }
.pl-dash .pl-partners { margin-bottom: 0; }
.pl-dash-cal .pl-cal-round-head strong { color: var(--pl-brand-dark); letter-spacing: .04em; }
.pl-dash-cal .pl-cal-match.is-home .pl-cal-home a, .pl-dash-cal .pl-cal-match:not(.is-home) .pl-cal-away a { color: var(--pl-brand); }


/* Squadre */
.pl-dash-intro { margin: 0 0 1em; }
.pl-dash-h3 { margin: 0 0 .2em; font-size: 1.3em; line-height: 1.2; }
.pl-dash-intro .pl-small { margin: 0; }
.pl-dash-teams { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6em; }
.pl-dash-tcard { display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: .75em; padding: .7em .9em; background: var(--pl-card); border: 1px solid var(--pl-border); border-radius: 12px; text-decoration: none !important; color: inherit; transition: border-color .15s, box-shadow .15s, transform .15s; }
.pl-dash-tcard:hover, .pl-dash-tcard:focus-visible { border-color: var(--pl-accent); box-shadow: 0 4px 14px rgba(0,0,0,.07); transform: translateY(-1px); }
.pl-dash-tcard.is-mine { border-color: var(--pl-accent); background: color-mix(in srgb, var(--pl-accent) 6%, var(--pl-card)); }
.pl-dash-tcard .pl-dash-crest { width: 44px; height: 44px; }
.pl-dash-tcard .pl-dash-crest img { width: 34px !important; height: 34px !important; }
.pl-dash-tcard .pl-dash-crest-initial { font-size: 1.2em; }
.pl-dash-tcard-pos { display: inline-flex; width: 1.9em; height: 1.9em; align-items: center; justify-content: center; border-radius: 50%; font-weight: 800; font-size: .85em; background: var(--pl-soft); font-variant-numeric: tabular-nums; }
.pl-dash-tcard-pos.is-gold { background: linear-gradient(145deg, var(--pl-gold-2), var(--pl-gold)); color: #fff; }
.pl-dash-tcard-pos.is-silver { background: linear-gradient(145deg, var(--pl-silver-2), var(--pl-silver)); color: #fff; }
.pl-dash-tcard-main { min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.pl-dash-tcard-main strong { overflow-wrap: anywhere; }
.pl-dash-tcard-main small { opacity: .65; font-size: .8em; margin-top: .15em; }
.pl-dash-tcard-form { white-space: nowrap; }
.pl-dash-tcard-form .pl-form { min-width: 1.45em; line-height: 1.45em; border-radius: 4px; font-size: .68em; }
.pl-dash-back { margin: 0 0 .8em; font-weight: 600; font-size: .92em; }
.pl-dash-back a { color: var(--pl-accent); text-decoration: none; }
.pl-dash-ohead { display: grid; grid-template-columns: auto 1fr auto; gap: 1em; align-items: center; }
.pl-dash-ohead .pl-small { margin: .2em 0 0; }
.pl-dash-ohead-pos { display: flex; flex-direction: column; align-items: flex-end; gap: .3em; }
.pl-dash-ohead-pos .pl-dash-zone { margin: 0; }
.pl-dash-ohead + .pl-dash-kpis { margin-top: 0; }
.pl-dash-h2h-score { justify-self: end; display: flex; align-items: center; gap: .4em; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pl-dash-h2h-score a { color: inherit; }
.pl-dash-h2h-list li { grid-template-columns: 1fr auto; }
.pl-dash-h2h .pl-dash-mini { margin: 0 0 .6em; }

/* Ranking */
.pl-dash-rk-bar { display: flex; flex-wrap: wrap; gap: .8em 1.2em; align-items: center; justify-content: space-between; margin: 0 0 1em; }
.pl-dash-seg { display: inline-flex; padding: .25em; border-radius: 999px; background: var(--pl-soft); border: 1px solid var(--pl-border); }
.pl-dash-seg a { padding: .45em 1.3em; border-radius: 999px; font-weight: 700; text-decoration: none !important; color: inherit; opacity: .7; }
.pl-dash-seg a.is-active { background: var(--pl-card); color: var(--pl-accent); opacity: 1; box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.pl-dash-rk-filter { display: flex; align-items: center; gap: .5em; font-size: .9em; }
.pl-dash-rk-filter span { opacity: .7; font-weight: 600; }
.pl-dash-rk-filter select { font: inherit; padding: .45em 2em .45em .8em; border: 1px solid rgba(0,0,0,.2); border-radius: 999px; background-color: var(--pl-card); color: inherit; max-width: 15em; }
.pl-dash-podium { list-style: none; margin: 0 0 1em; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7em; align-items: end; }
.pl-dash-podium li { margin: 0; display: flex; flex-direction: column; align-items: center; text-align: center; gap: .15em; padding: 1em .6em .9em; border-radius: 14px; background: var(--pl-card); border: 1px solid var(--pl-border); }
.pl-dash-podium li.is-1 { order: 2; padding-top: 1.5em; border-color: var(--pl-gold); background: linear-gradient(180deg, var(--pl-gold-bg), var(--pl-card)); }
.pl-dash-podium li.is-2 { order: 1; }
.pl-dash-podium li.is-3 { order: 3; }
.pl-dash-podium li.is-me { box-shadow: 0 0 0 2px var(--pl-accent); }
.pl-dash-podium-pos { display: inline-flex; width: 2.2em; height: 2.2em; align-items: center; justify-content: center; border-radius: 50%; font-weight: 800; color: #fff; background: linear-gradient(145deg, #e0a97a, #b8763f); margin-bottom: .3em; }
.pl-dash-podium .is-1 .pl-dash-podium-pos { background: linear-gradient(145deg, var(--pl-gold-2), var(--pl-gold)); width: 2.6em; height: 2.6em; font-size: 1.1em; }
.pl-dash-podium .is-2 .pl-dash-podium-pos { background: linear-gradient(145deg, var(--pl-silver-2), var(--pl-silver)); }
.pl-dash-podium strong { line-height: 1.2; overflow-wrap: anywhere; }
.pl-dash-podium strong a { color: inherit; text-decoration: none; }
.pl-dash-podium small { font-size: .78em; opacity: .65; }
.pl-dash-podium b { margin-top: .3em; font-size: 1.25em; color: var(--pl-accent); font-variant-numeric: tabular-nums; }
.pl-dash-podium b i { font-style: normal; font-size: .65em; opacity: .7; }
.pl-dash-rk-me { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4em 1em; margin: 0 0 1em; padding: .7em 1em; border-radius: 12px; background: color-mix(in srgb, var(--pl-accent) 9%, transparent); font-size: .95em; }
.pl-dash-rk-me a { font-weight: 700; color: var(--pl-accent); text-decoration: none; }
.pl-dash-rk-card { padding: .4em .6em; }
.pl-dash .pl-dash-rk-table { margin: 0; }
.pl-dash-rk-table td.pl-l { line-height: 1.25; }
.pl-dash-rk-name a { color: inherit; font-weight: 600; text-decoration: none; }
.pl-dash-rk-name a:hover { color: var(--pl-accent); }
.pl-dash-rk-team { display: block; font-size: .8em; opacity: .6; }
.pl-dash-rk-table tr.is-mate td { background: color-mix(in srgb, var(--pl-accent) 5%, transparent); }
.pl-dash-rk-table tr.is-me td { background: color-mix(in srgb, var(--pl-accent) 14%, transparent); }
.pl-dash-rk-table tr.is-flash td { animation: pl-dash-flash 1.6s ease; }
@keyframes pl-dash-flash { 0%, 40% { background: color-mix(in srgb, var(--pl-accent) 35%, transparent); } }
.pl-dash-rk-table tr[hidden] { display: none; }
.pl-dash-rk-none { margin: .8em; opacity: .7; }
.pl-dash-rk-table tr:nth-child(-n+3) .pl-dash-posn { background: var(--pl-gold-bg); color: #8a6508; }

@container pl (max-width: 820px) {
	.pl-dash-top, .pl-dash-cols, .pl-dash-cols-team { grid-template-columns: 1fr; }
	.pl-dash-tcard-form { display: none; }
	.pl-dash-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@container pl (max-width: 520px) {
	.pl-account .pl-profile { grid-template-columns: auto 1fr auto; gap: .8em; padding: .9em 1em; margin-bottom: 1em; }
	.pl-account .pl-avatar { width: 52px; height: 52px; font-size: 1.3em; }
	.pl-account .pl-profile-name { font-size: 1.2em; margin-bottom: .3em; }
	.pl-account .pl-chips li { font-size: .72em; padding: .15em .6em; }
	.pl-account .pl-profile-actions { grid-column: auto; align-self: start; }
	.pl-account .pl-profile-actions a { padding: .25em .8em; font-size: .8em; }
	.pl-dash-nav ul { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
	.pl-dash-nav ul.is-end { -webkit-mask-image: none; mask-image: none; }
	.pl-dash-nav a { padding: .55em .9em; font-size: .88em; }
	.pl-dash-crest { width: 52px; height: 52px; }
	.pl-dash-crest img { width: 42px !important; height: 42px !important; }
	.pl-dash-side .pl-dash-team { font-size: .98em; }
	.pl-dash-bigpos b { font-size: 2.6em; }
	.pl-dash-kpi b { font-size: 1.55em; }
	.pl-dash-score { padding: .7em .6em; gap: .5em; font-size: .92em; }
	.pl-dash-score-n b { font-size: 1.4em; }
	.pl-dash-facts li { grid-template-columns: 4.2em 1fr; }
	.pl-dash-teams { grid-template-columns: 1fr; }
	.pl-dash-tcard { padding: .6em .7em; gap: .6em; }
	.pl-dash-ohead { grid-template-columns: auto 1fr; }
	.pl-dash-ohead-pos { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: flex-start; gap: .6em; }
	.pl-dash-ohead-pos .pl-dash-bigpos b { font-size: 2em; }
	.pl-dash-rk-bar { flex-direction: column; align-items: stretch; }
	.pl-dash-seg { display: flex; }
	.pl-dash-seg a { flex: 1; text-align: center; }
	.pl-dash-rk-filter select { flex: 1; max-width: none; }
	.pl-dash-rk-c { display: none; }
	.pl-dash-podium { gap: .4em; }
	.pl-dash-podium li { padding: .8em .35em .7em; font-size: .9em; }
	.pl-dash-podium small { display: none; }
}
@supports not (container-type: inline-size) {
	@media (max-width: 820px) {
		.pl-dash-top, .pl-dash-cols, .pl-dash-cols-team { grid-template-columns: 1fr; }
		.pl-dash-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	}
}
@media (prefers-reduced-motion: reduce) {
	.pl-dash-nav a { transition: none; }
}

/* ------------------------------------------------------------------
   Vista amministratore: menu per scegliere il giocatore
   ------------------------------------------------------------------ */
.pl-admin-view { display: flex; flex-wrap: wrap; align-items: center; gap: .6em 1em; margin: 0 0 1em; padding: .7em 1em; border-radius: 12px; background: var(--pl-card); border: 1px dashed var(--pl-accent); }
.pl-admin-view label { font-weight: 600; display: flex; align-items: center; gap: .6em; }
.pl-admin-view-tag { font-size: .7em; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: .25em .7em; border-radius: 999px; background: var(--pl-accent); color: #fff; }
.pl-admin-view select { flex: 1 1 16em; font: inherit; padding: .55em 2em .55em .9em; border: 1px solid rgba(0,0,0,.2); border-radius: 999px; background-color: #fff; color: inherit; min-width: 0; }
.pl-admin-view select:focus { outline: 2px solid var(--pl-accent); outline-offset: 1px; }
.pl-sup-dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6em 1.2em; margin: 0 0 1em; }
.pl-sup-dl div { border-bottom: 1px solid var(--pl-border); padding: .4em 0; }
.pl-sup-dl dt { font-size: .78em; text-transform: uppercase; letter-spacing: .06em; opacity: .6; }
.pl-sup-dl dd { margin: .1em 0 0; font-weight: 600; overflow-wrap: anywhere; }
.pl-sup-dl a { color: var(--pl-accent); }
@container pl (max-width: 640px) {
	.pl-sup-dl { grid-template-columns: 1fr; }
	.pl-admin-view select { flex-basis: 100%; }
}

/* Consensi in registrazione e in "I miei dati" */
.pl-consents { border-top: 1px solid var(--pl-border) !important; padding-top: 1em !important; }
.pl-consents .pl-check { margin: 0 0 .8em; }
.pl-consents .pl-check label { line-height: 1.45; }
.pl-consents .pl-check input { flex: 0 0 auto; width: 1.15em; height: 1.15em; accent-color: var(--pl-accent); }
.pl-check-optional { background: var(--pl-soft); border-radius: 10px; padding: .7em .8em; }
