/* =====================================================================
   RockPortal — estética "Afiche serigrafiado"
   Tres tonos de fondo: medio (predeterminado), claro y oscuro.
   El público puede cambiarlo con el botón de la barra superior.
   --brand (óxido) y --accent (mostaza) se pueden cambiar en Admin → Configuración.
   ===================================================================== */
:root, [data-theme="medio"] {
  --bg: #3b352f; --bg-2: #342f2a; --panel: #443d36; --panel-2: #4d453d;
  --line: #574e44; --line-2: #6a5f53;
  --text: #f3ecdd; --text-2: #e4dac7; --muted: #d6cbb4;
  --hot: #e07a50;          /* óxido para textos grandes */
  --accent-text: #e3b448;  /* mostaza para textos pequeños */
  --paper: #f3ecdd; --paper-ink: #1c1916; --paper-muted: #5a5046;
  --shadow: #241f1b; --input: #332e29; --head: #322d28;
  --noise: .05;
  color-scheme: dark;
}
[data-theme="claro"] {
  --bg: #efe6d4; --bg-2: #e6dbc5; --panel: #fffaf0; --panel-2: #f4ecdc;
  --line: #d3c6ad; --line-2: #bcae92;
  --text: #2a241f; --text-2: #3d352d; --muted: #5c5146;
  --hot: #9a4a22; --accent-text: #7a4f0c;
  --paper: #fffaf0; --paper-ink: #2a241f; --paper-muted: #5c5146;
  --shadow: #2a241f; --input: #fffaf0; --head: #e9dfcb;
  --noise: .07;
  color-scheme: light;
}
[data-theme="oscuro"] {
  --bg: #1c1916; --bg-2: #171512; --panel: #26221e; --panel-2: #2f2a25;
  --line: #3a332b; --line-2: #4a4138;
  --text: #efe6d2; --text-2: #d6cbb4; --muted: #b3a891;
  --hot: #d0643b; --accent-text: #e3b448;
  --paper: #efe6d2; --paper-ink: #1c1916; --paper-muted: #5a5046;
  --shadow: #0f0d0b; --input: #171512; --head: #191613;
  --noise: .045;
  color-scheme: dark;
}
:root {
  --brand: #d0643b; --accent: #e3b448; --on-brand: #1c1916;
  --ok: #3f9d5d; --warn: #c98a12; --err: #c0392b;
  --footer: #231f1b; --footer-text: #efe6d2; --footer-muted: #c2b79f;
  --radius: 3px; --radius-lg: 6px;
  --display: "Anton", "Oswald", Impact, sans-serif;
  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --type: "Special Elite", "Courier New", monospace;
  --mono: ui-monospace, "SFMono-Regular", Menlo, monospace;
  --wrap: 1240px;
  --gutter: clamp(16px, 3vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; transition: background-color .3s, color .3s; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: var(--noise);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
body > * { position: relative; z-index: 1; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--accent-text); }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; }
small, .small { font-size: .88rem; }
.muted { color: var(--muted); }
.center { text-align: center; }
.grow { flex: 1; min-width: 0; }
.sr, .hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--on-brand); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.i { flex-shrink: 0; vertical-align: -3px; }
[hidden] { display: none !important; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { width: 100%; max-width: 820px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap-wide { width: 100%; max-width: 1400px; margin: 0 auto; }
.display { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: .01em; line-height: .92; font-size: clamp(2.6rem, 6vw, 4.6rem); margin-bottom: .3em; }
.lede { font-size: 1.15rem; color: var(--text-2); max-width: 62ch; }
.kicker-type { font-family: var(--type); color: var(--accent-text); margin: 0 0 6px; font-size: 1rem; }

/* ---------- animaciones ---------- */
@keyframes rp-slidein { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: none; } }
@keyframes rp-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes rp-stamp { 0% { opacity: 0; transform: rotate(-12deg) scale(2); } 60% { opacity: 1; transform: rotate(-12deg) scale(.92); } 100% { opacity: 1; transform: rotate(-12deg) scale(1); } }
@keyframes rp-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes rp-dots { from { background-position: 0 0; } to { background-position: 24px 24px; } }
@keyframes rp-wobble { 0%, 100% { transform: rotate(-1.6deg); } 50% { transform: rotate(.4deg); } }
@keyframes rp-pop { 0% { opacity: 0; transform: scale(1.8); letter-spacing: .2em; } 70% { opacity: 1; transform: scale(.96); } 100% { opacity: 1; transform: none; } }
@keyframes rp-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(208, 100, 59, .6); } 70% { box-shadow: 0 0 0 10px rgba(208, 100, 59, 0); } }
.reveal { animation: rp-rise .7s cubic-bezier(.2, .7, .2, 1) both; }

/* ---------- botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--brand); color: var(--on-brand); border: 2px solid var(--brand); font: 800 .9rem/1 var(--sans); text-transform: uppercase; letter-spacing: .06em; padding: 13px 22px; border-radius: var(--radius); cursor: pointer; text-decoration: none; transition: transform .15s, box-shadow .15s, background .15s; white-space: nowrap; }
.btn:hover { color: var(--on-brand); transform: translate(-3px, -3px); box-shadow: 5px 5px 0 var(--shadow); }
.btn:active { transform: none; box-shadow: none; }
.btn-ghost { background: transparent; border-color: var(--text); color: var(--text); }
.btn-ghost:hover { color: var(--text); background: transparent; box-shadow: 5px 5px 0 var(--accent); }
.btn-sm { padding: 9px 14px; font-size: .78rem; }
.btn-xs { padding: 6px 9px; font-size: .7rem; }
.btn-block { width: 100%; }
.btn-wa { background: #2f8f57; border-color: #2f8f57; color: #fff; }
.btn-wa:hover { color: #fff; }
.btn-danger { background: transparent; border-color: var(--err); color: var(--err); }
[data-theme="medio"] .btn-danger, [data-theme="oscuro"] .btn-danger { color: #f0a59b; border-color: #f0a59b; }

/* ---------- barra superior / cabecera ---------- */
.topbar { background: var(--footer); color: var(--footer-muted); font-size: .8rem; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 12px; }
.topbar-date { font-family: var(--type); }
.topbar-links { display: flex; gap: 16px; align-items: center; }
.topbar-links a { text-decoration: none; display: inline-flex; gap: 5px; align-items: center; color: var(--footer-text); }
.topbar-links a:hover { color: var(--accent); }
.theme-switch { display: inline-flex; border: 1px solid #5a5046; border-radius: 99px; overflow: hidden; }
.theme-switch button { background: none; border: 0; color: var(--footer-muted); cursor: pointer; padding: 4px 9px; font: 600 .72rem var(--sans); display: inline-flex; align-items: center; gap: 4px; }
.theme-switch button[aria-pressed="true"] { background: var(--accent); color: var(--on-brand); }
.theme-switch .sw { width: 10px; height: 10px; border-radius: 50%; border: 1px solid #0006; display: inline-block; }

.masthead { background: var(--head); border-bottom: 2px solid var(--line); position: sticky; top: 0; z-index: 50; transition: background-color .3s; }
.masthead-in { display: flex; align-items: center; gap: 20px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.brand img { height: var(--logo-h, 70px); max-height: none; width: auto; max-width: min(100%, 560px); object-fit: contain; object-position: left center; }
.masthead .brand { flex-shrink: 1; }
.footer .brand img { height: min(var(--logo-h, 70px), 80px); }
.brand-mark { color: var(--brand); display: grid; place-items: center; }
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-name { font: 400 2.1rem/.95 var(--display); text-transform: uppercase; letter-spacing: .02em; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-tag { font: 400 .78rem/1.3 var(--type); color: var(--accent-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.masthead-search { flex: 1; max-width: 440px; margin-left: auto; display: flex; background: var(--input); border: 2px solid var(--line); border-radius: var(--radius); }
.masthead-search input { flex: 1; min-width: 0; background: none; border: 0; color: var(--text); padding: 9px 12px; font: inherit; font-size: .92rem; }
.masthead-search input::placeholder { color: var(--muted); }
.masthead-search input:focus { outline: none; box-shadow: none; }
.masthead-search:focus-within { border-color: var(--accent); }
.masthead-search button { background: none; border: 0; color: var(--muted); padding: 0 12px; cursor: pointer; }
.masthead-user { display: flex; align-items: center; gap: 10px; }
.user-chip { display: flex; align-items: center; gap: 9px; text-decoration: none; padding: 4px 10px 4px 4px; border-radius: 99px; border: 2px solid var(--line); }
.user-chip:hover { border-color: var(--accent); color: var(--text); }
.user-chip span { display: flex; flex-direction: column; font-size: .84rem; font-weight: 700; line-height: 1.15; max-width: 140px; }
.user-chip small { font: 400 .74rem var(--type); color: var(--accent-text); }
.nav-toggle { display: none; background: none; border: 0; color: var(--text); cursor: pointer; padding: 6px; margin-left: auto; }

.mainnav { border-top: 1px solid var(--line); background: var(--bg-2); }
.mainnav-in { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.mainnav-in::-webkit-scrollbar { display: none; }
.mainnav a { display: inline-flex; align-items: center; gap: 7px; padding: 12px 14px; text-decoration: none; font: 400 1.05rem/1 var(--display); text-transform: uppercase; letter-spacing: .06em; color: var(--text-2); border-bottom: 3px solid transparent; white-space: nowrap; transition: background .2s, color .2s; }
.mainnav a .i { opacity: .6; }
.mainnav a:hover { color: var(--on-brand); background: var(--accent); }
.mainnav a:hover .i { opacity: 1; }
.mainnav a.active { color: var(--text); border-bottom-color: var(--brand); }
.mainnav a.active .i { color: var(--hot); opacity: 1; }
.mainnav a.nav-live .live-dot { margin-left: 2px; }
.mainnav-mobile-extra { display: none; }
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); animation: rp-pulse 1.8s infinite; }

.avatar { border-radius: 50%; object-fit: cover; object-position: center; aspect-ratio: 1 / 1; flex-shrink: 0; background: var(--panel-2); }
img.avatar { height: auto; max-width: none; } /* el alto lo fija el estilo en línea; siempre círculo */
.avatar-fallback { display: inline-grid; place-items: center; font-family: var(--display); color: #f3ecdd; background: hsl(var(--h) 35% 32%); }

/* ---------- mensajes ---------- */
.flash { margin: 16px 0; padding: 13px 44px 13px 16px; border-radius: var(--radius); border: 2px solid; background: var(--panel); color: var(--text); position: relative; font-size: .95rem; }
.flash a { color: var(--text); font-weight: 700; }
.flash-success { border-color: var(--ok); }
.flash-error { border-color: var(--err); }
.flash-info { border-color: var(--accent); }
.flash-x { position: absolute; right: 8px; top: 10px; background: none; border: 0; color: var(--muted); cursor: pointer; }

/* ---------- títulos ---------- */
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin: 48px 0 20px; flex-wrap: wrap; }
.section-head .section-title { margin: 0; }
.section-title { font: 400 clamp(1.8rem, 3.4vw, 2.7rem)/1 var(--display); text-transform: uppercase; letter-spacing: .01em; margin: 44px 0 20px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; color: var(--text-2); }
.section-title span { color: var(--text); position: relative; padding-left: 20px; }
.section-title span::before { content: ""; position: absolute; left: 0; top: .06em; bottom: .06em; width: 9px; background: var(--brand); transform: skewX(-12deg); }
.section-title small { font: 400 .9rem var(--type); color: var(--muted); }
.more { font: 400 1rem var(--type); color: var(--accent-text); text-decoration: none; }
.more:hover { color: var(--text); }
.kicker { display: inline-block; align-self: flex-start; width: max-content; max-width: 100%; font: 800 .66rem/1 var(--sans); text-transform: uppercase; letter-spacing: .1em; background: var(--k, var(--accent)); color: var(--on-brand); padding: 5px 8px; text-decoration: none; border-radius: 2px; }
.kicker:hover { color: var(--on-brand); filter: brightness(1.08); }
.kicker-solid { font-size: .72rem; padding: 7px 10px; }

/* ---------- cinta animada ---------- */
.marquee-strip { background: var(--accent); color: var(--on-brand); overflow: hidden; white-space: nowrap; border-top: 3px solid var(--on-brand); border-bottom: 3px solid var(--on-brand); transform: rotate(-.8deg) scaleX(1.03); margin: 8px 0; }
.marquee-track { display: inline-flex; gap: 38px; padding: 10px 0; font: 400 1.35rem var(--display); text-transform: uppercase; letter-spacing: .04em; animation: rp-marquee 34s linear infinite; }
.marquee-track a { text-decoration: none; color: inherit; }
.marquee-track a:hover { color: var(--on-brand); text-decoration: underline; }

/* ---------- portada ---------- */
.hero { padding: 30px 0 10px; }
.hero-grid { display: grid; grid-template-columns: 1.65fr 1fr; gap: 22px; }
.hero-lead { position: relative; min-height: 480px; overflow: hidden; background: var(--panel); display: flex; align-items: flex-end; box-shadow: 10px 10px 0 var(--shadow); animation: rp-rise .7s both; }
.hero-lead-media { position: absolute; inset: 0; }
.hero-lead-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.hero-lead:hover .hero-lead-media img { transform: scale(1.04); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 17, 14, .1) 20%, rgba(20, 17, 14, .7) 55%, rgba(20, 17, 14, .95)); }
.hero-lead-body { position: relative; padding: clamp(18px, 3vw, 34px); pointer-events: none; color: #f3ecdd; }
.hero-lead-body a, .hero-lead-body .kicker { pointer-events: auto; }
.hero-lead h1 { font: 400 clamp(2.1rem, 4.4vw, 3.6rem)/.95 var(--display); text-transform: uppercase; margin: 14px 0 10px; text-wrap: balance; }
.hero-lead h1 a { text-decoration: none; color: #f3ecdd; }
.hero-lead h1 a:hover { color: #f4cf7c; }
.hero-lead p { color: #e2d8c4; max-width: 60ch; margin-bottom: 8px; }
.hero-meta { font: 400 .85rem var(--type); color: #d6cbb4; }
.hero-side { display: grid; grid-template-rows: repeat(4, 1fr); gap: 14px; }
.hero-mini { display: grid; grid-template-columns: 120px 1fr; gap: 14px; text-decoration: none; background: var(--paper); color: var(--paper-ink); overflow: hidden; box-shadow: 5px 5px 0 var(--shadow); transition: transform .3s, box-shadow .3s; animation: rp-slidein .6s both; }
.hero-mini:nth-child(2) { animation-delay: .08s; } .hero-mini:nth-child(3) { animation-delay: .16s; } .hero-mini:nth-child(4) { animation-delay: .24s; }
.hero-mini:hover { transform: translate(-3px, -3px); box-shadow: 8px 8px 0 var(--brand); color: var(--paper-ink); }
.hero-mini-img { background: var(--panel-2); }
.hero-mini-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-mini-body { padding: 12px 12px 12px 0; display: flex; flex-direction: column; gap: 5px; justify-content: center; min-width: 0; }
.hero-mini strong { font-size: .98rem; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hero-mini small { font: 400 .78rem var(--type); color: var(--paper-muted); }
.hero-empty { padding: 70px 0; text-align: center; }
.hero-empty .lede { margin: 0 auto 24px; }

/* ---------- noticias (afiches) ---------- */
.layout-2col { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
.main-col { min-width: 0; }
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 30px 26px; }
.news-grid-4 { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 22px; }
.news-grid-ad { grid-column: 1 / -1; }
.card { background: var(--paper); color: var(--paper-ink); display: flex; flex-direction: column; padding: 12px 12px 16px; box-shadow: 6px 7px 0 var(--shadow); transform: rotate(-.8deg); transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s; }
.card:nth-child(3n+2) { transform: rotate(.7deg); }
.card:nth-child(3n) { transform: rotate(-.3deg); }
.card:hover { transform: rotate(0) translateY(-6px); box-shadow: 10px 12px 0 var(--brand); }
.card-media { display: block; aspect-ratio: 16/10; background: #d9cdb4; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; filter: contrast(1.05); transition: transform .6s; }
.card:hover .card-media img { transform: scale(1.05); }
.card-media-ph { width: 100%; height: 100%; display: grid; place-items: center; color: #1c191666; background-color: #e3b448; background-image: radial-gradient(#1c191633 2px, transparent 2.5px); background-size: 12px 12px; }
.card-body { padding: 12px 4px 0; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-meta { display: flex; gap: 10px; align-items: center; font: 400 .8rem var(--type); color: var(--paper-muted); flex-wrap: wrap; }
.card-title { font: 400 1.35rem/1.08 var(--display); text-transform: uppercase; margin: 0; letter-spacing: .01em; }
.card-title a { text-decoration: none; color: var(--paper-ink); }
.card-title a:hover { color: #9a4a22; }
.card-text { color: var(--paper-muted); font-size: .92rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-source { font: 400 .78rem var(--type); color: var(--paper-muted); margin-top: auto; }
.news-card--lg .card-title { font-size: 1.85rem; }
.news-card--sm .card-title { font-size: 1.1rem; }
@media (min-width: 900px) {
  .news-grid:not(.news-grid-4) { grid-template-columns: repeat(3, 1fr); }
  .news-grid:not(.news-grid-4) > .news-card--lg:first-child { grid-column: span 2; }
  .news-grid:not(.news-grid-4) > .news-card--lg:first-child .card-media { aspect-ratio: 16/8.5; }
}

/* ---------- conciertos ---------- */
.strip { padding: 10px 0 30px; }
.strip-dark { background: var(--bg-2); border-top: 2px dashed var(--line); border-bottom: 2px dashed var(--line); margin: 44px 0; padding-bottom: 44px; }
.strip-cta { margin-top: 22px; color: var(--text-2); }
.events-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr); gap: 22px; overflow-x: auto; padding: 8px 10px 18px 4px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.poster-tile { scroll-snap-align: start; text-decoration: none; display: flex; flex-direction: column; gap: 6px; position: relative; background: var(--paper); color: var(--paper-ink); padding: 10px 10px 14px; box-shadow: 5px 6px 0 var(--shadow); transform: rotate(-1.2deg); transition: transform .35s, box-shadow .35s; }
.poster-tile:nth-child(even) { transform: rotate(1.1deg); }
.poster-tile:hover { transform: rotate(0) translateY(-6px); box-shadow: 8px 10px 0 var(--brand); color: var(--paper-ink); }
.poster-img { aspect-ratio: 3/4; background-color: var(--brand); background-image: radial-gradient(#1c191655 2px, transparent 2.5px); background-size: 12px 12px; overflow: hidden; display: grid; place-items: center; color: #1c1916aa; }
.poster-img img { width: 100%; height: 100%; object-fit: cover; }
.poster-date { position: absolute; top: 18px; left: 18px; background: var(--accent); color: var(--on-brand); font: 800 .7rem/1 var(--sans); text-transform: uppercase; padding: 6px 8px; display: flex; flex-direction: column; align-items: center; gap: 2px; box-shadow: 3px 3px 0 #1c1916; }
.poster-date b { font: 400 1.7rem/1 var(--display); }
.poster-title { font: 400 1.2rem/1.05 var(--display); text-transform: uppercase; }
.poster-where { font: 400 .8rem var(--type); color: var(--paper-muted); }

.event-list { display: grid; gap: 4px; }
.event-card { display: grid; grid-template-columns: 74px 92px 1fr; gap: 16px; align-items: center; padding: 14px 6px; border-bottom: 2px dashed var(--line); transition: background .25s; }
.event-card:hover { background: var(--panel); }
.event-card.is-featured { background: color-mix(in srgb, var(--accent) 12%, transparent); }
.event-card--compact { grid-template-columns: 56px 1fr; padding: 10px 2px; gap: 12px; }
.event-date { display: flex; flex-direction: column; align-items: center; justify-content: center; text-decoration: none; background: var(--paper); color: var(--paper-ink); aspect-ratio: 1; box-shadow: 3px 3px 0 var(--shadow); }
.event-date:hover { color: var(--paper-ink); }
.ed-day { font: 400 2.1rem/1 var(--display); }
.ed-month { font: 800 .68rem var(--sans); text-transform: uppercase; color: #9a4a22; letter-spacing: .1em; }
.event-card--compact .ed-day { font-size: 1.6rem; }
.event-poster { aspect-ratio: 1; background: var(--panel-2); overflow: hidden; display: grid; place-items: center; color: var(--muted); }
.event-poster img { width: 100%; height: 100%; object-fit: cover; }
.event-info { min-width: 0; }
.event-info h3 { font: 400 1.3rem/1.1 var(--display); text-transform: uppercase; margin: 0 0 4px; letter-spacing: .01em; }
.event-card--compact h3 { font-size: 1.05rem; }
.event-info h3 a { text-decoration: none; }
.event-where, .event-when { margin: 0; font-size: .86rem; color: var(--muted); display: flex; gap: 6px; align-items: center; }
.month-title { font: 400 1.9rem var(--display); text-transform: uppercase; color: var(--hot); margin: 36px 0 8px; letter-spacing: .02em; }

.event-hero { position: relative; overflow: hidden; border-bottom: 2px solid var(--line); background: var(--bg-2); }
.event-hero-bg { position: absolute; inset: -40px; background-size: cover; background-position: center; filter: blur(40px) saturate(1.1); opacity: .35; transform: scale(1.1); }
.event-hero-grid { position: relative; display: grid; grid-template-columns: 340px 1fr; gap: 44px; padding-top: 44px; padding-bottom: 44px; align-items: center; }
.event-hero-poster { background: var(--paper); padding: 12px; box-shadow: 10px 12px 0 var(--shadow); transform: rotate(-2deg); transition: transform .4s; }
.event-hero-poster:hover { transform: rotate(0); }
.poster-ph { aspect-ratio: 3/4; background: var(--accent); display: grid; place-items: center; color: #1c1916aa; }
.facts { list-style: none; padding: 0; margin: 16px 0 22px; display: grid; gap: 10px; }
.facts li { display: flex; gap: 10px; align-items: flex-start; color: var(--text-2); }
.facts li .i { margin-top: 3px; color: var(--accent-text); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- lateral ---------- */
.sidebar { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 140px; }
.side-block { background: var(--panel); border: 2px solid var(--line); padding: 18px; }
.side-title { font: 400 1.35rem var(--display); text-transform: uppercase; letter-spacing: .03em; display: flex; gap: 8px; align-items: center; margin-bottom: 10px; }
.side-title .i { color: var(--hot); }
.side-block .more { display: inline-block; margin-top: 12px; }
.ranked { margin: 0; padding: 0; list-style: none; counter-reset: r; }
.ranked li { counter-increment: r; display: grid; grid-template-columns: 32px 1fr; gap: 8px; padding: 10px 0; border-bottom: 2px dashed var(--line); font-size: .94rem; line-height: 1.35; }
.ranked li:last-child { border-bottom: 0; }
.ranked li::before { content: counter(r); font: 400 1.9rem/1 var(--display); color: var(--hot); }
.ranked a { text-decoration: none; }
.side-cta { background: var(--brand); color: var(--on-brand); border-color: var(--brand); box-shadow: 7px 7px 0 var(--shadow); }
.side-cta h3 { display: flex; gap: 8px; align-items: center; font: 400 1.5rem var(--display); text-transform: uppercase; }
.side-cta p { font-size: .92rem; font-weight: 500; }
.side-cta .btn { background: var(--on-brand); border-color: var(--on-brand); color: #f3ecdd; }
.side-cta .btn:hover { color: #f3ecdd; box-shadow: 5px 5px 0 var(--accent); }

/* ---------- bandas, bares, clasificados ---------- */
.band-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 22px; }
.band-grid-lg { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 26px; }
.band-grid-sm { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 14px; }
.band-card { text-decoration: none; display: flex; flex-direction: column; gap: 4px; }
.band-img { aspect-ratio: 1; overflow: hidden; background: var(--paper); padding: 6px; box-shadow: 5px 5px 0 var(--shadow); display: grid; place-items: center; margin-bottom: 8px; transition: transform .35s, box-shadow .35s; }
.band-card:nth-child(odd) .band-img { transform: rotate(-1.5deg); }
.band-card:nth-child(even) .band-img { transform: rotate(1.2deg); }
.band-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.4) contrast(1.1); transition: filter .3s; }
.band-card:hover .band-img { transform: rotate(0) translateY(-5px); box-shadow: 8px 8px 0 var(--brand); }
.band-card:hover .band-img img { filter: none; }
.band-initial { font: 400 3.8rem var(--display); color: var(--paper-muted); }
.band-name { font: 400 1.2rem/1.05 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.band-card:hover .band-name { color: var(--accent-text); }
.band-meta { font: 400 .8rem var(--type); color: var(--muted); }
.verified { color: #3a8fc7; display: inline-flex; vertical-align: middle; }

.bar-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.bar-list { display: grid; gap: 12px; }
.bar-card { display: grid; grid-template-columns: 110px 1fr; gap: 14px; text-decoration: none; background: var(--panel); border: 2px solid var(--line); overflow: hidden; transition: border-color .25s, transform .25s, box-shadow .25s; }
.bar-grid .bar-card { grid-template-columns: 1fr; }
.bar-card:hover { border-color: var(--accent); transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--shadow); color: var(--text); }
.bar-img { background: var(--panel-2); display: grid; place-items: center; color: var(--muted); min-height: 90px; }
.bar-grid .bar-img { aspect-ratio: 16/9; }
.bar-img img { width: 100%; height: 100%; object-fit: cover; }
.bar-body { padding: 12px 12px 12px 0; display: flex; flex-direction: column; gap: 4px; justify-content: center; }
.bar-grid .bar-body { padding: 4px 16px 16px; }
.bar-name { font: 400 1.3rem/1.05 var(--display); text-transform: uppercase; }
.bar-meta { font-size: .84rem; color: var(--muted); display: flex; gap: 5px; align-items: center; }

.cl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 20px; }
.cl-grid-2 { grid-template-columns: repeat(2, 1fr); }
.cl-card { text-decoration: none; background: var(--paper); color: var(--paper-ink); padding: 8px 8px 12px; box-shadow: 5px 5px 0 var(--shadow); display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.cl-card:hover { transform: translate(-3px, -3px); box-shadow: 8px 8px 0 var(--accent); color: var(--paper-ink); }
.cl-img { aspect-ratio: 4/3; background: #e3d6bd; display: grid; place-items: center; color: #1c191688; position: relative; }
.cl-img img { width: 100%; height: 100%; object-fit: cover; }
.cl-sold { position: absolute; left: 50%; top: 50%; translate: -50% -50%; border: 3px solid #b23a1d; color: #b23a1d; background: #f3ecddee; font: 400 1.3rem var(--display); text-transform: uppercase; transform: rotate(-12deg); padding: 2px 12px; animation: rp-stamp .5s both; }
.is-sold .cl-img img { filter: grayscale(1) brightness(.85); }
.cl-body { padding: 10px 4px 0; display: flex; flex-direction: column; gap: 3px; }
.cl-price { font: 400 1.4rem var(--display); color: #9a4a22; }
.cl-title { font-weight: 700; font-size: .95rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cl-meta { font: 400 .78rem var(--type); color: var(--paper-muted); }
.two-up { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }

/* ---------- videos ---------- */
.embed { position: relative; aspect-ratio: 16/9; background: #000; overflow: hidden; display: block; margin: 1em 0; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-feature { display: grid; grid-template-columns: 1.7fr 1fr; gap: 22px; }
.embed-main { margin: 0; box-shadow: 8px 8px 0 var(--shadow); }
.video-list { display: grid; gap: 12px; align-content: start; }
.video-item { display: grid; grid-template-columns: 140px 1fr; gap: 12px; text-decoration: none; font-size: .92rem; font-weight: 700; align-items: center; }
.video-item img { aspect-ratio: 16/9; object-fit: cover; box-shadow: 3px 3px 0 var(--shadow); }
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.video-grid .embed { margin: 0; box-shadow: 6px 6px 0 var(--shadow); }
.video-card { margin: 0; }
.video-card figcaption { padding: 10px 2px; font-size: .92rem; }
.yt-lite { position: absolute; inset: 0; width: 100%; border: 0; background-size: cover; background-position: center; cursor: pointer; color: #fff; display: grid; place-items: center; }
.yt-lite .i { filter: drop-shadow(0 4px 12px rgba(0, 0, 0, .6)); transition: transform .2s, color .2s; }
.yt-lite:hover .i { transform: scale(1.12); color: var(--accent); }

/* ---------- promos ---------- */
.promo-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin: 48px auto 64px; }
.promo { text-decoration: none; padding: 28px; display: flex; flex-direction: column; gap: 8px; color: var(--on-brand); box-shadow: 8px 8px 0 var(--shadow); transition: transform .2s, box-shadow .2s; }
.promo:hover { transform: translate(-4px, -4px); box-shadow: 12px 12px 0 var(--shadow); color: var(--on-brand); }
.promo strong { font: 400 1.7rem/1 var(--display); text-transform: uppercase; }
.promo span { font-size: .94rem; font-weight: 500; }
.promo-rewards { background: var(--accent); }
.promo-ads { background: var(--brand); }
.promo-submit { background: var(--paper); color: var(--paper-ink); }
.promo-submit:hover { color: var(--paper-ink); }
.promo-bar { background: var(--panel); color: var(--text); border: 2px solid var(--line); }
.promo-bar:hover { color: var(--text); }

/* ---------- encabezados de página y filtros ---------- */
.page-head { padding: 38px 0 24px; border-bottom: 2px dashed var(--line); margin-bottom: 30px; }
.crumbs { font: 400 .88rem var(--type); color: var(--muted); margin-bottom: 8px; }
.crumbs a { text-decoration: none; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.chip { padding: 7px 13px; border: 2px solid var(--line-2); font: 700 .82rem var(--sans); text-transform: uppercase; letter-spacing: .04em; text-decoration: none; color: var(--text-2); transition: background .2s, color .2s, border-color .2s; }
.chip:hover { border-color: var(--k, var(--accent)); background: var(--k, var(--accent)); color: var(--on-brand); }
.chip.active { background: var(--k, var(--accent)); border-color: var(--k, var(--accent)); color: var(--on-brand); }
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; align-items: center; }
.filters input, .filters select { flex: 1 1 180px; min-width: 0; max-width: 340px; }
.az { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 14px; }
.az a { min-width: 32px; text-align: center; padding: 5px 7px; font: 400 1rem var(--display); text-decoration: none; color: var(--muted); }
.az a:hover { color: var(--on-brand); background: var(--accent); }
.az a.active { background: var(--brand); color: var(--on-brand); }

/* ---------- formularios ---------- */
input, select, textarea { font: inherit; font-size: .95rem; color: var(--text); background: var(--input); border: 2px solid var(--line-2); border-radius: var(--radius); padding: 10px 12px; width: 100%; }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: .8; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 4px 4px 0 var(--accent); }
input[type=checkbox], input[type=radio] { width: auto; accent-color: var(--brand); box-shadow: none; }
input[type=color] { padding: 3px; height: 42px; width: 80px; }
input[type=file] { padding: 8px; font-size: .85rem; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23b3a891' stroke-width='2' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 34px; }
.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: .9rem; font-weight: 700; color: var(--text-2); }
.form label small { font-weight: 400; color: var(--muted); }
.form label.check, label.check { display: flex; gap: 9px; align-items: center; font-weight: 500; cursor: pointer; }
.form fieldset { border: 2px dashed var(--line); padding: 16px; margin: 0; display: grid; gap: 14px; }
.form legend { font: 400 1.15rem var(--display); text-transform: uppercase; padding: 0 8px; letter-spacing: .04em; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.row-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.form-page { padding: 36px 0 64px; }
.file-drop { position: relative; border: 2px dashed var(--line-2); aspect-ratio: 4/3; display: grid !important; place-items: center; overflow: hidden; cursor: pointer; text-align: center; }
.file-drop img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .7; }
.file-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file-drop span { position: relative; background: var(--accent); color: var(--on-brand); padding: 4px 8px; font-size: .8rem; font-weight: 700; }
.copy-field { display: flex; gap: 8px; }
.copy-field input { font-family: var(--type); font-size: .9rem; }
.callout { background: var(--panel); border: 2px dashed var(--accent); padding: 14px 16px; margin: 24px 0; }

/* ---------- artículo ---------- */
.article-head { padding-top: 36px; }
.article-head h1 { font: 400 clamp(2.3rem, 5.6vw, 4.2rem)/.95 var(--display); text-transform: uppercase; text-wrap: balance; margin: 6px 0 14px; }
.byline { display: flex; gap: 16px; flex-wrap: wrap; font: 400 .88rem var(--type); color: var(--muted); padding: 12px 0; border-top: 2px dashed var(--line); border-bottom: 2px dashed var(--line); margin-bottom: 26px; }
.byline a { text-decoration: none; color: var(--text); }
.byline span, .byline a { display: inline-flex; gap: 5px; align-items: center; }
.article-figure { margin: 0 auto 34px; padding: 0 var(--gutter); }
.article-figure img { width: 100%; max-height: 640px; object-fit: cover; box-shadow: 10px 10px 0 var(--shadow); }
.prose { font-size: 1.08rem; line-height: 1.75; color: var(--text-2); max-width: 72ch; overflow-wrap: anywhere; }
.prose > * { max-width: 100%; }
.prose h2, .prose h3 { color: var(--text); margin-top: 1.6em; }
.prose h2 { font: 400 1.9rem var(--display); text-transform: uppercase; }
.prose a { color: var(--text); text-decoration-thickness: 2px; }
.prose img { margin: 1.2em 0; box-shadow: 6px 6px 0 var(--shadow); }
.prose blockquote { margin: 1.5em 0; padding: 16px 20px; background: var(--paper); color: var(--paper-ink); font-family: var(--type); font-size: 1.15rem; box-shadow: 6px 6px 0 var(--brand); transform: rotate(-.5deg); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose .ad-slot { margin: 2em 0; }
.source-note { font-size: .88rem; color: var(--muted); }
.source-box { display: flex; gap: 10px; align-items: center; background: var(--panel); border: 2px dashed var(--line-2); padding: 14px; font-size: .92rem; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 24px 0; }
.tags a { font: 400 .92rem var(--type); color: var(--accent-text); text-decoration: none; }
.share { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 30px 0; padding: 16px 0; border-top: 2px dashed var(--line); border-bottom: 2px dashed var(--line); }
.share-label { font: 400 1.15rem var(--display); text-transform: uppercase; display: flex; gap: 6px; align-items: center; margin-right: 6px; }
.share-label em { font-style: normal; color: var(--accent-text); }
.sh, .share-quick a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border: 2px solid var(--line-2); background: var(--panel); font-size: .82rem; font-weight: 700; text-decoration: none; color: var(--text); cursor: pointer; font-family: inherit; transition: background .2s, color .2s, border-color .2s; }
.sh:hover, .share-quick a:hover { border-color: var(--accent); background: var(--accent); color: var(--on-brand); }
.share-hint { font: 400 .9rem var(--type); color: var(--accent-text); flex-basis: 100%; }
.share-quick { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.prev-next { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 20px 0; }
.prev-next a { text-decoration: none; padding: 14px; border: 2px solid var(--line); font-weight: 700; font-size: .94rem; display: flex; flex-direction: column; gap: 4px; }
.prev-next a:hover { border-color: var(--accent); }
.prev-next small { font: 400 .82rem var(--type); color: var(--muted); }
.prev-next .right { text-align: right; }
.comments { margin-top: 40px; }
.comment { display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 14px 0; border-bottom: 2px dashed var(--line); }
.comment p { margin: 4px 0 0; color: var(--text-2); }
.comment-head { font-size: .92rem; font-weight: 700; }
.comment-head a { text-decoration: none; }
.comment-head time { font: 400 .8rem var(--type); color: var(--muted); margin-left: 6px; }
.comment-form { display: flex; gap: 12px; margin-top: 18px; }
.comment-form .grow { display: grid; gap: 10px; justify-items: start; }

/* ---------- perfiles ---------- */
.profile-hero { position: relative; border-bottom: 2px dashed var(--line); margin-bottom: 22px; }
.profile-cover { height: clamp(160px, 26vw, 320px); background-color: var(--brand); background-image: radial-gradient(#1c191644 2px, transparent 2.5px); background-size: 14px 14px; background-position: center; position: relative; }
.profile-cover[style] { background-size: cover; }
.profile-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, var(--bg)); }
.profile-hero-in { display: flex; gap: 28px; align-items: flex-end; margin-top: -90px; position: relative; padding-bottom: 24px; }
.profile-logo { width: 170px; height: 170px; flex-shrink: 0; overflow: hidden; background: var(--paper); padding: 6px; display: grid; place-items: center; box-shadow: 8px 8px 0 var(--shadow); transform: rotate(-2deg); }
.profile-logo img { width: 100%; height: 100%; object-fit: cover; }
.profile-logo span { font: 400 4.5rem var(--display); color: var(--paper-muted); }
.profile-sub { color: var(--text-2); margin-bottom: 12px; font-family: var(--type); }
.link-row { display: flex; gap: 8px; flex-wrap: wrap; }
.link-row a { display: inline-flex; gap: 6px; align-items: center; font-size: .84rem; font-weight: 700; padding: 7px 11px; border: 2px solid var(--line-2); text-decoration: none; background: var(--panel); }
.link-row a:hover { border-color: var(--accent); background: var(--accent); color: var(--on-brand); }
.members { color: var(--text-2); }
.spotify { width: 100%; border: 0; border-radius: 12px; margin: 20px 0; }
.map { width: 100%; height: 220px; border: 0; margin: 10px 0; }
[data-theme="oscuro"] .map { filter: invert(.9) hue-rotate(180deg) brightness(.9); }
.profile-user { display: grid; grid-template-columns: 300px 1fr; gap: 40px; padding: 36px var(--gutter) 64px; }
.profile-card { background: var(--paper); color: var(--paper-ink); padding: 24px; text-align: center; align-self: start; box-shadow: 8px 8px 0 var(--shadow); }
.profile-card .avatar { margin: 0 auto 14px; }
.profile-card h1 { font: 400 2rem var(--display); text-transform: uppercase; margin: 0; }
.profile-card .muted, .profile-card .facts li { color: var(--paper-muted); }
.profile-card .facts { text-align: left; }
.profile-card .facts li .i { color: #9a4a22; }
.online { color: var(--ok); font-weight: 700; }
.badge { display: inline-block; padding: 3px 8px; font: 800 .66rem/1.4 var(--sans); text-transform: uppercase; letter-spacing: .06em; background: var(--panel-2); border: 1px solid var(--line-2); color: var(--text-2); }
.badge-published, .badge-approved, .badge-active, .badge-paid, .badge-sent, .badge-delivered, .badge-green, .badge-ok { background: #cfe9d4; border-color: #9fcca9; color: #1e5631; }
.badge-pending, .badge-draft, .badge-scheduled, .badge-unpaid, .badge-queued, .badge-yellow { background: #f6e3b0; border-color: #e3c470; color: #6b4a00; }
.badge-rejected, .badge-banned, .badge-failed, .badge-spam, .badge-cancelled, .badge-red, .badge-error { background: #f4cfc6; border-color: #e3a294; color: #7a2512; }

/* ---------- comunidad ---------- */
.user-row { display: flex; flex-wrap: wrap; gap: 8px; }
.user-row .dim { opacity: .4; }
.online-dot { position: relative; }
.online-dot::after { content: ""; position: absolute; right: 1px; bottom: 1px; width: 11px; height: 11px; border-radius: 50%; background: var(--ok); border: 2px solid var(--bg); }
.user-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 14px; }
.user-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 16px 8px; background: var(--panel); border: 2px solid var(--line); text-decoration: none; transition: border-color .2s, transform .2s; }
.user-card:hover { border-color: var(--accent); transform: translateY(-3px); color: var(--text); }
.user-card strong { font-size: .9rem; line-height: 1.2; }
.user-card small { color: var(--muted); font-size: .76rem; }
.leaderboard { list-style: none; padding: 0; margin: 0; counter-reset: l; }
.leaderboard li { counter-increment: l; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 2px dashed var(--line); font-size: .92rem; }
.leaderboard li::before { content: counter(l); font: 400 1.3rem var(--display); color: var(--muted); width: 22px; }
.leaderboard li:nth-child(1)::before { color: var(--hot); }
.leaderboard li a { display: flex; align-items: center; gap: 8px; flex: 1; text-decoration: none; min-width: 0; }
.leaderboard li > span { flex: 1; }
.leaderboard b { font: 400 .9rem var(--type); color: var(--accent-text); }
.leaderboard-big li { padding: 11px 0; font-size: 1rem; }

/* ---------- rewards / publicidad ---------- */
.rewards-hero, .ads-hero { padding: 64px 0 50px; border-bottom: 2px dashed var(--line); margin-bottom: 10px; }
.rewards-hero .display, .ads-hero .display { font-size: clamp(3rem, 8vw, 6rem); margin-top: 14px; animation: rp-slidein .7s both; }
.ref-box { display: flex; gap: 22px; align-items: flex-end; flex-wrap: wrap; background: var(--paper); color: var(--paper-ink); padding: 20px; margin-top: 18px; max-width: 900px; box-shadow: 8px 8px 0 var(--shadow); }
.ref-box small { display: block; font: 400 .85rem var(--type); color: var(--paper-muted); margin-bottom: 6px; }
.ref-box input { background: #fffaf0; color: var(--paper-ink); border-color: #cdbfa4; }
.ref-box .btn-ghost { border-color: var(--paper-ink); color: var(--paper-ink); }
.pts { font: 400 2.8rem/1 var(--display); color: #9a4a22; }
.pts span { font-size: 1rem; color: var(--paper-muted); }
.how-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.how { background: var(--panel); border: 2px solid var(--line); padding: 22px; transition: transform .25s, box-shadow .25s; }
.how:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--accent); }
.how b { font: 400 3rem/1 var(--display); color: var(--accent-text); }
.how h3 { font: 400 1.35rem var(--display); text-transform: uppercase; margin: 10px 0 6px; }
.how p { color: var(--text-2); font-size: .92rem; margin: 0; }
.reward-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 24px; }
.reward { background: var(--paper); color: var(--paper-ink); padding: 14px; display: flex; flex-direction: column; gap: 8px; box-shadow: 6px 6px 0 var(--shadow); transition: transform .3s; }
.reward:hover { transform: rotate(-1deg) translateY(-4px); }
.reward-img { aspect-ratio: 4/3; background-color: var(--accent); background-image: radial-gradient(#1c191633 2px, transparent 2.5px); background-size: 12px 12px; display: grid; place-items: center; color: #1c1916; overflow: hidden; }
.reward-img img { width: 100%; height: 100%; object-fit: cover; }
.reward h3 { font: 400 1.35rem var(--display); text-transform: uppercase; margin: 6px 0 0; }
.reward p { font-size: .9rem; color: var(--paper-muted); margin: 0; flex: 1; }
.reward-foot { display: flex; justify-content: space-between; align-items: center; }
.reward-foot small { color: var(--paper-muted); }
.reward-cost { font: 400 1.5rem var(--display); color: #9a4a22; }
.reward textarea { background: #fffaf0; color: var(--paper-ink); }
.redeem summary { list-style: none; width: 100%; }
.redeem summary::-webkit-details-marker { display: none; }
.redeem[data-disabled] summary { pointer-events: none; opacity: .7; }
.redeem .btn-ghost { color: var(--paper-ink); border-color: var(--paper-ink); }
.redeem form { display: grid; gap: 10px; margin-top: 10px; }
.redeem label { font-size: .84rem; display: grid; gap: 5px; }

.ad-slot { display: flex; flex-direction: column; align-items: center; margin: 24px auto; max-width: 100%; }
.ad-slot img { max-width: min(100%, var(--ad-w, 970px)); }
.ad-label { font: 400 .72rem var(--type); color: var(--muted); margin-bottom: 4px; }
.ad-empty a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; width: min(100%, var(--ad-w, 728px)); aspect-ratio: var(--ad-w, 728) / var(--ad-h, 90); max-height: 250px; min-height: 70px; border: 2px dashed var(--line-2); text-decoration: none; color: var(--muted); font-size: .82rem; text-align: center; padding: 8px; background-image: radial-gradient(color-mix(in srgb, var(--text) 10%, transparent) 1.5px, transparent 2px); background-size: 12px 12px; animation: rp-dots 6s linear infinite; }
.ad-empty strong { font: 400 1.4rem var(--display); text-transform: uppercase; color: var(--text-2); }
.ad-empty a:hover { border-color: var(--accent); color: var(--text); }
.sidebar .ad-slot { margin: 0; }
.sidebar .ad-empty a { width: 100%; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 30px; max-width: 900px; }
.stat-row div { border-left: 4px solid var(--brand); padding-left: 14px; }
.stat-row b { display: block; font: 400 2.5rem/1 var(--display); }
.stat-row span { font-size: .84rem; color: var(--muted); }
.zone-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.zone { background: var(--panel); border: 2px solid var(--line); padding: 18px; }
.zone h3 { font: 400 1.35rem var(--display); text-transform: uppercase; margin: 12px 0 4px; }
.zone p { color: var(--text-2); font-size: .9rem; }
.zone-preview { background: var(--bg-2); height: 110px; display: grid; place-items: center; padding: 12px; }
.zone-preview span { display: grid; place-items: center; max-width: 100%; background: var(--accent); font: 400 .78rem var(--type); color: var(--on-brand); }
.prices { list-style: none; padding: 0; margin: 0; }
.prices li { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 2px dashed var(--line); font-size: .92rem; }
.prices b { color: var(--accent-text); }
.ads-form-wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 44px; margin: 44px 0 64px; }
.card-form { background: var(--panel); border: 2px solid var(--line); padding: 24px; box-shadow: 8px 8px 0 var(--shadow); }
.steps { padding-left: 1.2em; color: var(--text-2); }
.steps li { margin-bottom: 8px; }
.quote { background: var(--bg-2); padding: 12px; margin: 0; }
.quote strong { color: var(--accent-text); font-size: 1.15rem; }
.order { background: var(--panel); border: 2px solid var(--line); }
.order-row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 16px; border-bottom: 2px dashed var(--line); }
.order-row:last-child { border: 0; }
.order-row span { color: var(--muted); }
.order-banner { margin-top: 20px; box-shadow: 6px 6px 0 var(--shadow); }

/* ---------- acceso y cuenta ---------- */
.auth { display: grid; place-items: center; padding: 54px var(--gutter) 72px; }
.auth-wide { grid-template-columns: 1fr 440px; gap: 54px; max-width: 1000px; margin: 0 auto; align-items: center; }
.auth-card { width: 100%; max-width: 440px; background: var(--panel); border: 2px solid var(--line); padding: 30px; box-shadow: 10px 10px 0 var(--shadow); }
.auth-card .display { font-size: 2.8rem; }
.auth-links { margin-top: 16px; font-size: .92rem; text-align: center; color: var(--muted); }
.ticks { list-style: none; padding: 0; display: grid; gap: 12px; font-size: 1.05rem; }
.ticks li { display: flex; gap: 10px; align-items: center; }
.ticks .i { color: var(--accent-text); }
.account { display: grid; grid-template-columns: 230px 1fr; gap: 34px; padding-top: 32px; padding-bottom: 64px; }
.account-nav { display: flex; flex-direction: column; gap: 2px; position: sticky; top: 140px; align-self: start; }
.account-nav a, .account-nav button { display: flex; gap: 10px; align-items: center; padding: 10px 12px; text-decoration: none; color: var(--text-2); font: 600 .94rem var(--sans); background: none; border: 0; cursor: pointer; text-align: left; width: 100%; }
.account-nav a:hover, .account-nav button:hover { background: var(--panel); color: var(--text); }
.account-nav a.active { background: var(--panel); color: var(--text); box-shadow: inset 4px 0 0 var(--brand); }
.account-main { min-width: 0; display: grid; gap: 22px; align-content: start; }
.account-main h1 { font: 400 2.5rem var(--display); text-transform: uppercase; margin: 0; }
.account-hello { display: flex; gap: 18px; align-items: center; }
.account-hello p { margin: 0; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.kpi { background: var(--panel); border: 2px solid var(--line); padding: 18px; display: flex; flex-direction: column; gap: 4px; }
.kpi small { font: 400 .85rem var(--type); color: var(--muted); }
.kpi b { font: 400 2.6rem/1 var(--display); }
.kpi a { font-size: .84rem; color: var(--accent-text); text-decoration: none; font-weight: 700; }
.kpi-accent { background: var(--accent); border-color: var(--accent); color: var(--on-brand); }
.kpi-accent small, .kpi-accent a { color: var(--on-brand); }
.panel { background: var(--panel); border: 2px solid var(--line); padding: 22px; }
.panel h2 { font: 400 1.5rem var(--display); text-transform: uppercase; display: flex; gap: 10px; align-items: center; justify-content: space-between; }
.panel h2 .i { color: var(--hot); }
.panel.narrow { max-width: 480px; }
.submit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.submit-grid a { display: flex; flex-direction: column; gap: 4px; padding: 16px; border: 2px solid var(--line); text-decoration: none; background: var(--bg-2); transition: transform .2s, box-shadow .2s, border-color .2s; }
.submit-grid a:hover { border-color: var(--brand); transform: translate(-3px, -3px); box-shadow: 5px 5px 0 var(--brand); color: var(--text); }
.submit-grid .i { color: var(--accent-text); margin-bottom: 4px; }
.submit-grid span { font-size: .82rem; color: var(--muted); }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th { text-align: left; font: 400 .85rem var(--type); color: var(--muted); padding: 8px; border-bottom: 2px solid var(--line-2); }
.table td { padding: 10px 8px; border-bottom: 2px dashed var(--line); vertical-align: top; }
.table .num { text-align: right; }
.pos { color: var(--ok); font-weight: 700; }
.neg { color: var(--err); font-weight: 700; }
[data-theme="medio"] .pos, [data-theme="oscuro"] .pos { color: #8fd19e; }
[data-theme="medio"] .neg, [data-theme="oscuro"] .neg { color: #f0a59b; }
.avatar-edit { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }

/* ---------- clasificado ---------- */
.classified { padding-top: 28px; padding-bottom: 54px; }
.classified-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; }
.gallery-main { aspect-ratio: 4/3; background: var(--paper); padding: 8px; overflow: hidden; display: grid; place-items: center; box-shadow: 8px 8px 0 var(--shadow); }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; background: #1c1916; }
.gallery-thumbs { display: flex; gap: 8px; margin-top: 14px; }
.gallery-thumbs button { width: 80px; aspect-ratio: 1; border: 2px solid var(--line); padding: 0; overflow: hidden; cursor: pointer; background: none; }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.classified-info h1 { font: 400 2.5rem/1 var(--display); text-transform: uppercase; }
.cl-price-big { font: 400 2.6rem var(--display); color: var(--hot); margin: 0; }
.contact-box { background: var(--panel); border: 2px solid var(--line); padding: 18px; display: grid; gap: 10px; }
.seller { display: flex; gap: 12px; align-items: center; text-decoration: none; margin-bottom: 6px; }
.seller span { display: flex; flex-direction: column; }
.seller small { color: var(--muted); }
.owner-actions { display: flex; gap: 8px; flex-wrap: wrap; border-top: 2px dashed var(--line); padding-top: 12px; }
.classified-desc { margin-top: 30px; }

/* ---------- paginación, vacíos, mensajes ---------- */
.pager { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; justify-content: center; margin: 36px 0; }
.pager a, .pager .current { min-width: 40px; text-align: center; padding: 8px 12px; border: 2px solid var(--line-2); text-decoration: none; font: 400 1.05rem var(--display); }
.pager a:hover { background: var(--accent); border-color: var(--accent); color: var(--on-brand); }
.pager .current { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.pager-info { flex-basis: 100%; text-align: center; font: 400 .85rem var(--type); color: var(--muted); }
.empty { text-align: center; padding: 50px 20px; color: var(--muted); border: 2px dashed var(--line-2); }
.empty .i { color: var(--line-2); margin: 0 auto 10px; display: block; }
.message-page { text-align: center; padding: 80px var(--gutter); }
.message-icon { color: var(--hot); display: inline-block; margin-bottom: 10px; animation: rp-wobble 3s ease-in-out infinite; }
.message-page .btn { margin-top: 10px; }
.error-code { font: 400 clamp(6rem, 20vw, 12rem)/.9 var(--display); color: var(--hot); text-shadow: 6px 6px 0 var(--shadow); animation: rp-stamp .6s both; display: inline-block; }
.checklist { list-style: none; padding: 0; columns: 2; font-size: .92rem; }
.checklist .ok { color: var(--ok); }
.checklist .bad { color: var(--err); }

/* ---------- Bar en línea ---------- */
.pub-head { display: flex; justify-content: space-between; align-items: end; gap: 18px; flex-wrap: wrap; padding-top: 32px; padding-bottom: 18px; }
.pub-head .display { margin: 0; animation: rp-slidein .6s both; }
.live-pill { display: inline-flex; align-items: center; gap: 9px; background: var(--paper); color: var(--paper-ink); padding: 9px 16px; font-weight: 700; box-shadow: 4px 4px 0 var(--shadow); }
.pub-grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(300px, 1fr); gap: 28px; align-items: start; padding-bottom: 60px; }
.stage { position: relative; aspect-ratio: 16/9; background: #14110f; overflow: hidden; box-shadow: 10px 10px 0 var(--shadow); }
.stage-yt { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity .4s; }
.stage-yt.on { opacity: 1; pointer-events: auto; }
.stage-yt iframe, .stage-yt #bar-yt { width: 100%; height: 100%; border: 0; display: block; }
.stage-video, .stage-img { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage-video { object-fit: contain; background: #000; }
.stage-img { display: block; }
.stage-img img { width: 100%; height: 100%; object-fit: contain; background: #14110f; animation: rp-kenburns 12s ease-out both; }
@keyframes rp-kenburns { from { transform: scale(1.06); } to { transform: scale(1); } }
.stage-brand { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background-color: var(--brand); background-image: radial-gradient(#1c191640 2px, transparent 2.5px); background-size: 14px 14px; color: #1c1916; text-align: center; padding: 20px; animation: rp-dots 4s linear infinite; }
.stage-brand-name { font: 400 clamp(2.6rem, 8vw, 6rem)/.9 var(--display); text-transform: uppercase; animation: rp-pop .9s cubic-bezier(.3, 1.4, .5, 1) both; }
.stage-brand-tag { font: 400 clamp(.9rem, 2vw, 1.3rem) var(--type); }
.stage-empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: #d6cbb4; text-align: center; }
.stage-label { position: absolute; top: 12px; left: 12px; background: var(--accent); color: var(--on-brand); font: 800 .7rem var(--sans); text-transform: uppercase; letter-spacing: .08em; padding: 5px 9px; z-index: 3; }
.stage-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: #ffffff1a; z-index: 3; pointer-events: none; }
.stage-progress span { display: block; height: 100%; width: 0; background: var(--accent); transition: width .2s linear; }
.stage-unmute { position: absolute; right: 12px; bottom: 14px; z-index: 4; background: var(--accent); color: var(--on-brand); border: 0; font: 800 .78rem var(--sans); text-transform: uppercase; padding: 9px 12px; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; box-shadow: 3px 3px 0 #1c1916; }
.stage-unmute[hidden] { display: none; }
.stage-bar { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-top: 22px; flex-wrap: wrap; }
.now { display: flex; flex-direction: column; min-width: 0; }
.now-label { font: 400 .85rem var(--type); color: var(--accent-text); }
.now strong { font: 400 1.5rem/1.1 var(--display); text-transform: uppercase; }
.now small { color: var(--muted); }
.stage-controls { display: flex; gap: 8px; }
.ctl { display: inline-flex; align-items: center; gap: 6px; background: var(--panel); border: 2px solid var(--line-2); color: var(--text); padding: 9px 12px; font: 700 .84rem var(--sans); cursor: pointer; }
.ctl:hover, .ctl.on { background: var(--accent); border-color: var(--accent); color: var(--on-brand); }
.pub-note { margin-top: 14px; font-size: .9rem; color: var(--muted); }
.chat { background: var(--panel); border: 2px solid var(--line); display: flex; flex-direction: column; height: min(78vh, 720px); position: relative; }
.chat-top { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 2px dashed var(--line); font: 400 1.15rem var(--display); text-transform: uppercase; }
.chat-top strong { display: flex; gap: 8px; align-items: center; font-weight: 400; }
.chat-welcome { margin: 0; padding: 10px 16px; font: 400 .88rem var(--type); color: var(--muted); border-bottom: 2px dashed var(--line); }
.chat-list { list-style: none; margin: 0; padding: 10px 12px; overflow-y: auto; flex: 1; display: flex; flex-direction: column; gap: 4px; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.msg { display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding: 7px 6px; animation: rp-rise .3s both; }
.msg:hover { background: var(--panel-2); }
.msg.mine .msg-name { color: var(--accent-text); }
.msg-av { display: block; }
.msg-body { min-width: 0; }
.msg-head { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.msg-name { font-weight: 800; font-size: .9rem; text-decoration: none; }
.msg-badge { font: 800 .6rem var(--sans); text-transform: uppercase; background: var(--brand); color: var(--on-brand); padding: 2px 5px; }
.msg-head time { font: 400 .74rem var(--type); color: var(--muted); }
.msg-act { background: none; border: 0; color: var(--muted); font: 600 .72rem var(--sans); cursor: pointer; padding: 0; opacity: 0; transition: opacity .2s; text-decoration: underline; }
.msg:hover .msg-act, .msg-act:focus { opacity: 1; }
.msg p { margin: 2px 0 0; font-size: .95rem; color: var(--text-2); overflow-wrap: anywhere; }
.msg p a { color: var(--accent-text); }
.chat-locked { padding: 20px; text-align: center; color: var(--muted); font-family: var(--type); }
.chat-newer { position: absolute; left: 50%; bottom: 120px; translate: -50% 0; background: var(--accent); color: var(--on-brand); border: 0; font: 800 .78rem var(--sans); padding: 8px 14px; cursor: pointer; box-shadow: 3px 3px 0 #1c1916; }
.chat-form { border-top: 2px dashed var(--line); padding: 10px 12px 12px; display: grid; gap: 8px; }
.chat-quick { display: flex; gap: 4px; }
.chat-quick button { background: var(--bg-2); border: 1px solid var(--line); cursor: pointer; font-size: 1.05rem; padding: 3px 7px; transition: transform .15s; }
.chat-quick button:hover { transform: scale(1.18) rotate(-6deg); }
.chat-input { display: flex; gap: 8px; align-items: center; }
.chat-input input { flex: 1; min-width: 0; }
.chat-error { margin: 0; font-size: .85rem; color: var(--err); font-weight: 700; }
[data-theme="medio"] .chat-error, [data-theme="oscuro"] .chat-error { color: #f0a59b; }
.chat-login { border-top: 2px dashed var(--line); padding: 16px; text-align: center; }
.chat-login p { margin-bottom: 10px; }
.bar-teaser { display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; background: var(--panel); border: 2px solid var(--line); padding: 20px 24px; margin: 30px 0; box-shadow: 8px 8px 0 var(--shadow); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.bar-teaser:hover { transform: translate(-3px, -3px); box-shadow: 11px 11px 0 var(--brand); color: var(--text); }
.bar-teaser h2 { font: 400 1.9rem/1 var(--display); text-transform: uppercase; margin: 0 0 4px; }
.bar-teaser ul { list-style: none; margin: 0; padding: 0; font-size: .9rem; color: var(--text-2); }
.bar-teaser li { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar-teaser li b { color: var(--text); }
.bar-teaser-icon { width: 64px; height: 64px; display: grid; place-items: center; background: var(--brand); color: var(--on-brand); }

/* ---------- pie de página ---------- */
.footer { background: var(--footer); color: var(--footer-text); border-top: 6px solid var(--accent); margin-top: 64px; padding: 54px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.footer h4 { font: 400 1.25rem var(--display); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px; color: var(--accent); }
.footer .brand-name { color: var(--footer-text); }
.footer-grid > div > a { display: block; text-decoration: none; color: var(--footer-muted); font-size: .92rem; padding: 4px 0; }
.footer-grid > div > a:hover { color: var(--accent); }
.footer-brand p { color: var(--footer-muted); font-size: .92rem; margin-top: 14px; }
.footer .muted { color: var(--footer-muted); }
.social-row { display: flex; gap: 10px; }
.social-row a { width: 40px; height: 40px; display: grid; place-items: center; border: 2px solid #5a5046; color: var(--footer-text); transition: background .2s, transform .2s; }
.social-row a:hover { border-color: var(--accent); color: var(--on-brand); background: var(--accent); transform: rotate(-6deg); }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; padding: 22px var(--gutter); margin-top: 44px; border-top: 2px dashed #4a4138; font: 400 .85rem var(--type); color: var(--footer-muted); flex-wrap: wrap; }
.footer-bottom a { text-decoration: none; color: var(--footer-muted); }
body.bare { min-height: 100vh; }
code, .code-line { font-family: ui-monospace, monospace; font-size: .85rem; background: var(--bg-2); padding: 2px 6px; }
.code-line { display: block; padding: 10px 12px; overflow-x: auto; white-space: nowrap; border: 2px solid var(--line); margin: 8px 0; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .layout-2col, .pub-grid { grid-template-columns: 1fr; }
  .chat { height: 560px; }
  .sidebar { position: static; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-side { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
  .masthead-search { display: none; }
  .how-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  body { font-size: 15px; }
  .topbar-date { display: none; }
  .topbar-in { justify-content: center; }
  .topbar-links > a:not(.keep) { display: none; }
  .masthead-user { display: none; }
  .nav-toggle { display: block; }
  .brand-name { font-size: 1.7rem; }
  .brand img { height: var(--logo-h-m, 46px); max-width: 70vw; }
  .mainnav { display: none; }
  .mainnav.open { display: block; }
  .mainnav-in { flex-direction: column; padding-top: 6px; padding-bottom: 12px; }
  .mainnav a { border-bottom: 0; border-left: 4px solid transparent; padding: 13px 10px; }
  .mainnav a.active { border-left-color: var(--brand); }
  .mainnav-mobile-extra { display: flex; flex-direction: column; border-top: 2px dashed var(--line); margin-top: 6px; padding-top: 6px; }
  .hero-lead { min-height: 420px; }
  .hero-side { grid-template-columns: 1fr; }
  .hero-mini { grid-template-columns: 96px 1fr; }
  .event-card { grid-template-columns: 60px 1fr; }
  .event-poster { display: none; }
  .event-hero-grid { grid-template-columns: 1fr; gap: 26px; }
  .event-hero-poster { max-width: 280px; }
  .two-up, .ads-form-wrap, .classified-grid, .auth-wide, .profile-user, .account, .video-feature { grid-template-columns: 1fr; }
  .account-nav { position: static; flex-direction: row; overflow-x: auto; }
  .account-nav a, .account-nav button { white-space: nowrap; width: auto; }
  .promo-row { grid-template-columns: 1fr; }
  .profile-hero-in { flex-direction: column; align-items: flex-start; margin-top: -70px; gap: 14px; }
  .profile-logo { width: 120px; height: 120px; }
  .row-2, .row-3, .kpis, .submit-grid { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .cl-grid-2 { grid-template-columns: 1fr 1fr; }
  .prev-next { grid-template-columns: 1fr; }
  .checklist { columns: 1; }
  .ref-box { flex-direction: column; align-items: stretch; }
  .bar-teaser { grid-template-columns: 1fr; }
  .bar-teaser-icon { display: none; }
  .stage-controls { width: 100%; }
  .stage-controls .ctl { flex: 1; justify-content: center; }
}
@media (max-width: 520px) {
  .how-grid, .footer-grid { grid-template-columns: 1fr; }
  .cl-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .band-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: 1fr; }
  .copy-field { flex-direction: column; }
  .filters input, .filters select { max-width: none; flex-basis: 100%; }
  .video-item { grid-template-columns: 110px 1fr; }
  .card, .card:nth-child(3n+2), .card:nth-child(3n), .poster-tile, .poster-tile:nth-child(even) { transform: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* ---------- v3: campana, boletín, cookies, pagos, notificaciones ---------- */
.bell { position: relative; }
.bell-btn { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--line); background: none; color: var(--text); cursor: pointer; transition: border-color .2s, transform .2s; }
.bell-btn:hover { border-color: var(--brand); transform: rotate(-8deg); }
.bell-count { position: absolute; top: -5px; right: -5px; min-width: 19px; height: 19px; padding: 0 4px; border-radius: 99px; background: var(--brand); color: var(--on-brand); font: 800 .7rem/19px var(--sans); text-align: center; box-shadow: 0 0 0 2px var(--head); animation: bell-pop .4s ease; }
@keyframes bell-pop { from { transform: scale(0); } to { transform: scale(1); } }
.bell-menu { position: absolute; right: 0; top: calc(100% + 10px); width: min(340px, 92vw); background: var(--panel); border: 2px solid var(--line-2); border-radius: var(--radius-lg); box-shadow: 6px 6px 0 var(--shadow); z-index: 80; overflow: hidden; }
.bell-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: .9rem; }
.bell-head a { color: var(--accent-text); font-size: .82rem; }
.bell-list { max-height: 380px; overflow-y: auto; }
.bell-list > p { padding: 16px 14px; }
.bell-item { display: grid; gap: 2px; padding: 10px 14px; border-bottom: 1px dashed var(--line); text-decoration: none; color: var(--text); font-size: .88rem; }
.bell-item:hover { background: var(--panel-2); }
.bell-item.unread { border-left: 4px solid var(--brand); }
.bell-item span { color: var(--text-2); }
.bell-item small, .notif small { color: var(--muted); font: 400 .78rem var(--type); }

.notif-list { display: grid; gap: 10px; }
.notif { display: grid; gap: 4px; padding: 14px 16px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); text-decoration: none; color: var(--text); }
.notif.unread { border-left: 5px solid var(--brand); background: var(--panel-2); }

.footer-news { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 22px 24px; margin-bottom: 42px; border: 2px dashed #4a4138; border-radius: var(--radius-lg); background: rgba(255, 255, 255, .03); }
.footer-news p { color: var(--footer-muted); font-size: .92rem; }
.footer-news h4 { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.footer-news-form { display: flex; gap: 8px; flex: 1; max-width: 460px; min-width: min(100%, 280px); }
.footer-news-form input[type=email] { flex: 1; min-width: 0; padding: 11px 14px; border: 2px solid #4a4138; border-radius: var(--radius); background: #1a1714; color: var(--footer-text); font: inherit; }
.footer-news-form input[type=email]:focus { outline: none; border-color: var(--accent); }

.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200; max-width: 760px; margin: 0 auto; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 16px 18px; background: var(--paper); color: var(--paper-ink); border: 3px solid var(--paper-ink); border-radius: var(--radius-lg); box-shadow: 8px 8px 0 var(--brand); transform: translateY(140%); transition: transform .45s cubic-bezier(.2, .9, .3, 1.2); }
.consent.show { transform: none; }
.consent p { flex: 1; min-width: 240px; font-size: .9rem; display: flex; gap: 8px; align-items: flex-start; }
.consent p a { color: var(--paper-ink); font-weight: 700; }
.consent-actions { display: flex; gap: 8px; }
.consent .btn-ghost { color: var(--paper-ink); border-color: var(--paper-ink); }
@media (prefers-reduced-motion: reduce) { .consent { transition: none; } }

.pay-box { display: grid; gap: 10px; margin: 18px 0; padding: 18px; border: 2px solid var(--brand); border-radius: var(--radius-lg); background: var(--panel-2); }
.pay-box .btn { justify-self: start; font-size: 1.05rem; }
.pay-box small { color: var(--muted); }

@media (max-width: 640px) {
  .masthead-user .bell-btn { width: 36px; height: 36px; }
  .footer-news { padding: 18px; }
  .footer-news-form { flex-direction: column; }
}

/* ---------- Recortar foto de perfil ---------- */
.crop-modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 16px; background: rgba(15, 12, 10, .78); backdrop-filter: blur(3px); }
.crop-box { width: min(380px, 100%); background: var(--panel); border: 2px solid var(--line-2); border-radius: var(--radius-lg); box-shadow: 8px 8px 0 var(--shadow); padding: 18px; display: grid; gap: 14px; }
.crop-box h3 { font: 400 1.4rem var(--display); text-transform: uppercase; letter-spacing: .03em; }
.crop-box p { font-size: .85rem; color: var(--muted); margin-top: -8px; }
.crop-stage { position: relative; width: 100%; aspect-ratio: 1 / 1; overflow: hidden; border-radius: var(--radius); background: #111; touch-action: none; cursor: grab; user-select: none; }
.crop-stage:active { cursor: grabbing; }
.crop-stage img { position: absolute; left: 0; top: 0; max-width: none; height: auto; transform-origin: 0 0; pointer-events: none; }
.crop-stage::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 999px rgba(0, 0, 0, .55); outline: 2px dashed rgba(255, 255, 255, .8); outline-offset: -2px; pointer-events: none; }
.crop-zoom { display: flex; align-items: center; gap: 10px; font-size: .85rem; }
.crop-zoom input { flex: 1; accent-color: var(--brand); }
.crop-actions { display: flex; justify-content: flex-end; gap: 8px; }
.avatar-edit .avatar { box-shadow: 0 0 0 3px var(--brand); }

/* ---------- Reportar ---------- */
.report-btn { background: none; border: 0; padding: 2px 4px; color: var(--muted); font: 600 .78rem var(--sans); cursor: pointer; opacity: .75; display: inline-flex; align-items: center; gap: 4px; }
.report-btn:hover, .report-btn:focus-visible { opacity: 1; color: var(--err); }
.comment-head .report-btn { margin-left: auto; }
.report-reasons { display: grid; gap: 6px; }
.report-modal textarea { width: 100%; }
.rp-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140%); z-index: 400; max-width: min(92vw, 460px); padding: 12px 18px; background: var(--paper); color: var(--paper-ink); border: 2px solid var(--paper-ink); border-radius: var(--radius-lg); box-shadow: 5px 5px 0 var(--brand); font-weight: 600; transition: transform .35s cubic-bezier(.2, .9, .3, 1.2); }
.rp-toast.show { transform: translate(-50%, 0); }

/* ---------- Seguridad de la cuenta ---------- */
.sec-box { display: grid; gap: 12px; margin-bottom: 18px; }
.sec-box h2 { display: flex; align-items: center; justify-content: flex-start; gap: 8px; flex-wrap: wrap; font-size: 1.15rem; text-align: left; }
.sec-steps { padding-left: 20px; display: grid; gap: 10px; }
.qr-box { margin: 12px 0; display: inline-block; padding: 8px; background: #fff; border-radius: var(--radius); box-shadow: 4px 4px 0 var(--shadow); }
.qr-box svg { display: block; width: min(220px, 60vw); height: auto; }
.secret { display: inline-block; margin-top: 6px; font-size: 1rem; letter-spacing: .08em; word-break: break-all; }
.otp-input { font: 700 1.6rem var(--mono); letter-spacing: .3em; text-align: center; max-width: 220px; }
.inline-otp { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.recovery-codes { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.recovery-codes code { display: block; padding: 8px; text-align: center; background: var(--input); border: 1px dashed var(--line-2); border-radius: var(--radius); font-size: .95rem; }
.sec-disable summary { list-style: none; display: inline-block; }
.sec-disable summary::-webkit-details-marker { display: none; }
.sec-disable form { margin-top: 10px; max-width: 360px; }

/* ---------- Bloques de la portada ---------- */
.block-full { margin-top: 40px; margin-bottom: 40px; }
.two-up > .block-full { margin: 0; }
.only-mobile { display: none; }
@media (max-width: 820px) { .only-desktop { display: none; } .only-mobile { display: block; } }
.events-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 18px; }
.events-grid .poster-tile { width: auto; }
.news-list { list-style: none; padding: 0; display: grid; gap: 10px; }
.news-list a { display: flex; gap: 14px; align-items: center; text-decoration: none; color: var(--text); padding: 8px; border-radius: var(--radius); transition: background .2s; }
.news-list a:hover { background: var(--panel); }
.news-list img { width: 110px; height: 72px; object-fit: cover; border-radius: var(--radius); flex-shrink: 0; }
.news-list span { display: grid; gap: 4px; }
.news-list small { color: var(--muted); font: 400 .8rem var(--type); }
.ranked-big { font-size: 1.05rem; }
.block-newsletter { padding: 24px; border: 2px dashed var(--line-2); border-radius: var(--radius-lg); display: grid; gap: 10px; }
.block-newsletter .footer-news-form input[type=email] { background: var(--input); color: var(--text); border-color: var(--line-2); }
.side-news-form { display: grid; gap: 8px; }
.side-news-form input[type=email] { width: 100%; padding: 9px 12px; border: 2px solid var(--line); border-radius: var(--radius); background: var(--input); color: var(--text); font: inherit; }
.side-list { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 8px; font-size: .9rem; }
.side-list small { color: var(--accent-text); font-weight: 700; }
.side-bar { display: block; text-decoration: none; color: var(--text); }
.mainnav a.nav-hl { color: var(--accent-text); }

/* ---------- Evento especial ---------- */
.special-event { position: relative; overflow: hidden; background: var(--ev); color: #fff; isolation: isolate; }
.special-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.special-event::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(20, 16, 13, .88) 20%, color-mix(in srgb, var(--ev) 55%, transparent)); }
.special-in { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding-top: 48px; padding-bottom: 48px; }
.special-text { display: grid; gap: 12px; max-width: 640px; justify-items: start; }
.special-title { font: 400 clamp(2.2rem, 6vw, 4.4rem)/.95 var(--display); text-transform: uppercase; letter-spacing: .01em; color: #fff; }
.special-sub { font-size: 1.15rem; color: #f3ecdd; }
.countdown { display: flex; gap: 10px; }
.countdown > div { min-width: 76px; padding: 12px 8px; text-align: center; background: rgba(0, 0, 0, .45); border: 2px solid rgba(255, 255, 255, .35); border-radius: var(--radius-lg); backdrop-filter: blur(4px); }
.countdown b { display: block; font: 400 2.6rem/1 var(--display); color: #fff; }
.countdown span { font: 400 .8rem var(--type); color: #f3ecdd; text-transform: uppercase; }
.countdown-live b { font: 400 2rem var(--display); }
.event-strip { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; padding: 9px 16px; background: var(--ev); color: #fff; text-decoration: none; font-size: .92rem; text-align: center; }
.event-strip b { text-transform: uppercase; letter-spacing: .04em; }
.event-strip-cta { text-decoration: underline; font-weight: 700; }
@media (max-width: 640px) { .countdown > div { min-width: 62px; } .countdown b { font-size: 2rem; } }

/* ---------- Mantenimiento ---------- */
.maintenance-page { min-height: 100vh; display: grid; place-items: center; background: var(--bg); }
.maint { width: min(560px, 100% - 32px); }
.maint-card { text-align: center; display: grid; gap: 16px; justify-items: center; padding: 40px 28px; background: var(--panel); border: 2px solid var(--line-2); border-radius: var(--radius-lg); box-shadow: 10px 10px 0 var(--brand); }
.maint-logo { max-height: 90px; width: auto; }
.maint-skull { color: var(--brand); animation: maint-bob 2.4s ease-in-out infinite; }
@keyframes maint-bob { 50% { transform: translateY(-8px) rotate(-4deg); } }
.maint-until { font: 400 .95rem var(--type); color: var(--accent-text); }

/* ---------- Comunidad: seguir, reseñas, encuestas, Top 10, fotos, mapa, avisos ---------- */
.follow-form { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 12px 0; }
.follow-form .is-on { border-color: var(--ok); color: var(--ok); }
.stars { color: var(--accent); letter-spacing: 1px; }
.stars-sum { font: 400 .95rem var(--sans); color: var(--text-2); }
.review-form { display: grid; gap: 10px; margin-bottom: 18px; }
.review-form .btn { justify-self: start; }
.star-input { border: 0; padding: 0; margin: 0; display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label { font-size: 2rem; line-height: 1; color: var(--line-2); cursor: pointer; transition: color .15s, transform .15s; }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: var(--accent); }
.star-input label:hover { transform: scale(1.15); }
.star-input input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }
.reviews { margin-top: 36px; }

.poll { display: grid; gap: 10px; }
.poll-q { font-size: 1.1rem; }
.poll-form { display: grid; gap: 8px; }
.poll-opt { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border: 2px solid var(--line); border-radius: var(--radius); cursor: pointer; transition: border-color .2s, background .2s; }
.poll-opt:hover { border-color: var(--brand); }
.poll-opt:has(input:checked) { border-color: var(--brand); background: var(--panel-2); }
.poll-form .btn { justify-self: start; }
.poll-results { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.poll-results li { position: relative; display: flex; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: var(--radius); background: var(--input); overflow: hidden; }
.poll-bar { position: absolute; inset: 0 auto 0 0; width: var(--w); background: color-mix(in srgb, var(--brand) 35%, transparent); animation: poll-grow .9s cubic-bezier(.2, .9, .3, 1) both; }
@keyframes poll-grow { from { width: 0; } }
.poll-results li > span:not(.poll-bar), .poll-results b { position: relative; }
.poll-results li.mine { box-shadow: inset 0 0 0 2px var(--accent); }
.polls-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; margin-top: 28px; }
.block-poll { display: grid; gap: 10px; }

.top10-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 34px; margin-top: 28px; align-items: start; }
.top10 { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.top10-row { display: grid; grid-template-columns: 52px 1fr 180px; gap: 14px; align-items: center; padding: 10px 14px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.top10-row.first { border-color: var(--accent); box-shadow: 5px 5px 0 var(--brand); }
.top10-pos { font: 400 2.4rem/1 var(--display); color: var(--hot); text-align: center; }
.top10-band { display: flex; gap: 12px; align-items: center; text-decoration: none; color: var(--text); min-width: 0; }
.top10-band img { width: 52px; height: 52px; object-fit: cover; border-radius: var(--radius); flex-shrink: 0; }
.top10-band span { display: grid; min-width: 0; }
.top10-band small { color: var(--muted); }
.top10-votes { position: relative; display: block; padding: 6px 10px; border-radius: var(--radius); background: var(--input); overflow: hidden; font-size: .85rem; text-align: right; }
.top10-bar { position: absolute; inset: 0 auto 0 0; width: var(--w); background: color-mix(in srgb, var(--accent) 35%, transparent); animation: poll-grow 1s both; }
.top10-votes b { position: relative; font-size: 1.05rem; }
.top10-vote { position: sticky; top: 90px; display: grid; gap: 12px; }
.top10-pick { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; max-height: 480px; overflow: auto; }
.top10-pick li { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 6px 4px; border-bottom: 1px dashed var(--line); }
@media (max-width: 900px) { .top10-layout { grid-template-columns: 1fr; } .top10-vote { position: static; } .top10-row { grid-template-columns: 40px 1fr; } .top10-votes { grid-column: 1 / -1; } }

.gal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; }
.gal-card { display: grid; gap: 6px; text-decoration: none; color: var(--text); }
.gal-thumb { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--panel-2); border-radius: var(--radius); box-shadow: 5px 5px 0 var(--shadow); }
.gal-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gal-card:hover .gal-thumb img { transform: scale(1.06); }
.gal-count { position: absolute; right: 8px; bottom: 8px; padding: 3px 8px; border-radius: 99px; background: rgba(0, 0, 0, .7); color: #fff; font-size: .78rem; font-weight: 700; }
.gal-card small { color: var(--muted); }
.photo-grid { columns: 3 260px; column-gap: 12px; margin: 24px 0; }
.photo-grid .photo { display: block; margin-bottom: 12px; break-inside: avoid; border-radius: var(--radius); overflow: hidden; }
.photo-grid img { width: 100%; height: auto; transition: transform .4s, filter .4s; }
.photo-grid .photo:hover img { transform: scale(1.03); filter: brightness(1.08); }
.gal-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.lightbox { position: fixed; inset: 0; z-index: 500; display: flex; align-items: center; justify-content: center; gap: 10px; background: rgba(10, 8, 6, .94); padding: 16px; }
.lightbox figure { margin: 0; max-width: min(1400px, 100%); display: grid; gap: 8px; justify-items: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 90px); object-fit: contain; box-shadow: 0 10px 40px rgba(0, 0, 0, .6); }
.lightbox figcaption { color: #e9e1d2; font-size: .9rem; }
.lightbox button { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .25); color: #fff; width: 46px; height: 46px; border-radius: 50%; font-size: 1.6rem; cursor: pointer; flex-shrink: 0; }
.lightbox button:hover { background: var(--brand); }
.lb-x { position: absolute; top: 14px; right: 14px; font-size: 1.1rem !important; }
@media (max-width: 640px) { .lb-prev, .lb-next { position: absolute; bottom: 18px; } .lb-prev { left: 30%; } .lb-next { right: 30%; } }
.file-drop-multi { min-height: 120px; }
.multi-preview { display: grid; grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); gap: 6px; }
.multi-preview img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 2px; }
.follow-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.follow-list a { display: flex; gap: 10px; align-items: center; padding: 8px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--text); }
.follow-list img { width: 42px; height: 42px; object-fit: cover; border-radius: 50%; }
.follow-list span { display: grid; }
.follow-list small { color: var(--muted); }

.rock-map { width: 100%; border-radius: var(--radius-lg); overflow: hidden; border: 2px solid var(--line-2); background: var(--panel-2); display: grid; place-items: center; position: relative; z-index: 0; }
.map-pin { background: var(--brand, #d0643b); border: 3px solid #fff; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); box-shadow: 0 3px 8px rgba(0, 0, 0, .45); display: grid; place-items: center; }
.map-pin b { transform: rotate(45deg); color: #fff; font: 800 .75rem var(--sans); }
.map-pin.has-events { background: #e3b448; }
.map-pin.has-events b { color: #1c1916; }
.map-ev { padding-left: 16px; margin: 6px 0 0; }
.leaflet-popup-content { font-family: var(--sans); }
.leaflet-popup-content a { color: #b5502a; }
.map-empty { position: absolute; z-index: 500; left: 50%; top: 50%; transform: translate(-50%, -50%); background: var(--paper); color: var(--paper-ink); padding: 12px 16px; border-radius: var(--radius); max-width: 80%; text-align: center; }
.push-box { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; border-color: var(--brand); }
.push-box > div { flex: 1; min-width: 220px; }

/* ---------- Directorio ---------- */
.dir-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; margin: 28px 0; }
.dir-card { display: grid; gap: 6px; align-content: start; padding: 22px; background: var(--panel); border: 2px solid var(--line); border-radius: var(--radius-lg); text-decoration: none; color: var(--text); transition: transform .25s, border-color .25s, box-shadow .25s; }
.dir-card:hover { transform: translateY(-4px) rotate(-.5deg); border-color: var(--brand); box-shadow: 6px 6px 0 var(--brand); }
.dir-ico { color: var(--hot); }
.dir-card strong { font: 400 1.5rem/1.05 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.dir-card small { color: var(--accent-text); font: 400 .85rem var(--type); }
.dir-desc { color: var(--muted); font-size: .9rem; }

/* ---------- Fondo grande por sección ---------- */
body > .section-bg { position: fixed !important; inset: 0; z-index: 0 !important; pointer-events: none; overflow: hidden; }
.section-bg::before { content: ""; position: absolute; inset: calc(var(--bg-blur) * -2); background: var(--bg-img) var(--bg-pos, center) / cover no-repeat; filter: blur(var(--bg-blur)); transform: scale(1.02); }
.section-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, color-mix(in srgb, var(--bg) calc(var(--bg-dark) * 100%), transparent), var(--bg) 120%); opacity: 1; }
.has-section-bg { background: var(--bg); }
.has-section-bg .page-head, .has-section-bg .strip:not(.strip-dark), .has-section-bg .marquee-strip { background: transparent; }
@media (max-width: 820px) { .section-bg.no-mobile { display: none; } }
@media (prefers-reduced-motion: reduce) { .section-bg::before { transform: none; } }
.bar-teaser-now { margin: 0 0 4px; font-size: .9rem; color: var(--accent-text); display: flex; gap: 6px; align-items: center; }
/* Bloque del bar con imagen propia y fondo */
.bar-teaser-icon.has-img { background: none; width: 88px; height: 88px; }
.bar-teaser-icon.has-img img { width: 100%; height: 100%; object-fit: contain; }
.bar-teaser.has-bg { position: relative; isolation: isolate; overflow: hidden; background: #111 var(--bt-bg) center / cover no-repeat; color: #fff; min-height: 150px; }
.bar-teaser.has-bg::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0,0,0,calc(var(--bt-dark) + .15)), rgba(0,0,0,var(--bt-dark))); }
.bar-teaser.has-bg h2, .bar-teaser.has-bg li b { color: #fff; }
.bar-teaser.has-bg ul { color: rgba(255,255,255,.85); }
.bar-teaser.has-bg:hover { color: #fff; }
@media (max-width: 820px) { .bar-teaser { grid-template-columns: 1fr; } .bar-teaser-icon.has-img { display: grid; width: 64px; height: 64px; } }
.bar-teaser-body { min-width: 0; }
.bar-teaser h2 { overflow-wrap: anywhere; }
.bar-teaser-now { flex-wrap: wrap; }
@media (max-width: 520px) { .bar-teaser h2 { font-size: 1.5rem; } .bar-teaser { padding: 18px; } }
/* Pago con link PSE */
.pse-box { border: 2px solid var(--line); background: var(--panel); padding: 20px; margin: 20px 0; display: grid; gap: 14px; box-shadow: 6px 6px 0 var(--shadow); }
.pse-head { display: flex; gap: 14px; align-items: center; }
.pse-head span { display: block; color: var(--text-2); font-size: .9rem; }
.pse-logo { flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid !important; place-items: center; background: #0a4a8c; color: #fff !important; font: 800 1rem/1 system-ui, sans-serif; letter-spacing: .5px; }
.pse-steps { margin: 0; padding-left: 20px; color: var(--text-2); display: grid; gap: 4px; }
.pse-box > .btn { justify-self: start; }
.pse-done summary { cursor: pointer; font-weight: 600; }
.pse-form { display: grid; gap: 10px; margin-top: 12px; }
.pse-form label { display: grid; gap: 4px; font-size: .9rem; }
/* Ingreso con Google y redes */
.social-login { display: grid; gap: 10px; margin: 0 0 18px; }
.social-btn { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 10px 16px; border: 2px solid var(--line); background: #fff; color: #1f1f1f; font-weight: 600; text-decoration: none; border-radius: var(--radius, 4px); transition: transform .15s, box-shadow .15s; }
.social-btn:hover { color: #1f1f1f; transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--brand); }
.social-btn svg { flex: none; }
.social-login .small { margin: 2px 0 0; }
.social-or { display: flex; align-items: center; gap: 12px; color: var(--text-2); font-size: .85rem; margin-top: 6px; }
.social-or::before, .social-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.social-linked { display: grid; gap: 0; list-style: none; padding: 0; margin: 0; }
.social-linked li { display: flex; align-items: center; gap: 12px; justify-content: space-between; flex-wrap: wrap; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.social-linked .who { display: flex; align-items: center; gap: 10px; }
/* ===================== Reels ===================== */
.reels-shell { max-width: 520px; margin: 0 auto; padding: 16px 16px 30px; }
.reels-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.reels-top h1 { margin: 0; font-size: 2.2rem; }
.reels-feed { height: min(calc(100vh - 190px), 860px); min-height: 460px; overflow-y: auto; scroll-snap-type: y mandatory; overscroll-behavior: contain; background: #000; border-radius: 14px; scrollbar-width: none; outline: none; }
.reels-feed::-webkit-scrollbar { display: none; }
.reel { position: relative; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; background: #000; overflow: hidden; color: #fff; }
.reel-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.reel-tap { position: absolute; inset: 0; z-index: 1; background: none; border: 0; padding: 0; cursor: pointer; }
.reel-paused { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(.8); opacity: 0; transition: .2s; color: rgba(255,255,255,.85); filter: drop-shadow(0 2px 8px rgba(0,0,0,.6)); pointer-events: none; }
.reel.is-paused .reel-paused { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.reel-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.2); z-index: 3; }
.reel-progress i { display: block; height: 100%; width: 0; background: var(--brand); transition: width .25s linear; }
.reel-info { position: absolute; left: 0; right: 70px; bottom: 0; z-index: 2; padding: 60px 16px 18px; background: linear-gradient(transparent, rgba(0,0,0,.75)); pointer-events: none; }
.reel-info a { pointer-events: auto; color: #fff; text-decoration: none; }
.reel-user { display: inline-flex; align-items: center; gap: 8px; font-size: .95rem; }
.reel-user img, .reel-avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; display: grid; place-items: center; background: var(--brand); font-weight: 700; flex: none; }
.reel-title { margin: 8px 0 4px; font-size: .98rem; line-height: 1.35; text-shadow: 0 1px 3px rgba(0,0,0,.6); overflow-wrap: anywhere; }
.reel-band { font-size: .85rem; opacity: .9; }
.reel-rail { position: absolute; right: 8px; bottom: 24px; z-index: 2; display: grid; gap: 14px; justify-items: center; }
.reel-act { display: grid; justify-items: center; gap: 2px; background: none; border: 0; color: #fff; cursor: pointer; font: 600 .72rem/1.1 var(--sans, system-ui); padding: 4px; filter: drop-shadow(0 1px 3px rgba(0,0,0,.7)); min-width: 52px; }
.reel-act svg { width: 30px; height: 30px; }
.reel-act[aria-pressed="true"] svg { fill: #ff3b5c; stroke: #ff3b5c; }
.reel-act.pop svg { animation: reel-pop .4s ease; }
@keyframes reel-pop { 50% { transform: scale(1.35); } }
.reel-views { cursor: default; }
.reels-hint { text-align: center; margin-top: 10px; }
.reels-empty { text-align: center; padding: 40px 20px; }
@media (max-width: 560px) {
  .reels-shell { padding: 8px 0 0; max-width: none; }
  .reels-top { padding: 0 12px; }
  .reels-top h1 { font-size: 1.6rem; }
  .reels-feed { height: calc(100svh - 150px); border-radius: 0; }
  .reels-hint { display: none; }
}
/* Bloque lateral */
.reel-thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.reel-thumb { position: relative; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 10px; background: #111; display: block; color: #fff; text-decoration: none; }
.reel-thumb img, .reel-thumb video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.reel-thumb:hover img { transform: scale(1.04); }
.reel-noposter { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.5); }
.reel-thumb-play { position: absolute; top: 8px; left: 8px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.55); z-index: 2; }
.reel-thumb-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 8px 8px; background: linear-gradient(transparent, rgba(0,0,0,.85)); display: grid; gap: 2px; z-index: 2; }
.reel-thumb-info b { font-size: .8rem; line-height: 1.2; }
.reel-thumb-info small { font-size: .68rem; opacity: .8; }
.side-reels-actions { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 10px; }
.side-reels-actions .more { margin: 0; }
/* Subir */
.reel-pick { display: grid; grid-template-columns: 220px 1fr; gap: 20px; align-items: start; }
.reel-drop { position: relative; aspect-ratio: 9 / 16; border: 2px dashed var(--line); border-radius: 12px; display: grid; place-items: center; text-align: center; cursor: pointer; overflow: hidden; background: var(--panel); }
.reel-drop.drag { border-color: var(--brand); }
.reel-drop input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; z-index: 2; }
.reel-drop.has-video input[type=file] { z-index: 0; }
.reel-drop-empty { display: grid; gap: 6px; justify-items: center; padding: 14px; color: var(--text-2); }
.reel-drop.has-video .reel-drop-empty { display: none; }
.reel-drop-preview { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
.reel-pick-side { display: grid; gap: 12px; }
.reel-form .err { color: #ff6b6b; font-weight: 600; }
.reel-form .warn { color: var(--accent-text, #e3b448); }
.reel-progress-up { position: relative; height: 30px; border: 2px solid var(--line); border-radius: 6px; overflow: hidden; }
.reel-progress-up i { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--brand); transition: width .2s; }
.reel-progress-up span { position: relative; display: block; text-align: center; line-height: 26px; font-weight: 700; font-size: .85rem; }
.my-reels { display: grid; gap: 12px; }
.my-reel { display: flex; gap: 12px; align-items: center; }
.my-reel-thumb { width: 64px; aspect-ratio: 9 / 16; border-radius: 8px; overflow: hidden; background: #111; display: grid; place-items: center; flex: none; color: #fff; }
.my-reel-thumb img { width: 100%; height: 100%; object-fit: cover; }
.my-reel form { margin-top: 4px; }
@media (max-width: 600px) { .reel-pick { grid-template-columns: 1fr; } .reel-drop { max-width: 240px; margin: 0 auto; width: 100%; } }
/* Menú del celular: acceso al panel */
.mainnav-mobile-extra .nav-admin { color: var(--on-brand, #111); background: var(--brand); font-weight: 700; border-radius: 6px; margin: 4px 0; }
.mainnav-mobile-extra .nav-count { background: var(--brand); color: var(--on-brand, #111); border-radius: 10px; padding: 0 7px; font-size: .75rem; }
.ad-top-above .ad-slot { margin-top: 10px; margin-bottom: 10px; }
/* Canales del Bar en línea: botones grandes con imagen, color propio y «En vivo» */
.bar-channels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.bar-channels.n2 { grid-template-columns: repeat(2, 1fr); }
.bar-channels.n4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bar-channels.n4 .bar-ch b { font-size: 1.15rem; }
.bar-channels.n4 .bar-ch { padding: 26px 14px 12px; gap: 10px; }
.bar-channels.n4 .bar-ch-text { padding-right: 0; }
.bar-channels.n4 .bar-ch small { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bar-ch { --ch: var(--brand); position: relative; isolation: isolate; overflow: hidden; display: flex; gap: 12px; align-items: center; min-height: 92px; padding: 14px 16px;
  border: 2px solid color-mix(in srgb, var(--ch) 55%, transparent); border-radius: 14px; text-decoration: none; color: #fff;
  background: linear-gradient(135deg, color-mix(in srgb, var(--ch) 55%, #111) 0%, #141414 85%);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, filter .18s ease; }
.bar-ch.has-img { background: #111 var(--ch-img) center / cover no-repeat; }
.bar-ch::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.45) 60%, color-mix(in srgb, var(--ch) 35%, transparent) 100%); transition: opacity .2s; }
.bar-ch:not(.has-img)::before { opacity: .35; }
.bar-ch:hover { transform: translateY(-3px); border-color: var(--ch); box-shadow: 0 10px 24px -10px var(--ch); color: #fff; }
.bar-ch:not(.on) { filter: saturate(.75) brightness(.85); }
.bar-ch:not(.on):hover { filter: none; }
.bar-ch.on { border-color: var(--ch); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ch) 40%, transparent), 0 12px 30px -12px var(--ch); }
.bar-ch.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--ch); }
.bar-ch-icon { font-size: 2rem; line-height: 1; filter: drop-shadow(0 2px 6px rgba(0,0,0,.6)); flex: none; }
.bar-ch-text { min-width: 0; padding-right: 74px; } /* espacio para la etiqueta «En vivo» */
.bar-ch b { display: block; font: 400 1.35rem/1.05 var(--display); text-transform: uppercase; letter-spacing: .02em; text-shadow: 0 2px 8px rgba(0,0,0,.7); }
.bar-ch small { display: block; color: rgba(255,255,255,.82); font-size: .8rem; line-height: 1.3; margin-top: 3px; text-shadow: 0 1px 4px rgba(0,0,0,.8); }
.bar-ch-live { position: absolute; top: 8px; right: 10px; display: none; align-items: center; gap: 5px; font-size: .66rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 3px 7px; border-radius: 20px; background: var(--ch); color: #111; }
.bar-ch-live i { width: 7px; height: 7px; border-radius: 50%; background: #111; animation: chlive 1.2s ease-in-out infinite; }
.bar-ch.on .bar-ch-live { display: inline-flex; }
@keyframes chlive { 50% { opacity: .25; } }
.bar-ch-empty { position: absolute; bottom: 8px; right: 10px; font-size: .68rem; font-style: normal; color: rgba(255,255,255,.7); }
@media (prefers-reduced-motion: reduce) { .bar-ch, .bar-ch-live i { transition: none; animation: none; } }
@media (max-width: 760px) {
  .bar-channels, .bar-channels.n2 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .bar-channels.n2, .bar-channels.n4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bar-ch { flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 4px; min-height: 96px; padding: 10px; }
  .bar-ch-icon { font-size: 1.4rem; }
  .bar-ch b { font-size: .95rem; }
  .bar-ch small, .bar-ch-empty { display: none; }
  .bar-ch-live { top: 6px; right: 6px; font-size: .55rem; padding: 2px 5px; }
  .bar-ch-text { padding-right: 0; }
}

/* ============================================================ Mensajes privados */
.pm-env { color: var(--text); text-decoration: none; }
.pm-head { display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.pm-head-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.pm-inbox { padding: 0; }
.pm-row { display: flex; gap: 14px; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text); }
.pm-row:last-child { border-bottom: 0; }
.pm-row:hover { background: var(--panel-2); }
.pm-row.unread { background: color-mix(in srgb, var(--brand) 10%, transparent); }
.pm-row.unread b, .pm-row.unread .pm-row-preview { font-weight: 800; color: var(--text); }
.pm-av { position: relative; flex: none; }
.pm-online { position: absolute; right: 1px; bottom: 1px; width: 12px; height: 12px; border-radius: 50%; background: var(--ok); border: 2px solid var(--panel); }
.pm-row-main { flex: 1; min-width: 0; display: grid; gap: 2px; }
.pm-row-top { display: flex; justify-content: space-between; gap: 10px; }
.pm-row-top time { color: var(--muted); font-size: .8rem; white-space: nowrap; }
.pm-row-preview { color: var(--text-2); font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pm-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--brand); flex: none; }
.pm-to { display: flex; gap: 12px; align-items: center; padding: 10px; background: var(--panel-2); }
.pm-to a { margin-left: auto; }
.pm-thread { display: flex; flex-direction: column; background: var(--panel); border: 2px solid var(--line); min-height: 60vh; }
.pm-thread-head { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 2px solid var(--line); position: relative; }
.pm-back { font-size: 1.4rem; text-decoration: none; color: var(--text); padding: 0 4px; }
.pm-who { display: flex; gap: 10px; align-items: center; text-decoration: none; color: var(--text); min-width: 0; }
.pm-who span { display: grid; min-width: 0; }
.pm-who small { font-size: .78rem; }
.pm-menu { margin-left: auto; position: relative; }
.pm-menu summary { list-style: none; cursor: pointer; padding: 8px; border-radius: 50%; display: grid; place-items: center; }
.pm-menu summary::-webkit-details-marker { display: none; }
.pm-menu summary:hover { background: var(--panel-2); }
.pm-menu-list { position: absolute; right: 0; top: 100%; z-index: 20; background: var(--panel); border: 2px solid var(--line); min-width: 210px; display: grid; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.pm-menu-list button { all: unset; display: block; padding: 11px 14px; cursor: pointer; font: 600 .9rem var(--sans); color: var(--text); width: calc(100% - 28px); }
.pm-menu-list form { display: contents; }
.pm-menu-list button:hover { background: var(--panel-2); }
.pm-messages { flex: 1; overflow-y: auto; max-height: min(62vh, 640px); padding: 16px; display: flex; flex-direction: column; gap: 6px; background: var(--bg-2); }
.pm-day { align-self: center; font: 700 .72rem var(--sans); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 10px 0 4px; }
.pm-msg { max-width: min(78%, 560px); align-self: flex-start; display: grid; gap: 2px; }
.pm-msg.mine { align-self: flex-end; justify-items: end; }
.pm-bubble { background: var(--panel); border: 1px solid var(--line); padding: 9px 13px; border-radius: 16px 16px 16px 4px; overflow-wrap: anywhere; line-height: 1.45; }
.pm-msg.mine .pm-bubble { background: var(--brand); color: var(--on-brand); border-color: transparent; border-radius: 16px 16px 4px 16px; }
.pm-msg.mine .pm-bubble a { color: inherit; text-decoration: underline; }
.pm-bubble a { text-decoration: underline; }
.pm-bubble p { margin: 0 0 6px; } .pm-bubble p:last-child { margin: 0; }
.pm-bubble blockquote { margin: 0 0 6px; padding: 2px 10px; border-left: 3px solid currentColor; opacity: .8; }
.pm-meta { font-size: .72rem; color: var(--muted); display: flex; gap: 4px; align-items: center; }
.pm-meta .report-btn { font-size: .72rem; padding: 0; opacity: 0; transition: opacity .2s; }
.pm-msg:hover .pm-meta .report-btn, .pm-msg:focus-within .pm-meta .report-btn { opacity: 1; }
.pm-seen { align-self: flex-end; font-size: .72rem; color: var(--muted); }
.pm-more { align-self: center; font-size: .85rem; margin-bottom: 8px; }
.pm-empty { text-align: center; margin: auto; }
.pm-compose { display: flex; gap: 8px; align-items: flex-end; padding: 10px; border-top: 2px solid var(--line); }
.pm-compose textarea { flex: 1; resize: none; min-height: 44px; max-height: 180px; margin: 0; }
.pm-hint { margin: 0; padding: 0 12px 10px; }
.pm-cant { margin: 0; border-width: 0; border-top: 2px dashed var(--accent); }
.pm-error { margin: 8px 10px 0; }
.pm-blocked { display: flex; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.pm-blocked form { margin-left: auto; }
.pm-opts { border: 0; padding: 0; margin: 0 0 12px; display: grid; gap: 6px; }
.pm-opts legend { font-weight: 700; margin-bottom: 6px; }
@media (max-width: 820px) {
  .pm-env { width: 36px; height: 36px; }
  .pm-thread { margin: 0 -16px; border-left: 0; border-right: 0; }
  .pm-messages { max-height: 60vh; }
  .pm-msg { max-width: 88%; }
  .pm-compose .btn span { display: none; }
  .pm-hint { display: none; }
  .pm-meta .report-btn { opacity: 1; }
}

/* ============================================================ Foros */
.forum-toolbar { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 12px; }
.forum-search { display: flex; gap: 6px; flex: 1; max-width: 460px; }
.forum-search input { margin: 0; flex: 1; }
.forum-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; padding-bottom: 60px; align-items: start; }
.forum-side { display: grid; gap: 16px; }
.forum-side .h3, .forum-results .h3 { margin-top: 0; display: flex; gap: 8px; align-items: center; }
.forum-cats { display: grid; gap: 10px; }
.forum-cat { --fc: var(--brand); display: grid; grid-template-columns: 48px minmax(0, 1fr) 70px minmax(0, 220px); gap: 14px; align-items: center; padding: 16px; background: var(--panel); border: 2px solid var(--line); border-left: 6px solid var(--fc); text-decoration: none; color: var(--text); transition: transform .15s, border-color .15s; }
.forum-cat:hover { transform: translateX(3px); border-color: var(--fc); }
.forum-cat-icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--fc) 22%, transparent); color: var(--fc); }
.forum-cat-main { display: grid; gap: 3px; min-width: 0; }
.forum-cat-main b { font: 400 1.3rem/1.1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.forum-cat-main small { color: var(--text-2); }
.forum-cat-stats { display: grid; text-align: center; } .forum-cat-stats b { font-size: 1.3rem; } .forum-cat-stats small { color: var(--muted); font-size: .75rem; }
.forum-cat-last { display: grid; gap: 2px; min-width: 0; font-size: .86rem; }
.forum-cat-last b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.forum-cat-last small { color: var(--muted); }
.forum-mini { display: grid; gap: 2px; padding: 9px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text); }
.forum-mini:last-of-type { border-bottom: 0; }
.forum-mini:hover b { color: var(--brand); }
.forum-mini small { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.forum-dot { --fc: var(--brand); width: 8px; height: 8px; border-radius: 50%; background: var(--fc); display: inline-block; }
.forum-rules { margin: 0; padding-left: 18px; display: grid; gap: 4px; }
.forum-cat-head, .forum-topic-head { border-bottom-color: var(--fc); }
.forum-topics { padding: 0; }
.forum-topics-head, .forum-topic-row { display: grid; grid-template-columns: minmax(0, 1fr) 110px 170px; gap: 14px; align-items: center; padding: 12px 18px; }
.forum-topics-head { font: 800 .72rem var(--sans); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); border-bottom: 2px solid var(--line); }
.forum-topic-row { border-bottom: 1px solid var(--line); }
.forum-topic-row:last-child { border-bottom: 0; }
.forum-topic-row:hover { background: var(--panel-2); }
.forum-topic-row.pinned { background: color-mix(in srgb, var(--accent) 9%, transparent); }
.forum-topic-row.is-pending { opacity: .75; }
.forum-topic-main { display: flex; gap: 12px; align-items: center; text-decoration: none; color: var(--text); min-width: 0; }
.forum-topic-main span { display: grid; gap: 2px; min-width: 0; }
.forum-topic-main b { font-weight: 700; overflow-wrap: anywhere; }
.forum-topic-n, .forum-topic-last { display: grid; gap: 1px; } .forum-topic-n { text-align: center; } .forum-topic-n small, .forum-topic-last small { font-size: .78rem; }
.forum-title { font: 400 clamp(1.8rem, 4vw, 2.6rem)/1.05 var(--display); text-transform: uppercase; margin: 0 0 8px; overflow-wrap: anywhere; }
.inline-form { display: inline; }
.link-btn { all: unset; cursor: pointer; color: var(--text-2); font: 600 .85rem var(--sans); display: inline-flex; gap: 4px; align-items: center; }
.link-btn:hover { color: var(--brand); text-decoration: underline; }
.link-btn.ok { color: var(--ok); }
.forum-modbar { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin-top: 12px; padding: 10px; background: var(--panel); border: 2px dashed var(--line-2); }
.forum-modbar select { width: auto; margin: 0; padding: 5px 8px; font-size: .85rem; }
.forum-thread { display: grid; gap: 16px; padding-bottom: 60px; max-width: 1000px; }
.forum-post { display: grid; grid-template-columns: 150px minmax(0, 1fr); background: var(--panel); border: 2px solid var(--line); scroll-margin-top: 140px; }
.forum-post.is-topic { border-color: var(--line-2); box-shadow: inset 0 4px 0 var(--fc, var(--brand)); }
.forum-post.is-pending { border-style: dashed; opacity: .85; }
.forum-post:target { border-color: var(--brand); }
.forum-author { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; padding: 16px 10px; border-right: 2px solid var(--line); background: var(--panel-2); }
.forum-author-name { font-weight: 800; text-decoration: none; color: var(--text); overflow-wrap: anywhere; }
.forum-body { padding: 14px 18px; display: grid; gap: 10px; min-width: 0; align-content: start; }
.forum-post-meta { display: flex; gap: 8px; align-items: center; font-size: .82rem; flex-wrap: wrap; }
.forum-post-meta a { text-decoration: none; }
.rt { line-height: 1.6; overflow-wrap: anywhere; }
.rt p { margin: 0 0 10px; } .rt p:last-child { margin-bottom: 0; }
.rt blockquote { margin: 0 0 10px; padding: 8px 12px; border-left: 4px solid var(--accent); background: var(--panel-2); color: var(--text-2); font-size: .94em; }
.rt .mention { font-weight: 700; text-decoration: none; }
.rt-video { position: relative; aspect-ratio: 16 / 9; max-width: 640px; margin: 0 0 10px; background: #000; }
.rt-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.forum-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; border-top: 1px dashed var(--line); padding-top: 8px; font-size: .85rem; }
.forum-actions a { color: var(--text-2); text-decoration: none; font-weight: 600; display: inline-flex; gap: 4px; align-items: center; }
.forum-actions a:hover { color: var(--brand); }
.forum-actions form { display: inline; }
.forum-actions .report-btn { margin-left: auto; }
.forum-reply { scroll-margin-top: 140px; }
.forum-reply-head { display: flex; gap: 10px; align-items: center; margin-bottom: 8px; }
.forum-help { margin: -4px 0 12px; color: var(--text-2); }
.forum-help summary { cursor: pointer; }
.forum-help ul { margin: 6px 0 0; padding-left: 18px; }
.forum-narrow { max-width: 820px; padding-bottom: 60px; }
.forum-home { display: grid; gap: 10px; }
.forum-home.cols { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.forum-home-item { --fc: var(--brand); display: flex; gap: 12px; align-items: center; padding: 12px 14px; background: var(--panel); border: 2px solid var(--line); border-left: 5px solid var(--fc); text-decoration: none; color: var(--text); }
.forum-home-item:hover { border-color: var(--fc); }
.forum-home-item span { display: grid; gap: 2px; min-width: 0; }
.side-forum .more { display: inline-block; margin-top: 8px; }
@media (max-width: 980px) {
  .forum-layout { grid-template-columns: 1fr; }
  .forum-cat { grid-template-columns: 42px minmax(0, 1fr) 54px; }
  .forum-cat-icon { width: 42px; height: 42px; }
  .forum-cat-last { display: none; }
}
@media (max-width: 680px) {
  .forum-topics-head { display: none; }
  .forum-topic-row { grid-template-columns: minmax(0, 1fr) 54px; padding: 12px; }
  .forum-topic-last { display: none; }
  .forum-post { grid-template-columns: 1fr; }
  .forum-author { flex-direction: row; flex-wrap: wrap; justify-content: flex-start; text-align: left; padding: 10px 14px; border-right: 0; border-bottom: 2px solid var(--line); gap: 8px; }
  .forum-author .avatar { width: 36px !important; height: 36px !important; }
  .forum-body { padding: 12px 14px; }
  .forum-cat-main b { font-size: 1.1rem; }
}
.bar-teaser-cta { display: grid; justify-items: center; gap: 6px; max-width: 280px; }
.bar-teaser-cta .btn { white-space: normal; text-align: center; line-height: 1.25; display: inline-flex; gap: 6px; align-items: center; }
.bar-teaser-online { font-size: .78rem; color: var(--text-2); display: flex; gap: 6px; align-items: center; }
.bar-teaser.has-bg .bar-teaser-online { color: rgba(255,255,255,.85); }
@media (max-width: 820px) { .bar-teaser-cta { justify-items: start; max-width: none; } }
.side-bar-btn { white-space: normal; text-align: center; line-height: 1.25; display: inline-flex; gap: 6px; align-items: center; }
