/* Over Bet Treviso — 2026 */
:root {
  --bg: #07090d;
  --bg-2: #0c1118;
  --felt: #0f5e3f;
  --felt-glow: rgba(24, 160, 104, 0.35);
  --navy: #0b1b34;
  --gold: #f2c14e;
  --gold-2: #ffd97a;
  --neon: #38f0b0;
  --text: #eef2f6;
  --muted: #9aa6b5;
  --glass: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.12);
  --radius: 18px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --header-h: 62px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  padding-top: var(--header-h);
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: clip;
}
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 600px at 10% -10%, rgba(15, 94, 63, 0.45), transparent 60%),
    radial-gradient(700px 500px at 100% 10%, rgba(11, 27, 52, 0.9), transparent 60%),
    radial-gradient(600px 400px at 50% 110%, rgba(242, 193, 78, 0.12), transparent 60%),
    var(--bg);
}
/* sfumature in movimento (verde / blu) */
body::after {
  content: ""; position: fixed; inset: -20%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 45% 40% at 20% 15%, rgba(15, 94, 63, 0.55), transparent 70%),
    radial-gradient(ellipse 40% 35% at 80% 20%, rgba(11, 27, 52, 0.95), transparent 70%);
  filter: blur(30px);
  animation: drift 9s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes drift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  33%  { transform: translate3d(7%, 5%, 0) scale(1.10); }
  66%  { transform: translate3d(-6%, 8%, 0) scale(0.95); }
  100% { transform: translate3d(4%, -6%, 0) scale(1.07); }
}
.hero::after { animation: glow 7s ease-in-out infinite alternate; }
@keyframes glow { from { transform: translateX(-6%) scale(1); opacity: .9; } to { transform: translateX(6%) scale(1.12); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { body::after, .hero::after, .hero h1 .grad { animation: none; } }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-2); }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 7vw, 4.6rem); }
h2 { font-size: clamp(1.7rem, 4.5vw, 2.6rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.container { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-head { margin-bottom: 2rem; }
.section-head .eyebrow { color: var(--neon); text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; font-weight: 700; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  background: rgba(7, 9, 13, 0.72);
  border-bottom: 1px solid var(--glass-border);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 1rem; }
.brand img { height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: .25rem; }
.nav a {
  color: var(--text); font-weight: 600; font-size: .92rem;
  padding: .55rem .8rem; border-radius: 10px; position: relative;
  transition: background .2s, color .2s;
}
.nav a:hover, .nav a[aria-current="page"] { background: var(--glass); color: var(--gold-2); }
.nav a.btn-soci {
  margin-left: .5rem;
  padding: .35rem .95rem; font-size: .88rem; font-weight: 600; line-height: 1.3; border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), #e0a72a);
  color: #1a1200; box-shadow: 0 0 20px rgba(242, 193, 78, 0.35);
}
.nav a.btn-soci:hover { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #1a1200; box-shadow: 0 0 30px rgba(242, 193, 78, 0.6); }
.nav-toggle {
  display: none; background: var(--glass); border: 1px solid var(--glass-border);
  color: var(--text); width: 44px; height: 44px; border-radius: 12px; cursor: pointer;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: .35rem;
    padding: 1rem 1.25rem 1.5rem;
    background: rgba(7, 9, 13, 0.96); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform .25s, opacity .25s;
  }
  .nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { font-size: 1.05rem; padding: .85rem 1rem; }
  .nav a.btn-soci { margin: .5rem 0 0; text-align: center; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .9rem 1.6rem; border-radius: 999px; font-weight: 700; font-size: 1rem;
  border: 1px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s;
  font-family: inherit;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--gold), #e0a72a); color: #1a1200; box-shadow: 0 10px 30px rgba(242, 193, 78, 0.3); }
.btn-primary:hover { color: #1a1200; box-shadow: 0 14px 40px rgba(242, 193, 78, 0.5); }
.btn-ghost { background: var(--glass); border-color: var(--glass-border); color: var(--text); backdrop-filter: blur(10px); }
.btn-ghost:hover { border-color: var(--neon); color: var(--neon); box-shadow: 0 0 24px rgba(56, 240, 176, 0.25); }
.btn-whatsapp { background: #25d366; color: #05240f; }
.btn-whatsapp:hover { color: #05240f; box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4); }

/* Hero */
.hero {
  position: relative; min-height: min(52vh, 480px); display: grid; align-items: center; /* 8/10/2026: hero più bassa senza la card */
  padding: clamp(3rem, 8vw, 6rem) 0; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: auto -20% -40% -20%; height: 60%;
  background: radial-gradient(ellipse at center, var(--felt-glow), transparent 65%);
  filter: blur(40px); z-index: -1;
}
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; max-width: 820px; } /* 8/10/2026: via card 'prossimo evento' e bottone palinsesto (Checco) */
.hero .eyebrow { display: inline-flex; align-items: center; gap: .5rem; color: var(--neon); font-weight: 700; letter-spacing: .15em; text-transform: uppercase; font-size: .78rem; margin-bottom: 1.2rem; }
.hero .eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--neon); box-shadow: 0 0 12px var(--neon); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.hero h1 { margin-bottom: 1rem; }
.hero h1 .grad { background: linear-gradient(90deg, var(--gold), var(--gold-2), var(--neon), var(--gold)); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 6s ease-in-out infinite; }
@keyframes shimmer { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
.hero p.lead { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--muted); max-width: 40ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.8rem; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; margin-top: 2.5rem; }
.hero-stats div strong { display: block; font-size: 1.6rem; color: var(--gold); letter-spacing: -0.02em; }
.hero-stats div span { color: var(--muted); font-size: .85rem; }
.hero-card { position: relative; }
.hero-card img { border-radius: var(--radius); box-shadow: var(--shadow), 0 0 60px rgba(242, 193, 78, 0.15); transform: rotate(2deg); transition: transform .4s; }
.hero-card:hover img { transform: rotate(0) scale(1.02); }
.hero-card .badge { position: absolute; top: -14px; left: -10px; z-index: 2; }
@media (max-width: 900px) {
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-card { max-width: 380px; margin: 0 auto; }
}

/* Cards */
.glass {
  background: var(--glass); border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-radius: var(--radius); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.glass:hover { transform: translateY(-4px); border-color: rgba(242, 193, 78, 0.4); box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45), 0 0 30px rgba(242, 193, 78, 0.08); }
.grid { display: grid; gap: 1.25rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.badge {
  display: inline-block; padding: .3rem .75rem; border-radius: 999px; font-size: .72rem; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
  background: linear-gradient(135deg, var(--gold), #e0a72a); color: #1a1200;
  box-shadow: 0 0 18px rgba(242, 193, 78, 0.45);
}
.badge.green { background: linear-gradient(135deg, var(--neon), #14a86f); color: #032315; box-shadow: 0 0 18px rgba(56, 240, 176, 0.35); }
.badge.red { background: linear-gradient(135deg, #ff6b6b, #c62828); color: #fff; box-shadow: 0 0 18px rgba(255, 107, 107, 0.35); }

/* Day cards (summary) */
.day-card { padding: 1.4rem; position: relative; overflow: hidden; }
.day-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--gold), var(--neon)); opacity: .8; }
.day-card.closed::before { background: linear-gradient(90deg, #ff6b6b, #7a1f1f); }
.day-card .day { font-size: .78rem; text-transform: uppercase; letter-spacing: .18em; color: var(--neon); font-weight: 800; }
.day-card .time { font-size: 2rem; font-weight: 900; letter-spacing: -0.03em; margin: .2rem 0 .6rem; }
.day-card dl { display: grid; grid-template-columns: auto 1fr; gap: .25rem .8rem; margin: 0; font-size: .95rem; }
.day-card dt { color: var(--muted); }
.day-card dd { margin: 0; font-weight: 700; }
.day-card.closed .time { color: #ff8a8a; font-size: 1.4rem; }

/* Featured event */
.featured { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2.5rem; align-items: center; padding: 2rem; }
.featured:hover { transform: none; }
.featured img { border-radius: 14px; box-shadow: var(--shadow); }
.featured h2 { margin-top: .6rem; }
.spec-list { list-style: none; padding: 0; margin: 1rem 0 1.5rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem .9rem; }
.spec-list li { background: rgba(0,0,0,.25); border: 1px solid var(--glass-border); padding: .55rem .8rem; border-radius: 10px; font-size: .92rem; }
.spec-list li span { display: block; color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; }
@media (max-width: 800px) { .featured { grid-template-columns: 1fr; padding: 1.25rem; } .featured img { max-width: min(100%, 380px); margin: 0 auto; } }

/* Teaser cards */
.teaser { padding: 1.6rem; display: flex; flex-direction: column; gap: .6rem; }
.teaser .icon, .feature .icon, .contact-card .icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; color: var(--gold); background: rgba(242,193,78,.08); border: 1px solid rgba(242,193,78,.25); box-shadow: 0 0 24px rgba(242,193,78,.12) inset; }
.teaser:hover .icon, .feature:hover .icon, .contact-card:hover .icon { color: #ffe08a; box-shadow: 0 0 18px rgba(242,193,78,.35); }
.teaser h3 { margin: .2rem 0 0; }
.teaser p { color: var(--muted); flex: 1; }
.teaser a.more { font-weight: 700; }
.teaser a.more::after { content: " →"; }

/* Full schedule (palinsesto) */
.sched { display: grid; grid-template-columns: 360px 1fr; gap: 2rem; padding: 1.5rem; margin-bottom: 1.5rem; align-items: start; }
.sched:hover { transform: none; }
.sched img { border-radius: 14px; box-shadow: var(--shadow); }
.sched .day-title { display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.sched .day-title h2 { margin: 0; }
.sched .day-title .start { color: var(--gold); font-weight: 900; font-size: 1.4rem; }
.sched .specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: .6rem; margin: 1rem 0; }
.sched .specs div { background: rgba(0,0,0,.28); border: 1px solid var(--glass-border); border-radius: 12px; padding: .7rem .9rem; }
.sched .specs div span { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.sched .specs div strong { font-size: 1.15rem; }
.sched .notes { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.sched .notes li { border: 1px solid rgba(56,240,176,.35); color: var(--neon); border-radius: 999px; padding: .3rem .8rem; font-size: .82rem; font-weight: 600; }
.jackpot { border-left: 3px solid var(--gold); background: rgba(242,193,78,.08); padding: .8rem 1rem; border-radius: 0 12px 12px 0; font-size: .95rem; }
.jackpot strong { color: var(--gold); }
.callout { background: rgba(255,107,107,.08); border: 1px solid rgba(255,107,107,.35); padding: 1rem 1.2rem; border-radius: 12px; margin-top: 1.4rem; }
@media (max-width: 860px) { .sched { grid-template-columns: 1fr; } .sched img { max-width: min(100%, 360px); margin: 0 auto; } }

/* Tables */
.table-wrap { overflow-x: auto; border-radius: 14px; border: 1px solid var(--glass-border); background: rgba(0,0,0,.25); }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { padding: .7rem 1rem; text-align: left; border-bottom: 1px solid rgba(255,255,255,.07); }
th { background: rgba(255,255,255,.05); color: var(--neon); text-transform: uppercase; font-size: .75rem; letter-spacing: .12em; }
tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(-n+3) td:first-child { color: var(--gold); font-weight: 800; }
.rules { padding: 1.6rem; margin-bottom: 1.25rem; }
.rules:hover { transform: none; }
.rules h3 { color: var(--gold); display: flex; gap: .6rem; align-items: baseline; }
.rules h3 .letter { color: var(--neon); font-size: .85rem; letter-spacing: .1em; }
.rules ul { padding-left: 1.2rem; color: #d7dee8; }
.rules ul li { margin-bottom: .3rem; }

/* Contacts / Map */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.contact-card { padding: 1.8rem; display: flex; flex-direction: column; }
.contact-card .icon, .feature .icon, .teaser .icon { margin-bottom: 1rem; }
.contact-card h3 { margin: 0 0 .4rem; }
.contact-card p { flex: 1; margin: 0 0 1.1rem; }
.contact-card .btn { align-self: flex-start; margin-top: auto; padding: .5rem 1.05rem; font-size: .88rem; line-height: 1.3; }
.contact-card .big { font-size: clamp(1.5rem, 4vw, 2.2rem); font-weight: 900; color: var(--gold); display: block; margin: .3rem 0 .5rem; }
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--glass-border); box-shadow: var(--shadow); aspect-ratio: 16/10; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; filter: saturate(.85) contrast(1.05); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { border: 1px solid var(--glass-border); background: var(--glass); padding: .4rem .9rem; border-radius: 999px; font-size: .88rem; font-weight: 600; }
.chip.off { color: #ff8a8a; border-color: rgba(255,107,107,.4); }
.chip.on { color: var(--neon); border-color: rgba(56,240,176,.4); }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }

/* Area soci */
.login-wrap { max-width: 460px; margin: 0 auto; padding: 2.2rem; }
.login-wrap:hover { transform: none; }
.form-group { margin-bottom: 1.1rem; }
label { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: .4rem; font-weight: 700; }
input[type="text"], input[type="email"], input[type="password"] {
  width: 100%; padding: .9rem 1rem; font: inherit; color: var(--text);
  background: rgba(0,0,0,.35); border: 1px solid var(--glass-border); border-radius: 12px; outline: none;
  transition: border-color .2s, box-shadow .2s;
}
input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(242,193,78,.2); }
.form-msg { display: none; margin-top: 1.2rem; padding: 1rem; border-radius: 12px; background: rgba(56,240,176,.1); border: 1px solid rgba(56,240,176,.4); color: var(--neon); font-weight: 600; }
.form-msg.show { display: block; animation: fade .4s; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.feature { padding: 1.4rem; }

.feature h3 { font-size: 1.05rem; margin: .5rem 0 .3rem; }
.feature p { color: var(--muted); font-size: .9rem; margin: 0; }

/* Page hero */
.page-hero { padding: clamp(2.5rem, 6vw, 4.5rem) 0 1rem; }
.page-hero .eyebrow { color: var(--neon); text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; font-weight: 700; }
.page-hero p { color: var(--muted); max-width: 60ch; font-size: 1.1rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--glass-border); padding: 3rem 0 2rem; margin-top: 3rem; background: rgba(0,0,0,.35); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.site-footer h4 { color: var(--gold); font-size: .85rem; text-transform: uppercase; letter-spacing: .15em; margin-bottom: .8rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .4rem; }
.site-footer a { color: var(--text); }
.site-footer a:hover { color: var(--gold); }
.footer-bottom { margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.07); color: var(--muted); font-size: .85rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; } }

/* Reveal */
html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } * { scroll-behavior: auto !important; } }

/* Prose */
.prose { max-width: 70ch; }
.prose h2 { font-size: 1.4rem; margin-top: 2rem; }
.prose ol, .prose ul { color: #d7dee8; }

/* badge Oggi (palinsesto ordinato dal giorno corrente) */
[data-day]{position:relative}
.today-badge{position:absolute;top:.75rem;right:.75rem;background:linear-gradient(135deg,#f5c542,#e0a800);color:#0b0f0d;font-weight:700;font-size:.7rem;letter-spacing:.08em;text-transform:uppercase;padding:.3rem .6rem;border-radius:999px;z-index:2}

/* riflesso vetro al passaggio del mouse */
.teaser, .feature, .contact-card, .day-card, .sched { position: relative; overflow: hidden; }
.teaser::before, .feature::before, .contact-card::before, .day-card::before, .sched::before {
  content: ""; position: absolute; top: -60%; left: -80%; width: 60%; height: 220%; pointer-events: none; z-index: 1;
  background: linear-gradient(105deg, transparent 0%, rgba(255,255,255,0) 35%, rgba(255,255,255,.14) 50%, rgba(242,193,78,.10) 58%, transparent 70%);
  transform: skewX(-18deg); opacity: 0; transition: opacity .2s;
}
.teaser:hover::before, .feature:hover::before, .contact-card:hover::before, .day-card:hover::before, .sched:hover::before { opacity: 1; animation: shine 1.1s ease-out forwards; }
@keyframes shine { from { left: -80%; } to { left: 160%; } }
.teaser:hover, .feature:hover, .contact-card:hover, .day-card:hover { border-color: rgba(242,193,78,.35); transform: translateY(-3px); transition: transform .25s, border-color .25s; }
/* Area soci - dashboard */
.soci-dash { visibility: hidden; }
.soci-dash.ready { visibility: visible; }
.tbl { width: 100%; border-collapse: collapse; margin-top: .6rem; font-size: .95rem; }
.tbl th, .tbl td { text-align: left; padding: .45rem .3rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.tbl th { color: var(--gold); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.notif { list-style: none; padding: 0; margin: .4rem 0 0; display: grid; gap: .8rem; }
.notif li { padding: .7rem .9rem; border-radius: 10px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
.mini-form .form-group { margin-bottom: .8rem; }
.mini-form label { font-size: .78rem; }
.mini-form input { padding: .6rem .8rem; font-size: .95rem; }
.mini-form .btn { margin-top: .3rem; }
.small { font-size: .82rem; }
.big-email { font-weight: 700; color: var(--gold); word-break: break-all; margin: 0 0 .3rem; }
.profile-grid .feature p { flex: 0 0 auto; }
/* Area soci - sotto-menu */
.soci-tabs { display: flex; gap: .4rem; align-items: center; padding-top: 1.2rem; flex-wrap: wrap; }
.soci-tabs a { padding: .45rem 1rem; border-radius: 999px; font-weight: 600; font-size: .9rem; color: var(--muted); border: 1px solid transparent; }
.soci-tabs a:hover { color: var(--text); background: rgba(255,255,255,.05); }
.soci-tabs a.active { color: var(--gold); background: rgba(242,193,78,.08); border-color: rgba(242,193,78,.3); }
.soci-tabs .tab-exit { margin-left: auto; color: #ff8a8a; }
/* ===== Area soci: tema caldo (corallo + ambra) ===== */
body.theme-soci {
  --bg: #0d0809;
  --felt: #8a2d2a;
  --felt-glow: rgba(255, 112, 67, 0.32);
  --navy: #3a1a0e;
  --neon: #ff8a5b;
  --gold: #ffb347;
  --gold-2: #ffd27a;
}
body.theme-soci::before {
  background:
    radial-gradient(900px 600px at 10% -10%, rgba(255, 94, 58, 0.30), transparent 60%),
    radial-gradient(700px 500px at 100% 10%, rgba(255, 170, 60, 0.22), transparent 60%),
    radial-gradient(600px 400px at 50% 110%, rgba(255, 120, 80, 0.14), transparent 60%),
    var(--bg);
}
body.theme-soci::after {
  background:
    radial-gradient(ellipse 45% 40% at 20% 15%, rgba(255, 94, 58, 0.45), transparent 70%),
    radial-gradient(ellipse 40% 35% at 80% 20%, rgba(255, 176, 71, 0.40), transparent 70%);
}
body.theme-soci .hero h1 .grad, body.theme-soci h1 .grad { background: linear-gradient(90deg, #ffb347, #ff7a59, #ffd27a, #ffb347); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 6s ease-in-out infinite; }
body.theme-soci .nav a.btn-soci { background: linear-gradient(135deg, #ff8a5b, #ffb347); box-shadow: 0 0 20px rgba(255, 138, 91, 0.4); }
body.theme-soci .teaser .icon, body.theme-soci .feature .icon { color: #ffb347; background: rgba(255,138,91,.10); border-color: rgba(255,179,71,.3); }
body.theme-soci .soci-tabs a.active { color: #ffb347; background: rgba(255,138,91,.10); border-color: rgba(255,179,71,.35); }
body.theme-soci .glass:hover { border-color: rgba(255,179,71,.4); box-shadow: 0 18px 45px rgba(0,0,0,.45), 0 0 30px rgba(255,138,91,.10); }
body.theme-soci .tbl th { color: #ffb347; }
body.theme-soci .big-email { color: #ffb347; }
body.theme-soci input:focus { border-color: #ffb347; box-shadow: 0 0 0 3px rgba(255,179,71,.2); }
body.theme-soci .btn-primary { background: linear-gradient(135deg, #ffb347, #ff8a5b); }
/* ===== Giorno / Notte ===== */
.theme-toggle { margin-left: .4rem; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--glass-border); background: var(--glass); color: var(--text); display: inline-grid; place-items: center; cursor: pointer; transition: border-color .2s, transform .2s; }
.theme-toggle:hover { border-color: var(--gold); transform: rotate(15deg); }
.theme-toggle .ico-sun { display: none; }
html.light .theme-toggle .ico-sun { display: block; }
html.light .theme-toggle .ico-moon { display: none; }
@media (max-width: 900px) { .theme-toggle { margin: .6rem auto 0; } }

html.light {
  --bg: #f4f6f8;
  --bg-2: #ffffff;
  --felt-glow: rgba(24, 160, 104, 0.22);
  --gold: #b8860b;
  --gold-2: #d4a017;
  --neon: #0c9a6a;
  --text: #121820;
  --muted: #5b6675;
  --glass: rgba(255, 255, 255, 0.75);
  --glass-border: rgba(16, 24, 32, 0.10);
  --shadow: 0 20px 50px rgba(20, 30, 40, 0.12);
}
html.light body::before {
  background:
    radial-gradient(900px 600px at 10% -10%, rgba(24, 160, 104, 0.18), transparent 60%),
    radial-gradient(700px 500px at 100% 10%, rgba(40, 80, 160, 0.14), transparent 60%),
    radial-gradient(600px 400px at 50% 110%, rgba(242, 193, 78, 0.18), transparent 60%),
    var(--bg);
}
html.light body::after {
  background:
    radial-gradient(ellipse 45% 40% at 20% 15%, rgba(24, 160, 104, 0.22), transparent 70%),
    radial-gradient(ellipse 40% 35% at 80% 20%, rgba(40, 80, 160, 0.18), transparent 70%);
}
html.light .site-header { background: rgba(255, 255, 255, 0.78); border-bottom: 1px solid rgba(16,24,32,.08); }
html.light .brand img { filter: invert(1) hue-rotate(180deg) brightness(.25); }
html.light .glass { box-shadow: 0 10px 30px rgba(20, 30, 40, 0.08); }
html.light .glass:hover { box-shadow: 0 18px 45px rgba(20,30,40,.14), 0 0 30px rgba(184,134,11,.10); }
html.light .nav a.btn-soci { color: #1a1200; }
html.light .btn-primary { color: #1a1200; }
html.light .btn-ghost { border-color: rgba(16,24,32,.18); color: var(--text); }
html.light input[type="text"], html.light input[type="email"], html.light input[type="password"] { background: #fff; color: var(--text); border-color: rgba(16,24,32,.15); }
html.light .site-footer { background: rgba(16,24,32,.04); }
html.light .tbl th, html.light .tbl td { border-bottom-color: rgba(16,24,32,.08); }
html.light .notif li { background: rgba(16,24,32,.04); border-color: rgba(16,24,32,.08); }
html.light .teaser::before, html.light .feature::before, html.light .contact-card::before, html.light .day-card::before, html.light .sched::before { background: linear-gradient(105deg, transparent 0%, rgba(255,255,255,0) 35%, rgba(255,255,255,.7) 50%, rgba(184,134,11,.12) 58%, transparent 70%); }
html.light .callout { background: rgba(200,40,40,.06); border-color: rgba(200,40,40,.3); }
html.light .today-badge { color: #1a1200; }
/* area soci tema caldo in versione giorno */
html.light body.theme-soci { --bg: #fbf5f0; --neon: #e2572b; --gold: #c8780a; --gold-2: #e09a2a; }
html.light body.theme-soci::before {
  background:
    radial-gradient(900px 600px at 10% -10%, rgba(255, 94, 58, 0.16), transparent 60%),
    radial-gradient(700px 500px at 100% 10%, rgba(255, 170, 60, 0.16), transparent 60%),
    radial-gradient(600px 400px at 50% 110%, rgba(255, 120, 80, 0.10), transparent 60%),
    var(--bg);
}
html.light body.theme-soci::after {
  background:
    radial-gradient(ellipse 45% 40% at 20% 15%, rgba(255, 94, 58, 0.22), transparent 70%),
    radial-gradient(ellipse 40% 35% at 80% 20%, rgba(255, 176, 71, 0.22), transparent 70%);
}
html.light body.theme-soci .teaser .icon, html.light body.theme-soci .feature .icon { color: #c8780a; }
/* profilo: sezioni apribili */
.acc { display: grid; gap: 1rem; max-width: 900px; }
.acc-item { padding: 0; overflow: visible; }
.acc-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.4rem; }
.acc-item summary::-webkit-details-marker { display: none; }
.acc-item summary .icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: var(--gold); background: rgba(242,193,78,.08); border: 1px solid rgba(242,193,78,.25); flex: 0 0 auto; }
.acc-item .acc-title { font-weight: 700; font-size: 1.1rem; flex: 1; }
.acc-chev { width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .25s; margin-right: .3rem; }
.acc-item[open] .acc-chev { transform: rotate(-135deg); }
.acc-item[open] summary { border-bottom: 1px solid var(--glass-border); }
.acc-body { padding: 1.3rem 1.4rem 1.5rem; animation: fade .3s; }
.grid-form { display: grid; grid-template-columns: 1fr 1fr; gap: .2rem 1.2rem; }
.grid-form .span-2 { grid-column: 1 / -1; }
.acc-actions { display: flex; justify-content: space-between; align-items: center; margin-top: .6rem; gap: 1rem; }
.lock { font-size: .7rem; opacity: .7; margin-left: .3rem; }
input[readonly] { opacity: .6; cursor: not-allowed; }
input[type="date"] { width: 100%; padding: .6rem .8rem; border-radius: 10px; border: 1px solid var(--glass-border); background: rgba(255,255,255,.05); color: var(--text); font: inherit; color-scheme: dark; }
html.light input[type="date"] { background: #fff; color-scheme: light; border-color: rgba(16,24,32,.15); }
@media (max-width: 640px) { .grid-form { grid-template-columns: 1fr; } }
/* area soci: spazio sotto i titoli delle schede */
.card-note { margin-top: .9rem !important; }
/* giorno: anche il logo nel footer */
html.light .site-footer img { filter: invert(1) hue-rotate(180deg) brightness(.25); }
html.light .acc-item[open] summary { border-bottom-color: rgba(16,24,32,.08); }
body.theme-soci .acc-item summary .icon { color: #ffb347; background: rgba(255,138,91,.10); border-color: rgba(255,179,71,.3); }
/* autocomplete indirizzo */
.addr-wrap { position: relative; }
.addr-list { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 20; list-style: none; margin: 0; padding: .3rem; border-radius: 12px; background: #141a22; border: 1px solid var(--glass-border); box-shadow: 0 16px 40px rgba(0,0,0,.45); max-height: 240px; overflow: auto; }
.addr-list li { padding: .55rem .7rem; border-radius: 8px; cursor: pointer; font-size: .95rem; }
.addr-list li:hover { background: rgba(242,193,78,.12); color: var(--gold); }
html.light .addr-list { background: #fff; box-shadow: 0 16px 40px rgba(20,30,40,.18); }
input.invalid { border-color: #ff6b6b !important; }
#addr-hint { display: block; margin-top: .3rem; }
.addr-list li.addr-info { cursor: default; font-size: .85rem; }
.addr-list li.addr-info:hover { background: none; color: var(--muted); }
/* data di nascita a tendine */
.dob { display: grid; grid-template-columns: 1fr 1.6fr 1.2fr; gap: .6rem; }
.dob select { width: 100%; padding: .6rem .8rem; border-radius: 10px; border: 1px solid var(--glass-border); background: rgba(255,255,255,.05); color: var(--text); font: inherit; font-size: .95rem; appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.dob select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(242,193,78,.2); }
.dob select option { background: #141a22; color: #eef2f6; }
html.light .dob select { background-color: #fff; border-color: rgba(16,24,32,.15); }
html.light .dob select option { background: #fff; color: #121820; }
.save-btn[disabled] { opacity: .7; cursor: progress; }
.site-footer .legal { font-size: .82rem; line-height: 1.55; }
.site-footer .legal + p { font-size: .82rem; }
/* barra Chiama / SMS fissa in basso (solo mobile) */
.mobile-cta { display: none; }
@media (max-width: 760px) {
  .mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; padding: .6rem .8rem calc(.6rem + env(safe-area-inset-bottom)); background: rgba(7, 9, 13, 0.82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid var(--glass-border); }
  .mobile-cta a { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .8rem 1rem; border-radius: 999px; font-weight: 700; font-size: 1rem; color: #1a1200; }
  .mobile-cta .mcta-call { background: linear-gradient(135deg, var(--neon), #22c48c); }
  .mobile-cta .mcta-sms { background: linear-gradient(135deg, var(--gold), var(--gold-2)); }
  .mobile-cta a:active { transform: scale(.97); }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  html.light .mobile-cta { background: rgba(255,255,255,.85); border-top-color: rgba(16,24,32,.1); }
  body.theme-soci .mobile-cta .mcta-call { background: linear-gradient(135deg, #ff8a5b, #ff6a3d); color: #2a0e05; }
}
/* ===== Pannello admin ===== */
.soci-tabs .tab-admin { color: var(--gold); }
.adm-acc { max-width: 1100px; }
.btn-sm { padding: .55rem 1.1rem; font-size: .9rem; }
.btn-xs { padding: .35rem .8rem; font-size: .8rem; backdrop-filter: none; }
.btn-xs.danger:hover { border-color: #ff6b6b; color: #ff8a8a; box-shadow: 0 0 18px rgba(255,107,107,.2); }
.adm-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.adm-bar input[type="search"] { flex: 1; min-width: 200px; padding: .6rem .9rem; font: inherit; color: var(--text); background: rgba(0,0,0,.35); border: 1px solid var(--glass-border); border-radius: 12px; outline: none; }
.seg { display: inline-flex; border: 1px solid var(--glass-border); border-radius: 999px; overflow: hidden; }
.seg button { font: inherit; font-size: .85rem; font-weight: 600; padding: .45rem 1rem; background: transparent; color: var(--muted); border: 0; cursor: pointer; }
.seg button.on { background: rgba(242,193,78,.14); color: var(--gold); }
.adm-list { display: grid; gap: .8rem; }
.adm-card { display: grid; grid-template-columns: 72px 1fr; gap: 1rem; align-items: center; padding: .8rem 1rem; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
.adm-card.socio { grid-template-columns: 1fr; }
.adm-card.hidden-ev { opacity: .55; }
.adm-card img, .adm-card .noimg { width: 72px; height: 96px; object-fit: cover; border-radius: 8px; box-shadow: 0 6px 16px rgba(0,0,0,.35); }
.adm-card .noimg { display: grid; place-items: center; background: rgba(0,0,0,.3); color: var(--muted); }
.adm-card-body { min-width: 0; }
.adm-card-head { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; justify-content: space-between; }
.adm-card-head strong { font-size: 1.05rem; }
.adm-actions { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: .6rem; }
.pill { display: inline-block; padding: .15rem .6rem; border-radius: 999px; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; border: 1px solid; }
.pill.on { color: var(--neon); border-color: rgba(56,240,176,.4); }
.pill.off { color: #ff8a8a; border-color: rgba(255,107,107,.4); }
.pill.gold { color: var(--gold); border-color: rgba(242,193,78,.4); }
.adm-form { margin-top: 1.2rem; padding: 1.2rem; border-radius: 14px; background: rgba(0,0,0,.2); border: 1px solid var(--glass-border); }
.adm-form-title { margin: 0 0 .6rem; color: var(--gold); font-size: 1.05rem; }
.adm-form textarea, .adm-day textarea { width: 100%; padding: .6rem .8rem; font: inherit; font-size: .95rem; color: var(--text); background: rgba(0,0,0,.35); border: 1px solid var(--glass-border); border-radius: 12px; outline: none; resize: vertical; }
.adm-form textarea:focus, .adm-day textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(242,193,78,.2); }
.chk { display: inline-flex; align-items: center; gap: .5rem; text-transform: none; letter-spacing: 0; font-size: .9rem; color: var(--text); cursor: pointer; }
.chk input { width: 18px; height: 18px; accent-color: var(--gold); }
.chk-row { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.poster-row { display: flex; gap: 1rem; align-items: center; }
.poster-prev { width: 64px; height: 86px; object-fit: cover; border-radius: 8px; box-shadow: 0 6px 16px rgba(0,0,0,.35); }
input[type="file"] { font: inherit; font-size: .85rem; color: var(--muted); max-width: 100%; }
.adm-day { padding: 1.1rem 1.2rem; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
.adm-day-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: .8rem; }
.adm-day-head strong { font-size: 1.1rem; color: var(--gold); }
.adm-day .poster-row { margin-bottom: .8rem; }
.adm-day .day-msg { margin: 0; padding: .4rem .7rem; font-size: .85rem; }
.adm-sub { margin-bottom: 1rem; }
.adm-sub summary { list-style: none; display: inline-flex; }
.adm-sub summary::-webkit-details-marker { display: none; }
.adm-table-wrap { background: rgba(0,0,0,.2); }
.adm-table { margin: 0; }
.adm-table td, .adm-table th { padding: .55rem .6rem; vertical-align: middle; white-space: nowrap; }
.adm-table .email { word-break: break-all; white-space: normal; }
.adm-table .adm-actions { margin: 0; flex-wrap: nowrap; }
.adm-table .edit-row td { white-space: normal; }
.adm-table .edit-row .adm-form { margin: 0; }
.adm-cards { display: none; gap: .8rem; }
#nt-list li .adm-card-head { margin-bottom: .2rem; }
@media (max-width: 860px) { .adm-table-wrap { display: none; } .adm-cards { display: grid; } }
html.light .adm-card, html.light .adm-day { background: rgba(16,24,32,.04); border-color: rgba(16,24,32,.08); }
html.light .adm-form, html.light .adm-table-wrap { background: rgba(16,24,32,.03); }
html.light .adm-form textarea, html.light .adm-day textarea, html.light .adm-bar input[type="search"] { background: #fff; border-color: rgba(16,24,32,.15); }
html.light .adm-card .noimg { background: rgba(16,24,32,.06); }
.adm-form[hidden], .adm-acc [hidden] { display: none !important; }
.adm-acc .acc-item, .adm-acc .acc-body, .adm-list, .adm-card, .adm-day { min-width: 0; max-width: 100%; }
.adm-bar .btn { white-space: nowrap; }
@media (max-width: 480px) { .adm-card { grid-template-columns: 56px 1fr; gap: .7rem; padding: .7rem .8rem; } .adm-card img, .adm-card .noimg { width: 56px; height: 75px; } }
.poster-row > div { flex: 1; min-width: 0; }
.poster-row input[type="file"] { width: 100%; }

/* --- 5/10/26: ID/ordine interni, palinsesto admin in sola lettura, menu giorni in testa al palinsesto --- */
.pill.idp { color: var(--muted); border-color: var(--glass-border); font-size: .65rem; margin-left: .4rem; vertical-align: middle; }
.adm-day:not(.editing) input:disabled, .adm-day:not(.editing) textarea:disabled { opacity: .75; cursor: default; background: rgba(0,0,0,.18); border-style: dashed; }
.adm-day.editing { border-color: rgba(242,193,78,.45); box-shadow: 0 0 0 1px rgba(242,193,78,.25), 0 0 28px rgba(242,193,78,.12); }
.adm-day-head .adm-actions, .acc-actions .adm-actions { display: inline-flex; gap: .5rem; align-items: center; margin: 0; }
.day-nav { position: sticky; top: 62px; z-index: 20; display: flex; gap: .5rem; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding: .6rem 0; margin: 0 auto .5rem; background: linear-gradient(var(--bg, #07090d) 70%, transparent); }
.day-nav::-webkit-scrollbar { display: none; }
.day-nav a { flex: 0 0 auto; border: 1px solid var(--glass-border); background: var(--glass); backdrop-filter: blur(10px); color: var(--text); border-radius: 999px; padding: .45rem .95rem; font-size: .85rem; font-weight: 700; text-decoration: none; white-space: nowrap; transition: border-color .2s, color .2s; }
.day-nav a:hover { border-color: var(--neon); color: var(--neon); }
.day-nav a.today { border-color: rgba(242,193,78,.6); color: var(--gold); background: rgba(242,193,78,.12); }
.day-nav a.closed { color: var(--muted); }
.day-nav:empty { display: none; }
html.light .day-nav { background: linear-gradient(var(--bg, #f4f6f8) 70%, transparent); }
.sched[id] { scroll-margin-top: 120px; }
input[type="number"] { width: 100%; max-width: 160px; padding: .6rem .8rem; border-radius: 10px; border: 1px solid var(--glass-border); background: rgba(255,255,255,.05); color: var(--text); font: inherit; }
html.light input[type="number"] { background: #fff; border-color: rgba(16,24,32,.15); }
.updown { display: inline-flex; gap: .2rem; }
.updown .btn { padding: .25rem .55rem; font-size: .75rem; line-height: 1; }
.updown .btn:disabled { opacity: .3; cursor: default; }
.sched .ev-badge { display: inline-block; margin-bottom: .5rem; }
.featured { position: relative; }
.feat-dots { position: absolute; right: 1.2rem; bottom: 1rem; display: flex; gap: .45rem; z-index: 2; }
.feat-dots button { width: 10px; height: 10px; border-radius: 50%; border: 1px solid var(--glass-border); background: rgba(255,255,255,.18); cursor: pointer; padding: 0; transition: background .2s, transform .2s; }
.feat-dots button.on { background: var(--gold); transform: scale(1.25); }
.featured.swap img, .featured.swap > div { animation: featfade .5s ease; }
@keyframes featfade { from { opacity: .25; } to { opacity: 1; } }
.day-card .time.ev { font-size: 1.3rem; color: var(--neon); }
/* home: griglia locandine settimanali */
.poster-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.poster-card { position: relative; display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--glass-border); background: var(--glass); box-shadow: var(--shadow); text-decoration: none; color: var(--text); transition: transform .25s, box-shadow .25s, border-color .25s; }
.poster-card img { display: block; width: 100%; height: auto; aspect-ratio: 630 / 900; object-fit: cover; }
.poster-card:hover { transform: translateY(-4px) scale(1.02); border-color: var(--gold); box-shadow: var(--shadow), 0 0 28px rgba(242,193,78,.25); }
.poster-card .pc-label { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem .5rem .45rem; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; text-align: center; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.85)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.poster-card.closed img { filter: saturate(.75); }
.poster-card .today-badge { top: .45rem; right: .45rem; }
.poster-card .pc-empty { aspect-ratio: 630 / 900; display: grid; place-items: center; padding: 1rem; text-align: center; font-weight: 800; color: var(--gold); }
@media (max-width: 1000px) { .poster-grid { grid-template-columns: repeat(3, 1fr); gap: .8rem; } }
@media (max-width: 640px) { .poster-grid { grid-template-columns: repeat(3, 1fr); gap: .6rem; } .poster-card .pc-label { font-size: .6rem; letter-spacing: .04em; padding: 1rem .3rem .35rem; } }

/* Traffico admin (Vega 8/10/2026) */
.tr-kpi { grid-template-columns: repeat(4, 1fr); margin: .5rem 0 1rem; }
.tr-kpi li { font-size: 1.3rem; font-weight: 700; }
.tr-chart { display: flex; align-items: flex-end; gap: 4px; height: 140px; padding: .5rem .25rem 1.4rem; border-bottom: 1px solid var(--glass-border); margin-bottom: 1rem; position: relative; }
.tr-col { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; position: relative; min-width: 0; }
.tr-bar { background: linear-gradient(180deg, var(--gold), rgba(242,193,78,.35)); border-radius: 4px 4px 0 0; }
.tr-col span { position: absolute; bottom: -1.3rem; left: 0; right: 0; text-align: center; font-size: .62rem; color: var(--muted); overflow: hidden; }
.tr-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 1.5rem; }
.tr-tab h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 0 0 .5rem; }
.tr-row { position: relative; display: flex; align-items: center; gap: .5rem; padding: .3rem .4rem; font-size: .88rem; }
.tr-fill { position: absolute; left: 0; top: 0; bottom: 0; background: rgba(242,193,78,.12); border-radius: 6px; z-index: 0; }
.tr-lab, .tr-n { position: relative; z-index: 1; }
.tr-lab { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tr-n { color: var(--muted); font-variant-numeric: tabular-nums; }
@media (max-width: 700px) { .tr-kpi { grid-template-columns: repeat(2, 1fr); } .tr-grid { grid-template-columns: 1fr; } .tr-col span { display: none; } }
