/* ============================================================
   HockeyPista.info — Modern Mobile-First Design
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:       #0b6e4f;
  --blue-dark:  #05402d;
  --accent:     #ea580c;
  --red:        #dc2626;
  --bg:         #f1f5f9;
  --card-bg:    #ffffff;
  --border:     #e2e8f0;
  --text:       #0f172a;
  --muted:      #64748b;
  --win:        #16a34a;
  --draw:       #d97706;
  --loss:       #dc2626;
  --radius:     10px;
  --radius-sm:  6px;
  --shadow:     0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:  0 4px 12px rgba(0,0,0,.1);
  --font:       system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --fed-color:  var(--blue);
  --bottom-nav-h: 60px;  /* altezza bottom nav mobile */
}

html { font-size: 16px; scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-text-size-adjust: 100%;
  /* spazio per il bottom nav su mobile */
  padding-bottom: var(--bottom-nav-h);
}
@media (min-width: 768px) { body { padding-bottom: 0; } }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

/* ─── Layout ────────────────────────────────────────────── */
.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 24px; } }

.layout-2col { display: flex; flex-direction: column; gap: 20px; }
@media (min-width: 900px) {
  .layout-2col { flex-direction: row; align-items: flex-start; }
  .layout-2col .main   { flex: 1 1 0; min-width: 0; }
  .layout-2col .sidebar { flex: 0 0 270px; }
}

/* ─── Header ────────────────────────────────────────────── */
.site-header {
  background: var(--fed-color);
  color: #fff;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 200;
}
/* Desktop: nav orizzontale inline */
.header-inner {
  display: flex;
  align-items: stretch;
  min-height: 52px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px 10px 0;
  text-decoration: none;
  flex-shrink: 0;
}
.site-logo:hover { text-decoration: none; }
.topbar-brand-icon { font-size: 1.2rem; }
.logo-fed  { font-size: 1.15rem; font-weight: 900; color: #fff; letter-spacing: -.3px; }
.logo-fed span { color: #86efac; }
.logo-sub  { font-size: .65rem; color: rgba(255,255,255,.65); font-weight: 500; text-transform: uppercase; letter-spacing: .08em; }

.site-nav {
  display: flex;
  align-items: stretch;
  gap: 0;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
}
.site-nav::-webkit-scrollbar { display: none; }
.site-nav a {
  display: flex;
  align-items: center;
  padding: 0 14px;
  color: rgba(255,255,255,.75);
  font-size: .82rem;
  font-weight: 600;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: color .15s, border-color .15s, background .15s;
  text-decoration: none;
}
.site-nav a:hover { color: #fff; background: rgba(0,0,0,.12); text-decoration: none; }
.site-nav a.active { color: #fff; border-bottom-color: rgba(255,255,255,.9); }

/* Follow trigger */
.follow-btn-trigger {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 14px;
  background: none;
  border: none;
  border-left: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.75);
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
  transition: color .15s, background .15s;
}
.follow-btn-trigger:hover { color: #fff; background: rgba(255,255,255,.07); }
.follow-count {
  background: #f59e0b;
  color: #000;
  border-radius: 10px;
  padding: 0 5px;
  font-size: .68rem;
  font-weight: 800;
  min-width: 18px;
  text-align: center;
}

/* Hamburger — nascosto su desktop */
.nav-toggle { display: none; }

/* Menu mobile slide-down */
@media (max-width: 767px) {
  .header-inner { flex-wrap: wrap; padding: 10px 16px; gap: 8px; min-height: auto; }
  .site-logo { padding: 0; }
  .site-logo .logo-fed { font-size: 1rem; }

  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    background: rgba(255,255,255,.15);
    border: none;
    border-radius: 6px;
    color: #fff;
    padding: 6px 10px;
    cursor: pointer;
    font-size: .82rem;
    font-weight: 600;
    gap: 5px;
  }

  /* Nav orizzontale scrollabile sotto il logo su mobile */
  .site-nav {
    width: 100%;
    flex-basis: 100%;
    gap: 0;
    border-top: 1px solid rgba(255,255,255,.15);
    padding: 4px 0;
    overflow-x: auto;
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a {
    padding: 8px 14px;
    border-bottom: none;
    border-radius: 6px;
    font-size: .85rem;
  }
  .site-nav a.active { background: rgba(255,255,255,.2); }
}

/* ─── Bottom Navigation (mobile only) ───────────────────── */
.bottom-nav {
  display: none;
}
@media (max-width: 767px) {
  .bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0; right: 0;
    height: var(--bottom-nav-h);
    background: var(--fed-color);
    z-index: 150;
    box-shadow: 0 -2px 12px rgba(0,0,0,.2);
  }
  .bottom-nav a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: rgba(255,255,255,.6);
    font-size: .6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    text-decoration: none;
    padding: 6px 4px 8px;
    transition: color .15s, background .15s;
    border-top: 2px solid transparent;
  }
  .bottom-nav a:hover { text-decoration: none; }
  .bottom-nav a.active { color: #fff; border-top-color: rgba(255,255,255,.9); }
  .bottom-nav a .bnav-icon { font-size: 1.2rem; line-height: 1; }
  .bottom-nav a .bnav-label { line-height: 1; }
}

/* ─── Follow Panel ──────────────────────────────────────── */
.follow-panel {
  position: fixed;
  top: 0; right: -320px;
  width: min(300px, 90vw);
  height: 100vh;
  background: var(--card-bg);
  box-shadow: -4px 0 24px rgba(0,0,0,.18);
  z-index: 300;
  transition: right .25s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column;
}
.follow-panel.open { right: 0; }
.follow-panel-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px;
  background: #0a1f18; color: #fff;
  font-weight: 700; font-size: .95rem;
}
.follow-panel-close {
  background: none; border: none; color: rgba(255,255,255,.7);
  cursor: pointer; font-size: 1.2rem; padding: 2px 6px; line-height: 1;
}
.follow-panel-close:hover { color: #fff; }
.follow-panel-body { flex: 1; overflow-y: auto; padding: 16px; }
.follow-empty { color: var(--muted); font-size: .875rem; text-align: center; padding: 20px 0; line-height: 1.6; }
.follow-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.45); z-index: 295;
}
.follow-overlay.open { display: block; }
.follow-item {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 0; border-bottom: 1px solid var(--border); font-size: .875rem;
}
.follow-item:last-child { border-bottom: none; }
.follow-item img { width: 26px; height: 26px; object-fit: contain; flex-shrink: 0; }
.follow-item a { color: var(--text); font-weight: 600; flex: 1; }
.follow-remove { background: none; border: none; color: var(--muted); cursor: pointer; padding: 4px 6px; border-radius: 4px; }
.follow-remove:hover { color: var(--loss); background: #fef2f2; }

/* Follow button (schede) */
.btn-follow {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 18px; border-radius: 20px;
  border: 2px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.1); color: rgba(255,255,255,.85);
  font-size: .85rem; font-weight: 700; cursor: pointer;
  transition: all .15s; backdrop-filter: blur(4px);
}
.btn-follow:hover { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-follow.followed { border-color: #fbbf24; background: rgba(251,191,36,.15); color: #fbbf24; }
.btn-follow .star { font-size: 1rem; }
.btn-follow:disabled { opacity: .45; cursor: not-allowed; }

/* ─── Breadcrumb ────────────────────────────────────────── */
.breadcrumb {
  font-size: .78rem; color: rgba(255,255,255,.6);
  padding: 8px 0; display: flex; gap: 5px; flex-wrap: wrap; align-items: center;
}
.breadcrumb a { color: rgba(255,255,255,.6); }
.breadcrumb a:hover { color: rgba(255,255,255,.9); }
.breadcrumb span { color: rgba(255,255,255,.9); font-weight: 600; }
.breadcrumb .sep { color: rgba(255,255,255,.35); }

/* ─── Page Header ───────────────────────────────────────── */
.page-header {
  background: linear-gradient(160deg, var(--fed-color) 0%, color-mix(in srgb, var(--fed-color) 60%, #000) 100%);
  color: #fff; padding: 24px 0 20px; margin-bottom: 20px;
}
.page-header h1 { font-size: clamp(1.25rem, 4vw, 1.85rem); font-weight: 900; line-height: 1.15; }
.page-header .subtitle { color: rgba(255,255,255,.7); font-size: .88rem; margin-top: 4px; }
.page-header .meta {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-top: 8px; font-size: .8rem; color: rgba(255,255,255,.6);
}
.page-header .page-actions { margin-top: 12px; display: flex; gap: 8px; flex-wrap: wrap; }

/* ─── Cards ─────────────────────────────────────────────── */
.card {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
}
.card-header {
  padding: 12px 16px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.card-header h2 { font-size: .9rem; font-weight: 700; }
.card + .card { margin-top: 14px; }

/* ─── Badge ─────────────────────────────────────────────── */
.badge {
  font-size: .68rem; font-weight: 700; letter-spacing: .04em;
  background: var(--fed-color); color: #fff;
  padding: 2px 8px; border-radius: 20px; white-space: nowrap;
}
.badge-gray { background: #e2e8f0; color: var(--muted); }

/* ─── Standings table ───────────────────────────────────── */
.standings-table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.standings-table thead th {
  background: #f8fafc; color: var(--muted);
  font-size: .68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; padding: 8px; text-align: center; white-space: nowrap;
  border-bottom: 1px solid var(--border);
}
.standings-table thead th.left { text-align: left; }
.standings-table tbody tr { border-bottom: 1px solid var(--border); transition: background .1s; }
.standings-table tbody tr:last-child { border-bottom: none; }
.standings-table tbody tr:hover { background: #f8fafc; }
.standings-table tbody tr.highlight { background: #ecfdf5; }
.standings-table td { padding: 9px 8px; text-align: center; white-space: nowrap; }
.standings-table td.left { text-align: left; }

.pos-cell { font-weight: 700; color: var(--muted); font-size: .78rem; width: 26px; }
.team-cell { display: flex; align-items: center; gap: 8px; }
.team-logo { width: 22px; height: 22px; object-fit: contain; flex-shrink: 0; }
.team-logo-ph { width: 22px; height: 22px; background: var(--border); border-radius: 50%; flex-shrink: 0; }
.team-name-link { color: var(--text); font-weight: 600; font-size: .875rem; }
.team-name-link:hover { color: var(--accent); text-decoration: none; }
.pts-cell { font-weight: 800; font-size: 1rem; color: var(--fed-color); }

@media (max-width: 600px) { .col-gf, .col-gc, .col-dif { display: none; } }

/* ─── Match rows ────────────────────────────────────────── */
.matches-list { list-style: none; }
.match-date-sep {
  font-size: .7rem; font-weight: 700; color: var(--muted);
  text-transform: uppercase; letter-spacing: .06em;
  padding: 6px 14px; background: #f8fafc;
  border-bottom: 1px solid var(--border);
}
.journey-header {
  font-size: .7rem; font-weight: 700; color: var(--muted);
  text-transform: uppercase; letter-spacing: .04em;
  padding: 6px 14px 4px; background: #f8fafc;
  border-bottom: 1px solid var(--border);
}
.match-row {
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 6px; padding: 9px 14px;
  border-bottom: 1px solid var(--border); font-size: .875rem;
  text-decoration: none; color: inherit; transition: background .1s;
}
.match-row:last-child { border-bottom: none; }
.match-row:hover { background: #f8fafc; }
.match-team { display: flex; align-items: center; gap: 6px; }
.match-team.away { justify-content: flex-end; flex-direction: row-reverse; }
.match-team-logo { width: 20px; height: 20px; object-fit: contain; flex-shrink: 0; }
.match-team-name {
  font-weight: 600; color: var(--text); font-size: .82rem;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 115px;
}
@media (min-width: 480px) { .match-team-name { max-width: 180px; } }
@media (min-width: 900px) { .match-team-name { max-width: none; white-space: normal; } }

.match-score {
  text-align: center; font-weight: 800; font-size: 1rem; color: var(--text);
  min-width: 62px; background: #f1f5f9; border-radius: var(--radius-sm);
  padding: 3px 8px; letter-spacing: 1px;
}
.match-score.pending { font-size: .72rem; font-weight: 500; color: var(--muted); letter-spacing: 0; line-height: 1.4; }

/* ─── Competition grid ──────────────────────────────────── */
.comp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 12px; margin-top: 16px;
}
.comp-card {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 14px;
  display: flex; flex-direction: column; gap: 5px;
  box-shadow: var(--shadow); color: inherit;
  transition: box-shadow .15s, border-color .15s, transform .1s;
}
.comp-card:hover {
  box-shadow: var(--shadow-md); border-color: var(--accent);
  transform: translateY(-1px); text-decoration: none;
}
.comp-card-name { font-weight: 700; font-size: .9rem; color: var(--text); line-height: 1.3; }
.comp-card-meta { font-size: .75rem; color: var(--muted); }

/* ─── Ranking table ─────────────────────────────────────── */
.ranking-table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.ranking-table thead th {
  background: #f8fafc; color: var(--muted);
  font-size: .68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .05em; padding: 7px 8px; text-align: center; white-space: nowrap;
  border-bottom: 1px solid var(--border);
}
.ranking-table thead th.left { text-align: left; }
.ranking-table tbody tr { border-bottom: 1px solid var(--border); transition: background .1s; }
.ranking-table tbody tr:last-child { border-bottom: none; }
.ranking-table tbody tr:hover { background: #f8fafc; }
.ranking-table td { padding: 9px 8px; text-align: center; white-space: nowrap; }
.ranking-table td.left { text-align: left; }
.player-cell { display: flex; align-items: center; gap: 7px; }
.player-cell img { width: 18px; height: 14px; object-fit: contain; }
.stat-big { font-weight: 800; font-size: 1.05rem; color: var(--fed-color); }

/* ─── Stat boxes (scheda giocatore) ─────────────────────── */
.stat-boxes {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 10px; margin: 16px 0;
}
.stat-box {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 14px 10px; text-align: center;
}
.stat-box-val { font-size: 1.7rem; font-weight: 900; color: var(--fed-color); line-height: 1; }
.stat-box-label { font-size: .68rem; color: var(--muted); margin-top: 4px; text-transform: uppercase; letter-spacing: .06em; }

/* ─── Tabs ──────────────────────────────────────────────── */
.tabs {
  display: flex; border-bottom: 2px solid var(--border);
  overflow-x: auto; scrollbar-width: none; gap: 0;
}
.tabs::-webkit-scrollbar { display: none; }
.tab-btn {
  padding: 10px 16px; font-size: .85rem; font-weight: 600;
  color: var(--muted); border: none; background: none; cursor: pointer;
  white-space: nowrap; border-bottom: 2px solid transparent; margin-bottom: -2px;
  transition: color .15s, border-color .15s; flex-shrink: 0;
}
.tab-btn.active { color: var(--fed-color); border-bottom-color: var(--fed-color); }
.tab-btn:hover { color: var(--fed-color); }
.tab-panel { display: none; padding-top: 16px; }
.tab-panel.active { display: block; }

/* ─── Section title ─────────────────────────────────────── */
.section-title {
  font-size: 1.1rem; font-weight: 800; color: var(--text);
  margin-bottom: 12px; padding-bottom: 8px;
  border-bottom: 3px solid var(--fed-color);
  display: inline-block;
}

/* ─── Entity header (squadra/giocatore) ─────────────────── */
.entity-header { display: flex; align-items: center; gap: 16px; padding: 12px 0 8px; }
.entity-logo { width: 60px; height: 60px; object-fit: contain; flex-shrink: 0; }
.entity-header h1 { font-size: clamp(1.15rem, 3.5vw, 1.65rem); font-weight: 900; }
.entity-header .subtitle { font-size: .82rem; color: rgba(255,255,255,.65); margin-top: 2px; }

/* ─── Cookie banner (GDPR) ───────────────────────────────── */
.cookie-banner {
  position: fixed; bottom: var(--bottom-nav-h); left: 0; right: 0;
  background: #0a1f18; color: rgba(255,255,255,.88); z-index: 400;
  border-top: 3px solid #f59e0b;
  box-shadow: 0 -4px 24px rgba(0,0,0,.3);
}
@media (min-width: 768px) { .cookie-banner { bottom: 0; } }
.cookie-inner {
  max-width: 1140px; margin: 0 auto; padding: 14px 16px;
  display: flex; gap: 16px; align-items: center; flex-wrap: wrap;
}
.cookie-text { flex: 1; font-size: .875rem; line-height: 1.55; }
.cookie-link { color: #f59e0b; }
.cookie-link:hover { color: #fcd34d; }
.cookie-btns { display: flex; gap: 8px; flex-shrink: 0; align-items: center; }
.cookie-btn { padding: 9px 20px; border-radius: var(--radius-sm); cursor: pointer; font-size: .875rem; font-weight: 700; transition: opacity .15s; white-space: nowrap; }
.cookie-btn:hover { opacity: .82; }
.cookie-btn-reject { background: transparent; border: 2px solid rgba(255,255,255,.35); color: rgba(255,255,255,.8); }
.cookie-btn-reject:hover { border-color: rgba(255,255,255,.7); color: #fff; }
.cookie-btn-accept { background: #f59e0b; border: 2px solid #f59e0b; color: #000; }
@media (max-width: 540px) {
  .cookie-inner { flex-direction: column; gap: 12px; }
  .cookie-btns { width: 100%; }
  .cookie-btn { flex: 1; text-align: center; }
}

/* ─── Footer ────────────────────────────────────────────── */
.site-footer { background: #0a1f18; color: rgba(255,255,255,.5); text-align: center; padding: 20px 16px; font-size: .78rem; }
.site-footer a { color: rgba(255,255,255,.65); }
.site-footer a:hover { color: #fff; }

/* ─── Utils ─────────────────────────────────────────────── */
.mt-16 { margin-top: 16px; }
.mt-20 { margin-top: 20px; }
.mb-16 { margin-bottom: 16px; }
.mb-20 { margin-bottom: 20px; }
.text-muted { color: var(--muted); }
.empty-state { padding: 36px 20px; text-align: center; color: var(--muted); font-size: .9rem; line-height: 1.6; }

/* ─── Home Hero ─────────────────────────────────────────── */
.home-hero {
  background: linear-gradient(135deg, #0a1f18 0%, #0b6e4f 60%, #05402d 100%);
  color: #fff;
  padding: 40px 0 36px;
  position: relative;
  overflow: hidden;
}
.home-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(234,88,12,.18) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; }
.hero-text h1 {
  font-size: clamp(1.9rem, 6vw, 3.2rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.5px;
}
.hero-accent { color: #fb923c; }
.hero-sub { color: rgba(255,255,255,.7); font-size: clamp(.9rem, 2.5vw, 1.1rem); margin-top: 8px; }
.hero-season { color: rgba(255,255,255,.45); font-size: .8rem; margin-top: 4px; }

.hero-stats {
  display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px;
}
.hero-stat {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 8px;
  padding: 8px 14px;
  text-align: center;
  backdrop-filter: blur(4px);
}
.hero-stat strong { display: block; font-size: 1.4rem; font-weight: 900; line-height: 1; }
.hero-stat span { font-size: .68rem; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: .05em; }

.hero-ctas { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.hero-cta-btn {
  display: inline-flex; align-items: center;
  padding: 9px 18px; border-radius: 20px;
  font-weight: 700; font-size: .85rem;
  color: #fff; text-decoration: none;
  border: 2px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.1);
  transition: background .15s, border-color .15s;
}
.hero-cta-btn:hover { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.5); text-decoration: none; }
.hero-cta-btn.fisr { border-color: rgba(251,146,60,.5); }

/* ─── Section headers ────────────────────────────────────── */
.section-header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-bottom: 12px; flex-wrap: wrap;
}
.section-title-sm {
  font-size: 1rem; font-weight: 800; color: var(--text);
}
.see-all { font-size: .82rem; color: var(--muted); white-space: nowrap; }
.see-all:hover { color: var(--accent); }

/* ─── Home grid (scorers + upcoming) ────────────────────── */
.home-grid {
  display: grid; grid-template-columns: 1fr; gap: 20px;
}
@media (min-width: 768px) {
  .home-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .home-grid { grid-template-columns: repeat(3, 1fr); }
}
.home-grid-col {}

/* Scorers list */
.scorers-list { list-style: none; padding: 0; }
.scorer-row {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-bottom: 1px solid var(--border);
  transition: background .1s;
}
.scorer-row:last-child { border-bottom: none; }
.scorer-row:hover { background: #f8fafc; }
.scorer-pos {
  font-size: .78rem; font-weight: 800; color: var(--muted);
  width: 20px; text-align: center; flex-shrink: 0;
}
.scorer-info { flex: 1; min-width: 0; }
.scorer-name {
  font-weight: 700; font-size: .875rem; color: var(--text);
  display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.scorer-name:hover { color: var(--accent); }
.scorer-meta { font-size: .72rem; color: var(--muted); margin-top: 2px; display: flex; align-items: center; gap: 3px; flex-wrap: wrap; }
.scorer-comp { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 120px; }
.scorer-goals { text-align: center; flex-shrink: 0; }
.scorer-goals strong { display: block; font-size: 1.2rem; font-weight: 900; color: var(--blue); line-height: 1; }
.scorer-goals span { font-size: .62rem; color: var(--muted); text-transform: uppercase; }

/* ─── Fed block (competizioni FISR) ──────────────────────── */
.fed-block { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.fed-block-header {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 20px; color: #fff;
}
.fed-block-header h2 { font-size: 1rem; font-weight: 800; }
.fed-block-header p { font-size: .78rem; color: rgba(255,255,255,.65); margin-top: 2px; }
.fed-block-header.fisr { background: var(--blue); }
.fed-block-link {
  color: rgba(255,255,255,.8); font-size: .82rem; font-weight: 700;
  white-space: nowrap; text-decoration: none; flex-shrink: 0;
}
.fed-block-link:hover { color: #fff; text-decoration: none; }

/* ─── SEO text ───────────────────────────────────────────── */
.seo-text h2 { color: var(--text); }
.seo-text p { font-size: .875rem; color: var(--muted); line-height: 1.65; margin-top: 8px; }
.seo-grid {
  display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 16px;
}
@media (min-width: 640px)  { .seo-grid { grid-template-columns: repeat(2, 1fr); } }
.seo-grid h3 { font-size: .875rem; font-weight: 800; color: var(--text); margin-bottom: 6px; }
.seo-grid p { font-size: .82rem; }

/* ─── Live badge ─────────────────────────────────────────── */
.badge-live { display:inline-flex;align-items:center;gap:4px;font-size:.68rem;font-weight:700;color:var(--red);text-transform:uppercase;letter-spacing:.04em; }
.badge-live::before { content:'';width:6px;height:6px;background:var(--red);border-radius:50%;animation:pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 0%,100%{opacity:1}50%{opacity:.25} }
