/* ==========================================================
   XTAG League — foglio di stile
   Direzione: sportiva, fotografica, editoriale. Fondo nero, arancione
   solo per le azioni principali e pochi accenti, due famiglie di caratteri
   (Archivo per titoli e testi, JetBrains Mono per date e dati tecnici).
   I colori sono tutti qui sotto: cambiandoli si aggiorna tutto il sito.
   ========================================================== */
@font-face { font-family: "Archivo"; src: url("fonts/archivo.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("fonts/jetbrains-mono.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --bg: #0d0d0e;
  --bg-2: #151517;          /* fasce e pannelli */
  --text: #d4d4d8;
  --text-strong: #ffffff;
  --muted: #9a9aa1;
  --accent: #e8653f;        /* arancione per accenti e testi in evidenza */
  --accent-btn: #bf4224;    /* fondo dei pulsanti principali */
  --accent-btn-hover: #a5391e;
  --line: #26262a;          /* filetti */
  --line-strong: #3a3a40;

  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --maxw: 74rem;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 6rem; }
body { margin: 0; color: var(--text); background: var(--bg); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--text-strong); text-decoration-color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent-btn); color: #fff; }

h1, h2, h3 { font-family: var(--sans); color: var(--text-strong); line-height: 1.1; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 6vw, 4.4rem); font-weight: 800; font-stretch: 82%; letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 750; font-stretch: 85%; }
h3 { font-size: 1.2rem; font-weight: 650; }
p { margin: 0 0 1em; max-width: 66ch; text-wrap: pretty; }
strong { color: var(--text-strong); font-weight: 650; }
time, .mono { font-family: var(--mono); font-size: .85em; letter-spacing: .01em; }
.wrap { width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--accent-btn); color: #fff; padding: .6rem 1rem; z-index: 99; }
.skip:focus { left: 0; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- testata ---------- */
.top { background: rgba(13,13,14,.97); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.top .wrap { display: flex; align-items: center; gap: .5rem 1.6rem; min-height: 4.2rem; flex-wrap: wrap; padding-block: .5rem; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--text-strong); font-weight: 800; font-stretch: 85%; font-size: 1.3rem; letter-spacing: .04em; text-transform: uppercase; margin-right: auto; }
.brand:hover { color: #fff; }
.brand img { width: 2.4rem; height: auto; }
.brand > span { display: flex; flex-direction: column; line-height: 1.1; }
.brand .nm { white-space: nowrap; }
.brand b { color: var(--accent); font-weight: 800; }
.brand small { font-size: .62rem; font-weight: 500; font-stretch: 100%; letter-spacing: .08em; color: var(--muted); margin-top: .15rem; }
.nav { display: flex; align-items: center; gap: .2rem 1.4rem; flex-wrap: wrap; }
.nav > ul { display: flex; gap: .2rem 1.3rem; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; align-items: center; }
.nav a, .altro summary { font-size: .98rem; font-weight: 550; text-decoration: none; color: var(--text); min-height: 2.75rem; display: inline-flex; align-items: center; }
.nav a:hover, .altro summary:hover { color: #fff; }
.nav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 var(--accent); }
.nav-app a { color: var(--accent); }
.nav-app a:hover { color: #fff; }
@media (display-mode: standalone) { .nav-app { display: none; } }
.altro { position: relative; }
.altro summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: .35rem; }
.altro summary::-webkit-details-marker { display: none; }
.altro summary::after { content: ""; width: .45rem; height: .45rem; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.altro[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.altro ul { position: absolute; right: 0; top: 100%; z-index: 30; list-style: none; margin: .3rem 0 0; padding: .4rem 0; min-width: 14rem; background: var(--bg-2); border: 1px solid var(--line-strong); box-shadow: 0 12px 30px rgba(0,0,0,.5); }
.altro li a { display: block; padding: .6rem 1rem; }
.altro li a:hover { background: #1d1d20; }
.btn-cta { font-size: .98rem; }
/* barra news sotto la testata */
.newsbar { border-bottom: 1px solid var(--line); background: var(--bg-2); }
.newsbar .wrap { display: flex; align-items: center; gap: .9rem; min-height: 2.6rem; }
.news-label { flex: none; font-size: .78rem; font-weight: 700; letter-spacing: .04em; color: #fff; background: var(--accent-btn); padding: .2rem .55rem; border-radius: 3px; }
.news-items { position: relative; flex: 1; min-width: 0; height: 1.6rem; }
.news-item { position: absolute; inset: 0; display: block; line-height: 1.6rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .92rem; color: var(--text); text-decoration: none; opacity: 0; visibility: hidden; transition: opacity .4s, visibility 0s linear .4s; }
.news-item.on { opacity: 1; visibility: visible; transition: opacity .4s; }
.news-item:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--accent); }
.news-item time { color: var(--muted); margin-right: .5rem; }
@media (prefers-reduced-motion: reduce) { .news-item, .news-item.on { transition: none; } }

/* ---------- pulsanti e link ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 2.9rem; font-family: var(--sans); font-weight: 650; font-size: 1.02rem; line-height: 1.2; text-decoration: none; padding: .75rem 1.35rem; background: var(--accent-btn); color: #fff; border: 1px solid var(--accent-btn); border-radius: 4px; cursor: pointer; }
.btn:hover { background: var(--accent-btn-hover); border-color: var(--accent-btn-hover); color: #fff; }
.btn.ghost { background: transparent; color: var(--text-strong); border-color: #5c5c63; }
.btn.ghost:hover { border-color: #fff; color: #fff; background: transparent; }
.btn.piccolo { min-height: 2.75rem; padding: .5rem 1rem; font-size: .95rem; }
.more { font-weight: 600; text-decoration: none; color: var(--text-strong); }
.more::after { content: " \2192"; color: var(--accent); }
.more:hover { text-decoration: underline; text-decoration-color: var(--accent); color: #fff; }
.actions { display: flex; gap: .8rem 1rem; flex-wrap: wrap; margin-top: 1.6rem; }
.links { display: flex; flex-wrap: wrap; gap: .6rem 2rem; margin: 1.4rem 0 0; max-width: none; }

/* ---------- apertura ---------- */
.hero { border-bottom: 1px solid var(--line); }
.hero-foto { margin: 0; position: relative; }
.hero-foto img { width: 100%; height: clamp(22rem, 64vh, 42rem); object-fit: cover; object-position: 50% 40%; }
.hero-foto figcaption { position: absolute; right: 1rem; bottom: .7rem; font-size: .8rem; color: #e6e6e9; text-shadow: 0 1px 3px rgba(0,0,0,.9); }
.hero-testo { position: relative; margin-top: -9rem; }
.hero-box { background: var(--bg); max-width: 44rem; padding: 2.2rem 2.6rem 2.6rem 0; position: relative; }
.hero-box::before { content: ""; position: absolute; top: 0; bottom: 0; right: 100%; width: 50vw; background: var(--bg); }
.hero h1 { margin-bottom: .35em; }
.hero .lead { font-size: 1.2rem; color: var(--text); max-width: 40ch; }
.dati { display: flex; flex-wrap: wrap; gap: .3rem 1.6rem; margin: 1.6rem 0 0; padding: 1rem 0 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .95rem; max-width: none; }
.dati strong { color: var(--text-strong); }

/* ---------- sezioni ---------- */
section.block { padding-block: clamp(2.8rem, 6vw, 4.6rem); border-bottom: 1px solid var(--line); }
section.block.alt { background: var(--bg-2); }
section.block.stretta { padding-block: clamp(2rem, 4vw, 3rem); }
.h-piccolo { font-size: 1.15rem; font-stretch: 100%; margin-bottom: 1rem; }
.intesta { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 2rem; margin-bottom: 1.6rem; }
.intesta h2 { margin: 0; }
.intesta p { margin: 0; color: var(--muted); }
.cols { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); }
.split { display: grid; gap: 3rem; grid-template-columns: 1fr 1fr; align-items: start; }
.page-head { padding-block: clamp(2.4rem, 5vw, 3.8rem) 1.6rem; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); margin: 0; }
.page-head p { margin: .8rem 0 0; color: var(--muted); font-size: 1.15rem; }
.prose { padding-block: 2.4rem 4rem; }
.prose h2 { margin-top: 2.4rem; font-size: clamp(1.4rem, 3vw, 1.85rem); }
.prose ul, .prose ol { max-width: 66ch; padding-left: 1.2rem; }
.prose li { margin-bottom: .3rem; }
.prose li::marker { color: var(--muted); }
.frame { position: relative; }

/* ---------- eventi in home ---------- */
.eventi-home { display: grid; gap: 2.5rem 3.5rem; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); align-items: start; }
.evidenza { display: grid; gap: 1.6rem; grid-template-columns: minmax(0, 17rem) minmax(0, 1fr); align-items: start; }
.evidenza .poster img { width: 100%; height: auto; }
.evidenza .etichetta { font-size: .85rem; font-weight: 600; color: var(--accent); margin: 0 0 .4rem; }
.evidenza h3 { font-size: 1.5rem; font-stretch: 88%; margin: .3rem 0 .4rem; }
.evidenza h3 a { color: var(--text-strong); text-decoration: none; }
.evidenza h3 a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.evidenza time { color: var(--text-strong); font-size: .95rem; }
.evidenza .where { margin: 0 0 .6rem; }

/* ---------- calendario a righe ---------- */
.cal { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.cal li { display: grid; grid-template-columns: 10.5rem minmax(0, 1fr) auto; gap: .3rem 1.4rem; align-items: baseline; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.cal time { color: var(--text-strong); font-size: .9rem; }
.cal h3 { margin: 0; font-size: 1.08rem; font-weight: 600; }
.cal h3 a { color: var(--text-strong); text-decoration: none; }
.cal h3 a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.cal .where { display: block; font-size: .95rem; }
.cal .chips { margin: 0; justify-content: flex-end; }
.where { color: var(--muted); }
.chips { display: flex; gap: .4rem; flex-wrap: wrap; margin: .3rem 0 .6rem; }
.chip { font-family: var(--mono); font-size: .72rem; border: 1px solid var(--line-strong); border-radius: 3px; padding: .2rem .5rem; color: var(--text); white-space: nowrap; }
.chip-tag { color: var(--muted); }

/* ---------- elenco eventi (pagina Eventi) ---------- */
.timeline { list-style: none; margin: 0 0 2rem; padding: 0; }
.timeline li { padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.timeline li:first-child { padding-top: .4rem; }
.timeline time { color: var(--muted); font-size: .9rem; }
.timeline li.next time { color: var(--accent); }
.timeline h3 { margin: .3rem 0 .2rem; font-size: 1.3rem; }
.timeline h3 a { color: var(--text-strong); text-decoration: none; }
.timeline .where { font-size: .98rem; margin-bottom: .5rem; }
.timeline p { margin-bottom: .4rem; }
.timeline li.con-locandina { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 0 1.6rem; align-items: start; }
.timeline li.con-locandina .mini-locandina { grid-column: 1; grid-row: 1; }
.timeline li.con-locandina .testo { grid-column: 2; grid-row: 1; }
/* la miniatura non allunga mai la voce: occupa al massimo l'altezza del testo (e 9rem) */
.mini-locandina { display: block; position: relative; align-self: stretch; margin-top: .3rem; min-height: 5rem; }
.mini-locandina img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; max-height: 9rem; object-fit: contain; object-position: top left; }
.mini-locandina:hover img { opacity: .85; }
@media (max-width: 44rem) { .timeline li.con-locandina { grid-template-columns: 5rem minmax(0, 1fr); gap: 0 1rem; } }

/* ---------- gioco e passaggi ---------- */
.gioco p { font-size: 1.08rem; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: passo; }
.steps li { counter-increment: passo; display: grid; grid-template-columns: 2.2rem 1fr; gap: .2rem .8rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.steps li:first-child { border-top: 1px solid var(--line); }
.steps li::before { content: counter(passo); grid-row: span 2; font-family: var(--mono); font-size: 1rem; color: var(--accent); padding-top: .1rem; }
.steps h3 { margin: 0; font-size: 1.08rem; }
.steps p { margin: 0; color: var(--text); }

/* ---------- club ---------- */
.salto { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin: 0 0 1rem; padding: 0; list-style: none; }
.salto a { font-size: .95rem; }
.clubs { list-style: none; margin: 0 0 1rem; padding: 0; columns: 2 16rem; column-gap: 2.5rem; max-width: none; }
.clubs li { break-inside: avoid; display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.clubs strong { font-weight: 600; }
.clubs strong a { color: var(--text-strong); text-decoration: none; }
.clubs strong a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.clubs span { font-family: var(--mono); color: var(--muted); font-size: .82rem; }
.prose .clubs, .prose .salto, .prose .timeline, .prose .steps, .prose .cal { padding-left: 0; }

/* ---------- cartina dei club ---------- */
.club-home { display: grid; gap: 2rem 4rem; grid-template-columns: minmax(0, 1fr) minmax(0, 11rem); align-items: center; }
.club-home .numeri { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 600; font-stretch: 90%; color: var(--text); margin: 0 0 .8rem; }
.mappa-piccola { display: block; width: 100%; max-width: 11rem; justify-self: center; }
.mappa-piccola:hover path { fill: #202024; }
.punto { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); transform: translate(-50%, -50%); }
.punto.multi { width: 10px; height: 10px; }
@media (max-width: 52rem) { .club-home { grid-template-columns: minmax(0, 1fr); } .mappa-piccola { max-width: 11rem; } }
.club-layout { display: grid; gap: 3rem; grid-template-columns: minmax(0, 1fr) minmax(16rem, 24rem); align-items: start; }
.club-map { position: sticky; top: 6rem; margin-top: 2.4rem; overflow-x: clip; }
.italia { position: relative; }
.italia svg { display: block; width: 100%; height: auto; }
.italia path { fill: #1a1a1d; stroke: #3a3a40; stroke-width: 1; }
.pin { position: absolute; transform: translate(-50%, -50%); }
.pin button { display: block; position: relative; width: 11px; height: 11px; padding: 0; border-radius: 50%; background: var(--accent); border: 2px solid var(--bg); cursor: pointer; }
.pin button.multi { width: 16px; height: 16px; }
.pin button::before { content: ""; position: absolute; inset: -9px; }
.pin-tip { position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); margin-bottom: .5rem; width: 13rem; z-index: 5; background: var(--bg-2); border: 1px solid var(--line-strong); padding: .7rem .8rem; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .15s, visibility 0s linear .15s; }
.pin-tip::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: .6rem; }
.pin-tip.giu { bottom: auto; top: 100%; margin: .5rem 0 0; }
.pin-tip.giu::after { top: auto; bottom: 100%; }
.pin:hover, .pin:focus-within, .pin:has(.open) { z-index: 6; }
.pin-tip.l { left: -.5rem; transform: none; }
.pin-tip.r { left: auto; right: -.5rem; transform: none; }
.pin:hover .pin-tip, .pin:focus-within .pin-tip, .pin-tip.open { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .15s, visibility 0s; }
.pin-tip p { margin: 0; font-size: .85rem; font-weight: 650; color: var(--text-strong); }
.pin-tip ul, .prose .pin-tip ul { list-style: none; margin: .3rem 0 0; padding: 0; }
.pin-tip li { font-size: .88rem; line-height: 1.4; margin: .2rem 0; }
.pin-tip a { text-decoration: none; }
.pin-tip a:hover { text-decoration: underline; }
.map-legend { display: flex; align-items: center; gap: .5rem; margin: 1rem 0 .3rem; font-size: .88rem; color: var(--muted); }
.map-legend i { width: .7rem; height: .7rem; border-radius: 50%; background: var(--accent); flex: none; }
.map-credit { margin: 0; font-size: .78rem; color: var(--muted); }
.map-credit a { color: inherit; }

/* ---------- tabelle ---------- */
table { border-collapse: collapse; width: 100%; max-width: 40rem; font-size: 1.02rem; }
th, td { text-align: left; padding: .65rem 1rem .65rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: .85rem; font-weight: 600; color: var(--muted); border-bottom: 1px solid var(--line-strong); }
td:first-child, th:first-child { width: 3.4rem; }
td:first-child { font-family: var(--mono); color: var(--text-strong); }
td small { color: var(--muted); }
caption { text-align: left; font-weight: 700; font-stretch: 88%; color: var(--text-strong); font-size: 1.25rem; padding-bottom: .6rem; }
.tables { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); }

/* ---------- foto ---------- */
.frame img, .gallery img { width: 100%; object-fit: cover; }
.ph { width: 100%; aspect-ratio: 4 / 3; display: grid; place-items: center; background: var(--bg-2); border: 1px dashed var(--line-strong); }
.ph img { width: 3rem; opacity: .35; }
.gallery { display: grid; gap: 1.6rem 1.2rem; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); margin: 0; }
.gallery figure { margin: 0; }
.gallery img, .gallery .ph { aspect-ratio: 4 / 3; }
.gallery figcaption { font-size: .92rem; color: var(--muted); margin-top: .5rem; }
.gallery.posters img, .gallery.posters .ph { aspect-ratio: 3 / 4; object-fit: contain; background: var(--bg-2); }
.gallery.posters figcaption a { color: var(--text-strong); text-decoration: none; font-weight: 600; }
.gallery.posters figcaption a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.frame.poster img { aspect-ratio: auto; height: auto; }
.frame.poster .ph { aspect-ratio: 3 / 4; }

/* striscia di foto della community: scorre da sola, si ferma passandoci sopra */
.foto-strip { overflow: hidden; }
.foto-track { display: flex; gap: .8rem; width: max-content; margin: 0; padding: 0; list-style: none; animation: striscia var(--durata, 90s) linear infinite; }
.foto-strip:hover .foto-track, .foto-strip:focus-within .foto-track { animation-play-state: paused; }
@keyframes striscia { to { transform: translateX(calc(-50% - .4rem)); } }
.foto-track li { flex: none; }
.foto-track figure { margin: 0; }
.foto-track a { display: block; }
.foto-track img { height: clamp(13rem, 26vw, 19rem); width: auto; }
.foto-track a:hover img { opacity: .85; }
.foto-track figcaption { font-size: .88rem; color: var(--muted); margin-top: .4rem; min-height: 1.4em; }
.nota-strip { font-size: .85rem; color: var(--muted); margin: .6rem 0 0; }
@media (prefers-reduced-motion: reduce) {
  .foto-strip { overflow-x: auto; }
  .foto-track { animation: none; }
  .foto-track li[aria-hidden] { display: none; }
}
/* foto ingrandita */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(96vw, 80rem); max-height: 96vh; color: var(--text); }
.lightbox::backdrop { background: rgba(0,0,0,.88); }
.lightbox figure { margin: 0; }
.lightbox img { max-width: 100%; max-height: calc(96vh - 6rem); width: auto; margin: 0 auto; }
.lightbox figcaption { text-align: center; color: #fff; margin-top: .6rem; min-height: 1.4em; }
.lb-comandi { display: flex; justify-content: center; gap: .6rem; margin-top: .6rem; }

/* ---------- community ---------- */
.community h3 { font-size: 1.15rem; margin: 0 0 1rem; }
.community .parte + .parte { margin-top: 3rem; }
.podcast { display: grid; gap: 1.5rem 2.5rem; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); align-items: center; }
.logo-salotto img { display: block; width: 100%; height: auto; }
.prose > .logo-salotto { max-width: 22rem; margin-bottom: 1.6rem; }

/* video caricati al clic */
.video { margin: 2rem 0; }
.video figcaption { font-size: 1rem; font-weight: 600; color: var(--text-strong); margin-top: .6rem; }
.prose > .video { max-width: 48rem; }
.vetrina { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.vetrina .video { margin: 0; }
.yt { position: relative; aspect-ratio: 16 / 9; display: grid; place-items: center; align-content: center; gap: .8rem; padding: 1rem; text-align: center; background: var(--bg-2); }
.yt.on { padding: 0; display: block; }
.yt.on iframe { display: block; width: 100%; height: 100%; border: 0; }
.yt-play { display: flex; flex-direction: column; align-items: center; gap: .7rem; background: none; border: 0; color: var(--text-strong); cursor: pointer; font: inherit; }
.yt-icon { position: relative; width: 4rem; height: 2.8rem; border-radius: .6rem; background: var(--accent-btn); }
.yt-icon::after { content: ""; position: absolute; left: 52%; top: 50%; transform: translate(-50%, -50%); border-style: solid; border-width: .6rem 0 .6rem 1rem; border-color: transparent transparent transparent #fff; }
.yt-play:hover .yt-icon, .yt-play:focus-visible .yt-icon { background: var(--accent-btn-hover); }
.yt-titolo { font-weight: 600; max-width: 32ch; }
.video .yt-nota { margin: .2rem 0 0; font-size: .82rem; line-height: 1.4; color: var(--muted); max-width: none; }
.yt-nota a { color: var(--muted); }
.yt.has-cover { overflow: hidden; }
.yt-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.yt.has-cover::after { content: ""; position: absolute; inset: 0; background: rgba(13,13,14,.2); }
.yt.has-cover .yt-titolo { display: none; }
.yt.has-cover .yt-play { position: absolute; inset: 0; justify-content: center; z-index: 1; }

/* sezione Social */
.social { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr)); }
.social figure { margin: 0; }
.social img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.social figcaption { margin-top: .5rem; font-size: .95rem; line-height: 1.4; }
.social time { display: block; color: var(--muted); margin-bottom: .2rem; }
.social .fonte { display: block; margin-top: .3rem; font-size: .82rem; color: var(--muted); }
/* reel: copertina con simbolo play */
.social .reel a { position: relative; display: block; }
.social .reel a::after { content: ""; position: absolute; left: 50%; top: 50%; width: 3.2rem; height: 3.2rem; transform: translate(-50%, -50%); border-radius: 50%; background: rgba(13,13,14,.65) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5v14l11-7z' fill='%23fff'/%3E%3C/svg%3E") center / 55% no-repeat; }
/* carosello dei post in home: scorre da solo, si ferma passandoci sopra */
.social-strip { overflow: hidden; }
.social-track { display: flex; gap: 1.2rem; width: max-content; margin: 0; padding: 0; list-style: none; animation: striscia-social var(--durata, 60s) linear infinite; }
@keyframes striscia-social { to { transform: translateX(calc(-50% - .6rem)); } }
.social-strip:hover .social-track, .social-strip:focus-within .social-track { animation-play-state: paused; }
.social-track li { flex: none; width: clamp(12rem, 22vw, 15rem); }
.social-track figure { margin: 0; }
.social-track img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.social-track figcaption { margin-top: .5rem; font-size: .95rem; line-height: 1.4; }
.social-track time { display: block; color: var(--muted); margin-bottom: .2rem; }
.social-track .fonte { display: block; margin-top: .3rem; font-size: .82rem; color: var(--muted); }
.social-track figcaption span { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.social-track .reel a { position: relative; display: block; }
.social-track .reel a::after { content: ""; position: absolute; left: 50%; top: 50%; width: 3.2rem; height: 3.2rem; transform: translate(-50%, -50%); border-radius: 50%; background: rgba(13,13,14,.65) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5v14l11-7z' fill='%23fff'/%3E%3C/svg%3E") center / 55% no-repeat; }
@media (prefers-reduced-motion: reduce) {
  .social-strip { overflow-x: auto; }
  .social-track { animation: none; }
  .social-track li[aria-hidden] { display: none; }
}
.social figcaption span { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- partner ---------- */
.partners { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem 2.2rem; }
.partners a { color: var(--text); text-decoration: none; font-weight: 600; }
.partners a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--accent); }
/* Help & Link: elenco a righe */
.prose .help-links { display: block; max-width: 40rem; padding: 0; border-top: 1px solid var(--line); }
.help-links li { border-bottom: 1px solid var(--line); margin: 0; }
.help-links a { display: block; padding: .85rem 0; color: var(--text-strong); text-decoration: none; font-weight: 600; }
.help-links a::after { content: " \2192"; color: var(--accent); }
.help-links a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--accent); }

/* WikiLEAGUE */
.wiki { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); margin-top: 1.5rem; }
.wiki-card { border-top: 1px solid var(--line-strong); padding-top: 1.2rem; }
.wiki-card dl { display: grid; grid-template-columns: auto 1fr; gap: .2rem 1rem; margin: .8rem 0; font-size: .95rem; }
.wiki-card dt { font-size: .85rem; color: var(--muted); }
.wiki-card dd { margin: 0; }
.wiki-card .video { margin: 1rem 0 0; }

/* XTAG-ONE: scritta al neon in attesa delle foto (unica eccezione allo stile sobrio, su richiesta) */
.briciole { font-size: .92rem; color: var(--muted); }
.nobr { white-space: nowrap; }
.neon { margin: 3rem 0 1rem; max-width: none; text-align: center; font-weight: 800; font-stretch: 85%; font-size: clamp(1.6rem, 5vw, 2.8rem); line-height: 1.2; color: #ffe7de;
  text-shadow: 0 0 4px #fff, 0 0 10px var(--accent), 0 0 22px var(--accent), 0 0 42px #ff3d00, 0 0 70px #ff3d00; animation: neon 3.2s infinite; }
.neon-emoji { display: inline-block; filter: drop-shadow(0 0 6px var(--accent)) drop-shadow(0 0 16px #ff3d00); }
@keyframes neon { 0%, 18%, 22%, 25%, 53%, 57%, 100% { opacity: 1; } 20%, 24%, 55% { opacity: .35; text-shadow: none; } }
@media (prefers-reduced-motion: reduce) { .neon { animation: none; } }

/* app, notifiche, privacy */
.prose.privacy p { max-width: 70ch; }
.notifiche-invito { position: fixed; z-index: 50; left: 1rem; right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom)); max-width: 30rem; margin: 0 auto; padding: 1.2rem 1.3rem; background: var(--bg-2); border: 1px solid var(--line-strong); box-shadow: 0 10px 30px rgba(0,0,0,.6); }
.notifiche-invito p { margin: 0 0 .6rem; }
.notifiche-invito .nota { font-size: .88rem; color: var(--muted); }
.notifiche-invito .nota a { color: var(--muted); }
.notifiche-invito .azioni { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: .9rem; }
.app-notifiche, .app-ios { margin-top: 2rem; padding: 1.2rem 1.4rem; border: 1px solid var(--line-strong); background: var(--bg-2); }
.app-notifiche h2 { margin-top: 0; }
.app-notifiche .actions { margin-top: 1rem; }
.app-ios p { margin-top: 0; }
.app-ios ol { margin-bottom: 0; }

/* ---------- piè di pagina ---------- */
footer { border-top: 1px solid var(--line-strong); background: #09090a; padding-block: 2.8rem; font-size: .98rem; }
footer a { color: var(--text); text-decoration: none; }
footer a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--accent); }
footer h2 { font-size: .95rem; font-weight: 650; font-stretch: 100%; color: var(--text-strong); margin-bottom: .8rem; }
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin-bottom: .35rem; }
footer .cols { gap: 2rem; }
footer .small { color: var(--muted); font-size: .9rem; margin: 2.2rem 0 0; max-width: none; }
.soc a { margin-right: 1rem; display: inline-block; }

/* ---------- schermi stretti ---------- */
@media (max-width: 60rem) {
  .eventi-home, .split { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 52rem) {
  .club-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .club-map { position: static; order: -1; width: 100%; max-width: 24rem; justify-self: center; }
  .cal li { grid-template-columns: minmax(0, 1fr); gap: .25rem; }
  .cal .chips { justify-content: flex-start; }
  .hero-testo { margin-top: 0; }
  .hero-box { padding: 1.6rem 0 2.2rem; }
  .hero-box::before { display: none; }
  .hero-foto img { height: auto; aspect-ratio: 4 / 3; }
}
@media (max-width: 44rem) {
  body { font-size: 1.02rem; }
  .top { position: static; }
  .brand small { display: none; }
  .nav { width: 100%; justify-content: space-between; }
  .nav > ul { gap: 0 1.1rem; }
  .altro ul { right: auto; left: 0; }
  .evidenza { grid-template-columns: minmax(0, 1fr); gap: 1.2rem; }
  .evidenza .poster { max-width: 20rem; }
  .podcast { grid-template-columns: minmax(0, 1fr); }
  .podcast .logo-salotto { max-width: 15rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
