.jump-button{position:fixed;right:32px;bottom:calc(84px + var(--safe-bottom));display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;width:56px;height:64px;padding:5px;border:1px solid #ffffff90;border-radius:14px;background:#223e36e8;color:#fff6df;pointer-events:auto;touch-action:none;backdrop-filter:blur(5px);font:600 .8125rem/1 Arial,sans-serif}
.jump-button svg{width:22px;height:22px}.jump-button kbd{font:400 .625rem/1.2 Arial,sans-serif;background:none;border:0;padding:0;color:#d5e1cc}.jump-button:disabled{opacity:.65}.jump-button:focus-visible{outline:3px solid #f3c66f;outline-offset:4px}.jump-button:active{background:#416953}
.desktop-controls{right:96px;bottom:calc(84px + var(--safe-bottom));gap:8px;padding:0;background:none;backdrop-filter:none;text-shadow:none}
.desktop-controls>.desktop-action{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;width:88px;height:64px;padding:4px;border:1px solid #ffffff90;border-radius:14px;background:#223e36e8;color:#fff6df;font:600 .75rem/1.2 Arial,sans-serif;white-space:nowrap;backdrop-filter:blur(5px)}
.desktop-controls>button.desktop-action{width:96px}
.desktop-action svg{width:22px;height:22px;flex:none}
.desktop-action kbd,.desktop-action .action-key{font:400 .625rem/1.2 Arial,sans-serif;background:none;border:0;padding:0;margin:0;color:#d5e1cc}
.desktop-controls>.hold-action{background:#18312dbd;border-color:#d9e4d044;pointer-events:none}
.desktop-controls>button:focus-visible{outline:3px solid #f3c66f;outline-offset:4px}
.desktop-controls>button:active{background:#416953}
.desktop-action .exit-action-icon,.desktop-action .brake-action-icon{display:none}
.is-passenger .bike-action-icon,.is-boating .bike-action-icon,.is-braking .speed-action-icon{display:none}
.is-passenger .exit-action-icon,.is-boating .exit-action-icon,.is-braking .brake-action-icon{display:block}
.is-passenger .desktop-controls{padding:0}
.greeting-controls{right:32px;bottom:calc(28px + var(--safe-bottom))}
.flower-controls,.nightlife-controls{bottom:calc(160px + var(--safe-bottom))}
#bike-badge{max-width:calc(100vw - 440px);white-space:normal;text-align:center}
.interact-prompt{left:calc(50% - 40px);max-width:calc(100vw - 528px);gap:10px;white-space:normal}
#interact-label{min-width:0;overflow-wrap:anywhere}
.bus-boarding-icon{display:none;width:22px;height:22px;flex:none}
.is-bus-boarding .bus-boarding-icon{display:block}
html.mouse-steering,html.mouse-steering *{cursor:none!important}
@media(max-width:700px),(pointer:coarse),(max-width:900px) and (max-height:560px){
  .desktop-controls{display:none}
  .interact-prompt{left:auto;max-width:100%}
  #bike-badge{max-width:100%}
  #hud .jump-button{position:static;grid-area:6 / 1 / 7 / -1;align-self:end;justify-self:start;margin-left:calc(50% - 39px);width:56px;height:56px;border-radius:50%;z-index:2}
  .jump-button kbd{display:none}
}
@media(orientation:landscape) and (max-height:560px) and (max-width:900px),(orientation:landscape) and (max-height:560px) and (pointer:coarse){
  #hud .jump-button{grid-area:4 / 1 / 5 / -1}
}
/* BLE navigation needs the same visible focus treatment as keyboard Tab. */
.controller-focus:focus{outline:3px solid #ffb180;outline-offset:4px}
/* Trainer readings sit below the place and weather, outside the action controls. */
#hud .trainer-readout{display:flex;align-self:center;align-items:baseline;justify-content:center;gap:12px;width:max-content;max-width:100%;margin-top:7px;padding:5px 10px;border-radius:8px;background:#17332bd9;color:#f8f3e8;text-shadow:none;font:400 .75rem/1.35 Arial,sans-serif;font-variant-numeric:tabular-nums;pointer-events:none}
#hud .trainer-readout .trainer-reading{display:inline-flex;align-items:baseline;gap:3px;white-space:nowrap;font:inherit;letter-spacing:0}
#hud .trainer-readout b{font-weight:600}
#hud .trainer-readout .trainer-unit{font:inherit;color:#d8e2d6}
@media(max-width:700px),(pointer:coarse),(max-width:900px) and (max-height:560px){
  #hud .trainer-readout{flex-basis:100%;flex-grow:0;justify-content:flex-start;width:auto;max-width:max-content;margin-top:2px;padding:4px 8px;gap:10px;font-size:.75rem}
}
