/* === AUDIOGUÍA NYC — estilos (v25) === */
:root { --fondo:#12181c; --panel:#1b232a; --acento:#f2c14e; --texto:#e8ecef; --borde:#3a4750; }
* { box-sizing:border-box; margin:0; }
html, body { height:100%; overflow:hidden; background:var(--fondo); color:var(--texto);
  font-family:-apple-system, system-ui, sans-serif; touch-action:manipulation; -webkit-text-size-adjust:100%; }

#map { position:fixed; inset:0; touch-action:none; }

/* Toda la interfaz: sin retardo táctil (300ms) ni resaltado al tocar */
button, .chip, .tarjeta, .asa, .opcion, .itin-item {
  touch-action:manipulation; user-select:none; -webkit-tap-highlight-color:transparent; cursor:pointer;
}

/* ── Botones flotantes (columna izquierda) ── */
#btn-modo, #btn-itin {
  position:fixed; left:16px; z-index:20; border:none;
  background:rgba(27,35,42,.92); color:var(--texto);
  border-radius:999px; padding:8px 14px; font-size:13px; box-shadow:0 2px 10px rgba(0,0,0,.4);
}
#btn-modo { top:60px; }
#btn-itin { top:110px; }
#btn-localizar {
  position:fixed; top:160px; left:16px; width:52px; height:52px; z-index:20;
  border-radius:50%; border:none; background:rgba(27,35,42,.92); color:var(--acento);
  font-size:24px; box-shadow:0 2px 10px rgba(0,0,0,.4);
}
#btn-localizar.activo { background:var(--acento); color:#1e2a26; }

/* ── Chips / filtro de categorías (columna derecha) ── */
.chips { position:fixed; top:60px; right:12px; z-index:20; }
#filtro-btn {
  border:none; background:rgba(27,35,42,.85); color:var(--texto);
  border-radius:999px; padding:6px 12px; font-size:14px; box-shadow:0 2px 10px rgba(0,0,0,.4);
}
#filtro-menu {
  position:absolute; top:42px; right:0; display:flex; flex-direction:column; gap:2px;
  background:rgba(27,35,42,.95); border-radius:12px; padding:6px;
  box-shadow:0 6px 20px rgba(0,0,0,.4); min-width:170px;
}
#filtro-menu.oculto { display:none; }
.opcion { text-align:left; border:none; background:transparent; color:var(--texto); border-radius:8px; padding:8px 12px; font-size:14px; white-space:nowrap; }
.opcion:hover, .opcion:active { background:rgba(255,255,255,.12); }
.opcion.sel { background:var(--acento); color:#1e2a26; font-weight:600; }

/* ── Menú itinerarios ── */
#itin-menu {
  position:fixed; top:164px; left:16px; display:flex; flex-direction:column; gap:2px;
  background:rgba(27,35,42,.95); border-radius:12px; padding:6px;
  box-shadow:0 6px 20px rgba(0,0,0,.4); min-width:220px; z-index:20;
}
#itin-menu.oculto { display:none; }
.itin-item { text-align:left; border:none; background:transparent; color:var(--texto); border-radius:8px; padding:9px 12px; font-size:13px; white-space:nowrap; }
.itin-item:hover, .itin-item:active { background:rgba(255,255,255,.12); }
.itin-item.sel { background:var(--acento); color:#1e2a26; font-weight:600; }
.itin-vacio { padding:6px 10px; font-size:12px; opacity:.7; }

/* ── Carrusel ── */
#carrusel-wrap {
  position:fixed; bottom:0; left:0; right:0; background:rgba(27,35,42,.97);
  border-radius:22px 22px 0 0; padding:6px 0 14px; z-index:15;
  padding-bottom:calc(14px + env(safe-area-inset-bottom, 0px));
}
.asa { width:44px; height:5px; background:rgba(232,236,239,.45); border-radius:3px; margin:6px auto; }
.cabecera { display:flex; justify-content:space-between; padding:2px 14px 8px; font-size:13px; color:#9fb0ba; }
#contador { font-weight:600; }
.carrusel { display:flex; gap:8px; overflow-x:auto; padding:0 12px; scroll-snap-type:x mandatory; -webkit-overflow-scrolling:touch; scrollbar-width:none; }
.carrusel::-webkit-scrollbar { display:none; }
.tarjeta { min-width:112px; width:112px; background:var(--panel); border-radius:16px; overflow:hidden; scroll-snap-align:start; }
.tarjeta:active { transform:scale(.97); }
.tarjeta img { width:100%; height:108px; object-fit:cover; }
.tarjeta .info { padding:8px 9px; }
.tarjeta .nombre { font-size:12px; font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.tarjeta .meta { font-size:10px; color:#9fb0ba; margin-top:3px; }
.tarjeta .meta .andando { color:var(--acento); }

/* ── Ficha POI ── */
.ficha {
  position:fixed; bottom:0; left:0; right:0; background:var(--panel);
  border-radius:22px 22px 0 0; padding:0 16px 20px; z-index:25;
  max-height:80vh; overflow-y:auto; box-shadow:0 -6px 24px rgba(0,0,0,.5);
  padding-bottom:calc(20px + env(safe-area-inset-bottom, 0px));
}
.ficha img { width:100%; height:160px; object-fit:cover; border-radius:14px; margin-top:10px; }
.ficha h2 { font-size:20px; margin:12px 0 4px; }
.dist { color:var(--acento); font-size:13px; margin-bottom:8px; }
.ficha p { font-size:14px; line-height:1.45; }
.botones { display:flex; gap:8px; margin:14px 0; flex-wrap:wrap; }
.botones button {
  background:transparent; border:1px solid var(--borde); color:var(--texto);
  border-radius:999px; padding:9px 14px; font-size:13px;
}
#btn-audio { border-color:var(--acento); color:var(--acento); font-weight:600; }
#player { width:100%; margin-bottom:10px; }
#curios-box { background:rgba(242,193,78,.1); border-radius:12px; padding:10px; font-size:13px; margin-bottom:10px; }

/* ── Utilidades ── */
.oculto { display:none !important; }