/* The photograph stays pinned while the browser scrolls the touch journey. */
#scene{position:relative;width:100%;height:100%}
.journey-scroll-space{display:none}
#experience.touch-journey{overflow-y:auto;overflow-x:clip;overscroll-behavior-y:contain;scrollbar-width:none;overflow-anchor:none}
#experience.touch-journey::-webkit-scrollbar{display:none}
.touch-journey #scene{position:sticky;top:0;height:100%;overflow:hidden}
.touch-journey .journey-scroll-space{display:block;height:200%;pointer-events:none}
button{touch-action:manipulation}
.touch-input .hotspot{touch-action:pan-y pinch-zoom}
#fleet,dialog,#area-list,#view-list{touch-action:pan-x pan-y pinch-zoom}

@media(max-width:1000px){
 .touch-input #journey-status{font-size:7px;max-width:185px;line-height:1.5;margin-top:6px}
 .touch-input #nearby-panel{bottom:calc(232px + env(safe-area-inset-bottom));padding:8px 12px}
 .touch-input #nearby-close{width:44px;height:44px}
 .touch-input .nearby-view{flex-basis:112px}
 .touch-input .nearby-view img{height:66px}
 .touch-input header{top:max(10px,env(safe-area-inset-top));left:max(16px,env(safe-area-inset-left));right:max(16px,env(safe-area-inset-right));align-items:start}
 .touch-input .vessel-identity{flex-direction:column;align-items:start;gap:0}
 .touch-input #back-fleet{min-height:44px;font-size:10px;padding:0;border:0}
 .touch-input #home{min-height:44px;font-size:18px}
 .touch-input .header-actions{gap:8px}
 .touch-input #map-toggle{min-height:44px;font-size:11px;padding:0 6px;border:0}
 .touch-input #about{width:44px;height:44px;font-size:15px;flex-shrink:0}
 .touch-input #specs-toggle,
 .touch-input #tour-toggle{display:none}
 .touch-input #welcome{top:132px;left:22px}
 .touch-input #welcome p{font-size:11px;max-width:235px}
 .touch-input footer{left:max(16px,env(safe-area-inset-left));right:max(16px,env(safe-area-inset-right));bottom:calc(58px + env(safe-area-inset-bottom));grid-template-columns:minmax(0,1fr) auto;gap:12px}
 .touch-input .location{gap:10px;min-width:0}
 .touch-input .location h2{font-size:19px;white-space:normal;overflow-wrap:anywhere}
 .touch-input .location small{font-size:7px;line-height:1.4;margin-bottom:5px;max-width:170px}
 .touch-input #back{width:44px;height:44px}
 .touch-input .next{min-height:44px;max-width:122px;font-size:11px;line-height:1.5;gap:8px;padding:4px 0}
 .touch-input .inspect-controls{position:absolute;right:0;bottom:72px}
 .touch-input #views-toggle{min-height:44px;min-width:150px;font-size:10px;margin:0 auto 3px;padding:10px 5px}
 .touch-input .look-controls{padding:0 3px;gap:0}
 .touch-input .look-controls button,
 .touch-input #frame{width:44px;height:44px;padding:0;font-size:20px}
 .touch-input #hint{display:none}
 .touch-input #area-progress{bottom:calc(14px + env(safe-area-inset-bottom))!important;gap:0;width:308px;max-width:calc(100% - 32px)}
 .touch-input #area-progress button{width:44px;height:44px;flex:1;background:linear-gradient(transparent 21px,#ffffff37 21px,#ffffff37 23px,transparent 23px);background-size:27px 44px;background-position:center;background-repeat:no-repeat}
 .touch-input #area-progress button[aria-current=location]{background-image:linear-gradient(transparent 21px,#d9c8a9 21px,#d9c8a9 23px,transparent 23px)}
 .touch-input .hotspot{min-width:44px;min-height:44px;max-width:calc(100vw - 32px)}
 .touch-input .hotspot span{white-space:normal;max-width:140px;text-align:left;line-height:1.35;font-size:11px}
 .touch-input .hotspot.inspect span{display:block;opacity:1;max-width:105px}
 .touch-input .hotspot.inspect i{width:28px;height:28px;flex-shrink:0}
 .touch-input #status{bottom:220px}
 .touch-input dialog{inset:0;margin:auto;width:440px;max-width:calc(100% - 24px);max-height:calc(100dvh - 28px - env(safe-area-inset-top) - env(safe-area-inset-bottom))}
 .touch-input .close{width:44px;height:44px;right:8px;top:8px}
 .touch-input #details h2{padding-right:15px}
 .touch-input .detail-body{padding:26px 22px}
 .touch-input #detail-related button,
 .touch-input .map-bottom button{min-height:44px;font-size:11px;line-height:1.5}
 .touch-input #detail-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
 .touch-input #map-dialog{max-width:calc(100% - 24px);max-height:calc(100dvh - 28px - env(safe-area-inset-top) - env(safe-area-inset-bottom));padding:24px 18px}
 .touch-input #map-dialog h2{font-size:25px;padding-right:25px}
 .touch-input .map-layout{display:block;min-height:0}
 .touch-input #area-list{flex-direction:row;overflow:auto;gap:8px;padding:0 0 12px;border:0}
 .touch-input .area-row{flex:0 0 140px;border:1px solid #ffffff29}
 .touch-input .area-row.current{border-color:#d3c2a1}
 .touch-input .area-button{min-height:64px;padding:12px 10px}
 .touch-input .area-button img,
 .touch-input .area-button small,
 .touch-input .area-button b{display:none}
 .touch-input .area-button strong{font-size:15px;line-height:1.3}
 .touch-input .map-view-heading{margin:14px 0}
 .touch-input #view-list{max-height:36dvh;gap:12px}
 .touch-input .view-card span{font-size:15px;line-height:1.3}
 .touch-input .view-card small{font-size:8px}
 .touch-input .map-bottom{flex-wrap:wrap;gap:0 18px;margin-top:12px}
 .touch-input #public-credit{bottom:calc(2px + env(safe-area-inset-bottom))!important}
 .touch-input #fleet-about{min-height:44px;font-size:10px;align-items:center}
 .touch-input .fleet-masthead{top:max(18px,env(safe-area-inset-top));align-items:center}
 .touch-input .fleet-note{padding-bottom:calc(30px + env(safe-area-inset-bottom))}
}
@media(orientation:landscape) and (max-height:600px){
 .touch-input #nearby-panel{top:64px;bottom:auto;max-height:calc(100dvh - 196px);overflow:auto}
 .touch-input header{top:max(6px,env(safe-area-inset-top))}
 .touch-input .vessel-identity{flex-direction:row;align-items:center;gap:18px}
 .touch-input #welcome{top:70px}
 .touch-input #welcome small{display:none}
 .touch-input #welcome p{margin:0}
 .touch-input footer{bottom:calc(46px + env(safe-area-inset-bottom));align-items:end;grid-template-columns:1fr 1fr 1fr;gap:16px}
 .touch-input .inspect-controls{position:static;bottom:auto}
 .touch-input #views-toggle{font-size:9px;min-height:44px;margin-bottom:0;padding:5px}
 .touch-input .location h2{font-size:18px}
 .touch-input #area-progress{bottom:calc(2px + env(safe-area-inset-bottom))!important}
 .touch-input #public-credit{font-size:6px!important}
 .touch-input #map-dialog{padding:20px;max-height:94dvh}
 .touch-input #map-dialog h2{font-size:23px;margin:9px 0}
 .touch-input .map-intro{margin-bottom:12px}
 .touch-input #view-list{max-height:none}
 .touch-input .view-card img{height:100px}
 .touch-input #fleet{min-height:100dvh}
 .touch-input .fleet-masthead{left:max(24px,env(safe-area-inset-left));right:max(24px,env(safe-area-inset-right));top:12px}
 .touch-input .fleet-hero{min-height:100%;height:100%;top:0;object-fit:cover;object-position:center}
 .touch-input .fleet-shade{min-height:100%}
 .touch-input .fleet-heading{top:82px;left:5%}
 .touch-input .fleet-heading h1{font-size:32px;margin:10px 0}
 .touch-input .fleet-collection{top:210px;bottom:auto;left:4%;right:4%}
 .touch-input #fleet-cards{grid-template-columns:1.4fr 1fr 1fr}
 .touch-input .fleet-card, .touch-input .fleet-card.demo{grid-column:auto;min-height:108px;grid-template-columns:16px 1fr;padding:12px;gap:6px}
 .touch-input .fleet-card-copy strong{font-size:20px}
 .touch-input .fleet-card.placeholder .fleet-card-copy strong{font-size:17px}
 .touch-input .fleet-card.demo .fleet-card-action{grid-column:2;font-size:9px;margin-top:8px}
 .touch-input .fleet-note{position:relative;left:4%;width:92%;top:350px;padding-bottom:30px;font-size:7px}
}
