/* ============================================================
   300em30 — festival vibes · light only · Sora + Manrope + Space Mono
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Mono:ital,wght@0,400;0,700;1,400&family=Sora:wght@400;600;700;800&family=Manrope:wght@400;500;600;700&display=swap');

:root {
  /* ── Base */
  --bg:          #FAF8F5;
  --bg-surface:  #FFFFFF;
  --bg-raised:   #F4F0EB;
  --border:      #12131C;
  --border-strong: #12131C;

  /* ── Texto */
  --ink:        #0A0B10;
  --ink-soft:   #1C1E2A;
  --muted:      #3D4055;

  /* ── Paleta principal */
  --pink:       #EE5A36;
  --pink-bg:    rgba(238,90,54,.12);
  --gold:       #F5AB54;
  --gold-bg:    rgba(245,171,84,.18);
  --green:      #1A9562;
  --green-bg:   rgba(26,149,98,.12);
  --purple:     #CFA4CC;
  --purple-bg:  rgba(207,164,204,.15);
  --blue:       #9FC4E8;
  --blue-bg:    rgba(159,196,232,.15);

  /* aliases retrocompat */
  --violet:     #CFA4CC;
  --violet-bg:  rgba(207,164,204,.15);
  --lime:       #1A9562;
  --lime-bg:    rgba(26,149,98,.12);
  --rose:       #EE5A36;
  --rose-bg:    rgba(238,90,54,.12);

  --max-text:    660px;
  --max-content: 1080px;

  --mono:   'Space Mono', 'Courier New', monospace;
  --sora:   'Sora', system-ui, sans-serif;
  --manrope:'Manrope', system-ui, sans-serif;

  --radius-sm: 4px;
  --radius:    6px;
  --radius-lg: 10px;

  /* sombras offset estilo risograph / letterpress */
  --shadow-sm: 2px 2px 0 var(--border);
  --shadow:    4px 4px 0 var(--border);
  --shadow-lg: 6px 6px 0 var(--border);
  --shadow-glow-pink: 4px 4px 0 var(--pink);
  --shadow-glow-gold: 4px 4px 0 var(--gold);

  --transition: 120ms ease;
}


* { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--manrope);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--purple); text-decoration: none; }
a:hover { color: var(--pink); }

.muted  { color: var(--muted); }
.small  { font-size: 13px; }
.num    { font-variant-numeric: tabular-nums; }

/* ── Ruído de fundo ──────────────────────────────────────── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.038;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 300px 300px;
  background-repeat: repeat;
}

/* ── Faixa do topo ───────────────────────────────────────── */
body::before {
  content: '';
  display: block;
  height: 5px;
  background: repeating-linear-gradient(
    90deg,
    var(--pink)   0px,  var(--pink)   80px,
    var(--gold)   80px, var(--gold)   160px,
    var(--green)  160px,var(--green)  240px,
    var(--purple) 240px,var(--purple) 320px,
    var(--blue)   320px,var(--blue)   400px
  );
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
}

/* ── Navegação ───────────────────────────────────────────── */
.site-nav {
  background: var(--bg);
  border-bottom: 2px solid var(--border);
  position: sticky;
  top: 5px;
  z-index: 100;
}
.site-nav .nav-inner {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  height: 52px;
  gap: 0;
}
.nav-brand {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-right: 28px;
  text-decoration: none;
}
.nav-brand span { color: var(--pink); }

.nav-links {
  display: flex;
  gap: 2px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
  text-decoration: none;
}
.nav-links a:hover {
  background: var(--gold);
  color: var(--ink);
}
.nav-links a.active {
  background: var(--ink);
  color: var(--bg);
}

/* ── Container ──────────────────────────────────────────── */
.article {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 40px 24px 100px;
}

/* ── Article header ─────────────────────────────────────── */
.article-header {
  max-width: var(--max-text);
  margin: 0 auto 36px;
  padding-bottom: 28px;
  border-bottom: 2px solid var(--border);
  position: relative;
}

.soundwave-deco {
  display: block;
  width: 100%;
  max-width: var(--max-content);
  margin: -8px auto 32px;
  opacity: 0.55;
}

.kicker {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pink);
  margin: 0 0 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.kicker::before {
  content: '♪';
  font-size: 13px;
  color: var(--purple);
}

.headline {
  font-family: var(--sora);
  font-weight: 800;
  font-size: clamp(32px, 5.5vw, 58px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
  color: var(--ink);
}
.headline .accent { color: var(--pink); }

.dek {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 20px;
}

.byline {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  letter-spacing: 0.04em;
}
.byline strong { color: var(--ink); font-weight: 700; }
.byline .dot   { color: var(--border); }

/* ── Lede ───────────────────────────────────────────────── */
.lede {
  max-width: var(--max-text);
  margin: 0 auto 52px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-soft);
}
.lede p { margin: 0; }
.lede strong { color: var(--ink); font-weight: 700; }

/* ── Section titles ─────────────────────────────────────── */
.section-header {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}
.section-header .btn-saiba-mais { margin-left: auto; }

.btn-saiba-mais {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--gold);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 4px 10px;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}
.btn-saiba-mais:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow);
  text-decoration: none;
}
.section-title {
  font-family: var(--sora);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
}
.section-title .pill {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  background: var(--purple-bg);
  color: var(--purple);
  border: 1px solid var(--purple);
  padding: 2px 8px;
  border-radius: 99px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  vertical-align: middle;
}
.section-sub {
  font-family: var(--manrope);
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 20px;
}

.sub-title {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* ── KPI cards — ingresso ────────────────────────────────── */
.snapshot { margin: 0 auto 52px; }
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
@media (max-width: 700px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 400px) { .cards { grid-template-columns: 1fr 1fr; } }

.card {
  background: var(--bg-surface);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 16px 16px 20px;
  position: relative;
  overflow: visible;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  border-left: 3px dashed var(--card-color, var(--pink));
}
.card:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-lg);
}

.card::after {
  content: '';
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 28%;
  background: color-mix(in srgb, var(--card-color, var(--pink)) 12%, transparent);
  border-left: 2px dashed color-mix(in srgb, var(--card-color, var(--pink)) 50%, transparent);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.card::before {
  content: '';
  position: absolute;
  right: calc(28% - 8px);
  top: 50%;
  transform: translateY(-50%);
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--border);
  z-index: 1;
}

.card .kpi-label {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin: 0 0 8px;
  position: relative;
  z-index: 2;
}
.card .kpi-value {
  font-family: var(--mono);
  font-size: 38px;
  font-weight: 700;
  line-height: 1;
  color: var(--card-color, var(--pink));
  letter-spacing: -0.02em;
  position: relative;
  z-index: 2;
}
.card .kpi-value .unit {
  font-size: 14px;
  color: var(--muted);
  margin-left: 2px;
  font-weight: 400;
}
.card .kpi-sub {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
  margin: 6px 0 0;
  position: relative;
  z-index: 2;
  letter-spacing: 0.04em;
}

/* ── Dashboard layout ────────────────────────────────────── */
@media (min-width: 900px) {
  .dashboard-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
  }
  .dashboard-row.trio { grid-template-columns: 2fr 1fr; }
  .dashboard-row > section { margin-bottom: 0 !important; }
}

/* ── Panel ──────────────────────────────────────────────── */
.panel {
  background: var(--bg-surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}
.panel .section-title { margin-bottom: 4px; }
.panel .section-sub   { margin-bottom: 16px; }

/* ── Trend chart ─────────────────────────────────────────── */
.chart-wrap {
  position: relative;
  height: 280px;
  width: 100%;
  margin-top: 8px;
}
@media (max-width: 600px) { .chart-wrap { height: 220px; } }

/* ── Rankings ───────────────────────────────────────────── */
.rankings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 8px;
}
@media (max-width: 600px) { .rankings-grid { grid-template-columns: 1fr; } }

.ranklist {
  list-style: none;
  padding: 0; margin: 0;
  font-family: var(--manrope);
  font-size: 14px;
}
.ranklist li {
  display: grid;
  grid-template-columns: 28px 1fr 44px;
  align-items: center;
  gap: 8px;
  padding: 9px 6px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.ranklist li:hover { background: var(--bg-raised); }
.ranklist li + li  { border-top: 1px solid var(--border); }
.ranklist .rank {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}
.ranklist li:nth-child(1) .rank { color: var(--pink); font-size: 15px; }
.ranklist li:nth-child(2) .rank { color: var(--purple); font-size: 14px; }
.ranklist li:nth-child(3) .rank { color: var(--blue); }
.ranklist .name {
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ranklist .count {
  font-family: var(--mono);
  font-weight: 700;
  text-align: right;
  color: var(--ink-soft);
  font-size: 12px;
}
.ranklist .count .x {
  color: var(--muted);
  font-weight: 400;
  margin-left: 1px;
  font-size: 10px;
}

/* ── Companhias ─────────────────────────────────────────── */
.companions-split {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: start;
  margin-top: 8px;
}
@media (max-width: 700px) { .companions-split { grid-template-columns: 1fr; } }

/* ── Vinyl disc (CSS-only, conic-gradient via JS) ── */
.vinyl-disc-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.vinyl-disc {
  position: relative;
  width: 160px; height: 160px;
  border-radius: 50%;
  border: 3px solid var(--border);
  box-shadow: var(--shadow);
  /* background set by JS via conic-gradient */
  background: conic-gradient(var(--ink) 0% 50%, var(--pink) 50% 100%);
  flex-shrink: 0;
}

/* Groove rings */
.vinyl-groove {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.vinyl-groove.v1 { width: 130px; height: 130px; }
.vinyl-groove.v2 { width: 106px; height: 106px; }
.vinyl-groove.v3 { width: 84px;  height: 84px; }

/* Center label hole */
.vinyl-hole {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
}
.vinyl-hole-phrase {
  font-family: var(--mono);
  font-size: 7px;
  font-weight: 700;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
  line-height: 1.4;
}

.comp-stat-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.comp-stat-pill {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 6px 12px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 76px;
}
.comp-stat-pill .pill-pct {
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}
.comp-stat-pill .pill-label {
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ── Companion bar list ── */
.companions-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--mono);
}
.comp-bar-item {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 10px;
}
.comp-bar-rank {
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.05em;
}
.comp-bar-main { display: flex; flex-direction: column; gap: 4px; }
.comp-bar-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}
.comp-bar-track {
  height: 6px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
}
.comp-bar-fill {
  height: 100%;
  background: var(--pink);
  border-radius: 2px;
}
.comp-bar-count {
  font-size: 14px;
  font-weight: 700;
  color: var(--pink);
  white-space: nowrap;
}
.comp-bar-count .x { font-size: 9px; color: var(--muted); margin-left: 1px; }

/* ── Mapa ───────────────────────────────────────────────── */
.map-section { margin-bottom: 20px; }
.map {
  width: 100%;
  height: 440px;
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-raised);
  overflow: hidden;
  box-shadow: var(--shadow);
}
@media (max-width: 600px) { .map { height: 320px; } }

.leaflet-popup-content-wrapper {
  border-radius: var(--radius) !important;
  font-family: var(--manrope);
  background: var(--bg-surface) !important;
  color: var(--ink) !important;
  border: 2px solid var(--border) !important;
  box-shadow: var(--shadow-lg) !important;
}
.leaflet-popup-tip { background: var(--bg-surface) !important; }
.leaflet-popup-content {
  margin: 14px 16px;
  line-height: 1.45;
  font-size: 13px;
  color: var(--ink);
}
.leaflet-popup-content h4 {
  margin: 0 0 2px;
  font-family: var(--sora);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}
.leaflet-popup-content .pop-city {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  display: block;
}
.leaflet-popup-content .pop-list {
  list-style: none;
  margin: 0; padding: 0;
  max-height: 150px;
  overflow: auto;
}
.leaflet-popup-content .pop-list li {
  padding: 4px 0;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  color: var(--ink-soft);
}
.leaflet-popup-content .pop-list li:last-child { border-bottom: none; }

/* ── Flags ──────────────────────────────────────────────── */
.flags { margin-bottom: 20px; }
.flag-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 8px;
}
.flag-card {
  background: var(--bg-surface);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 16px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.flag-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-lg);
}
.flag-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  border-radius: var(--radius) 0 0 var(--radius);
}
.flag-card[data-flag="FAV"]::before          { background: var(--gold); }
.flag-card[data-flag="DESCOBERTA"]::before   { background: var(--purple); }
.flag-card[data-flag="FESTIVAL"]::before     { background: var(--pink); }
.flag-card[data-flag="INTERNACIONAL"]::before{ background: var(--green); }

.flag-card h3 {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--muted);
  padding-left: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.flag-card .big {
  font-family: var(--mono);
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  margin: 4px 0 2px;
  letter-spacing: -0.02em;
  color: var(--ink);
  padding-left: 10px;
}
.flag-card .muted.small { color: var(--muted); padding-left: 10px; font-family: var(--manrope); }

.flag-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  font-family: var(--manrope);
  font-size: 12px;
  max-height: 200px;
  overflow: auto;
  border-top: 1px solid var(--border);
}
.flag-list li { padding: 7px 0; border-bottom: 1px solid var(--border); line-height: 1.3; }
.flag-list li:last-child { border-bottom: none; }
.flag-list .when {
  display: block;
  font-family: var(--mono);
  font-size: 9px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 2px;
}
.flag-list .what { color: var(--ink); font-weight: 600; }

.extra-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin-top: 20px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-soft);
}
.extra-stats .stat {
  background: var(--bg-surface);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
  box-shadow: var(--shadow-sm);
}
.extra-stats .stat .v {
  display: block;
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 700;
  color: var(--purple);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 3px;
}

/* ── Festivais — ingressos ───────────────────────────────── */
.festivals { margin-bottom: 52px; }
.festivals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 14px;
  margin-top: 12px;
}

.fest-ticket {
  background: var(--bg-surface);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: 1fr 72px;
  overflow: visible;
  position: relative;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.fest-ticket:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-lg);
}

.fest-ticket::before {
  content: '';
  position: absolute;
  right: 72px;
  top: 0; bottom: 0;
  width: 1px;
  border-right: 2px dashed var(--border);
  pointer-events: none;
}
.fest-ticket::after {
  content: '';
  position: absolute;
  right: calc(72px - 8px);
  top: 50%;
  transform: translateY(-50%);
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--border);
  z-index: 2;
}

.fest-ticket-body { padding: 16px 18px 14px; min-width: 0; }

.fest-ticket-num {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 5px;
}
.fest-ticket-title {
  font-family: var(--sora);
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fest-ticket-year {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.fest-artist-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.fest-artist-list li {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--ink-soft);
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 2px 7px;
  letter-spacing: 0.04em;
}

.fest-ticket-stub {
  background: var(--pink);
  border-left: 2px dashed var(--border);
  border-radius: 0 var(--radius) var(--radius) 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 10px 8px;
}
.fest-stub-count {
  font-family: var(--mono);
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.fest-stub-label {
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.8);
  text-align: center;
  line-height: 1.2;
}
.fest-stub-icon { font-size: 16px; margin-bottom: 2px; }

/* ── Tabela + filtros ───────────────────────────────────── */
.polls { margin-bottom: 52px; }

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  align-items: center;
  margin: 0 0 14px;
  font-family: var(--mono);
  font-size: 12px;
  background: var(--bg-surface);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  box-shadow: var(--shadow-sm);
}
.filters input[type="search"] {
  flex: 1 1 200px;
  font-family: var(--mono);
  font-size: 13px;
  padding: 8px 12px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--ink);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.filters input[type="search"]:focus {
  border-color: var(--pink);
  box-shadow: 2px 2px 0 var(--pink);
}
.filters input[type="search"]::placeholder { color: var(--muted); }

.filters select {
  font-family: var(--mono);
  font-size: 12px;
  padding: 8px 10px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--ink);
  outline: none;
  cursor: pointer;
}
.filters select:focus { border-color: var(--pink); }

.filters label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  user-select: none;
  cursor: pointer;
  color: var(--ink-soft);
  transition: color var(--transition);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.filters label:hover { color: var(--ink); }
.filters input[type="checkbox"] {
  accent-color: var(--pink);
  width: 13px; height: 13px;
}
.filter-divider { width: 1px; height: 20px; background: var(--border); flex-shrink: 0; }

.filters button {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--ink);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-sm);
}
.filters button:hover {
  background: var(--pink);
  color: #fff;
  border-color: var(--pink);
  box-shadow: var(--shadow-glow-pink);
}

.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 2px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--bg-surface);
}
#showsTable {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--manrope);
  font-size: 14px;
}
#showsTable thead th {
  text-align: left;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  padding: 12px 14px;
  border-bottom: 2px solid var(--border);
  background: var(--bg-raised);
  white-space: nowrap;
}
#showsTable thead th.sortable { cursor: pointer; user-select: none; }
#showsTable thead th.sortable:hover { color: var(--ink); }
#showsTable thead th.sortable.asc::after  { content: ' ▲'; font-size: 8px; color: var(--pink); }
#showsTable thead th.sortable.desc::after { content: ' ▼'; font-size: 8px; color: var(--pink); }

#showsTable tbody td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  font-variant-numeric: tabular-nums;
  color: var(--ink-soft);
}
#showsTable tbody tr:last-child td { border-bottom: none; }
#showsTable tbody tr:hover td { background: var(--bg-raised); }
#showsTable .artista  { font-weight: 700; color: var(--ink); }
#showsTable .local    { color: var(--ink-soft); }
#showsTable .evento   { color: var(--muted); font-size: 13px; }
#showsTable .data-cell{
  white-space: nowrap;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
}

/* ── Paginação ──────────────────────────────────────────── */
.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  flex-wrap: wrap;
  letter-spacing: 0.04em;
}
.pagination-info { color: var(--muted); }
.pagination-controls { display: flex; gap: 4px; align-items: center; }

.page-btn {
  min-width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border);
  background: var(--bg-surface);
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  padding: 0 8px;
}
.page-btn:hover:not(:disabled) {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.page-btn.active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}
.page-btn:disabled { opacity: 0.35; cursor: default; }

.page-size-select {
  font-family: var(--mono);
  font-size: 11px;
  padding: 5px 8px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  color: var(--ink-soft);
  cursor: pointer;
}

/* ── Tags ───────────────────────────────────────────────── */
.tags { display: flex; flex-wrap: wrap; gap: 3px; }
.tag {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 2px;
  border: 1px solid currentColor;
  white-space: nowrap;
}
.tag.fav   { color: #9B6E00;  background: var(--gold-bg);   border-color: var(--gold);   }
.tag.desc  { color: var(--purple); background: var(--purple-bg); }
.tag.fest  { color: var(--pink);   background: var(--pink-bg);   }
.tag.intl  { color: var(--green);  background: var(--green-bg);  }
.tag.gratis{ color: var(--green);  background: var(--green-bg);  }
.tag.sesc  { color: #9B6E00;  background: var(--gold-bg);   border-color: var(--gold);  }
.tag.pock  { color: var(--muted);  background: var(--bg-raised); border-color: var(--muted); }
.tag.abert { color: var(--muted);  background: var(--bg-raised); border-color: var(--muted); }
.tag.inedit{ color: var(--blue);   background: var(--blue-bg);   }

/* ── Methodology ────────────────────────────────────────── */
.methodology {
  max-width: var(--max-text);
  margin: 0 auto 40px;
  color: var(--ink-soft);
}
.methodology p { margin: 14px 0; line-height: 1.75; }
.methodology strong { color: var(--ink); font-weight: 700; }

.article-footer {
  max-width: var(--max-text);
  margin: 0 auto;
  padding-top: 20px;
  border-top: 2px solid var(--border);
  font-family: var(--mono);
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.06em;
}

/* ── States ─────────────────────────────────────────────── */
.state-msg {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-surface);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  z-index: 1000;
  box-shadow: var(--shadow);
  border: 2px solid var(--border);
}
.state-msg.error { background: var(--pink); color: #fff; border-color: var(--pink); }
.state-msg[hidden] { display: none; }

/* ── Páginas internas ────────────────────────────────────── */
.page-content {
  max-width: var(--max-text);
  margin: 0 auto;
  padding: 48px 24px 100px;
}
.page-content h1 {
  font-family: var(--sora);
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 8px;
  color: var(--ink);
}
.page-content .page-sub {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 40px;
}
.page-content h2 {
  font-family: var(--sora);
  font-size: 18px;
  font-weight: 800;
  margin: 40px 0 12px;
  color: var(--ink);
  letter-spacing: -0.02em;
  border-bottom: 2px solid var(--border);
  padding-bottom: 6px;
}
.page-content p {
  margin: 0 0 16px;
  line-height: 1.75;
  color: var(--ink-soft);
}
.page-content strong { color: var(--ink); }
.page-content a { color: var(--purple); }
.page-content a:hover { color: var(--pink); }

/* profile card */
.profile-card {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  background: var(--bg-surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  margin-bottom: 32px;
}
@media (max-width: 600px) { .profile-card { flex-direction: column; } }

.profile-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono);
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}
.profile-info h2 { margin: 0 0 4px; font-size: 20px; border: none; padding: 0; }
.profile-info p  { margin: 0 0 12px; }
.profile-links { display: flex; flex-wrap: wrap; gap: 8px; }
.profile-links a {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.profile-links a:hover {
  background: var(--gold);
  color: var(--ink);
  box-shadow: var(--shadow);
  transform: translate(-1px, -1px);
}

/* timeline */
.timeline { position: relative; padding-left: 24px; margin: 0; list-style: none; }
.timeline::before {
  content: '';
  position: absolute;
  left: 6px; top: 6px; bottom: 0;
  width: 2px;
  background: var(--border);
}
.timeline-item { position: relative; margin-bottom: 24px; padding-left: 20px; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -24px; top: 4px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--border);
}
.timeline-item .year {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--pink);
  letter-spacing: 0.1em;
  margin-bottom: 3px;
  text-transform: uppercase;
}
.timeline-item p { margin: 0; font-size: 14px; }

/* dicionário */
.dict-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--manrope);
  font-size: 14px;
  margin-top: 12px;
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 2px solid var(--border);
}
.dict-table th {
  text-align: left;
  padding: 11px 16px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  background: var(--bg-raised);
  border-bottom: 2px solid var(--border);
}
.dict-table td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  color: var(--ink-soft);
  line-height: 1.5;
}
.dict-table tr:last-child td { border-bottom: none; }
.dict-table tr:hover td { background: var(--bg-raised); }
.dict-table .col-name {
  font-family: var(--mono);
  font-weight: 700;
  color: var(--ink);
  font-size: 13px;
  white-space: nowrap;
}
.dict-table .col-type { white-space: nowrap; }

.badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 2px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid currentColor;
}
.badge.text { color: var(--blue);   background: var(--blue-bg);   }
.badge.bool { color: var(--green);  background: var(--green-bg);  }
.badge.num  { color: var(--purple); background: var(--purple-bg); }
.badge.date { color: var(--pink);   background: var(--pink-bg);   }

/* ── Blog (inline styles migrados) ──────────────────────── */
.blog-hero {
  max-width: var(--max-text);
  margin: 0 auto 56px;
  padding-bottom: 28px;
  border-bottom: 2px solid var(--border);
}
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
  margin-bottom: 64px;
}
.post-card {
  background: var(--bg-surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow);
}
.post-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-lg);
}
.post-card-tape { height: 6px; }
.post-card-body { padding: 22px 22px 18px; flex: 1; display: flex; flex-direction: column; }
.post-card-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.post-tag {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 2px;
  border: 1px solid currentColor;
  background: var(--card-accent-bg, var(--pink-bg));
  color: var(--card-accent, var(--pink));
}
.post-date {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.06em;
}
.post-card h2 {
  font-family: var(--sora);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 10px;
}
.post-card p { font-family: var(--manrope); font-size: 13px; line-height: 1.65; color: var(--ink-soft); margin: 0; flex: 1; }
.post-card-footer {
  padding: 14px 22px;
  border-top: 2px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.post-read { font-family: var(--mono); font-size: 11px; font-weight: 700; color: var(--purple); letter-spacing: 0.06em; text-transform: uppercase; }
.post-read-time { font-family: var(--mono); font-size: 10px; color: var(--muted); letter-spacing: 0.04em; }

.blog-empty {
  max-width: var(--max-text);
  margin: 0 auto;
  text-align: center;
  padding: 64px 24px;
  color: var(--muted);
}
.blog-empty .empty-icon { font-size: 48px; margin-bottom: 16px; }
.blog-empty p { font-family: var(--mono); font-size: 13px; line-height: 1.7; letter-spacing: 0.04em; }
.blog-empty code {
  font-family: var(--mono);
  font-size: 12px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 2px 6px;
  color: var(--pink);
}

.post-full { display: none; }
.post-full.active { display: block; }
.blog-list.hidden { display: none; }

.post-full-header {
  max-width: var(--max-text);
  margin: 0 auto 36px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--border);
}
.post-full-header h1 {
  font-family: var(--sora);
  font-weight: 800;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
}
.post-full-header .post-date { font-family: var(--mono); font-size: 12px; display: block; margin-top: 8px; letter-spacing: 0.06em; }

.post-content {
  max-width: var(--max-text);
  margin: 0 auto;
  font-family: var(--manrope);
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-soft);
}
.post-content p { margin: 0 0 20px; }
.post-content strong { color: var(--ink); font-weight: 700; }
.post-content em { color: var(--pink); font-style: italic; }
.post-content blockquote {
  border-left: 4px solid var(--gold);
  margin: 28px 0;
  padding: 12px 20px;
  background: var(--gold-bg);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--ink);
}
.post-content h3 {
  font-family: var(--sora);
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
  margin: 36px 0 12px;
  letter-spacing: -0.02em;
}
.post-pull {
  font-family: var(--sora);
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 800;
  color: var(--pink);
  line-height: 1.2;
  margin: 36px 0;
  letter-spacing: -0.02em;
}
.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-bottom: 32px;
}
.btn-back:hover { color: var(--pink); }
.post-nav {
  max-width: var(--max-text);
  margin: 48px auto 0;
  padding-top: 24px;
  border-top: 2px solid var(--border);
  display: flex; gap: 16px; justify-content: space-between; flex-wrap: wrap;
}
.post-nav a { font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--purple); letter-spacing: 0.04em; }
.post-nav a:hover { color: var(--pink); }

/* ── Galeria ─────────────────────────────────────────────── */
.gallery-hero {
  max-width: var(--max-text);
  margin: 0 auto 48px;
  padding-bottom: 28px;
  border-bottom: 2px solid var(--border);
}
.gallery-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.gallery-filter-btn {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  color: var(--ink-soft);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.gallery-filter-btn:hover,
.gallery-filter-btn.active {
  background: var(--pink);
  border-color: var(--pink);
  color: #fff;
  box-shadow: var(--shadow-glow-pink);
}
.gallery-grid { columns: 3; column-gap: 12px; margin-bottom: 80px; }
@media (max-width: 900px) { .gallery-grid { columns: 2; } }
@media (max-width: 500px) { .gallery-grid { columns: 1; } }

.gallery-item {
  break-inside: avoid;
  margin-bottom: 12px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: var(--bg-surface);
  border: 2px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.gallery-item:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow);
}
.gallery-item img { width: 100%; display: block; transition: filter 300ms ease; }
.gallery-item:hover img { filter: brightness(.88); }

.gallery-item-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 32px 14px 14px;
  background: linear-gradient(to top, rgba(13,8,32,.88) 0%, transparent 100%);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-title { font-family: var(--sora); font-size: 13px; font-weight: 700; color: #fff; line-height: 1.3; margin-bottom: 3px; }
.gallery-item-meta  { font-family: var(--mono); font-size: 10px; color: rgba(255,255,255,.6); letter-spacing: 0.06em; }

.gallery-item-tag {
  position: absolute;
  top: 8px; left: 8px;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 2px;
  background: var(--gold);
  color: var(--ink);
  border: 1px solid var(--border);
}

.gallery-empty {
  text-align: center;
  padding: 64px 24px;
  color: var(--muted);
  font-family: var(--mono);
}
.gallery-empty .empty-icon { font-size: 48px; margin-bottom: 16px; }
.gallery-empty p { font-size: 12px; line-height: 1.7; letter-spacing: 0.04em; }
.gallery-empty code { font-family: var(--mono); font-size: 11px; background: var(--bg-raised); border: 1px solid var(--border); border-radius: 2px; padding: 2px 6px; color: var(--pink); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(13,8,32,.94);
  backdrop-filter: blur(8px);
  z-index: 500;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 200ms ease;
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox-inner {
  position: relative;
  max-width: min(90vw, 1100px);
  max-height: 92vh;
  display: flex; flex-direction: column; align-items: center;
}
.lightbox-img { max-width: 100%; max-height: 80vh; object-fit: contain; border-radius: var(--radius); border: 2px solid rgba(255,255,255,.2); }
.lightbox-caption { margin-top: 14px; text-align: center; font-family: var(--manrope); }
.lightbox-caption strong { font-size: 15px; font-weight: 700; color: #fff; display: block; margin-bottom: 3px; }
.lightbox-caption span { font-family: var(--mono); font-size: 11px; color: rgba(255,255,255,.45); letter-spacing: 0.06em; }
.lightbox-close {
  position: absolute; top: -44px; right: 0;
  background: none; border: 2px solid rgba(255,255,255,.3); border-radius: 2px;
  color: rgba(255,255,255,.7); font-size: 16px;
  width: 36px; height: 36px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono);
  transition: background var(--transition), color var(--transition);
}
.lightbox-close:hover { background: var(--pink); color: #fff; border-color: var(--pink); }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(13,8,32,.7);
  border: 2px solid rgba(255,255,255,.2);
  border-radius: 2px; color: #fff;
  font-family: var(--mono); font-size: 20px;
  width: 44px; height: 44px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.lightbox-nav:hover { background: var(--pink); border-color: var(--pink); }
.lightbox-nav.prev { left: -60px; }
.lightbox-nav.next { right: -60px; }
.lightbox-counter { position: absolute; top: -44px; left: 0; font-family: var(--mono); font-size: 11px; color: rgba(255,255,255,.4); letter-spacing: 0.08em; }
@media (max-width: 700px) { .lightbox-nav.prev { left: 4px; } .lightbox-nav.next { right: 4px; } }

/* ── Scrollbar ──────────────────────────────────────────── */
::-webkit-scrollbar        { width: 6px; height: 6px; }
::-webkit-scrollbar-track  { background: var(--bg-raised); }
::-webkit-scrollbar-thumb  { background: var(--border); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--ink-soft); }

/* ── Responsivo ─────────────────────────────────────────── */
@media (max-width: 600px) {
  body { font-size: 15px; }
  .article { padding: 24px 16px 72px; }
  .panel { padding: 18px 16px; }
  .section-title { font-size: 18px; }
  #showsTable thead th, #showsTable tbody td { padding: 10px 10px; font-size: 13px; }
  .filters { padding: 12px; gap: 6px 8px; }
  .site-nav .nav-inner { padding: 0 16px; }
  .festivals-grid { grid-template-columns: 1fr; }
  .posts-grid { grid-template-columns: 1fr; }
  @media (max-width: 500px) { .gallery-grid { columns: 1; } }
}
