:root {
  --bg: #080b10;
  --panel: #101720;
  --panel2: #151e2a;
  --line: #263244;
  --text: #f4f7fb;
  --muted: #94a2b6;
  --lime: #eaff42;
  --red: #f04a39;
  --blue: #1d74a8;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 10% -5%, rgba(29,116,168,.14), transparent 28%),
    radial-gradient(circle at 88% 0%, rgba(240,74,57,.10), transparent 25%),
    var(--bg);
}

a { color: inherit; }
img { display: block; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(8,11,16,.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.topbar-inner,
.wrap,
.footer-inner,
.disclaimer {
  width: min(1220px, calc(100% - 36px));
  margin-inline: auto;
}

.topbar-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo-shell,
.mini-logo-shell,
.hero-logo-shell {
  overflow: hidden;
  border-radius: 50%;
  background: #0d1118;
  border: 1px solid rgba(255,255,255,.08);
}

.brand-logo-shell { width: 48px; height: 48px; }
.brand-logo-shell img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); }

.brand-copy strong { display: block; letter-spacing: .07em; font-size: 15px; }
.brand-copy small { display: block; color: var(--muted); margin-top: 2px; font-size: 11px; }

.socials { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.socials a,
.footer-links a,
.back {
  text-decoration: none;
  color: #c7d0dc;
  border: 1px solid var(--line);
  background: rgba(16,23,32,.8);
  border-radius: 999px;
  padding: 8px 11px;
  font-size: 12px;
  font-weight: 800;
  transition: .18s ease;
}
.socials a:hover,
.footer-links a:hover,
.back:hover { border-color: #43536b; color: white; transform: translateY(-1px); }

.hero {
  padding: 54px 0 36px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 46px;
  align-items: center;
}

.online {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--lime);
  font-size: 11px;
  letter-spacing: .12em;
  font-weight: 950;
}
.online span { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 5px rgba(234,255,66,.08); }

.hero h1 {
  margin: 12px 0 18px;
  max-width: 820px;
  font-size: clamp(44px, 7.2vw, 82px);
  line-height: .93;
  letter-spacing: -.055em;
}
.hero p { margin: 0; color: var(--muted); max-width: 710px; line-height: 1.6; font-size: 17px; }
.hero-logo-shell { width: 210px; height: 210px; box-shadow: 0 28px 80px rgba(0,0,0,.28); }
.hero-logo-shell img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.13); }

.toolbar {
  padding: 16px 0 22px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.section-title span { color: var(--lime); font-weight: 950; font-size: 10px; letter-spacing: .13em; }
.section-title h2 { margin: 5px 0 0; font-size: 31px; letter-spacing: -.035em; }

.filters { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 3px; }
.filters button {
  white-space: nowrap;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--muted);
  padding: 9px 13px;
  border-radius: 999px;
  font-weight: 850;
  cursor: pointer;
}
.filters button.active { background: var(--lime); color: #090b0f; border-color: var(--lime); }

.status { color: var(--muted); padding: 14px 0 26px; }
.news-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding-bottom: 72px;
}

.news-card {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--panel);
  text-decoration: none;
  isolation: isolate;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.news-card:hover { transform: translateY(-4px); border-color: #41516a; box-shadow: 0 20px 55px rgba(0,0,0,.28); }
.news-card.leak { box-shadow: inset 0 3px 0 rgba(240,74,57,.9); }
.news-card.official { box-shadow: inset 0 3px 0 rgba(93,229,150,.9); }
.news-card.rumor { box-shadow: inset 0 3px 0 rgba(255,207,84,.9); }

.card-visual,
.card-visual > img,
.fallback-logo { position: absolute; inset: 0; width: 100%; height: 100%; }
.card-visual > img { object-fit: cover; }
.fallback-logo { display: grid; place-items: center; background: radial-gradient(circle, #152333, #0c1118 70%); overflow: hidden; }
.fallback-logo img { width: 84%; height: 84%; object-fit: cover; border-radius: 50%; transform: scale(1.11); opacity: .92; }
.card-shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 38%, rgba(4,6,9,.35) 58%, rgba(4,6,9,.96) 100%); }

.news-card h3 {
  position: absolute;
  z-index: 2;
  left: 17px;
  right: 17px;
  bottom: 17px;
  margin: 0;
  color: white;
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.1;
  letter-spacing: -.025em;
  text-shadow: 0 2px 18px rgba(0,0,0,.7);
}

footer { border-top: 1px solid rgba(255,255,255,.07); background: #080b10; }
.footer-inner { min-height: 108px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.mini-logo-shell { width: 44px; height: 44px; }
.mini-logo-shell img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); }
.footer-brand strong { display: block; letter-spacing: .07em; }
.footer-brand span { display: block; color: var(--muted); font-size: 11px; margin-top: 2px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.disclaimer { border-top: 1px solid rgba(255,255,255,.05); padding: 16px 0 22px; color: #69778b; font-size: 11px; }

.article-wrap { max-width: 1000px; padding-top: 46px; padding-bottom: 80px; }
.article { overflow: hidden; border-radius: 28px; border: 1px solid var(--line); background: var(--panel); }
.article-visual { min-height: 420px; max-height: 600px; background: #0b1016; overflow: hidden; }
.article-visual > img { width: 100%; height: 100%; max-height: 600px; object-fit: cover; }
.article-fallback { min-height: 470px; display: grid; place-items: center; background: radial-gradient(circle, #17283a, #0b1016 68%); }
.article-fallback img { width: min(430px, 72%); border-radius: 50%; transform: scale(1.1); }
.article-body { padding: clamp(26px, 5vw, 58px); }
.article-meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; color: var(--muted); font-size: 12px; }
.detail-badge { border-radius: 999px; padding: 5px 8px; font-weight: 950; }
.detail-badge.leak { color: #ff8580; background: rgba(240,74,57,.13); }
.detail-badge.official { color: #68e7a0; background: rgba(93,229,150,.13); }
.detail-badge.rumor { color: #ffda72; background: rgba(255,207,84,.13); }
.article-body h1 { margin: 18px 0; font-size: clamp(35px, 6vw, 64px); line-height: 1.01; letter-spacing: -.045em; }
.article-summary { margin: 0; white-space: pre-wrap; color: #cad2dd; font-size: 18px; line-height: 1.65; }
.article-actions { margin-top: 30px; display: flex; gap: 10px; flex-wrap: wrap; }
.primary-btn, .secondary-btn { border-radius: 12px; padding: 11px 15px; font-weight: 900; font-size: 14px; }
.primary-btn { border: 0; background: var(--lime); color: #090b0f; cursor: pointer; }
.secondary-btn { text-decoration: none; color: white; background: var(--panel2); border: 1px solid var(--line); }

@media (max-width: 1040px) {
  .news-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}

@media (max-width: 820px) {
  .topbar-inner { min-height: 70px; }
  .socials { overflow-x: auto; flex-wrap: nowrap; justify-content: flex-start; max-width: 54vw; }
  .hero { grid-template-columns: 1fr 160px; gap: 24px; }
  .hero-logo-shell { width: 160px; height: 160px; }
  .toolbar { align-items: flex-start; flex-direction: column; }
  .news-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-inner { align-items: flex-start; flex-direction: column; justify-content: center; padding: 24px 0; }
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 560px) {
  .topbar-inner,.wrap,.footer-inner,.disclaimer { width: min(100% - 24px, 1220px); }
  .brand-copy small { display: none; }
  .brand-logo-shell { width: 42px; height: 42px; }
  .socials a { font-size: 10px; padding: 7px 9px; }
  .hero { grid-template-columns: 1fr; padding-top: 38px; }
  .hero-logo-shell { display: none; }
  .hero h1 { font-size: 47px; }
  .hero p { font-size: 15px; }
  .news-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
  .news-card { border-radius: 15px; }
  .news-card h3 { left: 12px; right: 12px; bottom: 12px; font-size: 15px; }
  .section-title h2 { font-size: 27px; }
  .article-visual { min-height: 280px; }
  .article-fallback { min-height: 320px; }
  .article-summary { font-size: 16px; }
}


/* v0.6.1 */
.socials .social-icon {
  width: 38px;
  height: 38px;
  padding: 0;
  display: grid;
  place-items: center;
  border-radius: 12px;
}
.socials .social-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.socials .social-letter span {
  font-size: 17px;
  font-weight: 950;
  line-height: 1;
}
.news-card h3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  max-height: 3.3em;
}
.feed-image { transition: transform .25s ease, opacity .2s ease; }
.news-card:hover .feed-image { transform: scale(1.025); }


/* v0.6.2 */
.news-grid {
  gap: 18px;
}
.card-visual > img.feed-image {
  object-fit: cover;
  object-position: center center;
}
.news-card h3 {
  font-size: clamp(15px, 1.18vw, 18px);
  line-height: 1.08;
}
@media (min-width: 1180px) {
  .wrap,
  .topbar-inner,
  .footer-inner,
  .disclaimer {
    width: min(1160px, calc(100% - 40px));
  }
}


/* v0.7 — motore editoriale IA */
.ai-disclosure { margin-top:28px; display:flex; gap:12px; align-items:flex-start; padding:14px 16px; border:1px solid rgba(234,255,66,.16); background:rgba(234,255,66,.045); border-radius:14px; color:#cfd7e2; }
.ai-disclosure[hidden] { display:none; }
.ai-spark { color:var(--lime); font-size:18px; line-height:1.2; }
.ai-disclosure strong { display:block; color:#f3f6fa; font-size:13px; }
.ai-disclosure span:not(.ai-spark) { display:block; color:var(--muted); margin-top:3px; font-size:12px; line-height:1.45; }
.original-details { margin-top:14px; border:1px solid var(--line); background:#0c1219; border-radius:14px; padding:12px 14px; }
.original-details[hidden] { display:none; }
.original-details summary { cursor:pointer; color:#cbd4df; font-weight:800; font-size:12px; }
.original-text { margin-top:12px; color:#93a0b3; font-size:13px; line-height:1.6; white-space:pre-wrap; }
.editorial-note { margin-top:18px; padding-top:18px; border-top:1px solid rgba(255,255,255,.07); color:#748197; }
.editorial-note strong { color:#aeb9c8; font-size:12px; }
.editorial-note p { margin:6px 0 0; font-size:11px; line-height:1.55; }

/* Hotfix editoriale v2 */
.cited-sources { margin-top:12px; color:#9fb0c4; font-size:13px; line-height:1.5; }
.cited-sources[hidden] { display:none; }
.cited-sources strong { color:#dce5ef; }

/* v0.7.2 — schede dettagliate SBC / Evoluzioni */
.content-details { margin-top:30px; padding:24px; border:1px solid #263247; border-radius:20px; background:linear-gradient(180deg,#0d151f,#0a1017); }
.content-details[hidden] { display:none; }
.details-heading { margin-bottom:18px; }
.detail-kicker { display:block; color:var(--lime); font-size:10px; font-weight:950; letter-spacing:.13em; }
.details-heading h2 { margin:6px 0 0; font-size:clamp(24px,4vw,38px); letter-spacing:-.035em; }
.detail-facts { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; margin-bottom:22px; }
.detail-facts > div { padding:13px 14px; background:#111b27; border:1px solid #243247; border-radius:13px; }
.detail-facts span { display:block; color:#8190a5; font-size:10px; text-transform:uppercase; letter-spacing:.08em; }
.detail-facts strong { display:block; margin-top:5px; color:#f5f8fb; font-size:15px; }
.detail-section { margin-top:24px; }
.detail-section > h3 { margin:0 0 12px; font-size:19px; }
.detail-list { margin:0; padding-left:19px; color:#c8d2df; line-height:1.65; }
.detail-list li + li { margin-top:4px; }
.upgrades-list li::marker { color:var(--lime); }
.segments-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.segment-card { padding:16px; border-radius:15px; border:1px solid #243247; background:#0d141d; }
.segment-card h4 { margin:0 0 8px; font-size:16px; }
.segment-card p { margin:0 0 10px; color:#8f9caf; font-size:13px; line-height:1.5; }
.segment-reward { margin-top:12px; padding-top:10px; border-top:1px solid rgba(255,255,255,.06); }
.segment-reward span { display:block; color:#7f8da1; font-size:10px; text-transform:uppercase; }
.segment-reward strong { display:block; margin-top:3px; font-size:12px; color:#e6edf6; }
.player-detail-card { display:grid; grid-template-columns:170px 1fr; gap:20px; align-items:center; margin:22px 0; padding:18px; border:1px solid rgba(234,255,66,.18); border-radius:18px; background:rgba(234,255,66,.035); }
.player-detail-card > img { width:100%; max-height:235px; object-fit:contain; }
.player-detail-copy h3 { margin:4px 0 8px; font-size:27px; }
.player-overview { display:flex; gap:10px; align-items:baseline; flex-wrap:wrap; color:#9cabbc; }
.player-overview > strong { font-size:34px; color:#fff; }
.player-stats { display:grid; grid-template-columns:repeat(6,1fr); gap:7px; margin-top:14px; }
.player-stats div { text-align:center; padding:9px 4px; border-radius:10px; background:#0a1017; border:1px solid #202c3d; }
.player-stats span { display:block; color:#7e8ca0; font-size:9px; font-weight:900; }
.player-stats strong { display:block; margin-top:2px; font-size:17px; }
.player-extra { display:flex; flex-wrap:wrap; gap:7px; margin-top:12px; }
.player-extra span { padding:5px 8px; border:1px solid #26344a; border-radius:999px; color:#aeb9c8; font-size:11px; }
.mini-heading { display:block; margin:12px 0 5px; color:#e9eff7; font-size:12px; }
.detail-data-source { margin-top:22px; padding-top:14px; border-top:1px solid rgba(255,255,255,.07); color:#738198; font-size:11px; }
@media(max-width:760px){
  .detail-facts { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .segments-grid { grid-template-columns:1fr; }
  .player-detail-card { grid-template-columns:1fr; }
  .player-detail-card > img { max-width:220px; margin:auto; }
  .player-stats { grid-template-columns:repeat(3,1fr); }
  .content-details { padding:17px; }
}

/* HOTFIX Evoluzioni v3 */
.evo-card-visual,
.article-evo-visual {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 26%, rgba(234,255,66,.14), transparent 25%),
    radial-gradient(circle at 22% 78%, rgba(76,132,255,.16), transparent 28%),
    linear-gradient(145deg,#0a1018 0%,#101a27 55%,#0c1118 100%);
}
.evo-card-grid,
.article-evo-grid {
  position:absolute;
  inset:0;
  opacity:.15;
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size:28px 28px;
  transform:perspective(700px) rotateX(58deg) scale(1.55) translateY(18%);
  transform-origin:center bottom;
}
.evo-card-orbit,
.article-evo-orbit {
  position:absolute;
  border:1px solid rgba(234,255,66,.22);
  border-radius:50%;
}
.evo-card-orbit-a { width:72%; height:72%; right:-18%; top:-12%; }
.evo-card-orbit-b { width:54%; height:54%; left:-18%; bottom:-12%; border-color:rgba(86,146,255,.2); }
.evo-card-logo {
  position:absolute;
  width:54%;
  height:54%;
  left:23%;
  top:17%;
  object-fit:contain;
  filter:drop-shadow(0 18px 34px rgba(0,0,0,.45));
}
.evo-card-mark {
  position:absolute;
  right:14px;
  top:14px;
  display:flex;
  align-items:center;
  gap:7px;
  padding:6px 9px;
  border:1px solid rgba(234,255,66,.22);
  border-radius:999px;
  background:rgba(5,8,12,.65);
  backdrop-filter:blur(8px);
}
.evo-card-mark strong { color:var(--lime); font-size:10px; letter-spacing:.12em; }
.evo-card-mark span { color:#c8d2df; font-size:9px; font-weight:850; }

.article-evo-visual { position:relative; min-height:440px; display:grid; place-items:center; }
.article-evo-grid { opacity:.1; }
.article-evo-orbit-a { width:560px; height:560px; right:-150px; top:-170px; }
.article-evo-orbit-b { width:440px; height:440px; left:-140px; bottom:-180px; border-color:rgba(86,146,255,.2); }
.article-evo-visual > img {
  position:relative;
  z-index:2;
  width:min(320px,48%);
  height:auto;
  object-fit:contain;
  filter:drop-shadow(0 28px 55px rgba(0,0,0,.5));
}
.article-evo-mark {
  position:absolute;
  z-index:3;
  right:34px;
  bottom:30px;
  display:flex;
  flex-direction:column;
  align-items:flex-end;
}
.article-evo-mark span { color:#9caabd; font-size:12px; font-weight:850; letter-spacing:.14em; }
.article-evo-mark strong { color:var(--lime); font-size:30px; letter-spacing:.08em; }

.evo-levels-grid { align-items:start; }
.evo-level-card .challenge-list { margin-top:8px; }
.challenge-list li { color:#e0e7ef; }
.challenge-list li::marker { color:#70a7ff; }

@media(max-width:760px){
  .article-evo-visual { min-height:300px; }
  .article-evo-visual > img { width:min(210px,55%); }
  .article-evo-mark { right:18px; bottom:18px; }
  .article-evo-mark strong { font-size:20px; }
  .evo-card-logo { width:58%; height:58%; left:21%; top:15%; }
}

/* v0.8.1 — Community Flow pubblico */
.radar-pulse {
  margin: 0 0 18px;
  padding: 18px;
  border: 1px solid rgba(234,255,66,.14);
  border-radius: 20px;
  background:
    radial-gradient(circle at 82% 0%, rgba(234,255,66,.07), transparent 28%),
    linear-gradient(135deg, rgba(16,23,32,.96), rgba(9,14,21,.96));
  overflow: hidden;
}
.pulse-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
}
.pulse-head > div:first-child { min-width: 0; }
.pulse-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--lime);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .13em;
}
.pulse-kicker i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 5px rgba(234,255,66,.07), 0 0 18px rgba(234,255,66,.32);
  animation: radarPulseDot 1.8s ease-in-out infinite;
}
.pulse-head strong {
  display: block;
  margin-top: 5px;
  font-size: 18px;
  letter-spacing: -.02em;
}
.pulse-trend {
  max-width: 48%;
  color: #a8b5c6;
  font-size: 12px;
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pulse-metrics {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 10px;
}
.pulse-metric {
  padding: 13px 14px;
  border-radius: 14px;
  border: 1px solid #253145;
  background: rgba(8,12,18,.72);
}
.pulse-metric span {
  display: block;
  color: #8190a5;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.pulse-metric strong {
  display: block;
  margin-top: 3px;
  font-size: 23px;
  line-height: 1;
}
@keyframes radarPulseDot {
  0%,100% { transform: scale(.9); opacity:.7; }
  50% { transform: scale(1.15); opacity:1; }
}
@media(max-width:760px){
  .radar-pulse { padding:14px; border-radius:17px; }
  .pulse-head { align-items:flex-start; flex-direction:column; gap:8px; }
  .pulse-trend { max-width:100%; text-align:left; width:100%; }
  .pulse-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .pulse-metric strong { font-size:21px; }
}


/* v0.8.2 — Community Reactions */
.community-reactions {
  margin: 28px 0 18px;
  padding: 20px;
  border: 1px solid rgba(234,255,66,.18);
  border-radius: 18px;
  background:
    radial-gradient(circle at 88% 10%, rgba(234,255,66,.07), transparent 32%),
    #0d151f;
}
.reaction-kicker {
  color: var(--lime);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .13em;
}
.reaction-heading h2 { margin: 5px 0 4px; font-size: 23px; }
.reaction-heading p { margin: 0; color: #8190a5; font-size: 12px; }
.reaction-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 17px; }
.reaction-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 9px 14px;
  border: 1px solid #29374b;
  border-radius: 14px;
  background: #09111a;
  color: #dfe7f0;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}
.reaction-btn:hover { transform: translateY(-1px); border-color: #52627a; }
.reaction-btn.active { border-color: var(--lime); background: rgba(234,255,66,.08); color: #fff; box-shadow: 0 0 0 1px rgba(234,255,66,.08) inset; }
.reaction-btn:disabled { opacity: .58; cursor: wait; }
.reaction-emoji { font-size: 18px; line-height: 1; }
.reaction-btn strong { min-width: 20px; color: var(--lime); text-align: right; }
.reaction-summary { margin-top: 12px; color: #8e9db0; font-size: 12px; }
.community-chip {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 4;
  max-width: calc(100% - 24px);
  padding: 6px 9px;
  border: 1px solid rgba(234,255,66,.28);
  border-radius: 999px;
  background: rgba(6,10,15,.78);
  backdrop-filter: blur(8px);
  color: var(--lime);
  font-size: 10px;
  font-weight: 950;
  line-height: 1;
  box-shadow: 0 8px 20px rgba(0,0,0,.2);
}
@media(max-width:760px){
  .community-reactions { padding: 16px; }
  .reaction-buttons { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
  .reaction-btn { justify-content:center; padding:9px 10px; }
  .reaction-btn strong { min-width:auto; }
}

/* v0.9.0 — Discord Community Comments */
.comments-section {
  margin: 24px 0 18px;
  padding: 20px;
  border: 1px solid #273447;
  border-radius: 18px;
  background: #0d151f;
}
.comments-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.comments-heading h2 { margin: 5px 0 4px; font-size: 23px; }
.comments-heading p { margin: 0; color: #8190a5; font-size: 12px; }
.comments-count {
  flex: 0 0 auto;
  padding: 7px 10px;
  border: 1px solid #2b394d;
  border-radius: 999px;
  color: #aeb9c9;
  background: #09111a;
  font-size: 11px;
}
.comment-auth {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 14px;
  border: 1px solid #253246;
  border-radius: 14px;
  background: #09111a;
}
.comment-login-copy { display: grid; gap: 3px; }
.comment-login-copy span, .comment-muted { color: #8391a4; font-size: 12px; }
.discord-login-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 13px;
  border-radius: 11px;
  background: #5865f2;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}
.comment-current-user { display:flex; align-items:center; gap:10px; min-width:0; }
.comment-current-user > div { display:flex; flex-wrap:wrap; align-items:center; gap:6px; min-width:0; }
.comment-current-user > div > span:last-child { width:100%; color:#7f8da0; font-size:11px; }
.comment-logout-btn,
.comment-actions button {
  appearance:none;
  border:0;
  background:transparent;
  color:#8fa0b7;
  font:inherit;
  font-size:11px;
  cursor:pointer;
  padding:4px 0;
}
.comment-logout-btn:hover, .comment-actions button:hover { color:#fff; }
.comment-form { margin-top: 14px; }
.comment-form textarea {
  width:100%; min-height:100px; resize:vertical;
  border:1px solid #2a384c; border-radius:14px;
  background:#081019; color:#f4f7fb;
  padding:13px 14px; font:inherit; line-height:1.5;
  box-sizing:border-box;
}
.comment-form textarea:focus { outline:2px solid rgba(234,255,66,.14); border-color:#566276; }
.comment-form-foot { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:8px; }
.comment-form-foot span { color:#738299; font-size:11px; }
.comments-status { min-height:18px; margin:13px 0 0; color:#8190a5; font-size:12px; }
.comments-list { display:grid; gap:10px; margin-top:12px; }
.comment-card {
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  gap:11px;
  padding:13px;
  border:1px solid #233044;
  border-radius:14px;
  background:#09111a;
}
.comment-avatar {
  width:42px; height:42px; border-radius:50%; overflow:hidden;
  border:1px solid #334258; background:#121d2a;
  display:flex; align-items:center; justify-content:center;
}
.comment-avatar.small { width:34px; height:34px; }
.comment-avatar img { width:100%; height:100%; object-fit:cover; display:block; }
.comment-avatar-fallback { width:100%; height:100%; display:flex; align-items:center; justify-content:center; font-weight:950; color:var(--lime); }
.comment-main { min-width:0; }
.comment-meta { display:flex; flex-wrap:wrap; align-items:center; gap:7px; }
.comment-meta strong { font-size:13px; }
.comment-meta time { color:#6f7e92; font-size:10px; }
.comment-role {
  padding:3px 6px; border-radius:999px; font-size:8px; font-weight:950; letter-spacing:.08em;
  border:1px solid rgba(234,255,66,.28); color:var(--lime);
}
.comment-role.moderator { color:#8bc7ff; border-color:rgba(139,199,255,.3); }
.comment-body { margin-top:7px; color:#dbe3ee; font-size:13px; line-height:1.55; overflow-wrap:anywhere; }
.comment-actions { display:flex; gap:14px; margin-top:8px; }
.comment-actions button:disabled { opacity:.5; cursor:default; }
@media(max-width:760px){
  .comments-section { padding:16px; }
  .comments-heading { flex-direction:column; gap:9px; }
  .comment-auth { align-items:flex-start; flex-direction:column; }
  .discord-login-btn { width:100%; }
  .comment-card { grid-template-columns:36px minmax(0,1fr); }
  .comment-avatar { width:36px; height:36px; }
}
.comments-section { scroll-margin-top: 90px; }

/* HOTFIX — pagina Contatti */
.contact-wrap {
  width: min(1080px, calc(100% - 36px));
  margin-inline: auto;
  padding: 72px 0 84px;
}
.contact-hero { max-width: 820px; margin-bottom: 34px; }
.contact-kicker {
  display: inline-flex; align-items: center; gap: 9px;
  color: var(--lime); font-size: 10px; font-weight: 950; letter-spacing: .14em;
}
.contact-kicker span { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 5px rgba(234,255,66,.07); }
.contact-hero h1 { margin: 11px 0 14px; font-size: clamp(52px, 8vw, 92px); line-height: .92; letter-spacing: -.06em; }
.contact-hero p { margin: 0; max-width: 760px; color: #a1afc1; font-size: 18px; line-height: 1.65; }
.contact-panel {
  border: 1px solid var(--line); border-radius: 28px; padding: 28px;
  background: radial-gradient(circle at 92% 0%, rgba(234,255,66,.06), transparent 30%), linear-gradient(145deg,#101720,#0b1118);
  box-shadow: 0 28px 80px rgba(0,0,0,.22);
}
.contact-profile { display: flex; align-items: center; gap: 18px; padding-bottom: 26px; border-bottom: 1px solid rgba(255,255,255,.07); }
.contact-avatar { width: 82px; height: 82px; flex: 0 0 82px; overflow: hidden; border-radius: 50%; border: 1px solid rgba(255,255,255,.1); background: #0c1118; }
.contact-avatar img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.13); }
.contact-label { color: var(--lime); font-size: 9px; font-weight: 950; letter-spacing: .14em; }
.contact-profile h2 { margin: 4px 0 4px; font-size: 30px; letter-spacing: -.035em; }
.contact-profile p { margin: 0; color: #8796aa; font-size: 13px; }
.contact-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-top: 24px; }
.contact-card {
  min-width: 0; display: flex; align-items: center; gap: 15px; padding: 18px;
  border: 1px solid #26344a; border-radius: 17px; background: rgba(8,13,20,.72);
  color: inherit; text-decoration: none; transition: .18s ease;
}
.contact-card:hover { transform: translateY(-2px); border-color: #4c5c73; background: #0e1721; }
.contact-card.featured { border-color: rgba(234,255,66,.3); background: rgba(234,255,66,.045); }
.contact-card-icon {
  width: 48px; height: 48px; flex: 0 0 48px; display: grid; place-items: center;
  border: 1px solid #314158; border-radius: 14px; background: #111c28; color: var(--lime);
  font-size: 19px; font-weight: 950;
}
.contact-card small { display: block; color: #738399; font-size: 9px; font-weight: 950; letter-spacing: .11em; }
.contact-card strong { display: block; margin-top: 3px; color: #f3f6fa; font-size: 15px; overflow-wrap: anywhere; }
.contact-card div > span { display: block; margin-top: 5px; color: #8392a6; font-size: 11px; }
.collab-banner {
  margin-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 28px;
  padding: 28px; border: 1px solid rgba(234,255,66,.18); border-radius: 24px;
  background: linear-gradient(135deg,rgba(234,255,66,.07),rgba(16,23,32,.96));
}
.collab-banner > div { max-width: 720px; }
.collab-banner span { color: var(--lime); font-size: 9px; font-weight: 950; letter-spacing: .14em; }
.collab-banner h2 { margin: 5px 0 7px; font-size: 29px; letter-spacing: -.035em; }
.collab-banner p { margin: 0; color: #8f9db0; font-size: 13px; line-height: 1.55; }
.contact-cta { flex: 0 0 auto; padding: 13px 17px; border-radius: 13px; background: var(--lime); color: #080b10; text-decoration: none; font-size: 13px; font-weight: 950; }
.contact-cta:hover { filter: brightness(1.03); transform: translateY(-1px); }
@media(max-width:760px){
  .contact-wrap { width: min(100% - 24px,1080px); padding: 44px 0 64px; }
  .contact-hero h1 { font-size: 58px; }
  .contact-hero p { font-size: 16px; }
  .contact-panel { padding: 18px; border-radius: 21px; }
  .contact-profile { align-items: flex-start; }
  .contact-avatar { width: 68px; height: 68px; flex-basis: 68px; }
  .contact-profile h2 { font-size: 25px; }
  .contact-grid { grid-template-columns: 1fr; }
  .collab-banner { align-items: flex-start; flex-direction: column; padding: 21px; }
  .contact-cta { width: 100%; text-align: center; }
}

/* HOTFIX — Chi siamo + Metodo */
.info-wrap {
  width: min(1120px, calc(100% - 36px));
  margin-inline: auto;
  padding: 70px 0 90px;
}
.info-hero { max-width: 980px; margin-bottom: 38px; }
.info-kicker {
  display: inline-flex; align-items: center; gap: 9px;
  color: var(--lime); font-size: 10px; font-weight: 950; letter-spacing: .14em;
}
.info-kicker span { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 5px rgba(234,255,66,.07); }
.info-hero h1 { margin: 12px 0 18px; font-size: clamp(48px, 7vw, 82px); line-height: .94; letter-spacing: -.057em; }
.info-hero h1 em { color: #aab7c8; font-style: normal; }
.info-hero p { margin: 0; max-width: 850px; color: #9aa8ba; font-size: 17px; line-height: 1.7; }
.info-actions, .info-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.info-primary, .info-secondary {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
  padding: 11px 15px; border-radius: 13px; text-decoration: none; font-size: 12px; font-weight: 950;
  transition: transform .18s ease, border-color .18s ease;
}
.info-primary { background: var(--lime); color: #080b10; border: 1px solid var(--lime); }
.info-secondary { background: #101720; color: #e4eaf2; border: 1px solid #2a394e; }
.info-primary:hover, .info-secondary:hover { transform: translateY(-2px); }
.info-secondary:hover { border-color: #53647b; }
.info-story-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.info-story-card {
  position: relative; min-height: 270px; padding: 25px; overflow: hidden;
  border: 1px solid #26344a; border-radius: 23px;
  background: radial-gradient(circle at 92% 0%, rgba(234,255,66,.045), transparent 32%), #0e151e;
}
.info-story-card-wide { grid-column: 1 / -1; min-height: 310px; }
.info-card-number { display: inline-block; color: var(--lime); font-size: 11px; font-weight: 950; letter-spacing: .12em; }
.info-story-card small, .transparency-grid small, .reliability-panel small { display: block; margin-top: 28px; color: #6f8096; font-size: 9px; font-weight: 950; letter-spacing: .14em; }
.info-story-card h2 { margin: 7px 0 10px; max-width: 780px; font-size: clamp(27px,4vw,46px); line-height: 1; letter-spacing: -.045em; }
.info-story-card p { margin: 0; max-width: 840px; color: #99a7b9; font-size: 14px; line-height: 1.65; }
.info-values, .signal-panel { margin-top: 44px; padding-top: 38px; border-top: 1px solid rgba(255,255,255,.07); }
.info-section-head span { color: var(--lime); font-size: 9px; font-weight: 950; letter-spacing: .14em; }
.info-section-head h2 { margin: 6px 0 20px; max-width: 760px; font-size: clamp(30px,5vw,48px); line-height: 1; letter-spacing: -.045em; }
.info-values-grid, .signal-grid, .transparency-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.info-values-grid article, .transparency-grid article {
  padding: 20px; border: 1px solid #26344a; border-radius: 18px; background: #0d141d;
}
.info-values-grid strong { display: block; margin-bottom: 7px; font-size: 16px; }
.info-values-grid p, .transparency-grid p { margin: 0; color: #8f9db0; font-size: 12px; line-height: 1.6; }
.info-cta-panel {
  margin-top: 40px; display: flex; align-items: center; justify-content: space-between; gap: 30px;
  padding: 28px; border: 1px solid rgba(234,255,66,.2); border-radius: 24px;
  background: linear-gradient(135deg,rgba(234,255,66,.065),rgba(14,21,30,.97));
}
.info-cta-panel > div:first-child { max-width: 740px; }
.info-cta-panel > div > span { color: var(--lime); font-size: 9px; font-weight: 950; letter-spacing: .14em; }
.info-cta-panel h2 { margin: 6px 0 7px; font-size: 29px; letter-spacing: -.035em; }
.info-cta-panel p { margin: 0; color: #8f9db0; font-size: 13px; line-height: 1.55; }
.info-cta-actions { margin-top: 0; flex: 0 0 auto; }

.method-flow { display: grid; gap: 10px; margin-top: 35px; }
.method-flow article {
  display: grid; grid-template-columns: 64px minmax(0,1fr); gap: 18px; align-items: start;
  padding: 22px 24px; border: 1px solid #253348; border-radius: 18px; background: #0d141d;
}
.method-flow article > span { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(234,255,66,.07); border: 1px solid rgba(234,255,66,.18); color: var(--lime); font-size: 11px; font-weight: 950; }
.method-flow small { color: #708198; font-size: 8px; font-weight: 950; letter-spacing: .14em; }
.method-flow h2 { margin: 5px 0 7px; font-size: 22px; letter-spacing: -.025em; }
.method-flow p { margin: 0; color: #8e9caf; font-size: 13px; line-height: 1.6; }
.signal-card { padding: 21px; border: 1px solid #27364a; border-radius: 18px; background: #0d141d; }
.signal-card h3 { margin: 13px 0 8px; font-size: 18px; }
.signal-card p { margin: 0; color: #8e9caf; font-size: 12px; line-height: 1.6; }
.signal-badge { display: inline-flex; padding: 6px 8px; border-radius: 999px; font-size: 9px; font-weight: 950; letter-spacing: .08em; }
.signal-official .signal-badge { color: #7ef0ae; background: rgba(93,229,150,.08); border: 1px solid rgba(93,229,150,.22); }
.signal-leak .signal-badge { color: #ff7567; background: rgba(240,74,57,.08); border: 1px solid rgba(240,74,57,.22); }
.signal-rumor .signal-badge { color: #ffd46d; background: rgba(255,207,84,.08); border: 1px solid rgba(255,207,84,.22); }
.reliability-panel {
  margin-top: 14px; display: grid; grid-template-columns: .7fr 1.3fr; gap: 28px; align-items: center;
  padding: 26px; border: 1px solid rgba(234,255,66,.17); border-radius: 22px; background: rgba(234,255,66,.035);
}
.reliability-panel small { margin-top: 8px; }
.reliability-panel h2 { margin: 6px 0 0; font-size: 28px; line-height: 1.05; letter-spacing: -.035em; }
.reliability-panel p { margin: 0; color: #94a2b5; font-size: 13px; line-height: 1.7; }
.transparency-grid { margin-top: 14px; }
.transparency-grid small { margin-top: 0; color: var(--lime); }
.transparency-grid h3 { margin: 8px 0 8px; font-size: 17px; }

@media(max-width:760px){
  .info-wrap { width: min(100% - 24px,1120px); padding: 44px 0 64px; }
  .info-hero h1 { font-size: 49px; }
  .info-hero p { font-size: 15px; }
  .info-story-grid, .info-values-grid, .signal-grid, .transparency-grid { grid-template-columns: 1fr; }
  .info-story-card-wide { grid-column: auto; }
  .info-story-card { min-height: auto; padding: 20px; }
  .info-story-card small { margin-top: 20px; }
  .method-flow article { grid-template-columns: 48px minmax(0,1fr); gap: 12px; padding: 17px; }
  .method-flow article > span { width: 42px; height: 42px; }
  .reliability-panel { grid-template-columns: 1fr; gap: 13px; padding: 20px; }
  .info-cta-panel { align-items: flex-start; flex-direction: column; padding: 21px; }
  .info-cta-actions { width: 100%; }
  .info-cta-actions .info-primary, .info-cta-actions .info-secondary { flex: 1 1 0; }
}

/* v0.9.0 HOTFIX — Community Top 5 ultime 24 ore */
.community-top {
  margin: 0 0 22px;
  padding: 20px;
  border: 1px solid rgba(234,255,66,.15);
  border-radius: 20px;
  background:
    radial-gradient(circle at 90% -10%, rgba(234,255,66,.08), transparent 31%),
    linear-gradient(145deg, rgba(15,22,31,.98), rgba(8,13,20,.98));
}
.community-top-head {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:20px;
  margin-bottom:15px;
}
.community-top-kicker {
  display:block;
  color:var(--lime);
  font-size:10px;
  font-weight:950;
  letter-spacing:.13em;
}
.community-top-head h2 {
  margin:5px 0 3px;
  font-size:24px;
  line-height:1.05;
  letter-spacing:-.03em;
}
.community-top-head p {
  margin:0;
  color:#8190a5;
  font-size:12px;
}
.community-top-window {
  flex:0 0 auto;
  padding:7px 10px;
  border:1px solid #2a374a;
  border-radius:999px;
  color:#aab7c8;
  background:#09111a;
  font-size:10px;
  font-weight:900;
  letter-spacing:.07em;
}
.community-top-list {
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);
  gap:10px;
}
.community-top-item {
  min-width:0;
  display:grid;
  grid-template-columns:44px minmax(0,1fr) 20px;
  align-items:center;
  gap:11px;
  min-height:86px;
  padding:12px 13px;
  border:1px solid #253246;
  border-radius:15px;
  background:rgba(7,12,18,.78);
  color:#f6f8fb;
  text-decoration:none;
  transition:transform .15s ease,border-color .15s ease,background .15s ease;
}
.community-top-item:first-child {
  grid-row:span 2;
  min-height:182px;
  background:
    radial-gradient(circle at 14% 30%, rgba(234,255,66,.09), transparent 34%),
    rgba(7,12,18,.9);
  border-color:rgba(234,255,66,.22);
}
.community-top-item:hover {
  transform:translateY(-2px);
  border-color:#465a76;
  background-color:#0c1621;
}
.community-top-rank {
  display:flex;
  align-items:center;
  justify-content:center;
  width:44px;
  height:44px;
  border:1px solid #29384d;
  border-radius:13px;
  background:#0c1420;
  font-size:22px;
}
.community-top-item:first-child .community-top-rank {
  width:50px;
  height:50px;
  font-size:27px;
  box-shadow:0 0 26px rgba(234,255,66,.08);
}
.community-top-rank-number {
  color:#d7e0eb;
  font-size:17px;
  font-weight:950;
}
.community-top-copy { min-width:0; }
.community-top-meta-head {
  display:flex;
  align-items:center;
  gap:6px;
  margin-bottom:5px;
}
.community-top-category,
.community-top-game {
  padding:3px 6px;
  border-radius:999px;
  border:1px solid rgba(234,255,66,.18);
  color:var(--lime);
  font-size:9px;
  font-weight:950;
  letter-spacing:.06em;
}
.community-top-game {
  border-color:#26364a;
  color:#a7b5c7;
}
.community-top-copy > strong {
  display:block;
  overflow:hidden;
  color:#f6f8fb;
  font-size:15px;
  line-height:1.16;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
}
.community-top-item:first-child .community-top-copy > strong {
  font-size:21px;
  -webkit-line-clamp:3;
}
.community-top-stats {
  display:flex;
  flex-wrap:wrap;
  gap:5px 10px;
  margin-top:8px;
  color:#8291a5;
  font-size:10px;
}
.community-top-reaction { color:var(--lime); font-weight:850; }
.community-top-arrow {
  color:#607089;
  font-size:26px;
  font-weight:300;
  transition:transform .15s ease,color .15s ease;
}
.community-top-item:hover .community-top-arrow { transform:translateX(2px); color:var(--lime); }
.community-top-loading,
.community-top-empty {
  grid-column:1/-1;
  padding:18px;
  border:1px dashed #27364b;
  border-radius:14px;
  color:#8291a5;
  font-size:12px;
  text-align:center;
}
@media(max-width:820px){
  .community-top { padding:15px; border-radius:17px; }
  .community-top-head { flex-direction:column; gap:8px; }
  .community-top-head h2 { font-size:21px; }
  .community-top-window { align-self:flex-start; }
  .community-top-list { grid-template-columns:1fr; }
  .community-top-item:first-child { grid-row:auto; min-height:104px; }
  .community-top-item:first-child .community-top-copy > strong { font-size:17px; -webkit-line-clamp:2; }
  .community-top-item:first-child .community-top-rank { width:44px; height:44px; font-size:23px; }
}

/* HOTFIX — Community League: layout home + pagina completa */
.community-league {
  position: relative;
  overflow: hidden;
  margin: 0 0 24px;
  padding: 20px;
  border: 1px solid rgba(115, 166, 255, .22);
  border-radius: 22px;
  background:
    radial-gradient(circle at 0% 0%, rgba(41, 113, 255, .14), transparent 34%),
    radial-gradient(circle at 100% 10%, rgba(234,255,66,.055), transparent 26%),
    linear-gradient(145deg, rgba(13,20,31,.98), rgba(7,12,18,.99));
  box-shadow: 0 20px 60px rgba(0,0,0,.12);
}
.community-league::before {
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:3px;
  background:linear-gradient(180deg,#79a8ff,var(--lime));
  opacity:.8;
}
.community-league-head {
  position:relative;
  z-index:1;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  margin-bottom:15px;
}
.community-league-kicker {
  display:inline-flex;
  align-items:center;
  gap:6px;
  color:#a9c7ff;
  font-size:10px;
  font-weight:950;
  letter-spacing:.13em;
}
.community-league-head h2 {
  margin:6px 0 5px;
  font-size:clamp(23px,3vw,31px);
  line-height:1.02;
  letter-spacing:-.04em;
}
.community-league-head p {
  margin:0;
  max-width:660px;
  color:#8b9aae;
  font-size:12px;
  line-height:1.55;
}
.community-league-link,
.league-back {
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:34px;
  padding:8px 12px;
  border:1px solid rgba(234,255,66,.25);
  border-radius:999px;
  background:rgba(234,255,66,.045);
  color:var(--lime);
  text-decoration:none;
  font-size:10px;
  font-weight:950;
  letter-spacing:.06em;
  transition:.16s ease;
}
.community-league-link:hover,
.league-back:hover {
  transform:translateY(-1px);
  border-color:rgba(234,255,66,.55);
  background:rgba(234,255,66,.08);
  color:#fff;
}
.community-league-me { margin:0 0 11px; }
.league-me-card {
  display:flex;
  align-items:center;
  gap:12px;
  min-height:66px;
  padding:11px 13px;
  border:1px solid rgba(75,104,146,.46);
  border-radius:15px;
  background:linear-gradient(90deg,rgba(13,23,36,.88),rgba(8,14,22,.72));
}
.league-me-card.owner {
  border-color:rgba(234,255,66,.20);
  background:
    radial-gradient(circle at 5% 50%,rgba(234,255,66,.07),transparent 28%),
    rgba(8,14,22,.78);
}
.league-me-card.join {
  justify-content:space-between;
  border-color:rgba(112,164,255,.28);
}
.league-me-card > div:not(.league-me-avatar):not(.league-me-points) {
  display:flex;
  flex-direction:column;
  gap:3px;
  min-width:0;
}
.league-me-card strong { color:#f7f9fc; font-size:13px; }
.league-me-card span { color:#8493a7; font-size:10px; line-height:1.4; }
.league-me-card a {
  flex:0 0 auto;
  padding:9px 12px;
  border-radius:10px;
  background:var(--lime);
  color:#080b10;
  text-decoration:none;
  font-size:9px;
  font-weight:950;
  letter-spacing:.05em;
}
.league-me-avatar,
.league-avatar {
  flex:0 0 auto;
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  overflow:hidden;
  border:1px solid #34465f;
  border-radius:50%;
  background:#101a28;
  color:#dfe7f3;
  font-size:14px;
  font-weight:950;
}
.league-me-avatar img,
.league-avatar img { width:100%; height:100%; object-fit:cover; }
.league-me-points {
  margin-left:auto;
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  text-align:right;
}
.league-me-points strong { color:var(--lime); font-size:19px; line-height:1; }
.league-me-points span { color:#718095; font-size:9px; }
.community-league-list {
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:8px;
}
.league-row {
  min-width:0;
  min-height:118px;
  padding:12px 10px;
  display:grid;
  grid-template-columns:1fr auto;
  grid-template-rows:auto auto 1fr auto;
  column-gap:8px;
  border:1px solid #223047;
  border-radius:15px;
  background:rgba(7,13,20,.72);
}
.league-row.top { border-color:rgba(120,170,255,.24); }
.league-row.top-1 {
  border-color:rgba(234,255,66,.25);
  background:
    radial-gradient(circle at 20% 0%,rgba(234,255,66,.09),transparent 42%),
    rgba(7,13,20,.82);
}
.league-rank {
  grid-column:1;
  grid-row:1;
  width:auto;
  text-align:left;
  color:#8392a6;
  font-size:19px;
  font-weight:950;
  line-height:1;
}
.league-rank strong { font-size:13px; }
.league-avatar {
  grid-column:2;
  grid-row:1 / span 2;
  width:38px;
  height:38px;
}
.league-copy {
  grid-column:1 / -1;
  grid-row:3;
  min-width:0;
  display:flex;
  align-content:flex-start;
  align-items:flex-start;
  flex-direction:column;
  gap:6px;
  padding-top:10px;
}
.league-copy > strong {
  display:block;
  width:100%;
  overflow:hidden;
  color:#fff;
  font-size:12px;
  font-weight:900;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.league-badge {
  display:inline-flex;
  align-items:center;
  width:max-content;
  max-width:100%;
  padding:3px 6px;
  border:1px solid #2b3b52;
  border-radius:999px;
  background:#0e1723;
  color:#9aabc1;
  font-size:7px;
  font-weight:950;
  letter-spacing:.06em;
  white-space:nowrap;
}
.league-member { color:#9fd1ff; border-color:rgba(101,174,255,.3); }
.league-insider { color:#ffaf70; border-color:rgba(255,141,69,.34); }
.league-elite { color:#ffe77c; border-color:rgba(255,223,96,.38); }
.league-legend { color:var(--lime); border-color:rgba(234,255,66,.42); }
.league-points {
  grid-column:1 / -1;
  grid-row:4;
  display:flex;
  align-items:baseline;
  justify-content:flex-start;
  gap:4px;
  min-width:0;
  margin-top:9px;
  padding-top:8px;
  border-top:1px solid rgba(255,255,255,.055);
}
.league-points strong { color:var(--lime); font-size:18px; line-height:1; }
.league-points span { color:#718095; font-size:9px; font-weight:900; text-transform:uppercase; }
.community-league-loading,
.community-league-empty,
.league-empty-card {
  grid-column:1/-1;
}
.league-empty-card {
  min-height:112px;
  display:flex;
  align-items:center;
  gap:14px;
  padding:16px;
  border:1px dashed rgba(119,163,224,.28);
  border-radius:16px;
  background:rgba(6,12,19,.58);
}
.league-empty-icon {
  flex:0 0 auto;
  width:48px;
  height:48px;
  display:grid;
  place-items:center;
  border:1px solid rgba(234,255,66,.18);
  border-radius:14px;
  background:rgba(234,255,66,.045);
  font-size:22px;
}
.league-empty-copy { min-width:0; }
.league-empty-copy strong { display:block; margin-bottom:4px; color:#f4f7fb; font-size:14px; }
.league-empty-copy span { display:block; color:#8392a6; font-size:11px; line-height:1.45; }
.community-league-loading,
.community-league-empty {
  padding:18px 12px;
  color:#78879a;
  font-size:11px;
  text-align:center;
}

/* pagina classifica completa */
.league-page { padding-top:34px; }
.league-page-hero { max-width:780px; padding:28px 0 22px; }
.league-page-hero h1 { margin:7px 0 9px; font-size:clamp(36px,5.2vw,62px); line-height:.95; letter-spacing:-.055em; }
.league-page-hero p { margin:0; max-width:700px; color:#8c9bae; line-height:1.6; }
.league-page-me { margin-bottom:15px; }
.league-page-cta,
.league-page-my-rank {
  display:flex;
  align-items:center;
  gap:12px;
  padding:14px;
  border:1px solid #26364d;
  border-radius:16px;
  background:#0b131e;
}
.league-page-cta > div,
.league-page-my-rank > div:not(.league-me-avatar):not(.league-me-points) { display:flex; flex-direction:column; gap:3px; }
.league-page-cta span,
.league-page-my-rank span,
.league-page-my-rank small { color:#7f8da0; font-size:10px; }
.league-page-cta a { margin-left:auto; padding:10px 13px; border-radius:10px; background:var(--lime); color:#091009; text-decoration:none; font-size:9px; font-weight:950; }
.league-rules { display:grid; grid-template-columns:repeat(4,1fr); gap:10px; margin:0 0 18px; }
.league-rules > div { padding:14px; border:1px solid #202d3e; border-radius:14px; background:#0a111a; }
.league-rules strong { display:block; margin-bottom:2px; color:var(--lime); font-size:21px; }
.league-rules span { color:#8391a4; font-size:9px; line-height:1.4; }
.league-full-card { padding:20px; border:1px solid #253247; border-radius:20px; background:#0a1018; }
.league-full-head { display:flex; justify-content:space-between; align-items:end; gap:15px; margin-bottom:14px; }
.league-full-head span { color:#8796aa; font-size:9px; font-weight:950; letter-spacing:.12em; }
.league-full-head h2 { margin:4px 0 0; font-size:25px; }
.league-full-head > strong { color:#8b9aae; font-size:10px; }
.league-full-list { display:grid; gap:7px; }
.league-full-row { display:grid; grid-template-columns:55px 42px minmax(0,1fr) auto; gap:11px; align-items:center; min-height:66px; padding:10px 12px; border:1px solid #1f2b3c; border-radius:14px; background:#0c131d; }
.league-full-row.podium { border-color:rgba(234,255,66,.16); }
.league-full-row.p1 { background:linear-gradient(90deg,rgba(234,255,66,.08),#0c131d 42%); }
.league-full-rank { text-align:center; color:#8795a8; font-weight:950; }
.league-total { display:flex; flex-direction:column; align-items:flex-end; }
.league-total strong { color:#fff; font-size:19px; }
.league-total span { color:#76869a; font-size:8px; text-transform:uppercase; }
.league-levels { padding:22px 0 10px; }
.league-levels h2 { font-size:20px; }
.league-level-grid { display:grid; grid-template-columns:repeat(5,1fr); gap:9px; }
.league-level-grid > div { display:flex; flex-direction:column; gap:4px; padding:12px; border:1px solid #1f2a3a; border-radius:12px; background:#0a1119; }
.league-level-grid b { font-size:11px; }
.league-level-grid span { color:#7f8da0; font-size:9px; }

@media (max-width: 980px) {
  .community-league-list { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (max-width: 820px) {
  .community-league { padding:15px; border-radius:18px; }
  .community-league-head { flex-direction:column; gap:10px; }
  .community-league-link { align-self:flex-start; }
  .community-league-list { grid-template-columns:1fr 1fr; }
  .league-me-card.join { align-items:flex-start; flex-direction:column; }
  .league-me-card.join a { width:100%; text-align:center; }
  .league-rules { grid-template-columns:1fr 1fr; }
  .league-full-row { grid-template-columns:44px 36px minmax(0,1fr) auto; padding:9px 8px; gap:8px; }
  .league-level-grid { grid-template-columns:1fr 1fr; }
}
@media (max-width: 520px) {
  .community-league-list { grid-template-columns:1fr; }
  .league-row { min-height:88px; grid-template-columns:38px minmax(0,1fr) auto; grid-template-rows:auto auto; align-items:center; }
  .league-rank { grid-column:1; grid-row:1 / span 2; text-align:center; }
  .league-avatar { grid-column:2; grid-row:1 / span 2; }
  .league-copy { grid-column:3; grid-row:1; padding:0; }
  .league-points { grid-column:3; grid-row:2; border:0; margin:0; padding:3px 0 0; }
  .league-empty-card { align-items:flex-start; }
  .league-empty-icon { width:42px; height:42px; }
  .league-full-head { align-items:flex-start; flex-direction:column; }
}


/* v0.9.0 hotfix — navigazione informativa sempre accessibile in alto */
.site-nav {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
}
.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  background: rgba(16,23,32,.55);
  color: #aeb9c8;
  text-decoration: none;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
  transition: transform .18s ease, border-color .18s ease, color .18s ease, background .18s ease;
}
.site-nav a:hover {
  transform: translateY(-1px);
  color: #f7f9fc;
  border-color: rgba(234,255,66,.28);
  background: rgba(234,255,66,.05);
}
.site-nav a:last-child {
  color: #0a0d12;
  border-color: var(--lime);
  background: var(--lime);
}
.site-nav a:last-child:hover {
  color: #0a0d12;
  background: #f0ff68;
}
.socials { margin-left: 3px; }

@media (max-width: 980px) {
  .topbar-inner {
    flex-wrap: wrap;
    gap: 9px 14px;
    padding: 9px 0 10px;
  }
  .brand { margin-right: auto; }
  .socials { margin-left: 0; }
  .site-nav {
    order: 3;
    width: 100%;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 7px;
  }
  .site-nav a { min-height: 34px; padding: 0 8px; }
}

@media (max-width: 560px) {
  .topbar-inner { width: min(100% - 20px, 1220px); }
  .socials {
    max-width: min(58vw, 270px);
    gap: 6px;
    scrollbar-width: none;
  }
  .socials::-webkit-scrollbar { display: none; }
  .socials .social-icon { width: 35px; height: 35px; flex: 0 0 35px; }
  .site-nav a {
    min-height: 33px;
    border-radius: 10px;
    font-size: 10px;
    letter-spacing: .01em;
  }
}
