/* Phone profile reading: scoped to non-map surfaces. */
@media(max-width:960px){
 html body.dd-wheel.wheel-focus-view.focus-profile-open #journey-launch{display:none!important}
}
@media(max-width:960px) and (max-height:500px){
 html body.dd-wheel.wheel-focus-view #focus-view-bar{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto;max-width:calc(100vw - 16px);left:8px;top:8px;gap:4px;padding:4px}
 html body.dd-wheel.wheel-focus-view #focus-view-bar>*{flex-shrink:0}
 html body.dd-wheel.wheel-focus-view #focus-view-bar button{white-space:nowrap;min-height:44px;padding:8px!important}
 html body.dd-wheel.wheel-focus-view.focus-profile-open aside{width:min(480px,70vw)!important}
 html body.dd-wheel.wheel-focus-view aside .profile-sidebar-heading{position:static!important;padding:10px!important}
 html body.dd-wheel.wheel-focus-view aside .profile-sidebar-heading .eyebrow{display:none}
 html body.dd-wheel.wheel-focus-view aside #name{font-size:22px!important;margin:0 0 8px!important}
 html body.dd-wheel.wheel-focus-view aside #ux-profile-sections{margin-top:4px;gap:4px 16px}
}
@media(max-width:560px){
 html body .dd-profile-r73 .dd-profile-gallery .dd-media-grid{
  display:grid;grid-template-columns:none!important;grid-auto-flow:column;grid-auto-columns:85%;
  max-width:100%;gap:12px;overflow-x:auto;scroll-snap-type:x proximity;
  overscroll-behavior-x:contain;padding:4px 4px 12px;scroll-padding-inline:4px
 }
 html body .dd-profile-r73 .dd-profile-gallery .dd-media-grid[data-gallery-count="1"]{grid-auto-columns:100%}
 html body .dd-profile-r73 .dd-profile-gallery .dd-media-card{scroll-snap-align:start;min-width:0}
 html body .dd-profile-r73 .dd-profile-gallery .dd-media-card img{height:210px}
 html body .dd-profile-r73 .dd-profile-gallery figcaption{font-size:15px;line-height:1.5;padding:10px;overflow-wrap:anywhere}
 html body .dd-profile-r73 .dd-profile-gallery figcaption a{display:inline-flex;align-items:center;min-height:44px}
 html body .dd-profile-r73 :is(h1,h2,h3,.dd-bio-prose,.dd-work-list){overflow-wrap:anywhere}
 html body .dd-profile-r73{padding-bottom:calc(28px + env(safe-area-inset-bottom,0px))}
 html body.dd-wheel aside #ux-profile-sections{
  flex-wrap:nowrap;gap:0 20px;min-width:0;width:100%;max-width:100%;
  overflow-x:auto;overscroll-behavior-x:contain;scroll-padding-inline:4px;padding:4px
 }
 html body.dd-wheel aside #ux-profile-sections button{flex:0 0 auto;font-size:16px!important;white-space:nowrap}
 html body.dd-wheel aside .profile-sidebar-heading{min-width:0}
 html body.dd-wheel aside #details-content{min-width:0;overflow-wrap:anywhere}
 html body.dd-wheel aside{padding-bottom:calc(16px + env(safe-area-inset-bottom,0px))!important}
 html body.dd-wheel.wheel-focus-view.focus-profile-open aside{padding-bottom:calc(16px + env(safe-area-inset-bottom,0px))!important}
 html body.dd-wheel #journey-panel .journey-trail button{min-height:44px!important;font-size:15px!important}
 html body.dd-wheel #journey-panel .journey-trail{max-height:56px}
}
