html,body,#app{width:100%;height:100%;margin:0;overflow:hidden}#app{position:fixed;inset:0}#map{position:absolute;inset:0}.te-intro{position:fixed;inset:0;z-index:500;background:radial-gradient(ellipse at 50% 75%,#243744,#080e1c 65%);display:flex;flex-direction:column;align-items:center;justify-content:center;color:#f5ead5;font-family:Arial,sans-serif;transition:opacity .65s}.te-intro.is-gone{opacity:0;pointer-events:none}.te-intro-brand{font-size:clamp(25px,5vw,64px);letter-spacing:.16em;text-align:center}.te-intro-brand strong{display:block;color:#c4a16a}.te-load-track{width:min(440px,75vw);height:14px;background:#3b2b20;border:2px solid #98764d;border-radius:8px;margin-top:30px;overflow:hidden}.te-load-track>div{height:100%;width:0;background:linear-gradient(90deg,#745033,#d7ac68);transition:width .3s}.te-intro p{font-size:13px;letter-spacing:.12em}.te-intro button,.te-andrea button,#teReturn{cursor:pointer;background:#1d211bdc;border:1px solid #b89b68;color:white;padding:10px 16px;border-radius:7px}.te-shade{position:fixed;inset:0;background:rgba(0,0,0,.32);backdrop-filter:blur(5px);z-index:180;pointer-events:none;opacity:0;transition:opacity .5s}.te-shade.on{opacity:1}.te-map-frame{position:fixed;inset:0;background:url('./marco_mapa.png') center/100% 100% no-repeat;z-index:185;pointer-events:none;opacity:0;transition:opacity .6s}.te-map-frame.on{opacity:1}.te-andrea{position:fixed;inset:0;z-index:220;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;pointer-events:none}.te-andrea[hidden]{display:none}.te-video-wrap{width:min(78vw,960px,calc(70vh * 1.65));aspect-ratio:1.65;position:relative;pointer-events:auto}.te-video-wrap video{position:absolute;left:6%;top:10%;width:88%;height:80%;object-fit:cover;border-radius:4px;background:#111}.te-video-wrap video:not(.playing){visibility:hidden}.te-wood-frame{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.te-video-wrap #teAndreaClose{position:absolute;right:5%;top:7%;font-size:24px;line-height:1;padding:4px 11px;border-radius:50%}.te-andrea #teReplay{pointer-events:auto;font-size:12px}#teReturn{position:fixed;z-index:160;left:15px;top:15px}.welcome,.te-widgets,.te-commune-overlay,.islands,.te-version-badge{display:none!important}body.te-active .islands{display:flex!important}body.te-active .te-commune-overlay{display:block!important}@media(max-width:650px){.te-video-wrap{width:96vw}.te-intro-brand{font-size:26px}}
.te-intro-logo{display:block;width:min(560px,82vw);max-height:32vh;object-fit:contain;filter:drop-shadow(0 12px 24px #0007)}.te-intro[hidden]{display:none}.te-andrea .te-video-wrap video{object-position:center}.te-map-frame{background-size:100% 100%}body:not(.te-active) .camera{display:none!important}@media(max-width:650px){.te-video-wrap{width:min(96vw,calc(80vh * 1.65))}}

/* v1.0.2: foco cinematográfico constante durante vuelo y bienvenida */
.te-map-frame{display:none!important}
#map{filter:blur(5px);transform:scale(1.018);transition:filter .8s ease,transform .8s ease}
body.te-active #map{filter:none;transform:none}
.te-shade{background:rgba(0,0,0,.08);backdrop-filter:none}
.te-intro button:disabled{opacity:.5;cursor:wait}
.te-andrea{transition:transform .55s ease,opacity .55s ease}
.te-andrea.te-exiting{transform:translateY(110vh);opacity:0}
#teMusicToggle{position:fixed;z-index:230;right:18px;top:18px;cursor:pointer;border:1px solid #a98c61;background:#19231de6;color:white;border-radius:20px;padding:9px 14px}
#teMusicToggle[hidden]{display:none}

/* v1.0.3 — reparación visual y etiqueta de versión */
#teIntro.te-intro{position:fixed!important;inset:0!important;z-index:9999!important;display:flex!important;align-items:center!important;justify-content:center!important;flex-direction:column!important;overflow:hidden!important;box-sizing:border-box!important;padding:24px!important}
#teIntro.te-intro[hidden]{display:none!important}
#teIntro .te-intro-logo{width:min(560px,80vw)!important;max-height:30vh!important;flex:none!important}
#teIntro .te-load-track{flex:none!important;margin-top:26px!important}
#teIntro #teSkip{flex:none!important}
/* Ocultar los elementos heredados de la bienvenida mientras se prepara la nueva presentación */
#welcome{display:none!important}
body:not(.te-active) .te-commune-overlay,body:not(.te-active) .te-widgets{display:none!important}
/* Pie visible en todo momento, por encima del mapa, pero bajo la presentación */
#app .te-version-badge{display:block!important;position:fixed!important;left:12px!important;bottom:12px!important;z-index:210!important;pointer-events:none!important;font:10px/1.4 Arial,sans-serif!important;color:#f1e9d8!important;background:rgba(15,22,22,.72)!important;border:1px solid rgba(255,255,255,.15)!important;border-radius:6px!important;padding:5px 9px!important;max-width:calc(100vw - 24px)!important}
body:not(.te-active) #app .te-version-badge{z-index:190!important}
@media(max-width:700px){#app .te-version-badge{font-size:9px!important;bottom:8px!important;left:8px!important}}

/* TE 1.0.5 — Fondo panorámico inicial */
.te-intro{background:#080e1c url("./inicio.jpg") center center / cover no-repeat;}

/* v1.0.6: transparencia de copyright, enfoque progresivo, logo durante vuelo */
#app .te-version-badge{background:transparent!important;border:0!important;border-radius:0!important;padding:0!important;box-shadow:none!important;font-size:9px!important;color:rgba(255,255,255,.75)!important;text-shadow:0 1px 3px #000!important;left:10px!important;bottom:7px!important}
#teFlightLogo{position:fixed;z-index:205;left:50%;top:43%;transform:translate(-50%,-50%);width:min(440px,70vw);max-height:23vh;object-fit:contain;opacity:0;pointer-events:none;transition:opacity 1.4s ease;filter:drop-shadow(0 5px 14px #0008)}
#teFlightLogo.te-show{opacity:1}#teFlightLogo.te-fade{opacity:0}
#map{filter:blur(12px);transform:scale(1.035);transition:filter .55s linear,transform .55s linear}
body.te-andrea-stage #map{filter:blur(.6px);transform:scale(1.002)}
body.te-active #map{filter:none;transform:none}
#teMusicToggle{font-size:12px!important;padding:7px 12px!important}

/* v1.0.7: copyright a la derecha de Google Maps, sin caja */
#app .te-version-badge{left:190px!important;bottom:26px!important;white-space:nowrap!important;font-size:9px!important;max-width:calc(100vw - 200px)!important;overflow:hidden!important;text-overflow:ellipsis!important;z-index:210!important}
@media(max-width:560px){#app .te-version-badge{left:130px!important;bottom:28px!important;font-size:8px!important;max-width:calc(100vw - 140px)!important}}

/* v1.0.8: copyright un punto mayor y ligeramente mas abajo */
#app .te-version-badge{bottom:20px!important;font-size:10px!important}
@media(max-width:560px){#app .te-version-badge{bottom:22px!important;font-size:9px!important}}

/* v1.0.13: estrellas solo en portada y aviso discreto */
#teIntro #teStarCanvas{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:0}
#teIntro>.te-intro-logo,#teIntro>.te-load-track,#teIntro>#teLoadLabel,#teIntro>#teSkip{position:relative;z-index:1}
#teIntro .te-entry-note{position:absolute;bottom:14px;left:16px;right:16px;text-align:center;font-size:9px!important;line-height:1.35;letter-spacing:0!important;color:rgba(240,239,235,.66);z-index:1;margin:0;font-weight:400}
@media(max-width:600px){#teIntro .te-entry-note{font-size:8px!important;bottom:10px}}

/* v1.0.15: copyright solo al llegar a Andrea y durante la exploración. */
body:not(.te-andrea-stage):not(.te-active) #app .te-version-badge{display:none!important}

/* v1.0.16: botón tipo vidrio/plástico de reloj inteligente */
#teIntro #teSkip{min-width:226px!important;min-height:49px!important;padding:12px 25px!important;border-radius:24px!important;border:1px solid rgba(255,255,255,.47)!important;color:#fff!important;font:600 13px/1.25 Arial,sans-serif!important;letter-spacing:.035em!important;text-shadow:0 1px 2px #0008!important;background:linear-gradient(165deg,rgba(255,255,255,.29) 0%,rgba(255,255,255,.075) 32%,rgba(10,20,30,.78) 68%,rgba(5,11,17,.9) 100%)!important;box-shadow:inset 0 1px 1px rgba(255,255,255,.58),inset 0 -2px 5px rgba(0,0,0,.5),0 8px 23px rgba(0,0,0,.4),0 0 0 1px rgba(255,255,255,.07)!important;backdrop-filter:blur(14px) saturate(145%);-webkit-backdrop-filter:blur(14px) saturate(145%);transition:filter .18s ease,transform .18s ease,box-shadow .18s ease!important}
#teIntro #teSkip:not(:disabled):hover{filter:brightness(1.25);transform:translateY(-1px);box-shadow:inset 0 1px 2px #fff9,inset 0 -2px 5px #0008,0 11px 27px #0009,0 0 13px #d9e6f344!important}
#teIntro #teSkip:not(:disabled):active{transform:translateY(1px);filter:brightness(.93)}
#teFlightLogo{transition:opacity 1.25s ease!important}
/* Andrea entra con zoom suave, sin afectar la animación de salida existente. */
.te-andrea:not([hidden]):not(.te-exiting){animation:teAndreaZoomIn .72s cubic-bezier(.18,.8,.24,1) both}
@keyframes teAndreaZoomIn{from{opacity:0;transform:scale(.84)}to{opacity:1;transform:scale(1)}}
@media(prefers-reduced-motion:reduce){.te-andrea:not([hidden]):not(.te-exiting){animation:none}}

/* v1.0.18: barra en transición del naranjo del logotipo al tono tierra */
#teIntro .te-load-track{background:rgba(34,26,20,.68)!important;border-color:rgba(198,115,61,.65)!important;box-shadow:inset 0 1px 5px #0009,0 1px 5px #0004!important}
#teIntro #teLoadBar{background:linear-gradient(90deg,#db5526 0%,#c46c36 42%,#967046 75%,#725638 100%)!important;box-shadow:0 0 12px rgba(220,86,38,.36)!important}
/* El tamaño y posición del logo de vuelo se sincronizan con el de portada por JS. */
#teFlightLogo.te-locked{left:0!important;top:0!important;transform:none!important;max-height:none!important;object-fit:contain!important;transition:opacity 1.25s ease!important}

/* v1.0.19: el logo de vuelo replica el rectángulo exacto del logo de portada.
   Sin !important en coordenadas para respetar la medición del navegador. */
#teFlightLogo.te-locked{left:var(--te-logo-left)!important;top:var(--te-logo-top)!important;width:var(--te-logo-width)!important;height:var(--te-logo-height)!important;transform:none!important;max-height:none!important;object-fit:contain!important;object-position:center center!important;}
#teIntro.te-intro.is-gone .te-intro-logo{opacity:0!important;}

/* v1.0.20: dimensiones de portada transferidas con setProperty al logo de vuelo. */
#teFlightLogo.te-locked{position:fixed!important;inset:auto!important;left:var(--te-logo-left)!important;top:var(--te-logo-top)!important;width:var(--te-logo-width)!important;height:var(--te-logo-height)!important;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;transform:none!important;object-fit:contain!important;}

/* v1.0.21 — continuidad visual logo sin fade-in de entrada */
#teFlightLogo.te-locked.te-show:not(.te-fade){opacity:1!important;transition:none!important;}
#teFlightLogo.te-locked.te-fade{opacity:0!important;transition:opacity 1.25s ease!important;}
/* La ventana de Andrea sale como UNA sola pieza (video, marco de palos y controles).
   La animación de zoom-in no debe anular el transform del cierre. */
#teAndrea.te-andrea.te-exiting{animation:none!important;transform:translate3d(0,110vh,0)!important;opacity:0!important;transition:transform 2s cubic-bezier(.42,0,.85,.48),opacity 2s ease-in!important;will-change:transform,opacity;}
#teAndrea.te-andrea:not(.te-exiting){transition:none;}

/* v1.0.22: fondo nuevo sin mancha y mar ligeramente suavizado */
#teIntro.te-intro{background-image:url('./inicio_v122.jpg')!important;background-position:center center!important;background-size:cover!important;}
/* El cierre de Andrea lo controla Web Animations API, evitando conflictos CSS
   con el zoom de entrada, la clase te-exiting y Safari/Chrome. */
#teAndrea.te-andrea.te-exiting{animation:none!important;transition:none!important;transform:none!important;opacity:1!important;}
#teAndrea.te-andrea.te-exiting .te-video-wrap{pointer-events:none;}

/* v1.0.23: salida por escala del marco completo, independiente del zoom inicial. */
#teAndrea.te-closing{animation:none!important;}
#teAndrea.te-closing .te-video-wrap{pointer-events:none;will-change:transform,opacity;}
@media(prefers-reduced-motion:reduce){#teAndrea.te-closing .te-video-wrap{transition-duration:.15s!important;}}

/* v1.0.27: porcentaje centrado sobre la barra de carga */
#teIntro .te-load-wrap{width:min(440px,75vw);display:flex;flex-direction:column;align-items:center;margin-top:30px}
#teIntro #teLoadPercent{display:block;color:#f5ead5;font:400 13px/1.4 Arial,sans-serif;letter-spacing:.12em;text-align:center;margin-bottom:6px;font-variant-numeric:tabular-nums}
#teIntro .te-load-wrap .te-load-track{width:100%;margin-top:0}

/* v1.0.28 · menú permanente de madera; visible solo tras cerrar Andrea */
#teTopMenu[hidden],#teSettingsMenu[hidden]{display:none!important}
#teTopMenu{position:fixed;top:0;left:50%;transform:translateX(-50%);width:min(1160px,calc(100vw - 30px));z-index:205;display:flex;flex-direction:column;align-items:center;pointer-events:none;font-family:Museo,'Trebuchet MS',Arial,sans-serif;color:#f9ead2}
.te-top-wood{width:100%;min-height:92px;display:flex;align-items:center;gap:22px;box-sizing:border-box;padding:8px 22px 16px;border-radius:0 0 25px 25px;border-bottom:4px solid #4b2a17;background:linear-gradient(180deg,#24130733,#0002),url('./madera_menu_te.jpg') center/auto 124px repeat;box-shadow:0 8px 18px #0009,inset 0 -6px 12px #130b06a0;pointer-events:auto}
.te-top-brand{flex:0 0 228px}.te-top-brand img{width:100%;height:64px;object-fit:contain;filter:drop-shadow(0 2px 3px #0009)}
.te-top-links{flex:1;display:flex;align-items:stretch;justify-content:space-between;gap:3px}
.te-top-links button{background:transparent;border:0;color:#f3e4cf;min-width:0;padding:8px 4px;cursor:pointer;font:600 10px/1.3 Museo,'Trebuchet MS',Arial,sans-serif;letter-spacing:.02em;display:flex;flex-direction:column;align-items:center;gap:6px;text-shadow:0 2px 3px #000;transition:color .2s,background .2s,filter .2s}
.te-top-links button:hover,.te-top-links button:focus-visible,.te-top-links button.te-selected{color:#f9a44e;background:#160d08a6;filter:drop-shadow(0 0 4px #ffa44688);outline:0}
.te-nav-icon{font-family:Georgia,serif;font-size:27px;line-height:29px;color:#caa274;text-shadow:1px 2px 2px #100804,0 -1px 0 #e1b88d;display:block}
.te-top-links button:hover .te-nav-icon,.te-top-links button.te-selected .te-nav-icon{color:#ffb15b}
.te-nav-settings{position:relative;display:flex}
.te-nav-submenu{position:absolute;top:100%;right:0;width:175px;background:rgba(7,8,9,.84);backdrop-filter:blur(12px);border:1px solid #d4ae7766;border-radius:7px;padding:5px;box-shadow:0 9px 24px #0008;display:flex;flex-direction:column}
.te-nav-submenu button{display:block;width:100%;font-size:12px;text-align:left;padding:11px 14px}
.te-top-home{margin-top:-2px;pointer-events:auto;border:1px solid #5b341f;background:linear-gradient(#6c4329,#3b2417);color:#f3e1c7;padding:5px 22px 7px;border-radius:0 0 11px 11px;font:600 10px Museo,'Trebuchet MS',Arial,sans-serif;letter-spacing:.06em;cursor:pointer;box-shadow:0 4px 10px #0006;transition:background .2s,color .2s}
.te-top-home:hover{color:#ffbb72;background:linear-gradient(#75492d,#402418)}
@media(max-width:920px){#teTopMenu{width:calc(100vw - 12px)}.te-top-wood{gap:9px;padding:5px 9px 13px}.te-top-brand{flex-basis:140px}.te-top-brand img{height:53px}.te-top-links button{font-size:8px;letter-spacing:0}.te-nav-icon{font-size:22px}}
@media(max-width:650px){.te-top-wood{flex-wrap:wrap;justify-content:center;padding:5px 7px 12px}.te-top-brand{flex-basis:130px}.te-top-links{width:100%;overflow-x:auto;justify-content:flex-start}.te-top-links button{min-width:66px;font-size:8px}.te-nav-icon{font-size:19px}}

/* v1.0.29: barras simétricas de madera, dos navegaciones independientes */
#teTopMenu{width:min(1340px,calc(100vw - 36px));font-family:Museo,'Trebuchet MS',Arial,sans-serif}
#teTopMenu .te-top-wood{min-height:92px;border-radius:0 0 19px 19px;gap:12px;padding:6px 16px 14px;background:linear-gradient(180deg,#24130722,#0002),url('./madera_menu_te.jpg') center/auto 124px repeat}
#teTopMenu .te-top-brand{flex:0 0 205px}
#teTopMenu .te-top-links{justify-content:space-around;gap:2px}
#teTopMenu .te-top-links>button,#teTopMenu .te-top-links>.te-nav-settings>button{font-size:10px;padding:8px 5px;min-height:70px}
#teTopMenu .te-nav-icon{font-size:25px}
#teTopMenu .te-nav-submenu{min-width:185px;width:max-content;max-width:230px;top:calc(100% + 2px);right:0;background:rgba(8,9,10,.87);z-index:400}
#teTopMenu .te-nav-submenu a,#teTopMenu .te-nav-submenu button{font:500 12px/1.3 Museo,'Trebuchet MS',Arial,sans-serif;color:#f7ead9;display:flex;align-items:center;gap:11px;width:100%;box-sizing:border-box;text-decoration:none;background:none;border:0;border-radius:4px;padding:11px 12px;text-align:left;cursor:pointer}
#teTopMenu .te-nav-submenu a:hover,#teTopMenu .te-nav-submenu button:hover{background:rgba(255,151,55,.19);color:#ffb56e}
.te-social-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 20px;width:20px;height:20px;font:700 16px/1 Arial,sans-serif;color:#e7b481}
#teTopMenu .te-top-home{font-size:10px;padding:5px 18px 7px}
/* Dock turístico original conserva sus eventos y selectores; solo cambia su presentación. */
#app .island.tourism{background:linear-gradient(180deg,#24130733,#0002),url('./madera_menu_te.jpg') center/auto 124px repeat!important;border:1px solid #4b2a17!important;border-radius:18px!important;box-shadow:0 8px 22px #0009,inset 0 1px 1px #e1ad7140!important;display:flex!important;gap:3px!important;padding:6px 9px!important;min-height:70px!important}
#app .island.tourism .tour-button{display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;gap:3px!important;min-width:85px!important;min-height:59px!important;width:auto!important;height:auto!important;border-radius:10px!important;color:#f1dfc7!important;font:600 10px/1.15 Museo,'Trebuchet MS',Arial,sans-serif!important;letter-spacing:.01em!important}
#app .island.tourism .tour-button .te-bottom-icon{font:normal 26px/1 Georgia,serif;color:#caa274;text-shadow:0 2px 2px #000}
#app .island.tourism .tour-button .te-bottom-label{display:block;white-space:nowrap}
#app .island.tourism .tour-button:hover{background:#160d08a6!important;color:#ffb15b!important}
#app .island.tourism .tour-button:hover .te-bottom-icon{color:#ffb15b}
@media(max-width:1050px){#teTopMenu{width:calc(100vw - 12px)}#teTopMenu .te-top-brand{flex-basis:150px}#teTopMenu .te-top-links>button,#teTopMenu .te-top-links>.te-nav-settings>button{font-size:8px}#app .island.tourism .tour-button{min-width:66px!important}}
@media(max-width:650px){#teTopMenu .te-top-wood{flex-wrap:wrap}#teTopMenu .te-top-links{overflow-x:auto;justify-content:flex-start;width:100%}#teTopMenu .te-top-links>button,#teTopMenu .te-top-links>.te-nav-settings>button{min-width:70px}#app .island.tourism{max-width:calc(100vw - 24px);overflow-x:auto}#app .island.tourism .tour-button{min-width:62px!important}}

/* v1.0.30 — tabla superior artesanal asimétrica, compacta. Tres docks inferiores independientes */
#teTopMenu{width:min(1090px,calc(100vw - 28px))!important;top:0!important}
#teTopMenu .te-top-wood{position:relative;min-height:74px!important;gap:7px!important;padding:4px 18px 11px!important;border:0!important;border-radius:0!important;background:linear-gradient(180deg,#160c0644,#0003),url('./madera_menu_te.jpg') center/auto 120px repeat!important;clip-path:polygon(0 0,100% 0,99.6% 65%,98.5% 87%,96% 97%,87% 99%,73% 95%,61% 98%,48% 94%,37% 99%,23% 96%,12% 100%,3% 92%,.5% 77%)!important;filter:drop-shadow(0 5px 4px #000a);box-shadow:inset 0 -5px 7px #100802bb!important}
#teTopMenu .te-top-brand{flex:0 0 175px!important}
#teTopMenu .te-top-brand img{height:51px!important}
#teTopMenu .te-top-links{gap:0!important;justify-content:space-between!important}
#teTopMenu .te-top-links>button,#teTopMenu .te-top-links>.te-nav-settings>button{font-size:8px!important;min-height:54px!important;padding:3px 3px 6px!important;gap:3px!important;white-space:nowrap!important}
#teTopMenu .te-nav-icon{font-size:21px!important;line-height:23px!important}
#teTopMenu .te-top-home{margin-top:-3px!important;font-size:9px!important;padding:4px 13px 5px!important;border-radius:0 0 9px 9px!important}
#teTopMenu .te-nav-submenu{clip-path:none!important}
#app .island.camera,#app .island.search-island{background:linear-gradient(180deg,#24130755,#0004),url('./madera_menu_te.jpg') center/auto 124px repeat!important;border:1px solid #4b2a17!important;border-radius:17px!important;box-shadow:0 8px 22px #0008,inset 0 1px 1px #e1ad7140!important}
#app .island.tourism{background:linear-gradient(180deg,#24130755,#0004),url('./madera_menu_te.jpg') center/auto 124px repeat!important}
#teTopMenu .te-social-icon svg{width:16px;height:16px;display:block;fill:currentColor}
@media(max-width:1050px){#teTopMenu{width:calc(100vw - 12px)!important}#teTopMenu .te-top-brand{flex-basis:125px!important}#teTopMenu .te-top-brand img{height:42px!important}#teTopMenu .te-top-links>button,#teTopMenu .te-top-links>.te-nav-settings>button{font-size:7px!important}#teTopMenu .te-nav-icon{font-size:18px!important}}
@media(max-width:650px){#teTopMenu .te-top-wood{clip-path:none!important;border-radius:0 0 15px 15px!important;min-height:65px!important}#teTopMenu .te-top-links{overflow-x:auto!important}}

/* v1.0.31 — madera artesanal compacta, sin recortar submenús */
#teTopMenu{width:min(1100px,calc(100vw - 32px))!important;overflow:visible!important;isolation:isolate}
#teTopMenu .te-top-wood{position:relative!important;min-height:77px!important;padding:5px 19px 16px!important;gap:7px!important;background:none!important;clip-path:none!important;filter:none!important;box-shadow:none!important;overflow:visible!important;z-index:2}
#teTopMenu .te-top-wood::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(180deg,#e1ae7330,#1208053d),url('./madera_menu_te.jpg') center/auto 116px repeat;clip-path:polygon(0 0,100% 0,99.9% 69%,99% 86%,96% 96%,87% 98%,75% 96%,62% 98%,49% 95%,36% 99%,24% 97%,12% 99%,3% 92%,.6% 80%);border-radius:0 0 22px 22px;box-shadow:inset 0 -8px 12px #1c0e07a0}
#teTopMenu .te-top-wood::after{content:"";position:absolute;left:3%;right:3%;bottom:3px;height:8px;z-index:-2;background:#130905;filter:blur(7px);border-radius:50%;pointer-events:none}
#teTopMenu .te-top-brand{flex:0 0 177px!important}
#teTopMenu .te-top-brand img{height:56px!important}
#teTopMenu .te-top-links{flex:0 1 auto!important;justify-content:center!important;gap:3px!important;align-items:center!important;margin:0 auto}
#teTopMenu .te-top-links>button,#teTopMenu .te-top-links>.te-nav-settings>button{min-width:79px!important;max-width:111px!important;min-height:57px!important;padding:3px 4px 5px!important;gap:4px!important;font-size:9px!important;white-space:normal!important}
#teTopMenu .te-top-links .te-nav-settings{position:relative;z-index:3}
#teTopMenu .te-nav-icon{height:29px!important;display:flex!important;align-items:center;justify-content:center}
#teTopMenu .te-nav-icon svg{display:block;width:28px;height:28px;stroke:#d3a16c;filter:drop-shadow(0 2px 1px #180b04)}
#teTopMenu .te-top-links button:hover .te-nav-icon svg{stroke:#ffac51;filter:drop-shadow(0 0 4px #ffad6a)}
#teTopMenu .te-nav-submenu{top:calc(100% - 1px)!important;right:0!important;z-index:999!important;clip-path:none!important;filter:none!important;min-width:188px!important}
#teTopMenu .te-nav-submenu[hidden]{display:none!important}
#teTopMenu .te-top-home{position:relative!important;z-index:1!important;margin-top:-10px!important;padding:13px 22px 7px!important;border-radius:0 0 12px 12px!important;border:1px solid #856340!important;background:linear-gradient(165deg,#b58a5b,#795438 75%,#513521)!important;box-shadow:0 4px 10px #0008!important;color:#fff0d7!important}
#teTopMenu .te-top-home:hover{filter:brightness(1.13)}
#teTopMenu .te-social-icon{font-family:Arial,sans-serif;font-size:16px;font-weight:800;width:22px;flex-basis:22px}
#teTopMenu .te-brand-youtube{color:#ff4242}#teTopMenu .te-brand-instagram{color:#f38ab2;font-size:23px}#teTopMenu .te-brand-tiktok{color:#f5f5f5;font-size:20px}#teTopMenu .te-brand-facebook{color:#72a9ff;font-size:19px}
/* Los cinco accesos turísticos deben quedar dentro del dock central. */
#app .islands{gap:17px!important;max-width:calc(100vw - 22px)!important}
#app .island.tourism{flex:0 0 auto!important;width:auto!important;min-width:0!important;max-width:none!important;overflow:visible!important;gap:3px!important;justify-content:center!important}
#app .island.tourism .tour-button{flex:0 0 78px!important;min-width:78px!important;width:78px!important;max-width:78px!important;padding:4px 2px!important}
#app .island.camera,#app .island.search-island{flex-shrink:0!important}
/* Botón de música circular artesanal, sin texto visible, estado accesible. */
#teMusicToggle{right:8px!important;top:14px!important;width:43px!important;height:43px!important;min-width:43px!important;padding:0!important;border-radius:50%!important;background:linear-gradient(#37211355,#130c0855),url('./madera_menu_te.jpg') center/auto 110px!important;border:2px solid #8b5d36!important;box-shadow:0 4px 10px #0009,inset 0 1px 2px #e4b47780!important;font-size:0!important;display:flex;align-items:center;justify-content:center}
#teMusicToggle[hidden]{display:none!important}
#teMusicToggle::before{content:'♫';font:700 24px/1 Georgia,serif;color:#f0d0a0;text-shadow:0 2px 3px #000}
#teMusicToggle[aria-pressed="false"]::after{content:'';position:absolute;width:26px;height:2px;background:#ed744f;transform:rotate(-45deg);box-shadow:0 1px 1px #000}
#teMusicToggle:hover{filter:brightness(1.18)}
@media(max-width:1170px){#teTopMenu .te-top-brand{flex-basis:140px!important}#teTopMenu .te-top-links>button,#teTopMenu .te-top-links>.te-nav-settings>button{min-width:69px!important;font-size:8px!important}#app .island.tourism .tour-button{flex-basis:66px!important;min-width:66px!important;width:66px!important;max-width:66px!important}}
@media(max-width:900px){#teTopMenu .te-top-links{overflow-x:auto!important;justify-content:flex-start!important}#teTopMenu .te-top-wood{padding-left:9px!important;padding-right:9px!important}#app .islands{gap:6px!important}#app .island.tourism .tour-button{flex-basis:58px!important;min-width:58px!important;width:58px!important;max-width:58px!important}}

/* v1.0.32 — fondo original entregado, sin recrear la silueta */
#teTopMenu{width:min(1100px,calc(100vw - 28px))!important;z-index:950!important;isolation:auto!important}
#teTopMenu .te-top-wood{min-height:85px!important;padding:4px 28px 23px!important;gap:9px!important;position:relative!important;z-index:auto!important;background:none!important}
#teTopMenu .te-top-wood::before{content:""!important;position:absolute!important;inset:0!important;background:url('./tabla_menu_original.png') center top/100% 100% no-repeat!important;clip-path:none!important;border-radius:0!important;box-shadow:none!important;z-index:-1!important;pointer-events:none!important}
#teTopMenu .te-top-wood::after{display:none!important}
#teTopMenu .te-top-brand{flex:0 0 170px!important;z-index:1!important}
#teTopMenu .te-top-brand img{height:51px!important;max-width:100%!important;object-fit:contain!important}
#teTopMenu .te-top-links{gap:1px!important;justify-content:space-evenly!important;flex:1!important;margin:0!important;overflow:visible!important}
#teTopMenu .te-top-links>button,#teTopMenu .te-top-links>.te-nav-settings>button{min-width:0!important;width:clamp(63px,7vw,100px)!important;max-width:none!important;min-height:57px!important;padding:2px 2px 5px!important;gap:1px!important;font-size:8px!important;line-height:1.1!important;background:transparent!important}
#teTopMenu .te-nav-icon{height:34px!important;line-height:34px!important}
#teTopMenu .te-icon-wood{display:block;width:34px;height:34px;object-fit:contain;filter:drop-shadow(0 2px 1px #15080499);transition:filter .2s,transform .2s}
#teTopMenu .te-top-links button:hover .te-icon-wood,#teTopMenu .te-top-links button:focus-visible .te-icon-wood{filter:drop-shadow(0 0 6px #ffae57);transform:translateY(-1px)}
#teTopMenu .te-top-home{margin-top:-24px!important;position:relative!important;z-index:0!important;background:transparent!important;border:0!important;box-shadow:none!important;padding:17px 18px 5px!important;font-size:9px!important;color:#fff2dc!important}
#teTopMenu .te-top-home:hover{color:#ffb773!important}
#teTopMenu .te-nav-settings{position:relative!important;z-index:980!important}
#teTopMenu .te-nav-submenu{position:absolute!important;top:100%!important;z-index:9999!important;clip-path:none!important;overflow:visible!important;visibility:visible!important;filter:none!important;transform:none!important}
#teTopMenu .te-nav-submenu[hidden]{display:none!important}
@media(max-width:900px){#teTopMenu .te-top-wood{padding:4px 12px 20px!important}#teTopMenu .te-top-brand{flex-basis:112px!important}#teTopMenu .te-top-brand img{height:39px!important}#teTopMenu .te-top-links>button,#teTopMenu .te-top-links>.te-nav-settings>button{width:clamp(49px,8vw,72px)!important;font-size:7px!important}#teTopMenu .te-icon-wood{width:27px;height:27px!important}}

/* v1.0.33 — ajuste preciso de la tabla aportada: contenido dentro de la madera */
#teTopMenu{width:min(1120px,calc(100vw - 32px))!important;top:0!important;overflow:visible!important}
#teTopMenu .te-top-wood{height:119px!important;min-height:119px!important;max-height:119px!important;box-sizing:border-box!important;padding:8px 34px 38px!important;align-items:flex-start!important;gap:8px!important;overflow:visible!important;flex-wrap:nowrap!important}
#teTopMenu .te-top-wood::before{inset:0!important;background:url('./tabla_menu_original.png') center top/100% 100% no-repeat!important}
#teTopMenu .te-top-brand{flex:0 0 160px!important;align-self:flex-start!important;margin-top:9px!important}
#teTopMenu .te-top-brand img{height:48px!important;width:160px!important;object-fit:contain!important}
#teTopMenu .te-top-links{align-self:flex-start!important;align-items:center!important;justify-content:space-between!important;gap:3px!important;flex:1 1 auto!important;min-width:0!important;overflow:visible!important;margin:0!important}
#teTopMenu .te-top-links>button,#teTopMenu .te-top-links>.te-nav-settings>button{height:69px!important;min-height:69px!important;min-width:0!important;width:clamp(65px,6.8vw,94px)!important;padding:2px 1px!important;gap:2px!important;justify-content:center!important;font-size:8px!important;line-height:1.12!important;text-align:center!important}
#teTopMenu .te-nav-icon{height:40px!important;line-height:40px!important}
#teTopMenu .te-icon-wood{height:38px!important;width:38px!important}
#teTopMenu .te-top-home{position:absolute!important;top:84px!important;left:50%!important;transform:translateX(-50%)!important;margin:0!important;padding:7px 9px!important;height:26px!important;min-width:165px!important;z-index:4!important;font-size:9px!important;line-height:12px!important;white-space:nowrap!important;text-align:center!important;color:#fff2dc!important;background:transparent!important;border:0!important;box-shadow:none!important}
#teTopMenu .te-nav-settings{align-self:flex-start!important}
#teTopMenu .te-nav-submenu{top:calc(100% - 2px)!important;right:0!important;z-index:9999!important}
@media(max-width:1000px){#teTopMenu .te-top-wood{padding:8px 19px 38px!important;gap:3px!important}#teTopMenu .te-top-brand{flex-basis:118px!important}#teTopMenu .te-top-brand img{width:118px!important;height:42px!important}#teTopMenu .te-top-links>button,#teTopMenu .te-top-links>.te-nav-settings>button{width:clamp(52px,7.6vw,80px)!important;font-size:7px!important}#teTopMenu .te-icon-wood{width:32px!important;height:32px!important}}
@media(max-width:720px){#teTopMenu{width:calc(100vw - 8px)!important}#teTopMenu .te-top-wood{padding:5px 10px 38px!important;height:116px!important;min-height:116px!important;max-height:116px!important}#teTopMenu .te-top-brand{flex-basis:85px!important}#teTopMenu .te-top-brand img{width:85px!important;height:36px!important}#teTopMenu .te-top-links{overflow-x:auto!important}#teTopMenu .te-top-links>button,#teTopMenu .te-top-links>.te-nav-settings>button{flex:0 0 58px!important;width:58px!important;font-size:7px!important}#teTopMenu .te-icon-wood{width:27px!important;height:27px!important}}

/* TE 3.5: misma imagen limpia durante la introducción y el vuelo. */
#teFlightLogo{filter:none!important;-webkit-filter:none!important;}
/* Elevar 14px todo el grupo central, sin mover al auspiciador. */
#teIntro>.te-intro-logo,#teIntro>.te-load-wrap,#teIntro>#teLoadLabel,#teIntro>#teSkip{position:relative;top:-14px;}
/* Acercar el porcentaje a la barra de progreso. */
#teIntro #teLoadPercent{margin-bottom:2px!important;}
