/* THE MAPPP PT V320 — transposição do cabeçalho e da navegação mobile World V70.
   Desktop intocado; CSS isolado por .pt-world-mobile. */
@media(max-width:850px){
 body.pt-world-mobile .site-header{height:44px!important;min-height:44px!important;padding:0 8px!important;align-items:center!important;background:#000715!important;z-index:2147482900!important}
 body.pt-world-mobile .site-header::before,body.pt-world-mobile .site-header::after{display:none!important}
 body.pt-world-mobile .header-brand{min-width:0!important;gap:4px!important;padding:0!important}
 body.pt-world-mobile .brand-image{height:25px!important;max-height:25px!important;max-width:none!important;width:auto!important;object-fit:contain!important}
 body.pt-world-mobile .mx-trial-badge{font-size:7px!important;letter-spacing:.03em!important;padding:4px 5px!important;white-space:nowrap!important}
 body.pt-world-mobile .header-actions{height:44px!important;gap:3px!important;padding-right:0!important}
 body.pt-world-mobile .country-selector{height:38px!important;margin-left:2px!important;overflow:visible!important}
 body.pt-world-mobile .country-trigger{height:38px!important;padding:0 6px!important}
 body.pt-world-mobile .country-text{font-size:10px!important;letter-spacing:.07em!important}
 body.pt-world-mobile .country-options{top:calc(100% + 3px)!important;z-index:2147483000!important;max-height:min(68dvh,500px)!important}
 body.pt-world-mobile .app{height:calc(100% - 84px)!important;margin-top:40px!important}
 body.pt-world-mobile .map-topbar{display:none!important}
 body.pt-world-mobile #mxSide,body.pt-world-mobile #mxSideVeil{display:none!important;pointer-events:none!important}
 body.pt-world-mobile .mx-drawer{visibility:hidden!important;pointer-events:none!important}
 body.pt-world-mobile .vm-rail{display:none!important}
 body.pt-world-mobile .ptm-bar,body.pt-world-mobile .ptm-panel{
   font-family:Manrope,'Open Sans',Arial,sans-serif;color:#fff;
   background:linear-gradient(180deg,rgba(10,20,40,.97),rgba(4,12,24,.98));
 }
 body.pt-world-mobile .ptm-bar{display:flex;position:fixed;left:0;right:0;top:44px;height:40px;z-index:2147482890;box-sizing:border-box;align-items:center;padding:0 8px;box-shadow:0 8px 24px #0006}
 body.pt-world-mobile .ptm-area,body.pt-world-mobile .ptm-current{appearance:none;border:0!important;background:transparent!important;color:#dbe6ef;display:flex;align-items:center;height:40px;cursor:pointer;font:600 11px Manrope,'Open Sans',sans-serif;min-width:0}
 body.pt-world-mobile .ptm-area{flex:none;gap:8px;padding:0 12px 0 5px;max-width:116px;position:relative}
 body.pt-world-mobile .ptm-area::after{content:'';position:absolute;right:0;top:9px;bottom:9px;width:1px;background:rgba(255,255,255,.10)}
 body.pt-world-mobile .ptm-area svg{width:18px;height:18px;opacity:.75;flex:none}
 body.pt-world-mobile .ptm-current{flex:1;position:relative;overflow:hidden;isolation:isolate;justify-content:space-between;padding:0 10px!important;touch-action:pan-y}
 body.pt-world-mobile .ptm-current-label{position:relative;z-index:2;font-size:13px;font-weight:750;color:#fff;text-shadow:0 1px 7px #000b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 body.pt-world-mobile .ptm-current-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:85% 44%;opacity:.76;mix-blend-mode:screen;pointer-events:none;mask-image:linear-gradient(90deg,transparent 0%,#000 100%)}
 body.pt-world-mobile .ptm-current::after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,rgba(1,9,22,.65),transparent 100%);z-index:1}
 body.pt-world-mobile .ptm-chevron{display:flex;align-items:center;justify-content:center;flex:0 0 25px;position:relative;z-index:3;color:#c4def0}
 body.pt-world-mobile .ptm-chevron svg{width:20px;height:13px;transition:transform .25s}
 body.pt-world-mobile .ptm-current[aria-expanded=true] .ptm-chevron svg{transform:rotate(180deg)}
 body.pt-world-mobile .ptm-panel{position:fixed;top:84px;left:0;right:0;max-height:min(70dvh,650px);overflow-y:auto;overscroll-behavior:contain;z-index:2147482892;opacity:0;visibility:hidden;pointer-events:none;transform:translateY(-8px);transition:opacity .25s,transform .25s,visibility .25s;border-bottom:1px solid #283b53;scrollbar-width:thin}
 body.pt-world-mobile .ptm-panel.open{opacity:1;visibility:visible;pointer-events:auto;transform:none}
 body.pt-world-mobile .ptm-card{position:relative;display:flex;align-items:center;width:100%;height:72px;min-height:72px;overflow:hidden;isolation:isolate;padding:0 16px;text-align:left;appearance:none;border:0!important;border-radius:0!important;background:#061326!important;color:#fff;cursor:pointer;font-family:Manrope,'Open Sans',sans-serif}
 body.pt-world-mobile .ptm-card:not(:last-child){border-bottom:1px solid rgba(255,255,255,.055)!important}
 body.pt-world-mobile .ptm-card::after{content:'';position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(90deg,rgba(3,12,25,.87),rgba(3,12,25,.56) 47%,transparent)}
 body.pt-world-mobile .ptm-card[aria-current=true]::before{content:'';position:absolute;top:0;bottom:0;left:0;width:3px;background:#6684DC;z-index:3}
 body.pt-world-mobile .ptm-card-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:85% 45%;opacity:.92;pointer-events:none;mix-blend-mode:screen;mask-image:linear-gradient(90deg,transparent 0%,#000 100%)}
 body.pt-world-mobile .ptm-card-copy{display:flex;flex:1;min-width:0;flex-direction:column;gap:4px;position:relative;z-index:2;pointer-events:none}
 body.pt-world-mobile .ptm-card-copy b{font-size:16px;font-weight:750;line-height:1.12;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-shadow:0 1px 7px #000a}
 body.pt-world-mobile .ptm-card-copy small{font-size:11px;font-weight:500;color:#c5d2e0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-shadow:0 1px 7px #000a}
 body.pt-world-mobile .ptm-card .ptm-chevron{margin-left:auto}
 body.pt-world-mobile .ptm-veil{position:fixed;inset:84px 0 0;background:#00030b;z-index:2147482891;display:none}
 body.pt-world-mobile .ptm-veil.open{display:block}
 body.pt-world-mobile .ptm-card:focus-visible,body.pt-world-mobile .ptm-current:focus-visible{outline:2px solid #74b5ff;outline-offset:-2px}
 @media(prefers-reduced-motion:reduce){body.pt-world-mobile .ptm-panel,body.pt-world-mobile .ptm-chevron svg{transition:none!important}}
}
@media(max-width:380px){body.pt-world-mobile .mx-trial-badge{display:none!important}body.pt-world-mobile .ptm-area{padding-right:8px;gap:4px}}

/* V320 · World V70 mobile integration: layout and touch safeguards. */
@media(max-width:850px){
 body.pt-world-mobile{--ptm-header-height:44px;--ptm-tabs-height:40px}
 body.pt-world-mobile .ptm-bar{top:var(--ptm-header-height)}
 body.pt-world-mobile .ptm-panel{top:calc(var(--ptm-header-height) + var(--ptm-tabs-height));max-height:calc(100dvh - var(--ptm-header-height) - var(--ptm-tabs-height) - 8px)}
 body.pt-world-mobile .ptm-veil{top:calc(var(--ptm-header-height) + var(--ptm-tabs-height))}
 body.pt-world-mobile .ptm-bar,body.pt-world-mobile .ptm-panel{background:#000714!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
 body.pt-world-mobile .ptm-card{background:#061326!important;min-height:72px}
 body.pt-world-mobile .ptm-card:disabled{opacity:.45!important;cursor:default!important}
 body.pt-world-mobile .ptm-card-image{-webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 100%)}
 body.pt-world-mobile .ptm-current-image{-webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 100%)}
 body.pt-world-mobile .ptm-current:focus-visible,body.pt-world-mobile .ptm-area:focus-visible,body.pt-world-mobile .ptm-card:focus-visible{outline:2px solid #81bfff!important;outline-offset:-2px}
 body.pt-world-mobile .ptm-current .ptm-chevron{margin-left:auto}
 body.pt-world-mobile .ptm-panel[aria-hidden="true"]{visibility:hidden!important;pointer-events:none!important}
 body.pt-world-mobile .ptm-panel.open[aria-hidden="false"]{visibility:visible!important;pointer-events:auto!important}
 body.pt-world-mobile .ptm-card-copy b,body.pt-world-mobile .ptm-card-copy small{display:block;max-width:min(260px,64vw)}
 body.pt-world-mobile .ptm-area span{white-space:nowrap}
}
@media (min-width:851px){.ptm-bar,.ptm-panel,.ptm-veil{display:none!important}}


/* V322 — filtros contextuais no topo + otimização do Tempo mobile */
@media(max-width:850px){
 body.pt-world-mobile{--ptm-filters-height:0px}
 body.pt-world-mobile .app{height:calc(100% - 84px - var(--ptm-filters-height))!important;margin-top:calc(40px + var(--ptm-filters-height))!important}
 body.pt-world-mobile .ptm-filters{position:fixed;left:0;right:0;top:84px;height:36px;display:flex;align-items:center;gap:6px;padding:4px 8px;box-sizing:border-box;overflow-x:auto;z-index:2147482889;background:#000714;border-bottom:1px solid rgba(255,255,255,.08);scrollbar-width:none}
 body.pt-world-mobile .ptm-filters::-webkit-scrollbar{display:none}
 body.pt-world-mobile .ptm-filter{appearance:none;border:1px solid rgba(255,255,255,.14);background:#071628;color:#d7e3ef;padding:7px 10px;font:700 10px/1 Manrope,'Open Sans',Arial,sans-serif;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap}
 body.pt-world-mobile .ptm-filter.on{background:#163150;border-color:#6e97d6;color:#fff}
 body.pt-world-mobile .ptm-panel{top:calc(var(--ptm-header-height) + var(--ptm-tabs-height) + var(--ptm-filters-height));max-height:calc(100dvh - var(--ptm-header-height) - var(--ptm-tabs-height) - var(--ptm-filters-height) - 8px)}
 body.pt-world-mobile .ptm-veil{top:calc(var(--ptm-header-height) + var(--ptm-tabs-height) + var(--ptm-filters-height))}
 
 /* chuva só aparece na versão Tempo */
 body.pt-world-mobile:not(.mx-tempo) #mxRainDock, body:not(.mx-tempo) #mxRainDock{display:none!important}
 
 /* Tempo: retirar seletores do corpo e compactar */
 body.pt-world-mobile.mx-tempo .mx-dayrow2{height:auto!important;min-height:0!important;margin:4px 0 8px!important;align-items:flex-start!important}
 body.pt-world-mobile.mx-tempo .mx-dayrow2 .mx-segv{display:none!important}
 body.pt-world-mobile.mx-tempo .mx-dayrow2 .mx-date{margin-top:4px!important;font-size:13px!important}
 body.pt-world-mobile.mx-tempo .mx-cards{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;margin:0 0 8px!important}
 body.pt-world-mobile.mx-tempo .mx-card{min-height:94px!important;padding:10px 10px 8px!important}
 body.pt-world-mobile.mx-tempo .mx-card .lab{font-size:8.5px!important;letter-spacing:.12em!important;margin-bottom:6px!important}
 body.pt-world-mobile.mx-tempo .mx-card .city{font-size:11px!important;line-height:1.15!important}
 body.pt-world-mobile.mx-tempo .mx-card .val{font-size:32px!important;line-height:1!important;margin:4px 0 2px!important}
 body.pt-world-mobile.mx-tempo .mx-card .sub{font-size:8px!important;line-height:1.2!important}
 body.pt-world-mobile.mx-tempo .mx-card .bg{width:74px!important;height:74px!important;opacity:.16!important;right:-4px!important;bottom:-8px!important}
 body.pt-world-mobile.mx-tempo .mx-card-modes{display:none!important}
 body.pt-world-mobile.mx-tempo .mx-legend{margin-top:2px!important}
 
 /* Itinerário: filtros ficam no topo */
 body.pt-world-mobile.mx-rota .mx-fuel{display:none!important}
}

/* V323 — filtros contextuais ao lado do separador, sem segunda linha */
@media(max-width:850px){
 body.pt-world-mobile .app{height:calc(100% - 84px)!important;margin-top:40px!important}
 body.pt-world-mobile .ptm-filters{position:relative;inset:auto;display:flex;align-items:center;gap:3px;flex:0 1 auto;max-width:calc(100vw - 128px);min-width:0;height:40px;padding:0 5px 0 0;overflow:hidden;background:transparent;border:0;z-index:auto;box-sizing:border-box}
 body.pt-world-mobile .ptm-filters[hidden], body.pt-world-mobile .ptm-area[hidden]{display:none!important}
 body.pt-world-mobile .ptm-filter{flex:0 1 auto;min-width:0;min-height:27px;max-width:118px;padding:5px 7px;overflow:hidden;text-overflow:ellipsis;border:1px solid rgba(255,255,255,.13)!important;font:700 9px/1.15 Manrope,'Open Sans',Arial,sans-serif;letter-spacing:0;text-transform:none;text-align:center;white-space:normal;background:#0c1e31;color:#bcd4e7;cursor:pointer}
 body.pt-world-mobile .ptm-filter.on{background:#193f64!important;border-color:#6d9fce!important;color:white}
 body.pt-world-mobile .ptm-filter[aria-pressed="true"]{color:#fff}
 body.pt-world-mobile .ptm-filter:disabled{opacity:.35;cursor:default}
 body.pt-world-mobile .ptm-current{flex:1 1 105px;min-width:93px;padding:0 8px!important}
 body.pt-world-mobile .ptm-current-label{font-size:12px}
 body.pt-world-mobile .ptm-panel{top:84px!important;max-height:calc(100dvh - 92px)!important}
 body.pt-world-mobile .ptm-veil{top:84px!important}
 body.pt-world-mobile .intro.mxs-drag{transition:none!important;touch-action:pan-x}
 body.pt-world-mobile .mxs-handle{touch-action:none;overscroll-behavior:none}
}
@media(max-width:370px){body.pt-world-mobile .ptm-filter{padding:4px 5px;font-size:8px}body.pt-world-mobile .ptm-current{min-width:86px}}


/* THE MAPPP V324 — Um seletor contextual compacto na barra World. */
@media(max-width:850px){
 body.pt-world-mobile .ptm-bar{z-index:2147482898!important;gap:0;overflow:visible!important}
 body.pt-world-mobile .ptm-filters{position:relative!important;inset:auto!important;flex:0 0 auto!important;display:flex!important;align-items:center!important;width:auto!important;max-width:138px!important;min-width:0!important;height:40px!important;padding:0 8px 0 4px!important;background:transparent!important;overflow:visible!important;border:0!important;box-sizing:border-box!important}
 body.pt-world-mobile .ptm-filters[hidden]{display:none!important}
 body.pt-world-mobile .ptm-filter-trigger{appearance:none;display:flex;align-items:center;justify-content:flex-start;gap:5px;min-width:0;max-width:130px;height:29px;border:1px solid rgba(139,175,210,.15)!important;background:rgba(14,33,52,.86)!important;color:#d7e5f1!important;padding:0 7px;box-shadow:none!important;border-radius:0!important;font:700 10px/1 Manrope,'Open Sans',sans-serif!important;letter-spacing:.005em;cursor:pointer;white-space:nowrap;transition:background .12s,border-color .12s}
 body.pt-world-mobile .ptm-filter-trigger:hover,body.pt-world-mobile .ptm-filter-trigger[aria-expanded=true]{background:#132d47!important;border-color:rgba(122,171,218,.42)!important;color:#fff!important}
 body.pt-world-mobile .ptm-filter-icon{display:grid;place-items:center;flex:0 0 14px;color:#83acd6}
 body.pt-world-mobile .ptm-filter-icon svg{display:block;width:14px;height:14px}
 body.pt-world-mobile .ptm-filter-value{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;min-width:0}
 body.pt-world-mobile .ptm-filter-chevron{display:block;width:11px;height:11px;flex:0 0 11px;margin-left:1px;color:#94b7d8;transition:transform .15s}
 body.pt-world-mobile .ptm-filter-trigger[aria-expanded=true] .ptm-filter-chevron{transform:rotate(180deg)}
 body.pt-world-mobile .ptm-filter-menu{position:absolute;top:calc(100% - 2px);left:4px;z-index:2147483000;display:flex;flex-direction:column;min-width:156px;max-width:min(226px,calc(100vw - 16px));max-height:min(60dvh,350px);overflow-y:auto;overscroll-behavior:contain;background:#071523;border:1px solid rgba(115,157,194,.35);box-shadow:0 12px 30px rgba(0,0,0,.57);padding:4px 0;box-sizing:border-box;scrollbar-width:thin}
 body.pt-world-mobile .ptm-filter-menu[hidden]{display:none!important}
 body.pt-world-mobile .ptm-filter-option{appearance:none;display:flex;align-items:center;justify-content:space-between;width:100%;min-height:38px;padding:0 12px;border:0!important;border-left:2px solid transparent!important;background:transparent!important;color:#d1e0ed;font:600 11px/1.25 Manrope,'Open Sans',sans-serif;cursor:pointer;text-align:left;border-radius:0!important;white-space:nowrap}
 body.pt-world-mobile .ptm-filter-option:hover,body.pt-world-mobile .ptm-filter-option:focus-visible{background:#122b44!important;color:#fff}
 body.pt-world-mobile .ptm-filter-option.is-selected{border-left-color:#5caff0!important;background:rgba(28,66,99,.54)!important;color:#fff;font-weight:750}
 body.pt-world-mobile .ptm-filter-option.is-selected::after{content:'✓';font-size:12px;color:#7ec5fd;margin-left:12px}
 body.pt-world-mobile .ptm-filter-option:disabled{opacity:.32;cursor:default}
 body.pt-world-mobile .ptm-current{flex:1 1 auto!important;min-width:0!important;padding:0 9px!important}
 body.pt-world-mobile .ptm-current-label{font-size:13px!important}
 body.pt-world-mobile .ptm-panel{z-index:2147482892!important}
 body.pt-world-mobile .ptm-filter-trigger:focus-visible{outline:2px solid #74b5ff;outline-offset:-2px}
}
@media(max-width:360px){body.pt-world-mobile .ptm-filter-trigger{max-width:111px;padding:0 5px;gap:3px}body.pt-world-mobile .ptm-filters{max-width:118px!important;padding-right:4px!important}body.pt-world-mobile .ptm-current-label{font-size:12px!important}}

/* V359 — subseleção lateral World: sem cartão, moldura ou fundo independente */
@media(max-width:850px){
 body.pt-world-mobile .ptm-bar{display:flex!important;align-items:center!important}
 body.pt-world-mobile .ptm-filters{order:0!important;flex:0 0 auto!important;max-width:min(35vw,140px)!important;min-width:0!important;padding:0 6px 0 3px!important;margin:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
 body.pt-world-mobile .ptm-filter-trigger{border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;max-width:100%!important;min-height:36px!important;padding:0 6px!important;font-size:11px!important}
 body.pt-world-mobile .ptm-filter-trigger:hover,body.pt-world-mobile .ptm-filter-trigger[aria-expanded=true]{border:0!important;background:rgba(30,70,110,.18)!important}
 body.pt-world-mobile .ptm-current{order:1!important;flex:1 1 0!important;min-width:0!important}
 body.pt-world-mobile .ptm-filter-menu{left:0!important;min-width:150px!important;border:0!important;border-top:1px solid rgba(115,157,194,.28)!important;background:#071523!important;padding:3px 0!important;box-shadow:0 12px 26px rgba(0,0,0,.4)!important}
 body.pt-world-mobile .ptm-filter-option{border:0!important;border-radius:0!important;padding:0 10px!important;background:transparent!important}
 body.pt-world-mobile .ptm-filter-option.is-selected{border:0!important;border-left:2px solid #5caff0!important;background:rgba(28,66,99,.25)!important}
}
