/* =====================================================================
   GALICIA EN RUTA · estilos
   Móbil primeiro: o mapa enche a pantalla e os paneis flotan enriba.
   ===================================================================== */
:root {
  --ink: #14171c; --ink-2: #3a404a; --muted: #5b626c;
  --surface: #ffffff; --surface-2: #f3f5f2; --line: #dde0da; --line-2: #cdd1ca;
  --ac: #17715a; --ac-2: #0f5a47; --ac-soft: #e3f1ec;
  --c-natureza: #2f8f46; --c-patrimonio: #a0522d; --c-museos: #b03a86; --c-oficios: #c07a10;
  --c-animais: #1d8a8f; --c-cultura: #6a4fc4; --c-motor: #c0392b; --c-curiosos: #3a6fb0;
  --warn-bg: #fdf1dd; --warn-fg: #8a5a00; --danger: #c0392b;
  --shadow: 0 1px 2px rgba(20, 23, 28, .08), 0 10px 30px -12px rgba(20, 23, 28, .35);
  --r: 16px;
  --safe-t: env(safe-area-inset-top, 0px); --safe-b: env(safe-area-inset-bottom, 0px);
  --mono: "Geist Mono", ui-monospace, Menlo, monospace;
  --mapbg: #e9ece6;
}
:root[data-tema="escuro"] {
  color-scheme: dark;
  --ink: #e8ebef; --ink-2: #c3c8d0; --muted: #98a0ab;
  --surface: #171b21; --surface-2: #222831; --line: #2e353f; --line-2: #3b4350;
  --ac: #4cc3a0; --ac-2: #7fd8bd; --ac-soft: #173a31;
  --c-natureza: #5cc774; --c-patrimonio: #e08f5f; --c-museos: #e27ec0; --c-oficios: #f0b247;
  --c-animais: #4fc6cb; --c-cultura: #a790f2; --c-motor: #ff7b6b; --c-curiosos: #7fa8e8;
  --warn-bg: #3a2e14; --warn-fg: #f3d27a; --danger: #ff7b6b;
  --mapbg: #11151a;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; }
body { font: 400 15px/1.45 Geist, system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); background: var(--mapbg); -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--ac); outline-offset: 2px; border-radius: 8px; }
.mono { font-family: var(--mono); }

#mapa { position: fixed; inset: 0; z-index: 0; background: var(--mapbg); }
.leaflet-container { font: inherit; background: var(--mapbg); }
.leaflet-control-attribution { font-size: 10.5px; background: color-mix(in srgb, var(--surface) 85%, transparent) !important; color: var(--muted); }
.leaflet-control-attribution a { color: var(--ac); }
.leaflet-control-zoom { border: 0 !important; box-shadow: var(--shadow) !important; border-radius: 12px !important; overflow: hidden; }
.leaflet-control-zoom a { width: 42px !important; height: 42px !important; line-height: 42px !important; font-size: 20px !important; color: var(--ink) !important; background: var(--surface) !important; border-color: var(--line) !important; }
.leaflet-tooltip.eti { font: 600 12.5px/1.2 Geist, system-ui, sans-serif; padding: 4px 8px; border-radius: 8px; border: 0; box-shadow: var(--shadow); background: var(--surface); color: var(--ink); }
.leaflet-tooltip.eti::before { display: none; }
.pin-exc { width: 30px; height: 30px; border-radius: 99px; background: var(--ac); color: #fff; font: 700 14px/30px var(--mono); text-align: center; border: 2.5px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.35); }
.pin-exc.saida { background: var(--ink); color: var(--surface); }
:root[data-tema="escuro"] .pin-exc { color: #0d1117; border-color: #0d1117; }

/* ---------- Barra superior ---------- */
.barra {
  position: fixed; z-index: 500; top: calc(10px + var(--safe-t)); left: 10px; right: 10px;
  display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 10px;
  background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border: 1px solid rgba(20,23,28,.06); border-radius: var(--r); box-shadow: var(--shadow);
}
.marca { display: flex; align-items: center; gap: 10px; min-width: 0; }
.logo-img { width: 40px; height: 40px; border-radius: 11px; flex: none; }
.marca-t h1 { font-size: 16.5px; font-weight: 750; letter-spacing: -0.02em; line-height: 1.15; white-space: nowrap; }
.h1-ruta { color: var(--ac); }
.marca-t p { font-size: 13px; color: var(--muted); font-weight: 600; white-space: nowrap; }
.barra-acts { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.idioma { display: inline-flex; padding: 3px; border-radius: 99px; background: var(--surface-2); }
.idioma button { border: 0; background: transparent; height: 28px; min-width: 32px; padding: 0 8px; border-radius: 99px; font: 600 12px/1 var(--mono); color: var(--muted); }
.idioma button[aria-pressed="true"] { background: var(--ink); color: var(--surface); }
.ibtn { width: 40px; height: 40px; border-radius: 12px; border: 0; background: var(--surface-2); display: grid; place-items: center; color: var(--ink-2); flex: none; }
.ibtn svg { width: 20px; height: 20px; }
@media (min-width: 760px) { .barra { left: 16px; right: auto; top: calc(16px + var(--safe-t)); } }

/* ---------- Botóns de acción (abaixo) ---------- */
.accions { position: fixed; z-index: 650; left: 10px; right: 64px; bottom: calc(40px + var(--safe-b)); display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.accions::-webkit-scrollbar { display: none; }
.acc { flex: none; display: inline-flex; align-items: center; gap: 7px; height: 44px; padding: 0 14px; border-radius: 99px; border: 0; background: var(--surface); box-shadow: var(--shadow); font-weight: 650; font-size: 14px; white-space: nowrap; }
.acc-e { font-size: 17px; line-height: 1; }
.acc.destacada { background: var(--ac); color: #fff; }
:root[data-tema="escuro"] .acc.destacada { color: #0d1117; }
.acc[aria-expanded="true"] { outline: 2px solid var(--ac); outline-offset: 1px; }
.acc em { font: 600 12px/1 var(--mono); font-style: normal; padding: 3px 7px; border-radius: 99px; background: var(--ac); color: #fff; }
@media (min-width: 760px) { .accions { left: 16px; right: auto; bottom: 28px; } }
body.con-ficha .accions, body.con-panel .accions { display: none; }
@media (min-width: 760px) { body.con-ficha .accions, body.con-panel .accions { display: flex; } body.con-panel .accions { left: 452px; } }

/* ---------- Paneis ---------- */
.panel { position: fixed; z-index: 700; left: 0; right: 0; bottom: 0; top: calc(78px + var(--safe-t)); background: var(--surface); border-radius: 20px 20px 0 0; box-shadow: var(--shadow); display: flex; flex-direction: column; padding: 14px 12px 0; }
@media (min-width: 760px) { .panel { left: 16px; right: auto; width: 420px; top: calc(96px + var(--safe-t)); bottom: 16px; border-radius: 20px; } }
.p-cab { display: flex; align-items: center; justify-content: space-between; padding: 0 4px 10px; }
.p-cab h2 { font-size: 18px; font-weight: 700; letter-spacing: -.02em; }
.p-scroll { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 0 4px calc(20px + var(--safe-b)); }
.p-sub { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin: 14px 0 6px; }
.p-sub small { text-transform: none; letter-spacing: 0; font-weight: 600; color: var(--ac); }
.p-res { font-size: 13px; color: var(--muted); font-weight: 600; margin: 14px 0 6px; }
.p-fonte { font-size: 11.5px; color: var(--muted); margin: 12px 0 0; }
.p-fonte a, .nota a, .dlg-b a { color: var(--ac); }
input[type="search"], input[type="text"], input[type="number"], input[type="date"], select {
  width: 100%; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); padding: 0 12px; font-size: 15px;
}
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: 99px; border: 1px solid var(--line-2); background: var(--surface); font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.chip .pt { width: 9px; height: 9px; border-radius: 99px; background: var(--c, var(--ac)); }
.chip small { font: 500 11.5px/1 var(--mono); color: var(--muted); }
.chip[aria-pressed="true"] { background: color-mix(in srgb, var(--c, var(--ac)) 14%, var(--surface)); border-color: var(--c, var(--ac)); color: var(--ink); }
.desde { display: grid; grid-template-columns: auto 1fr; gap: 8px; margin-top: 8px; }
.bt { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 42px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); font-weight: 650; font-size: 14px; color: var(--ink); text-decoration: none; }
.bt.primario { background: var(--ac); border-color: var(--ac); color: #fff; }
:root[data-tema="escuro"] .bt.primario { color: #0d1117; }
.bt:disabled { opacity: .45; cursor: default; }
.bt.peq { min-height: 34px; padding: 0 10px; font-size: 13px; border-radius: 10px; }

.lista { list-style: none; margin: 0; padding: 0; }
.lista li + li { margin-top: 6px; }
.l-item { width: 100%; display: grid; grid-template-columns: 38px 1fr auto; gap: 10px; align-items: center; text-align: left; border: 1px solid var(--line); border-left: 4px solid var(--c, var(--ac)); background: var(--surface); border-radius: 12px; padding: 9px 10px; }
.l-item:hover { background: var(--surface-2); }
.l-e { font-size: 22px; text-align: center; }
.l-t { min-width: 0; }
.l-t b { display: block; font-size: 14.5px; font-weight: 650; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.l-t small { display: block; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.l-d { font: 600 12.5px/1 var(--mono); color: var(--muted); }
.l-mais { margin-top: 10px; width: 100%; }
.baleiro { color: var(--muted); font-size: 14px; padding: 16px 4px; }

/* ---------- Ficha ---------- */
.ficha { position: fixed; z-index: 720; left: 0; right: 0; bottom: 0; max-height: 72dvh; overflow-y: auto; overscroll-behavior: contain; background: var(--surface); border-radius: 20px 20px 0 0; box-shadow: 0 -8px 30px -12px rgba(0,0,0,.35); padding: 8px 16px calc(20px + var(--safe-b)); }
@media (min-width: 760px) { .ficha { left: auto; right: 16px; top: calc(16px + var(--safe-t)); bottom: 16px; width: 400px; max-height: none; border-radius: 20px; padding-top: 16px; } }
.f-asa { width: 40px; height: 5px; border-radius: 99px; background: var(--line-2); margin: 0 auto 8px; }
@media (min-width: 760px) { .f-asa { display: none; } }
.f-pechar { position: absolute; right: 12px; top: 12px; }
.f-tipo { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--c, var(--ac)); background: color-mix(in srgb, var(--c, var(--ac)) 12%, transparent); padding: 4px 10px; border-radius: 99px; }
.f-tit { font-size: 21px; font-weight: 750; letter-spacing: -.02em; line-height: 1.2; margin: 10px 48px 4px 0; }
.f-lugar { font-size: 13.5px; color: var(--muted); font-weight: 550; }
.f-acc { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 14px 0; }
.f-acc .primario { grid-column: 1 / -1; }
.f-datos { display: grid; gap: 2px; margin: 4px 0 8px; }
.f-dato { display: grid; grid-template-columns: 28px 1fr; gap: 8px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14px; }
.f-dato:first-child { border-top: 0; }
.f-dato .k { font-size: 16px; text-align: center; }
.f-dato .v { min-width: 0; overflow-wrap: anywhere; }
.f-dato .v small { display: block; color: var(--muted); font-size: 12px; }
.f-dato a { color: var(--ac); font-weight: 600; }
.f-sec { margin-top: 14px; padding: 14px; border-radius: 14px; background: var(--surface-2); }
.f-sec h3 { font-size: 13px; font-weight: 750; margin-bottom: 6px; }
.f-sec p { font-size: 14px; color: var(--ink-2); }
.f-sec .fonte { font-size: 11.5px; color: var(--muted); margin-top: 8px; }
.f-sec .fonte a { color: var(--ac); }
.f-preto { list-style: none; margin: 0; padding: 0; }
.f-preto button { width: 100%; display: flex; align-items: center; gap: 8px; border: 0; background: transparent; padding: 7px 0; text-align: left; font-size: 14px; }
.f-preto button span:nth-child(2) { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.f-preto small { font: 600 12px/1 var(--mono); color: var(--muted); }
.f-fonte { font-size: 11.5px; color: var(--muted); margin-top: 14px; }
.f-fonte a { color: var(--ac); }
.cargando { color: var(--muted); font-size: 13.5px; }

/* ---------- Excursión ---------- */
.ex-sec { margin-top: 14px; }
.ex-sec:first-child { margin-top: 0; }
.ex-h { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 6px; }
.ex-paradas { list-style: none; margin: 0; padding: 0; counter-reset: p; }
.ex-paradas li { display: grid; grid-template-columns: 28px 1fr auto; gap: 8px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); }
.ex-paradas li:first-child { border-top: 0; }
.ex-n { width: 26px; height: 26px; border-radius: 99px; background: var(--ac); color: #fff; font: 700 12.5px/26px var(--mono); text-align: center; }
:root[data-tema="escuro"] .ex-n { color: #0d1117; }
.ex-paradas .t b { display: block; font-size: 14px; font-weight: 650; line-height: 1.25; }
.ex-paradas .t small { color: var(--muted); font-size: 12px; }
.ex-paradas .t button { display: block; border: 0; background: none; padding: 0; text-align: left; }
.ex-paradas .t small { display: block; }
.ex-mov { display: flex; gap: 4px; }
.ex-mov button { width: 30px; height: 30px; border-radius: 9px; border: 1px solid var(--line-2); background: var(--surface); font-size: 14px; display: grid; place-items: center; }
.ex-mov button:disabled { opacity: .35; }
.ex-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.campo { display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; font-weight: 650; color: var(--ink-2); }
.campo.ancho { grid-column: 1 / -1; }
.check { display: flex; gap: 8px; align-items: center; font-size: 14px; }
.check input { width: 18px; height: 18px; accent-color: var(--ac); }
.ex-res { margin-top: 14px; padding: 14px; border-radius: 14px; background: var(--ac-soft); }
.ex-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.tile { background: var(--surface); border-radius: 12px; padding: 10px; }
.tile b { display: block; font: 700 19px/1.15 var(--mono); }
.tile span { font-size: 12px; color: var(--muted); font-weight: 600; }
.tile.total { grid-column: 1 / -1; background: var(--ac); color: #fff; }
.tile.total span { color: rgba(255,255,255,.85); }
:root[data-tema="escuro"] .tile.total { color: #0d1117; } :root[data-tema="escuro"] .tile.total span { color: rgba(13,17,23,.8); }
.ex-notas { margin: 10px 0 0; padding-left: 18px; font-size: 12.5px; color: var(--ink-2); }
.ex-notas li + li { margin-top: 4px; }
.aviso-p { font-size: 13px; background: var(--warn-bg); color: var(--warn-fg); padding: 10px 12px; border-radius: 12px; margin-top: 10px; }
.d-acc { display: grid; gap: 8px; margin-top: 12px; }
.d-acc.dous { grid-template-columns: 1fr 1fr; }
.nota { font-size: 12px; color: var(--muted); margin-top: 10px; }

/* ---------- Diálogos ---------- */
.dlg { border: 0; padding: 0; border-radius: 20px; width: min(520px, calc(100vw - 20px)); max-height: calc(100dvh - 30px); background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.dlg::backdrop { background: rgba(10, 12, 16, .45); }
.dlg-h { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 14px 10px 18px; background: var(--surface); border-bottom: 1px solid var(--line); }
.dlg-h h2 { font-size: 18px; font-weight: 750; letter-spacing: -.02em; }
.dlg-b { padding: 14px 18px 18px; }
.dlg-b h3 { font-size: 15px; font-weight: 750; margin: 16px 0 6px; }
.dlg-b h3:first-child { margin-top: 0; }
.dlg-b p, .dlg-b li { font-size: 14px; color: var(--ink-2); }
.dlg-b ul { padding-left: 20px; margin: 6px 0; }
.opc { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.opc.tres { grid-template-columns: repeat(3, 1fr); }
.opc button { min-height: 52px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); font-weight: 650; font-size: 14px; padding: 6px; }
.opc button[aria-pressed="true"] { border-color: var(--ac); background: var(--ac-soft); color: var(--ink); box-shadow: inset 0 0 0 1px var(--ac); }
.opc button small { display: block; font-size: 11.5px; color: var(--muted); font-weight: 550; }
.sux { list-style: none; margin: 10px 0 0; padding: 0; }
.sux li { display: grid; grid-template-columns: 30px 1fr; gap: 8px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); }
.sux li:first-child { border-top: 0; }
.sux .e { font-size: 20px; text-align: center; }
.sux b { display: block; font-size: 14px; font-weight: 650; }
.sux small { color: var(--muted); font-size: 12px; }
.temas { display: grid; gap: 8px; }
.tema { display: grid; grid-template-columns: 44px 1fr; gap: 10px; align-items: center; text-align: left; border: 1px solid var(--line-2); background: var(--surface); border-radius: 14px; padding: 12px; }
.tema .e { font-size: 28px; text-align: center; }
.tema b { display: block; font-size: 15px; font-weight: 700; }
.tema small { display: block; font-size: 12.5px; color: var(--muted); }
.tema:hover { border-color: var(--ac); }
#cCanvas { width: 100%; height: auto; border-radius: 12px; margin-top: 12px; box-shadow: var(--shadow); background: var(--surface-2); }
.campo input { font-weight: 500; }

/* ---------- Avisos ---------- */
.avisos { position: fixed; z-index: 900; bottom: calc(112px + var(--safe-b)); left: 50%; transform: translateX(-50%); width: min(440px, calc(100vw - 20px)); display: flex; flex-direction: column; gap: 6px; pointer-events: none; }
.notif { background: var(--ink); color: var(--surface); padding: 10px 14px; border-radius: 12px; font-size: 14px; font-weight: 550; box-shadow: var(--shadow); animation: entra .25s ease; }
.notif.vai { opacity: 0; transition: opacity .3s; }
@keyframes entra { from { opacity: 0; transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .notif { animation: none; } }

/* Móbil: as catro accións en reixa, co zoom de Leaflet agochado (xa se fai cos dedos) */
.acc .curto { display: none; }
@media (max-width: 759px) {
  .leaflet-control-zoom { display: none; }
  .accions { right: 10px; bottom: calc(26px + var(--safe-b)); display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; overflow: visible; }
  .acc { flex-direction: column; justify-content: center; gap: 3px; height: 60px; padding: 4px 2px; border-radius: 16px; font-size: 12px; line-height: 1.15; white-space: normal; text-align: center; position: relative; }
  .acc .longo { display: none; } .acc .curto { display: inline; }
  .acc-e { font-size: 20px; }
  .acc em { position: absolute; top: 4px; right: 6px; padding: 2px 6px; font-size: 11px; }
  .leaflet-bottom.leaflet-left, .leaflet-bottom.leaflet-right { margin-bottom: 0; }
}

/* ---------- Apoiar, Sobre os datos, suxestións e titorial (igual que Radar Trens e Gasolineiras) ---------- */
.btn-apoiar { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px 0 11px; border-radius: 12px; background: #ff5e5b; color: #fff; font-weight: 650; font-size: 14px; text-decoration: none; flex: none; box-shadow: 0 4px 12px -4px rgba(255,94,91,.6); }
.btn-apoiar:hover { background: #ec4d4a; }
.btn-apoiar svg { width: 19px; height: 19px; }
:root[data-tema="escuro"] .btn-apoiar { color: #1b0b0b; }
@media (max-width: 759px) {
  .barra-acts > .idioma { display: none; }     /* no móbil o idioma cámbiase en «Sobre os datos» */
  .btn-apoiar { width: 40px; padding: 0; justify-content: center; }
  .btn-apoiar span { display: none; }
}
@media (max-width: 380px) { .marca-t h1 { font-size: 15px; } .btn-apoiar, .ibtn { width: 38px; height: 38px; } }
.dlg-b .idioma { margin-bottom: 4px; }
.dlg-b .lead { font-size: 15.5px; margin-top: 12px; }
.info-cab { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.info-ico { border-radius: 14px; flex: none; }
.info-nome { font-size: 18px; font-weight: 700; letter-spacing: -.02em; color: var(--ink) !important; }
.info-lema { color: var(--muted) !important; font-size: 14px; }
.info-apoio { display: flex; gap: 12px; margin-top: 18px; padding: 14px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); }
.ia-ico { width: 40px; height: 40px; border-radius: 12px; background: #ff5e5b; display: grid; place-items: center; font-size: 20px; flex: none; }
.info-apoio p { font-size: 13.5px; color: var(--ink-2); margin: 3px 0 10px; }
.info-apoio p.ia-nota { font-size: 12px; color: var(--muted); margin: 8px 0 0; line-height: 1.45; }
.bt.kofi { background: #ff5e5b; border-color: #ff5e5b; color: #fff; }
.bt.kofi:hover { background: #e84f4c; }
:root[data-tema="escuro"] .bt.kofi { color: #1b0b0b; }
.info-botons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.ib { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; min-height: 72px; padding: 10px 6px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); font-weight: 650; font-size: 13.5px; line-height: 1.2; text-align: center; }
.ib:hover { background: var(--surface-2); }
.ib-ico { font-size: 20px; line-height: 1; }
.ib span:last-child { white-space: nowrap; }
@media (max-width: 420px) { .info-botons { gap: 6px; } .ib { font-size: 12px; padding: 10px 2px; letter-spacing: -.01em; } }
.info-pe { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.info-pe .xd { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); text-decoration: none; font-size: 15px; }
.info-pe .xd svg { width: 26px; height: 26px; color: #2447c7; }
:root[data-tema="escuro"] .info-pe .xd svg { color: #7d95f0; }
.priv-data { font-size: 12.5px; color: var(--muted) !important; margin-bottom: 8px; }
.dlg-h { flex-wrap: wrap; }
.volver { flex-basis: 100%; order: -1; align-self: flex-start; border: 0; background: none; color: var(--ac); font-weight: 650; font-size: 14px; padding: 2px 0 6px; text-align: left; }
.sux-intro { color: var(--ink-2); margin-bottom: 12px; }
#fSux .campo { margin-bottom: 12px; font-size: 13px; }
#fSux .campo textarea { height: auto; padding: 10px; resize: vertical; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); font: inherit; color: inherit; }
.campos2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 480px) { .campos2 { grid-template-columns: 1fr; } }
.c-erro { color: var(--danger); font-style: normal; font-size: 12.5px; font-weight: 500; }
.c-erro:empty { display: none; }
.sux-web { position: absolute; left: -9999px; }
#fSux .check { margin: 4px 0 8px; align-items: flex-start; }
#fSux .check a { color: var(--ac); }
#suxEnviar { margin-top: 12px; width: 100%; }
.sux-alt { margin-top: 12px; padding: 12px; border-radius: 12px; background: var(--surface-2); }
.sux-ok { text-align: center; padding: 24px 0; display: flex; flex-direction: column; gap: 14px; align-items: center; font-size: 16px; font-weight: 600; }
.dlg-tut { width: min(420px, calc(100% - 24px)); border-radius: 24px; }
.dlg-tut .dlg-b { padding: 22px 22px 18px; text-align: center; min-height: min(500px, 80dvh); display: flex; flex-direction: column; position: relative; }
.dlg-tut h2 { font-size: 21px; letter-spacing: -.02em; color: var(--ink); margin: 2px 0 8px; }
.tut-ilus { min-height: 132px; display: grid; place-items: center; gap: 10px; margin-bottom: 12px; padding: 14px; border-radius: 18px; background: linear-gradient(160deg, var(--ac-soft), var(--surface-2)); }
.tut-icona { border-radius: 20px; box-shadow: 0 10px 24px -10px rgba(6,61,55,.55); }
.tut-fila { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.tut-par { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.tut-punto { width: 16px; height: 16px; border-radius: 99px; border: 2.5px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.3); }
.tut-chip { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-radius: 99px; background: var(--surface); box-shadow: var(--shadow); font-weight: 650; font-size: 13.5px; color: var(--ink); }
.tut-chip.on { background: var(--ac); color: #fff; }
:root[data-tema="escuro"] .tut-chip.on { color: #0d1117; }
.tut-ficha { background: var(--surface); border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow); min-width: 220px; text-align: left; display: flex; align-items: center; gap: 12px; }
.tut-ficha .tf-e { font-size: 30px; }
.tut-ficha .tf-t { font-weight: 700; font-size: 15px; }
.tut-ficha .tf-l { font-size: 12.5px; color: var(--muted); margin-top: 4px; font-weight: 600; }
.tut-paso { font: 600 11.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted) !important; margin: 0; }
.tut-txt { font-size: 15px !important; line-height: 1.5; color: var(--ink-2); margin: 0 auto; max-width: 340px; flex: 1; }
.tut-puntos { display: flex; justify-content: center; gap: 6px; margin: 16px 0 14px; }
.tut-puntos i { width: 7px; height: 7px; border-radius: 99px; background: var(--line-2); transition: width .2s, background-color .2s; }
.tut-puntos i.on { width: 20px; background: var(--ac); }
.tut-accions { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; }
.tut-accions .bt { justify-content: center; height: 46px; margin: 0; }
.tut-saltar { color: var(--muted); }
.tut-x { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; z-index: 1; background: var(--surface); box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.tut-x svg { width: 18px; height: 18px; }
.tut-volver { position: absolute; top: 16px; left: 18px; padding: 4px 0; z-index: 1; width: auto; }
.dlg-tut .dlg-b:has(.tut-volver:not([hidden])) .tut-ilus { margin-top: 30px; }
.tut-instalar { display: flex; align-items: center; gap: 16px; }
.tut-instalar > img { border-radius: 14px; box-shadow: 0 8px 18px -8px rgba(6,61,55,.55); }
.ti-frecha { font-size: 22px; color: var(--muted); }
.ti-mobil { width: 74px; height: 112px; border-radius: 14px; border: 3px solid var(--ink); background: var(--surface); display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; padding: 12px 9px; align-content: start; }
.ti-mobil i { width: 100%; aspect-ratio: 1; border-radius: 6px; background: var(--line-2); }
.ti-mobil img { width: 100%; height: auto; border-radius: 6px; outline: 2px solid var(--ac); outline-offset: 1px; }
.ti-bt { margin: 10px auto 0 !important; }
/* Crédito «Desenvolvida por Xeito Dixital» na liña de atribución */
.leaflet-control-attribution a[href="https://xeitodixital.gal/"] { font-weight: 650; }
#fSux .campo input, #fSux .campo select { height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); padding: 0 12px; font-size: 15px; width: 100%; }
#fSux .check input { width: 18px; height: 18px; margin-top: 2px; flex: none; }

/* Icona de cada lugar (de preto) */
.pin-lugar { background: none; border: 0; }
.pin { width: 30px; height: 30px; border-radius: 99px; display: grid; place-items: center; font-size: 17px; line-height: 1; background: color-mix(in srgb, var(--c) 18%, var(--surface)); border: 2.5px solid var(--c); box-shadow: 0 2px 6px rgba(0,0,0,.3); cursor: pointer; transition: transform .12s; }
.pin:hover { transform: scale(1.15); }
.leaflet-pane.leaflet-puntos-pane canvas { cursor: pointer; }

/* Borrar filtros (A miña excursión) e Rutas temáticas */
.ex-borrar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.ex-borrar .bt { flex: 1 1 auto; }
.desde.apilado { grid-template-columns: 1fr; }
select.resalta { outline: 3px solid var(--ac); outline-offset: 2px; }
.p-cab .borrar-f { margin-left: auto; margin-right: 6px; white-space: nowrap; }
