.mobile-controls,.mobile-mission{display:none}
@media(max-width:680px){
 html,body{height:100%;overflow:hidden}body{background:#123f4c}header{position:absolute;inset:0 0 auto;z-index:12;height:64px;padding:9px 16px;background:linear-gradient(#08282de8,#08282d88,transparent)}header .brand img{width:33px;height:33px}header .brand{font-size:16px}header .back{font-size:10px;padding:8px 12px}main{padding:0;width:100%;height:100dvh;max-width:none;position:relative;overflow:hidden}.heading,.goal,.view-tools,.living-controls,#journeyProgress,.map-help,footer{display:none}.world{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;overflow:hidden;border:0;border-radius:0;box-shadow:none;touch-action:none;background:#11688a}.world:after{display:none}.mobile-scene{position:absolute;left:50%;top:50%;width:1120px;height:746.67px;transform:translate(calc(-50% + var(--pan-x,0px)),calc(-50% + var(--pan-y,0px))) scale(var(--map-zoom,1));transform-origin:center;will-change:transform}.mobile-scene>.map-art,.mobile-scene>.living-water,.mobile-scene>.restored-first-island{position:absolute;inset:0;width:100%;height:100%}.mobile-scene>.pins{position:absolute;inset:0}.mobile-scene>.island-shadows,.mobile-scene>.route{position:absolute;inset:0;width:100%;height:100%}.mobile-scene>.coastal-life{inset:0}.map-caption{display:none}.mobile-scene .medal{width:40px;height:40px;font-size:14px;border-width:2px}.mobile-scene .label{font-size:12px;padding:8px 11px;border-radius:8px}.mobile-scene .label small{font-size:7px;letter-spacing:.7px;margin-top:4px}.mobile-scene .companion{width:60px;height:60px}.mobile-controls{display:flex;position:fixed;z-index:13;left:12px;right:12px;bottom:max(15px,env(safe-area-inset-bottom));align-items:center;gap:7px;flex-wrap:wrap;pointer-events:none}.mobile-controls button,.mobile-controls a{pointer-events:auto;border:1px solid #ddcf9a60;background:#12352fed;backdrop-filter:blur(12px);color:#fff0ce;border-radius:13px;padding:11px 12px;font:700 12px 'Segoe UI',sans-serif;text-decoration:none;box-shadow:0 5px 18px #001c3555;min-width:44px;min-height:44px}.mobile-controls .mobile-start{background:linear-gradient(#f3d18a,#dbaa4e);color:#24331e;flex:1;text-align:center}.mobile-hint{width:100%;text-align:center;color:#f9f0d4;font-size:11px;text-shadow:0 2px 5px #002533;padding:3px 0}.mobile-overview{position:absolute;top:75px;left:16px;z-index:11;border:1px solid #eddaa348;border-radius:12px;padding:10px 13px;background:#0e302ce8;color:#fff0c9;pointer-events:none;box-shadow:0 5px 18px #001c3544}.mobile-overview strong{font-size:15px;display:block}.mobile-overview small{font-size:10px;color:#ccd9bc}.mobile-mission{position:fixed;z-index:22;left:14px;right:14px;top:75px;border:1px solid #e1c78766;border-radius:18px;padding:21px;background:#123c31f7;box-shadow:0 20px 40px #00162366;color:#fff0ce}.mobile-mission[open]{display:block}.mobile-mission h2{font-size:21px;line-height:1.3;margin:7px 25px 10px 0}.mobile-mission p{font-size:13px;line-height:1.65}.mobile-mission small{font-size:11px;color:#b3cbb8}.mobile-mission button{position:absolute;right:10px;top:10px;background:none;border:0;color:#fff0ce;font-size:24px;padding:4px 10px}.island-dialog{bottom:125px!important;left:12px!important;max-height:48dvh;width:calc(100% - 24px);z-index:25}.mobile-preview-badge{position:absolute;top:16px;left:50%;transform:translateX(-50%);z-index:15;font-size:8px;letter-spacing:1px;color:#c9ded0;pointer-events:none}
}

/* One responsive map: picture sources select phone/desktop artwork in place. */
.map-picture { display: contents; }
@media (max-width:680px) {
 .mobile-scene .map-art { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center; }
}
