/* PE2.18 — distribución aprobada, sin tocar vuelo, Andrea ni cámara. */
body.te-active .te217-hub{left:clamp(28px,3.8vw,65px)!important;right:auto!important;top:clamp(475px,55vh,555px)!important;bottom:clamp(62px,8vh,88px)!important;width:calc(63vw - 32px);max-width:940px;display:grid!important;grid-template-columns: minmax(280px,1.1fr) minmax(300px,1fr);grid-template-rows:minmax(72px,auto) minmax(128px,1fr) 25px;gap:9px;align-content:stretch;justify-content:stretch;pointer-events:none}
body.te-active .te217-hub[hidden]{display:none!important}
.te217-hub .te217-search{grid-column:2;grid-row:1;width:100%;box-sizing:border-box;align-self:stretch;margin:0;padding:8px 12px;min-height:70px}
.te217-hub .te217-search label{font-size:12px;margin-bottom:5px}.te217-hub .te217-search input{padding:8px}.te217-hub .te217-search button{padding:6px 10px}
.te217-hub .te217-lower{display:contents!important;max-height:none!important;overflow:visible!important}
.te217-hub .te217-ads{grid-column:1;grid-row:1/3;min-height:0;display:flex;flex-direction:column;overflow:hidden}
.te217-hub .te217-weather{grid-column:2;grid-row:2;min-height:0;overflow:hidden}
.te217-hub .te217-stats{grid-column:1/3;grid-row:3;min-height:0;overflow:hidden;white-space:nowrap;padding:3px 10px!important;gap:12px;font-size:10px}
.te217-hub .te217-stats #te217Stats{flex-wrap:nowrap;gap:9px}
.te217-hub .te217-carousel{height:auto!important;flex:1;min-height:150px;gap:3px}
.te217-hub .te217-cards{height:100%!important;min-height:145px;overflow:visible;perspective:1000px}
.te217-hub .te217-card{height:min(95%,245px)!important;width:min(33%,155px)!important;top:50%;transform-origin:center center;border-radius:5px;box-shadow:none!important;padding:4px}
.te217-hub .te217-card.center{border-color:#e9d2a4;filter:drop-shadow(0 0 5px #e4c38c66)}
.te217-hub .te217-carousel>button{z-index:12;border-radius:50%;width:31px;height:31px;padding:0;flex-shrink:0}
.te217-hub .te217-forecast{justify-content:space-around;overflow:hidden;padding:13px 0 3px!important;gap:1px}.te217-hub .te217-day{flex:1 1 0;min-width:0;font-size:10px}.te217-hub .te217-day .icon{font-size:19px;margin:7px 0}.te217-hub .te217-day strong{font-size:15px}
body.te-active #teWelcomeWidgets .te-news-body:has(.te218-news-track){height:calc(100% - 95px);overflow:hidden;padding:0 10px}
.te218-news-track{height:100%;overflow:hidden;position:relative}.te218-news-stack{display:flex;flex-direction:column;gap:15px;will-change:transform;animation:te218-rise 38s linear infinite}.te218-news-track:hover .te218-news-stack,.te218-news-track:focus-within .te218-news-stack{animation-play-state:paused}
.te218-news-item{display:block;color:#fff;text-decoration:none;padding:10px 3px;border-bottom:1px solid #ffffff38}.te218-news-item img{width:100%;max-height:170px;object-fit:cover;border-radius:8px}.te218-news-item small{display:block;color:#d8b986;margin:7px 0;font-size:11px}.te218-news-item strong{font-size:16px;line-height:1.3;display:block}.te218-news-item:hover strong{text-decoration:underline}
@keyframes te218-rise{from{transform:translateY(0)}to{transform:translateY(-50%)}}
@media(max-height:800px){body.te-active .te217-hub{top:53vh!important;bottom:64px!important}.te217-hub .te217-card{height:min(96%,180px)!important}.te217-hub .te217-forecast{padding:4px 0!important}}
@media(max-width:1100px){body.te-active .te217-hub{left:25px!important;width:calc(72vw - 35px);grid-template-columns:1fr 1fr}.te217-hub .te217-stats{font-size:9px}}
