/* ================================================================
   ORZIBASKET — Widget Match & Classifica  (tema chiaro)
   Target: #orzi-widget-partite, #orzi-widget-classifica
   ================================================================ */

/* ================================================================
   FOOTER — scuro, compatto
   ================================================================ */

footer {
  min-height: 0 !important;
}
footer > *:not(.orzi-footer__wrap) {
  display: none !important;
}

footer .orzi-footer__wrap {
  background: #111827;
  color: #fff;
  font-family: 'Poppins', sans-serif;
}

/* Riga principale */
.orzi-footer__main {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 28px 0;
  flex-wrap: wrap;
}

/* Brand: logo + testo */
.orzi-footer__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.orzi-footer__logo-link { display: flex; align-items: center; }
.orzi-footer__logo { height: 44px; width: auto; }

.orzi-footer__brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.orzi-footer__club-name {
  font-weight: 700;
  font-size: 0.88rem;
  color: #fff;
  white-space: nowrap;
}
.orzi-footer__address {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.5);
  white-space: nowrap;
}

/* Nav links inline */
.orzi-footer__nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px 24px;
  flex-wrap: wrap;
}
.orzi-footer__nav a {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.15s;
  white-space: nowrap;
}
.orzi-footer__nav a:hover { color: #fff; }

/* Social + sponsor a destra */
.orzi-footer__right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.orzi-footer__social { display: flex; gap: 8px; }
.orzi-footer__social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.1);
  border-radius: 6px;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.orzi-footer__social-btn:hover {
  background: rgba(255,255,255,0.2);
  color: #fff;
}

.orzi-footer__sponsor {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding-left: 20px;
  border-left: 1px solid rgba(255,255,255,0.12);
}
.orzi-footer__sponsor-label {
  font-size: 0.55rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.4);
  white-space: nowrap;
}
.orzi-footer__sponsor-link { display: flex; align-items: center; }
.orzi-footer__sponsor-logo {
  height: 48px;
  width: auto;
  filter: invert(1) hue-rotate(180deg);
  opacity: 0.9;
  transition: opacity 0.15s;
}
.orzi-footer__sponsor-logo:hover { opacity: 1; }

/* Barra copyright */
.orzi-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 12px 0;
  background: rgba(0,0,0,0.2);
}
.orzi-footer__bottom .uk-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
}
.orzi-footer__copy {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.4);
}
.orzi-footer__bottom-links {
  display: flex;
  gap: 18px;
}
.orzi-footer__bottom-links a {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.15s;
}
.orzi-footer__bottom-links a:hover { color: rgba(255,255,255,0.8); }

/* Responsive */
@media (max-width: 959px) {
  .orzi-footer__nav { justify-content: flex-start; }
}
@media (max-width: 639px) {
  .orzi-footer__main { flex-direction: column; align-items: flex-start; gap: 20px; padding: 24px 0; }
  .orzi-footer__nav { justify-content: flex-start; }
  .orzi-footer__right { width: 100%; }
  .orzi-footer__bottom .uk-container { flex-direction: column; align-items: flex-start; }
}

/* ================================================================
   NEWS PAGE — Layout sidebar + griglia card uniforme
   ================================================================ */

/* --- Layout principale --- */
.orzi-news-page {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  padding: 40px 0 60px;
  font-family: 'Poppins', sans-serif;
}

/* --- Sidebar anni --- */
.orzi-news-sidebar {
  flex-shrink: 0;
  width: 160px;
  position: sticky;
  top: 90px;
}

.orzi-news-sidebar__label {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #9ca3af;
  margin-bottom: 10px;
  padding-left: 4px;
}

.orzi-news-sidebar__years {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.orzi-news-year {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  text-align: left;
  width: 100%;
}

.orzi-news-year:hover {
  background: #f3f4f6;
}

.orzi-news-year--active {
  background: #FB7A9F;
}

.orzi-news-year--active .orzi-news-year__num,
.orzi-news-year--active .orzi-news-year__count {
  color: #fff;
}

.orzi-news-year__num {
  font-size: 0.85rem;
  font-weight: 600;
  color: #1f2937;
  transition: color 0.15s;
}

.orzi-news-year__count {
  font-size: 0.65rem;
  font-weight: 500;
  color: #9ca3af;
  background: rgba(0,0,0,0.05);
  padding: 1px 6px;
  border-radius: 10px;
  transition: color 0.15s, background 0.15s;
}

.orzi-news-year--active .orzi-news-year__count {
  background: rgba(255,255,255,0.2);
}

/* --- Area principale --- */
.orzi-news-main {
  flex: 1;
  min-width: 0;
}

/* --- Griglia card --- */
.orzi-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

/* --- Card news --- */
.orzi-news-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  height: 100%;
}

.orzi-news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.12);
}

/* Immagine card */
.orzi-news-card__img-wrap {
  display: block;
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #e5e7eb;
  flex-shrink: 0;
}

.orzi-news-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.orzi-news-card:hover .orzi-news-card__img {
  transform: scale(1.04);
}

.orzi-news-card__img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
}

/* Badge data sull'immagine */
.orzi-news-card__date {
  position: absolute;
  bottom: 10px;
  left: 12px;
  background: rgba(0,0,0,0.62);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

/* Corpo testo */
.orzi-news-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 18px 16px;
  gap: 8px;
}

.orzi-news-card__title {
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.orzi-news-card__title a {
  color: #111827;
  text-decoration: none;
  transition: color 0.15s;
}

.orzi-news-card__title a:hover { color: #FB7A9F; }

.orzi-news-card__excerpt {
  font-size: 0.72rem;
  line-height: 1.55;
  color: #6b7280;
  margin: 0;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.orzi-news-card__btn {
  display: inline-block;
  margin-top: 10px;
  padding: 7px 16px;
  background: #FB7A9F;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 6px;
  text-decoration: none;
  align-self: flex-start;
  transition: background 0.15s;
}

.orzi-news-card__btn:hover { background: #e05583; color: #fff; }

/* --- Paginazione --- */
.orzi-news-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 36px;
}

.orzi-news-pager__btn {
  padding: 9px 20px;
  background: #fff;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
  font-family: 'Poppins', sans-serif;
}

.orzi-news-pager__btn:hover {
  border-color: #FB7A9F;
  color: #FB7A9F;
}

.orzi-news-pager__info {
  font-size: 0.75rem;
  color: #9ca3af;
  font-weight: 500;
}

/* --- Stati loading/errore --- */
.orzi-news-loading,
.orzi-news-empty,
.orzi-news-error {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px;
  color: #9ca3af;
  font-size: 0.9rem;
}

.orzi-news-error { color: #e74c3c; }

/* --- Responsive --- */
@media (max-width: 959px) {
  .orzi-news-page { flex-direction: column; gap: 24px; padding: 24px 0 40px; }
  .orzi-news-sidebar {
    width: 100%;
    position: static;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 16px;
  }
  .orzi-news-sidebar__label { display: none; }
  .orzi-news-sidebar__years { flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .orzi-news-year { width: auto; padding: 5px 12px; }
  .orzi-news-year__count { display: none; }
  .orzi-news-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

@media (max-width: 639px) {
  .orzi-news-grid { grid-template-columns: 1fr; gap: 14px; }
  .orzi-news-card__title { font-size: 0.88rem; }
}

/* ================================================================
   TOOLBAR GIRONE A (standings ticker — stile Olimpia Milano)
   ================================================================ */

#orzi-toolbar {
  width: 100%;
  background: #111827;
  border-bottom: 2px solid #C8102E;
  display: flex;
  align-items: stretch;
  height: 36px;
  overflow: hidden;
  font-family: 'Poppins', sans-serif;
  position: relative;
  z-index: 1000;
}

.orzi-toolbar__label {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 14px;
  background: #C8102E;
  flex-shrink: 0;
  gap: 1px;
}

.orzi-toolbar__label-serie {
  font-size: 0.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.75);
  line-height: 1;
}

.orzi-toolbar__label-girone {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #ffffff;
  line-height: 1;
}

.orzi-toolbar__track-wrap {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  mask-image: linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%);
}

.orzi-toolbar__track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: orziToolbarScroll 55s linear infinite;
}

.orzi-toolbar__track:hover {
  animation-play-state: paused;
}

@keyframes orziToolbarScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.orzi-toolbar__inner {
  display: inline-flex;
  align-items: center;
  gap: 0;
}

.orzi-toolbar__team {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 14px;
  height: 36px;
  transition: background 0.15s;
  cursor: default;
}

.orzi-toolbar__team:hover {
  background: rgba(255,255,255,0.06);
}

.orzi-toolbar__team--orzi {
  background: rgba(200, 16, 46, 0.18);
}

.orzi-toolbar__team--orzi .orzi-toolbar__name {
  color: #ff6b6b;
  font-weight: 700;
}

.orzi-toolbar__team--orzi .orzi-toolbar__pts {
  color: #ff6b6b;
}

.orzi-toolbar__pos {
  font-size: 0.55rem;
  font-weight: 800;
  color: rgba(255,255,255,0.4);
  min-width: 14px;
  text-align: right;
}

.orzi-toolbar__logo {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
}

.orzi-toolbar__name {
  font-size: 0.65rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.01em;
}

.orzi-toolbar__pts {
  font-size: 0.6rem;
  font-weight: 700;
  color: rgba(255,255,255,0.45);
  margin-left: 2px;
}

.orzi-toolbar__dot {
  color: rgba(255,255,255,0.2);
  font-size: 0.6rem;
  padding: 0 2px;
}

@media (max-width: 639px) {
  #orzi-toolbar { height: 32px; }
  .orzi-toolbar__label { padding: 0 10px; }
  .orzi-toolbar__label-girone { font-size: 0.58rem; }
  .orzi-toolbar__name { font-size: 0.6rem; }
  .orzi-toolbar__track { animation-duration: 40s; }
}

/* ================================================================
   FONT FIX — forza Poppins sull'headline "Stagione 2025/26 · Girone A"
   L'h2 usa uk-heading-small; lo span interno ha letter-spacing 0.18em inline.
   Questa regola sovrascrive tutto con Poppins e azzera la spaziatura eccessiva.
   ================================================================ */
h2.uk-heading-small > span,
h2.uk-heading-small > span * {
  font-family: 'Poppins', sans-serif !important;
  letter-spacing: 0.06em !important;
}

.orzi-section-headline,
.orzi-section-headline * {
  font-family: 'Poppins', sans-serif !important;
}

/* --- Contenitore e griglia risultati --- */
#orzi-widget-partite {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.orzi-match-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.orzi-match-grid--next {
  grid-template-columns: 1fr;
  max-width: 400px;
  margin: 0 auto;
}

/* ================================================================
   CARD MATCH (risultato o prossima partita)
   ================================================================ */
.orzi-match-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.orzi-match-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

/* Bordo superiore colorato per vittoria/sconfitta */
.orzi-match-card--win  { border-top: 3px solid #2ec27e; }
.orzi-match-card--loss { border-top: 3px solid #e74c3c; }
.orzi-match-card--next { border-top: 3px solid #C8102E; }

/* --- Header card: giornata + data + badge V/S --- */
.orzi-match-card__header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px 7px;
  border-bottom: 1px solid #f3f4f6;
  background: #f9fafb;
}

.orzi-match-card__round {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b7280;
  flex: 1;
}

.orzi-match-card__date {
  font-size: 0.65rem;
  color: #9ca3af;
}

.orzi-match-card__badge {
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.orzi-match-card__badge--win  { background: #2ec27e; color: #fff; }
.orzi-match-card__badge--loss { background: #e74c3c; color: #fff; }
.orzi-match-card__badge--next {
  background: transparent;
  color: #C8102E;
  border: 1px solid rgba(200,16,46,0.35);
  font-size: 0.52rem;
  width: auto;
  border-radius: 4px;
  padding: 1px 5px;
  letter-spacing: 0.06em;
  font-weight: 700;
  text-transform: uppercase;
}

/* --- Body: due team con score al centro --- */
.orzi-match-card__body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 14px 10px 10px;
  flex: 1;
}

.orzi-match-card__team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  flex: 1;
  min-width: 0;
}

.orzi-match-card__logo {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.orzi-match-card__team-name {
  font-size: 0.65rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.25;
  color: #374151;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* Blocco punteggio */
.orzi-match-card__score {
  display: flex;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.orzi-match-card__score-sep {
  color: #d1d5db;
  font-weight: 300;
  font-size: 1.2rem;
}

.orzi-win  { color: #2ec27e; }
.orzi-loss { color: #e74c3c; }

/* Score prossima (orario) */
.orzi-match-card__score--upcoming {
  flex-direction: column;
  gap: 2px;
}

.orzi-match-card__kickoff {
  font-size: 1.3rem;
  font-weight: 900;
  color: #111827;
  text-align: center;
}

/* --- Footer: arena --- */
.orzi-match-card__footer {
  padding: 6px 12px 10px;
  font-size: 0.62rem;
  color: #9ca3af;
  text-align: center;
  line-height: 1.4;
}

.orzi-match-card__stream {
  display: block;
  margin-top: 5px;
  color: #C8102E;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.68rem;
}

.orzi-match-card__stream:hover { text-decoration: underline; }

/* --- Stati caricamento --- */
.orzi-widget--loading,
.orzi-widget--error,
.orzi-widget--empty {
  text-align: center;
  color: #9ca3af;
  padding: 24px 16px;
  font-size: 0.82rem;
  font-style: italic;
}

/* ================================================================
   CLASSIFICA (tema chiaro)
   ================================================================ */
#orzi-widget-classifica {
  max-width: 600px;
  margin: 0 auto;
}

.orzi-classifica-wrap {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.orzi-classifica-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
  color: #374151;
}

.orzi-classifica-table thead tr {
  background: #f9fafb;
}

.orzi-classifica-table th {
  padding: 9px 8px;
  text-align: center;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #9ca3af;
  font-weight: 600;
  white-space: nowrap;
}

.orzi-classifica-table th.col-team,
.orzi-classifica-table td.col-team {
  text-align: left;
  padding-left: 12px;
}

.orzi-classifica-table td {
  padding: 7px 8px;
  text-align: center;
  border-top: 1px solid #f3f4f6;
  color: #4b5563;
}

/* Riga Orzinuovi */
.orzi-classifica-table tr.orzi-row-orzi {
  background: rgba(200, 16, 46, 0.05);
  border-left: 3px solid #C8102E;
}

.orzi-classifica-table tr.orzi-row-orzi td {
  color: #111827;
  font-weight: 700;
}

.orzi-team-cell {
  display: flex;
  align-items: center;
  gap: 7px;
}

.orzi-team-logo {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
}

.orzi-classifica-footer {
  padding: 8px 12px;
  font-size: 0.64rem;
  color: #9ca3af;
  text-align: center;
  border-top: 1px solid #f3f4f6;
  background: #f9fafb;
}

.orzi-classifica-footer a {
  color: #C8102E;
  text-decoration: none;
}

.orzi-classifica-loading,
.orzi-classifica-error {
  padding: 24px;
  text-align: center;
  color: #9ca3af;
  font-size: 0.8rem;
  font-style: italic;
}

/* ================================================================
   ROSTER (stile Olimpia Milano)
   Target: #orzi-roster-grid
   ================================================================ */

#orzi-roster-grid {
  width: 100%;
}

.orzi-roster-section {
  margin-bottom: 40px;
}

.orzi-roster-title {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #9ca3af;
  margin: 0 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #f3f4f6;
}

.orzi-roster-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* ---- Card giocatore ---- */
.orzi-player-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  cursor: default;
}

.orzi-player-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.orzi-player-card--new {
  border-color: rgba(200, 16, 46, 0.3);
}

/* ---- Foto con overlay numero ---- */
.orzi-player-card__photo-wrap {
  position: relative;
  width: 100%;
  padding-top: 130%;
  background: #f3f4f6;
  overflow: hidden;
}

.orzi-player-card__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* Numero maglia — overlay grande in alto a destra */
.orzi-player-card__number {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1;
  color: #ffffff;
  text-shadow:
    2px 2px 0 rgba(0,0,0,0.6),
    -1px -1px 0 rgba(0,0,0,0.3);
  padding: 10px 12px 4px;
  background: linear-gradient(135deg, transparent 0%, rgba(0,0,0,0.55) 100%);
  min-width: 56px;
  text-align: right;
  letter-spacing: -0.04em;
}

/* Badge "NUOVO" per nuovi acquisti */
.orzi-player-card__new-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #C8102E;
  color: #fff;
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 4px;
}

/* ---- Info sotto la foto ---- */
.orzi-player-card__info {
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.orzi-player-card__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.orzi-player-card__role {
  font-size: 0.55rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  flex-shrink: 0;
}

.orzi-player-card__nat {
  font-size: 1rem;
  line-height: 1;
}

.orzi-player-card__height {
  font-size: 0.62rem;
  color: #9ca3af;
  margin-left: auto;
}

/* Nome */
.orzi-player-card__name {
  display: flex;
  flex-direction: column;
  gap: 0;
  line-height: 1.15;
}

.orzi-player-card__firstname {
  font-size: 0.72rem;
  font-weight: 400;
  color: #6b7280;
}

.orzi-player-card__lastname {
  font-size: 1rem;
  font-weight: 800;
  color: #111827;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

/* Stats bar */
.orzi-player-card__stats {
  display: flex;
  align-items: center;
  gap: 0;
  border-top: 1px solid #f3f4f6;
  margin-top: 4px;
  padding-top: 8px;
}

.orzi-player-card__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  flex: 1;
}

.orzi-player-card__stat-val {
  font-size: 0.85rem;
  font-weight: 800;
  color: #111827;
  font-variant-numeric: tabular-nums;
}

.orzi-player-card__stat-lbl {
  font-size: 0.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #9ca3af;
}

.orzi-player-card__stat-sep {
  width: 1px;
  height: 24px;
  background: #f3f4f6;
  flex-shrink: 0;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */

/* Tablet stretto (640–959px): YOOtheme stack le colonne → full width,
   le 3 card possono stare affiancate ma con meno padding */
@media (max-width: 959px) and (min-width: 640px) {
  .orzi-match-card__body    { padding: 10px 6px 8px; }
  .orzi-match-card__header  { padding: 7px 8px 5px; }
  .orzi-match-card__logo    { width: 38px; height: 38px; }
  .orzi-match-card__score   { font-size: 1.3rem; }
  .orzi-match-card__team-name { font-size: 0.6rem; }
}

/* Mobile (< 640px): 1 card per riga, full width */
@media (max-width: 639px) {
  .orzi-match-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .orzi-match-grid--next {
    max-width: 100%;
  }

  /* Card mobile: più spaziosa, logo più grande */
  .orzi-match-card__logo   { width: 50px; height: 50px; }
  .orzi-match-card__score  { font-size: 1.7rem; }
  .orzi-match-card__body   { padding: 16px 14px 12px; }
  .orzi-match-card__footer { padding: 6px 14px 12px; font-size: 0.68rem; }

  /* Disabilita hover transform su touch */
  .orzi-match-card:hover {
    transform: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  }

  /* Classifica mobile */
  .orzi-classifica-table .col-last5 { display: none; }
  .orzi-classifica-table th,
  .orzi-classifica-table td { padding: 7px 5px; font-size: 0.74rem; }

  /* Roster mobile */
  .orzi-roster-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .orzi-player-card__number { font-size: 2.2rem; }
  .orzi-player-card__lastname { font-size: 0.85rem; }
  .orzi-player-card:hover { transform: none; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
}

/* Roster tablet: 2 colonne (era già 3 desktop) */
@media (max-width: 959px) and (min-width: 640px) {
  .orzi-roster-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .orzi-player-card__number { font-size: 2.6rem; }
}

/* ================================================================
   MODAL SCHEDA GIOCATORE (stile Olimpia Milano)
   ================================================================ */

.orzi-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  backdrop-filter: blur(4px);
  animation: orziModalFadeIn 0.2s ease;
}

@keyframes orziModalFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.orzi-modal {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
  animation: orziModalSlideUp 0.22s ease;
}

@keyframes orziModalSlideUp {
  from { transform: translateY(24px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

/* --- Header scuro --- */
.orzi-modal__header {
  background: #111827;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 28px 24px 0;
  min-height: 200px;
  overflow: hidden;
}

.orzi-modal__header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #C8102E22 0%, transparent 60%);
  pointer-events: none;
}

.orzi-modal__header-info {
  position: relative;
  z-index: 2;
  padding-bottom: 24px;
  flex: 1;
}

.orzi-modal__big-number {
  font-size: 5rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(255, 255, 255, 0.12);
  letter-spacing: -0.04em;
  margin-bottom: -12px;
}

.orzi-modal__role-chip {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #fff;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.orzi-modal__fullname {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.orzi-modal__firstname {
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.65);
}

.orzi-modal__lastname {
  font-size: 1.8rem;
  font-weight: 900;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.orzi-modal__photo {
  position: relative;
  z-index: 1;
  height: 200px;
  width: auto;
  max-width: 180px;
  object-fit: cover;
  object-position: top center;
  align-self: flex-end;
  margin-right: 12px;
  border-radius: 8px 8px 0 0;
  filter: drop-shadow(0 -8px 20px rgba(0,0,0,0.4));
}

.orzi-modal__close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: rgba(255,255,255,0.12);
  border: none;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: background 0.15s;
}

.orzi-modal__close:hover { background: rgba(255,255,255,0.25); }

/* --- Stats bar rossa --- */
.orzi-modal__stats-bar {
  display: flex;
  align-items: stretch;
  background: #1f2937;
  border-bottom: 3px solid #C8102E;
}

.orzi-modal__stat-box {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 8px;
  border-right: 1px solid rgba(255,255,255,0.07);
}

.orzi-modal__stat-box:last-child { border-right: none; }

.orzi-modal__stat-val {
  font-size: 1.3rem;
  font-weight: 900;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.orzi-modal__stat-lbl {
  font-size: 0.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.45);
  margin-top: 4px;
}

/* --- Body --- */
.orzi-modal__body {
  padding: 20px 24px 24px;
}

.orzi-modal__bio {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-bottom: 20px;
  border: 1px solid #f3f4f6;
  border-radius: 10px;
  overflow: hidden;
}

.orzi-modal__bio-row {
  display: flex;
  flex-direction: column;
  padding: 10px 14px;
  border-bottom: 1px solid #f3f4f6;
}

.orzi-modal__bio-row:nth-last-child(-n+2) { border-bottom: none; }

.orzi-modal__bio-label {
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #9ca3af;
}

.orzi-modal__bio-value {
  font-size: 0.88rem;
  font-weight: 600;
  color: #111827;
  margin-top: 2px;
}

/* --- Shooting bars --- */
.orzi-modal__section-title {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #9ca3af;
  margin: 0 0 12px;
}

.orzi-modal__shooting {
  margin-bottom: 16px;
}

.orzi-modal__shoot-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.orzi-modal__shoot-label {
  font-size: 0.72rem;
  color: #6b7280;
  width: 80px;
  flex-shrink: 0;
}

.orzi-modal__shoot-track {
  flex: 1;
  height: 6px;
  background: #f3f4f6;
  border-radius: 3px;
  overflow: hidden;
}

.orzi-modal__shoot-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 0.4s ease;
}

.orzi-modal__shoot-pct {
  font-size: 0.78rem;
  font-weight: 700;
  color: #374151;
  width: 36px;
  text-align: right;
  flex-shrink: 0;
}

.orzi-modal__source {
  font-size: 0.58rem;
  color: #d1d5db;
  text-align: center;
  margin: 0;
  padding-top: 8px;
  border-top: 1px solid #f9fafb;
}

/* Modal responsive */
@media (max-width: 639px) {
  .orzi-modal { border-radius: 12px; max-height: 95vh; }
  .orzi-modal__header { min-height: 160px; padding: 20px 16px 0; }
  .orzi-modal__big-number { font-size: 3.5rem; }
  .orzi-modal__lastname { font-size: 1.4rem; }
  .orzi-modal__photo { height: 160px; max-width: 130px; }
  .orzi-modal__stat-val { font-size: 1.1rem; }
  .orzi-modal__stat-box { padding: 10px 4px; }
  .orzi-modal__bio { grid-template-columns: 1fr 1fr; }
  .orzi-modal__body { padding: 16px; }
}
