/* Mapa de Leonida — Juegos 8k
   Diseño: el mapa es la página; el panel y la ficha flotan encima como cristal.
   Paleta: tinta de bahía, arena, bruma, flamingo (único acento) y oro para Easter eggs. */
:root {
  --tinta: #111417;
  --tinta-2: #191d22;
  --tinta-3: #242a31;
  --arena: #eceef0;
  --bruma: #8d959d;
  --flamingo: #d9b36c;
  --oro: #f2b705;
  --verde: #6fbf8f;
  --linea: rgba(236, 238, 240, .09);
  --cristal: rgba(17, 20, 23, .9);
  --sombra: 0 18px 48px rgba(3, 10, 14, .5);
  --barra-alto: 56px;
  --titulos: "Barlow Condensed", "Inter", system-ui, sans-serif;
  --texto: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--tinta); color: var(--arena); font: 15px/1.55 var(--texto); -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--flamingo); }
h1, h2, h3, h4 { font-family: var(--titulos); font-weight: 600; line-height: 1.15; margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--flamingo); outline-offset: 2px; border-radius: 4px; }

/* ---------- Barra superior ---------- */
.barra { position: sticky; top: 0; z-index: 2000; height: var(--barra-alto); display: flex; align-items: center; gap: 18px; padding: 0 20px; background: var(--tinta); border-bottom: 1px solid var(--linea); }
.marca { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--arena); font-family: var(--titulos); font-weight: 600; white-space: nowrap; }
.marca-logo { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--flamingo); color: var(--tinta); font-weight: 700; font-size: 13px; padding-top: 2px; }
.titulo { flex: 1; min-width: 0; font-size: 18px; padding-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--bruma); }
.nav { display: flex; gap: 22px; }
.nav a { color: var(--arena); text-decoration: none; font-size: 14px; padding: 6px 0; border-bottom: 1px solid transparent; }
.nav a:hover { border-bottom-color: var(--flamingo); }
.idioma { display: flex; align-items: center; gap: 2px; }
.idioma-etq { font-size: 13px; color: var(--bruma); margin-right: 6px; }
.idioma-btn { border: 0; background: none; padding: 5px 9px; border-radius: 999px; cursor: pointer; font-size: 13px; font-weight: 600; color: var(--bruma); }
.idioma-btn[aria-pressed="true"] { background: var(--arena); color: var(--tinta); }

/* ---------- Anuncios: invisibles hasta que pegues el código de AdSense ---------- */
.ads-slot { display: block; text-align: center; max-width: 100%; }
.ads-slot:empty { display: none; }
.ads-arriba { margin: 10px auto; }
.ads-lateral { margin: 18px 0 4px; }
.ads-tarjeta { margin: 16px 0 0; }

/* ---------- Mapa a pantalla completa con panel flotante ---------- */
.app { position: relative; height: calc(100vh - var(--barra-alto)); min-height: 540px; scroll-margin-top: var(--barra-alto); }
.mapa-caja { position: absolute; inset: 0; background: #2f90b0; overflow: hidden; }
#mapa { position: absolute; inset: 0; background: #2f90b0; }
#mapa.agregando, #mapa.agregando .leaflet-interactive { cursor: crosshair; }

.panel { position: absolute; z-index: 1100; left: 14px; top: 14px; bottom: 14px; width: 360px; display: flex; flex-direction: column; min-height: 0; background: var(--cristal); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); border: 1px solid var(--linea); border-radius: 18px; box-shadow: var(--sombra); overflow: hidden; }
.panel-toggle { display: none; }
.panel-cuerpo { flex: 1; min-height: 0; overflow-y: auto; padding: 6px 18px 18px; scrollbar-width: thin; scrollbar-color: var(--tinta-3) transparent; }

.tabs { position: sticky; top: -6px; z-index: 2; display: flex; gap: 18px; margin: 0 -18px 16px; padding: 14px 18px 0; background: rgba(17, 20, 23, .97); border-bottom: 1px solid var(--linea); }
.tab { border: 0; background: none; padding: 0 0 11px; cursor: pointer; font-size: 13.5px; color: var(--bruma); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tab:hover { color: var(--arena); }
.tab[aria-selected="true"] { color: var(--arena); font-weight: 600; border-bottom-color: var(--flamingo); }

.vista[data-vista="mapa"] { display: flex; flex-direction: column; }
.vista[data-vista="mapa"] > .campo { order: -1; }

.campo { display: block; margin-bottom: 12px; }
.campo-etq { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
input[type="search"], input[type="text"], select, textarea { width: 100%; padding: 11px 14px; border-radius: 12px; border: 1px solid transparent; background: var(--tinta-2); outline: none; }
input::placeholder, textarea::placeholder { color: var(--bruma); opacity: .8; }
input:focus, select:focus, textarea:focus { border-color: var(--flamingo); outline: none; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--bruma) 50%), linear-gradient(135deg, var(--bruma) 50%, transparent 50%); background-position: calc(100% - 19px) 50%, calc(100% - 14px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 34px; }

.progreso { margin: 6px 0 20px; }
.sec-cab, .grupo-cab { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.sec-cab h3 { font-size: 18px; padding-top: 3px; }
.sh { display: flex; gap: 12px; flex: none; }
.sh button, .enlace { border: 0; background: none; padding: 0; cursor: pointer; font-size: 12.5px; color: var(--bruma); }
.sh button:hover, .enlace:hover { color: var(--flamingo); }
.prog-nums { display: flex; gap: 18px; margin: 10px 0 8px; font-size: 13px; color: var(--bruma); }
.prog-nums b { color: var(--arena); font-family: var(--titulos); font-size: 20px; font-weight: 600; margin-right: 3px; }
.barra-prog { height: 4px; border-radius: 99px; background: var(--tinta-3); overflow: hidden; }
.barra-prog i { display: block; height: 100%; width: 0; background: var(--verde); border-radius: 99px; transition: width .25s; }
.prog-acc { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.chk { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; cursor: pointer; color: var(--bruma); }
.chk input, .tareas input { accent-color: var(--verde); width: 16px; height: 16px; margin: 0; }
.mini { display: none; }

/* secciones y categorías */
.sec { margin: 0 0 22px; }
.sec-huevo { padding: 14px 14px 10px; border-radius: 14px; background: linear-gradient(150deg, rgba(242, 183, 5, .2), rgba(242, 183, 5, .05)); }
.sec-huevo h3 { color: #ffd766; }
.sec-huevo .cats { grid-template-columns: 1fr; margin-top: 8px; }
.grupo-cab { margin: 16px 0 6px; }
.grupo-cab h4 { font-family: var(--texto); font-size: 13px; font-weight: 600; color: var(--bruma); }
.cats { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 8px; }
.cat { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 5px 6px; margin: 0 -6px; border: 0; border-radius: 9px; background: none; cursor: pointer; text-align: left; font-size: 13px; }
.cat:hover:not(:disabled) { background: var(--tinta-3); }
.cat[aria-pressed="false"] { opacity: .4; }
.cat[aria-pressed="false"] .cat-nom { text-decoration: line-through; }
.cat.vacia { cursor: default; opacity: .42; }
.cat-nom { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cat b { flex: none; font-weight: 500; font-size: 12px; color: var(--bruma); font-variant-numeric: tabular-nums; }

/* insignia de icono */
.ico { flex: none; display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; background: var(--c); color: #fff; vertical-align: middle; }
.ico-huevo { border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; color: #3a2a00; }
.ico-mio { color: var(--tinta); }
.etq .ico { width: 18px; height: 18px; border-radius: 6px; }
.gran-icono { width: 60px; height: 60px; border-radius: 18px; }
.gran-icono.ico-huevo { border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; }

/* listas */
.resultados { margin-bottom: 18px; }
.resultados .lista { max-height: 264px; overflow-y: auto; }
.resultados-cab { font-size: 12.5px; color: var(--bruma); margin: 0 0 8px; }
.lista { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 2px; }
.lista button[data-id], .avance { width: 100%; display: flex; align-items: center; gap: 11px; text-align: left; padding: 8px; margin: 0; border-radius: 11px; border: 0; background: none; }
.lista button[data-id] { cursor: pointer; }
.lista button[data-id]:hover, .lista button.activo { background: var(--tinta-3); }
.lista .txt { flex: 1; min-width: 0; }
.lista .nom { display: block; font-weight: 600; font-size: 14px; line-height: 1.3; }
.lista .sub { display: block; font-size: 12.5px; color: var(--bruma); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.palomita { flex: none; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--verde); color: #06281a; }
.avance b { font-size: 12.5px; font-weight: 500; color: var(--bruma); font-variant-numeric: tabular-nums; }
.barra-mini { display: block; height: 3px; border-radius: 9px; background: var(--tinta-3); margin-top: 6px; overflow: hidden; }
.barra-mini i { display: block; height: 100%; background: var(--verde); border-radius: 9px; }
.vacio { color: var(--bruma); font-size: 14px; padding: 6px 0; }
.sub-titulo { font-family: var(--texto); font-size: 13px; font-weight: 600; color: var(--bruma); margin: 6px 0 8px; }
.btn { border: 0; background: var(--tinta-3); padding: 9px 14px; border-radius: 999px; cursor: pointer; font-weight: 600; font-size: 13px; }
.btn:hover { background: var(--arena); color: var(--tinta); }
.btn-ancho { width: 100%; margin-bottom: 14px; padding: 12px; background: var(--arena); color: var(--tinta); }
.btn-ancho:hover { background: #fff; }
.btn.activo { background: var(--flamingo); color: var(--tinta); }
.peligro { color: #ff8f8f; margin-top: 16px; }

/* ---------- Leaflet ---------- */
.leaflet-container { font: inherit; background: #2f90b0; }
.leaflet-bar { border: 0 !important; box-shadow: var(--sombra) !important; border-radius: 12px !important; overflow: hidden; }
.leaflet-bar a { background: var(--cristal); color: var(--arena); border-color: var(--linea) !important; width: 36px; height: 36px; line-height: 36px; }
.leaflet-bar a:hover { background: var(--arena); color: var(--tinta); }
.leaflet-tooltip { background: var(--tinta); color: var(--arena); border: 0; border-radius: 8px; padding: 5px 10px; font-weight: 600; box-shadow: var(--sombra); }
.leaflet-tooltip-top::before { border-top-color: var(--tinta); }
.pin { position: relative; width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: var(--c); color: #fff; border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .5); transition: transform .12s; }
.pin-huevo { width: 32px; height: 37px; margin: -3px 0 0 -1px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; color: #3a2a00; border-color: #fff6cf; }
.pin-mio { border-radius: 50%; color: var(--tinta); border-color: var(--flamingo); }
.pin-ok { display: none; position: absolute; right: -7px; top: -7px; width: 17px; height: 17px; border-radius: 50%; background: var(--verde); color: #06281a; border: 2px solid #fff; place-items: center; }
.pin-caja.hecho .pin { background: color-mix(in srgb, var(--c) 40%, #5b6770); }
.pin-caja.hecho .pin-ok { display: grid; }
.pin-caja:hover .pin, .pin-caja.activo .pin { transform: scale(1.2); }
.pin-caja.activo .pin { box-shadow: 0 0 0 4px rgba(255, 255, 255, .55), 0 2px 8px rgba(0, 0, 0, .6); }
.region-etq { white-space: nowrap; transform: translate(-50%, -50%); display: inline-block; pointer-events: none; font-family: var(--titulos); font-weight: 600; font-size: 15px; letter-spacing: .22em; text-transform: uppercase; color: #fff; text-shadow: 0 0 4px #0b2230, 0 0 4px #0b2230, 0 0 10px #0b2230, 0 1px 2px #000; }
.region-etq small { display: block; text-align: center; font-family: var(--texto); font-size: 10.5px; font-weight: 500; letter-spacing: .04em; text-transform: none; opacity: .85; }
.sin-imagen { background: repeating-linear-gradient(45deg, #12303f 0 24px, #0f2936 24px 48px); }
.aviso { position: absolute; left: 388px; bottom: 16px; z-index: 900; max-width: min(420px, calc(100% - 420px)); padding: 10px 14px; border-radius: 12px; background: var(--arena); color: var(--tinta); font-size: 13.5px; font-weight: 500; box-shadow: var(--sombra); }
.aviso code { font-weight: 700; user-select: all; }

/* ---------- Ficha del lugar ---------- */
.tarjeta { position: absolute; z-index: 1100; top: 14px; right: 14px; bottom: 14px; width: 360px; max-width: calc(100% - 28px); background: var(--cristal); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); border: 1px solid var(--linea); border-radius: 18px; box-shadow: var(--sombra); overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--tinta-3) transparent; }
.tarjeta-cerrar { position: absolute; top: 10px; right: 10px; z-index: 2; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(17, 20, 23, .8); cursor: pointer; font-size: 20px; line-height: 1; }
.tarjeta-cerrar:hover { background: var(--arena); color: var(--tinta); }
.tarjeta-media { aspect-ratio: 16 / 10; background: var(--tinta-2); display: grid; place-items: center; overflow: hidden; }
.tarjeta-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tarjeta-media.solo-icono { aspect-ratio: auto; height: 110px; }
.tarjeta-cuerpo { padding: 18px; }
.tarjeta-etqs { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 10px; }
.etq { font-size: 12.5px; color: var(--bruma); }
.etq-cat { display: inline-flex; align-items: center; gap: 6px; color: var(--arena); }
.tarjeta h2 { font-size: 26px; margin-bottom: 10px; }
.tarjeta p { margin: 0 0 10px; }
.tarjeta-nota { font-size: 12.5px; color: var(--bruma); }
.nombre-propio { font-family: var(--titulos); font-size: 20px; font-weight: 600; margin-bottom: 10px; }
.btn-hecho { width: 100%; display: flex; align-items: center; gap: 11px; padding: 12px 14px; margin: 8px 0 0; border-radius: 12px; cursor: pointer; font-weight: 600; border: 0; background: var(--tinta-3); }
.btn-hecho:hover { background: #224353; }
.btn-hecho .caja { flex: none; width: 22px; height: 22px; border-radius: 7px; border: 2px solid var(--bruma); display: grid; place-items: center; }
.btn-hecho[aria-pressed="true"] { background: rgba(69, 209, 154, .16); color: var(--verde); }
.btn-hecho[aria-pressed="true"] .caja { background: var(--verde); border-color: var(--verde); color: #06281a; }
.bloque { margin-top: 20px; }
.bloque h3 { font-family: var(--texto); font-size: 13px; font-weight: 600; color: var(--bruma); margin-bottom: 8px; }
textarea { resize: vertical; min-height: 78px; }
.tareas { list-style: none; margin: 0 0 8px; padding: 0; }
.tareas li { display: flex; align-items: center; gap: 6px; }
.tareas label { flex: 1; display: flex; align-items: center; gap: 9px; padding: 6px 0; cursor: pointer; font-size: 14px; }
.tareas input:checked + span { text-decoration: line-through; color: var(--bruma); }
.quitar { border: 0; background: none; color: var(--bruma); cursor: pointer; font-size: 18px; line-height: 1; padding: 2px 6px; }
.quitar:hover { color: var(--flamingo); }
.tarea-form { display: flex; gap: 8px; }
.tarea-form input { flex: 1; min-width: 0; }

/* ---------- Secretos ocultos (Easter eggs) ---------- */
.easter { max-width: 1180px; margin: 0 auto; padding: 84px 24px 0; scroll-margin-top: var(--barra-alto); }
.easter-cab { display: grid; grid-template-columns: 1fr; gap: 6px 22px; align-items: start; margin-bottom: 34px; }
.easter-huevo { display: none; font-size: 72px; line-height: 1; filter: drop-shadow(0 8px 18px rgba(242, 183, 5, .45)); }
.easter-cab h2 { font-size: clamp(30px, 4.6vw, 52px); color: #ffd766; letter-spacing: -.01em; margin-bottom: 12px; }
.easter-cab p { margin: 0 0 18px; max-width: 62ch; font-size: 16.5px; color: #c3c8cd; }
.easter-prog { display: flex; align-items: center; gap: 14px; font-size: 13.5px; color: var(--bruma); max-width: 420px; }
.easter-prog .barra-prog { flex: 1; }
.easter-prog .barra-prog i { background: var(--oro); }
.easter-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 34px 26px; }
.huevo-carta { display: flex; flex-direction: column; }
.huevo-img { position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; padding: 0; border: 0; border-radius: 16px; overflow: hidden; background: var(--tinta-2); cursor: pointer; }
.huevo-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s; }
.huevo-img:hover img { transform: scale(1.04); }
.huevo-sin { font-size: 46px; }
.huevo-ok { position: absolute; left: 10px; top: 10px; display: inline-flex; align-items: center; gap: 5px; padding: 4px 11px; border-radius: 99px; background: var(--verde); color: #06281a; font-size: 12.5px; font-weight: 700; }
.huevo-txt { padding: 14px 2px 0; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.huevo-txt h3 { font-size: 22px; order: -1; }
.huevo-txt p { margin: 0; font-size: 14.5px; color: #c3c8cd; flex: 1; }
.huevo-acc { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 8px; }

/* ---------- Guía de regiones ---------- */
.texto { max-width: 1180px; margin: 0 auto; padding: 96px 24px 40px; scroll-margin-top: var(--barra-alto); }
.texto h2 { font-size: clamp(26px, 3.4vw, 38px); margin: 0 0 16px; }
.texto h2 ~ h2 { margin-top: 64px; }
.texto p { color: #c3c8cd; margin: 0 0 14px; max-width: 70ch; font-size: 16px; }
.regiones-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 0 40px; margin: 30px 0 0; }
.regiones-grid article { padding: 22px 0; border-top: 1px solid var(--linea); }
.regiones-grid h3 { font-size: 20px; margin-bottom: 8px; }
.regiones-grid p { margin: 0; font-size: 14.5px; }
.legal { font-size: 13px !important; color: var(--bruma) !important; margin-top: 40px !important; }
.pie { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; max-width: 1180px; margin: 0 auto; padding: 22px 24px 34px; border-top: 1px solid var(--linea); color: var(--bruma); font-size: 13px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ---------- Celular ---------- */
@media (max-width: 860px) {
  :root { --barra-alto: 52px; }
  .barra { gap: 10px; padding: 0 12px; }
  .marca-texto, .idioma-etq, .titulo { display: none; }
  .nav { flex: 1; gap: 14px; overflow-x: auto; white-space: nowrap; }
  .nav a { font-size: 13.5px; }
  .app { height: auto; min-height: 0; display: flex; flex-direction: column; }
  .mapa-caja { position: relative; inset: auto; height: 66vh; min-height: 380px; order: 1; }
  .panel { position: static; order: 2; width: auto; border: 0; border-radius: 0; box-shadow: none; background: var(--tinta); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .panel-toggle { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 15px 16px; border: 0; border-bottom: 1px solid var(--linea); background: var(--tinta-2); font-weight: 600; cursor: pointer; }
  .panel-toggle::after { content: "▾"; margin-left: 10px; color: var(--bruma); }
  .panel-toggle[aria-expanded="true"]::after { content: "▴"; }
  .panel-cuenta { margin-left: auto; font-weight: 400; color: var(--bruma); font-size: 13px; }
  .panel-cuerpo { display: none; overflow: visible; padding: 4px 16px 18px; }
  .panel.abierto .panel-cuerpo { display: block; }
  .tabs { position: static; margin: 0 -16px 16px; padding: 12px 16px 0; gap: 16px; overflow-x: auto; background: none; }
  .tarjeta { top: auto; left: 0; right: 0; bottom: 0; width: auto; max-width: none; max-height: 62%; border-radius: 20px 20px 0 0; border-width: 1px 0 0; }
  .tarjeta-media { aspect-ratio: 16 / 7; }
  .tarjeta h2 { font-size: 22px; }
  .aviso { left: 12px; right: 12px; bottom: 12px; max-width: none; }
  .easter { padding: 52px 16px 0; }
  .easter-cab { grid-template-columns: 1fr; }
  .easter-huevo { font-size: 48px; }
  .texto { padding: 60px 16px 30px; }
  .pie { padding: 20px 16px 28px; }
}

/* ---------- pase sobrio: iconos blancos, un solo acento, título del mapa ---------- */
h1, h2, h3, h4 { letter-spacing: .01em; }
.titulo { font-size: 19px; padding-top: 0; }
.marca-logo { padding-top: 0; }
.panel-titulo { margin: 14px 0 2px; font-size: 30px; font-weight: 700; line-height: 1; text-transform: uppercase; letter-spacing: .02em; color: var(--arena); }
.panel-sub { margin: 0 0 12px; font-size: 13px; color: var(--bruma); }
.tabs { position: static; margin: 0 -18px 16px; padding: 4px 18px 0; background: none; }
.sec-cab h3 { font-size: 21px; font-weight: 600; padding-top: 0; }
.prog-nums b { font-size: 22px; }
.sec-huevo { background: rgba(217, 179, 108, .1); }
.sec-huevo h3, .easter-cab h2 { color: #e6c88c; }
.easter-prog .barra-prog i { background: var(--flamingo); }
/* iconos: fondo blanco y trazo oscuro; el color del grupo queda solo como borde fino */
.ico, .pin { background: #f4f5f6; color: #1a1f24; }
.ico { box-shadow: inset 0 -2px 0 var(--c); }
.pin { border: 2px solid #1a1f24; box-shadow: 0 0 0 1.5px #fff, 0 2px 5px rgba(0, 0, 0, .45); width: 28px; height: 28px; border-radius: 8px; }
.ico-huevo, .pin-huevo { background: var(--flamingo); color: #2a2110; box-shadow: none; }
.pin-huevo { width: 30px; height: 35px; border-color: #2a2110; box-shadow: 0 0 0 1.5px #fff, 0 2px 5px rgba(0, 0, 0, .45); border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; }
.pin-mio { border-radius: 50%; border-color: var(--flamingo); color: #1a1f24; }
.pin-caja.hecho .pin { background: #9aa3ab; }
.pin-caja.activo .pin { box-shadow: 0 0 0 3px var(--flamingo), 0 2px 8px rgba(0, 0, 0, .6); }
.tarjeta h2 { font-size: 30px; font-weight: 600; }
.huevo-txt h3 { font-size: 24px; }
.regiones-grid h3 { font-size: 22px; }
.region-etq { font-size: 17px; letter-spacing: .16em; }
.btn-ancho { background: var(--flamingo); color: #1a1f24; }
.idioma-btn[aria-pressed="true"] { background: var(--arena); color: var(--tinta); }
@media (max-width: 860px) { .panel-titulo { font-size: 26px; } .tabs { margin: 0 -16px 16px; padding: 4px 16px 0; } }

/* ---------- nombres sobre el mapa ---------- */
.lugar-etq { display: inline-block; transform: translate(-50%, -50%); white-space: nowrap; pointer-events: none; font-family: var(--texto); font-weight: 600; font-size: 12.5px; color: #fff; text-shadow: 0 0 3px #10222c, 0 0 3px #10222c, 0 0 6px #10222c, 0 1px 1px #000; }
.etq-condado .lugar-etq { font-family: var(--titulos); font-weight: 700; font-size: 20px; letter-spacing: .12em; text-transform: uppercase; }
.etq-natural .lugar-etq { color: #9be8b0; font-weight: 500; }
.etq-lugar, .etq-natural { display: none; }
.z-lugares .etq-lugar, .z-naturales .etq-natural { display: block; }
.z-naturales .lugar-etq { font-size: 14px; } .z-naturales .etq-condado .lugar-etq { font-size: 26px; }
.z-cerca .lugar-etq { font-size: 16px; } .z-cerca .etq-condado .lugar-etq { font-size: 32px; opacity: .8; }

/* ---------- seguimiento de progreso ---------- */
.seguimiento { position: absolute; z-index: 1050; top: 14px; right: 14px; width: 264px; background: var(--cristal); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--linea); border-radius: 18px; box-shadow: var(--sombra); transition: transform .2s; }
.seguimiento.cerrado { transform: translateX(calc(100% + 14px)); }
.seguimiento.tapado { display: none; }
.seg-toggle { position: absolute; left: -30px; top: 16px; width: 30px; height: 40px; border: 1px solid var(--linea); border-right: 0; border-radius: 10px 0 0 10px; background: var(--cristal); cursor: pointer; font-size: 18px; line-height: 1; }
.seguimiento.cerrado .seg-toggle { transform: scaleX(-1); left: -44px; }
.seg-cuerpo { padding: 18px; }
.seg-cuerpo h2 { font-size: 22px; margin-bottom: 12px; }
.seg-perfil { display: grid; gap: 4px; font-size: 12.5px; color: var(--bruma); margin-bottom: 8px; }
.seg-btn { display: block; width: 100%; margin-bottom: 8px; text-align: center; }
.seg-principal { background: var(--flamingo); color: #1a1f24; }
.seg-lista { margin: 12px 0 14px; padding: 0 0 0 16px; font-size: 13.5px; color: #c3c8cd; display: grid; gap: 5px; }
.seg-nota { margin: 4px 0 0; font-size: 12px; color: var(--bruma); }
@media (max-width: 860px) { .seguimiento { top: 10px; right: 10px; width: 240px; } }

/* ---------- cuenta (registro) ---------- */
.seguimiento { max-height: calc(100% - 28px); overflow-y: auto; scrollbar-width: thin; }
.seguimiento.cerrado { overflow: visible; }
.cuenta { margin-bottom: 6px; }
.cuenta input { margin-bottom: 8px; font-size: 14px; padding: 10px 12px; }
.cuenta-o { margin: 4px 0 8px; font-size: 12.5px; color: var(--bruma); }
.cuenta-o b { color: var(--arena); word-break: break-all; }
.cuenta-fila { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; }
.cuenta-fila .btn { padding: 9px 6px; }
.cuenta-estado { margin: 0 0 12px; font-size: 12.5px; color: var(--verde); min-height: 0; }
.cuenta-estado:empty { display: none; }
.cuenta-estado.error { color: #ff9c8f; }
.seg-perfil { padding-top: 12px; border-top: 1px solid var(--linea); }

.etq-barrio { display: none; }
.z-barrios .etq-barrio { display: block; }
.etq-barrio .lugar-etq { font-weight: 500; font-size: 12.5px; opacity: .95; }
.z-cerca .etq-barrio .lugar-etq { font-size: 15px; }

/* el icono queda centrado exactamente sobre su coordenada */
.pin, .pin-huevo { margin: 0; }

/* con el mapa alejado los iconos se achican para que no lo tapen */
.z-lejos .pin { transform: scale(.62); }
.z-lejos .pin-caja:hover .pin, .z-lejos .pin-caja.activo .pin { transform: scale(1); }

.pin-des { display: block; }

/* grupos de marcadores (mapa alejado) */
.grupo { display: grid; place-items: center; border-radius: 50%; background: rgba(17, 20, 23, .88); color: #fff; font: 700 13px/1 var(--texto); border: 2px solid var(--flamingo); box-shadow: 0 2px 6px rgba(0, 0, 0, .5); cursor: pointer; }
.grupo-caja:hover .grupo { background: var(--flamingo); color: #1a1f24; }
.z-lejos .pin { transform: none; }

/* lienzo único con todos los marcadores */
.lienzo-pines { position: absolute; left: 0; top: 0; z-index: 450; pointer-events: none; transition: opacity .12s; }
.lienzo-tip { position: absolute; z-index: 460; transform: translate(-50%, -100%); pointer-events: none; white-space: nowrap; background: var(--tinta); color: var(--arena); border-radius: 8px; padding: 5px 10px; font-weight: 600; font-size: 13px; box-shadow: var(--sombra); }
#mapa.sobre-pin, #mapa.sobre-pin .leaflet-grab { cursor: pointer; }

/* ---------- Coches y objetos especiales ---------- */
/* En el panel: caja propia, como la de los Easter eggs pero con borde dorado */
.sec-esp { padding: 14px 14px 10px; border-radius: 14px; background: rgba(236, 211, 160, .04); border: 1px solid rgba(217, 179, 108, .3); }
.sec-esp h3 { color: #e6c88c; }
.sec-esp .grupo-cab { margin-top: 12px; }
.sec-esp .cats { grid-template-columns: 1fr; }
/* su icono: cuadro oscuro con trazo dorado (igual que su marcador en el mapa) */
.ico-esp { background: #1a1f24; color: #ecd3a0; box-shadow: inset 0 0 0 1px rgba(236, 211, 160, .5); }

/* Apartado bajo el mapa */
.especiales { max-width: 1180px; margin: 0 auto; padding: 96px 24px 0; scroll-margin-top: var(--barra-alto); }
.esp-cab { margin-bottom: 30px; }
.esp-cab h2 { font-size: clamp(30px, 4.6vw, 52px); color: #e6c88c; letter-spacing: -.01em; margin-bottom: 12px; }
.esp-estrella { color: var(--flamingo); }
.esp-cab p { margin: 0 0 18px; max-width: 62ch; font-size: 16.5px; color: #c3c8cd; }
.esp-tabs { display: flex; gap: 26px; box-shadow: inset 0 -1px 0 var(--linea); margin-bottom: 16px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.esp-tab { border: 0; background: none; padding: 0 0 12px; cursor: pointer; white-space: nowrap; font-family: var(--titulos); font-size: 23px; font-weight: 600; color: var(--bruma); border-bottom: 2px solid transparent; }
.esp-tab span { font-family: var(--texto); font-size: 13px; font-weight: 500; margin-left: 4px; font-variant-numeric: tabular-nums; }
.esp-tab:hover { color: var(--arena); }
.esp-tab[aria-selected="true"] { color: var(--arena); border-bottom-color: var(--flamingo); }
.esp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.esp-chip { display: inline-flex; align-items: center; gap: 7px; padding: 5px 13px 5px 6px; border: 1px solid var(--linea); border-radius: 999px; background: none; cursor: pointer; font-size: 13.5px; }
.esp-chip:first-child { padding-left: 13px; }
.esp-chip .ico { width: 20px; height: 20px; border-radius: 6px; }
.esp-chip b { font-weight: 500; font-size: 12.5px; color: var(--bruma); font-variant-numeric: tabular-nums; }
.esp-chip:hover { border-color: var(--bruma); }
.esp-chip[aria-pressed="true"] { background: var(--arena); color: var(--tinta); border-color: var(--arena); }
.esp-chip[aria-pressed="true"] b { color: #4a525a; }
.esp-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 8px; }
.esp-item { display: flex; align-items: center; gap: 4px; padding-right: 14px; border-radius: 12px; background: var(--tinta-2); transition: background .15s; }
.esp-item:hover { background: var(--tinta-3); }
.esp-ver { flex: 1; min-width: 0; display: flex; align-items: center; gap: 11px; padding: 10px 4px 10px 12px; border: 0; background: none; cursor: pointer; text-align: left; }
.esp-txt { min-width: 0; }
.esp-nom { display: block; font-weight: 600; font-size: 14.5px; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.esp-cat { display: block; font-size: 12.5px; color: var(--bruma); }
.esp-item .chk input { width: 18px; height: 18px; }
.esp-chk-txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.esp-item.hecho .esp-nom { color: var(--bruma); }
@media (max-width: 860px) {
  .especiales { padding: 60px 16px 0; }
  .esp-tab { font-size: 20px; }
  .esp-grid { grid-template-columns: 1fr; }
}

/* tarjetas de especiales con foto arriba */
.esp-grid { gap: 14px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.esp-item { flex-wrap: wrap; overflow: hidden; border-radius: 14px; }
.esp-foto { flex: 0 0 100%; display: grid; place-items: center; aspect-ratio: 16 / 9; padding: 0; border: 0; overflow: hidden; cursor: pointer; background: radial-gradient(circle at 50% 45%, #232a31, #15191d); }
.esp-foto img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s; }
.esp-foto:hover img { transform: scale(1.04); }
.esp-foto .esp-sin { width: 54px; height: 54px; border-radius: 16px; opacity: .55; }
.esp-item.hecho .esp-foto img { filter: saturate(.35) brightness(.8); }
.esp-item .esp-nom { white-space: normal; }
@media (max-width: 860px) { .esp-grid { grid-template-columns: 1fr 1fr; gap: 10px; } .esp-nom { font-size: 13.5px; } }
