/* PE2.22 — identidad artesanal. Conserva intro, vuelos, rutas y datos. */
body.te-active:not(.te-andrea-stage) #map{filter:none!important;transform:none!important}
body.te-active:not(.te-andrea-stage) #teShade:not(.on){backdrop-filter:none!important}
@media(min-width:1100px){
/* Papel de tres módulos centrales, continuo a la vista, sin tres cajas digitales. */
body.te-active .te217-hub{isolation:isolate}
body.te-active .te217-hub::before{content:"";position:absolute;z-index:-1;top:0;bottom:0;left:calc((100% - 20px)*.307);width:calc((100% - 20px)*.355);border:1px solid #a98b67;border-radius:13px 9px 16px 11px;background-color:#eee2ca;background-image:radial-gradient(#7c654b19 .65px,transparent 1px),repeating-linear-gradient(93deg,#fff3 0px,#0000 3px,#b8a98b15 5px,#0000 8px);background-size:13px 13px,37px 37px;box-shadow:0 7px 22px #0004;pointer-events:none}
body.te-active .te217-hub .te217-search,body.te-active .te217-hub .te217-stats,body.te-active .te217-hub .te217-weather{background:transparent!important;backdrop-filter:none!important;border:0!important;box-shadow:none!important;color:#34271d!important}
body.te-active .te217-hub .te217-search label,body.te-active .te217-hub .te217-stats>strong,body.te-active .te217-hub .te217-weather>strong{color:#392a1e!important}
body.te-active .te217-hub .te217-stats b{color:#6e421f!important}
body.te-active .te217-hub .te217-weather select{background:#efe2cb!important;color:#38281c!important}
body.te-active .te217-hub .te217-ads{background:none!important;backdrop-filter:none!important;border:0!important;box-shadow:none!important;overflow:visible!important}
body.te-active .te217-hub .te217-ads header{color:#f5e9d4;text-shadow:0 1px 3px #000}
body.te-active .te217-hub .te217-card{box-shadow:0 6px 15px #0007}
/* El panel de la derecha se reserva para la anfitriona de la siguiente fase. */
body.te-active .te217-hub .te220-reserve{background:rgba(238,226,203,.88)!important;color:#463326!important;backdrop-filter:blur(3px)!important;border:1px solid #b69a75!important}
}
/* El calendario y las noticias comparten material, sin ocultar controles. */
body.te-active #teWelcomeWidgets .te-widget.te-calendar,body.te-active #teWelcomeWidgets .te-widget.te-news{background:rgba(235,225,207,.89)!important;color:#38291f!important;border:1px solid #b9a181!important;backdrop-filter:blur(4px)!important}
body.te-active #teWelcomeWidgets .te-widget.te-calendar .te-widget-header,body.te-active #teWelcomeWidgets .te-widget.te-news .te-widget-header{background:rgba(89,64,44,.88)!important;color:#fff2db!important}
body.te-active #teWelcomeWidgets .te-calendar button{color:inherit}
body.te-active #teWelcomeWidgets .te-news-body{color:#392b23!important}
body.te-active #teWelcomeWidgets .te220-news-item{color:#392b23!important}
/* Hover fotográfico más tenue, sin destellos de videojuego. */
body.te-active #teCommuneOverlay .te-test-commune-card:hover{filter:brightness(1.055)!important;box-shadow:0 5px 16px #0005!important;transform:translateY(-2px)!important}
/* Entrada por desplazamiento, no disolución. Solo al llegar a la portada. */
@keyframes te222-left{from{transform:translateX(-32px)}to{transform:translateX(0)}}
@keyframes te222-right{from{transform:translateX(32px)}to{transform:translateX(0)}}
@keyframes te222-up{from{transform:translateY(28px)}to{transform:translateY(0)}}
body.te-active.te222-arriving #teWelcomeWidgets .te-calendar{animation:te222-left .65s ease-out both}
body.te-active.te222-arriving #teWelcomeWidgets .te-news{animation:te222-right .65s ease-out both}
body.te-active.te222-arriving #teCommuneOverlay{animation:te222-up .65s ease-out .15s both}
body.te-active.te222-arriving .te217-hub{animation:te222-up .7s ease-out .35s both}
@media(prefers-reduced-motion:reduce){body.te-active.te222-arriving #teWelcomeWidgets .te-calendar,body.te-active.te222-arriving #teWelcomeWidgets .te-news,body.te-active.te222-arriving #teCommuneOverlay,body.te-active.te222-arriving .te217-hub{animation:none!important}}
