/* Mobile v1.6 rules from the audited revision. */
@media(max-width:800px){
 :root{--costa-bottom-clearance:max(8px,env(safe-area-inset-bottom,0px))}
 html,body{height:100%;overflow:hidden}
 .desktop{height:100vh;height:100svh;height:100dvh;min-height:0}
 .taskbar{left:0;right:0;bottom:var(--costa-bottom-clearance);height:50px;border-radius:9px 9px 3px 3px;overflow:visible;box-shadow:0 -2px 10px rgba(12,46,83,.28)}
 .start-button{min-width:99px;font-size:12px;border-radius:9px 16px 16px 3px}
 .task-buttons{flex:1 1 auto;min-width:0;gap:3px;padding:0 3px}
 .task-button{max-width:96px;padding:7px 5px;font-size:10px}
 .tray{flex:0 0 auto;gap:5px;padding:0 7px;font-size:10px;white-space:nowrap}
 .ambient-controls{gap:4px}
 .ambient-toggle,.motion-toggle{min-width:39px;min-height:39px;padding:4px 6px;flex-shrink:0}
 .tray .ambient-icon{display:inline!important}
 .tray>#stressMessage{display:none}
 .tray #clock{display:inline;font-size:10px;font-variant-numeric:tabular-nums}
 .start-menu{bottom:calc(50px + var(--costa-bottom-clearance))}
 
 .living-cloud-a{top:57%;left:-5%}.living-cloud-b{top:69%;left:67%}.living-cloud-c{top:64%;left:18%}
 .sky::before{opacity:.24;-webkit-mask-image:linear-gradient(180deg,transparent 0%,transparent 24%,#000 51%);mask-image:linear-gradient(180deg,transparent 0%,transparent 24%,#000 51%)}
 .sky::after{opacity:.14;-webkit-mask-image:linear-gradient(180deg,transparent 0%,transparent 30%,#000 59%);mask-image:linear-gradient(180deg,transparent 0%,transparent 30%,#000 59%)}
 .scene-camera{left:5%;top:65.4%}.scene-rock{left:3%;top:69.6%;width:56px;height:20px}
 .scene-console{left:80%;top:67.3%;opacity:.88}
 .scene-console::before{content:"";position:absolute;left:-8px;right:-9px;bottom:8px;height:16px;border-radius:60% 54% 40% 45%;background:linear-gradient(180deg,#f4d9a1 0%,#e1bb85 62%,#bd946b 100%);box-shadow:1px 4px 3px rgba(83,80,66,.18);transform:rotate(5deg);z-index:-1;pointer-events:none}
}
@media(max-width:420px){.start-button{min-width:90px}.tray{gap:3px;padding:0 5px}.ambient-controls{gap:3px}.ambient-toggle,.motion-toggle{min-width:37px;padding:3px 5px}.scene-camera{left:4%;top:65.4%}.scene-console{left:81%;top:67.2%}}
@media(max-width:800px) and (max-height:500px){.taskbar{height:44px}.start-menu{bottom:calc(44px + var(--costa-bottom-clearance))}.ambient-toggle,.motion-toggle{min-height:36px}}
