/* Private profile cover stays in memory; the only fallback asset is local. */
#travelHero .profileCover{position:relative;width:100%;aspect-ratio:3/1;max-height:180px;min-height:100px;overflow:hidden;background:#174d3a;border-radius:16px}
#profileCoverImage{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
#profileCoverImage[hidden]{display:none}
#travelHero .travelerIdentity,#travelHero>.travelerIdentity:first-child{position:relative;margin-top:-26px;align-items:flex-start}
#travelHero #travelerAvatar{position:relative;z-index:1;width:65px;height:65px;min-width:65px;outline:4px solid #f7f5ef;border:0;background:#e3eee7}
#travelHero .travelerNameBlock{padding-top:35px}
#travelHero #openAccount{margin-top:29px}
#accountCoverSection .coverControls{display:flex;flex-wrap:wrap;gap:7px;margin:9px 0}
#accountCoverSection .coverControls button{min-height:44px;border-radius:10px}
#coverPicker{margin:12px 0;max-width:100%}
#coverPicker[hidden]{display:none}
#coverPickerGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;max-width:100%}
#coverPickerGrid .coverOption{position:relative;width:100%;aspect-ratio:1.2/1;display:block;padding:0;border:2px solid transparent;border-radius:10px;background:#d9e6dc;overflow:hidden;cursor:pointer}
#coverPickerGrid .coverOption img{width:100%;height:100%;object-fit:cover}
#coverPickerGrid .coverOption[aria-pressed="true"]{border:3px solid #174d3a}
#coverPickerGrid .coverOption:focus-visible{outline:3px solid #174d3a;outline-offset:2px}
#coverPickerGrid .coverOption:disabled{opacity:.55;cursor:not-allowed}
#coverStatus,#coverGridStatus{font:500 12px/1.5 system-ui,sans-serif;color:#536d5d;overflow-wrap:anywhere}
#coverGridMore{margin-top:10px;min-height:44px}
#coverGridClose{min-height:44px;border:0;background:none;text-decoration:underline;color:#174d3a}
#coverReadonly{color:#8b4e2e;font:500 12px/1.5 system-ui,sans-serif}
@media(max-width:420px){
 #travelHero .profileCover{width:calc(100% + 28px);max-width:none;margin-left:-14px;margin-right:-14px;border-radius:0;max-height:180px;min-height:106px}
 #travelHero #travelerAvatar{width:58px;height:58px;min-width:58px}
 #travelHero .travelerNameBlock{padding-top:30px}
 #travelHero #openAccount{margin-top:24px}
 #coverPickerGrid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* Full-bleed cover: the only element allowed beneath a standalone phone status bar.
   Profile controls remain after the >= safe-area + 80px photo band. */
html,body{margin:0;padding-top:0}
#app{margin:0;padding-top:0}
#app>.w,#app>.w.emptyTravel{padding-top:0!important}
#travelHero,#app .w.emptyTravel #travelHero{margin-top:0!important;padding-top:0!important}
#travelHero .profileCover{margin-top:0;padding-top:0;min-height:max(106px,calc(env(safe-area-inset-top,0px) + 80px))}
@media(max-width:420px){
 #app>.w,#app>.w.emptyTravel{padding-top:0!important}
 #travelHero,#app .w.emptyTravel #travelHero{padding-top:0!important}
 #travelHero .profileCover{margin-top:0;min-height:max(106px,calc(env(safe-area-inset-top,0px) + 80px))}
}
