/* --- PS Single Match - stile ticker blu --- */
.pssm-wrap { margin: 12px 0; }
.pssm-wrap.alignfull .pssm-bar { border-radius: 14px; }

.pssm-bar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  background:#081c2d; /* navy */
  color:#fff;
  padding:10px 14px;                /* più compatto */
  border-radius:14px;
  box-shadow:0 4px 14px rgba(0,0,0,.18);
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,"Helvetica Neue",Arial,sans-serif;
}

/* meta sinistra (competizione/turno/data) più leggibile */
.pssm-left{
  display:flex;
  align-items:center;
  gap:10px;
  white-space:nowrap;
  font-size:.95rem;
  font-weight:700;
  letter-spacing:.2px;
  color:#d7e9ff;
}
.pssm-comp{ text-transform:none; }
.pssm-round, .pssm-date { opacity:.95; }

/* griglia centrale: home | score | away, con score centrato */
.pssm-center{
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  width:100%;
  max-width:1200px;
  margin:0 auto;
}
.pssm-team{
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
}
.pssm-team.pssm-home{ justify-self:start; }
.pssm-team.pssm-away{ justify-self:end; justify-content:flex-end; }

.pssm-team img{
  width:26px; height:26px;
  object-fit:contain;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,.35));
}
.pssm-name{
  font-weight:700;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
  font-size:1rem;
}

/* chip centrale (orario/risultato + stato) */
.pssm-score{
  justify-self:center;
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  min-width:86px;
  padding:6px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.10);
  font-weight:800;
  letter-spacing:.3px;
}
.pssm-score span{ line-height:1; font-size:1.05rem; }
.pssm-status{
  font-style:normal;
  font-weight:700;
  opacity:.95;
  font-size:.78rem;
  margin-top:4px;
}

/* Evidenzia LIVE */
.pssm-status.live{
  color:#ff3b3b;
  letter-spacing:.5px;
}

/* ---------- Mobile: loghi + chip centrale ---------- */
@media (max-width:560px){
  .pssm-bar{ padding:10px 12px; border-radius:12px; }

  /* nascondi metadati e nomi squadre */
  .pssm-left{ display:none !important; }
  .pssm-name{ display:none !important; }

  /* tre colonne: logo | chip | logo */
  .pssm-center{
    grid-template-columns:1fr auto 1fr;
    gap:14px;
    justify-items:center;
    align-items:center;
  }

  /* chip sempre visibile: mostra
     - risultato se c'è (es. 2 - 1) nella riga sopra
     - altrimenti l'orario nella riga sopra
     - e sotto lo status (es. "da giocare" o "LIVE 35'")
  */
  .pssm-score{
    display:flex !important;
    padding:6px 12px;
    min-width:auto;
    background:rgba(255,255,255,.12);
  }
  .pssm-score > span{ display:block !important; font-size:.95rem; }
  .pssm-status{ display:block !important; margin-top:2px; font-size:.8rem; }

  /* loghi più grandi */
  .pssm-team img{ width:34px; height:34px; }
}
