/* Live map overlay — keep existing map-panel radius and mobile overflow fix. */
.v3b .map-panel .map.live-map{
  position:relative;
  width:100%;
  overflow:hidden;
  border-radius:30px;
  background:#e8e2d6;
  min-height:240px;
}
.v3b .map-panel .map.live-map > .live-map-poster{
  display:block;
  width:100%;
  height:auto;
  border-radius:inherit;
  vertical-align:middle;
}
.v3b .map-panel .map.live-map > .live-map-canvas{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  opacity:0;
  pointer-events:none;
  transition:opacity .45s ease;
  border-radius:inherit;
}
.v3b .map-panel .map.live-map.is-ready > .live-map-canvas{
  opacity:1;
  pointer-events:auto;
}
.v3b .map-panel .map.live-map.is-ready > .live-map-poster{
  visibility:hidden;
}
.v3b .map-panel .map.live-map .maplibregl-canvas,
.v3b .map-panel .map.live-map .maplibregl-map{
  width:100%!important;
  height:100%!important;
  border-radius:inherit;
}
.v3b .map-panel .map.live-map .maplibregl-ctrl-bottom-left,
.v3b .map-panel .map.live-map .maplibregl-ctrl-bottom-right{
  max-width:48%;
}
.v3b .map-panel .map.live-map .maplibregl-ctrl-attrib{
  font-size:10px;
  background:rgba(251,249,245,.88);
}
.v3b .map-panel .live-chip{
  left:20px;
  bottom:22px;
  width:auto;
  max-width:min(440px, calc(100% - 40px));
  z-index:2;
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 16px 10px 12px;
  border-radius:999px;
  background:rgba(251,249,245,.94);
  -webkit-backdrop-filter:blur(14px);
  backdrop-filter:blur(14px);
  box-shadow:0 8px 24px rgba(30,24,16,.16);
  border:1px solid rgba(31,27,22,.06);
}
.v3b .map-panel .live-chip .twa-dot{
  width:8px;height:8px;border-radius:50%;flex:0 0 8px;
  background:#1E8E5A;box-shadow:0 0 0 4px rgba(30,142,90,.22);
}
.v3b .map-panel .live-chip .twa-leg-b-txt{min-width:0}
.v3b .map-panel .live-chip [data-live-title]{
  display:block;margin:0;
  font:650 15px/1.15 Inter,system-ui,sans-serif;
  letter-spacing:-.02em;color:#1F1B16;
  -webkit-font-smoothing:antialiased;
}
.v3b .map-panel .live-chip .twa-leg-meta{
  display:block;margin:2px 0 0;
  font:500 11.5px/1.3 Inter,system-ui,sans-serif;color:#7a7166;
}
@media(max-width:900px){
  .v3b .map-panel .map.live-map{border-radius:20px}
  .v3b .map-panel .live-chip{display:flex!important;left:14px!important;bottom:14px!important;max-width:calc(100% - 28px);padding:9px 14px 9px 11px}
}
@media(max-width:420px){
  .v3b .map-panel .map.live-map,
  .v3b .m-panel.map-panel,
  .v3b .map-panel .map.live-map > .live-map-poster{
    border-radius:16px;
  }
}

/* ---------- R1 · red pin + always-visible bubble (nubecita); pin tip = exact point (anchor bottom) ---------- */
.live-map .maplibregl-marker{position:absolute!important}
.live-map .twa-rm{position:relative;width:30px;height:46px;z-index:2}
.live-map .twa-rm.is-open{z-index:20}
.live-map .twa-rp{position:absolute;left:0;top:0;width:30px;height:46px;margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;cursor:pointer;transform-origin:50% 100%;transition:transform .18s cubic-bezier(.2,.8,.2,1);-webkit-tap-highlight-color:transparent;-webkit-appearance:none;appearance:none}
.live-map .twa-rp:hover,.live-map .twa-rm.is-open .twa-rp{transform:scale(1.1)}
.live-map .twa-rp:focus{outline:none}
.live-map .twa-rp-svg{display:block;width:30px;height:46px;filter:drop-shadow(0 2px 3px rgba(20,17,13,.28));pointer-events:none}
.live-map .twa-rb{--sx:0px;--tx:0px;position:absolute;left:50%;bottom:52px;margin:0;padding:0;border:0;background:#fff;color:#1F1B16;border-radius:16px;box-shadow:0 10px 28px rgba(20,17,13,.22),0 1px 3px rgba(20,17,13,.12);transform:translateX(calc(-50% + var(--sx)));transform-origin:calc(50% - var(--sx)) 100%;text-align:left;cursor:pointer;font:400 14px/1.3 Inter,system-ui,-apple-system,sans-serif;-webkit-font-smoothing:antialiased;-webkit-appearance:none;appearance:none;-webkit-tap-highlight-color:transparent;animation:twaRbPop .28s cubic-bezier(.2,1.3,.4,1)}
.live-map .twa-rb:focus{outline:none}
.live-map .twa-rb:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #E23A2E,0 10px 28px rgba(20,17,13,.22)}
@keyframes twaRbPop{from{opacity:0;transform:translateX(calc(-50% + var(--sx))) translateY(6px) scale(.86)}}
.live-map .twa-rb-tail{position:absolute;left:calc(50% + var(--tx));bottom:-6px;width:14px;height:14px;margin-left:-7px;background:#fff;border-radius:0 0 3px 0;transform:rotate(45deg);box-shadow:3px 3px 5px rgba(20,17,13,.08)}
.live-map .twa-rb.is-flip{bottom:auto;top:50px;transform-origin:calc(50% - var(--sx)) 0}
.live-map .twa-rb.is-flip .twa-rb-tail{bottom:auto;top:-6px;border-radius:3px 0 0 0;box-shadow:-2px -2px 4px rgba(20,17,13,.05)}
/* compact */
.live-map .twa-rb-c{position:relative;display:block;width:52px;height:52px;padding:3px;box-sizing:border-box}
.live-map .twa-rb-ci{position:relative;z-index:1;display:block;width:46px;height:46px;border-radius:13px;background:#ddd center/cover no-repeat}
.live-map .twa-rb-c.is-stack::before{content:"";position:absolute;left:7px;right:-5px;top:-5px;height:40px;border-radius:13px;background:#fff;box-shadow:0 2px 8px rgba(20,17,13,.18);transform:rotate(6deg);z-index:0}
.live-map .twa-rb-n{position:absolute;z-index:2;right:-8px;top:-8px;min-width:20px;height:20px;padding:0 6px;box-sizing:border-box;border-radius:10px;background:#E23A2E;color:#fff;font:700 11px/20px Inter,system-ui,sans-serif;text-align:center;box-shadow:0 0 0 2px #fff}
.live-map .twa-rb-play{position:absolute;z-index:2;left:50%;top:50%;width:40px;height:40px;margin:-20px;border-radius:50%;background:rgba(251,249,245,.92);box-shadow:0 4px 14px rgba(0,0,0,.25)}
.live-map .twa-rb-play::after{content:"";position:absolute;left:16px;top:12px;border-style:solid;border-width:8px 0 8px 12px;border-color:transparent transparent transparent #1F1B16}
.live-map .twa-rb-play.sm{width:20px;height:20px;margin:-10px}
.live-map .twa-rb-play.sm::after{left:8px;top:6px;border-width:4px 0 4px 6px}
/* full card */
.live-map .twa-rb.is-full{border-radius:18px}
.live-map .twa-rb-f{display:block;width:236px;padding:6px;box-sizing:border-box}
.live-map .twa-rb-img{position:relative;display:block;height:148px;border-radius:13px;background:#ddd center 40%/cover no-repeat}
.live-map .twa-rb-cnt{position:absolute;right:8px;top:8px;display:inline-flex;align-items:center;gap:5px;padding:3px 8px 3px 6px;border-radius:99px;background:rgba(20,17,13,.62);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);color:#fff;font:650 11px/1.3 Inter,system-ui,sans-serif}
.live-map .twa-rb-cnt i{position:relative;width:10px;height:10px;border:1.6px solid #fff;border-radius:2.5px}
.live-map .twa-rb-cnt i::after{content:"";position:absolute;left:1.5px;top:-4.5px;width:9px;height:9px;border-top:1.6px solid rgba(255,255,255,.7);border-right:1.6px solid rgba(255,255,255,.7);border-radius:0 2.5px 0 0}
.live-map .twa-rb-tx{display:block;padding:10px 8px 6px}
.live-map .twa-rb-k{display:block;font-size:10px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#C8261C;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.live-map .twa-rb-cap{display:block;margin-top:4px;font-size:14px;font-weight:600;letter-spacing:-.015em;color:#1F1B16;line-height:1.3}
.live-map .twa-rb-t{position:relative;display:block;margin-top:4px;padding-right:18px;font-size:11.5px;color:#7a7166;font-variant-numeric:tabular-nums}
.live-map .twa-rb-go{position:absolute;right:0;top:50%;margin-top:-10px;width:20px;height:20px;border-radius:50%;background:#F3EEE6;color:#1F1B16;font-style:normal;font-size:15px;line-height:19px;text-align:center}
@media(max-width:699px){.live-map .twa-rb-f{width:214px}.live-map .twa-rb-img{height:132px}}

/* ---------- Rider marker: top-down GS at the end of the route, rotates with heading, blue cone ---------- */
.live-map .twa-moto{position:relative;z-index:1;width:28px;height:43px;pointer-events:none}
.live-map .twa-moto-ic{position:relative;z-index:2;display:block;width:28px;height:43px;filter:drop-shadow(0 2.5px 3.5px rgba(15,20,30,.3))}
.live-map .twa-moto-halo{position:absolute;left:50%;top:50%;width:41px;height:41px;margin:-20.5px 0 0 -20.5px;border-radius:50%;background:rgba(31,95,209,.14);border:1.5px solid rgba(31,95,209,.35)}
.live-map .twa-moto.is-live .twa-moto-halo{animation:twaMotoPulse 2.2s ease-out infinite}
@keyframes twaMotoPulse{0%{transform:scale(.85);opacity:.95}70%{transform:scale(1.45);opacity:0}100%{transform:scale(1.45);opacity:0}}
@media(prefers-reduced-motion:reduce){.live-map .twa-moto.is-live .twa-moto-halo{animation:none}}
.live-map .twa-moto-cone{display:none;position:absolute;left:50%;top:50%;z-index:0;width:90px;height:90px;margin:-64px 0 0 -45px;pointer-events:none}
.live-map .twa-moto.has-head .twa-moto-cone{display:block}

/* ---------- Fixed brand mark on the live map (top-left, does not move with the map) ---------- */
.v3b .map-panel .map.live-map > .twa-map-brand{position:absolute;left:14px;top:14px;z-index:2;pointer-events:none;padding:6px 10px 7px;border-radius:14px;background:rgba(251,249,245,.84);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:0 4px 14px rgba(30,24,16,.12),0 0 0 1px rgba(31,27,22,.06);line-height:0}
.v3b .map-panel .map.live-map > .twa-map-brand img{display:block;width:96px;height:auto}
@media(max-width:600px){.v3b .map-panel .map.live-map > .twa-map-brand{left:12px;top:12px;padding:5px 8px 6px;border-radius:12px}.v3b .map-panel .map.live-map > .twa-map-brand img{width:82px}}

/* ---------- Legend: trip totals + days ---------- */
.v3b .map-panel .live-chip .twa-leg-stats{display:block;margin:3px 0 0;font:500 12px/1.3 Inter,system-ui,sans-serif;color:#3d372f;font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.v3b .map-panel .live-chip .twa-leg-stats b{font-weight:650;color:#1F1B16}
.v3b .map-panel .live-chip .twa-leg-stats[hidden],.v3b .map-panel .live-chip .twa-leg-days-btn[hidden]{display:none}
.v3b .map-panel .live-chip.twa-leg-b{border-radius:22px;align-items:center}
.v3b .map-panel .live-chip .twa-leg-days-btn{flex:0 0 auto;align-self:center;display:inline-flex;align-items:center;gap:5px;margin:0 -4px 0 4px;padding:6px 10px 6px 11px;border:0;border-radius:999px;background:#EEE8DD;color:#1F1B16;font:650 11.5px/1 Inter,system-ui,sans-serif;cursor:pointer;pointer-events:auto;-webkit-tap-highlight-color:transparent}
.v3b .map-panel .live-chip .twa-leg-days-btn:hover{background:#E6DFD2}
.v3b .map-panel .live-chip .twa-leg-days-btn:focus{outline:none}
.v3b .map-panel .live-chip .twa-leg-days-btn:focus-visible{box-shadow:0 0 0 2px #FBF9F5,0 0 0 4px #1E8E5A}
.v3b .map-panel .live-chip .twa-leg-days-btn i{width:6px;height:6px;margin-top:-3px;border-right:1.6px solid currentColor;border-bottom:1.6px solid currentColor;transform:rotate(-135deg);transition:transform .2s}
.v3b .map-panel .live-chip.days-open .twa-leg-days-btn i{transform:rotate(45deg);margin-top:-1px}
.v3b .map-panel .live-chip .twa-leg-days{position:absolute;left:0;bottom:calc(100% + 8px);display:none;min-width:260px;max-width:min(340px,calc(100vw - 48px));max-height:min(260px,55vh);overflow:auto;padding:12px 14px 8px;border-radius:16px;background:rgba(251,249,245,.97);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);box-shadow:0 10px 28px rgba(30,24,16,.18),0 0 0 1px rgba(31,27,22,.06);pointer-events:auto;font-family:Inter,system-ui,sans-serif}
.v3b .map-panel .live-chip .twa-leg-days.on{display:block;animation:twaDaysIn .18s ease}
@keyframes twaDaysIn{from{opacity:0;transform:translateY(4px)}}
.v3b .map-panel .live-chip .twa-days-h{margin:0 0 6px;font-size:10.5px;font-weight:650;letter-spacing:.12em;text-transform:uppercase;color:#7a7166}
.v3b .map-panel .live-chip .twa-leg-days ol{list-style:none;margin:0;padding:0}
.v3b .map-panel .live-chip .twa-leg-days li{display:grid;grid-template-columns:auto 1fr auto;grid-template-areas:"n d m" "n t m";column-gap:10px;align-items:center;padding:7px 0;border-top:1px solid rgba(31,27,22,.07);font-size:12.5px;color:#3d372f;font-variant-numeric:tabular-nums}
.v3b .map-panel .live-chip .twa-leg-days li:first-child{border-top:0}
.v3b .map-panel .live-chip .twa-day-n{grid-area:n;min-width:48px;padding:4px 8px;border-radius:999px;background:rgba(30,142,90,.12);color:#16704A;font-size:11px;font-weight:700;text-align:center;white-space:nowrap}
.v3b .map-panel .live-chip li.is-today .twa-day-n{background:#1E8E5A;color:#fff}
.v3b .map-panel .live-chip .twa-day-d{grid-area:d;font-weight:600;color:#1F1B16}
.v3b .map-panel .live-chip .twa-day-t{grid-area:t;font-size:11.5px;color:#7a7166}
.v3b .map-panel .live-chip .twa-day-m{grid-area:m;font-weight:650;color:#1F1B16}
@media(max-width:600px){
  .v3b .map-panel .live-chip .twa-leg-stats{font-size:11.5px}
  .v3b .map-panel .live-chip .twa-leg-days-btn{padding:6px 9px;font-size:11px}
  .v3b .map-panel .live-chip .twa-leg-days{min-width:0;width:calc(100vw - 72px);max-height:min(230px,48vh)}
}

/* ---------- Lightbox · B Cine (caption on the media) ---------- */
html.twa-lb-open,html.twa-lb-open body{overflow:hidden}
.twa-lb{
  position:fixed;inset:0;z-index:1000;
  display:none;align-items:center;justify-content:center;
  padding:24px;
  background:rgba(14,12,9,.9);
  -webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);
  font-family:Inter,system-ui,-apple-system,sans-serif;-webkit-font-smoothing:antialiased;
}
.twa-lb.on{display:flex;animation:twaLbIn .22s ease}
@keyframes twaLbIn{from{opacity:0}to{opacity:1}}
.twa-lb-card{
  position:relative;
  max-width:min(1100px,100%);
  max-height:100%;
  display:flex;flex-direction:column;
  background:#14110d;color:#FBF9F5;
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 30px 80px rgba(0,0,0,.5);
}
.twa-lb-media{position:relative;background:#14110d;display:flex;align-items:center;justify-content:center;min-height:120px}
.twa-lb-frame{position:relative;display:block;line-height:0;max-width:100%}
.twa-lb-frame img,.twa-lb-frame video{
  display:block;
  max-width:100%;
  max-height:calc(100vh - 48px);
  max-height:calc(100dvh - 48px);
  width:auto;height:auto;
  object-fit:contain;
}
.twa-lb-veil{
  position:absolute;left:0;right:0;bottom:0;z-index:1;
  padding:56px 18px 18px;
  background:linear-gradient(180deg,transparent 0,rgba(20,17,13,.88) 78%);
  line-height:normal;pointer-events:none;
  transition:opacity .3s ease;
}
.twa-lb-veil p{margin:0}
.twa-lb-place{display:block;margin-bottom:8px!important;font-size:10.5px;font-weight:650;letter-spacing:.14em;text-transform:uppercase;color:#FF8A7E}
.twa-lb-cap{font-size:16px;line-height:1.35;font-weight:450;letter-spacing:-.015em;color:#FBF9F5;max-width:46em}
.twa-lb-time{font-size:12px;color:rgba(251,249,245,.55);margin-top:8px!important;font-variant-numeric:tabular-nums}
/* Video: keep the native control bar clear — caption sits above it, and fades while playing. */
.twa-lb-frame.is-video .twa-lb-veil{bottom:56px;padding-bottom:12px;background:linear-gradient(180deg,transparent 0,rgba(20,17,13,.72) 70%,rgba(20,17,13,.72) 100%)}
.twa-lb-frame.is-video.is-playing .twa-lb-veil{opacity:0}
.twa-lb-play{
  position:absolute;left:50%;top:42%;z-index:2;
  width:64px;height:64px;margin:-32px 0 0 -32px;padding:0;border:0;border-radius:50%;
  background:#EE9A33;cursor:pointer;
  box-shadow:0 10px 30px rgba(238,154,51,.45);transition:transform .2s;
}
.twa-lb-play:hover{transform:scale(1.06)}
.twa-lb-play i{position:absolute;left:25px;top:21px;border-style:solid;border-width:11px 0 11px 18px;border-color:transparent transparent transparent #1F1B16}
.twa-lb-play[hidden]{display:none}
/* Floating controls over the media */
.twa-lb-x{
  position:absolute;top:12px;right:12px;z-index:3;
  width:38px;height:38px;border-radius:50%;border:0;padding:0;
  background:rgba(251,249,245,.92);color:#14110d;
  font:400 24px/38px Inter,system-ui,sans-serif;cursor:pointer;
  box-shadow:0 2px 12px rgba(0,0,0,.35);transition:background .2s;
}
.twa-lb-x:hover{background:#FBF9F5}
.twa-lb-count{
  position:absolute;top:18px;left:14px;margin:0;z-index:3;
  padding:4px 10px;border-radius:99px;
  background:rgba(20,17,13,.62);color:#FBF9F5;
  font-size:12px;font-weight:600;letter-spacing:.02em;font-variant-numeric:tabular-nums;
  -webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);
}
.twa-lb-nav{
  position:absolute;top:calc(50% - 21px);z-index:3;
  width:42px;height:42px;border-radius:50%;border:0;padding:0;
  background:rgba(251,249,245,.9);color:#14110d;
  font-size:26px;line-height:40px;cursor:pointer;
  box-shadow:0 2px 12px rgba(0,0,0,.35);
}
.twa-lb-prev{left:12px}
.twa-lb-next{right:12px}
.twa-lb-nav[hidden],.twa-lb-count[hidden]{display:none}
.twa-lb-x:focus,.twa-lb-nav:focus,.twa-lb-play:focus{outline:none}
.twa-lb-x:focus-visible,.twa-lb-nav:focus-visible,.twa-lb-play:focus-visible{outline:none;box-shadow:0 0 0 2px #14110d,0 0 0 4px #EE9A33}
@media(max-width:600px){
  .twa-lb{padding:0;align-items:stretch}
  .twa-lb-card{border-radius:0;width:100%;justify-content:center}
  .twa-lb-media{flex:1 1 auto}
  .twa-lb-frame img,.twa-lb-frame video{max-height:100vh;max-height:100dvh}
  .twa-lb-veil{padding:48px 16px calc(16px + env(safe-area-inset-bottom))}
  .twa-lb-frame.is-video .twa-lb-veil{padding-bottom:10px}
  .twa-lb-cap{font-size:15.5px}
  .twa-lb-x{top:calc(12px + env(safe-area-inset-top))}
  .twa-lb-count{top:calc(18px + env(safe-area-inset-top))}
}

/* Mobile: taller live map so the city and the beach read well; poster crops to Miami + beach. */
@media(max-width:600px){
  .v3b .map-panel .map.live-map{height:min(440px,112vw);min-height:0}
  .v3b .map-panel .map.live-map > .live-map-poster{
    position:absolute;inset:0;width:100%;height:100%;
    object-fit:cover;object-position:70% 50%;
  }
  .v3b .map-panel .live-chip{padding:9px 14px 9px 11px!important}
  .v3b .map-panel .live-chip [data-live-title]{font-size:14.5px}
}

/* ---------- Social: like · comments · share (viewer + open pin card) ---------- */
.twa-lb-frame img,.twa-lb-frame video{max-height:calc(100vh - 48px - 56px);max-height:calc(100dvh - 48px - 56px)}
.twa-lb-soc{
  position:relative;z-index:4;flex:0 0 auto;
  display:flex;align-items:center;gap:4px;
  height:56px;padding:0 10px;box-sizing:border-box;
  background:#14110d;border-top:1px solid rgba(251,249,245,.08);
}
.twa-soc-b{
  display:inline-flex;align-items:center;gap:7px;
  height:40px;padding:0 12px;margin:0;border:0;border-radius:99px;
  background:transparent;color:#FBF9F5;cursor:pointer;
  font:600 14px/1 Inter,system-ui,-apple-system,sans-serif;font-variant-numeric:tabular-nums;letter-spacing:-.01em;
  -webkit-tap-highlight-color:transparent;transition:background .2s,color .2s;
}
.twa-soc-b:hover{background:rgba(251,249,245,.08)}
.twa-soc-b:focus{outline:none}
.twa-soc-b:focus-visible{box-shadow:0 0 0 2px #EE9A33}
.twa-soc-b svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s cubic-bezier(.2,.8,.2,1),fill .2s}
.twa-soc-like.is-on{color:#FF6A5C}
.twa-soc-like.is-on svg{fill:#E23A2E;stroke:#E23A2E}
.twa-soc-like.pop svg{animation:twaPop .45s cubic-bezier(.2,.8,.2,1)}
@keyframes twaPop{0%{transform:scale(1)}35%{transform:scale(1.32)}100%{transform:scale(1)}}
.twa-soc-cm[aria-expanded="true"]{background:rgba(251,249,245,.1)}
.twa-soc-share{margin-left:auto;background:#EE9A33;color:#1F1B16;padding:0 16px 0 13px}
.twa-soc-share:hover{background:#F5A947}
.twa-soc-share svg{width:19px;height:19px;stroke-width:2}
.twa-toast{
  position:absolute;left:50%;bottom:70px;z-index:6;
  transform:translate(-50%,8px);opacity:0;pointer-events:none;
  padding:9px 16px;border-radius:99px;background:#FBF9F5;color:#1F1B16;
  font:600 13.5px/1.2 Inter,system-ui,-apple-system,sans-serif;white-space:nowrap;
  box-shadow:0 10px 30px rgba(0,0,0,.35);transition:opacity .2s,transform .2s;
}
.twa-toast.on{opacity:1;transform:translate(-50%,0)}
.twa-toast-page{position:fixed;bottom:calc(24px + env(safe-area-inset-bottom));z-index:1001}
/* comments sheet: slides over the lower part of the media, above the bar */
.twa-lb-cm{
  position:absolute;left:0;right:0;bottom:56px;z-index:5;
  display:flex;flex-direction:column;
  max-height:min(64%,520px);min-height:220px;
  background:rgba(20,17,13,.97);color:#FBF9F5;
  border-radius:18px 18px 0 0;border-top:1px solid rgba(251,249,245,.1);
  box-shadow:0 -20px 50px rgba(0,0,0,.45);
  font-family:Inter,system-ui,-apple-system,sans-serif;line-height:normal;
  animation:twaCmIn .24s cubic-bezier(.2,.8,.2,1);
}
.twa-lb-cm[hidden]{display:none}
@keyframes twaCmIn{from{transform:translateY(16px);opacity:0}to{transform:none;opacity:1}}
.twa-cm-hd{display:flex;align-items:center;gap:8px;padding:14px 12px 10px 18px;border-bottom:1px solid rgba(251,249,245,.08)}
.twa-cm-hd b{font-size:10.5px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#EE9A33}
.twa-cm-c{font-size:12px;color:rgba(251,249,245,.5);font-variant-numeric:tabular-nums}
.twa-cm-x{margin-left:auto;width:32px;height:32px;border:0;border-radius:50%;padding:0;background:rgba(251,249,245,.1);color:#FBF9F5;font:400 21px/32px Inter,system-ui,sans-serif;cursor:pointer}
.twa-cm-x:hover{background:rgba(251,249,245,.18)}
.twa-cm-list{list-style:none;margin:0;padding:6px 18px;overflow-y:auto;flex:1 1 auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}
.twa-cm-list li{padding:10px 0;border-bottom:1px solid rgba(251,249,245,.06)}
.twa-cm-list li:last-child{border-bottom:0}
.twa-cm-who{display:flex;align-items:baseline;gap:8px;margin:0 0 3px}
.twa-cm-who b{font-size:13px;font-weight:650;color:#FBF9F5}
.twa-cm-who time{font-size:11.5px;color:rgba(251,249,245,.45)}
.twa-cm-txt{margin:0;font-size:14.5px;line-height:1.4;color:rgba(251,249,245,.88);white-space:pre-wrap;overflow-wrap:anywhere}
.twa-cm-empty{color:rgba(251,249,245,.55);font-size:14px;text-align:center;padding:22px 0!important}
.twa-cm-f{margin:0;padding:10px 12px 12px;border-top:1px solid rgba(251,249,245,.08);display:flex;flex-direction:column;gap:8px}
.twa-cm-hp{position:absolute!important;left:-9999px;width:1px;height:1px;overflow:hidden}
.twa-cm-name,.twa-cm-body{
  box-sizing:border-box;width:100%;margin:0;border:1px solid rgba(251,249,245,.14);border-radius:12px;
  background:rgba(251,249,245,.06);color:#FBF9F5;
  font:400 16px/1.35 Inter,system-ui,-apple-system,sans-serif;padding:9px 12px;
}
.twa-cm-name{height:38px;font-size:16px}
.twa-cm-name::placeholder,.twa-cm-body::placeholder{color:rgba(251,249,245,.42)}
.twa-cm-name:focus,.twa-cm-body:focus{outline:none;border-color:#EE9A33;background:rgba(251,249,245,.09)}
.twa-cm-row{display:flex;align-items:flex-end;gap:8px}
.twa-cm-body{flex:1 1 auto;resize:none;min-height:40px;max-height:120px}
.twa-cm-send{flex:0 0 auto;height:40px;padding:0 16px;border:0;border-radius:99px;background:#EE9A33;color:#1F1B16;font:700 14px/1 Inter,system-ui,sans-serif;cursor:pointer}
.twa-cm-send:disabled{opacity:.55;cursor:default}
.twa-cm-msg{margin:0;font-size:12.5px;color:#FF8A7E}
.twa-cm-msg:empty{display:none}
.twa-lb.cm-on .twa-lb-nav{display:none}
@media(max-width:600px){
  .twa-lb-frame img,.twa-lb-frame video{max-height:calc(100vh - 56px - env(safe-area-inset-bottom));max-height:calc(100dvh - 56px - env(safe-area-inset-bottom))}
  .twa-lb-soc{height:calc(56px + env(safe-area-inset-bottom));padding:0 8px env(safe-area-inset-bottom)}
  .twa-lb-veil{padding-bottom:16px}
  .twa-lb-cm{bottom:calc(56px + env(safe-area-inset-bottom));max-height:72%;max-height:72dvh}
  .twa-toast{bottom:calc(70px + env(safe-area-inset-bottom))}
}
/* open pin card: compact like · comments · share row */
.live-map .twa-rb-soc{display:flex;align-items:center;gap:2px;margin:8px -4px 0;padding-top:6px;border-top:1px solid #F0EAE0}
.live-map .twa-rb-sb{display:inline-flex;align-items:center;gap:4px;height:28px;padding:0 7px;border-radius:99px;color:#4a433b;font:600 12px/1 Inter,system-ui,sans-serif;font-variant-numeric:tabular-nums;cursor:pointer;transition:background .15s,color .15s}
.live-map .twa-rb-sb:hover{background:#F3EEE6}
.live-map .twa-rb-sb svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.live-map .twa-rb-sb b{font-weight:600}
.live-map .twa-rb-like.is-on{color:#C8261C}
.live-map .twa-rb-like.is-on svg{fill:#E23A2E;stroke:#E23A2E}
.live-map .twa-rb-share{margin-left:auto;color:#1F1B16;background:#FDF1E0}
.live-map .twa-rb-share:hover{background:#FBE3C2}
.twa-lb-cm{background:#14110d}
.twa-lb.cm-on .twa-lb-veil{opacity:0}

/* ==== fire1 (15 Nov 2026): pre-trip animated route BA -> Ushuaia (dark brand map) ==== */
.live-map:not(.is-ready) .live-chip,.live-map .live-chip[hidden]{visibility:hidden}
.v3b .map-panel .map.live-map.is-planned{background:#0E0E0E}
.live-map.is-planned .maplibregl-canvas{background:#0E0E0E}
.live-map.is-planned .twa-map-brand{background:none!important;box-shadow:none!important;border:0!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
.live-map.is-planned .twa-map-brand img{content:url(/img/logo-light-compact.png);filter:drop-shadow(0 2px 10px rgba(0,0,0,.6))}
.live-map.is-planned .maplibregl-ctrl-group{background:rgba(14,14,14,.82);border:1px solid rgba(245,242,237,.14);box-shadow:none}
.live-map.is-planned .maplibregl-ctrl-group button+button{border-top-color:rgba(245,242,237,.14)}
.live-map.is-planned .maplibregl-ctrl-group button .maplibregl-ctrl-icon{filter:invert(1) brightness(1.1)}
.live-map.is-planned .maplibregl-ctrl-attrib{background:rgba(14,14,14,.7)!important;color:rgba(245,242,237,.55)}
.live-map.is-planned .maplibregl-ctrl-attrib a{color:rgba(245,242,237,.7)}
.live-map.is-planned .maplibregl-ctrl-attrib-button{filter:invert(1)}
.live-map.is-planned .maplibregl-cooperative-gesture-screen{background:rgba(14,14,14,.72);font-family:Manrope,Inter,system-ui,sans-serif}
/* stops */
.live-map .twa-st{position:relative;width:0;height:0;pointer-events:none}
.live-map .twa-st-dot{position:absolute;left:-4px;top:-4px;width:8px;height:8px;border-radius:50%;background:#0E0E0E;border:1.5px solid rgba(245,242,237,.38);transition:background .35s,border-color .35s,box-shadow .5s,transform .45s cubic-bezier(.2,1.6,.4,1)}
.live-map .twa-st-start .twa-st-dot,.live-map .twa-st-end .twa-st-dot{left:-6px;top:-6px;width:12px;height:12px}
.live-map .twa-st-pass .twa-st-dot,.live-map .twa-st-ferry .twa-st-dot{left:-3px;top:-3px;width:6px;height:6px}
.live-map .twa-st.is-lit .twa-st-dot{background:#F5F2ED;border-color:#E8833A;box-shadow:0 0 0 3px rgba(232,131,58,.28),0 0 14px 3px rgba(255,138,42,.55);transform:scale(1.12)}
.live-map .twa-st-start.is-lit .twa-st-dot,.live-map .twa-st-end.is-lit .twa-st-dot{background:#E8833A;border:2px solid #F5F2ED;box-shadow:0 0 0 4px rgba(232,131,58,.3),0 0 22px 6px rgba(255,138,42,.6)}
.live-map .twa-st-pass.is-lit .twa-st-dot,.live-map .twa-st-ferry.is-lit .twa-st-dot{background:#0E0E0E;box-shadow:0 0 8px 1px rgba(255,138,42,.45)}
.live-map .twa-st-lbl{position:absolute;display:flex;flex-direction:column;gap:1px;white-space:nowrap;opacity:0;transform:translateY(4px);transition:opacity .45s ease,transform .55s cubic-bezier(.2,.9,.3,1);text-shadow:0 1px 8px rgba(0,0,0,.9),0 0 2px rgba(0,0,0,.9)}
.live-map .twa-st-lbl b{font:500 12.5px/1.05 Oswald,"Arial Narrow",Inter,sans-serif;letter-spacing:.07em;text-transform:uppercase;color:#F5F2ED}
.live-map .twa-st-lbl i{font:600 10.5px/1.1 Manrope,Inter,system-ui,sans-serif;font-style:normal;letter-spacing:.02em;color:#E8833A}
.live-map .twa-st-start .twa-st-lbl b,.live-map .twa-st-end .twa-st-lbl b{font-size:15px;font-weight:600}
.live-map .twa-st-pass .twa-st-lbl b,.live-map .twa-st-ferry .twa-st-lbl b{font-size:10.5px;color:rgba(245,242,237,.72)}
.live-map .twa-st-pass .twa-st-lbl i,.live-map .twa-st-ferry .twa-st-lbl i{color:rgba(232,131,58,.75);font-size:9.5px}
.live-map .twa-st.lbl-r .twa-st-lbl{left:9px;top:0;transform:translate(0,-50%) translateX(-4px)}
.live-map .twa-st.lbl-l .twa-st-lbl{right:9px;top:0;align-items:flex-end;text-align:right;transform:translate(0,-50%) translateX(4px)}
.live-map .twa-st.lbl-b .twa-st-lbl{left:0;top:9px;align-items:center;text-align:center;transform:translate(-50%,-4px)}
.live-map .twa-st.lbl-t .twa-st-lbl{left:0;bottom:9px;align-items:center;text-align:center;transform:translate(-50%,4px)}
.live-map .twa-st.is-lit.lbl-r .twa-st-lbl,.live-map .twa-st.is-lit.lbl-l .twa-st-lbl{opacity:1;transform:translate(0,-50%)}
.live-map .twa-st.is-lit.lbl-b .twa-st-lbl,.live-map .twa-st.is-lit.lbl-t .twa-st-lbl{opacity:1;transform:translate(-50%,0)}
.live-map .twa-st.lbl-off .twa-st-lbl{display:none}
/* spark at the drawing tip */
.live-map .twa-spark{position:relative;width:0;height:0;pointer-events:none;z-index:3}
.live-map .twa-spark i{position:absolute;border-radius:50%;left:50%;top:50%;transform:translate(-50%,-50%)}
.live-map .twa-spark-h{width:46px;height:46px;background:radial-gradient(circle,rgba(255,170,80,.55) 0,rgba(255,120,30,.22) 38%,rgba(255,120,30,0) 70%);animation:twaFlick .18s ease-in-out infinite alternate}
.live-map .twa-spark-c{width:9px;height:9px;background:#FFF8EC;box-shadow:0 0 6px 2px #FFD08A,0 0 16px 6px rgba(255,150,50,.75)}
.live-map .twa-spark b{position:absolute;left:0;top:0;width:3px;height:3px;border-radius:50%;background:#FFC070;box-shadow:0 0 4px 1px rgba(255,140,40,.9);opacity:0;animation:twaEmber 1.1s linear infinite}
.live-map .twa-spark b:nth-of-type(2){animation-delay:.22s;--dx:-9px;--dy:-14px}
.live-map .twa-spark b:nth-of-type(3){animation-delay:.44s;--dx:8px;--dy:-12px}
.live-map .twa-spark b:nth-of-type(4){animation-delay:.66s;--dx:-4px;--dy:-18px}
.live-map .twa-spark b:nth-of-type(5){animation-delay:.88s;--dx:11px;--dy:-7px}
@keyframes twaFlick{from{opacity:.75;transform:translate(-50%,-50%) scale(.9)}to{opacity:1;transform:translate(-50%,-50%) scale(1.08)}}
@keyframes twaEmber{0%{opacity:0;transform:translate(0,0) scale(1)}15%{opacity:1}100%{opacity:0;transform:translate(var(--dx,-6px),var(--dy,-12px)) scale(.3)}}
.live-map .twa-spark.is-end b{display:none}
.live-map .twa-spark.is-end .twa-spark-h{animation:twaEndPulse 2.6s ease-in-out infinite;width:40px;height:40px}
.live-map .twa-spark.is-end .twa-spark-c{opacity:0}
@keyframes twaEndPulse{0%,100%{opacity:.45;transform:translate(-50%,-50%) scale(.8)}50%{opacity:.9;transform:translate(-50%,-50%) scale(1.15)}}
/* route card */
.live-map .twa-fc{position:absolute;left:24px;bottom:24px;z-index:4;width:min(340px,calc(100% - 48px));padding:20px 22px 18px;border-radius:18px;background:linear-gradient(180deg,rgba(20,19,18,.88),rgba(14,14,14,.94));border:1px solid rgba(245,242,237,.10);box-shadow:0 18px 50px rgba(0,0,0,.45);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);color:#F5F2ED}
.live-map .twa-fc p{margin:0}
.live-map .twa-fc-k{font:600 10.5px/1.2 Manrope,Inter,system-ui,sans-serif;letter-spacing:.2em;text-transform:uppercase;color:#E8833A}
.live-map .twa-fc-t{margin-top:8px!important;font:600 26px/1.02 Oswald,"Arial Narrow",Inter,sans-serif;letter-spacing:.02em;text-transform:uppercase;color:#F5F2ED}
.live-map .twa-fc-t span{color:#E8833A}
.live-map .twa-fc-s{display:flex;flex-wrap:wrap;align-items:baseline;gap:12px;margin-top:12px!important;font:500 22px/1 Oswald,"Arial Narrow",Inter,sans-serif;letter-spacing:.04em;font-variant-numeric:tabular-nums}
.live-map .twa-fc-km{color:#FFB46A;text-shadow:0 0 18px rgba(255,138,42,.45);min-width:5.4ch}
.live-map .twa-fc-sep{width:1px;height:18px;background:rgba(245,242,237,.25);align-self:center}
.live-map .twa-fc-d{color:#F5F2ED;text-transform:uppercase}
.live-map .twa-fc-n{margin-top:12px!important;font:500 12px/1.45 Manrope,Inter,system-ui,sans-serif;color:rgba(245,242,237,.66)}
.live-map .twa-fc-rw{flex-basis:100%;order:9;line-height:0}
.live-map .twa-fc-s .twa-fc-rw{margin-top:2px}
.live-map .twa-cty{pointer-events:none;font:500 11px/1 Oswald,"Arial Narrow",Inter,sans-serif;letter-spacing:.42em;text-transform:uppercase;color:rgba(245,242,237,.30);white-space:nowrap}
.live-map .twa-fc-r{display:inline-flex;align-items:center;gap:7px;margin-top:0;padding:8px 14px 8px 11px;border-radius:999px;border:1px solid rgba(232,131,58,.55);background:rgba(232,131,58,.10);color:#F5F2ED;font:600 12px/1 Manrope,Inter,system-ui,sans-serif;letter-spacing:.04em;cursor:pointer;opacity:0;pointer-events:none;transform:translateY(4px);transition:opacity .4s,transform .4s,background .2s}
.live-map .twa-fc-r svg{width:15px;height:15px;color:#E8833A}
.live-map .twa-fc-r:hover{background:rgba(232,131,58,.22)}
.live-map .twa-fc-r:focus-visible{outline:2px solid #E8833A;outline-offset:3px}
.live-map.fire-done .twa-fc-r{opacity:1;pointer-events:auto;transform:none}
@media(max-width:700px){
  .live-map .twa-fc{left:12px;right:12px;bottom:12px;width:auto;padding:14px 16px 13px;border-radius:16px}
  .live-map .twa-fc-k{font-size:9.5px;letter-spacing:.16em}
  .live-map .twa-fc-t{font-size:20px;margin-top:6px!important}
  .live-map .twa-fc-s{font-size:18px;margin-top:8px!important}
  .live-map .twa-fc-n{font-size:11px;margin-top:8px!important}
  .live-map .twa-fc-rw{flex-basis:auto;order:0;margin:0 0 0 auto!important;align-self:center}
  .live-map .twa-fc-r{width:34px;height:34px;padding:0;justify-content:center;gap:0}
  .live-map .twa-fc-r svg{width:16px;height:16px}
  .live-map .twa-fc-rt{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .live-map .twa-cty{font-size:9.5px;letter-spacing:.32em}
  .live-map .twa-st-lbl b{font-size:11px}
  .live-map .twa-st-lbl i{font-size:9.5px}
  .live-map .twa-st-start .twa-st-lbl b,.live-map .twa-st-end .twa-st-lbl b{font-size:13px}
}
@media(prefers-reduced-motion:reduce){.live-map .twa-spark i,.live-map .twa-spark b{animation:none!important}.live-map .twa-st-dot,.live-map .twa-st-lbl{transition:none!important}}

/* fire2 (15 Nov 2026): city names only, smaller and cleaner */
.live-map .twa-st-lbl i{display:none}
.live-map .twa-st-lbl b{font:500 10px/1 Oswald,"Arial Narrow",Inter,sans-serif;letter-spacing:.09em;color:rgba(245,242,237,.92)}
.live-map .twa-st-start .twa-st-lbl b,.live-map .twa-st-end .twa-st-lbl b{font-size:11.5px;font-weight:600;color:#F5F2ED}
.live-map .twa-st-pass .twa-st-lbl b,.live-map .twa-st-ferry .twa-st-lbl b{font-size:9px;color:rgba(245,242,237,.6)}
.live-map .twa-st.lbl-r .twa-st-lbl{left:8px}.live-map .twa-st.lbl-l .twa-st-lbl{right:8px}
@media(max-width:700px){
  .live-map .twa-st-lbl b{font-size:9px}
  .live-map .twa-st-start .twa-st-lbl b,.live-map .twa-st-end .twa-st-lbl b{font-size:10.5px}
  .live-map .twa-st-pass .twa-st-lbl b,.live-map .twa-st-ferry .twa-st-lbl b{font-size:8.5px}
}

/* nat1 (15 Nov 2026): natural geographic basemap — legibility of labels / dots on light terrain */
.v3b .map-panel .map.live-map.is-planned,.live-map.is-planned .maplibregl-canvas{background:#7FA3B8}
.live-map .twa-st-lbl{text-shadow:none;padding:3px 6px 3px;border-radius:4px;background:rgba(14,14,14,.66);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}
.live-map .twa-st.lbl-r .twa-st-lbl{left:7px}.live-map .twa-st.lbl-l .twa-st-lbl{right:7px}
.live-map .twa-st-dot{background:#2A2622;border-color:rgba(245,242,237,.85);box-shadow:0 0 0 2px rgba(14,14,14,.25)}
.live-map .twa-st.is-lit .twa-st-dot{box-shadow:0 0 0 2px rgba(14,14,14,.45),0 0 12px 3px rgba(255,138,42,.6)}
.live-map .twa-st-start.is-lit .twa-st-dot,.live-map .twa-st-end.is-lit .twa-st-dot{box-shadow:0 0 0 2px rgba(14,14,14,.5),0 0 0 5px rgba(232,131,58,.3),0 0 20px 6px rgba(255,138,42,.6)}
.live-map .twa-cty{color:rgba(60,42,26,.55);text-shadow:0 0 6px rgba(245,242,237,.6)}
.live-map.is-planned .twa-map-brand img{filter:drop-shadow(0 1px 1px rgba(0,0,0,.55)) drop-shadow(0 2px 12px rgba(0,0,0,.45))}
.live-map.is-planned .maplibregl-cooperative-gesture-screen{background:rgba(14,14,14,.6)}
/* card2 (15 Nov): date on its own line ABOVE the counter (Juan); counter fixed width so nothing shifts while it counts */
.live-map .twa-fc-km{display:inline-block;min-width:8.4ch;font-variant-numeric:tabular-nums;font-feature-settings:"tnum" 1}
.live-map .twa-fc-sep{display:none}
.live-map .twa-fc-d{flex-basis:100%;order:-1;font-size:.72em;letter-spacing:.08em;margin-bottom:-4px}
@media(max-width:700px){.live-map .twa-fc-d{font-size:.78em;margin-bottom:-2px}}
