

:root {
  --font-sistema: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, Helvetica, Arial, sans-serif;
  --maroon: #6b1d2e;
  --maroon-dark: #4a1420;
  --gold: #c9a227;
  --cream: #faf6ee;
  --card-bg: #ffffff;
  --ink: #2a2321;
  --gray: #6b6058;
  --line: #e7ddd0;
  --taller: #5b3a8e;
  --regular: #1f6f7a;
  --particular: #b5651d;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-sistema);
  background: var(--cream);
  color: #2a2020;
  line-height: 1.5;
}

header.hoy-header {
  background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
  color: #fff;
  padding: 22px 20px;
  text-align: center;
}

header.hoy-header h1 { margin: 0 0 4px 0; font-family: var(--font-sistema); font-size: 1.5em; letter-spacing: 0.4px; font-weight: 700; }

header.hoy-header p { margin: 0; color: var(--gold); font-size: 0.85em; font-style: italic; }

header.hoy-header h1 a, header.hoy-header p a { color: inherit; text-decoration: none; }

header.hoy-header h1 a:hover, header.hoy-header p a:hover { text-decoration: underline; }

.site-logo { vertical-align: middle; margin-right: 8px; border-radius: 50%; background: #fff; }

.hoy-wrap { max-width: 560px; margin: 0 auto; padding: 20px 18px 40px; }

.hoy-day { min-height: unset; }

.hoy-nav { padding: 16px 14px 6px; text-align: center; border-top: 1px dashed #e0d5bd; margin-top: 4px; }

.hoy-progreso { display: block; font-size: 0.78rem; color: var(--gray); margin-bottom: 10px; }

.hoy-nav-row { display: flex; justify-content: center; align-items: center; gap: 10px; flex-wrap: wrap; }

.hoy-siguiente, .hoy-anterior { border-radius: 24px; font-weight: 600; font-size: 0.92rem; font-family: var(--font-sistema); cursor: pointer; transition: background 0.15s, color 0.15s; padding: 11px 22px; }

.hoy-siguiente { background: var(--maroon); color: #fff; border: none; }

.hoy-siguiente:hover { background: var(--maroon-dark); }

.hoy-anterior { background: #fff; color: var(--maroon); border: 1px solid var(--maroon); }

.hoy-anterior:hover { background: #f5ece0; }

.hoy-fin { color: var(--gray); font-style: italic; font-size: 0.88rem; }

.hoy-swipe-hint { display: none; margin-top: 10px; font-size: 0.74rem; color: #a8988a; letter-spacing: 0.3px; }

@media (max-width: 640px), (pointer: coarse) {
  .hoy-swipe-hint { display: block; }
}

.day-col { background: #fff; border-radius: 14px; box-shadow: 0 4px 18px rgba(107,29,46,0.12); display: flex; flex-direction: column; overflow: hidden; touch-action: pan-y; }

.day-header { background: var(--maroon); color: #fff; padding: 16px 18px; position: relative; }

.day-header.hoy { background: var(--gold); color: var(--maroon-dark); }

.day-name { font-family: var(--font-sistema); font-weight: 700; font-size: 1.35em; text-transform: capitalize; }

.day-date { font-size: 0.88em; opacity: 0.85; letter-spacing: 0.3px; }

.hoy-badge { position: absolute; top: 8px; right: 10px; background: var(--maroon-dark); color: var(--gold); font-size: 0.7em; font-weight: bold; padding: 2px 8px; border-radius: 8px; }

.day-body { padding: 16px; display: flex; flex-direction: column; gap: 14px; flex: 1; }

.empty { color: #a09080; font-style: italic; font-size: 0.85em; padding: 8px 0; }

.card { border: 1px solid #ecdfc9; border-left: 5px solid var(--maroon); border-radius: 8px; padding: 14px 16px; background: #fffdf9; font-size: 0.88em; box-shadow: 0 1px 3px rgba(0,0,0,0.04); }

.card.practica { border-left-color: #7a8c6b; }

.card.concierto { border-left-color: #2f5c73; }

.card.festival { border-left-color: var(--gold); }

.card.clase-regular { border-left-color: var(--regular); }

.card.clase-taller { border-left-color: var(--taller); }

.card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }

.type-badge { font-size: 0.68em; text-transform: uppercase; letter-spacing: 0.6px; font-weight: bold; padding: 2px 8px; border-radius: 10px; background: var(--maroon); color: #fff; }

.type-badge.practica { background: #7a8c6b; }

.type-badge.concierto { background: #2f5c73; }

.type-badge.festival { background: var(--gold); color: var(--maroon-dark); }
.type-badge.jornada { background: #be185d; }

.type-badge.clase-regular { background: var(--regular); }

.type-badge.clase-taller { background: var(--taller); }
.type-badge.cerrado { background: #dc2626; color: #fff; }

.et-wrap { display: inline-flex; gap: 4px; flex-wrap: wrap; align-items: center; }
.et { font-size: .64rem; font-weight: 700; letter-spacing: .03em; padding: 2px 9px; border-radius: 999px; line-height: 1.5; white-space: nowrap; background: #f3f4f6; color: #4b5563; }
.et.aire { background: #dcfce7; color: #166534; }
.et.gratis { background: #fef3c7; color: #92400e; }
.et.gorra { background: #ffedd5; color: #9a3412; }
.et.alt { background: #ede9fe; color: #5b21b6; }

.hours { font-weight: bold; color: var(--maroon-dark); font-size: 0.92em; font-family: var(--font-sistema); }

.card-title { font-family: var(--font-sistema); font-weight: 700; font-size: 1.15em; margin-bottom: 5px; color: var(--maroon-dark); }

.tag-especial { font-size: 0.65em; font-weight: normal; font-style: italic; color: #8a7a5a; }

.card-subtitle { font-size: 0.84em; font-style: italic; color: #7a6b5a; margin: -2px 0 5px 0; }

.card-logo { width: 18px; height: 18px; object-fit: contain; vertical-align: middle; margin-right: 5px; border-radius: 50%; }

.card-flyer { display: block; width: 100%; max-height: 280px; object-fit: contain; background: #efe6d2; border-radius: 10px; margin: 8px 0; cursor: zoom-in; }

.card-flyer-full { max-height: none; height: auto; margin-top: 4px; cursor: default; }

.card-destacada-img .card-head { margin-bottom: 6px; }

.card-title-inline { font-weight: 700; font-family: var(--font-sistema); color: var(--maroon-dark); text-align: right; margin-left: 8px; }

.popup-box .card-flyer { max-height: 420px; }

.fc-clicable { cursor: pointer; border-radius: 8px; transition: box-shadow 0.15s, transform 0.1s; }

.fc-clicable:hover, .fc-clicable:focus { box-shadow: 0 2px 10px rgba(107, 29, 46, 0.25); outline: none; }

.fc-clicable:hover .card, .fc-clicable:focus .card { border-left-color: var(--gold); }

a.fc-clicable { display: block; text-decoration: none; color: inherit; }

.popup-overlay { display: none; position: fixed; inset: 0; background: rgba(42, 32, 32, 0.55); z-index: 1000; align-items: center; justify-content: center; padding: 20px; }

.popup-overlay.active { display: flex; }

.popup-box { position: relative; background: var(--cream); border-radius: 14px; max-width: 420px; width: 100%; max-height: 85vh; overflow-y: auto; padding: 20px; box-shadow: 0 8px 30px rgba(0,0,0,0.3); }

.popup-box .card { font-size: 0.95em; }

.popup-label { font-size: 0.72em; text-transform: uppercase; letter-spacing: 0.5px; color: #8a7a5a; font-weight: bold; margin-bottom: 8px; }

.popup-close { position: absolute; top: 10px; right: 12px; background: none; border: none; font-size: 1.3em; line-height: 1; color: var(--maroon); cursor: pointer; padding: 2px 6px; }

.popup-close:hover { color: var(--maroon-dark); }

.img-lightbox-overlay { display: none; position: fixed; inset: 0; background: rgba(20, 12, 12, 0.88); z-index: 2000; align-items: center; justify-content: center; padding: 30px; }

.img-lightbox-overlay.active { display: flex; }

.img-lightbox-overlay img { max-width: 92vw; max-height: 92vh; object-fit: contain; border-radius: 8px; box-shadow: 0 8px 40px rgba(0,0,0,0.5); }

.img-lightbox-close { position: fixed; top: 16px; right: 22px; background: none; border: none; color: #fff; font-size: 2em; line-height: 1; cursor: pointer; z-index: 2001; }

.img-lightbox-close:hover { color: var(--gold); }

.line { margin: 2px 0; line-height: 1.35; }

.line.espacio { color: #4a4030; }

.line.espacio a, a.maps { color: var(--maroon); text-decoration: none; font-weight: 600; }

.line.espacio a:hover, a.maps:hover { text-decoration: underline; }

.tel a, a.tel { color: var(--maroon); text-decoration: none; font-weight: 600; }

.tel a:hover, a.tel:hover { text-decoration: underline; }

ul.timeline { list-style: none; margin: 6px 0 0 0; padding: 6px 0 0 0; border-top: 1px dashed #e0d5bd; }

ul.timeline li { font-size: 0.92em; margin: 3px 0; color: #4a4030; }

.t-time { display: inline-block; min-width: 42px; font-weight: bold; color: var(--maroon-dark); }

.t-badge { font-size: 0.68em; text-transform: uppercase; padding: 1px 5px; border-radius: 3px; background: #ded0b0; color: #4a3a1a; margin-right: 4px; }

.t-badge.milonga { background: var(--maroon); color: #fff; }

.t-badge.practica { background: #7a8c6b; color: #fff; }

.t-badge.show { background: #8a3a5c; color: #fff; }

.t-badge.clase { background: #3a6a4a; color: #fff; }

.t-badge.tdj, .t-badge.tdjr { background: #2f5c73; color: #fff; }

.t-badge.ropa, .t-badge.calzado, .t-badge.mercadillo { background: #a08840; color: #fff; }

footer.hoy-footer { text-align: center; padding: 16px; font-size: 0.78em; color: #7a6b5a; }

footer.hoy-footer a { color: var(--maroon); text-decoration: none; }

footer.hoy-footer a:hover { text-decoration: underline; }

footer.legal-footer {
  text-align: center;
  padding: 10px 16px 22px;
  font-size: 0.68em;
  color: #a89a89;
  border-top: 1px solid rgba(0,0,0,0.06);
  margin-top: 4px;
}

footer.legal-footer a { color: #a89a89; text-decoration: none; }

footer.legal-footer a:hover { color: var(--maroon); text-decoration: underline; }

footer.legal-footer .legal-sep { padding: 0 6px; color: #cfc3b4; }

.hoy-cargando { text-align: center; color: var(--gray); font-style: italic; padding: 40px 0; }

.card.nivel-bronce { border-left: 4px solid #b98a4a; background: #fffdf9; }

.card.nivel-plata { border-left: 6px solid #c9a227; background: linear-gradient(160deg, #fbf3d9 0%, #fffdf9 65%); }

.card.nivel-oro { border-left: 9px solid #ad841a; background: linear-gradient(160deg, #f3dfa0 0%, #fdf6e0 60%); }

.school-card.nivel-bronce, .class-card.nivel-bronce { border-left: 4px solid #b98a4a; }

.school-card.nivel-plata, .class-card.nivel-plata { border-left: 6px solid #c9a227; background: linear-gradient(160deg, #fbf3d9 0%, #fffdf9 65%); }

.school-card.nivel-oro, .class-card.nivel-oro { border-left: 9px solid #ad841a; background: linear-gradient(160deg, #f3dfa0 0%, #fdf6e0 60%); }

.hoy-tabs { max-width: 560px; margin: 0 auto; padding: 14px 18px 0; display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }

.hoy-tab-btn { flex: 1; max-width: 220px; min-width: 96px; border: 1px solid var(--maroon); background: #fff; color: var(--maroon); border-radius: 24px; font-family: var(--font-sistema); font-weight: 600; font-size: 0.86rem; padding: 9px 14px; cursor: pointer; transition: background 0.15s, color 0.15s; text-decoration: none; text-align: center; }

.hoy-tab-btn:hover { background: #f5ece0; }

.hoy-tab-btn.active { background: var(--maroon); color: #fff; }

.particulares-list, .escuelas-list { display: flex; flex-direction: column; gap: 4px; }

.teacher-chip { display: inline-block; background: #f4ece0; color: var(--maroon-dark); border-radius: 999px; padding: 3px 12px; font-size: 0.78rem; margin: 3px 4px 0 0; font-weight: 600; }

.class-card { background: var(--card-bg); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; margin-bottom: 12px; box-shadow: 0 2px 6px rgba(0,0,0,0.04); }

.class-card .top-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }

.class-card h4 { margin: 0 0 4px; font-size: 1.02rem; color: var(--ink); }

.class-card .meta { font-size: 0.82rem; color: var(--gray); margin: 2px 0; }

.class-card .addr { font-size: 0.82rem; color: var(--ink); margin: 2px 0; }

.class-card .teachers { margin-top: 8px; }

.class-card-flyer { display: block; height: 180px; width: auto; max-width: 100%; object-fit: contain; background: #efe6d2; border-radius: 8px; margin: 8px auto; }

.tag { display: inline-block; font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.3px; padding: 4px 10px; border-radius: 999px; color: #fff; white-space: nowrap; }

.tag.regular { background: var(--regular); }

.tag.taller { background: var(--taller); }

.tag.particular { background: var(--particular); }

.school-card { background: var(--card-bg); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; margin-bottom: 12px; box-shadow: 0 2px 6px rgba(0,0,0,0.04); }

.school-card h3 { margin: 0 0 6px; font-size: 1.12rem; color: var(--maroon-dark); }

.contact-row { font-size: 0.85rem; margin: 4px 0; color: var(--ink); display: flex; gap: 6px; align-items: baseline; }

.contact-row a { color: var(--maroon); text-decoration: none; }

.contact-row a:hover { text-decoration: underline; }

.contact-row .lbl { color: var(--gray); min-width: 64px; flex-shrink: 0; }

.contact-row.addr { font-weight: 500; }

.bcn-day-picker { display: flex; gap: 5px; overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 560px; margin: 0 auto; padding: 14px 12px 4px; }

.bcn-day-pick { flex: 0 0 auto; border-radius: 10px; border: 1px solid var(--maroon); background: #fff; color: var(--maroon); font-family: var(--font-sistema); padding: 5px 9px; cursor: pointer; transition: background 0.15s, color 0.15s; display: flex; flex-direction: column; align-items: center; line-height: 1.15; }

.bcn-day-pick .wd { font-size: 0.6rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.3px; }

.bcn-day-pick .num { font-size: 0.92rem; font-weight: 700; font-family: var(--font-sistema); }

.bcn-day-pick:hover { background: #f5ece0; }

.bcn-day-pick.active { background: var(--maroon); color: #fff; border-color: var(--maroon); }

.day-header.bcn-extra-header { text-align: center; }

.card-date { font-weight: 600; color: var(--gray); font-size: 0.78em; }

.bcn-send-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; padding: 14px 16px 0; }

.bcn-send-btn { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--maroon); color: var(--maroon); border-radius: 20px; padding: 7px 16px; font-family: var(--font-sistema); font-weight: 600; font-size: 0.78rem; cursor: pointer; text-decoration: none; transition: background 0.15s, color 0.15s; }

.bcn-send-btn:hover { background: #f5ece0; }

.bcn-cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 3000; background: var(--cream); border-top: 1px solid rgba(0,0,0,0.08); box-shadow: 0 -4px 18px rgba(0,0,0,0.12); padding: 14px 18px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; }

.bcn-cookie-banner[hidden] { display: none; }

.bcn-cookie-banner p { margin: 0; font-size: 0.82rem; color: var(--ink); max-width: 640px; text-align: center; line-height: 1.4; }

.bcn-cookie-banner a { color: var(--maroon); text-decoration: underline; }

.bcn-cookie-actions { display: flex; gap: 8px; flex-shrink: 0; }

.bcn-cookie-btn { border-radius: 20px; padding: 8px 18px; font-family: var(--font-sistema); font-weight: 600; font-size: 0.82rem; cursor: pointer; transition: background 0.15s, color 0.15s; border: 1px solid var(--maroon); }

.bcn-cookie-accept { background: var(--maroon); color: #fff; }

.bcn-cookie-accept:hover { background: var(--maroon-dark); }

.bcn-cookie-reject { background: #fff; color: var(--maroon); }

.bcn-cookie-reject:hover { background: #f5ece0; }

@media (max-width: 480px) {
  .bcn-cookie-banner { flex-direction: column; }
}

.ficha-wrap { max-width: 560px; margin: 0 auto; padding: 20px 18px 40px; }
.ficha-volver { display: inline-block; margin-bottom: 16px; color: var(--maroon); text-decoration: none; font-weight: 600; font-size: 0.92rem; }
.ficha-volver:hover { text-decoration: underline; }
.ficha-dia-label { font-size: 0.85em; color: var(--gray); margin-bottom: 10px; text-transform: capitalize; }
.ficha-compartir { margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(0,0,0,0.08); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.compartir-label { font-size: 0.85em; color: var(--gray); }
.compartir-btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; font-size: 0.85em; font-weight: 600; text-decoration: none; border: 1px solid rgba(0,0,0,0.15); cursor: pointer; background: #fff; color: inherit; }
.compartir-btn:hover { background: rgba(0,0,0,0.05); }
.compartir-whatsapp { border-color: #25D366; color: #128C3E; }
.ficha-actualizar { margin-top: 10px; }
.compartir-comentario { border-color: var(--maroon); color: var(--maroon); }

.lugar-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.lugar-tag { display: inline-block; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.3px; color: var(--gray, #666); background: var(--cream, #faf7f2); border: 1px solid var(--line, #e5e0d8); border-radius: 999px; padding: 1px 9px; }

.ficha-descripcion { margin: 14px 0 6px; line-height: 1.6; }
.ficha-descripcion p { margin: 0 0 0.6em; }
.card .line.descripcion { line-height: 1.5; margin: 6px 0 8px; }

.hoy-wrap.semana-activa { max-width: 1100px; }

@media (min-width: 1300px) {
  .hoy-wrap.semana-activa { max-width: 1600px; }
}

.bcn-semana-page .day-header { border-radius: 14px 14px 0 0; }

.bcn-week-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 14px; padding: 4px 0 8px; align-items: start; }

@media (max-width: 480px) {
  .bcn-week-grid { grid-template-columns: 1fr; }
}

.bcn-day-pick-plus, .bcn-day-pick-semana { justify-content: center; }

.bcn-day-pick-plus .plus, .bcn-day-pick-semana .semana-tag { font-size: 1.55rem; font-weight: 700; line-height: 1; font-family: var(--font-sistema); }

.bcn-send-btn .ico-clasica, .bcn-send-btn .ico-anuncios, .bcn-send-btn .ico-anuncios-imagen { width: 16px; height: 16px; flex-shrink: 0; }

html[data-seccion] header.hoy-header { background: var(--s-acento); color: #fff; max-width: none; padding: 18px max(16px, calc(50% - 262px)) 16px;
  display: grid; grid-template-columns: auto 1fr; column-gap: 18px; align-items: center; }
html[data-seccion] header.hoy-header > a.logo-link { grid-row: 1 / span 2; display: inline-flex; }
html[data-seccion] header.hoy-header > a.logo-link:hover { opacity: .85; }
html[data-seccion] header.hoy-header .site-logo { width: 96px; height: 96px; margin: 0; border: 3px solid #fff; }
html[data-seccion] header.hoy-header h1 { grid-column: 2; align-self: end; font-size: 1.9rem; margin: 0; }
html[data-seccion] header.hoy-header .cab-titulo { color: #fff; }
html[data-seccion] header.hoy-header p { grid-column: 2; align-self: start; color: #DCEBF8; font-style: normal; font-size: .95rem; margin: 6px 0 0 0; }
@media (max-width: 600px) {
  html[data-seccion] header.hoy-header { column-gap: 12px; }
  html[data-seccion] header.hoy-header .site-logo { width: 72px; height: 72px; }
  html[data-seccion] header.hoy-header h1 { font-size: 1.35rem; }
  html[data-seccion] header.hoy-header p { font-size: .85rem; }
}

html[data-seccion] header.hoy-header h1 { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
html[data-seccion] header.hoy-header .cab-titulo { margin-right: 4px; }
html[data-seccion] header.hoy-header .cab-botones { display: inline-flex; flex-wrap: wrap; gap: 10px; }
header.hoy-header h1 a.btn-festivales, header.hoy-header h1 a.btn-milongas, header.hoy-header h1 a.btn-anuncios { display: inline-block; color: #fff; font-style: normal; font-weight: 700; font-size: .85rem; letter-spacing: 0; padding: 6px 14px; border-radius: 999px; text-decoration: none; }
header.hoy-header h1 a.btn-festivales { background: #52705A; box-shadow: 0 0 0 2px #A9C2AE; }
header.hoy-header h1 a.btn-festivales:hover { background: #3F5846; text-decoration: none; opacity: 1; }
header.hoy-header h1 a.btn-milongas { background: #934B40; box-shadow: 0 0 0 2px #D9A89E; }
header.hoy-header h1 a.btn-milongas:hover { background: #7A3B32; text-decoration: none; opacity: 1; }
header.hoy-header h1 a.btn-anuncios { background: #8C6A1F; box-shadow: 0 0 0 2px #CBBC9A; }
header.hoy-header h1 a.btn-anuncios:hover { background: #705519; text-decoration: none; opacity: 1; }
@media (max-width: 600px) {
  html[data-seccion] header.hoy-header h1 { gap: 8px 10px; }
  html[data-seccion] header.hoy-header .cab-botones { flex: 1 1 100%; min-width: 0; gap: 6px 8px; }
  header.hoy-header h1 a.btn-festivales, header.hoy-header h1 a.btn-milongas, header.hoy-header h1 a.btn-anuncios { font-size: .75rem; padding: 5px 11px; }
}

:root {
  --maroon: #111827; --maroon-dark: #000; --gold: #b45309; --cream: #fff;
  --ink: #111827; --gray: #6b7280; --line: #eceef1;
  --acc: #be123c;
}
body { background: #fff; color: #111827; letter-spacing: -0.005em; -webkit-font-smoothing: antialiased; }

header.hoy-header { background: #fff; color: #111827; text-align: left; max-width: 640px; margin: 0 auto; padding: 26px 20px 6px; }
header.hoy-header h1 { font-size: 1.55rem; font-weight: 700; letter-spacing: -0.03em; margin: 0; }
header.hoy-header h1 a { display: inline-flex; align-items: center; gap: 10px; }
header.hoy-header h1 a:hover { text-decoration: none; opacity: .75; }
header.hoy-header p { color: #6b7280; font-style: normal; font-size: .95rem; margin: 2px 0 0 42px; }
.site-logo { width: 32px; height: 32px; margin: 0; border: 1px solid #eceef1; }

.bcn-send-row { justify-content: flex-start; max-width: 640px; margin: 0 auto; padding: 12px 20px 0; gap: 8px; }
.bcn-send-btn { background: #0f3a5f; border: none; color: #fff; font-weight: 700; font-size: .8rem; padding: 8px 15px; border-radius: 999px; }
.bcn-send-btn:hover { background: #0b2c49; }
.bcn-send-btn svg { color: #74acdf; }

#bcn-picker { display: block; max-width: 640px; padding: 0; overflow: visible; }
#bcn-picker .bcn-day-picker { max-width: 640px; padding: 16px 20px 4px; gap: 8px; margin: 0 auto; }
.bcn-day-pick { border: none; background: #e8eef4; color: #0f3a5f; border-radius: 14px; padding: 8px 0; min-width: 46px; }
.bcn-day-pick:hover { background: #d6e2ee; }
.bcn-day-pick.active { background: #0f3a5f; color: #fff; box-shadow: 0 0 0 3px #74acdf; }
.bcn-day-pick .wd { font-weight: 700; color: inherit; opacity: .85; }
.bcn-day-pick .num { font-weight: 800; }
.bcn-day-pick.active .wd { opacity: 1; color: #74acdf; }

.hoy-wrap, .an-wrap { max-width: 640px; padding: 8px 20px 40px; }
.hoy-wrap.semana-activa { max-width: 1100px; }
.day-col { background: transparent; box-shadow: none; border-radius: 0; overflow: visible; }

.day-header, .day-header.hoy { background: #74acdf; color: #06233d; padding: 14px 18px; border-radius: 16px; margin: 14px 0 4px; position: static; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.day-name { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.03em; }
.day-date { font-size: 1.6rem; font-weight: 500; letter-spacing: -0.03em; color: #0b3558; opacity: .8; }
.hoy-badge { position: static; margin-left: auto; align-self: center; background: #0f3a5f; color: #fff; font-size: .68rem; letter-spacing: .05em; padding: 3px 10px; border-radius: 999px; }
.day-header.bcn-extra-header { text-align: left; }
.day-body { padding: 0; gap: 0; }

a.fc-clicable { border-radius: 0; border-bottom: 1px solid #eef0f2; }
.day-body > a.fc-clicable:last-child, .an-list > a.fc-clicable:last-child { border-bottom: none; }
.fc-clicable:hover, .fc-clicable:focus { box-shadow: none; }
.card[class], .fc-clicable:hover .card, .fc-clicable:focus .card {
  display: block; background: transparent; border: none; border-radius: 0; box-shadow: none;
  padding: 18px 0; font-size: .92rem;
}
.card[class]:has(> .card-flyer) { position: relative; padding-right: 108px; min-height: 128px; }
.card > .card-flyer {
  position: absolute; right: 0; top: 18px; width: 92px; height: 92px; max-height: none; margin: 0;
  object-fit: cover; object-position: center top; border-radius: 12px; background: #f3f4f6; cursor: inherit;
  transition: transform .2s;
}
.fc-clicable:hover .card-flyer { transform: scale(1.04); }

.card-head { display: flex; flex-direction: row-reverse; justify-content: flex-end; align-items: center; gap: 4px 8px; flex-wrap: wrap; margin: 0 0 5px; }
.hours { white-space: nowrap; color: #6b7280; font-weight: 600; font-size: .84rem; font-variant-numeric: tabular-nums; }
.type-badge[class] { background: #f3f4f6; color: #4b5563; font-size: .64rem; letter-spacing: .05em; padding: 2px 9px 2px 7px; border-radius: 999px; display: inline-flex; align-items: center; gap: 5px; }
.type-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #be123c; }
.type-badge.practica::before { background: #65a30d; }
.type-badge.concierto::before { background: #0369a1; }
.type-badge.festival::before { background: #ca8a04; }
.type-badge.jornada::before { background: #db2777; }
.type-badge.clase-regular::before { background: #0f766e; }
.type-badge.clase-taller::before { background: #7c3aed; }
.type-badge.anuncio::before { background: #b45309; }

.type-badge.cerrado[class] { background: #dc2626; color: #fff; order: -1; }
.type-badge.cerrado::before { background: #fff; }
.et-wrap { order: -1; }

.card-head .type-badge.milonga ~ .type-badge.festival { order: -1; }

.bcn-week-grid .card-head { flex-direction: row; justify-content: flex-start; }
.bcn-week-grid .et-wrap, .bcn-week-grid .type-badge.cerrado[class], .bcn-week-grid .card-head .type-badge.festival { order: 0; }

.card-title { color: #111827; font-size: 1.06rem; font-weight: 650; letter-spacing: -0.02em; line-height: 1.28; margin: 0 0 4px; }
.tag-especial { color: #9ca3af; }
.line { color: #6b7280; font-size: .86rem; margin: 1px 0; }
.line b { color: #374151; font-weight: 600; }
.line.espacio a, a.maps, .tel a, a.tel { color: #374151; }
.anuncio-card .line { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fc-clicable:hover .card-title { color: #be123c; }

.card.nivel-plata, .card.nivel-oro { border-radius: 16px; padding: 16px 14px; margin: 6px -14px; }
.card.nivel-plata { background: #fffdf2; }
.card.nivel-oro { background: #fffbeb; box-shadow: inset 0 0 0 1px #fde68a; }
a.fc-clicable:has(.nivel-oro), a.fc-clicable:has(.nivel-plata) { border-bottom-color: transparent; }

.bcn-week-grid .day-header { display: block; padding: 6px 12px; margin: 0 0 6px; border-radius: 10px; }

.hoy-wrap.semana-activa .day-header, .hoy-wrap.semana-activa .day-header.hoy { background: #dcebf8; color: #0b3558; }
.hoy-wrap.semana-activa .day-header.bcn-extra-header { padding: 8px 14px; margin: 8px 0 8px; border-radius: 12px; }
.hoy-wrap.semana-activa .day-header.bcn-extra-header .day-name { font-size: 1.05rem; }
.hoy-wrap.semana-activa .day-name { font-weight: 700; }
.hoy-wrap.semana-activa .day-date { color: #0b3558; opacity: .7; }
.hoy-wrap.semana-activa .day-header.hoy { background: #bcd9f1; }
.bcn-week-grid .day-name, .bcn-week-grid .day-date { font-size: 1rem; }
.bcn-week-grid .card[class]:has(> .card-flyer) { padding: 12px 0; min-height: 0; }
.bcn-week-grid .card > .card-flyer { position: static; width: 100%; height: auto; aspect-ratio: 1; margin: 6px 0; }
.bcn-week-grid .card.nivel-plata, .bcn-week-grid .card.nivel-oro { margin: 4px -8px; padding: 12px 8px; }

.hoy-nav { border-top: 1px solid #eef0f2; margin-top: 8px; padding: 18px 0 6px; }
.hoy-siguiente { background: #111827; border-radius: 999px; font-weight: 600; padding: 11px 22px; }
.hoy-siguiente:hover { background: #374151; }
.hoy-anterior { background: #fff; color: #111827; border: 1px solid #e5e7eb; border-radius: 999px; }
.hoy-anterior:hover { background: #f9fafb; }
.an-intro { max-width: 640px; text-align: left; padding: 16px 20px 0; }
.an-intro p { color: #6b7280; font-size: .92rem; }
.an-list { gap: 0; }
.an-mas { padding-top: 16px; }
.empty { color: #9ca3af; font-style: normal; }

footer.hoy-footer, footer.legal-footer { color: #9ca3af; border-top: none; }
footer.hoy-footer a, footer.legal-footer a { color: #6b7280; }
footer.hoy-footer a:hover, footer.legal-footer a:hover { color: #111827; }
.bcn-cookie-banner { left: 12px; right: 12px; bottom: 12px; max-width: 640px; margin: 0 auto; background: #fff; border: 1px solid #e5e7eb; border-radius: 16px; box-shadow: 0 12px 32px rgba(17,24,39,.14); }
.bcn-cookie-banner p, .bcn-cookie-banner a { color: #4b5563; }
.bcn-cookie-btn { border-radius: 999px; }
.bcn-cookie-accept { background: #111827; border-color: #111827; color: #fff; }
.bcn-cookie-accept:hover { background: #374151; }
.bcn-cookie-reject { background: #fff; color: #111827; border-color: #e5e7eb; }
.popup-box, .send-modal-box { background: #fff; }

.bcn-week-grid .card-head { flex-direction: column; align-items: flex-start; gap: 4px; }

body .ficha-wrap { max-width: 640px; padding: 20px 20px 40px; }
body .ficha-volver { color: #111827; font-weight: 600; }
body .ficha-dia-label { color: #6b7280; }
.card[class]:has(> .card-flyer-full) { padding: 14px 0; min-height: 0; }
.card > .card-flyer.card-flyer-full { position: static; width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; border-radius: 14px; margin: 10px 0; background: #f3f4f6; cursor: zoom-in; }
.anuncio-ficha .line { display: block; -webkit-line-clamp: unset; overflow: visible; }
.card.anuncio-ficha .line { font-size: .95rem; }
body .ficha-compartir { border-top: 1px solid #eef0f2; }
body .compartir-btn { border: none; background: #f3f4f6; color: #111827; border-radius: 999px; }
body .compartir-btn:hover { background: #e5e7eb; }
body .compartir-whatsapp { background: #dcfce7; color: #166534; }
body .compartir-comentario { background: #111827; color: #fff; }
body .compartir-comentario:hover { background: #374151; }
.card.nivel-plata > .card-flyer, .card.nivel-oro > .card-flyer { right: 14px; top: 16px; }
.card.nivel-plata:has(> .card-flyer), .card.nivel-oro:has(> .card-flyer) { padding-right: 122px; }
.bcn-week-grid .card.nivel-plata > .card-flyer, .bcn-week-grid .card.nivel-oro > .card-flyer { right: auto; top: auto; }

a.fc-clicable { border-bottom: none; border-radius: 18px; transition: transform .18s, box-shadow .18s; }
.fc-clicable:hover, .fc-clicable:focus { box-shadow: 0 8px 24px rgba(17,24,39,.10); transform: translateY(-2px); }
.day-body, .an-list { gap: 12px; }
.card[class], .fc-clicable:hover .card, .fc-clicable:focus .card { background: #fff; border: 1px solid #e5e7eb; border-radius: 18px; padding: 14px; }
.fc-clicable:hover .card { border-color: #9ca3af; }
.card[class]:has(> .card-flyer) { padding-left: 124px; padding-right: 14px; min-height: 156px; }
.card > .card-flyer { left: 14px; right: auto; top: 14px; width: 96px; height: 128px; border-radius: 12px; box-shadow: 0 2px 8px rgba(17,24,39,.15); }
.fc-clicable:hover .card-flyer { transform: none; }
.card.nivel-plata, .card.nivel-oro { margin: 0; padding: 14px; border-radius: 18px; }
.card.nivel-plata { background: #fffdf2; border-color: #f3e3a0; box-shadow: none; }
.card.nivel-oro { background: #fffbeb; border-color: #e6b93a; box-shadow: 0 0 0 1px rgba(230,185,58,.25); }
.card.nivel-plata:has(> .card-flyer), .card.nivel-oro:has(> .card-flyer) { padding-left: 124px; padding-right: 14px; }
.card.nivel-plata > .card-flyer, .card.nivel-oro > .card-flyer { left: 14px; right: auto; top: 14px; }
a.fc-clicable:has(.nivel-oro), a.fc-clicable:has(.nivel-plata) { border-bottom: none; }
.card[class]:has(> .card-flyer-full) { padding: 14px; min-height: 0; }
.bcn-week-grid .card[class], .bcn-week-grid .card.nivel-plata, .bcn-week-grid .card.nivel-oro { padding: 10px; margin: 0; }
.bcn-week-grid .card[class]:has(> .card-flyer) { padding: 10px; min-height: 0; }
.bcn-week-grid .card > .card-flyer { aspect-ratio: 3 / 4; }
.hoy-nav { border-top: none; }

@media (max-width: 480px) {
  .bcn-week-grid .day-header {
    display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
    padding: 14px 18px; margin: 14px 0 4px; border-radius: 16px;
  }
  .bcn-week-grid .day-name, .bcn-week-grid .day-date { font-size: 1.6rem; }
  .bcn-week-grid .card-head {
    flex-direction: row-reverse; justify-content: flex-end; align-items: center;
    gap: 4px 8px; flex-wrap: wrap; margin: 0 0 5px;
  }
  .bcn-week-grid .et-wrap, .bcn-week-grid .type-badge.cerrado[class] { order: -1; }
  .bcn-week-grid .card[class], .bcn-week-grid .card.nivel-plata, .bcn-week-grid .card.nivel-oro {
    padding: 14px; margin: 0; border-radius: 18px;
  }
  .bcn-week-grid .card[class]:has(> .card-flyer) {
    padding-left: 124px; padding-right: 14px; min-height: 156px;
  }
  .bcn-week-grid .card > .card-flyer {
    position: absolute; left: 14px; right: auto; top: 14px;
    width: 96px; height: 128px; aspect-ratio: auto; margin: 0;
    border-radius: 12px; box-shadow: 0 2px 8px rgba(17,24,39,.15);
  }
  .bcn-week-grid .card.nivel-plata:has(> .card-flyer),
  .bcn-week-grid .card.nivel-oro:has(> .card-flyer) {
    padding-left: 124px; padding-right: 14px;
  }
  .bcn-week-grid .card.nivel-plata > .card-flyer,
  .bcn-week-grid .card.nivel-oro > .card-flyer {
    left: 14px; right: auto; top: 14px;
  }
}

.type-badge.st-ok::before, .type-badge.st-hab::before, .type-badge.st-sin::before, .type-badge.st-canc::before,
.leyenda-estado .lp { width: 8px !important; height: 8px !important; border-radius: 50%; flex: none; }
.type-badge.st-ok::before, .leyenda-estado .lp.st-ok { background: #22c55e !important; }
.type-badge.st-hab::before, .leyenda-estado .lp.st-hab { background: #bbf7d0 !important; box-shadow: inset 0 0 0 1.5px #16a34a; }
.type-badge.st-sin::before { background: #ffffff !important; }
.leyenda-estado .lp.st-sin { background: #ffffff; box-shadow: inset 0 0 0 1px #9ca3af; }
.type-badge.st-canc::before, .leyenda-estado .lp.st-canc { background: #dc2626 !important; }
.leyenda-estado { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; font-size: .78rem; color: #6b7280; margin: 8px 0 4px; }
.leyenda-estado span.it { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }

html[data-seccion] {
  --ml-maroon: var(--s-acento); --ml-accent: var(--s-acento-osc);
  --ml-day-bg: var(--s-acento); --ml-day-ink: #FFFFFF;
  --cream: var(--s-suave); --line: var(--s-linea);
  --s-fecha: var(--s-tinta);
}

html[data-seccion="barcelona"] {
  --s-acento: #0F3A5F; --s-acento-osc: #0B2C49; --s-claro: #74ACDF; --s-tinta: #06233D;
  --s-suave: #DCEBF8;  --s-hoy: #BCD9F1;        --s-pastilla: #E8EEF4; --s-pastilla-hover: #D6E2EE;
  --s-fondo: #FFFFFF;  --s-linea: #ECEEF1;
  --s-fecha: #0B3558;
  --cream: #FFFFFF;
}
html[data-seccion="milongas"] {
  --s-acento: #934B40; --s-acento-osc: #7A3B32; --s-claro: #D9A89E; --s-tinta: #4A231D;
  --s-suave: #F7EEEB;  --s-hoy: #EFDCD6;        --s-pastilla: #F3E6E2; --s-pastilla-hover: #EAD5CF;
  --s-fondo: #FAF8F4;  --s-linea: #EADBD6;
}
html[data-seccion="festivales"] {
  --s-acento: #52705A; --s-acento-osc: #3F5846; --s-claro: #A9C2AE; --s-tinta: #22342A;
  --s-suave: #E8EFE9;  --s-hoy: #D3E0D6;        --s-pastilla: #EBF1EC; --s-pastilla-hover: #DCE7DE;
  --s-fondo: #F6F8F5;  --s-linea: #DCE5DE;
}
html[data-seccion="conciertos"] {
  --s-acento: #5E3A6E; --s-acento-osc: #4A2C58; --s-claro: #B9A1C6; --s-tinta: #2A1733;
  --s-suave: #F0EAF3;  --s-hoy: #E0D4E7;        --s-pastilla: #F2EDF5; --s-pastilla-hover: #E6DCEC;
  --s-fondo: #F8F6F9;  --s-linea: #E3D9E8;
}
html[data-seccion="reserva"] {
  --s-acento: #8C6A1F; --s-acento-osc: #705519; --s-claro: #CBBC9A; --s-tinta: #3F300E;
  --s-suave: #F1EDE4;  --s-hoy: #E3DBC9;        --s-pastilla: #F4F0E9; --s-pastilla-hover: #EAE4D7;
  --s-fondo: #FAF9F6;  --s-linea: #E8E1D2;
}

html[data-seccion] body { background: var(--s-fondo); }
html[data-seccion] .bcn-send-btn { background: var(--s-acento); color: #fff; }
html[data-seccion] .bcn-send-btn:hover { background: var(--s-acento-osc); }
html[data-seccion] .bcn-send-btn svg { color: var(--s-claro); }
html[data-seccion] .hoy-siguiente, html[data-seccion] .bcn-cookie-accept { background: var(--s-acento); border-color: var(--s-acento); color: #fff; }
html[data-seccion] .hoy-siguiente:hover, html[data-seccion] .bcn-cookie-accept:hover { background: var(--s-acento-osc); }

html[data-seccion] .bcn-day-pick { background: var(--s-pastilla); color: var(--s-acento); }
html[data-seccion] .bcn-day-pick:hover { background: var(--s-pastilla-hover); }
html[data-seccion] .bcn-day-pick.active { background: var(--s-acento); color: #fff; box-shadow: 0 0 0 3px var(--s-claro); }
html[data-seccion] .bcn-day-pick.active .wd { color: var(--s-claro); }
html[data-seccion] .day-header, html[data-seccion] .day-header.hoy { background: var(--s-claro); color: var(--s-tinta); }
html[data-seccion] .day-date { color: var(--s-fecha); }
html[data-seccion] .hoy-badge { background: var(--s-acento); color: #fff; }
html[data-seccion] .hoy-wrap.semana-activa .day-header { background: var(--s-suave); color: var(--s-fecha); }
html[data-seccion] .hoy-wrap.semana-activa .day-header.hoy { background: var(--s-hoy); }
html[data-seccion] .hoy-wrap.semana-activa .day-date { color: var(--s-fecha); }

html[data-seccion] .milonga-hero h1, html[data-seccion] .milongas-titulo { color: var(--s-acento); }
html[data-seccion] main a.fc-clicable:hover .card.milonga[class] { border-color: var(--s-acento); }
html[data-seccion] main .card.milonga .hours { color: var(--s-acento); }
html[data-seccion] main .card.milonga .type-badge::before,
html[data-seccion] main .milonga-tipo .type-badge::before { background: var(--s-suave); }
html[data-seccion] .index-dia-group h2 { background: var(--s-acento); color: #fff; }
html[data-seccion] .milongas-chip { background: var(--s-suave); border-color: var(--s-linea); color: var(--s-acento); }
html[data-seccion] .milongas-chip:hover { border-color: var(--s-acento); color: var(--s-acento-osc); }
html[data-seccion] .milongas-chip.active { background: var(--s-acento); border-color: var(--s-acento); color: #fff; }
html[data-seccion] .milongas-search-input { border-color: var(--s-linea); }
html[data-seccion] .milongas-search-input:focus { outline-color: var(--s-acento); }
html[data-seccion] .teacher-chip, html[data-seccion] .milonga-provincia,
html[data-seccion] .milonga-card .provincia-tag { background: var(--s-suave); color: var(--s-acento); border-color: var(--s-linea); }
html[data-seccion] .lugar-tag { background: var(--s-suave); color: var(--s-acento); border-color: var(--s-linea); }
html[data-seccion] .edicion-item { border-left-color: var(--s-acento); }

html[data-seccion] .type-badge.cerrado[class],
html[data-seccion] main .card.milonga .type-badge.cerrado[class] { background: #DC2626; color: #fff; }

html[data-seccion] main .card.milonga .type-badge.practica::before,
html[data-seccion] main .milonga-tipo .type-badge.practica::before { background: #65A30D; }
html[data-seccion] main .card.milonga .type-badge.cerrado::before,
html[data-seccion] main .milonga-tipo .type-badge.cerrado::before { background: #FFFFFF; }

html[data-seccion] main .card.jornada .hours { color: var(--s-acento); }
html[data-seccion] main a.fc-clicable:hover .card.jornada[class] { border-color: var(--s-acento); }
