.home-app[hidden]{display:none!important}
.app-stash{background:radial-gradient(circle at 30% 20%,#d6ebbc,#607556 70%,#293832);color:#f6f0ca;font-size:36px;font-style:normal;display:grid!important;place-items:center}
#cloud-controls{position:fixed;top:104px;left:50%;transform:translateX(-50%);z-index:36;display:grid;justify-items:center;gap:5px;max-width:calc(100vw - 24px);font-family:'DM Sans',Arial,sans-serif;color:#eee8f5;pointer-events:auto}
#cloud-controls[hidden],#cloud-controls [hidden]{display:none!important}
#cloud-controls button{min-width:44px;min-height:44px;border:1px solid #ddceee45;background:#1b2630f2;color:#e8efdc;border-radius:12px;padding:8px 12px;line-height:1.2;letter-spacing:0;text-transform:none;font-size:13px;touch-action:none}
#cloud-controls button:focus-visible{outline:3px solid #d2ecc0;outline-offset:2px}
#cloud-controls button:disabled{opacity:.6}
#cloud-controls #trove-shop{background:#1b3027f2;border-color:#b9d19988;min-width:180px;box-shadow:0 6px 24px #0003}
#trove-shop small{font-size:9px;margin-left:18px;color:#c5d9a9}
#cloud-controls .cloud-strip{display:flex;align-items:center;gap:5px;padding:5px;border-radius:16px;border:1px solid #c4abdb55;background:#14212bf2;box-shadow:0 8px 30px #0003}
.cloud-caption{display:grid;gap:3px;padding:0 8px;min-width:100px;font-variant-numeric:tabular-nums}
.cloud-caption b{font-size:9px;letter-spacing:.12em;color:#d8bae8}.cloud-caption small{font-size:11px;color:#d4dec9}
#cloud-controls #cloud-toggle{background:#d7c4e5;color:#251a30;font-weight:700;min-width:62px}
#cloud-controls .cloud-instructions{font-size:10px;padding:5px 10px;border-radius:7px;background:#101e29eb;color:#e3e9db;text-align:center}
@media(max-height:540px),(max-width:760px){#cloud-controls{top:80px;gap:3px}#cloud-controls .cloud-strip{padding:3px;gap:3px}.cloud-caption{min-width:85px;padding:0 4px}#cloud-controls .cloud-instructions{font-size:9px;max-width:270px}}
.app-stash{background:#031b10 url('../assets/stash/icon.png') center/contain no-repeat!important;box-shadow:0 0 14px #55ff3b28}
#cloud-controls .cloud-strip{border-color:#7cfb6b65;background:#052419f2}
.cloud-caption b{color:#baff69}
#cloud-controls #cloud-toggle{background:linear-gradient(135deg,#c7ff69,#62ed8b);color:#06331e}

/* Cloud mode belongs to the existing app rail, leaving the route arrow clear. */
#cloud-controls{position:relative;inset:auto;transform:none;z-index:auto;order:-4;width:100%;max-width:100%;box-sizing:border-box;justify-items:stretch;flex:none;gap:4px}
#cloud-controls .cloud-strip{box-sizing:border-box;min-width:0;width:100%;flex-wrap:wrap;justify-content:flex-end}
#cloud-controls .cloud-caption{flex:1;min-width:72px;padding:0 4px}
#cloud-controls #trove-shop{min-width:0;width:100%}
#cloud-controls .cloud-instructions{margin:0;line-height:1.4;max-width:none}
#cloud-controls button{flex:none;touch-action:manipulation}
#cloud-controls :is(#cloud-up,#cloud-down){touch-action:none}
@media(max-width:980px),(pointer:coarse) and (max-width:1400px){
 #cloud-controls .cloud-caption b{font-size:8px;letter-spacing:.05em}
 #cloud-controls .cloud-caption small{font-size:9px;white-space:nowrap}
 #cloud-controls .cloud-caption{min-width:60px;padding:0}
 #cloud-controls .cloud-strip{gap:2px;padding:3px;border-radius:10px}
 #cloud-controls button{padding:4px;min-width:44px;font-size:11px;border-radius:8px}
 #cloud-controls #cloud-toggle{min-width:44px}
 #cloud-controls .cloud-instructions{display:none}
 html.phone-hud-ready.is-driving:not(.controller-active) .drive-right-stack.drive-right-stack:has(#cloud-controls:not([hidden])){max-height:min(190px,calc(100dvh - var(--web-header,116px) - 142px))!important;overflow:auto!important;overscroll-behavior:contain}
 html.phone-hud-ready.is-driving:not(.controller-active):has(#cloud-controls:not([hidden])) :is(#duber-card#duber-card,#duber-progress#duber-progress):not([hidden]){position:relative!important;inset:auto!important;width:100%!important;flex:none!important}
}
