/* Audio Match Center · stile della prova (tema scuro) */
:root {
  --fondo: #0B0D10;
  --superficie: #15181D;
  --superficie-alta: #1E2229;
  --bordo: #2C313A;
  --bordo-forte: #3A404B;
  --bordo-controllo: #646C7A;
  --testo: #F2F4F7;
  --testo-2: #A6ADB9;
  --testo-3: #8A919E;
  --voce: #C8FF3E;
  --voce-tenue: #24301A;
  --diretta: #FF4D5E;
  --blu: #5AB8FF;
  --giallo: #FFD23F;
  --titoli: 'Outfit', system-ui, sans-serif;
  --corpo: 'Figtree', system-ui, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--fondo); color: var(--testo); font-family: var(--corpo); font-size: 15px; line-height: 1.4; -webkit-font-smoothing: antialiased; }
body { min-height: 100dvh; }
a { color: var(--blu); }
a:hover { color: #8FD0FF; }
button, input, select, textarea { font: inherit; color: inherit; }
img { display: block; }
:focus-visible { outline: 2px solid var(--voce); outline-offset: 2px; border-radius: 6px; }
.nascosto { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.pagina { max-width: 520px; margin: 0 auto; padding: 0 16px 32px; }

/* barra in alto */
.barra { position: sticky; top: 0; z-index: 5; background: rgba(11,13,16,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--bordo); }
.barra-in { max-width: 520px; margin: 0 auto; height: 56px; padding: 0 16px; display: flex; align-items: center; gap: 12px; }
.marchio { font-family: var(--titoli); font-weight: 700; font-size: 17px; letter-spacing: -.01em; text-decoration: none; color: var(--testo); display: flex; align-items: center; gap: 8px; }
.marchio .punto { width: 10px; height: 10px; border-radius: 5px; background: var(--voce); }
.barra .spazio { flex-grow: 1; }
.icona-btn { width: 40px; height: 40px; border-radius: 20px; border: 1px solid var(--bordo-forte); background: transparent; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--testo); text-decoration: none; }
.icona-btn:hover { background: var(--superficie); color: var(--testo); }

h1 { font-family: var(--titoli); font-weight: 700; font-size: 26px; line-height: 30px; margin: 20px 0 4px; letter-spacing: -.01em; }
h2 { font-family: var(--titoli); font-weight: 600; font-size: 18px; line-height: 24px; margin: 0; }
.sotto { color: var(--testo-2); font-size: 14px; margin: 0 0 16px; }
.sez { font-size: 12px; font-weight: 600; letter-spacing: .06em; color: var(--testo-3); margin: 22px 0 10px; text-transform: uppercase; }
.num { font-family: var(--titoli); font-weight: 700; font-variant-numeric: tabular-nums; }
.piccolo { font-size: 12px; color: var(--testo-2); }

/* pulsanti */
.btn { height: 44px; padding: 0 18px; border-radius: 22px; border: 1px solid var(--bordo-controllo); background: transparent; color: var(--testo); font-weight: 600; font-size: 14px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; white-space: nowrap; }
.btn:hover { background: var(--superficie); color: var(--testo); }
.btn-pr { background: var(--voce); border-color: var(--voce); color: #0B0D10; }
.btn-pr:hover { background: #D7FF6E; color: #0B0D10; }
.btn-picc { height: 34px; padding: 0 14px; font-size: 13px; border-radius: 17px; }
.btn[disabled] { opacity: .45; cursor: default; }
.btn-larg { width: 100%; }

/* campi */
.campo { width: 100%; height: 46px; border-radius: 12px; border: 1px solid var(--bordo-controllo); background: var(--superficie); padding: 0 14px; color: var(--testo); }
.campo::placeholder { color: var(--testo-3); }
textarea.campo { height: 90px; padding: 12px 14px; resize: vertical; }
.etichetta { display: block; font-size: 13px; color: var(--testo-2); margin: 12px 0 6px; }
.msg { font-size: 13px; color: var(--testo-2); margin: 10px 0; }
.msg.err { color: #FF8A95; }
.msg.ok { color: var(--voce); }

/* chip di stato */
.chip { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; border-radius: 6px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--superficie-alta); color: var(--testo-2); border: 1px solid var(--bordo); white-space: nowrap; }
.chip.live { background: rgba(255,77,94,.14); border-color: rgba(255,77,94,.4); color: var(--diretta); }
.chip.live::before { content: ''; width: 6px; height: 6px; border-radius: 3px; background: var(--diretta); animation: pulsa 1.6s ease-in-out infinite; }
.chip.voce { background: var(--voce-tenue); border-color: rgba(200,255,62,.35); color: var(--voce); }
.chip.replay { background: rgba(90,184,255,.12); border-color: rgba(90,184,255,.4); color: var(--blu); }
@keyframes pulsa { 50% { opacity: .35; } }

/* stemmi */
.stemma { width: 28px; height: 28px; border-radius: 14px; background: var(--superficie-alta); border: 1px solid var(--bordo); flex-shrink: 0; object-fit: contain; display: inline-flex; align-items: center; justify-content: center; font-family: var(--titoli); font-weight: 700; font-size: 12px; color: var(--testo-2); overflow: hidden; }
.stemma img { width: 100%; height: 100%; object-fit: contain; }
.stemma.grande { width: 52px; height: 52px; border-radius: 26px; font-size: 18px; }

/* righe partita (match center) */
.lista { display: flex; flex-direction: column; gap: 8px; }
.riga-partita { display: grid; grid-template-columns: 54px minmax(0,1fr) auto; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; background: var(--superficie); border: 1px solid var(--bordo); text-decoration: none; color: var(--testo); }
.riga-partita:hover { border-color: var(--bordo-forte); color: var(--testo); }
.riga-partita .ora { font-family: var(--titoli); font-weight: 600; font-size: 14px; color: var(--testo-2); text-align: center; }
.riga-partita .ora.min { color: var(--voce); }
.riga-partita .sq { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.riga-partita .sq > div { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; }
.riga-partita .sq .nome-sq { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex-grow: 1; }
.riga-partita .gol { font-family: var(--titoli); font-weight: 700; font-size: 15px; width: 18px; text-align: right; }
.riga-partita .stanze { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.riga-partita .sq .stemma { width: 22px; height: 22px; font-size: 10px; }

.vuoto { padding: 24px 16px; border-radius: 16px; border: 1px dashed var(--bordo-forte); color: var(--testo-2); text-align: center; font-size: 14px; }

/* testata partita */
.testata { padding: 18px 0 8px; display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items: center; gap: 12px; }
.testata .lato { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-weight: 600; font-size: 14px; min-width: 0; }
.testata .ris { font-family: var(--titoli); font-weight: 700; font-size: 34px; line-height: 38px; font-variant-numeric: tabular-nums; text-align: center; }
.testata .stato { text-align: center; font-family: var(--titoli); font-weight: 600; font-size: 14px; color: var(--voce); margin-top: 2px; }
.testata .stato.fermo { color: var(--testo-2); }

/* card delle stanze (match room) */
.stanza-card { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; background: var(--superficie); border: 1px solid var(--bordo); text-decoration: none; color: var(--testo); }
.stanza-card:hover { border-color: var(--bordo-forte); color: var(--testo); }
.stanza-card.libera { border-style: dashed; color: var(--testo-3); }
.avatar { width: 44px; height: 44px; border-radius: 22px; background: var(--superficie-alta); border: 2px solid var(--bordo-forte); display: inline-flex; align-items: center; justify-content: center; font-family: var(--titoli); font-weight: 700; font-size: 16px; flex-shrink: 0; color: var(--testo); }
.avatar.in-onda { border-color: var(--voce); box-shadow: 0 0 0 4px rgba(200,255,62,.12); }
.stanza-card .testi { flex-grow: 1; min-width: 0; }
.stanza-card .t1 { font-weight: 600; font-size: 15px; }
.stanza-card .t2 { font-size: 13px; color: var(--testo-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------------- podcast room ---------------- */
.stanza-pagina { display: flex; flex-direction: column; height: 100dvh; }
.striscia { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; min-width: 0; }
.striscia .ris { font-family: var(--titoli); font-weight: 700; font-variant-numeric: tabular-nums; }
.striscia .min { font-family: var(--titoli); font-weight: 600; color: var(--voce); font-size: 13px; }
.striscia .nomi { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.conduzione { max-width: 520px; width: 100%; margin: 0 auto; padding: 14px 16px 10px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--bordo); }
.conduzione .testi { flex-grow: 1; min-width: 0; }
.conduzione .nome { font-family: var(--titoli); font-weight: 700; font-size: 17px; }
.conduzione .titolo { font-size: 13px; color: var(--testo-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.avviso { max-width: 520px; width: calc(100% - 32px); margin: 10px auto 0; padding: 8px 12px; border-radius: 10px; background: var(--superficie); border: 1px solid var(--bordo); font-size: 12px; color: var(--testo-2); display: flex; align-items: center; gap: 8px; }
.comandi { max-width: 520px; width: 100%; margin: 0 auto; padding: 10px 16px 0; display: flex; gap: 8px; flex-wrap: wrap; }

.flusso { flex-grow: 1; overflow-y: auto; min-height: 0; }
.flusso-in { max-width: 520px; margin: 0 auto; padding: 12px 16px 16px; display: flex; flex-direction: column; gap: 8px; }

.chat { display: flex; flex-direction: column; gap: 2px; font-size: 14px; line-height: 20px; padding: 2px 0; overflow-wrap: anywhere; }
.chat .chi { font-size: 12px; font-weight: 600; color: var(--testo-2); display: flex; align-items: center; gap: 6px; }
.chat .chi .badge { font-size: 10px; font-weight: 700; letter-spacing: .06em; color: var(--voce); }
.chat.mia .chi { color: var(--testo); }

.scrivi { border-top: 1px solid var(--bordo); background: var(--fondo); }
.scrivi-in { max-width: 520px; margin: 0 auto; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); display: flex; gap: 8px; align-items: center; }
.scrivi .campo { height: 44px; border-radius: 22px; }
.invia { width: 44px; height: 44px; border-radius: 22px; border: 0; background: var(--voce); color: #0B0D10; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; }
.invia[disabled] { opacity: .45; }
.btn-card { height: 44px; padding: 0 14px; border-radius: 22px; border: 1px solid var(--voce); background: var(--voce-tenue); color: var(--voce); font-weight: 700; font-size: 13px; letter-spacing: .04em; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; flex-shrink: 0; }

/* card automatiche */
.ev { min-height: 36px; display: flex; align-items: center; gap: 10px; padding: 6px 12px; border-radius: 12px; background: var(--superficie); border: 1px solid var(--bordo); font-size: 13px; }
.ev .min { width: 30px; flex-shrink: 0; font-family: var(--titoli); font-weight: 500; color: var(--testo-3); }
.ev .tipo { font-weight: 600; flex-shrink: 0; }
.ev .tipo.gol { font-weight: 700; color: var(--voce); letter-spacing: .04em; }
.ev .chi { flex-grow: 1; color: var(--testo-2); min-width: 0; }
.ev .chi.forte { color: var(--testo); }
.ev .ris { font-family: var(--titoli); font-weight: 700; font-variant-numeric: tabular-nums; flex-shrink: 0; }
.cartellino { width: 11px; height: 15px; border-radius: 2px; display: block; margin: 0 2px; flex-shrink: 0; }
.cartellino.g { background: var(--giallo); }
.cartellino.r { background: var(--diretta); }
.cartellino.gr { background: linear-gradient(135deg, var(--giallo) 50%, var(--diretta) 50%); }

.sys { border-radius: 14px; background: var(--superficie); border: 1px solid var(--bordo); padding: 8px 10px; display: flex; flex-direction: column; gap: 6px; }
.sys .lab { color: var(--testo-2); }
.lab { display: flex; align-items: center; gap: 6px; font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--voce); }

/* card del podcaster */
.card { border-radius: 14px; background: var(--superficie-alta); border: 1px solid var(--bordo-forte); padding: 8px 10px; display: flex; flex-direction: column; gap: 7px; }
.card .nome { font-family: var(--titoli); font-weight: 700; font-size: 14px; line-height: 18px; }
.card .sub, .sys .sub { font-size: 11px; color: var(--testo-2); }
.box { border-radius: 8px; background: var(--superficie); border: 1px solid var(--bordo); padding: 5px 8px; display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.box .k { font-size: 10px; color: var(--testo-3); }
.box .v { font-family: var(--titoli); font-weight: 700; font-size: 16px; line-height: 20px; font-variant-numeric: tabular-nums; }
.box .d { font-size: 10px; color: var(--testo-2); }
.griglia { display: grid; gap: 8px; }
.g2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.barretta { height: 6px; border-radius: 3px; background: var(--bordo); overflow: hidden; display: block; }
.barretta > span { display: block; height: 6px; border-radius: 3px; }
.riga-cl { display: flex; align-items: center; gap: 10px; font-size: 12px; padding: 2px 0; color: var(--testo-2); }
.riga-cl .pos { width: 18px; color: var(--testo-3); font-family: var(--titoli); font-weight: 700; }
.riga-cl .n { flex-grow: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.riga-cl .p { color: var(--testo); font-family: var(--titoli); font-weight: 700; }
.riga-cl.evid { background: var(--superficie-alta); margin: 0 -8px; padding: 2px 8px; border-radius: 8px; color: var(--testo); font-weight: 600; }
.card .riga-cl.evid { background: var(--superficie); }
.stat-righe { display: grid; grid-template-columns: 40px minmax(0,1fr) 40px; align-items: center; gap: 2px 10px; font-size: 11px; }
.stat-righe .c { text-align: center; color: var(--testo-2); }
.stat-righe .num { font-size: 13px; }
.stat-righe .dx { text-align: right; }
.pill { font-size: 11px; font-weight: 600; padding: 2px 7px; border-radius: 6px; background: var(--superficie); border: 1px solid var(--bordo); color: var(--testo-2); }
.testo-card { font-size: 14px; line-height: 20px; white-space: pre-wrap; overflow-wrap: anywhere; }

/* ---------------- foglio dal basso (pannello e formazioni) ---------------- */
.velo { position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 20; display: flex; align-items: flex-end; justify-content: center; }
.foglio { width: 100%; max-width: 520px; max-height: 88dvh; background: var(--fondo); border: 1px solid var(--bordo-forte); border-bottom: 0; border-radius: 20px 20px 0 0; display: flex; flex-direction: column; }
.foglio-testa { display: flex; align-items: center; gap: 10px; padding: 14px 16px 10px; }
.foglio-testa h2 { flex-grow: 1; }
.foglio-corpo { overflow-y: auto; padding: 0 16px 16px; display: flex; flex-direction: column; gap: 10px; }
.foglio-corpo > * { flex-shrink: 0; }
.foglio-piede { border-top: 1px solid var(--bordo); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 10px; }
.foglio-piede .cosa { flex-grow: 1; font-size: 13px; color: var(--testo-2); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.foglio-piede .cosa strong { color: var(--testo); }

.schede { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.schede::-webkit-scrollbar { display: none; }
.scheda { height: 34px; padding: 0 14px; border-radius: 17px; border: 1px solid var(--bordo-forte); background: transparent; font-size: 13px; font-weight: 600; color: var(--testo-2); cursor: pointer; white-space: nowrap; flex-shrink: 0; }
.scheda[aria-pressed="true"] { background: var(--testo); border-color: var(--testo); color: #0B0D10; }
.segmento { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 14px; background: var(--superficie); border: 1px solid var(--bordo); }
.segmento button { height: 36px; border-radius: 10px; border: 0; background: transparent; font-weight: 600; font-size: 13px; color: var(--testo-2); cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.segmento button[aria-pressed="true"] { background: var(--superficie-alta); color: var(--testo); }
.giocatori { display: flex; flex-direction: column; gap: 4px; }
.gioc { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; border: 1px solid transparent; background: transparent; text-align: left; cursor: pointer; font-size: 14px; color: var(--testo); width: 100%; }
.gioc:hover { background: var(--superficie); }
.gioc[aria-pressed="true"] { background: var(--superficie); border-color: var(--voce); }
.gioc .n { width: 24px; font-family: var(--titoli); font-weight: 600; color: var(--testo-3); text-align: right; }
.gioc .nm { flex-grow: 1; min-width: 0; }
.gioc .v { font-family: var(--titoli); font-weight: 700; font-size: 13px; color: var(--testo-2); }
.tessere { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
.tessera { padding: 12px; border-radius: 14px; border: 1px solid var(--bordo-forte); background: var(--superficie); text-align: left; cursor: pointer; display: flex; flex-direction: column; gap: 4px; min-height: 72px; color: var(--testo); }
.tessera:hover { border-color: var(--bordo-controllo); }
.tessera .t1 { font-weight: 600; font-size: 14px; }
.tessera .t2 { font-size: 12px; color: var(--testo-2); }
.tessera[disabled] { opacity: .45; cursor: default; }
.suggerite { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.suggerite::-webkit-scrollbar { display: none; }
.sugg { height: 34px; padding: 0 12px; border-radius: 17px; border: 1px solid rgba(200,255,62,.35); background: var(--voce-tenue); color: var(--voce); font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; flex-shrink: 0; }
.anteprima-tit { font-size: 12px; font-weight: 600; letter-spacing: .06em; color: var(--testo-3); text-transform: uppercase; margin-top: 6px; }
.caricamento { padding: 20px; text-align: center; color: var(--testo-2); font-size: 14px; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* formazioni schierate */
.campo-testa { display: flex; justify-content: space-between; align-items: baseline; font-size: 12px; font-weight: 600; }
.campo-testa .num { font-size: 13px; color: var(--testo-2); }
.campo-calcio { position: relative; width: 100%; aspect-ratio: 68 / 100; border-radius: 10px; overflow: hidden; background: #12161B; border: 1px solid var(--bordo); }
.campo-calcio .linee { position: absolute; inset: 0; width: 100%; height: 100%; }
.gioc-campo { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 2px; width: 64px; }
.gioc-campo .pal { width: 22px; height: 22px; border-radius: 11px; display: flex; align-items: center; justify-content: center; font-family: var(--titoli); font-weight: 700; font-size: 10px; color: var(--fondo); }
.gioc-campo.casa .pal { background: var(--testo); }
.gioc-campo.ospiti .pal { background: var(--voce); }
.gioc-campo .cn { font-size: 10px; line-height: 12px; color: var(--testo); max-width: 64px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-shadow: 0 1px 2px #000; }
.card .campo-calcio { max-width: 340px; align-self: center; }
.campo-mini { position: relative; width: 100%; aspect-ratio: 100 / 62; border-radius: 10px; overflow: hidden; background: #12161B; border: 1px solid var(--bordo); }
.campo-mini .linee { position: absolute; inset: 0; width: 100%; height: 100%; }
.pal-mini { position: absolute; transform: translate(-50%, -50%); width: 20px; height: 20px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-family: var(--titoli); font-weight: 700; font-size: 10px; color: var(--fondo); }
.pal-mini.casa { background: var(--testo); }
.pal-mini.ospiti { background: var(--voce); }

/* Su computer (mouse) le righe di pillole vanno a capo invece di scorrere:
   con la rotellina non si può scorrere in orizzontale */
@media (hover: hover) and (pointer: fine) {
  .schede, .suggerite { flex-wrap: wrap; overflow-x: visible; }
}

/* ---------- colonna «Risultati» della stanza ---------- */
/* telefono: striscia che scorre di lato sopra la chat */
.risultati { max-width: 520px; width: 100%; margin: 8px auto 0; flex-shrink: 0; }
.ris-testa { display: flex; align-items: baseline; justify-content: space-between; padding: 0 16px 5px; font-family: var(--titoli); font-weight: 600; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--testo-2); }
.ris-giornata { font-size: 11px; color: var(--testo-3); letter-spacing: .04em; }
.ris-lista { display: flex; gap: 6px; overflow-x: auto; padding: 0 16px 6px; scroll-snap-type: x proximity; scrollbar-width: none; }
.ris-lista::-webkit-scrollbar { display: none; }
.ris-partita { flex: 0 0 158px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 3px; padding: 7px 9px; border-radius: 12px; background: var(--superficie); border: 1px solid var(--bordo); }
.ris-partita[data-link] { cursor: pointer; }
.ris-partita[data-link]:hover { border-color: var(--bordo-forte); }
.ris-partita.qui { border-color: var(--voce); }
.ris-righe { display: flex; flex-direction: column; gap: 3px; }
.ris-sq { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; }
.ris-sq.perde { color: var(--testo-3); }
.ris-sq .nome { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ris-sq .gol { font-family: var(--titoli); font-weight: 700; font-size: 14px; min-width: 12px; text-align: right; }
.stemma.mini { width: 16px; height: 16px; border-radius: 8px; font-size: 8px; border: 0; background: transparent; }
.ris-tempo { font-family: var(--titoli); font-weight: 600; font-size: 11px; color: var(--testo-3); }
.ris-piede { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.ris-conta { font-size: 11px; font-weight: 600; color: var(--testo-2); white-space: nowrap; }
.ris-conta::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: 4px; border-radius: 3px; background: var(--testo-3); vertical-align: 1px; }
.ris-conta.onda::before { background: var(--diretta); animation: pulsa 1.6s ease-in-out infinite; }
.ris-tempo.vivo { color: var(--diretta); }
.ris-tempo.vivo::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: 5px; border-radius: 3px; background: var(--diretta); vertical-align: 1px; animation: pulsa 1.6s ease-in-out infinite; }
.ris-stanze { display: none; flex-wrap: wrap; gap: 4px; }
.ris-stanze.vuote { font-size: 11px; color: var(--testo-3); }
.ris-stanza { display: inline-flex; align-items: center; gap: 5px; max-width: 100%; padding: 2px 8px; border-radius: 999px; background: var(--superficie-alta); border: 1px solid var(--bordo); color: var(--testo); text-decoration: none; font-size: 11px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ris-stanza:hover { color: var(--testo); border-color: var(--bordo-forte); }
.ris-stanza .pt { width: 6px; height: 6px; border-radius: 3px; background: var(--testo-3); flex-shrink: 0; }
.ris-stanza.onda .pt { background: var(--diretta); animation: pulsa 1.6s ease-in-out infinite; }
.ris-stanza.qui { border-color: var(--voce); color: var(--voce); }
.ris-altre { font-size: 11px; color: var(--testo-3); align-self: center; }

/* computer: colonna fissa a destra, la stanza resta al centro com'è */
@media (min-width: 1180px) {
  .risultati { position: fixed; top: 72px; right: 24px; bottom: 24px; width: 300px; margin: 0; max-width: none; display: flex; flex-direction: column; background: var(--superficie); border: 1px solid var(--bordo); border-radius: 16px; overflow: hidden; }
  .risultati.nascosto { display: none !important; }
  .ris-testa { padding: 14px 16px 10px; border-bottom: 1px solid var(--bordo); }
  .ris-lista { flex-direction: column; overflow-x: visible; overflow-y: auto; padding: 10px; gap: 8px; scroll-snap-type: none; }
  .ris-partita { flex: none; background: var(--fondo); padding: 10px 12px; gap: 6px; }
  .ris-sq { font-size: 13.5px; }
  .ris-sq .gol { font-size: 15px; }
  .stemma.mini { width: 18px; height: 18px; }
  .ris-stanze { display: flex; }
  .ris-conta { display: none; }
}

/* formazioni in due colonne (quando manca il modulo) */
.fz-due { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fz-col { min-width: 0; }
.fz-testa { display: flex; align-items: baseline; gap: 6px; padding-bottom: 6px; border-bottom: 1px solid var(--bordo); }
.fz-sq { font-family: var(--titoli); font-weight: 700; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fz-mod { font-family: var(--titoli); font-weight: 600; font-size: 13px; color: var(--voce); }
.fz-sez { margin: 12px 0 4px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--testo-3); }
.fz-riga { display: flex; align-items: center; gap: 6px; padding: 3px 0; font-size: 13px; }
.fz-num { width: 20px; flex-shrink: 0; font-family: var(--titoli); font-weight: 700; font-size: 12px; color: var(--testo-3); }
.fz-nome { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fz-ruolo { flex-shrink: 0; width: 18px; height: 18px; border-radius: 5px; display: grid; place-items: center; font-family: var(--titoli); font-weight: 700; font-size: 10px; color: var(--testo-2); background: var(--superficie-alta); }
.fz-voto { flex-shrink: 0; font-family: var(--titoli); font-weight: 700; font-size: 12px; }

/* ora di arrivo delle card (solo podcaster) e gol in attesa del marcatore */
.con-arrivo { position: relative; }
.con-arrivo .arrivo { position: absolute; top: -6px; right: 12px; padding: 0 5px; border-radius: 4px; background: var(--fondo); font-family: var(--titoli); font-size: 9.5px; font-weight: 600; letter-spacing: .02em; color: var(--testo-3); line-height: 12px; pointer-events: none; }
.attesa { color: var(--testo-3); font-weight: 500; font-style: italic; }

/* ---------- area podcaster: profilo e sponsor ---------- */
.foto-riga { display: flex; align-items: center; gap: 14px; }
.foto-anteprima { width: 72px; height: 72px; border-radius: 50%; flex-shrink: 0; overflow: hidden; display: grid; place-items: center; background: var(--superficie-alta); border: 2px solid var(--voce); font-family: var(--titoli); font-weight: 700; font-size: 28px; color: var(--voce); }
.foto-anteprima img, .logo-anteprima img { width: 100%; height: 100%; object-fit: cover; }
.logo-anteprima { width: 96px; height: 56px; border-radius: 10px; flex-shrink: 0; overflow: hidden; display: grid; place-items: center; background: #fff; border: 1px solid var(--bordo); font-size: 12px; color: #6B7280; }
.logo-anteprima img { object-fit: contain; padding: 6px; }
.foto-azioni { display: flex; flex-wrap: wrap; gap: 8px; }
.foto-azioni label.btn { cursor: pointer; }
.conta { float: right; color: var(--testo-3); font-size: 12px; }
.social-griglia { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
.stato-sponsor { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--bordo); background: var(--superficie); font-size: 13px; color: var(--testo-2); }
.stato-sponsor strong { font-size: 14px; color: var(--testo); }
.stato-sponsor.attesa strong { color: var(--giallo); }
.stato-sponsor.ok { border-color: rgba(200, 255, 62, .5); }
.stato-sponsor.ok strong { color: var(--voce); }
.stato-sponsor.no strong { color: #FF8A95; }

/* ---------- colonna sinistra della stanza: podcaster e sponsor ---------- */
.avatar { overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.info-btn { font-family: var(--titoli); font-weight: 700; font-size: 16px; font-style: italic; }
.colonna-sx { display: none; }
.lato-box { display: flex; flex-direction: column; padding: 16px; border-radius: 16px; background: var(--superficie); border: 1px solid var(--bordo); }
.lato-pod { align-items: center; text-align: center; gap: 2px; }
.lato-foto { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; margin-bottom: 10px; background: var(--superficie-alta); border: 2px solid var(--voce); font-family: var(--titoli); font-weight: 700; font-size: 36px; color: var(--voce); }
.lato-foto img { width: 100%; height: 100%; object-fit: cover; }
.lato-nome { font-family: var(--titoli); font-weight: 700; font-size: 18px; }
.lato-ruolo { font-size: 12px; color: var(--testo-3); letter-spacing: .04em; }
.lato-bio { margin: 10px 0 0; font-size: 13.5px; line-height: 1.45; color: var(--testo-2); }
.lato-socials { display: flex; flex-direction: column; gap: 6px; width: 100%; margin-top: 14px; }
.lato-social { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 12px; border-radius: 10px; background: var(--fondo); border: 1px solid var(--bordo); color: var(--testo); text-decoration: none; font-size: 13px; }
.lato-social:hover { border-color: var(--bordo-forte); color: var(--testo); }
.lato-social .rete { font-weight: 600; }
.lato-social .nick { color: var(--testo-2); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lato-etichetta { font-family: var(--titoli); font-weight: 600; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--testo-3); }
.lato-sp-pod { width: 100%; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--bordo); display: flex; flex-direction: column; gap: 8px; text-align: left; }
.lato-sp-riga { display: flex; align-items: center; gap: 10px; color: var(--testo); text-decoration: none; }
.lato-logo, .lato-sk-img { flex-shrink: 0; display: grid; place-items: center; overflow: hidden; background: #fff; border-radius: 10px; }
.lato-logo { width: 72px; height: 44px; }
.lato-logo img, .lato-sk-img img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.lato-sp-nome { font-weight: 600; font-size: 14px; }
.lato-sk { gap: 10px; margin-top: 12px; }
.lato-sk-in { display: flex; flex-direction: column; gap: 6px; color: var(--testo); text-decoration: none; }
.lato-sk-img { width: 100%; height: 120px; }
.lato-sk-nome { font-family: var(--titoli); font-weight: 700; font-size: 15px; }
.lato-sk-testo { font-size: 13px; color: var(--testo-2); }
.lato-sk.libero { border-style: dashed; border-color: var(--bordo-forte); background: transparent; align-items: flex-start; }
.lato-libero-tit { font-family: var(--titoli); font-weight: 700; font-size: 17px; }
.lato-libero-testo { margin: 0; font-size: 13px; color: var(--testo-2); }
.lato-foglio .lato-box { background: var(--fondo); }

@media (min-width: 1180px) {
  .colonna-sx { display: block; position: fixed; top: 72px; left: 24px; width: 280px; max-height: calc(100dvh - 96px); overflow-y: auto; }
  .colonna-sx.nascosto { display: none !important; }
  .info-btn { display: none !important; }
}

/* barra della stanza: risultato e minuto sempre su una riga, i nomi si accorciano */
.striscia { flex: 1 1 auto; gap: 8px; }
.striscia .ris, .striscia .min, .striscia .chip { white-space: nowrap; flex-shrink: 0; }
.striscia .nomi { flex: 0 1 auto; min-width: 2.5em; }
.barra-in .info-btn { flex-shrink: 0; width: 36px; height: 36px; }

/* ---------- audio della stanza ---------- */
.audio { max-width: 520px; width: 100%; margin: 0 auto; padding: 10px 16px; border-bottom: 1px solid var(--bordo); }
.audio-riga { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.audio-stato { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--testo-2); flex: 1; min-width: 0; }
.audio-stato.vivo { color: var(--voce); }
.audio-stato i { width: 8px; height: 8px; border-radius: 50%; background: var(--voce); flex-shrink: 0; animation: pulsa 1.6s ease-in-out infinite; }
.audio-livello { width: 60px; height: 6px; border-radius: 3px; background: var(--superficie-alta); overflow: hidden; }
.audio-livello i { display: block; height: 100%; width: 0; background: var(--voce); transition: width .08s linear; }
.audio-nota { margin-top: 6px; font-size: 12px; color: var(--testo-3); }
.audio-nota.err { color: #FF8A95; }
.btn-ascolta { width: 100%; height: 48px; font-size: 15px; }
.audio .onde { display: inline-flex; align-items: center; gap: 3px; height: 18px; }
.audio .onde i { width: 3px; height: 6px; border-radius: 2px; background: var(--voce); opacity: .5; }
.audio.parla .onde i { opacity: 1; animation: onda .9s ease-in-out infinite; }
.audio.parla .onde i:nth-child(2) { animation-delay: -.3s; }
.audio.parla .onde i:nth-child(3) { animation-delay: -.6s; }
.audio.parla .onde i:nth-child(4) { animation-delay: -.15s; }
@keyframes onda { 0%, 100% { height: 5px; } 50% { height: 16px; } }
.avatar.parla { border-color: var(--voce); box-shadow: 0 0 0 4px rgba(200,255,62,.35); transition: box-shadow .12s; }

/* ---------- video del podcaster ---------- */
.video { max-width: 520px; width: 100%; margin: 0 auto; padding: 10px 16px 0; }
.video-quadro { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; border: 1px solid var(--bordo); transition: height .35s ease, aspect-ratio .35s ease; }
.video-quadro video { position: absolute; inset: 0; width: 100%; height: 100%; }
.video-vero { object-fit: contain; }
/* dietro: lo stesso video sfocato, così un video verticale non lascia bande nere */
.video-sfondo { object-fit: cover; filter: blur(26px) brightness(.55) saturate(1.1); transform: scale(1.15); }
.video[data-forma="verticale"] .video-quadro { aspect-ratio: auto; height: min(40dvh, 520px); }
/* computer: il video non deve mangiarsi la chat sugli schermi bassi */
@media (min-width: 1180px) {
  .video[data-forma="verticale"] .video-quadro { height: min(42dvh, 520px); }
  .video:not([data-forma="verticale"]) .video-quadro { max-height: 38dvh; }
}
/* il podcaster vede sé stesso in piccolo: gli serve solo per controllare l'inquadratura */
.video.proprio .video-quadro { border-color: rgba(200,255,62,.45); width: 210px; }
.video.proprio[data-forma="verticale"] .video-quadro { width: 120px; height: auto; aspect-ratio: 9 / 16; }
.video.proprio .video-etichetta { font-size: 10.5px; left: 6px; top: 6px; padding: 3px 8px; }
.video.proprio .video-tasti { right: 4px; top: 4px; }
.video.proprio .video-tasto { width: 30px; height: 30px; }
.video-quadro.specchio video { transform: scaleX(-1); }
.video-quadro.specchio .video-sfondo { transform: scaleX(-1) scale(1.15); }
.video-velo { position: absolute; inset: 0; display: grid; place-items: center; padding: 16px; text-align: center; font-family: var(--titoli); font-weight: 600; font-size: 15px; color: var(--testo-2); background: rgba(11,13,16,.82); }
.video-etichetta { position: absolute; left: 10px; top: 10px; padding: 4px 10px; border-radius: 999px; background: rgba(11,13,16,.7); font-size: 11.5px; font-weight: 700; letter-spacing: .02em; color: var(--voce); }
.video-tasti { position: absolute; right: 8px; top: 8px; display: flex; gap: 6px; }
.video-tasto { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); background: rgba(11,13,16,.62); color: #fff; display: grid; place-items: center; cursor: pointer; }
.video-tasto:hover { background: rgba(11,13,16,.85); }
.video-quadro:fullscreen { border-radius: 0; border: 0; height: 100%; aspect-ratio: auto; }
.btn-guarda { margin-top: 8px; height: 42px; }
.btn.attivo { border-color: var(--voce); color: var(--voce); }

/* ---------- co-podcaster ---------- */
.co-gruppo { display: inline-flex; margin-left: -18px; align-self: flex-end; }
.co-gruppo:empty { display: none; }
.co-avatar { width: 30px; height: 30px; border-radius: 50%; overflow: hidden; display: inline-grid; place-items: center; flex-shrink: 0; margin-left: -8px; background: var(--superficie-alta); border: 2px solid var(--fondo); outline: 2px solid var(--bordo-forte); font-family: var(--titoli); font-weight: 700; font-size: 12px; color: var(--testo); transition: outline-color .12s, box-shadow .12s; }
.co-avatar:first-child { margin-left: 0; }
.co-avatar img { width: 100%; height: 100%; object-fit: cover; }
.co-avatar.parla { outline-color: var(--voce); box-shadow: 0 0 0 4px rgba(200,255,62,.35); }
.co-nomi { font-family: var(--corpo); font-weight: 500; font-size: 13px; color: var(--testo-2); }
.co-con { font-weight: 500; color: var(--testo-2); }
.co-riga { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--bordo); }
.co-riga .co-avatar { margin-left: 0; outline: none; width: 34px; height: 34px; }
.co-nome { flex: 1; font-weight: 600; }
.audio-invito { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 12px; margin-bottom: 8px; border-radius: 12px; border: 1px solid rgba(200,255,62,.5); background: var(--voce-tenue); font-size: 13px; }
.audio-invito span { flex: 1; min-width: 180px; }
.audio-invito { flex-direction: column; align-items: stretch; }
.audio-invito-riga { display: flex; gap: 8px; }
.audio-invito-riga .campo { height: 40px; flex: 1; min-width: 0; }


/* ---------- fasi della partita ---------- */
/* pagina partita: barra delle tre fasi */
.fasi-barra { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 6px; margin: 6px 0 4px; }
.fb { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.fb i { display: block; height: 5px; border-radius: 3px; background: var(--superficie-alta); }
.fb.fatta i { background: var(--bordo-forte); }
.fb.ora i { background: var(--voce); }
.fb-nome { font-size: 12px; font-weight: 600; color: var(--testo-2); margin-top: 4px; }
.fb.ora .fb-nome { color: var(--testo); }
.fb-ora { font-size: 11.5px; color: var(--testo-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fb.ora .fb-ora { color: var(--voce); }
.fb:nth-child(2) { text-align: center; }
.fb:nth-child(3) { text-align: right; }
.fase-sez.passata { opacity: .6; }
.fase-sez .sez-dett { color: var(--testo-3); font-weight: 500; letter-spacing: .02em; text-transform: none; }
.fase-sez.ora .sez-dett { color: var(--voce); }
.stanza-card .tifo { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--testo-3); }
.stanza-card.in-onda { border-color: rgba(200,255,62,.45); }
.stanza-card .avatar.vuoto { border: 1.5px dashed var(--bordo-forte); background: transparent; }

/* stanza: riga della fase */
.fase-riga { max-width: 520px; width: 100%; margin: 0 auto; padding: 8px 16px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--bordo); font-size: 12.5px; color: var(--testo-2); }
.fr-pt { width: 8px; height: 8px; border-radius: 50%; background: var(--bordo-forte); flex-shrink: 0; }
.fr-pt.vivo { background: var(--voce); animation: pulsa 1.6s ease-in-out infinite; }
.fr-testo { font-weight: 600; color: var(--testo); white-space: nowrap; flex-shrink: 0; }
.fr-qui { margin-left: auto; color: var(--testo-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.fr-vai { margin-left: auto; color: var(--voce); font-weight: 600; text-decoration: none; white-space: nowrap; }
.fase-sep { display: flex; align-items: center; gap: 10px; margin: 6px 0; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--voce); }
.fase-sep::before, .fase-sep::after { content: ''; flex: 1; height: 1px; background: rgba(200,255,62,.3); }

/* stanza: pausa e spot */
.pausa { max-width: 520px; width: 100%; margin: 0 auto; padding: 10px 16px 0; }
.pausa-card { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 16px; background: var(--superficie); border: 1px solid var(--bordo-forte); }
.pausa-card.intervallo { border-color: rgba(200,255,62,.55); }
.pausa-testa { display: flex; justify-content: space-between; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--testo-3); }
.pausa-testa .verde { color: var(--voce); }
.pausa-conto { font-family: var(--titoli); font-weight: 700; font-size: 40px; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.pausa-sp { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; background: var(--fondo); border: 1px solid var(--bordo); color: var(--testo); text-decoration: none; }
a.pausa-sp:hover { border-color: var(--bordo-forte); color: var(--testo); }
.pausa-logo { width: 52px; height: 52px; border-radius: 10px; background: #fff; flex-shrink: 0; display: grid; place-items: center; overflow: hidden; color: #0B0D10; font-family: var(--titoli); font-weight: 700; font-size: 20px; }
.pausa-logo img { width: 100%; height: 100%; object-fit: contain; }
.pausa-logo svg { width: 34px; height: 34px; }
.pausa-logo:has(svg) { background: var(--superficie-alta); }
.pausa-sp-testi { display: flex; flex-direction: column; min-width: 0; }
.pausa-sp-et { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--testo-3); }
.pausa-sp-nome { font-weight: 700; font-size: 15px; }
.pausa-sp-testo { font-size: 12.5px; color: var(--testo-2); }
.pausa-barra { height: 4px; border-radius: 2px; background: var(--superficie-alta); overflow: hidden; }
.pausa-barra i { display: block; height: 100%; background: var(--voce); transition: width 1s linear; }
.pausa-nota { margin: 0; font-size: 12px; color: var(--testo-3); }

/* area podcaster: scelta delle fasi e spot audio */
.fasi-scelta { display: flex; flex-direction: column; gap: 6px; }
.fase-scelta { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--superficie); border: 1px solid var(--bordo); cursor: pointer; }
.fase-scelta input { width: 20px; height: 20px; accent-color: var(--voce); flex-shrink: 0; }
.fase-scelta.presa { opacity: .55; cursor: not-allowed; }
.fs-testi { display: flex; flex-direction: column; min-width: 0; }
.fs-nome { font-weight: 600; font-size: 14px; }
.fs-ora { font-size: 12px; color: var(--testo-3); }
.spot-riga { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.spot-ascolta { flex: 1; min-width: 200px; }
.spot-ascolta audio { width: 100%; height: 36px; }


/* ---------- alza la mano ---------- */
.card-domanda { border-color: rgba(200,255,62,.5); background: var(--superficie); }
.dom-tit { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--voce); }
.dom-testo { font-family: var(--titoli); font-weight: 600; font-size: 17px; line-height: 1.3; }
.dom-piede { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding-top: 2px; }
.dom-stato { font-size: 12.5px; color: var(--testo-3); font-weight: 600; }
.dom-stato.verde { color: var(--voce); }
.mani-barra { max-width: 520px; width: 100%; margin: 0 auto; padding: 8px 16px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--bordo); background: var(--voce-tenue); font-size: 13px; }
.mani-ic { font-size: 16px; }
.mani-t { flex: 1; min-width: 0; font-weight: 600; }
.mani-t.err { color: #FF8A95; }
.mani-lista { margin-top: 10px; display: flex; flex-direction: column; }
.co-avatar.ospite { border-style: dashed; }


/* ---------- match center ---------- */
.marchio .logo-linee { width: 26px; height: 26px; }
.marchio span { letter-spacing: .05em; }
.marchio .k { color: var(--voce); }
.mc-titolo { margin: 18px 0 12px; }
.mc-gironi { grid-template-columns: repeat(3, 1fr); }
.mc-giornata { display: flex; align-items: center; gap: 10px; margin: 14px 0 0; }
.mc-giornata .icona-btn[disabled] { opacity: .3; cursor: default; }
.mc-giornata .gira svg { transform: rotate(180deg); }
.gg-testi { flex: 1; display: flex; flex-direction: column; align-items: center; }
.gg-nome { font-family: var(--titoli); font-weight: 700; font-size: 17px; }
.gg-date { font-size: 12px; color: var(--testo-3); }
.mc-riga { grid-template-columns: 54px minmax(0,1fr); }
.mc-riga.con-voce { border-color: rgba(200,255,62,.35); }
.mc-sq { display: flex; align-items: center; gap: 8px; min-width: 0; }
.mc-sq .mc-nome { font-weight: 600; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; flex: 0 1 auto; }
.mc-sq .gol { margin-left: auto; font-family: var(--titoli); font-weight: 700; font-size: 16px; font-variant-numeric: tabular-nums; }
.mc-sq.perde .mc-nome, .mc-sq.perde .gol { color: var(--testo-3); }
.mc-voce { display: inline-flex; align-items: center; gap: 5px; max-width: 120px; padding: 2px 8px; border-radius: 999px; background: var(--superficie-alta); border: 1px solid var(--bordo); font-size: 11.5px; font-weight: 600; color: var(--testo-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex-shrink: 1; min-width: 0; }
.mc-voce i { width: 6px; height: 6px; border-radius: 3px; background: var(--testo-3); flex-shrink: 0; }
.mc-voce.onda { color: var(--voce); border-color: rgba(200,255,62,.4); background: var(--voce-tenue); }
.mc-voce.onda i { background: var(--diretta); animation: pulsa 1.6s ease-in-out infinite; }
.dirette { margin-top: 6px; }
.dir-lista { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; scrollbar-width: none; }
.dir-lista::-webkit-scrollbar { display: none; }
.dir-card { flex: 0 0 78%; max-width: 300px; scroll-snap-align: start; display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 16px; background: var(--superficie); border: 1px solid rgba(200,255,62,.45); color: var(--testo); text-decoration: none; }
.dir-card:hover { color: var(--testo); border-color: var(--voce); }
.dir-card .avatar { width: 44px; height: 44px; }
.dir-card .avatar img { width: 100%; height: 100%; object-fit: cover; }
.dir-testi { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.dir-nome { font-weight: 700; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dir-tifo { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--voce); }
.dir-partita { font-size: 12.5px; color: var(--testo-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* pagina partita: il podcaster prenota un posto libero */
button.stanza-card.prenota { width: 100%; font: inherit; text-align: left; cursor: pointer; border-color: rgba(200,255,62,.4); }
button.stanza-card.prenota:hover { border-color: var(--voce); }

/* area podcaster: stanze passate, chiuse in un riquadro che si apre */
.passate summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 8px; }
.passate summary::-webkit-details-marker { display: none; }
.passate summary::after { content: '▾'; font-size: 13px; transition: transform .2s; }
.passate:not([open]) summary::after { transform: rotate(-90deg); }


/* ---------- computer: pagine larghe ---------- */
.dirette.vuota { display: none; }
.dir-vuoto { font-size: 13px; color: var(--testo-3); padding: 14px; border-radius: 14px; border: 1px dashed var(--bordo-forte); }
.mc-destra { margin-top: 26px; display: flex; flex-direction: column; gap: 12px; }
.mcd-box { padding: 14px; border-radius: 16px; background: var(--superficie); border: 1px solid var(--bordo); display: flex; flex-direction: column; gap: 10px; }
.mcd-box .sez { margin: 0; }
.mcd-sp { display: flex; flex-direction: column; gap: 6px; color: var(--testo); text-decoration: none; }
.mcd-sp.libero { align-items: flex-start; }
.mcd-img img { width: 100%; max-height: 140px; object-fit: contain; border-radius: 10px; background: #fff; }
.mcd-nome { font-family: var(--titoli); font-weight: 700; font-size: 16px; }
.mcd-testo { font-size: 13px; color: var(--testo-2); margin: 0; }
.mcd-pod { border-color: rgba(200,255,62,.45); align-items: flex-start; }
.mcd-pod-tit { font-family: var(--titoli); font-weight: 700; font-size: 17px; }

@media (min-width: 1080px) {
  .largo .barra-in { max-width: 1240px; }
  .largo .pagina { max-width: 1240px; padding: 0 24px 40px; }

  /* match center: dirette | partite | sponsor */
  .mc-pagina { display: grid; grid-template-columns: 270px minmax(0,1fr) 270px; gap: 28px; align-items: start; }
  .mc-pagina .dirette, .mc-pagina .dirette.vuota { display: block; position: sticky; top: 72px; margin-top: 26px; }
  .mc-pagina .dirette .sez { margin-top: 0; }
  .mc-pagina .dir-lista { flex-direction: column; overflow: visible; gap: 8px; }
  .mc-pagina .dir-card { flex: none; max-width: none; }
  .mc-pagina .mc-destra { position: sticky; top: 72px; }
  .mc-pagina .mc-voce { max-width: 200px; }
  .pt-pagina .fase-sez .lista { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }

  /* pagina partita: stanze | cronaca */
  .pt-pagina { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); gap: 36px; align-items: start; }
  .pt-dx { position: sticky; top: 72px; max-height: calc(100dvh - 90px); overflow-y: auto; padding-right: 4px; }
  .pt-dx .sez { margin-top: 26px; }

  /* area podcaster: stanze e replay | profilo e sponsor */
  .area-pagina:not(.nascosto) { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 40px; align-items: start; }
  .area-dx { padding-top: 34px; }
  .area-dx > .sez:first-child { margin-top: 0; }
}
@media (min-width: 1080px) and (max-width: 1279px) {
  .mc-pagina { grid-template-columns: 240px minmax(0,1fr) 240px; gap: 20px; }
}


/* ---------- esplora i dati ---------- */
.es-scelta { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr) auto; gap: 10px; align-items: end; }
.es-sez { margin-top: 26px; }
.es-sez h2 { font-family: var(--titoli); font-size: 18px; margin: 0 0 4px; }
.es-riepilogo { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 20px; padding: 12px 14px; border-radius: 14px; background: var(--superficie); border: 1px solid var(--bordo); }
.es-riepilogo div { display: flex; flex-direction: column; }
.es-partite { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.es-partite .chip { text-transform: none; letter-spacing: 0; font-weight: 600; }
.es-partite .chip.es-no { opacity: .5; }
.es-tab { border: 1px solid var(--bordo); border-radius: 14px; overflow: hidden; }
.es-riga { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,1fr) minmax(0,1.4fr); gap: 10px; align-items: center; padding: 8px 12px; border-top: 1px solid var(--bordo); font-size: 13.5px; }
.es-tab .es-riga:has(> span:nth-child(4)) { grid-template-columns: minmax(0,1.3fr) minmax(0,1fr) 70px minmax(0,1.4fr); }
.es-tab .es-riga:has(> span:nth-child(2):last-child) { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
.es-riga:first-child { border-top: 0; }
.es-testa { background: var(--superficie); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--testo-3); }
.es-riga > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.es-riga > span:first-child { display: flex; flex-direction: column; }
.es-cod { font-size: 11px; color: var(--testo-3); font-family: ui-monospace, monospace; }
.es-barra { display: inline-block; width: 70px; height: 6px; border-radius: 3px; background: var(--superficie-alta); overflow: hidden; vertical-align: middle; margin-right: 8px; }
.es-barra i { display: block; height: 100%; }
.es-barra.alta i { background: var(--voce); } .es-barra.media i { background: var(--giallo); } .es-barra.bassa i { background: var(--diretta); }
.es-pc { font-variant-numeric: tabular-nums; font-weight: 600; }
.es-esito { font-weight: 700; font-size: 12.5px; }
.es-esito.ok { color: var(--voce); } .es-esito.attesa { color: var(--giallo); } .es-esito.no { color: var(--testo-3); }
@media (max-width: 640px) {
  .es-scelta { grid-template-columns: 1fr 1fr; }
  .es-scelta .btn { grid-column: 1 / 3; }
  .es-tab .es-riga, .es-tab .es-riga:has(> span:nth-child(4)) { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .es-tab .es-riga > span:nth-child(n+3) { grid-column: 1 / 3; }
}
@media (min-width: 1080px) { .es-pagina { max-width: 1000px; } }

.card-notizia { align-self: flex-start; padding: 3px 9px; border-radius: 999px; background: var(--voce-tenue); border: 1px solid rgba(200,255,62,.4); color: var(--voce); font-size: 12px; font-weight: 700; }

/* card nuove */
.card-frase { font-family: var(--titoli); font-weight: 700; font-size: 15px; line-height: 1.3; color: var(--voce); }
.mig-riga { display: flex; align-items: center; gap: 10px; padding: 4px 0; border-top: 1px solid var(--bordo); }
.mig-riga:first-of-type { border-top: 0; }
.mig-pos { width: 18px; font-family: var(--titoli); font-weight: 700; color: var(--testo-3); }
.mig-testi { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.mig-nome { font-weight: 700; font-size: 14px; }
.mig-voto { font-size: 20px; }
.sp-blocchi { display: flex; gap: 6px; align-items: flex-end; height: 64px; }
.sp-blocco { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; height: 100%; }
.sp-barre { flex: 1; width: 100%; display: flex; align-items: flex-end; justify-content: center; gap: 2px; }
.sp-barre i, .sp-legenda i { display: block; width: 40%; max-width: 12px; border-radius: 2px 2px 0 0; min-height: 2px; }
.sp-barre i.c, .sp-legenda i.c { background: var(--testo); }
.sp-barre i.o, .sp-legenda i.o { background: var(--bordo-controllo); }
.sp-min { font-size: 10px; color: var(--testo-3); }
.sp-legenda { display: flex; gap: 14px; font-size: 11px; color: var(--testo-2); }
.sp-legenda span { display: inline-flex; align-items: center; gap: 5px; }
.sp-legenda i { width: 10px; height: 10px; border-radius: 2px; }
.st-ultime { display: flex; gap: 3px; margin: 6px 0; }
.st-q { width: 20px; height: 20px; border-radius: 5px; display: grid; place-items: center; font-size: 10.5px; font-weight: 700; color: #0B0D10; }
.st-q.V { background: var(--voce); } .st-q.N { background: var(--bordo-controllo); color: var(--testo); } .st-q.P { background: var(--diretta); color: #fff; }
.st-riga { font-size: 12.5px; font-weight: 600; padding: 2px 0; }

/* ---------------- card della partita in diretta ---------------- */
.cp-squadre { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.cp-squadre .nome { font-size: 13px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cp-squadre .dx { text-align: right; }
.cp-squadre .sub { flex-shrink: 0; }
.cp-barre { display: grid; grid-template-columns: 38px minmax(0,1fr) auto minmax(0,1fr) 38px; align-items: center; gap: 5px 6px; font-size: 11.5px; }
.cp-barre .num { font-size: 14px; color: var(--testo-2); }
.cp-barre .num.forte { color: var(--testo); }
.cp-barre .dx { text-align: right; }
.cp-k { text-align: center; color: var(--testo-2); white-space: nowrap; }
.cp-sx { transform: scaleX(-1); }
.cp-sx > span { background: var(--testo); }
.cp-dx > span { background: var(--bordo-controllo); }
.cp-sez { font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--testo-3); margin-top: 2px; }
.cp-chi { display: flex; flex-direction: column; padding: 3px 0; border-top: 1px solid var(--bordo); }
.cp-chi:first-of-type { border-top: 0; }
.cp-chi-nome { font-weight: 700; font-size: 13px; }
.cp-tempi { display: grid; grid-template-columns: minmax(0,1fr) auto auto; align-items: center; gap: 5px 14px; font-size: 12px; }
.cp-tempi .nome { font-size: 12px; text-align: right; max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cp-tempi .cp-k.sx { text-align: left; }
.cp-tempi .dx { text-align: right; }
.cp-t { display: inline-flex; align-items: baseline; gap: 5px; justify-content: flex-end; }
.cp-t .num { font-size: 14px; color: var(--testo-2); }
.cp-t .num.forte { color: var(--voce); }
.cp-freccia { color: var(--testo-3); font-size: 11px; }

/* ---------------- card dei giocatori ---------------- */
.cg-due { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items: center; gap: 8px; }
.cg-due .nome { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cg-due .dx { text-align: right; min-width: 0; }
.cg-due > div { min-width: 0; }
.cg-contro { text-align: center; }
.cg-colonne { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cg-col { display: flex; flex-direction: column; gap: 4px; }
.cg-col.dx { align-items: flex-end; text-align: right; }
.cg-voce { display: flex; align-items: baseline; gap: 6px; }
.cg-col.dx .cg-voce { flex-direction: row-reverse; }
.cg-voce .num { font-size: 16px; min-width: 22px; }
.cg-col.dx .cg-voce .num { text-align: right; }
.cg-forma { display: flex; flex-direction: column; }
.cg-f-riga { display: flex; align-items: center; gap: 8px; padding: 4px 0; border-top: 1px solid var(--bordo); font-size: 12.5px; }
.cg-f-riga:first-child { border-top: 0; }
.cg-f-avv { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cg-f-dati { display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; }
.cg-f-min { color: var(--testo-2); font-size: 11.5px; }
.cg-f-gol, .cg-f-ass { padding: 1px 6px; border-radius: 999px; font-size: 10.5px; font-weight: 700; }
.cg-f-gol { background: var(--voce); color: #0B0D10; }
.cg-f-ass { background: var(--voce-tenue); color: var(--voce); border: 1px solid rgba(200,255,62,.4); }
.cg-f-voto { font-size: 14px; min-width: 26px; text-align: right; }
.cg-f-no { color: var(--testo-3); font-size: 11.5px; }

/* ---------------- card delle classifiche ---------------- */
.cc-gioc { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; padding: 3px 0; border-top: 1px solid var(--bordo); font-size: 12.5px; }
.cc-gioc:first-of-type { border-top: 0; }
.cc-nome { flex: 1; min-width: 0; font-weight: 600; }
.cc-gialli, .cc-conta { min-width: 34px; justify-content: flex-end; display: inline-flex; align-items: center; gap: 4px; font-family: var(--titoli); font-weight: 700; font-size: 13px; flex-shrink: 0; }
.cc-conta { margin-left: auto; }
.cc-stato { font-size: 10.5px; font-weight: 700; padding: 1px 7px; border-radius: 999px; flex-shrink: 0; }
.cc-stato.cc-salta { background: var(--diretta); color: #fff; }
.cc-stato.cc-diff { background: var(--voce); color: #0B0D10; }
.cc-stato.cc-vicino { border: 1px solid var(--bordo-controllo); color: var(--testo-2); }
.cc-forma { display: inline-flex; gap: 2px; margin-right: 8px; flex-shrink: 0; }
.cc-forma .st-q { width: 15px; height: 15px; border-radius: 4px; font-size: 9px; }
.sugg[aria-pressed="true"] { background: var(--voce); color: #0B0D10; }

/* ---------------- card del pre-partita ---------------- */
.pp-riga { display: flex; align-items: center; gap: 8px; padding: 4px 0; border-top: 1px solid var(--bordo); font-size: 12.5px; }
.pp-riga:first-child { border-top: 0; }
.pp-data { color: var(--testo-3); font-size: 11px; flex-shrink: 0; width: 66px; }
.pp-match { flex: 1; min-width: 0; color: var(--testo-2); }
.pp-match .forte { color: var(--testo); font-weight: 700; }
.pp-match .num { color: var(--testo); font-size: 13px; }
.pp-marc { margin-left: 4px; }
.pp-corta { padding: 2px 0; }
.pp-corta .pp-match { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pp-corta .st-q { width: 17px; height: 17px; font-size: 9.5px; flex-shrink: 0; }
.pp-testa { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: 4px; }
.pp-bil { display: flex; gap: 3px; margin: 6px 0 2px; }

/* ---------------- riascolto ---------------- */
.ria-lettore { max-width: 520px; width: 100%; margin: 0 auto; padding: 10px 16px 12px; border-bottom: 1px solid var(--bordo); display: flex; flex-direction: column; gap: 10px; }
.ria-msg { font-size: 14px; color: var(--testo-2); padding: 6px 0; }
.ria-msg a { color: var(--voce); }
.ria-fasi { display: flex; gap: 6px; flex-wrap: wrap; }
.ria-comandi { display: flex; align-items: center; justify-content: center; gap: 14px; }
.ria-comandi .icona-btn { width: 44px; height: 44px; border-radius: 22px; font-family: var(--titoli); font-weight: 600; font-size: 13px; }
.ria-play { width: 56px; height: 56px; border-radius: 28px; border: 0; background: var(--voce); color: #0B0D10; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.ria-vel { min-width: 56px; }
.ria-barra { display: flex; align-items: center; gap: 10px; }
.ria-t { font-family: var(--titoli); font-weight: 600; font-size: 12px; color: var(--testo-2); font-variant-numeric: tabular-nums; min-width: 40px; }
.ria-t:last-child { text-align: right; }
.ria-cursore { flex: 1; accent-color: var(--voce); }
.ria-scarica { font-size: 13px; }
.ria-scarica summary { cursor: pointer; color: var(--testo-2); font-weight: 600; }
.ria-scarica[open] { display: flex; flex-direction: column; gap: 8px; }
.ria-scarica .btn { justify-content: flex-start; }
.chip.riascolta { background: var(--voce-tenue); border-color: rgba(200,255,62,.35); color: var(--voce); }

/* ---------------- banner dello sponsor del podcaster (3:1) ---------------- */
.lato-sp-banner { display: flex; flex-direction: column; gap: 8px; color: var(--testo); text-decoration: none; }
a.lato-sp-banner:hover .lato-banner { border-color: var(--voce); }
.lato-banner { display: block; width: 100%; aspect-ratio: 3 / 1; border-radius: 12px; overflow: hidden; background: #fff; border: 1px solid var(--bordo); }
.lato-banner img { width: 100%; height: 100%; object-fit: contain; display: block; }
.banner-anteprima { display: grid; place-items: center; width: 100%; max-width: 420px; aspect-ratio: 3 / 1; border-radius: 12px; overflow: hidden; background: var(--superficie); border: 1px dashed var(--bordo-forte); color: var(--testo-3); font-size: 13px; }
.banner-anteprima img { width: 100%; height: 100%; object-fit: contain; display: block; background: #fff; }
.pausa-sp.con-banner { flex-direction: column; align-items: stretch; gap: 10px; }
.pausa-banner { display: block; width: 100%; aspect-ratio: 3 / 1; border-radius: 10px; overflow: hidden; background: #fff; }
.pausa-banner img { width: 100%; height: 100%; object-fit: contain; display: block; }
/* finestra di ritaglio */
.rt-cornice { width: 100%; aspect-ratio: 3 / 1; border-radius: 12px; overflow: hidden; border: 2px solid var(--voce); background: repeating-conic-gradient(#20242B 0% 25%, #15181D 0% 50%) 50% / 16px 16px; touch-action: none; }
.rt-cornice canvas { width: 100%; height: 100%; display: block; cursor: grab; touch-action: none; }
.rt-cornice canvas:active { cursor: grabbing; }
.rt-zoom { width: 100%; accent-color: var(--voce); }
.rt-riga { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.rt-colore { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--bordo-forte); cursor: pointer; padding: 0; position: relative; overflow: hidden; }
.rt-colore[aria-pressed="true"] { border-color: var(--voce); box-shadow: 0 0 0 2px rgba(200,255,62,.3); }
.rt-altro { background: conic-gradient(#f44, #fd4, #4f4, #4df, #44f, #f4f, #f44); }
.rt-altro input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.rt-prova { margin-top: 4px; padding: 14px; border-radius: 14px; background: var(--fondo); border: 1px solid var(--bordo); max-width: 300px; }
.pausa-fatto { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--voce-tenue); border: 1px solid rgba(200,255,62,.35); color: var(--testo); font-weight: 600; font-size: 14px; }
.pausa-fatto-ok { width: 24px; height: 24px; border-radius: 12px; background: var(--voce); color: #0B0D10; display: grid; place-items: center; font-weight: 700; flex-shrink: 0; }

/* ---------- testata compatta della stanza ----------
   Tutto quello che sta sopra la chat vive nel «palco»: se non c'entra scorre lui,
   la chat tiene sempre almeno un terzo dello schermo (prima poteva sparire sotto lo sponsor). */
.stanza-pagina > .barra, .stanza-pagina > .scrivi { flex-shrink: 0; }
.palco { flex: 0 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; }
.palco::-webkit-scrollbar { display: none; }
.flusso-zona { position: relative; flex: 1 1 0; min-height: min(260px, 36dvh); display: flex; flex-direction: column; }
.flusso-zona > .flusso { flex: 1 1 0; min-height: 0; }
.palco .conduzione .titolo .asc { color: var(--testo); font-weight: 600; }

/* la propria telecamera: riquadrino sopra l'angolo della chat (come nelle videochiamate) */
.anteprima { position: absolute; z-index: 3; top: 10px; right: max(12px, calc((100% - 520px) / 2 + 12px)); width: 132px; }
.anteprima[data-forma="verticale"] { width: 78px; }
.anteprima .video-quadro { aspect-ratio: 16 / 9; border: 2px solid rgba(200,255,62,.7); border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,.55); }
.anteprima[data-forma="verticale"] .video-quadro { aspect-ratio: 9 / 16; height: auto; }
.anteprima .video-etichetta { display: none; }
.anteprima .video-velo { font-size: 11px; padding: 6px; }
.anteprima .video-tasti { top: auto; bottom: 4px; right: 4px; gap: 4px; }
.anteprima .video-tasto { width: 26px; height: 26px; }
.anteprima .video-tasto svg { width: 13px; height: 13px; }
@media (min-width: 1180px) {
  .anteprima { width: 200px; }
  .anteprima[data-forma="verticale"] { width: 112px; }
  .anteprima .video-tasto { width: 30px; height: 30px; }
}
.avviso:empty { display: none; }

/* podcaster: due righe */
.palco .conduzione { padding: 8px 16px; gap: 10px; }
.palco .conduzione .avatar { width: 40px; height: 40px; border-radius: 20px; font-size: 15px; }
.palco .conduzione .nome { font-size: 15.5px; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.palco .conduzione .titolo { font-size: 12.5px; line-height: 1.3; }
.palco .co-gruppo { margin-left: -16px; }
.palco .co-avatar { width: 24px; height: 24px; font-size: 10px; }
.cond-destra { display: flex; flex-direction: column; gap: 5px; align-items: flex-end; flex-shrink: 0; }
.cond-destra .btn-picc { height: 28px; padding: 0 11px; font-size: 12px; }
.palco .fase-riga { padding: 6px 16px; font-size: 12px; }

/* barra audio: una riga, tasti a icona */
.palco .audio { padding: 8px 16px; }
.palco .audio-riga { flex-wrap: nowrap; }
.audio-stato { min-width: 0; }
.audio-stato-t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.audio-rec { flex-shrink: 0; height: 18px; padding: 0 6px; border-radius: 5px; display: inline-flex; align-items: center; font-size: 10px; font-weight: 700; letter-spacing: .08em; color: var(--diretta); background: rgba(255,77,94,.12); border: 1px solid rgba(255,77,94,.35); }
.audio-tasti { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; flex-shrink: 0; }
.tasto-ic { width: 38px; height: 38px; border-radius: 19px; border: 1px solid var(--bordo-controllo); background: transparent; color: var(--testo); display: inline-grid; place-items: center; cursor: pointer; padding: 0; flex-shrink: 0; }
.tasto-ic:hover { background: var(--superficie); }
.tasto-ic.attivo { border-color: var(--voce); color: var(--voce); background: var(--voce-tenue); }
.tasto-mic { --liv: 0%; height: 38px; padding: 0 13px 0 10px; border-radius: 19px; border: 1px solid var(--bordo-controllo); color: var(--testo); font-weight: 600; font-size: 13px; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; flex-shrink: 0;
  background: linear-gradient(90deg, rgba(200,255,62,.26) var(--liv), transparent var(--liv)); transition: background .08s linear; }
.tasto-mic.muto { border-color: rgba(255,77,94,.55); color: #FF8A95; background: rgba(255,77,94,.08); }
.audio-tasti .btn-picc svg { flex-shrink: 0; }
.audio-due { gap: 8px; }
.audio-due .btn-ascolta { flex: 1 1 0; width: auto; min-width: 0; height: 44px; font-size: 14px; margin: 0; padding: 0 12px; }
.audio-due .btn-guarda { border-color: rgba(200,255,62,.5); color: var(--voce); }
.btn-ascolta span { overflow: hidden; text-overflow: ellipsis; }
.palco .audio-nota { margin-top: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.palco .audio-nota.err { white-space: normal; }

/* pause, spot e spazio sponsor: compatti */
.palco .pausa { padding: 8px 16px 0; }
.palco .pausa-card { gap: 8px; padding: 10px 12px; border-radius: 14px; }
.pausa-corpo { display: flex; align-items: center; gap: 12px; min-width: 0; }
.pausa-corpo .pausa-conto { font-size: 30px; flex-shrink: 0; }
.pausa-corpo .pausa-sp { flex: 1 1 auto; min-width: 0; padding: 7px 9px; gap: 10px; }
.pausa-corpo .pausa-sp.con-banner { flex-direction: row; align-items: center; }
.pausa-corpo .pausa-banner { width: 96px; flex-shrink: 0; border-radius: 7px; }
.pausa-corpo .pausa-logo { width: 40px; height: 40px; border-radius: 8px; }
.pausa-corpo .pausa-sp-nome { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pausa-corpo .pausa-sp-testo { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pausa-corpo .btn { flex-shrink: 0; }
.palco .pausa-nota { font-size: 11.5px; line-height: 1.35; }
.palco .pausa-fatto { padding: 8px 12px; font-size: 13px; }
.palco .pausa-fatto-ok { width: 20px; height: 20px; font-size: 12px; }

/* video sul telefono: un po' più basso, la chat prima di tutto */
@media (max-width: 1179px) {
  .palco .video { padding-top: 8px; }
  .video[data-forma="verticale"] .video-quadro { height: min(34dvh, 440px); }
  .video:not([data-forma="verticale"]):not(.proprio) .video-quadro { max-height: 34dvh; }
}

/* risultati sul telefono: una riga di pillole che scorre di lato */
@media (max-width: 1179px) {
  .palco .risultati { margin: 0 auto; padding-top: 6px; border-top: 1px solid var(--bordo); }
  .palco .ris-testa { display: none; }
  .palco .ris-lista { padding: 0 16px 6px; gap: 6px; }
  .palco .ris-partita { flex: 0 0 auto; flex-direction: row; align-items: center; gap: 8px; padding: 5px 11px; border-radius: 999px; }
  .palco .ris-partita.qui { display: none; }
  .palco .ris-righe { flex-direction: row; align-items: center; gap: 5px; }
  .palco .ris-sq { gap: 5px; font-size: 12.5px; }
  .palco .ris-sq:last-child { flex-direction: row-reverse; }
  .palco .ris-sq:first-child::after { content: '–'; color: var(--testo-3); font-weight: 600; margin-left: 1px; }
  .palco .ris-sq .nome { max-width: 7.5em; }
  .palco .ris-sq .gol { font-size: 13px; min-width: 0; }
  .palco .ris-piede .ris-conta { display: none; }
  .palco .ris-tempo { font-size: 10.5px; white-space: nowrap; }
}
/* schermi larghi: il riquadrino della telecamera va nello spazio libero accanto alla chat, non copre niente */
@media (min-width: 1560px) {
  .anteprima { right: auto; left: calc(50% + 276px); }
}
.pausa-corpo .pausa-sp-et { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.palco .audio-stato { white-space: nowrap; overflow: hidden; }
@media (max-width: 420px) {
  .pausa-card.intervallo .pausa-banner { width: 64px; }
}
/* omino «+ −» del podcaster: il numero dice quanti sono in onda con lui */
.tasto-ic { position: relative; }
.tasto-conta { position: absolute; bottom: -5px; right: -5px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--voce); color: #0B0D10; font-size: 10.5px; font-weight: 700; line-height: 17px; text-align: center; border: 2px solid var(--fondo); box-sizing: content-box; }
.co-riga .co-nome { flex: 1; min-width: 0; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.btn-scendi { border-color: rgba(255,77,94,.55); color: #FF8A95; }
.btn-scendi:hover { background: rgba(255,77,94,.1); color: #FF8A95; }
#co-gruppo [data-co], #co-nomi { cursor: default; }
.padrone-co #co-gruppo [data-co], .padrone-co #co-nomi { cursor: pointer; }
/* classifica classica nella card: G, GF, GS, Pt in colonne */
.riga-cl .cl-num { width: 26px; flex-shrink: 0; text-align: right; font-variant-numeric: tabular-nums; }
.riga-cl .cl-pt { width: 30px; font-size: 14px; }
.riga-cl.cl-testa { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; color: var(--testo-3); padding-bottom: 4px; }
.riga-cl.cl-testa .cl-pt { font-size: 10.5px; color: var(--testo-3); font-family: inherit; }

/* stemmi liberi: niente cerchio intorno quando c'è l'immagine (il cerchio resta solo per l'iniziale) */
.stemma.con-logo { background: transparent; border: 0; border-radius: 0; overflow: visible; }
.stemma.con-logo img { filter: drop-shadow(0 1px 2px rgba(0,0,0,.35)); }


/* =====================================================================
   Squadre, stanze di analisi e nuova home
   ===================================================================== */

/* pagina partita: una sola riga con lo stato della stanza */
.fasi-barra { display: block; }
.fase-riga-pt { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 14px; border-radius: 14px; background: var(--superficie); border: 1px solid var(--bordo); }
.fase-riga-pt i { width: 8px; height: 8px; border-radius: 4px; background: var(--testo-3); flex-shrink: 0; }
.fase-riga-pt.ora { border-color: rgba(200,255,62,.35); }
.fase-riga-pt.ora i { background: var(--voce); animation: pulsa 1.6s ease-in-out infinite; }
.fase-riga-pt .fb-nome { margin: 0; font-size: 13.5px; color: var(--testo); }
.fase-riga-pt .fb-ora { margin-left: auto; font-size: 12.5px; color: var(--testo-2); white-space: normal; }
.fase-riga-pt.ora .fb-ora { color: var(--voce); }
.testata .lato-link { color: var(--testo); text-decoration: none; border-radius: 12px; padding: 4px; }
.testata .lato-link:hover { color: var(--testo); background: var(--superficie); }
.testata .lato-link span:last-child { text-decoration: underline; text-decoration-color: var(--bordo-forte); text-underline-offset: 3px; }

/* stanza e riascolto di un'analisi: lo stemma nella barra */
.striscia img.stemma { width: 24px; height: 24px; border: 0; border-radius: 0; background: transparent; object-fit: contain; }

/* area podcaster: la tua squadra */
.squadra-mia { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--superficie); border: 1px solid var(--bordo); }
.squadra-mia img.stemma { width: 44px; height: 44px; border: 0; border-radius: 0; background: transparent; object-fit: contain; }
.squadra-mia .t1 { font-family: var(--titoli); font-weight: 700; font-size: 17px; }
.squadra-mia .t2 { font-size: 13px; }

/* foglio «Prenota un'analisi»: le ore */
.ore-griglia { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 6px; }
.ora-btn { height: 38px; border-radius: 10px; border: 1px solid var(--bordo); background: var(--superficie); color: var(--testo); font-weight: 600; font-size: 13px; font-variant-numeric: tabular-nums; cursor: pointer; }
.ora-btn:hover:not([disabled]) { border-color: var(--bordo-forte); }
.ora-btn[aria-pressed="true"] { background: var(--voce); border-color: var(--voce); color: #0B0D10; }
.ora-btn[disabled] { opacity: .35; cursor: default; }
.ora-btn.presa { text-decoration: line-through; }
.segmento:has(> button:nth-child(3):last-child) { grid-template-columns: repeat(3, 1fr); }
.segmento button[disabled] { opacity: .35; cursor: default; }

/* pagina squadra */
.sq-testata { display: flex; align-items: center; gap: 16px; padding: 22px 0 6px; }
.stemma.enorme { width: 84px; height: 84px; border-radius: 42px; font-size: 30px; }
.sqt-testi { min-width: 0; }
.sqt-testi h1 { margin: 0 0 4px; font-size: 28px; line-height: 32px; }
.sqt-pos { font-size: 14px; color: var(--testo-2); }
.sqt-pos b { color: var(--testo); font-family: var(--titoli); }
.sqt-forma { display: flex; gap: 4px; margin-top: 8px; }
.fm { width: 22px; height: 22px; border-radius: 6px; display: inline-grid; place-items: center; font-family: var(--titoli); font-weight: 700; font-size: 11px; background: var(--superficie-alta); color: var(--testo-2); }
.fm-W { background: var(--voce-tenue); color: var(--voce); }
.fm-L { background: rgba(255,77,94,.14); color: #FF8A95; }
.sq-partita { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 4px 12px; align-items: center; padding: 14px; border-radius: 16px; background: var(--superficie); border: 1px solid var(--bordo); color: var(--testo); text-decoration: none; }
.sq-partita:hover { border-color: var(--bordo-forte); color: var(--testo); }
.sqp-quando { grid-column: 1 / 3; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--testo-3); }
.sqp-righe { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.sqp-stato { font-family: var(--titoli); font-weight: 700; font-size: 15px; color: var(--testo-2); }
.sqp-stato.vivo { color: var(--voce); }
.mc-sq.mia .mc-nome { color: var(--voce); }
.sqp-fase { margin: 8px 2px 10px; font-size: 13px; color: var(--testo-2); }
.stanza-card.passata { opacity: .75; }
.sq-cl { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 16px; background: var(--superficie); border: 1px solid var(--bordo); }
.sq-cl .riga-cl { font-size: 13.5px; padding: 5px 0; text-decoration: none; }
.sq-cl .riga-cl.evid { padding: 5px 8px; }
.sq-cl .riga-cl:hover .n { color: var(--testo); }

/* home */
.home .barra-in .hm-candidati-btn { margin-right: 4px; }
@media (max-width: 400px) { .home .barra-in .hm-candidati-btn { display: none; } }
.hm-prova { display: grid; gap: 18px; padding: 22px 0 8px; }
.hm-occhiello { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--voce); }
.pallino { width: 8px; height: 8px; border-radius: 50%; background: var(--voce); animation: pulsa 1.6s ease-in-out infinite; }
.hm-prova h1 { font-size: 34px; line-height: 38px; margin: 10px 0 10px; }
.hm-prova h1 em { font-style: normal; color: var(--voce); }
.hm-prova .sotto { font-size: 15px; line-height: 1.5; margin: 0; max-width: 520px; }
.hp-card { display: flex; flex-direction: column; gap: 14px; padding: 18px; border-radius: 22px; background: linear-gradient(180deg, var(--superficie-alta), var(--superficie)); border: 1px solid rgba(200,255,62,.35); color: var(--testo); text-decoration: none; }
.hp-card:hover { border-color: var(--voce); color: var(--testo); }
.hp-chip { align-self: flex-start; }
.hp-partita { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items: center; gap: 10px; }
.hp-partita.solo { display: flex; gap: 12px; }
.hp-sq { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-weight: 600; font-size: 14px; min-width: 0; }
.hp-sq-nome { font-family: var(--titoli); font-weight: 700; font-size: 18px; }
.hp-ris { font-family: var(--titoli); font-weight: 700; font-size: 30px; font-variant-numeric: tabular-nums; }
.hp-quando { margin-top: -6px; text-align: center; font-size: 12.5px; color: var(--testo-3); }
.hp-partita.solo + .hp-quando { text-align: left; }
.hp-voce { display: flex; align-items: center; gap: 10px; padding-top: 12px; border-top: 1px solid var(--bordo); }
.hp-voce-testi { display: flex; flex-direction: column; min-width: 0; }
.hp-voce-testi b { font-size: 15px; }
.hp-voce-testi span { font-size: 13px; color: var(--testo-2); }
.hp-ascolta { pointer-events: none; }
.hm-prova-vuota { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 18px; border-radius: 22px; border: 1px dashed var(--bordo-forte); }
.hm-prova-vuota p { margin: 0; color: var(--testo-2); font-size: 14px; }

.hm-squadre, .hm-partite, .hm-candidati { scroll-margin-top: 64px; }
.hm-squadre { padding-top: 26px; }
.hm-testa h2, .hm-partite .mc-titolo, .hm-cand-testo h2 { font-family: var(--titoli); font-weight: 700; font-size: 24px; line-height: 28px; margin: 0 0 4px; }
.hm-testa .sotto { margin-bottom: 14px; }
.hm-sq-barra { display: flex; align-items: center; gap: 12px; }
.hm-sq-barra .mc-gironi { flex: 1; }
.hm-frecce { display: none; gap: 8px; }
.hm-frecce .icona-btn[disabled] { opacity: .3; cursor: default; }
.hm-scorri { display: flex; gap: 8px; margin-top: 12px; padding-bottom: 4px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 16px; scrollbar-width: none; overscroll-behavior-x: contain;
  margin-left: -16px; margin-right: -16px; padding-left: 16px; padding-right: 16px; }
.hm-scorri::-webkit-scrollbar { display: none; }
.hm-scorri .caricamento, .hm-scorri .vuoto { flex: 1; }

.hm-sq { flex: 0 0 104px; scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 12px 6px 10px; border-radius: 16px; background: var(--superficie); border: 1px solid var(--bordo); color: var(--testo); text-decoration: none; text-align: center; min-width: 0; }
.hm-sq .stemma.grande { width: 44px; height: 44px; font-size: 16px; }
.hm-sq .chip { height: 18px; padding: 0 5px; font-size: 9.5px; }
.hm-sq:hover { border-color: var(--bordo-forte); color: var(--testo); }
.hm-sq.viva { border-color: rgba(255,77,94,.45); }
.hm-sq-nome { font-weight: 600; font-size: 13px; line-height: 1.2; overflow-wrap: anywhere; min-height: 2.4em; display: flex; align-items: center; }
.hm-sq-pos { font-size: 11.5px; color: var(--testo-3); font-variant-numeric: tabular-nums; }
.hm-partite { padding-top: 34px; }
.hm-partite .mc-titolo { margin: 0 0 12px; }
.hm-partite .mc-pagina .dirette { margin-bottom: 14px; }

.hm-candidati { margin-top: 40px; padding: 22px 18px; border-radius: 22px; background: var(--superficie); border: 1px solid rgba(200,255,62,.35); }
.hm-cand-testo .sotto { margin: 6px 0 4px; font-size: 14.5px; line-height: 1.5; }
.hm-modulo .etichetta:first-child { margin-top: 6px; }
.hm-modulo .msg:empty { display: none; }
.trappola { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.hm-grazie { padding: 6px 0; }
.hm-grazie:focus { outline: none; }
.hm-grazie h2 { font-family: var(--titoli); font-size: 22px; margin: 0; }
.hm-grazie p { color: var(--testo-2); margin: 6px 0 0; }
.hm-grazie strong { color: var(--testo); word-break: break-all; }
.spunta { width: 34px; height: 34px; margin-bottom: 8px; padding: 7px; border-radius: 50%; background: var(--voce); fill: none; stroke: #0B0D10; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.campo[aria-invalid="true"] { border-color: #FF8A95; }

.hm-piede { max-width: 1240px; margin: 0 auto; padding: 26px 16px 40px; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; color: var(--testo-3); }
.hm-piede a { color: var(--testo-2); }

@media (min-width: 640px) {
  .ore-griglia { grid-template-columns: repeat(8, minmax(0,1fr)); }
}
@media (min-width: 1080px) {
  .hm-prova { padding: 48px 0 18px; max-width: 760px; }
  .hm-prova h1 { font-size: 48px; line-height: 52px; }
  .hm-squadre .mc-gironi { flex: 0 1 420px; }
  .hm-sq-barra { justify-content: space-between; }
  .hm-frecce { display: flex; }
  .hm-scorri { margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; scroll-padding: 0; }
  .hm-sq { flex-basis: 128px; }
  .hm-partite .mc-pagina .dirette, .hm-partite .mc-pagina .mc-destra { margin-top: 0; }
  .hm-candidati { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 40px; align-items: start; padding: 30px; }
  .hm-candidati .hm-grazie { grid-column: 2; }
  .hm-piede { padding: 26px 24px 40px; }

  .sq-corpo:not(.nascosto) { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 40px; align-items: start; }
}


/* ---------- prova gratuita ---------- */
.hm-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 18px; }
.hm-cta .btn { height: 48px; padding: 0 22px; font-size: 15px; border-radius: 24px; }
.prova-sq { font-weight: 600; font-size: 15px; }
.prova-spunta { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 14px; color: var(--testo-2); cursor: pointer; }
.prova-spunta input { width: 18px; height: 18px; accent-color: var(--voce); }
.fr-btn { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.sq-prova { display: flex; align-items: center; gap: 12px; margin-top: 10px; padding: 12px 14px; border-radius: 16px; border: 1px solid rgba(200,255,62,.35); background: var(--voce-tenue); }
.sq-prova-testi { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; font-size: 13px; color: var(--testo-2); }
.sq-prova-testi b { color: var(--testo); font-size: 14px; }
