/* Approved chase-camera direction, 12 October 2026. HUD stays in the safe area. */
body.chase{background:#f4ebdb;color:#243d38}
.chase .app{max-width:1440px;padding:0 24px}
.chase .topbar{height:76px;border-color:#d9cbb5}
.chase .intro,.chase .how-it-works,.chase .mission-strip{display:none}
.chase .game-shell{height:min(780px,calc(100svh - 96px));min-height:500px;aspect-ratio:auto;margin-top:12px;border-radius:14px;border:0;background:#93cce4;box-shadow:0 14px 35px #5c503a18}
.chase .game-shell canvas{background-color:#9dd5e9}
.chase .loading{color:#24483e}
.chase-wordmark{position:absolute;left:24px;top:22px;z-index:2;pointer-events:none;display:flex;flex-direction:column;line-height:.82;transform:rotate(-5deg);font-style:italic;font-weight:1000;letter-spacing:-1.5px;font-size:26px;color:#fff1d6;filter:drop-shadow(1px 3px 0 #233b39);text-shadow:-2px -2px 0 #233b39,2px 2px 0 #233b39,3px 0 0 #233b39,-3px 0 0 #233b39}
.chase-wordmark strong{font-size:31px;color:#ff8b64;margin-top:6px;letter-spacing:-1.9px}
.chase .hud{top:22px;left:24px;right:24px;align-items:flex-start}
.chase .score-block{position:absolute;left:0;top:82px;color:#243d38;background:#fff0d7eb;border-radius:9px;padding:8px 12px;min-width:108px}
.chase .hud .score-block .hud-label{font-size:12px;letter-spacing:.25px;max-width:none;white-space:nowrap}
.chase .score-block>span:nth-child(2){font-size:26px;line-height:1.1}
.chase .personal-best{font-size:12px}
.chase .route-hud{left:auto;right:50px;transform:none;background:#233d39f0;color:#fff1da;padding:10px 14px;border-radius:6px;min-width:136px;text-align:center}
.chase .route-hud .hud-label{font-size:12px;color:#fbe7c7;letter-spacing:1.3px}
.chase .delivery-dots{margin:8px 0 6px;gap:5px}
.chase .delivery-dots span{height:7px;width:7px;background:#efddbd44;border:0}
.chase .delivery-dots span.delivered{background:#ff956b}
.chase #delivery-label{color:#fff3df;font-size:12px;font-weight:700}
.chase .street-clock{color:#ffe8c2!important;font-size:12px!important;margin-top:5px}
.chase .life-hud{margin-left:auto;flex-direction:column-reverse;gap:8px;align-items:center}
.chase .hearts{flex-direction:column;padding:0;gap:4px}.chase .hearts svg{width:15px;height:15px;fill:#b7452c;stroke:#fff0d5;stroke-width:1.4}
.chase .hud-pause{height:40px;width:40px;background:#fff0dbe8;border:0;margin:0;color:#233d39}
.chase .start-panel{top:auto;bottom:28px;left:50%;transform:translateX(-50%);width:min(400px,calc(100% - 28px));padding:17px 22px 12px;border:0;background:#fff3deee;backdrop-filter:blur(8px);border-radius:17px;text-align:center;box-shadow:0 12px 35px #34403525}
.chase .start-panel h2{font-size:29px;line-height:1.02;margin:10px 0 8px}.chase .start-panel p{margin-bottom:11px;line-height:1.5;font-size:14px}
.chase .start-panel .primary-button{justify-content:center;border-radius:10px;background:#be4f34;font-size:15px;min-height:49px}
.chase .watch-demo{min-height:34px;margin:4px 0 0;font-size:12px;color:#345245}.chase .start-key{font-size:12px;margin-top:0;justify-content:center;gap:10px}.chase .start-key>span{font-size:12px}
.chase .world-caption{display:none!important}
.chase .game-shell:has(.start-panel:not([hidden])) .hud{display:none}
.chase .game-shell:has(.start-panel:not([hidden])) .chase-wordmark{left:50%;top:28px;transform:translateX(-50%) rotate(-5deg);font-size:clamp(36px,5vw,56px);white-space:nowrap;text-align:center}.chase .game-shell:has(.start-panel:not([hidden])) .chase-wordmark strong{font-size:clamp(41px,5.5vw,65px)}
.chase .play-coach{width:310px;min-width:0;max-width:calc(100% - 32px);padding:11px 15px 10px;bottom:22px;border:3px solid #fff5df;background:#fff0dcf2;border-radius:20px;box-shadow:0 3px 20px #78604718}
.chase #coach-action{font-size:12px;letter-spacing:1.9px;color:#213c37}.chase .charge-track{height:12px;background:#d9bb9866;border-radius:7px;margin-top:8px}.chase .charge-track span{background:#f47551;border-radius:7px}
.chase #coach-detail{font-size:12px;color:#465b4a;line-height:1.4;margin-top:6px}
.chase .play-coach.landing{background:#23483b;border-color:#ecf4d6}.chase .play-coach.landing #coach-action,.chase .play-coach.landing #coach-detail{color:#fff5dd}.chase .play-coach.landing .charge-track span{background:#a3e6ad}
.chase .feedback{top:23%;width:calc(100% - 24px);white-space:normal}.chase .feedback-title{font-size:clamp(21px,3.6vw,34px)!important;font-style:italic}.chase .feedback-sub{font-size:12px!important;max-width:100%;letter-spacing:0}
.chase .combo-badge{top:185px;left:24px;background:#be4f34;padding:7px 10px;font-size:12px}.chase .ghost-hud{left:24px;bottom:120px;font-size:12px}
.chase .campaign-bar{margin-top:10px}.chase footer{color:#4f6554;padding-top:16px}.chase .top-tag{font-size:12px;letter-spacing:1.2px;color:#385646}
body.chase.riding .game-shell{margin:0;border-radius:0;min-height:0;height:100dvh;height:100svh}
body.chase.riding .chase-wordmark{top:max(20px,env(safe-area-inset-top));left:max(20px,env(safe-area-inset-left))}
body.chase.riding .play-coach{bottom:max(18px,env(safe-area-inset-bottom));width:310px}
body.chase.riding .hud{top:max(20px,env(safe-area-inset-top));left:max(20px,env(safe-area-inset-left));right:max(16px,env(safe-area-inset-right))}
@media(max-width:600px){
  .chase .app{padding:0}.chase .topbar{padding:0 13px;height:66px;gap:8px}.chase .brand-icon{width:33px;height:33px;border-radius:9px}.chase .brand-icon svg{width:25px;height:25px}.chase .brand{font-size:12px;letter-spacing:1px;gap:7px}.chase .brand strong{font-size:13px}.chase .top-actions{gap:2px}.chase .garage-button{margin-left:0;padding:0 9px}.chase .garage-button>span:not(.scrap-counter){display:none}.chase .crew-button{padding:0 9px}.chase .top-tag{display:none}
  .chase .game-shell,.chase .game-shell:has(.start-panel:not([hidden])){margin:0;border-radius:0;height:calc(100svh - 66px);min-height:510px;max-height:none}.chase .start-panel{bottom:18px;top:auto;padding:12px 18px 9px;width:min(340px,calc(100% - 24px))}.chase .start-panel h2{font-size:24px;margin:9px 0 6px}.chase .start-panel p{font-size:14px;margin-bottom:10px}.chase .start-panel .pill{font-size:12px}.chase .start-panel .primary-button{min-height:45px;font-size:14px}
  .chase-wordmark{font-size:19px;left:16px;top:20px}.chase-wordmark strong{font-size:23px;letter-spacing:-1px}.chase .hud{left:16px;right:12px}.chase .score-block{top:67px;padding:7px 9px;min-width:82px}.chase .score-block>span:nth-child(2){font-size:23px}.chase .score-block .hud-label{font-size:12px}.chase .personal-best{font-size:12px}.chase .route-hud{padding:8px 10px;right:46px;min-width:118px}.chase .route-hud .hud-label{font-size:12px}.chase #delivery-label{font-size:12px}.chase .street-clock{font-size:12px!important}.chase .combo-badge{top:166px;left:16px}.chase .feedback{top:27%}.chase .feedback-sub{font-size:12px!important}.chase .campaign-bar,.chase .route-picker,.chase footer{margin-left:16px;margin-right:16px}.chase .route-picker{overflow-x:auto}.chase .route-hint{display:none}.chase .campaign-bar{gap:8px}
}
@media(max-width:360px){.chase-wordmark{font-size:16px}.chase-wordmark strong{font-size:19px}.chase .route-hud{min-width:105px;right:40px;padding:8px}.chase .hud-pause{width:34px;height:34px}.chase .game-shell:has(.start-panel:not([hidden])) .chase-wordmark{font-size:31px}.chase .game-shell:has(.start-panel:not([hidden])) .chase-wordmark strong{font-size:38px}}
@media(max-height:480px) and (min-width:600px){
  .chase .game-shell{min-height:320px}.chase .chase-wordmark{font-size:19px}.chase .chase-wordmark strong{font-size:24px}.chase .score-block{top:66px}.chase .play-coach{padding:7px 13px 6px;bottom:10px;width:280px}.chase #coach-detail{font-size:12px}.chase .feedback{top:24%}.chase .combo-badge{top:155px}.chase .start-panel{left:22px;transform:none;width:285px;bottom:20px}.chase .game-shell:has(.start-panel:not([hidden])) .chase-wordmark{left:25px;transform:rotate(-5deg);font-size:27px;top:20px}.chase .game-shell:has(.start-panel:not([hidden])) .chase-wordmark strong{font-size:33px}
}
@media(prefers-reduced-motion:reduce){.chase .feedback-title{animation:none}.chase .charge-track span{transition:none}}

/* The invitation leaves the crew and the first jump visible. */
.chase .start-panel{width:min(390px,calc(100% - 28px));padding:11px 16px 7px}
.chase .start-panel h2,.chase .start-panel p,.chase .start-key{display:none}
.chase .start-panel.has-challenge p{display:block;margin:0 0 8px;font-size:14px}
.chase .start-panel .pill{margin-bottom:8px;font-size:12px;background:none;padding:0}
.chase .start-panel .watch-demo{display:flex;width:100%;margin-top:2px;min-height:29px}
.chase .game-shell:has(.start-panel:not([hidden])) .chase-wordmark{top:29px}
@media(max-width:600px){.chase .start-panel{bottom:16px;width:calc(100% - 36px);padding:10px 14px 5px}.chase .start-panel .primary-button{min-height:44px}.chase .start-panel .pill{font-size:12px}.chase .start-panel .watch-demo{font-size:12px}}
.chase .tutorial-dialog video{display:block;width:100%;height:min(55svh,470px);aspect-ratio:auto;object-fit:contain;background:#233d39;border-radius:12px}
.chase .crew-portrait img{height:100%;width:100%;object-fit:contain;padding:4px}
.chase .chase-wordmark{width:170px;display:block;transform:none;filter:none;text-shadow:none;line-height:0}
.chase .chase-wordmark img{display:block;width:100%;height:auto}
.chase .game-shell:has(.start-panel:not([hidden])) .chase-wordmark{width:min(405px,85%);top:14px;transform:translateX(-50%)}
@media(max-width:600px){.chase .chase-wordmark{width:150px;left:14px;top:13px}.chase .game-shell:has(.start-panel:not([hidden])) .chase-wordmark{width:86%;top:15px}}
@media(max-width:360px){.chase .chase-wordmark{width:126px}}
@media(max-height:480px) and (min-width:600px){.chase .chase-wordmark{width:155px}.chase .game-shell:has(.start-panel:not([hidden])) .chase-wordmark{width:255px;left:24px;transform:none;top:12px}}
