/* Icon-only play; instructions live in the optional help screen. */
.play-nav{position:absolute;top:max(18px,env(safe-area-inset-top));right:max(20px,env(safe-area-inset-right));display:flex;gap:10px}
.control-circle{width:52px;height:52px;min-height:52px;padding:12px;border-radius:50%;display:grid;place-items:center;background:#faf8e33b;border:1px solid #fff9;box-shadow:0 3px 18px #35594c24,inset 0 0 10px #ffffed20;color:#fffdeb;backdrop-filter:blur(5px);touch-action:manipulation}
.control-circle svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 1px 2px #345a54)}
.control-circle:hover{background:#f9f4d966}.control-circle:active{background:#fff3ba99;transform:scale(.94)}
.play-nav .control-circle{width:44px;height:44px;min-height:44px;padding:10px}
.mobile-actions{position:absolute;right:max(28px,env(safe-area-inset-right));bottom:max(34px,env(safe-area-inset-bottom));width:156px;height:156px;pointer-events:none;z-index:3}.mobile-actions button{position:absolute;pointer-events:auto}
.main-action{right:0;bottom:0;width:78px;height:78px;min-height:78px;padding:19px;background:#fbf4d867;border:2px solid #fff8;box-shadow:0 0 26px #fff0be25,inset 0 0 14px #fff8}
.wave-action{left:0;bottom:11px}.jump-action{right:12px;top:0}.route-action{left:0;top:0}
.joystick{display:block;left:max(30px,env(safe-area-inset-left));bottom:max(43px,env(safe-area-inset-bottom));width:100px;height:100px;background:#fff1;border:1px solid #fff6;z-index:3}
.joystick-knob{left:30px;top:30px;width:38px;height:38px;background:#ffffef88;border:1px solid #fff8}
.end-marker{position:absolute;transform:translate(-50%,-50%);width:44px;height:44px;min-height:44px;border-radius:50%;padding:0;background:#ffffe832;border:1px solid #fff9;color:#fffce2;font-size:30px;box-shadow:0 0 18px #fffbd578;pointer-events:auto;z-index:1}.end-marker:hover{background:#fffde760;box-shadow:0 0 24px #ffeba2}.end-marker[hidden]{display:none}
.menu-icons{display:flex;justify-content:center;gap:22px;padding:22px 0}.menu-icons .control-circle,.modal .control-circle{color:#496b68;border-color:#91a59a;background:#eff2e0}.modal .sheet-head{justify-content:flex-end}.modal:has(.menu-icons){width:min(320px,100%)}
.help-icons{display:grid;grid-template-columns:32px 1fr;gap:10px;align-items:start;margin-bottom:14px}.help-icons svg{width:28px;height:28px;fill:none;stroke:#496b68;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.help-icons p{margin:0}
.needs-help{box-shadow:0 0 20px #fff4b5;border-color:#fff4b5}
@media(max-width:760px){.play-nav{right:16px;gap:8px}.mobile-actions{right:max(18px,env(safe-area-inset-right));bottom:max(26px,env(safe-area-inset-bottom));width:142px;height:142px}.main-action{width:72px;height:72px;min-height:72px;padding:17px}.wave-action{bottom:8px}.jump-action{right:9px}.joystick{left:max(20px,env(safe-area-inset-left));bottom:max(36px,env(safe-area-inset-bottom));width:88px;height:88px}.joystick-knob{left:24px;top:24px}.intro-copy{bottom:14%}}
@media(max-width:350px){.mobile-actions{right:12px;width:136px;height:136px}.joystick{left:14px;width:80px;height:80px;bottom:32px}.joystick-knob{left:20px;top:20px}.control-circle{width:48px;height:48px;min-height:48px}.main-action{width:70px;height:70px;min-height:70px}.play-nav .control-circle{width:44px;height:44px;min-height:44px}}
