/* ============ Divergery — foglio di stile ============ */
:root {
  --blu: #e67e22;
  --blu-scuro: #f39c4a;
  --menu: #121a32;
  --accent: #e67e22;
  --verde: #1e8449;
  --verde-chiaro: rgba(30, 132, 73, .18);
  --rosso: #c0392b;
  --rosso-chiaro: rgba(192, 57, 43, .18);
  --sfondo: #2c3e70;
  --carta: #1a1a1c;
  --testo: #eef2f8;
  --testo-soft: #aab6c8;
  --testo-pagina: #e8eef8;
  --bordo: rgba(230, 126, 34, .4);
  --raggio: 12px;
  --ombra: 0 0 0 1px rgba(230, 126, 34, .1) inset, 0 12px 28px rgba(0, 0, 0, .45);
  --oro: #e67e22;
  --oro-chiaro: #f39c4a;
  --oro-testo: #eef2f8;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--sfondo);
  color: var(--testo-pagina);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
  padding-top: var(--header-h, 64px);
}
.container { width: min(1100px, 94%); margin: 0 auto; max-width: 100%; }
main { flex: 1; padding: 28px 0 48px; min-width: 0; max-width: 100%; }
main > p { color: var(--testo-pagina) !important; }
main > p a { color: var(--oro-chiaro) !important; }
a { color: var(--oro-chiaro); }

/* Pannelli: testo chiaro su fondo scuro */
.topic-card, .form-card, .board-card, .profile-head, .profile-edit,
.live-card, .live-form, .live-msg, .pm-chat, .pm-row,
.trend-preview-card, .info-box,
.profile-comment, .kind-btn, .rules-card, .comment-box {
  color: var(--testo);
}
.form-card .page-title,
.profile-head .page-title,
.pm-chat .page-title,
.board-card .page-title {
  color: var(--oro-testo);
}

/* ---------- Intestazione ---------- */
.site-header {
  background: var(--menu);
  color: #fff;
  box-shadow: 0 2px 14px rgba(0, 0, 0, .28);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
}
.header-inner {
  display: flex; align-items: center; gap: 22px;
  padding: 12px 0; flex-wrap: wrap;
}
.logo {
  font-family: Georgia, serif;
  font-size: 26px; font-weight: bold;
  color: #eef2f8; text-decoration: none; letter-spacing: .5px;
}
.logo span { color: var(--accent); }
.main-nav { display: flex; align-items: center; gap: 18px; flex: 1; }
.main-nav a { color: #dce3f3; text-decoration: none; font-weight: 600; font-size: 15px; }
.main-nav a:hover { color: #ffd4a8; }
.main-nav a.btn,
.main-nav a.btn-accent {
  color: #0d0d0f;
  border: none;
}
.main-nav a.btn:hover,
.main-nav a.btn-accent:hover {
  color: #0d0d0f;
  filter: brightness(1.1);
}
.auth-area { display: flex; align-items: center; gap: 10px; font-size: 14px; flex-wrap: wrap; }
.auth-area a { color: #dce3f3; text-decoration: none; font-weight: 600; }
.auth-area a:hover { color: #ffd4a8; }
.msg-link { display: inline-flex; align-items: center; gap: 6px; }
.msg-badge {
  background: var(--accent); color: #0d0d0f;
  font-size: 11px; font-weight: 800; min-width: 18px; height: 18px;
  border-radius: 999px; display: inline-flex; align-items: center; justify-content: center;
  padding: 0 5px; line-height: 1;
}
.auth-user { display: flex; align-items: center; gap: 8px; color: #fff; flex-wrap: wrap; }

.header-tools {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-left: auto;
}
.lang-switch {
  display: inline-flex; align-items: center; gap: 6px;
  color: #aab6d4; font-size: 12px; font-weight: 700;
}
.lang-switch-label { display: none; }
.lang-switch select {
  background: #1a2444; color: #fff; border: 1px solid #3a4a72;
  border-radius: 6px; padding: 5px 8px; font-weight: 700; font-size: 13px;
  cursor: pointer;
}
.flag-img {
  display: inline-block;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.12);
  vertical-align: middle;
  flex-shrink: 0;
}
.flag-img.flag-sm { width: 20px; height: 15px; }
.flag-img.flag-md { width: 28px; height: 21px; }
.flag-img.flag-lg { width: 40px; height: 30px; }
.flag-global {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 18px; line-height: 1;
  box-shadow: none;
}
.flag-global.flag-lg { font-size: 30px; }
.flag-fallback {
  font-size: 11px; font-weight: 800; color: #ffd4a8;
  box-shadow: none;
}
.nation-switch {
  position: relative;
  display: inline-flex; align-items: center;
  color: #aab6d4; font-size: 12px; font-weight: 700;
}
.nation-switch-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: #1a2444; color: #fff; border: 1px solid #3a4a72;
  border-radius: 6px; padding: 5px 10px; font-weight: 700; font-size: 13px;
  cursor: pointer; font-family: inherit; max-width: 220px;
}
.nation-switch-btn:hover { border-color: var(--accent); }
.nation-switch-name {
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.nation-switch-caret { opacity: .7; font-size: 11px; }
.nation-switch-menu {
  position: absolute; top: calc(100% + 6px); right: 0;
  min-width: 200px; max-height: 320px; overflow-y: auto;
  margin: 0; padding: 6px 0; list-style: none;
  background: #141416; border: 1.5px solid rgba(230, 126, 34, .45);
  border-radius: 10px; box-shadow: 0 14px 36px rgba(0,0,0,.5);
  z-index: 80;
}
.nation-switch-menu[hidden] { display: none; }
.nation-switch-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px; cursor: pointer; color: #eef2f8; font-size: 13px;
}
.nation-switch-item:hover,
.nation-switch-item.active {
  background: rgba(230, 126, 34, .16);
}
.home-nation-badge {
  margin: 10px 0 0;
  font-size: 14px;
  font-weight: 700;
  color: #ffd4a8;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.nation-gate-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(8, 12, 28, .88);
  display: flex; align-items: center; justify-content: center;
  padding: 24px 16px;
}
.nation-gate-card {
  width: min(720px, 96vw); max-height: 90vh; overflow: auto;
  background: linear-gradient(165deg, #1a1a1c 0%, #0d0d0f 100%);
  border: 1.5px solid rgba(230, 126, 34, .45);
  border-radius: 16px; padding: 28px 24px 24px;
  box-shadow: 0 20px 50px rgba(0,0,0,.5);
  color: #eef2f8;
}
.nation-gate-card h1 {
  margin: 0 0 8px; font-family: Georgia, serif; font-size: 28px; color: #f2f5fb;
}
.nation-gate-card > p {
  margin: 0 0 18px; color: #aab6c8; line-height: 1.45; font-size: 14.5px;
}
.nation-gate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
}
.nation-gate-btn {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 14px 10px; border-radius: 12px; cursor: pointer;
  background: rgba(255,255,255,.04);
  border: 1.5px solid rgba(230, 126, 34, .3);
  color: #eef2f8; font: inherit;
  transition: border-color .15s, background .15s, transform .15s;
}
.nation-gate-btn:hover {
  border-color: var(--accent);
  background: rgba(230, 126, 34, .12);
  transform: translateY(-2px);
}
.nation-gate-btn .flag-img { margin-bottom: 2px; }
.nation-gate-btn strong { font-size: 13.5px; text-align: center; }
.translate-btn {
  background: none; border: none; padding: 0; cursor: pointer;
  font-size: 12.5px; font-weight: 700; color: var(--testo-soft);
  font-family: inherit; white-space: nowrap;
}
.translate-btn:hover { color: var(--accent); text-decoration: underline; }
.translate-btn[disabled] { opacity: .55; cursor: wait; }
.translate-note {
  margin: -4px 14px 8px;
  font-size: 11.5px; font-weight: 700;
  color: var(--testo-soft); letter-spacing: .02em;
  text-transform: uppercase;
}
.comment-text.is-translated,
.descrizione.is-translated {
  font-style: normal;
}
.descrizione-tools {
  margin: -4px 0 10px;
}
.descrizione-tools .translate-btn { font-size: 12.5px; }

.comment-actions .report-btn {
  background: none; border: none; color: var(--testo-soft);
  font-size: 12.5px; font-weight: 700; cursor: pointer; padding: 0;
  pointer-events: auto; position: relative; z-index: 3;
}
.comment-actions .report-btn:hover { color: var(--rosso); }
.comment-actions .report-btn.reported { opacity: .55; cursor: default; }
.mod-comment-text { margin: 0 0 4px; font-size: 14px; max-width: 42ch; line-height: 1.4; }
.mod-actions { display: flex; flex-wrap: wrap; gap: 6px; white-space: nowrap; }
.mod-table td { vertical-align: top; }

/* ---------- Pulsanti ---------- */
.btn {
  display: inline-block; border: none; cursor: pointer;
  border-radius: 8px; padding: 10px 18px;
  font-size: 15px; font-weight: 600; text-decoration: none;
  background: var(--blu); color: #0d0d0f; transition: filter .15s;
}
.btn:hover { filter: brightness(1.12); }
.btn-accent { background: var(--accent); color: #0d0d0f; }
.btn-small { padding: 7px 14px; font-size: 14px; }
.btn-ghost { background: transparent; color: #dce3f3; border: 1px solid rgba(230, 126, 34, .45); }
.btn-verde { background: var(--verde); color: #fff; }
.btn-rosso { background: var(--rosso); color: #fff; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* ---------- Distintivi di rango ---------- */
.rank-badge {
  display: inline-block; padding: 3px 10px; border-radius: 8px;
  color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .2px;
  vertical-align: middle; line-height: 1.3; max-width: 22em;
}
.user-chip { font-weight: 700; }
.points { color: var(--testo-soft); font-size: 12.5px; }
.avatar {
  display: inline-flex; align-items: center; justify-content: center;
  object-fit: cover; border-radius: 50%; flex-shrink: 0;
  background: #2a2418; vertical-align: middle;
  border: 1px solid rgba(230, 126, 34, .35);
}
.avatar-sm { width: 22px; height: 22px; font-size: 11px; }
.avatar-md { width: 44px; height: 44px; font-size: 18px; }
.avatar-lg { width: 72px; height: 72px; font-size: 28px; }
.avatar-xl { width: 96px; height: 96px; font-size: 36px; }
.avatar-fallback { color: #fff; font-weight: 800; line-height: 1; }

/* ---------- Pagina iniziale (stile Versus) ---------- */
.home-versus {
  padding: 8px 0 40px;
}
.home-brand-block {
  text-align: center;
  margin: 8px 0 22px;
}
.home-brand {
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 8vw, 64px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #eef2f8;
  line-height: 1.05;
  cursor: pointer;
}
.home-brand span { color: var(--accent); }
.home-brand:hover { opacity: .92; }
.home-propose-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 980px;
  width: 100%;
  margin: 0 auto 22px;
  min-height: 64px;
  padding: 14px 22px;
  box-sizing: border-box;
  background: #141416;
  border: 1.5px solid rgba(230, 126, 34, .55);
  border-radius: 18px;
  color: var(--oro-testo);
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .35);
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.home-propose-cta:hover {
  background: rgba(230, 126, 34, .16);
  border-color: var(--accent);
  color: #fff;
}
.home-tagline {
  margin: 10px auto 0;
  max-width: 560px;
  color: #aab6c8;
  font-size: 15.5px;
  line-height: 1.45;
}
.home-kinds {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 0 auto 22px;
  max-width: 920px;
}
.home-kind {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 118px;
  padding: 18px 18px 14px;
  border-radius: 14px;
  text-decoration: none;
  color: #eef2f8;
  border: 1.5px solid rgba(230, 126, 34, .45);
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(230, 126, 34, .18), transparent 55%),
    linear-gradient(145deg, #1a1a1c 0%, #0d0d0f 100%);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .4);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.home-kind:hover {
  transform: translateY(-3px);
  border-color: var(--oro-chiaro);
  box-shadow: 0 0 18px rgba(230, 126, 34, .2), 0 14px 32px rgba(0, 0, 0, .45);
}
.home-kind-debate {
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(230, 126, 34, .22), transparent 55%),
    linear-gradient(145deg, #1a1a1c 0%, #0d0d0f 100%);
}
.home-kind-clash {
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(192, 57, 43, .22), transparent 55%),
    linear-gradient(145deg, #1a1214 0%, #0d0d0f 100%);
}
.home-kind-choice {
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(230, 126, 34, .28), transparent 55%),
    linear-gradient(145deg, #1a1410 0%, #0d0d0f 100%);
}
.home-kind-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #aab6c8;
}
.home-kind strong {
  font-family: Georgia, serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.15;
}
.home-kind-go {
  margin-top: auto;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
}
.home-search-wrap {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 12px;
  max-width: 980px;
  width: 100%;
  margin: 0 auto 22px;
  position: relative;
  z-index: 5;
}
.home-search-field {
  flex: 1;
  min-width: 0;
  position: relative;
}
.home-search {
  display: flex;
  gap: 10px;
  min-width: 0;
  min-height: 64px;
  background: #141416;
  border: 1.5px solid rgba(230, 126, 34, .45);
  border-radius: 18px;
  padding: 8px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .45);
}
.search-suggest {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  margin: 0;
  padding: 6px 0;
  list-style: none;
  background: #141416;
  border: 1.5px solid rgba(230, 126, 34, .45);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .55);
  z-index: 40;
  max-height: 280px;
  overflow-y: auto;
}
.search-suggest[hidden] { display: none; }
.search-suggest-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  cursor: pointer;
  color: var(--oro-testo);
  font-size: 15px;
}
.search-suggest-item:hover,
.search-suggest-item.active {
  background: rgba(230, 126, 34, .16);
}
.search-suggest-word {
  font-weight: 600;
  text-transform: lowercase;
}
.search-suggest-views {
  color: #8a93a6;
  font-size: 12px;
  white-space: nowrap;
}
.home-search input {
  flex: 1;
  min-width: 0;
  border: none;
  padding: 16px 18px;
  font-size: 18px;
  font-family: inherit;
  border-radius: 12px;
  background: transparent;
  color: var(--oro-testo);
}
.home-search input::placeholder { color: #7a8699; }
.home-search input:focus { outline: none; }
.home-search .btn {
  flex-shrink: 0;
  padding: 14px 22px;
  font-size: 16px;
  border-radius: 12px;
}
.home-cat-filter { position: relative; flex-shrink: 0; }
.home-cat-btn {
  height: 100%;
  min-width: 180px;
  min-height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 18px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.1);
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 32px rgba(8, 12, 28, .24);
}
.home-cat-btn:hover { background: rgba(255,255,255,.16); }
.home-cat-btn-label {
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.home-cat-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: min(420px, 88vw);
  max-height: min(70vh, 520px);
  overflow: auto;
  background: #141416;
  color: var(--testo);
  border-radius: 14px;
  border: 1.5px solid rgba(230, 126, 34, .45);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .55);
  padding: 12px 12px 14px;
  z-index: 20;
}
.home-cat-panel-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--bordo);
}
.home-cat-all {
  font-weight: 800;
  text-decoration: none;
  color: var(--blu);
}
.home-cat-all.active { color: var(--accent); }
.home-cat-hint {
  margin: 0;
  font-size: 12px;
  color: var(--testo-soft);
  line-height: 1.35;
}
.home-cat-group {
  border-bottom: 1px solid rgba(230, 126, 34, .2);
  padding: 4px 0;
}
.home-cat-group summary {
  list-style: none;
  cursor: pointer;
  font-weight: 800;
  font-size: 13.5px;
  padding: 8px 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.home-cat-group summary::-webkit-details-marker { display: none; }
.home-cat-group summary::before {
  content: '▸';
  color: var(--testo-soft);
  font-size: 11px;
}
.home-cat-group[open] summary::before { content: '▾'; }
.home-cat-group summary a {
  color: var(--testo);
  text-decoration: none;
}
.home-cat-group summary a:hover { color: var(--blu); }
.home-cat-children {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 4px 10px 18px;
}
.home-cat-chip {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  color: var(--oro-chiaro);
  background: rgba(230, 126, 34, .1);
  border: 1px solid rgba(230, 126, 34, .35);
}
.home-cat-chip:hover,
.home-cat-chip.active {
  background: var(--blu);
  border-color: var(--blu);
  color: #0d0d0f;
}
.home-stats {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin: 6px auto 28px;
  max-width: 720px;
  padding-top: 8px;
}
.home-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.home-stat strong {
  font-family: Georgia, serif;
  font-size: 22px;
  color: var(--accent);
}
.home-stat span {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #aab6c8;
}
.home-search-wrap.is-page {
  margin: 0 0 22px;
  max-width: none;
  justify-content: stretch;
  width: 100%;
}
.home-search-wrap.is-page .home-search {
  min-height: 68px;
  box-shadow: 0 10px 32px rgba(0, 0, 0, .35);
  border: 2px solid rgba(230, 126, 34, .45);
}
.home-search-wrap.is-page .home-cat-btn {
  background: #141416;
  color: var(--oro-testo);
  border: 2px solid rgba(230, 126, 34, .45);
  box-shadow: 0 10px 32px rgba(0, 0, 0, .28);
  min-height: 68px;
}
.home-search-wrap.is-page .home-cat-btn:hover {
  background: #1c1c1f;
  border-color: var(--accent);
}
.discussioni-page .page-title {
  margin-top: 4px;
}
.discussioni-page .press-note {
  margin-bottom: 12px;
}
.cat-dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
@media (max-width: 760px) {
  .home-kinds { grid-template-columns: 1fr; }
  .home-search-wrap { flex-direction: column; }
  .home-cat-btn { min-height: 48px; width: 100%; }
  .home-cat-panel { left: 0; right: 0; width: auto; }
  .home-propose-cta { min-height: 52px; font-size: 15px; }
  .cat-dual { grid-template-columns: 1fr; }
}

.hero {
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(230, 126, 34, .14), transparent 50%),
    linear-gradient(165deg, #1a1a1c 0%, #0d0d0f 100%);
  color: #eef2f8; border-radius: var(--raggio);
  padding: 34px 34px; margin-bottom: 26px;
  box-shadow: var(--ombra);
  border: 1.5px solid var(--oro);
}
.hero h1 { margin: 0 0 8px; font-size: 30px; font-family: Georgia, serif; color: var(--oro-testo); }
.hero p { margin: 0; color: #aab6c8; font-size: 16px; max-width: 680px; }
.hero-kinds {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  margin-top: 18px; max-width: 720px;
}
.hero-kind {
  display: flex; flex-direction: column; gap: 2px;
  background: rgba(230, 126, 34, .08); border: 1px solid rgba(230, 126, 34, .3);
  border-radius: 10px; padding: 12px 14px; text-decoration: none; color: #eef2f8;
  transition: background .15s, border-color .15s;
}
.hero-kind:hover { background: rgba(230, 126, 34, .16); border-color: var(--accent); }
.hero-kind strong { font-size: 14px; }
.hero-kind span { font-size: 12px; color: #aab6c8; }
.hero-search {
  display: flex; gap: 10px; margin-top: 20px; max-width: 560px; flex-wrap: wrap;
}
.hero-search input {
  flex: 1; min-width: 220px; padding: 12px 16px; border-radius: 10px;
  border: 1.5px solid rgba(230, 126, 34, .4); font-size: 15px; font-family: inherit;
  background: #0d0d0f; color: var(--testo);
}
.hero-search input:focus { outline: 3px solid rgba(230, 126, 34, .45); }
.hero-stats {
  display: flex; gap: 34px; margin-top: 22px; flex-wrap: wrap;
  border-top: 1px solid rgba(230, 126, 34, .25); padding-top: 18px;
}
.hero-stat { display: flex; flex-direction: column; }
.hero-stat strong { font-size: 26px; color: var(--accent); font-family: Georgia, serif; }
.hero-stat span { font-size: 13px; color: #aab6c8; text-transform: uppercase; letter-spacing: 1px; }

/* ---------- Sezione Top Trend ---------- */
.section-title {
  font-family: Georgia, serif; font-size: 22px; margin: 26px 0 14px;
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  color: #eef2f8;
}
.page-title { color: #eef2f8; font-family: Georgia, serif; }
.trend-flame {
  background: linear-gradient(120deg, var(--accent), #e67e22);
  color: #0d0d0f; border-radius: 8px; padding: 4px 12px;
  font-size: 13px; letter-spacing: 2px; font-family: "Segoe UI", sans-serif; font-weight: 800;
}
.trend-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 8px; }
.trend-card {
  background: var(--carta); border-radius: var(--raggio); box-shadow: var(--ombra);
  padding: 0; overflow: hidden; text-decoration: none; color: var(--testo);
  border: 1px solid transparent; transition: transform .15s, border-color .15s;
  display: flex; flex-direction: row;
}
.trend-card { cursor: pointer; }
.trend-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.trend-card.open { border-color: var(--blu); transform: translateY(-3px); }

/* Top trend in home: fondo quasi nero, contorno arancio */
.trend-card-home {
  color: #eef2f8;
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(230, 126, 34, .12), transparent 50%),
    linear-gradient(165deg, #1a1a1c 0%, #0d0d0f 55%, #080809 100%);
  border: 1.5px solid #e67e22;
  box-shadow:
    0 0 0 1px rgba(230, 126, 34, .12) inset,
    0 12px 28px rgba(0, 0, 0, .45);
}
.trend-card-home:hover {
  border-color: #f39c4a;
  box-shadow:
    0 0 0 1px rgba(230, 126, 34, .22) inset,
    0 0 18px rgba(230, 126, 34, .22),
    0 16px 34px rgba(0, 0, 0, .5);
  transform: translateY(-3px);
}
.trend-card-home h3 { color: #f2f5fb; }
.trend-card-home .trend-meta { color: #aab6c8; }
.trend-card-home .trend-meta strong { color: #eef2f8; }
.trend-card-home .tag {
  background: rgba(230, 126, 34, .14);
  color: #dce3f3;
  border: 1px solid rgba(230, 126, 34, .35);
}
.trend-card-home .kind-chip {
  background: rgba(230, 126, 34, .2);
  color: #f5b87a;
  border-color: rgba(230, 126, 34, .4);
}
.trend-card-home .scoreboard {
  background: transparent;
  border: none;
  padding: 4px 0 0;
  margin: 2px 0 0;
  color: #eef2f8;
  box-shadow: none;
}
.trend-card-home .score-vs {
  color: #eef2f8;
}
.trend-card-home .score-vs em {
  color: #f39c4a;
}
.trend-card-home .score-label {
  color: #e8eef8;
}
.trend-card-home .score-n {
  color: #f39c4a;
}
.trend-card-home .score-track {
  background: rgba(255, 255, 255, .08);
}
.trend-card-home .score-rows,
.trend-card-home .score-row {
  color: #eef2f8;
}
.trend-card-home .trend-pos-inline {
  background: linear-gradient(145deg, #d4af37, #8a6d1d);
  color: #1a120c;
  border: 1px solid #f0a15a;
  font-weight: 800;
}
.trend-card-home.trend-1 {
  border-color: #f0a15a;
  background:
    radial-gradient(100% 80% at 100% 0%, rgba(230, 200, 92, .18), transparent 45%),
    linear-gradient(165deg, #222226 0%, #101012 55%, #080809 100%);
}
.trend-card-home.trend-1 .trend-pos-inline {
  background: linear-gradient(145deg, #f5b87a, #e67e22);
  border-color: #ffd4a8;
}

/* Anteprima dei commenti sotto ogni scheda Top Trend */
.trend-preview-card {
  background: var(--carta); border-radius: var(--raggio); box-shadow: var(--ombra);
  padding: 18px 20px 20px; margin: 10px 0 4px 14px;
  border-left: 5px solid var(--blu);
}
.trend-preview-head {
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px; flex-wrap: wrap; margin-bottom: 14px;
}
.trend-preview-head h3 { margin: 0; font-size: 18px; flex: 1; }
.trend-card h3 { margin: 0; font-size: 16.5px; line-height: 1.35; flex: 1; }
.trend-img {
  width: 230px; min-height: 130px; flex-shrink: 0;
  background-size: cover; background-position: center;
  background-color: #1a1a1c; position: relative;
}
.trend-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.trend-body .tag { align-self: flex-start; }
.trend-pos {
  position: absolute; top: 10px; left: 10px;
  width: 36px; height: 36px; border-radius: 50%; display: inline-flex;
  align-items: center; justify-content: center;
  font-weight: 800; font-size: 17px; font-family: Georgia, serif;
  background: #0d0d0f; color: var(--oro-chiaro); box-shadow: 0 2px 8px rgba(0,0,0,.5);
  border: 1.5px solid var(--oro);
}
.trend-1 .trend-pos { background: var(--accent); color: #0d0d0f; border-color: #ffd4a8; }
.trend-1 { border-color: var(--accent); }
.trend-meta { display: flex; gap: 12px; flex-wrap: wrap; font-size: 12.5px; color: var(--testo-soft); }

.cat-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.cat-chip {
  background: var(--carta); border: 1px solid var(--bordo);
  border-radius: 999px; padding: 7px 16px; font-size: 14px; font-weight: 600;
  color: var(--testo-soft); cursor: pointer; text-decoration: none;
}
.cat-chip:hover { border-color: var(--blu); color: var(--blu); }
.cat-chip.active { background: var(--blu); border-color: var(--blu); color: #0d0d0f; }

.topic-list { display: flex; flex-direction: column; gap: 14px; }

/* ---------- Schede pagina Discussioni / Home ---------- */
.disc-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.disc-card {
  position: relative;
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(230, 126, 34, .12), transparent 50%),
    linear-gradient(165deg, #1a1a1c 0%, #0d0d0f 55%, #080809 100%);
  border-radius: var(--raggio);
  box-shadow:
    0 0 0 1px rgba(230, 126, 34, .12) inset,
    0 12px 28px rgba(0, 0, 0, .45);
  border: 1.5px solid #e67e22;
  overflow: hidden;
  color: #eef2f8;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.disc-card:hover {
  border-color: #f39c4a;
  box-shadow:
    0 0 0 1px rgba(230, 126, 34, .22) inset,
    0 0 18px rgba(230, 126, 34, .22),
    0 16px 34px rgba(0, 0, 0, .5);
  transform: translateY(-2px);
}
.disc-card-cover {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}
.disc-card-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(160px, 230px);
  gap: 12px 18px;
  align-items: start;
  padding: 16px 18px;
  position: relative;
  z-index: 2;
  pointer-events: none;
}
.disc-card-left {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.disc-card-title {
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 700;
  color: #f2f5fb;
}
.disc-countdown {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  background: rgba(230, 126, 34, .12);
  border: 1px solid rgba(230, 126, 34, .4);
  border-radius: 8px;
  padding: 6px 10px;
  font-variant-numeric: tabular-nums;
}
.disc-countdown.is-closed {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.18);
}
.disc-countdown-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .4px;
  color: #aab6c8;
}
.disc-countdown-value {
  font-size: 14px;
  font-weight: 800;
  color: #f39c4a;
  font-family: Consolas, "Courier New", monospace;
}
.disc-countdown.is-closed .disc-countdown-value {
  color: #9a9a9a;
}
.disc-card-foot {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.disc-card-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.disc-card .tag {
  background: rgba(230, 126, 34, .14);
  color: #dce3f3;
  border: 1px solid rgba(230, 126, 34, .35);
}
.disc-card .kind-chip {
  background: rgba(230, 126, 34, .2);
  color: #f5b87a;
  border-color: rgba(230, 126, 34, .4);
}
.disc-card .edition-chip {
  background: rgba(230, 126, 34, .12);
  color: #f39c4a;
  border-color: rgba(230, 126, 34, .35);
}
.disc-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #aab6c8;
}
.disc-card-meta > span:not(:last-child)::after {
  content: '·';
  margin-left: 10px;
  color: rgba(230, 126, 34, .45);
}
.disc-card-meta a { color: #f39c4a; }
.disc-card-right {
  min-width: 0;
  border-left: 1px solid rgba(230, 126, 34, .28);
  padding-left: 16px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 3;
  pointer-events: auto;
}
.disc-card .vote-chart-hint,
.disc-card .vote-chart-leg,
.disc-card .vote-chart-empty {
  color: #aab6c8;
}
.disc-card .vote-chart-compact:hover {
  border-color: rgba(230, 126, 34, .45);
  background: rgba(230, 126, 34, .08);
}
.disc-card .vote-chart-svg {
  background: rgba(255,255,255,.03);
  border-color: rgba(230, 126, 34, .25);
}
.vote-chart {
  width: 100%;
}
.vote-chart-compact {
  width: 100%;
  min-height: 72px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: stretch;
  background: transparent;
  border: 1px dashed transparent;
  border-radius: 8px;
  padding: 2px;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
  transition: border-color .15s ease, background .15s ease;
}
.vote-chart-compact:hover {
  border-color: rgba(230, 126, 34, .55);
  background: rgba(230, 126, 34, .08);
}
.vote-chart-compact .vote-chart-svg {
  display: block;
  width: 100%;
  height: 64px;
  pointer-events: none;
}
.vote-chart-hint {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--testo-soft);
  text-align: center;
  line-height: 1.2;
}
.vote-chart-empty {
  margin: 0;
  font-size: 12px;
  color: var(--testo-soft);
  text-align: center;
}
.vote-chart-panel {
  margin: 18px 0 8px;
  padding: 14px 16px 12px;
  background: rgba(0, 0, 0, .28);
  border: 1px solid rgba(230, 126, 34, .3);
  border-radius: 10px;
  text-align: left;
}
.vote-chart-panel h3 {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 800;
  color: var(--testo);
}
.vote-chart-note {
  margin: 0 0 10px;
  font-size: 12.5px;
  color: var(--testo-soft);
  line-height: 1.35;
}
.vote-chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-bottom: 8px;
}
.vote-chart-legend.is-compact {
  gap: 4px 8px;
  margin-bottom: 2px;
}
.vote-chart-legend.is-compact .vote-chart-leg {
  font-size: 10px;
  font-weight: 700;
  max-width: 100%;
}
.vote-chart-legend.is-compact .vote-chart-leg i {
  width: 7px;
  height: 7px;
}
.vote-chart-leg {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--testo);
}
.vote-chart-leg i {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  display: inline-block;
  flex-shrink: 0;
}
.vote-chart-stage {
  position: relative;
}
.vote-chart-svg {
  display: block;
  width: 100%;
  max-height: 280px;
  background: #0d0d0f;
  border-radius: 6px;
  border: 1px solid rgba(230, 126, 34, .28);
}
.vote-chart-grid {
  stroke: rgba(230, 126, 34, .12);
  stroke-width: 1;
}
.vote-chart-axis-line {
  stroke: #e67e22;
  stroke-width: 1.8;
}
.vote-chart-tick {
  stroke: #e67e22;
  stroke-width: 1.5;
}
.vote-chart-tick-y,
.vote-chart-tick-x {
  fill: #eef2f8;
  font-size: 13px;
  font-weight: 700;
  font-family: Consolas, "Courier New", monospace;
}
.vote-chart-axis-title {
  fill: #f39c4a;
  font-size: 13px;
  font-weight: 800;
  font-family: system-ui, sans-serif;
  letter-spacing: .04em;
}
.vote-chart-cross {
  stroke: #f39c4a;
  stroke-width: 1.2;
  stroke-dasharray: 3 3;
  pointer-events: none;
}
.vote-chart-hit {
  cursor: crosshair;
}
.vote-chart-tooltip {
  position: absolute;
  z-index: 5;
  min-width: 140px;
  max-width: 220px;
  padding: 8px 10px;
  background: #121214;
  color: #eef2f8;
  border: 1px solid rgba(230, 126, 34, .45);
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.35;
  pointer-events: none;
  box-shadow: 0 8px 20px rgba(0,0,0,.45);
}
.vote-chart-tooltip strong {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 700;
  color: #f39c4a;
}
.vote-chart-tooltip span {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 3px;
}
.vote-chart-tooltip span i {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  display: inline-block;
  flex-shrink: 0;
}
.vote-chart-tooltip b {
  margin-left: auto;
  font-variant-numeric: tabular-nums;
}
.vote-chart-axis {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #f39c4a;
  font-variant-numeric: tabular-nums;
}
body.vote-chart-open { overflow: hidden; }
.vote-chart-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(10, 16, 36, .72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}
.vote-chart-modal {
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(230, 126, 34, .1), transparent 50%),
    linear-gradient(165deg, #1a1a1c 0%, #0d0d0f 100%);
  color: var(--testo);
  border-radius: 14px;
  box-shadow: 0 16px 48px rgba(0,0,0,.55);
  border: 1.5px solid var(--oro);
  width: min(860px, 96vw);
  max-height: 90vh;
  overflow: auto;
  padding: 16px 18px 18px;
}
.vote-chart-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}
.vote-chart-modal-head h2 {
  margin: 0;
  font-size: 20px;
  font-family: Georgia, serif;
}
.vote-chart-modal-sub {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--testo-soft);
}
.vote-chart-close {
  border: 1px solid rgba(230, 126, 34, .4);
  background: #0d0d0f;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: var(--oro-testo);
  flex-shrink: 0;
}
.vote-chart-close:hover { background: rgba(230, 126, 34, .18); }
.vote-chart-stage-lg .vote-chart-svg {
  max-height: 320px;
  height: 320px;
}
.disc-score-more {
  margin: 6px 0 0;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--testo-soft);
  text-align: right;
}
.disc-scores {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.disc-score-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 12.5px;
}
.disc-score-label {
  color: var(--testo-soft);
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.disc-score-n {
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--testo);
}
@media (max-width: 640px) {
  .disc-card-body {
    grid-template-columns: 1fr;
  }
  .disc-card-right {
    border-left: none;
    border-top: 1px solid rgba(230, 126, 34, .28);
    padding-left: 0;
    padding-top: 12px;
  }
  .vote-chart-compact .vote-chart-svg { height: 56px; }
}

.trend-pos-inline {
  width: 28px; height: 28px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 14px; font-family: Georgia, serif;
  background: var(--blu); color: #0d0d0f;
}
.topic-card {
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(230, 126, 34, .1), transparent 50%),
    linear-gradient(165deg, #1a1a1c 0%, #0d0d0f 100%);
  border-radius: var(--raggio);
  box-shadow: var(--ombra); padding: 0; overflow: hidden;
  display: flex; align-items: stretch; text-decoration: none; color: var(--testo);
  border: 1.5px solid rgba(230, 126, 34, .4); transition: border-color .15s;
}
.topic-card:hover { border-color: var(--oro-chiaro); }
.topic-card-img {
  width: 220px; min-height: 132px; flex-shrink: 0;
  background-size: cover; background-position: center; background-color: #1a1a1c;
}
.topic-card-body { padding: 16px 22px; flex: 1; }
.topic-card h3 { margin: 6px 0 10px; font-size: 19px; }
.topic-excerpt {
  margin: 0 0 12px; font-size: 14.5px; color: var(--testo-soft); line-height: 1.5;
}
.topic-meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--testo-soft); }
.tag {
  background: rgba(230, 126, 34, .14); color: var(--oro-chiaro); border-radius: 6px;
  padding: 3px 10px; font-size: 12px; font-weight: 700;
  border: 1px solid rgba(230, 126, 34, .3);
}
.pill-pro { color: var(--verde); font-weight: 700; }
.pill-con { color: var(--rosso); font-weight: 700; }
.card-tags { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.kind-chip {
  display: inline-flex; align-items: center;
  border-radius: 6px; padding: 3px 10px;
  font-size: 11.5px; font-weight: 800; letter-spacing: .3px;
  text-transform: uppercase;
  border: 1px solid transparent;
}
.kind-chip.kind-dibattito { background: rgba(230, 126, 34, .16); color: #f39c4a; border-color: rgba(230, 126, 34, .35); }
.kind-chip.kind-scontro { background: rgba(192, 57, 43, .18); color: #f08a7e; border-color: rgba(192, 57, 43, .4); }
.kind-chip.kind-scelta { background: rgba(125, 60, 152, .2); color: #d7a6ef; border-color: rgba(125, 60, 152, .4); }

/* Tabellino delle opzioni */
.scoreboard {
  background: rgba(0, 0, 0, .28); border: 1px solid rgba(230, 126, 34, .28);
  border-radius: 10px; padding: 10px 12px; margin: 4px 0 10px;
}
.score-vs {
  font-size: 13px; font-weight: 700; color: var(--testo);
  margin-bottom: 8px; text-align: center;
}
.score-vs em {
  font-style: normal; color: var(--accent); margin: 0 6px;
  font-size: 11px; letter-spacing: 1px; text-transform: uppercase;
}
.score-rows { display: flex; flex-direction: column; gap: 6px; }
.score-row {
  display: grid; grid-template-columns: minmax(70px, 28%) 1fr 28px;
  align-items: center; gap: 8px;
}
.score-label {
  font-size: 12.5px; font-weight: 700; color: var(--testo);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.score-track {
  height: 8px; background: rgba(255,255,255,.1); border-radius: 999px; overflow: hidden;
}
.score-fill { height: 100%; border-radius: 999px; min-width: 0; transition: width .3s; }
.score-fill.tone-0 { background: var(--verde); }
.score-fill.tone-1 { background: var(--rosso); }
.score-fill.tone-2 { background: #2471a3; }
.score-fill.tone-3 { background: #7d3c98; }
.score-fill.tone-4 { background: #b06010; }
.score-n {
  font-size: 12.5px; font-weight: 800; color: var(--testo-soft);
  text-align: right; font-variant-numeric: tabular-nums;
}
.fonte-tag {
  background: rgba(176, 96, 16, .2); color: #e0b070; border-radius: 6px;
  padding: 3px 10px; font-size: 12px; font-weight: 700;
  border: 1px solid rgba(176, 96, 16, .4);
}
.fonte { font-size: 14px; color: var(--testo-soft); margin: 0 0 10px; }
.fonte a { font-weight: 700; }

/* ---------- Pagina argomento ---------- */
.topic-head {
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(230, 126, 34, .12), transparent 50%),
    linear-gradient(165deg, #1a1a1c 0%, #0d0d0f 55%, #080809 100%);
  border-radius: var(--raggio);
  box-shadow:
    0 0 0 1px rgba(230, 126, 34, .12) inset,
    0 12px 28px rgba(0, 0, 0, .45);
  border: 1.5px solid #e67e22;
  padding: 0; overflow: hidden; margin-bottom: 22px; text-align: center;
  color: #eef2f8;
}
.topic-banner {
  height: 200px; background-size: cover; background-position: center;
  background-color: #1a1a1c;
}
.topic-head-body { padding: 22px 30px 26px; }
.topic-head h1 { margin: 8px 0 10px; font-size: 26px; font-family: Georgia, serif; color: #f2f5fb; }
.topic-head .descrizione { color: #aab6c8; max-width: 760px; margin: 0 auto 10px; font-size: 15.5px; }
.topic-head .fonte { color: #aab6c8; }
.topic-head .fonte a { color: #f39c4a; }
.topic-head .tag {
  background: rgba(230, 126, 34, .14);
  color: #dce3f3;
  border: 1px solid rgba(230, 126, 34, .35);
}
.topic-head .kind-chip {
  background: rgba(230, 126, 34, .2);
  color: #f5b87a;
  border-color: rgba(230, 126, 34, .4);
}
.topic-head .topic-meta { color: #aab6c8; }
.topic-head .topic-meta a { color: #f39c4a; }
.topic-head .scoreboard {
  max-width: 420px; margin: 14px auto 12px; text-align: left;
  background: transparent;
  border: none;
  box-shadow: none;
  color: #eef2f8;
}
.topic-head .score-label { color: #e8eef8; }
.topic-head .score-n { color: #f39c4a; }
.topic-head .score-vs { color: #eef2f8; }
.topic-head .score-vs em { color: #f39c4a; }
.topic-head .score-track { background: rgba(255,255,255,.1); }
.topic-head .vote-chart-panel {
  background: transparent;
  border: 1px solid rgba(230, 126, 34, .3);
  color: #eef2f8;
}
.topic-head .vote-chart-panel h3 { color: #f2f5fb; }
.topic-head .vote-chart-note,
.topic-head .vote-chart-axis,
.topic-head .vote-chart-leg { color: #f39c4a; }
.topic-head .vote-chart-tick-y,
.topic-head .vote-chart-tick-x {
  fill: #e8eef8;
  font-size: 13px;
  font-weight: 700;
}
.topic-head .vote-chart-axis-title {
  fill: #f39c4a;
  font-size: 13px;
  font-weight: 800;
}
.topic-head .vote-chart-axis-line,
.topic-head .vote-chart-tick {
  stroke: #e67e22;
}
.topic-head .vote-chart-svg {
  background: rgba(255,255,255,.03);
  border-color: rgba(230, 126, 34, .25);
}

.columns { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.columns.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
.columns.cols-4 { grid-template-columns: 1fr 1fr; }
.columns.cols-5 { grid-template-columns: 1fr 1fr; }
.column.column-lead {
  box-shadow: 0 6px 20px rgba(20, 30, 60, .12);
}
.columns-carousel {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
.columns-carousel-tools {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 0 0 12px;
}
.columns-hscroll {
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 12px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  scrollbar-width: thin;
  overscroll-behavior-x: none;
}
.columns-hscroll.is-dragging,
.columns-hscroll.is-dragging * {
  cursor: grabbing;
  user-select: none;
}
.columns-row {
  display: flex !important;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 16px;
  width: max-content;
  max-width: none;
  align-items: flex-start;
  overflow: hidden;
}
.columns-row .column {
  box-sizing: border-box;
  flex: 0 0 var(--carousel-col-width, 320px);
  width: var(--carousel-col-width, 320px);
  max-width: var(--carousel-col-width, 320px);
  min-width: 0;
  overflow-x: hidden;
}
.column-nav {
  align-self: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1.5px solid #e67e22;
  background: #121214;
  color: #f39c4a;
  font-size: 28px;
  line-height: 1;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0,0,0,.35);
}
.column-nav:hover {
  border-color: #f39c4a;
  background: #1a1a1c;
}
.column-nav:disabled {
  opacity: .4;
  cursor: not-allowed;
}
.column {
  border-radius: 14px; padding: 14px 14px 14px 36px;
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(230, 126, 34, .1), transparent 50%),
    linear-gradient(165deg, #1a1a1c 0%, #0d0d0f 55%, #080809 100%);
  border: 1.5px solid #e67e22;
  box-shadow:
    0 0 0 1px rgba(230, 126, 34, .1) inset,
    0 12px 28px rgba(0, 0, 0, .4);
  color: #eef2f8;
}
.column-tone-0 { border-top: 4px solid var(--verde); }
.column-tone-1 { border-top: 4px solid var(--rosso); }
.column-tone-2 { border-top: 4px solid #2471a3; }
.column-tone-3 { border-top: 4px solid #7d3c98; }
.column-tone-4 { border-top: 4px solid #b06010; }
.column-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; margin-bottom: 12px; padding-bottom: 10px;
  border-bottom: 1px solid rgba(230, 126, 34, .3);
}
.column h2 {
  margin: 0; font-size: 15px; letter-spacing: .4px;
  text-transform: none; font-family: Georgia, serif;
  color: #f2f5fb;
}
.column-tone-0 h2 { color: #6ddf9a; }
.column-tone-1 h2 { color: #f08a7e; }
.column-tone-2 h2 { color: #7eb8e0; }
.column-tone-3 h2 { color: #c49be0; }
.column-tone-4 h2 { color: #e0b060; }
.column-count {
  min-width: 28px; height: 28px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(230, 126, 34, .18); color: #f39c4a; font-weight: 800; font-size: 13px;
  border: 1px solid rgba(230, 126, 34, .4);
}
.col-vote-wrap { margin: 0 0 12px; }
.col-vote-btn { width: 100%; }
.col-voted-badge {
  display: block; text-align: center;
  background: rgba(30, 132, 73, .18); color: #6ddf9a;
  border: 1px solid rgba(109, 223, 154, .4); border-radius: 8px;
  padding: 8px 10px; font-size: 13px; font-weight: 700;
}
.col-sort-row {
  margin: -2px 0 10px;
}
.col-sort-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700; color: #aab6c8;
}
.col-sort-select {
  border: 1.5px solid rgba(230, 126, 34, .4);
  background: #0d0d0f;
  color: #eef2f8;
  border-radius: 8px;
  padding: 5px 8px;
  font: inherit;
}
.col-view-tabs {
  display: flex; gap: 6px; margin: -4px 0 12px;
}
.col-view-btn {
  flex: 1; border: 1.5px solid rgba(230, 126, 34, .4); background: rgba(0,0,0,.25);
  color: #aab6c8; font-weight: 700; font-size: 12px;
  padding: 6px 4px; border-radius: 8px; cursor: pointer;
}
.col-view-btn:hover { border-color: #f39c4a; color: #f39c4a; }
.col-view-btn.selected {
  background: #e67e22; border-color: #f0a15a; color: #1a120c;
}
.col-filter-empty { display: none; text-align: center; color: #aab6c8; font-size: 13.5px; padding: 10px 6px; }
.column[data-view="pure"] .comment.is-reply,
.column[data-view="pure"] .comment-replies,
.column[data-view="pure"] .disagree-peek { display: none; }
.column[data-view="pure"] .comment.is-pure.replies-expanded > .comment-replies,
.column[data-view="pure"] .comment.is-pure.replies-expanded > .disagree-peek { display: block; }
.column[data-view="pure"] .comment.is-pure.replies-expanded .comment-replies .comment,
.column[data-view="pure"] .comment.is-pure.replies-expanded .comment-replies .disagree-peek { display: block; }
.column[data-view="pure"]:not(:has(.comment.is-pure)) .col-filter-empty[data-empty="pure"] { display: block; }
.column[data-view="replies"] .comment.is-pure > :not(.comment-replies) { display: none; }
.column[data-view="replies"] .comment.is-pure {
  background: transparent; border: 0; box-shadow: none;
  padding: 0; margin: 0; overflow: visible;
}
.column[data-view="replies"] .comment.is-pure > .comment-replies {
  margin: 0; padding: 0; border: 0;
}
.column[data-view="replies"] .replies-label { display: none; }
.column[data-view="replies"] .comment.is-pure:not(:has(.comment.is-reply, .disagree-peek)) { display: none; }
.column[data-view="replies"]:not(:has(.comment.is-reply, .disagree-peek)) .col-filter-empty[data-empty="replies"] { display: block; }

.score-caption {
  margin: 0 0 8px; font-size: 11.5px; color: var(--testo-soft);
  text-transform: uppercase; letter-spacing: .6px; font-weight: 700;
}
.faction-box {
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(230, 126, 34, .1), transparent 50%),
    linear-gradient(165deg, #1a1a1c 0%, #0d0d0f 100%);
  border-radius: var(--raggio);
  box-shadow: 0 0 0 1px rgba(230, 126, 34, .1) inset, 0 12px 28px rgba(0,0,0,.4);
  padding: 18px 22px; margin-bottom: 20px;
  border: 1.5px solid #e67e22;
  color: #eef2f8;
}
.faction-box h3 { margin: 0 0 6px; color: #f2f5fb; }
.faction-status { color: #eef2f8; }
.faction-status strong { color: #f39c4a; }
.faction-status a {
  color: #f39c4a;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.faction-status a:hover { color: #ffd4a8; }

.edition-bar {
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(230, 126, 34, .1), transparent 50%),
    linear-gradient(165deg, #1a1a1c 0%, #0d0d0f 100%);
  border: 1.5px solid #e67e22;
  border-radius: var(--raggio);
  padding: 14px 18px;
  margin: 18px 0 20px;
  color: #eef2f8;
  box-shadow: 0 0 0 1px rgba(230, 126, 34, .1) inset, 0 12px 28px rgba(0,0,0,.35);
}
.edition-bar.is-closed {
  background: linear-gradient(165deg, #161618 0%, #0a0a0b 100%);
  border-color: #a89040;
}
.edition-status {
  display: inline-block;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .2px;
}
.edition-status.is-active { color: #f39c4a; }
.edition-status.is-closed { color: #aab6c8; }
.edition-closed-note,
.edition-prior-note {
  margin: 10px 0 0;
  font-size: 13.5px;
  color: #aab6c8;
}
.edition-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.edition-link {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  color: #f39c4a;
  background: rgba(230, 126, 34, .12);
  border: 1px solid rgba(230, 126, 34, .4);
}
.edition-link.active {
  background: #e67e22;
  color: #1a120c;
  border-color: #f0a15a;
}
.edition-link.is-closed:not(.active) {
  color: #aab6c8;
  border-color: rgba(230, 126, 34, .3);
}
.edition-open-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(230, 126, 34, .25);
}
.edition-reopen {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(230, 126, 34, .25);
}
.edition-reopen-title {
  margin: 0 0 4px;
  font-size: 14.5px;
  font-weight: 800;
  color: var(--oro-testo);
}
.edition-reopen-rule,
.edition-reopen-count,
.edition-reopen-hint,
.edition-reopen-done {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--testo-soft);
}
.edition-reopen-meter {
  margin-top: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  overflow: hidden;
}
.edition-reopen-meter span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #e67e22, #f39c4a);
  border-radius: 999px;
  transition: width .25s ease;
}
.edition-reopen #reopen-vote-btn {
  margin-top: 12px;
}
.edition-days-label {
  font-size: 13px;
  color: var(--testo-soft);
  display: flex;
  align-items: center;
  gap: 8px;
}
.edition-days-label select {
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid var(--bordo);
}
.edition-chip {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .3px;
  background: #e8f2ff;
  color: #1e5a8a;
}
.edition-chip.is-closed {
  background: #eee;
  color: #666;
}
.edition-readonly {
  font-style: italic;
  color: #888 !important;
}

.comment {
  position: relative; z-index: 3;
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(230, 126, 34, .08), transparent 55%),
    linear-gradient(165deg, #1c1c1e 0%, #101012 100%);
  border-radius: 12px;
  border: 1.5px solid #e67e22;
  box-shadow:
    0 0 0 1px rgba(230, 126, 34, .08) inset,
    0 8px 20px rgba(0, 0, 0, .35);
  padding: 0; margin-bottom: 14px; overflow: hidden;
  color: #eef2f8;
}
.comment.is-pure {
  border-left: 4px solid #e67e22;
}
.comment.col-podium {
  border-left-width: 0;
  border-width: 2px;
  box-shadow:
    0 0 0 1px rgba(230, 126, 34, .14) inset,
    0 10px 26px rgba(0, 0, 0, .45);
  transform: translateZ(0);
}
.comment.col-podium-1 {
  border-color: #f0a15a;
  background:
    radial-gradient(100% 80% at 0% 0%, rgba(230, 200, 92, .16), transparent 50%),
    linear-gradient(180deg, #222226 0%, #101012 100%);
}
.col-podium-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .4px;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(230, 126, 34, .25);
}
.col-podium-strip-1 {
  color: #1a120c;
  background: linear-gradient(90deg, #d4af37 0%, #f0a15a 55%, #d4af37 100%);
}
.col-podium-medal { font-size: 18px; line-height: 1; }
.col-podium-title { font-size: 12.5px; }
.comment.col-podium .comment-head {
  background: rgba(0, 0, 0, .25);
}
.comment.col-podium-1 .vote-btn .vote-count {
  font-weight: 800;
}
.comment.col-podium-1 .vote-btn {
  color: #f5b87a;
  border-color: #e67e22;
  background: rgba(230, 126, 34, .12);
}
.comment.is-agree {
  border-left: 4px solid var(--verde);
  background:
    linear-gradient(90deg, rgba(30, 132, 73, .12), transparent 40%),
    linear-gradient(165deg, #1c1c1e 0%, #101012 100%);
}
.comment.is-disagree {
  border-left: 4px solid var(--rosso);
  background:
    linear-gradient(90deg, rgba(192, 57, 43, .12), transparent 40%),
    linear-gradient(165deg, #1c1c1e 0%, #101012 100%);
}
.comment.arrow-from {
  overflow: visible;
  box-shadow: 0 0 0 2px var(--accent), 0 2px 10px rgba(20, 30, 60, .08);
}
.comment.arrow-to {
  overflow: visible;
  box-shadow: 0 0 0 2px var(--blu), 0 2px 10px rgba(20, 30, 60, .08);
}
.comment-arrow-layer {
  position: fixed; left: 0; top: 0;
  pointer-events: none; z-index: 4;
}
.reply-author-link {
  font-weight: 700;
}
.reply-author-link:hover span { text-decoration: underline; }
.show-arrow-btn {
  border: 1.5px solid var(--accent); background: rgba(230, 126, 34, .12); color: #f39c4a;
  font-weight: 800; font-size: 11px; letter-spacing: .3px;
  padding: 2px 8px; border-radius: 999px; cursor: pointer;
  text-transform: uppercase;
}
.show-arrow-btn:hover { background: var(--accent); color: #0d0d0f; }
body.duel-open { overflow: hidden; }
.duel-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(0, 0, 0, .78);
  display: flex; align-items: center; justify-content: center;
  padding: 24px 16px;
}
.duel-modal {
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(230, 126, 34, .1), transparent 50%),
    linear-gradient(165deg, #1a1a1c 0%, #0d0d0f 100%);
  color: var(--testo);
  border-radius: 16px; box-shadow: 0 16px 48px rgba(0,0,0,.55);
  border: 1.5px solid var(--oro);
  width: min(980px, 96vw); max-height: 88vh;
  display: flex; flex-direction: column;
  overflow: hidden;
}
.duel-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 14px 18px; background: #121214;
  border-bottom: 1px solid rgba(230, 126, 34, .3);
}
.duel-head h2 { margin: 0; font-size: 20px; font-family: Georgia, serif; color: var(--oro-testo); }
.duel-note {
  margin: 0; padding: 8px 18px; font-size: 13px; color: var(--testo-soft);
  background: rgba(0, 0, 0, .28);
}
.duel-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 22px;
  row-gap: 0;
  align-items: start;
  padding: 16px 18px 28px;
  overflow: auto;
  min-height: 0;
}
.duel-col-shell {
  border-radius: 14px;
  background: var(--carta);
  border: 1px solid var(--bordo);
  box-shadow: var(--ombra);
  pointer-events: none;
  z-index: 0;
}
.duel-col-head,
.duel-slot {
  position: relative;
  z-index: 2;
  min-width: 0;
  padding: 0 14px 0 38px;
}
.duel-col-head { padding-top: 14px; }
.duel-col-head .column-head { margin-bottom: 0; }
.duel-slot { padding-bottom: 4px; }
.duel-card {
  box-shadow: 0 0 0 2px rgba(230, 126, 34, .35), 0 4px 14px rgba(20, 30, 60, .12);
  margin: 0;
}
.duel-time {
  display: block;
  margin-top: 2px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--testo-soft);
}
.duel-card.duel-fresh {
  box-shadow: 0 0 0 3px var(--accent), 0 4px 14px rgba(20, 30, 60, .12);
}
.duel-card .comment-actions { padding-top: 2px; }
.duel-card .reply-box {
  margin: 0 12px 12px;
  padding: 10px 12px;
}
.reply-origin {
  margin: 0; padding: 8px 16px 0;
  font-size: 12.5px; color: #aab6c8;
}
.reply-origin.agree { color: #6ddf9a; }
.reply-origin.disagree { color: #f08a7e; }
.reply-origin .tag { margin-left: 6px; }
.reply-time,
.peek-time {
  margin-left: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--testo-soft);
}
.reply-excerpt {
  display: block; margin-top: 3px;
  font-style: italic; color: var(--testo-soft); font-weight: 400;
}
.replies-label {
  margin: 0 0 8px; font-size: 12px; font-weight: 700;
  color: #aab6c8; letter-spacing: .3px;
}
.disagree-peek {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  padding: 8px 10px; margin-bottom: 8px;
  background: rgba(230, 126, 34, .08); border: 1px dashed rgba(230, 126, 34, .45);
  border-radius: 8px; font-size: 13px; color: #eef2f8;
}
.peek-stance {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  font-weight: 800;
  color: #f08a7e;
  font-size: 12px;
}
.peek-votes { font-size: 12px; color: #aab6c8; font-weight: 700; }
.peek-excerpt {
  flex-basis: 100%; font-style: italic; color: #aab6c8; font-size: 12.5px;
}
.comment-when {
  color: #aab6c8;
  font-size: 12px;
  font-weight: 600;
}
.stance-choice {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin-bottom: 10px; font-size: 13px; color: #aab6c8; font-weight: 600;
}
.stance-btn {
  border: 1.5px solid rgba(230, 126, 34, .4); background: rgba(0,0,0,.25); color: #eef2f8;
  font-weight: 700; font-size: 13px; cursor: pointer;
  padding: 6px 12px; border-radius: 8px;
}
.stance-btn.agree.selected { background: var(--verde); border-color: var(--verde); color: #fff; }
.stance-btn.disagree.selected { background: var(--rosso); border-color: var(--rosso); color: #fff; }
.stance-pick {
  display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 10px;
}
.stance-counter {
  display: inline-flex; gap: 8px; align-items: center;
  font-size: 12px; font-weight: 700; margin-right: 6px;
}
.stance-n.agree {
  color: #6ddf9a;
  background: rgba(30, 132, 73, .2);
  padding: 2px 8px; border-radius: 999px;
}
.stance-n.disagree {
  color: #f08a7e;
  background: rgba(192, 57, 43, .2);
  padding: 2px 8px; border-radius: 999px;
}
.toggle-count-inline {
  font-size: 12.5px; color: var(--blu); font-weight: 700; margin-right: 4px;
  border: 0; background: none; cursor: pointer; padding: 0; font-family: inherit;
}
.toggle-count-inline:hover { text-decoration: underline; }
.comment-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; flex-wrap: wrap;
  padding: 10px 14px;
  background: rgba(0, 0, 0, .28);
  border-bottom: 1px solid rgba(230, 126, 34, .25);
}
.comment-head-tools { display: flex; align-items: center; gap: 6px; }
.comment.is-collapsed .comment-text,
.comment.is-collapsed .reply-origin,
.comment.is-collapsed .comment-actions,
.comment.is-collapsed .reply-box,
.comment.is-collapsed .comment-replies,
.comment.is-collapsed .disagree-peek { display: none; }
.comment.is-collapsed { margin-bottom: 8px; }
.comment.is-reply .comment-head { background: rgba(0, 0, 0, .38); }
.comment-author { font-size: 13.5px; display: flex; align-items: center; gap: 7px; flex-wrap: wrap; color: #eef2f8; }
.comment-author a { color: #f39c4a; }
.comment-text {
  margin: 0; padding: 14px 16px 8px;
  font-size: 15.5px; line-height: 1.5; color: #e8eef8;
}
.comment-actions {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 8px 14px 12px;
}
.comment-foot { display: none; }
.reply-btn {
  border: 1.5px solid rgba(230, 126, 34, .55); background: rgba(230, 126, 34, .12); color: #f39c4a;
  font-weight: 700; font-size: 13px; cursor: pointer;
  padding: 6px 12px; border-radius: 8px;
}
.reply-btn:hover { background: #e67e22; color: #1a120c; }
.thread-toggle {
  display: inline-flex; align-items: center; gap: 4px;
  border: 1.5px solid rgba(230, 126, 34, .45); background: rgba(0,0,0,.25); color: #eef2f8;
  font-weight: 800; font-size: 13px; cursor: pointer;
  padding: 4px 8px; border-radius: 8px; min-width: 42px; justify-content: center;
}
.thread-toggle:hover { border-color: #f39c4a; color: #f39c4a; }
.thread-toggle .toggle-sign {
  font-size: 16px; line-height: 1; width: 14px; text-align: center;
}
.thread-toggle .toggle-count {
  font-size: 12px; color: #aab6c8; font-variant-numeric: tabular-nums;
}
.comment-replies {
  margin-top: 12px; padding-left: 14px;
  border-left: 3px solid rgba(230, 126, 34, .35);
}
.comment[data-depth="2"] > .comment-replies,
.comment[data-depth="3"] > .comment-replies,
.comment[data-depth="4"] > .comment-replies {
  border-left-color: rgba(230, 126, 34, .55);
}
.comment.is-reply { margin-left: 0; }
.reply-box {
  margin: 0 14px 12px; padding: 12px;
  border: 1px dashed rgba(230, 126, 34, .4); border-radius: 10px;
  background: rgba(0, 0, 0, .28);
}
.reply-box textarea {
  width: 100%; min-height: 72px; padding: 10px 12px;
  border: 1.5px solid rgba(230, 126, 34, .4);
  border-radius: 8px; font-size: 14px; font-family: inherit; resize: vertical; box-sizing: border-box;
  background: #0d0d0f; color: #eef2f8;
}
.reply-box textarea::placeholder { color: #7a8699; }
.reply-box-actions { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.btn-ghost-dark {
  background: transparent; color: #aab6c8; border: 1px solid rgba(230, 126, 34, .4);
}
.vote-btn {
  border: 1.5px solid rgba(230, 126, 34, .4); background: rgba(0,0,0,.25); border-radius: 999px;
  padding: 5px 14px; font-size: 14px; font-weight: 700; cursor: pointer;
  color: #aab6c8; display: inline-flex; align-items: center; gap: 6px;
}
.vote-btn:hover { border-color: #f39c4a; color: #f39c4a; }
.vote-btn.voted { background: #e67e22; border-color: #f0a15a; color: #1a120c; }
.vote-btn.static { cursor: default; }
.vote-btn.static:hover { border-color: rgba(230, 126, 34, .4); color: #aab6c8; }
.empty-col { text-align: center; color: #aab6c8; font-size: 14px; padding: 10px 6px 14px; }
.col-compose {
  margin: 0 0 14px; padding: 10px;
  border: 1px dashed rgba(230, 126, 34, .4); border-radius: 10px;
  background: rgba(0, 0, 0, .28);
}
.col-compose textarea {
  width: 100%; min-height: 72px; padding: 10px 12px; margin-bottom: 8px;
  border: 1.5px solid rgba(230, 126, 34, .4); border-radius: 8px;
  font-size: 14px; font-family: inherit; resize: vertical; box-sizing: border-box;
  background: #0d0d0f; color: #eef2f8;
}
.col-compose textarea::placeholder { color: #7a8699; }
.col-compose .col-error { margin: 8px 0 0; }
.col-compose-note {
  margin: 0 0 14px; font-size: 13px; color: #aab6c8; line-height: 1.4;
}
.col-compose-note a { color: #f39c4a; }

/* ---------- Modulo commento ---------- */
.comment-box {
  background: var(--carta); border-radius: var(--raggio); box-shadow: var(--ombra);
  padding: 22px 26px; margin-top: 26px;
}
.comment-box h3 { margin: 0 0 12px; }
.side-choice { display: flex; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.side-btn {
  flex: 1; min-width: 140px; padding: 12px; border-radius: 10px; cursor: pointer;
  font-size: 15px; font-weight: 700; border: 2px solid var(--bordo);
  background: #0d0d0f; color: var(--testo);
}
.side-btn.pro.selected,
.side-btn.side-tone-0.selected { background: var(--verde); border-color: var(--verde); color: #fff; }
.side-btn.con.selected,
.side-btn.side-tone-1.selected { background: var(--rosso); border-color: var(--rosso); color: #fff; }
.side-btn.side-tone-2.selected { background: #2471a3; border-color: #2471a3; color: #fff; }
.side-btn.side-tone-3.selected { background: #7d3c98; border-color: #7d3c98; color: #fff; }
.side-btn.side-tone-4.selected { background: #b06010; border-color: #b06010; color: #fff; }
.side-btn[disabled] { opacity: .45; cursor: not-allowed; }
.locked-note { font-size: 13.5px; color: var(--testo-soft); margin: 0 0 12px; }
.locked-note a { color: var(--oro-chiaro); font-weight: 700; }

.kind-choice { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.kind-btn {
  text-align: left; padding: 14px; border-radius: 10px; cursor: pointer;
  border: 2px solid var(--bordo); background: #0d0d0f; display: flex; flex-direction: column; gap: 4px;
  color: var(--testo);
}
.kind-btn strong { font-size: 15px; color: var(--oro-testo); }
.kind-btn span { font-size: 12.5px; color: var(--testo-soft); }
.kind-btn.selected { border-color: var(--oro-chiaro); background: rgba(230, 126, 34, .16); }
.opt-input {
  width: 100%; padding: 11px 12px; border: 1.5px solid var(--bordo);
  border-radius: 8px; font-size: 15px; box-sizing: border-box;
  background: #0d0d0f; color: var(--testo);
}

/* ---------- Moduli ---------- */
.form-card {
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(230, 126, 34, .1), transparent 50%),
    linear-gradient(165deg, #1a1a1c 0%, #0d0d0f 100%);
  border-radius: var(--raggio); box-shadow: var(--ombra);
  border: 1.5px solid var(--oro);
  padding: 30px 34px; max-width: 480px; margin: 20px auto;
  color: var(--testo);
}
.form-card.wide { max-width: 680px; }
.profile-sep {
  border: none;
  border-top: 1px solid rgba(255,255,255,.12);
  margin: 22px 0 16px;
}
.form-card h1 { margin: 0 0 18px; font-size: 24px; font-family: Georgia, serif; color: var(--oro-testo); }
.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  margin: 0 0 8px;
  padding: 12px 16px;
  box-sizing: border-box;
  background: #fff;
  color: #1f1f1f;
  border: 1.5px solid #dadce0;
  border-radius: 12px;
  font-weight: 650;
  text-decoration: none;
}
.btn-google:hover {
  background: #f7f8fa;
  border-color: #c6cad1;
  color: #111;
}
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
  color: #8a93a6;
  font-size: 13px;
}
.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, .12);
}
.auth-divider span { white-space: nowrap; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; color: var(--testo-soft); }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 12px; border: 1.5px solid var(--bordo);
  border-radius: 8px; font-size: 15px; font-family: inherit;
  background: #0d0d0f; color: var(--testo);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--oro-chiaro);
}
.field input::placeholder, .field textarea::placeholder { color: #7a8699; }
.form-error {
  background: var(--rosso-chiaro); color: #f08a7e;
  border: 1px solid rgba(192, 57, 43, .4);
  border-radius: 8px; padding: 10px 14px; font-size: 14px; margin-bottom: 14px;
  display: none;
}
.form-error.visible { display: block; }
.form-error.form-ok {
  background: rgba(39, 174, 96, .16);
  color: #7dcea0;
  border-color: rgba(39, 174, 96, .45);
}
.form-note { font-size: 13.5px; color: var(--testo-soft); margin-top: 14px; }

/* ---------- Eventi live ---------- */
.live-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: #c0392b; color: #fff; border-radius: 8px;
  padding: 4px 12px; font-size: 13px; font-weight: 800; letter-spacing: 2px;
}
.live-badge.ended-badge { background: #707b7c; letter-spacing: 1px; }
.live-dot {
  width: 9px; height: 9px; border-radius: 50%; background: #fff;
  animation: live-pulse 1.2s infinite;
}
@keyframes live-pulse { 0%,100% { opacity: 1; } 50% { opacity: .25; } }
.live-head { display: flex; align-items: center; gap: 10px; }
.live-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 22px; }
.live-card {
  display: block;
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(230, 126, 34, .1), transparent 50%),
    linear-gradient(165deg, #1a1a1c 0%, #0d0d0f 100%);
  border-radius: var(--raggio);
  box-shadow: var(--ombra); padding: 16px 20px; text-decoration: none; color: var(--testo);
  border: 1.5px solid rgba(230, 126, 34, .35); transition: transform .15s, border-color .15s;
}
.live-card:hover { transform: translateY(-2px); border-color: #c0392b; }
.live-card.ended { opacity: .75; }
.live-card.ended:hover { border-color: var(--blu); }
.live-card-top { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.live-card h3 { margin: 0 0 6px; font-size: 17px; }
.live-form { display: flex; gap: 10px; margin: 14px 0 18px; flex-wrap: wrap; }
.live-form input {
  flex: 1; min-width: 240px; padding: 12px 14px; border-radius: 10px;
  border: 1.5px solid rgba(230, 126, 34, .4); font-size: 15px;
  background: #0d0d0f; color: var(--testo);
}
.live-msgs { display: flex; flex-direction: column; gap: 10px; max-width: 780px; }
.live-msg {
  background: var(--carta); border-radius: 12px; box-shadow: var(--ombra);
  padding: 12px 16px; border-left: 4px solid #c0392b;
  border: 1px solid rgba(230, 126, 34, .25);
  border-left-width: 4px;
}
.live-msg.mine { border-left-color: var(--blu); background: rgba(230, 126, 34, .1); }
.live-msg p { margin: 6px 0 0; }
.live-msg-head { display: flex; align-items: center; gap: 10px; font-size: 13.5px; }
.live-msg-time { color: var(--testo-soft); font-variant-numeric: tabular-nums; }

/* ---------- Note introduttive pagina ---------- */
.press-note { color: var(--testo-pagina); font-size: 14.5px; margin: -6px 0 20px; max-width: 720px; }
.press-note a { color: var(--oro-chiaro); }
.form-card .press-note,
.profile-head .press-note,
.board-card .press-note,
.pm-chat .press-note,
.topic-head .press-note,
.pm-thread .press-note {
  color: var(--testo-soft);
}
.form-card .press-note a,
.profile-head .press-note a,
.board-card .press-note a,
.pm-chat .press-note a {
  color: var(--blu);
}

/* ---------- Come funziona ---------- */
.rules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
  margin: 8px 0 32px;
}
.rules-card {
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(230, 126, 34, .1), transparent 50%),
    linear-gradient(165deg, #1a1a1c 0%, #0d0d0f 100%);
  border-radius: var(--raggio);
  box-shadow: var(--ombra);
  padding: 22px 24px;
  border: 1.5px solid var(--oro);
  border-top: 3px solid var(--oro-chiaro);
}
.rules-card h2 {
  margin: 0 0 12px;
  font-size: 18px;
  color: var(--oro-testo);
}
.rules-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--testo);
  line-height: 1.55;
  font-size: 14.5px;
}
.rules-card li { margin-bottom: 8px; }
.rules-card li:last-child { margin-bottom: 0; }
.rules-card strong { color: var(--blu-scuro); }
.rules-ranks { margin-top: 8px; }
.rules-ranks h2 { margin: 0 0 14px; color: var(--blu); font-size: 20px; }

.faction-status {
  margin: 8px 0 0;
  font-size: 14px;
  color: #eef2f8;
  line-height: 1.45;
}
.faction-status a {
  color: #f39c4a;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.faction-status a:hover { color: #ffd4a8; }
.faction-status strong { color: #f39c4a; }

/* ---------- Classifica argomenti ---------- */
.period-tabs { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.period-tab {
  padding: 8px 18px; border-radius: 999px; text-decoration: none;
  font-weight: 700; font-size: 14px; color: var(--testo-soft);
  background: #141416; border: 1px solid rgba(230, 126, 34, .35);
}
.period-tab:hover { color: var(--oro-chiaro); border-color: var(--oro-chiaro); }
.period-tab.active { background: var(--blu); color: #0d0d0f; border-color: var(--blu); }
.filter-input {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--bordo);
  border-radius: 8px; font-size: 15px; font-family: inherit; margin-bottom: 14px;
  background: #0d0d0f; color: var(--testo);
}
.filter-input:focus { outline: none; border-color: var(--oro-chiaro); }
.filter-input::placeholder { color: #7a8699; }
.board-topic { font-weight: 700; text-decoration: none; }
.board-topic:hover { text-decoration: underline; }

/* ---------- Classifica ---------- */
.board-card {
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(230, 126, 34, .1), transparent 50%),
    linear-gradient(165deg, #1a1a1c 0%, #0d0d0f 100%);
  border-radius: var(--raggio); box-shadow: var(--ombra);
  padding: 26px 30px; margin-bottom: 22px;
  border: 1.5px solid var(--oro);
  color: var(--testo);
}
.board-card h1, .board-card h2 { font-family: Georgia, serif; margin-top: 0; color: var(--oro-testo); }
table.board { width: 100%; border-collapse: collapse; font-size: 15px; }
table.board th, table.board td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--bordo); }
table.board th { color: var(--testo-soft); font-size: 13px; text-transform: uppercase; letter-spacing: .8px; }
.pos { font-weight: 800; color: var(--testo-soft); width: 46px; }

/* ---------- Varie ---------- */
.user-link {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 700; text-decoration: none; color: inherit;
}
.user-link:hover span { text-decoration: underline; }
.auth-user .user-link { color: #fff; }

.profile-head {
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(230, 126, 34, .1), transparent 50%),
    linear-gradient(165deg, #1a1a1c 0%, #0d0d0f 100%);
  border-radius: var(--raggio); box-shadow: var(--ombra);
  padding: 24px 28px; margin-bottom: 22px;
  border: 1.5px solid var(--oro);
  color: var(--testo);
}
.profile-ident { display: flex; gap: 20px; align-items: flex-start; }
.profile-bio-box {
  margin-top: 18px; border-top: 1px solid var(--bordo); padding-top: 16px;
}
.profile-bio-box h2 {
  margin: 0 0 8px; font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .8px; color: var(--testo-soft);
}
.profile-username {
  margin: -2px 0 8px;
  font-size: 13px;
  color: var(--testo-soft);
  font-weight: 700;
}
.profile-bio {
  margin: 0; font-size: 16px; line-height: 1.55;
  white-space: pre-wrap; max-width: 62ch; color: var(--testo);
}
.profile-bio.empty { color: var(--testo-soft); font-style: italic; }
.profile-edit {
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(230, 126, 34, .1), transparent 50%),
    linear-gradient(165deg, #1a1a1c 0%, #0d0d0f 100%);
  border-radius: var(--raggio); box-shadow: var(--ombra);
  padding: 22px 26px; margin-bottom: 22px;
  border: 1.5px solid var(--oro);
  color: var(--testo);
}
.profile-edit h3 { margin-top: 0; font-family: Georgia, serif; color: var(--oro-testo); }
.profile-edit .field textarea { min-height: 140px; }
.avatar-pick { display: flex; gap: 16px; align-items: flex-start; }
.avatar-pick-fields { flex: 1; min-width: 220px; }
.avatar-pick .form-note { margin-top: 8px; }
.chk {
  display: flex; align-items: center; gap: 8px;
  font-weight: 600; margin-top: 10px; font-size: 14px;
}
.profile-stats { margin-top: 18px; border-top: 1px solid var(--bordo); padding-top: 16px; }
.profile-stats .hero-stat strong { color: var(--accent); }
.profile-stats .hero-stat span { color: var(--testo-soft); }
.profile-filters {
  display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 16px;
}
.profile-filters label {
  display: flex; flex-direction: column; gap: 6px;
  font-size: 13px; font-weight: 700; color: var(--testo-soft);
}
.profile-filters select {
  min-width: 220px; padding: 9px 12px; border: 1.5px solid var(--bordo);
  border-radius: 8px; font-size: 14px; font-family: inherit; color: var(--testo);
  background: #0d0d0f;
}
.profile-comment {
  background: #141416; border: 1.5px solid rgba(230, 126, 34, .35); border-radius: 12px;
  box-shadow: var(--ombra);
  padding: 14px 16px; margin-bottom: 12px;
  color: var(--testo);
}
.profile-comment-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13.5px; }
.topic-card.compact { padding: 0; }
.back-link { display: inline-block; margin-bottom: 14px; font-size: 14px; text-decoration: none; font-weight: 600; color: #dce3f3; }
.back-link:hover { color: #ffd4a8; }
.info-box {
  background: rgba(230, 126, 34, .1); border: 1px solid rgba(230, 126, 34, .4); color: #dce3f3;
  border-radius: 10px; padding: 12px 16px; font-size: 14px; margin-bottom: 16px;
}

/* ---------- Messaggi privati ---------- */
.pm-new {
  display: flex; gap: 10px; flex-wrap: wrap; align-items: center;
  margin-bottom: 18px;
}
.pm-new input {
  flex: 1; min-width: 200px; padding: 11px 12px;
  border: 1.5px solid var(--bordo); border-radius: 8px;
  font-size: 15px; font-family: inherit;
  background: #0d0d0f; color: var(--testo);
}
.pm-list { display: flex; flex-direction: column; gap: 8px; }
.pm-row {
  display: flex; align-items: center; gap: 14px;
  background: var(--carta); border-radius: var(--raggio); box-shadow: var(--ombra);
  padding: 14px 16px; text-decoration: none; color: inherit;
  border: 1.5px solid rgba(230, 126, 34, .25);
}
.pm-row:hover { border-color: var(--oro-chiaro); }
.pm-row.unread { background: rgba(230, 126, 34, .12); border-color: rgba(230, 126, 34, .55); }
.pm-row-body { flex: 1; min-width: 0; }
.pm-row-top { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--testo-soft); }
.pm-row-top strong { color: var(--testo); font-size: 16px; }
.pm-row-body p {
  margin: 4px 0 0; color: var(--testo-soft); font-size: 14.5px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pm-chat {
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(230, 126, 34, .1), transparent 50%),
    linear-gradient(165deg, #1a1a1c 0%, #0d0d0f 100%);
  border-radius: var(--raggio); box-shadow: var(--ombra);
  overflow: hidden;
  border: 1.5px solid var(--oro);
  color: var(--testo);
}
.pm-chat-head {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px; border-bottom: 1px solid rgba(230, 126, 34, .3);
}
.pm-thread {
  display: flex; flex-direction: column; gap: 10px;
  padding: 18px 16px; min-height: 280px; max-height: 52vh; overflow-y: auto;
  background: #0a0a0c;
}
.pm-bubble {
  max-width: min(72%, 520px); align-self: flex-start;
  background: #1a1a1c; border: 1px solid rgba(230, 126, 34, .3);
  border-radius: 14px 14px 14px 4px; padding: 10px 12px;
  color: var(--testo);
}
.pm-bubble.mine {
  align-self: flex-end; background: rgba(230, 126, 34, .22); color: #eef2f8;
  border-color: rgba(230, 126, 34, .5); border-radius: 14px 14px 4px 14px;
}
.pm-bubble p { margin: 0; font-size: 15px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
.pm-meta { display: block; margin-top: 6px; font-size: 11.5px; color: var(--testo-soft); }
.pm-bubble.mine .pm-meta { color: #aab6c8; }
.pm-compose {
  display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap;
  padding: 14px 16px; border-top: 1px solid rgba(230, 126, 34, .3);
}
.pm-compose textarea {
  flex: 1; min-width: 200px; min-height: 54px; max-height: 140px;
  padding: 10px 12px; border: 1.5px solid var(--bordo); border-radius: 8px;
  font-size: 15px; font-family: inherit; resize: vertical;
  background: #0d0d0f; color: var(--testo);
}
.pm-compose .form-error { flex-basis: 100%; margin-bottom: 0; }

@media (max-width: 760px) {
  .columns, .columns.cols-3, .columns.cols-4, .columns.cols-5 { grid-template-columns: 1fr; }
  .columns-carousel-tools { margin-bottom: 10px; }
  .columns-hscroll {
    width: 100%;
    max-width: 100%;
  }
  .columns-row { display: flex !important; }
  .columns-row .column {
    flex: 0 0 var(--carousel-col-width, 280px);
    width: var(--carousel-col-width, 280px);
    max-width: var(--carousel-col-width, 280px);
    min-width: 0;
  }
  .column-nav {
    width: 36px;
    height: 36px;
    font-size: 24px;
  }
  .kind-choice { grid-template-columns: 1fr; }
  .hero-kinds { grid-template-columns: 1fr; }
  .trend-card { flex-direction: column; }
  .trend-img { width: 100%; height: 150px; }
  .trend-preview-card { margin-left: 0; }
  .score-row { grid-template-columns: minmax(60px, 34%) 1fr 28px; }
  .hero-stats { gap: 20px; }
  .topic-card { flex-direction: column; }
  .topic-card-img { width: 100%; height: 150px; }
  .topic-banner { height: 140px; }
  .profile-ident { flex-direction: column; align-items: center; text-align: center; }
  .profile-bio { margin-left: auto; margin-right: auto; }
  .hero { padding: 24px 20px; }
  .hero h1 { font-size: 24px; }
  .header-inner { gap: 12px; }
}

/* ---------- Piè di pagina ---------- */
.site-footer {
  background: var(--menu); color: #aab6d4;
  padding: 18px 0; font-size: 13.5px; text-align: center;
}
