.remote-dock{position:fixed;right:max(24px,env(safe-area-inset-right));bottom:max(24px,env(safe-area-inset-bottom));z-index:3}.remote-launcher-wrap{position:relative;width:64px;height:64px;transition:transform .35s cubic-bezier(.22,1,.36,1)}.remote-launcher-wrap:hover{transform:translateY(-3px)}.remote-glass{position:absolute;inset:0;pointer-events:none;color-scheme:dark;border-radius:50%;box-shadow:0 8px 25px #0003}.remote-glass:after{content:"";position:absolute;inset:1px;border-radius:inherit;background:linear-gradient(135deg,#ffffff33,transparent 40%,transparent 65%,#ffffff18);border:1px solid #ffffff40}.remote-launcher{position:relative;display:grid;place-items:center;width:64px;height:64px;border:0;border-radius:50%;padding:0;background:transparent;color:#fff;cursor:pointer;transition:transform .2s ease}.remote-launcher>span:first-child{filter:drop-shadow(0 1px 3px #0009)}.remote-launcher:active{transform:scale(.92)}.remote-launcher:focus-visible{outline:2px solid #ff6b2b;outline-offset:5px}.remote-launcher[aria-expanded=true]{color:#ff8b52}.remote-launcher-dot{position:absolute;right:6px;bottom:6px;width:8px;height:8px;background:#ff6b2b;border:1px solid #ffffff80;border-radius:50%}.remote-launcher-dot[data-connected=true]{background:#c0ff80}.remote-launcher-hint{position:absolute;top:50%;right:78px;transform:translate(5px,-50%);opacity:0;white-space:nowrap;pointer-events:none;font:10px ui-monospace,monospace;color:#fff;padding:8px 10px;border:1px solid #ffffff20;border-radius:99px;background:#161616c9;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);transition:opacity .2s ease,transform .2s ease}.remote-launcher-wrap:is(:hover,:focus-within) .remote-launcher-hint{opacity:1;transform:translateY(-50%)}.remote-launcher-wrap:has([aria-expanded=true]) .remote-launcher-hint{opacity:0}.gallery-remote{position:absolute;right:0;bottom:80px;width:min(240px,calc(100vw - 48px));max-height:calc(100dvh - 160px);overflow-y:auto;padding:20px;border-radius:22px;background:#ff6b2b;color:#19120e;box-shadow:0 16px 50px #0005;transform-origin:calc(100% - 32px) calc(100% + 48px);opacity:0;visibility:hidden;transform:translateY(12px) scale(.84);pointer-events:none;transition:opacity .18s ease,transform .3s cubic-bezier(.22,1,.36,1),visibility .3s}.gallery-remote[data-open=true]{opacity:1;visibility:visible;transform:translateY(0) scale(1);pointer-events:auto;transition:opacity .2s ease,transform .42s cubic-bezier(.2,1.3,.3,1),visibility 0ms}.remote-close{display:grid;place-items:center;width:28px;height:28px;margin:-8px -8px -8px 0;border:0;border-radius:50%;background:#19120e0a;color:inherit;font-size:20px;cursor:pointer;transition:background .18s}.remote-close:hover{background:#19120e20}.remote-card-top{display:flex;justify-content:space-between;font:9px ui-monospace,monospace;letter-spacing:.1em}.gallery-remote img{display:block;width:112px;height:112px;margin:10px 0 6px;object-fit:contain}.gallery-remote h2{color:inherit;font-size:27px;font-weight:500;line-height:.98;letter-spacing:-.04em}.gallery-remote p{font-size:10px;line-height:1.5;margin-top:12px}.gallery-remote i,.remote-status-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#6f3822;margin-right:6px}.gallery-remote i[data-connected=true],.remote-status-dot[data-connected=true]{background:#c0ff80;box-shadow:0 0 12px #baff8055}.remote-pair-again{display:block;border:0;border-bottom:1px solid #19120e44;background:none;color:inherit;cursor:pointer}.gallery-remote details,.remote-pair-again{margin-top:12px;font-size:10px}.gallery-remote input{width:100%;margin-top:8px;padding:6px;border:1px solid #19120e55;background:transparent;color:inherit;font-size:10px}.is-gallery-controller{overflow-x:hidden;background:#101010}.is-gallery-controller .cursor-dot,.is-gallery-controller .cursor-ring,.is-gallery-controller .menu,.is-gallery-controller .menu-bar{display:none}.has-custom-cursor .is-gallery-controller,.has-custom-cursor .is-gallery-controller *{cursor:auto!important}.joystick-page{min-height:100dvh;background:#101010;color:#f5f2ed;padding:max(24px,env(safe-area-inset-top)) 28px max(24px,env(safe-area-inset-bottom));flex-direction:column;-webkit-user-select:none;-moz-user-select:none;user-select:none}.joystick-header,.joystick-page{width:100%;display:flex;align-items:center}.joystick-header{max-width:440px;position:relative;min-height:28px;justify-content:center}.joystick-logo-link{display:inline-flex;opacity:.92;text-decoration:none}.joystick-logo{height:18px;width:auto;display:block}.joystick-mark{position:absolute;right:0;top:50%;transform:translateY(-50%);color:#8a8a8a}.joystick-intro{width:100%;max-width:440px;margin:clamp(28px,6vh,64px) 0 28px;text-align:center}.joystick-intro h1{font-size:clamp(28px,7vw,40px);font-weight:400;line-height:1.1;letter-spacing:-.04em}.joystick-intro h1 span{color:#707070}.joystick-status{margin-top:16px;color:#9a9a9a;font:10px ui-monospace,monospace;letter-spacing:.12em;text-transform:uppercase}.joystick-modes{margin:0 0 26px}.joystick-deck{position:relative;margin:4px 0}.joystick-glass{color-scheme:dark}.joystick-pad{width:min(62vw,252px);height:min(62vw,252px);border:1px solid #ffffff14;border-radius:50%;display:grid;place-items:center;position:relative;background:radial-gradient(circle,#ffffff0a,transparent 70%);touch-action:none;outline-offset:12px}.joystick-pad[aria-disabled=true]{opacity:.45}.joystick-crosshair{position:absolute;inset:18%;border:1px dashed #ffffff12;border-radius:50%}.joystick-crosshair:after,.joystick-crosshair:before{content:"";position:absolute;background:#ffffff0d}.joystick-crosshair:before{left:50%;top:-15%;height:130%;width:1px}.joystick-crosshair:after{top:50%;left:-15%;width:130%;height:1px}.joystick-thumb{position:relative;width:76px;height:76px;display:grid;place-items:center;border-radius:50%;background:linear-gradient(145deg,#ff8b52,#ff5c1a);border:1px solid #ffb58c;box-shadow:0 12px 24px #0007,inset 0 2px 2px #ffffff44;transition:transform .22s cubic-bezier(.22,1,.36,1);pointer-events:none}.joystick-thumb[data-active=true]{transition:none}.joystick-thumb span{color:#60240b;font-size:24px}.joystick-instruction{margin:22px 0 26px;color:#777;font:10px ui-monospace,monospace;letter-spacing:.12em;text-transform:uppercase}.joystick-recenter{min-height:44px;margin:-14px 0 8px;padding:8px 16px;border:1px solid #ff6b2b55;border-radius:99px;color:#ff9460;background:#ff6b2b0a;font-size:12px}.joystick-modes:focus-visible,.joystick-recenter:focus-visible,.joystick-settings :focus-visible{outline:2px solid #ff9c6a;outline-offset:3px}.joystick-tilt-status{max-width:330px;color:#aaa;font-size:11px;line-height:1.6;text-align:center;margin-bottom:20px}.joystick-tilt-status:empty{display:none}.joystick-deck[data-tilt=true] .joystick-crosshair{border-color:#ff6b2b55}.joystick-settings{margin-top:auto;padding:8px 0 4px;display:flex;justify-content:center}@media (max-width:600px){.remote-dock{right:max(16px,env(safe-area-inset-right));bottom:max(16px,env(safe-area-inset-bottom))}.gallery-remote{width:min(240px,calc(100vw - 32px))}}@media (prefers-reduced-motion:reduce){.gallery-remote,.joystick-thumb,.remote-launcher,.remote-launcher-hint,.remote-launcher-wrap{transition:none}.remote-launcher-wrap:hover,.remote-launcher:active{transform:none}}