/* ================================================================
   torneig-2026.css — Pàgina del 4t Torneig Solidari Vila de Sitges
   Classificacions · Resultats editables · Fase final (Final Four)
   Reutilitza els design tokens de styles.css
   ================================================================ */

/* ---------- Banner superior ---------- */
.t-hero {
  position: relative;
  background:
    radial-gradient(ellipse 70% 60% at 85% 10%, rgba(212,168,67,0.18), transparent 55%),
    radial-gradient(ellipse 80% 70% at 10% 90%, rgba(45,106,79,0.45), transparent 60%),
    linear-gradient(135deg, #11140f, #16261d);
  background-color: var(--color-dark);
  color: var(--color-white);
  padding: calc(var(--nav-height) + 2.5rem) 0 3rem;
  text-align: center;
  overflow: hidden;
}
.t-hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.5;
  pointer-events: none;
}
.t-hero__inner { position: relative; z-index: 1; }
.t-hero__badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 1rem; border-radius: 999px;
  background: var(--gradient-gold); color: var(--color-dark);
  font-family: var(--font-title); font-weight: var(--fw-bold);
  font-size: var(--text-xs); letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 18px rgba(212,168,67,0.35);
}
.t-hero__title {
  color: var(--color-white);
  font-size: clamp(var(--text-3xl), 6vw, var(--text-5xl));
  margin-bottom: 0.75rem;
}
.t-hero__meta {
  display: flex; flex-wrap: wrap; gap: 0.75rem 1.75rem;
  justify-content: center; margin-top: 1.25rem;
  color: rgba(255,255,255,0.9); font-size: var(--text-sm);
}
.t-hero__meta span { display: inline-flex; align-items: center; gap: 0.5rem; }
.t-hero__meta svg { width: 18px; height: 18px; color: var(--color-accent); }

/* Causa solidària */
.t-hero__cause {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 0.85rem;
  margin-top: 1.5rem; padding: 0.7rem 1.25rem;
  background: rgba(192, 57, 43, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  text-align: left;
}
.t-hero__cause-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; flex-shrink: 0;
  background: var(--color-club-red); color: #fff; border-radius: 50%;
}
.t-hero__cause-icon svg { width: 18px; height: 18px; }
.t-hero__cause-text { display: flex; flex-direction: column; line-height: 1.25; }
.t-hero__cause-label {
  font-family: var(--font-title); font-size: 0.7rem; font-weight: var(--fw-semibold);
  letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7);
}
.t-hero__cause-name {
  font-family: var(--font-title); font-weight: var(--fw-bold);
  font-size: var(--text-base); color: #fff;
}
.t-hero__cause-found { font-size: var(--text-xs); color: rgba(255, 255, 255, 0.75); }

@media (max-width: 560px) {
  .t-hero__cause { border-radius: var(--radius-lg); }
}

/* Informació clau del torneig (banner) */
.t-hero__info { position: relative; z-index: 1; margin-top: 1.75rem; }
.t-hero__free {
  display: inline-flex; align-items: center; gap: 0.7rem;
  padding: 0.5rem 1.15rem 0.5rem 0.55rem;
  background: var(--color-accent); color: var(--color-dark);
  border-radius: 999px; text-align: left;
}
.t-hero__free-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; flex-shrink: 0;
  background: rgba(0,0,0,0.12); border-radius: 50%;
}
.t-hero__free-icon svg { width: 18px; height: 18px; }
.t-hero__free-text { display: flex; flex-direction: column; line-height: 1.2; }
.t-hero__free-text strong {
  font-family: var(--font-title); font-weight: var(--fw-bold); font-size: var(--text-sm);
}
.t-hero__free-text small { font-size: var(--text-xs); opacity: 0.8; }

.t-hero__features {
  list-style: none; margin: 1.25rem auto 0; padding: 0; max-width: 680px;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem;
}
@media (min-width: 720px) {
  .t-hero__features { grid-template-columns: repeat(3, 1fr); }
}
.t-hero__features li {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.6rem 0.8rem; text-align: left;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius);
  font-size: var(--text-sm); color: rgba(255,255,255,0.92);
  font-weight: var(--fw-medium); line-height: 1.25;
}
.t-hero__features svg {
  width: 20px; height: 20px; flex-shrink: 0; color: var(--color-accent);
}

/* Tabs d'ancoratge ràpides */
.t-tabs {
  position: relative; z-index: 1;
  display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center;
  margin-top: 1.75rem;
}
.t-tab {
  padding: 0.55rem 1.2rem; border-radius: 999px;
  background: rgba(255,255,255,0.08); color: var(--color-white);
  font-family: var(--font-title); font-weight: var(--fw-semibold);
  font-size: var(--text-sm); transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.t-tab:hover {
  background: rgba(212,168,67,0.16);
  border-color: rgba(212,168,67,0.5);
  color: var(--color-accent-l);
  transform: translateY(-2px);
}

/* Botó "Estadístiques del torneig" — enllaça amb Scored.
   Pastilla fosca perquè el logotip llima de Scored ressalti
   i lligui amb els capçals foscos de les targetes de classificació. */
.scored-stats {
  display: inline-flex; align-items: center; gap: 0.85rem;
  margin-top: 1.6rem;
  padding: 0.65rem 1.3rem;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--color-dark), var(--color-dark-2));
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--color-white);
  font-family: var(--font-title); font-weight: var(--fw-semibold);
  font-size: var(--text-sm); line-height: 1;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.scored-stats:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(193,232,68,0.55);
}
.scored-stats svg {
  width: 18px; height: 18px; flex-shrink: 0;
  color: var(--color-accent-l);
}
.scored-stats__divider {
  width: 1px; height: 16px; flex-shrink: 0;
  background: rgba(255,255,255,0.2);
}
.scored-stats__logo {
  height: 15px; width: auto; display: block; flex-shrink: 0;
}

/* ================================================================
   Capçaleres de secció compartides
   ================================================================ */
.t-section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.t-section--alt { background: var(--color-bg-alt); }
.t-section__head { text-align: center; margin-bottom: 2.5rem; }

/* ================================================================
   1. GRUPS + CLASSIFICACIONS
   ================================================================ */
.standings-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.5rem;
}
@media (min-width: 900px) {
  .standings-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

.standings-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
}
.standings-card:hover { box-shadow: var(--shadow-lg); }
.standings-card__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.25rem;
  background:
    radial-gradient(ellipse 50% 150% at 90% 50%, rgba(45,106,79,0.35), transparent 70%),
    linear-gradient(120deg, var(--color-dark), var(--color-dark-2));
  color: var(--color-white);
}
.group-pill {
  display: inline-flex; align-items: center;
  font-family: var(--font-title); font-weight: var(--fw-bold);
  font-size: var(--text-lg); letter-spacing: 0.01em;
  padding: 0.2rem 0.85rem; border-radius: 999px;
}
.group-pill--a { background: var(--color-primary); color: #fff; }
.group-pill--b { background: var(--color-club-red); color: #fff; }
.group-court {
  font-size: var(--text-xs); letter-spacing: 0.1em; text-transform: uppercase;
  opacity: 0.7; font-weight: var(--fw-semibold);
}

.standings-table-wrap { overflow-x: auto; }
.standings-table {
  width: 100%; border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
.standings-table th, .standings-table td {
  padding: 0.7rem 0.4rem; text-align: center; white-space: nowrap;
}
.standings-table thead th {
  font-family: var(--font-title); font-size: var(--text-xs);
  text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--color-text-muted); font-weight: var(--fw-semibold);
  border-bottom: 2px solid var(--color-border);
}
.standings-table .st-pos { width: 2rem; color: var(--color-text-light); font-weight: var(--fw-bold); }
.standings-table .st-team { text-align: left; }
.standings-table th.st-team { padding-left: 0.75rem; }
.st-team {
  display: flex; align-items: center; gap: 0.6rem;
  text-align: left; padding-left: 0.75rem !important;
}
.st-logo { width: 30px; height: 30px; object-fit: contain; flex-shrink: 0; }
.st-name {
  font-weight: var(--fw-semibold); color: var(--color-text);
  font-size: var(--text-sm); line-height: 1.2;
}
.st-pts {
  font-family: var(--font-title); font-weight: var(--fw-bold);
  font-size: var(--text-lg); color: var(--color-primary);
}
.standing-row { border-bottom: 1px solid var(--color-border); }
.standing-row:last-child { border-bottom: none; }
.standing-row--qualify { background: rgba(45,106,79,0.06); }
.standing-row--qualify .st-pos { color: var(--color-primary); }
.standing-row--qualify td:first-child {
  box-shadow: inset 3px 0 0 var(--color-primary);
}

.standings-qualify {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.25rem; margin: 0;
  font-size: var(--text-xs); color: var(--color-text-muted);
  background: var(--color-bg-alt); border-top: 1px solid var(--color-border);
}
.qualify-dot {
  width: 10px; height: 10px; border-radius: 3px;
  background: var(--color-primary); flex-shrink: 0;
}
.standings-legend {
  text-align: center; margin-top: 1.5rem;
  font-size: var(--text-xs); color: var(--color-text-muted);
  max-width: 720px; margin-left: auto; margin-right: auto;
}

@media (max-width: 560px) {
  .st-hide-sm { display: none; }
  .st-logo { width: 22px; height: 22px; }

  /* En mòbil, els equips amb noms llargs (Grup B: "Veterans FC Barcelona",
     "No Surrender Towers", "French Connection") feien que la taula fos més
     ampla que la targeta i la columna de Punts quedava tallada fora de
     pantalla. Amb table-layout:fixed la taula s'ajusta al 100% de l'amplada
     i el nom llarg passa a dues línies, així totes les columnes hi caben. */
  .standings-table { table-layout: fixed; }
  .standings-table th,
  .standings-table td { padding: 0.55rem 0.25rem; }
  .standings-table thead th { letter-spacing: 0; }
  .standings-table .st-pos { width: 1.6rem; }
  .standings-table th:not(.st-team):not(.st-pos),
  .standings-table td:not(.st-team):not(.st-pos) { width: 2.8rem; }
  .standings-table th.st-team { padding-left: 0.5rem; }
  .st-team {
    gap: 0.4rem;
    white-space: normal;
    padding-left: 0.5rem !important;
  }
  .st-name {
    font-size: var(--text-xs);
    white-space: normal;
    min-width: 0;
    line-height: 1.2;
  }
  .st-pts { font-size: var(--text-base); }
}

/* ================================================================
   2. RESULTATS (editables)
   ================================================================ */
.results-toolbar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1rem; margin-bottom: 1.75rem;
}
#results-save-hint {
  font-size: var(--text-xs); color: var(--color-text-muted);
  display: inline-flex; align-items: center; gap: 0.4rem;
}
.btn-reset {
  font-family: var(--font-title); font-weight: var(--fw-semibold);
  font-size: var(--text-xs); color: var(--color-club-red);
  padding: 0.5rem 0.9rem; border-radius: var(--radius-sm);
  border: 1px solid rgba(192,57,43,0.3); background: rgba(192,57,43,0.05);
  transition: var(--transition);
}
.btn-reset:hover { background: rgba(192,57,43,0.12); }

/* Estat "en directe" (mode Google Sheet) */
.results-toolbar:empty { display: none; }
.live-badge {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-family: var(--font-title); font-weight: var(--fw-bold);
  font-size: var(--text-xs); letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--color-club-red);
  padding: 0.4rem 0.9rem; border-radius: 999px;
  background: rgba(192,57,43,0.08);
}
.live-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--color-club-red);
  box-shadow: 0 0 0 0 rgba(192,57,43,0.6);
  animation: live-pulse 1.8s infinite;
}
@keyframes live-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(192,57,43,0.5); }
  70%  { box-shadow: 0 0 0 8px rgba(192,57,43,0); }
  100% { box-shadow: 0 0 0 0 rgba(192,57,43,0); }
}
.live-spacer { display: inline-flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.live-status { font-size: var(--text-xs); color: var(--color-text-muted); }
.live-status--err { color: var(--color-club-red); }

/* Marcador en solo-lectura (visitants) */
.score-static {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 48px; height: 48px; padding: 0 0.5rem;
  font-family: var(--font-title); font-weight: var(--fw-bold);
  font-size: var(--text-2xl); color: var(--color-dark);
}
.tl-result {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: var(--text-xs); font-weight: var(--fw-semibold);
  color: var(--color-primary);
  background: rgba(45,106,79,0.1); padding: 0.2rem 0.6rem; border-radius: 999px;
}
.shootout--ro { border-top: none; padding-top: 0.5rem; }
.bscore--ro {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; flex-shrink: 0;
  font-family: var(--font-title); font-weight: var(--fw-bold);
  font-size: var(--text-lg); color: #fff;
}

.slot {
  display: grid; grid-template-columns: 64px 1fr; gap: 1rem;
  align-items: start; margin-bottom: 1.25rem;
}
.slot__time {
  display: inline-flex; align-items: center; gap: 0.3rem;
  flex-direction: column;
  font-family: var(--font-title); font-weight: var(--fw-bold);
  font-size: var(--text-sm); color: var(--color-dark);
  background: var(--gradient-gold);
  box-shadow: 0 4px 14px rgba(212,168,67,0.3);
  padding: 0.6rem 0.4rem; border-radius: var(--radius);
  text-align: center; position: sticky; top: calc(var(--nav-height) + 8px);
}
.slot__time svg { width: 16px; height: 16px; }
.slot__matches { display: grid; gap: 0.75rem; }

.match {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0.9rem 1rem;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.match:hover {
  box-shadow: var(--shadow);
  border-color: rgba(45,106,79,0.25);
}
.match__court {
  position: absolute; top: -9px; left: 1rem;
  font-size: 10px; font-weight: var(--fw-bold); letter-spacing: 0.06em;
  text-transform: uppercase; color: #fff;
  padding: 0.1rem 0.55rem; border-radius: 999px;
}
.match__court.group-pill--a { background: var(--color-primary); }
.match__court.group-pill--b { background: var(--color-club-red); }

.match__teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 0.5rem;
}
.match-side {
  display: flex; align-items: center; gap: 0.7rem;
  min-width: 0;
}
.match-side--home { justify-content: flex-end; text-align: right; }
.match-side--away { justify-content: flex-start; text-align: left; }
.match-side__logo {
  width: 54px; height: 54px; object-fit: contain; flex-shrink: 0;
  transition: var(--transition);
}
.match-side__name {
  font-family: var(--font-title); font-weight: var(--fw-semibold);
  font-size: var(--text-sm); color: var(--color-text);
  line-height: 1.15;
}
.match-side--win .match-side__name { color: var(--color-primary); }
.match-side--win .match-side__logo { transform: scale(1.08); }

.match__score {
  display: flex; align-items: center; gap: 0.4rem;
}
.score-input {
  width: 48px; height: 48px; text-align: center;
  font-family: var(--font-title); font-weight: var(--fw-bold);
  font-size: var(--text-xl); color: var(--color-dark);
  border: 2px solid var(--color-border); border-radius: var(--radius-sm);
  background: var(--color-bg-alt); transition: var(--transition-fast);
  -moz-appearance: textfield;
}
.score-input::-webkit-outer-spin-button,
.score-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.score-input:focus {
  outline: none; border-color: var(--color-primary);
  background: #fff; box-shadow: 0 0 0 3px rgba(45,106,79,0.15);
}
.match__vs {
  font-family: var(--font-title); font-size: var(--text-xs);
  color: var(--color-text-light); text-transform: uppercase; font-weight: var(--fw-bold);
}

/* Tanda de tirs lliures (empat) */
.shootout {
  margin-top: 0.85rem; padding-top: 0.85rem;
  border-top: 1px dashed var(--color-border);
  text-align: center;
}
.shootout__hint {
  display: block; font-size: var(--text-xs);
  color: var(--color-club-red); margin-bottom: 0.5rem; font-weight: var(--fw-medium);
}
.shootout__opts {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
}
.shootout__btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.35rem 0.7rem; border-radius: 999px;
  border: 1.5px solid var(--color-border); background: var(--color-white);
  font-size: var(--text-xs); font-weight: var(--fw-semibold);
  color: var(--color-text-muted); transition: var(--transition-fast);
}
.shootout__btn:hover { border-color: var(--color-accent); }
.shootout__btn.is-active {
  border-color: var(--color-primary); background: rgba(45,106,79,0.1);
  color: var(--color-primary);
}
.shootout__logo { width: 22px; height: 22px; object-fit: contain; }
.shootout__lbl { font-size: var(--text-xs); color: var(--color-text-muted); font-weight: var(--fw-medium); }

@media (max-width: 560px) {
  /* L'hora deixa de ser una columna lateral i passa a ser una línia
     pròpia a sobre dels partits, alliberant tota l'amplada per a les
     targetes (abans els noms de l'equip visitant quedaven tallats). */
  .slot { display: block; margin-bottom: 1.75rem; text-align: center; }
  .slot__time {
    flex-direction: row;
    position: static;
    width: auto;
    margin-bottom: 0.85rem;
    padding: 0.35rem 0.8rem;
    gap: 0.4rem;
    font-size: var(--text-xs);
    border-radius: 999px;
  }
  .slot__matches { gap: 1.1rem; text-align: left; }

  .match-side__logo { width: 40px; height: 40px; }
  .match-side__name { font-size: var(--text-xs); }
  .score-input { width: 42px; height: 42px; font-size: var(--text-lg); }
  .score-static { min-width: 42px; height: 42px; font-size: var(--text-xl); }
  .match__teams { gap: 0.35rem; }
}

/* ================================================================
   3. FASE FINAL — Final Four bracket
   ================================================================ */
.bracket-section {
  background:
    radial-gradient(ellipse 60% 50% at 80% 10%, rgba(212,168,67,0.12), transparent 55%),
    radial-gradient(ellipse 70% 60% at 15% 85%, rgba(45,106,79,0.35), transparent 60%),
    linear-gradient(135deg, #101310, #182019);
  color: var(--color-white);
}
.bracket-section .t-section__head .section__title { color: #fff; }

.bracket {
  max-width: 1100px; margin: 0 auto;
}
.bracket-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem; align-items: center;
}
@media (min-width: 900px) {
  .bracket-grid {
    grid-template-columns: 1fr 1.25fr 1fr;
    gap: 1rem;
  }
}

.bracket-col--final { order: -1; }
@media (min-width: 900px) {
  .bracket-col--final { order: 0; }
}

.bracket-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 0.75rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.25);
}
.bracket-card__title {
  text-align: center;
  font-family: var(--font-title); font-weight: var(--fw-bold);
  font-size: var(--text-xs); letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--color-accent); margin-bottom: 0.6rem;
}
.bteam {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.55rem 0.6rem; border-radius: var(--radius-sm);
  background: rgba(0,0,0,0.25); margin-bottom: 0.4rem;
  transition: var(--transition);
}
.bteam:last-of-type { margin-bottom: 0; }
.bteam__logo {
  width: 46px; height: 46px; object-fit: contain; flex-shrink: 0;
  background: rgba(255,255,255,0.92); border-radius: 8px; padding: 3px;
}
.bteam__logo--ph {
  background: rgba(255,255,255,0.08);
  border: 1px dashed rgba(255,255,255,0.25);
}
.bteam__name {
  flex: 1; min-width: 0;
  font-family: var(--font-title); font-weight: var(--fw-semibold);
  font-size: var(--text-sm); color: #fff; line-height: 1.15;
}
.bteam__name--ph { color: rgba(255,255,255,0.45); font-weight: var(--fw-medium); font-style: italic; }
.bscore {
  width: 44px; height: 44px; text-align: center; flex-shrink: 0;
  font-family: var(--font-title); font-weight: var(--fw-bold);
  font-size: var(--text-lg); color: #fff;
  background: rgba(255,255,255,0.1);
  border: 2px solid rgba(255,255,255,0.18); border-radius: var(--radius-sm);
  -moz-appearance: textfield;
}
.bscore::-webkit-outer-spin-button,
.bscore::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.bscore:focus { outline: none; border-color: var(--color-accent); background: rgba(255,255,255,0.18); }
.bscore:disabled { opacity: 0.4; cursor: not-allowed; }
.bteam--win {
  background: rgba(212,168,67,0.18);
  box-shadow: inset 0 0 0 1.5px var(--color-accent);
}
.bteam--win .bteam__name { color: var(--color-accent); }

/* Final destacada */
.final-wrap { position: relative; }
/* Gran final única (sense semifinals): targeta centrada */
.final-wrap--solo { max-width: 460px; margin: 0 auto; }
.bracket-card--final {
  background: rgba(212,168,67,0.1);
  border-color: rgba(212,168,67,0.4);
  box-shadow: var(--shadow-lg);
}
.final-trophy {
  width: 56px; height: 56px; margin: 0 auto 0.75rem;
  display: flex; align-items: center; justify-content: center;
  background: var(--color-accent); border-radius: 50%;
  color: var(--color-dark);
}
.final-trophy svg { width: 30px; height: 30px; }

.champion {
  margin-top: 1rem; text-align: center;
  padding: 1rem; border-radius: var(--radius);
  background: rgba(0,0,0,0.3); border: 1px dashed rgba(255,255,255,0.2);
}
.champion.is-set {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-d));
  border: none; color: var(--color-dark);
  box-shadow: 0 8px 30px rgba(212,168,67,0.35);
}
.champion__label {
  display: block; font-family: var(--font-title); font-weight: var(--fw-bold);
  font-size: var(--text-xs); letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 0.5rem; opacity: 0.85;
}
.champion__name {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-title); font-weight: var(--fw-bold);
  font-size: var(--text-xl);
}
.champion__logo {
  width: 40px; height: 40px; object-fit: contain;
  background: #fff; border-radius: 8px; padding: 3px;
}
.champion .tbd { color: rgba(255,255,255,0.5); font-style: italic; font-size: var(--text-base); }

/* Connectors visuals (només desktop) */
@media (min-width: 900px) {
  .bracket-col--semi { position: relative; }
  .bracket-col--semi::after {
    content: ""; position: absolute; top: 50%;
    width: 1rem; height: 2px; background: rgba(255,255,255,0.2);
  }
  .bracket-col--semi:first-child::after { right: -1rem; }
  .bracket-col--semi:last-child::after  { left: -1rem; }
}
.bracket-info {
  text-align: center; margin-top: 2rem;
  font-size: var(--text-sm); color: rgba(255,255,255,0.6);
}

/* ================================================================
   Footer mínim de pàgina
   ================================================================ */
.t-back {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-title); font-weight: var(--fw-semibold);
  font-size: var(--text-sm); color: var(--color-primary);
}
