/* The board scrolls vertically; only the shot handle reserves a full gesture. */
.fan-zone #solo .tap-shot-board>svg,.fan-zone #solo.is-playing .tap-shot-board>svg,.fan-zone #solo .tap-shot-board .solo-table-view{touch-action:pan-y pinch-zoom;cursor:crosshair}
.fan-zone .tap-shot-board{touch-action:pan-y pinch-zoom;--shot-charge:0}
.fan-zone .tap-shot-board [id$="moving-coin"]{transform-box:fill-box;transform-origin:center;transform:scaleY(calc(1 - var(--shot-charge)*.12))}
.fan-zone .shot-dock{--pull:0px;position:relative;display:grid;justify-items:center;padding:10px 12px 9px;border:1px solid var(--edge,#d8cbb5);border-radius:12px;background:linear-gradient(135deg,#c5a46613,#73876515);user-select:none;-webkit-user-select:none}
.fan-zone .shot-dock[hidden]{display:none!important}
.fan-zone .shot-instruction{font-size:12px;font-weight:600;color:var(--text);text-align:center}
.fan-zone .shot-pull-track{position:relative;width:76px;height:132px;margin:6px 0 0;border-radius:40px;background:none}
.fan-zone .shot-pull-track:after{content:"";position:absolute;left:31px;bottom:8px;width:12px;height:12px;border-right:2px solid #cbb98b;border-bottom:2px solid #cbb98b;transform:rotate(45deg);pointer-events:none}
.fan-zone .shot-spring{visibility:hidden;position:absolute;left:22px;top:8px;width:32px;height:calc(18px + var(--pull));pointer-events:none;color:var(--gold,#b98b41)}
.fan-zone .shot-spring svg{display:block;width:100%;height:100%;overflow:visible}
.fan-zone .shot-spring path{fill:none;stroke:currentColor;stroke-width:2.5;vector-effect:non-scaling-stroke;stroke-linejoin:round}
.fan-zone button.shot-pull-handle{position:absolute;z-index:1;top:6px;left:12px;display:grid;place-items:center;width:52px;height:52px;min-height:52px;margin:0;padding:0;border:2px solid #e6d7b7;border-radius:50%;background:radial-gradient(circle at 35% 25%,#fffce9,#d5bd8e);box-shadow:none;color:#475b40;font:700 26px/1 system-ui;cursor:grab;touch-action:none;transform:translateY(var(--pull));-webkit-tap-highlight-color:transparent}
.fan-zone button.shot-pull-handle:hover{filter:brightness(1.04)}
.fan-zone .is-charging button.shot-pull-handle{cursor:grabbing;box-shadow:none}
.fan-zone button.shot-pull-handle:focus-visible{outline:2px solid var(--gold,#b98b41);outline-offset:5px}
.fan-zone button.shot-pull-handle:disabled{opacity:.4;cursor:default}
.fan-zone .shot-pull-hint{margin:0;font-size:11px;line-height:1.4;text-align:center;color:var(--muted);min-height:16px}
.fan-zone .is-charging .shot-pull-hint{color:var(--text);font-weight:600}
.fan-zone #solo-shoot[hidden],.fan-zone #duel-shoot[hidden]{display:none!important}


.fan-zone button.shot-pull-handle{border:0;background:transparent}
.fan-zone .shot-pull-handle img{display:block;width:100%;height:100%;border-radius:50%;pointer-events:none;user-select:none;-webkit-user-drag:none}

.fan-zone #solo .tap-shot-board>svg,.fan-zone #solo.is-playing .tap-shot-board>svg,.fan-zone #solo .tap-shot-board .solo-table-view{cursor:default}


/* A separate rotation grip preserves scrolling on the rest of the rack. */
.fan-zone button.shot-break-handle{position:absolute;z-index:1;display:grid;place-items:center;width:48px;height:48px;min-height:48px;margin:0;padding:0;border:0;background:transparent;box-shadow:none;transform:translate(-50%,-50%);touch-action:none;cursor:grab;-webkit-tap-highlight-color:transparent}
.fan-zone button.shot-break-handle[hidden]{display:none!important}
.fan-zone .shot-break-handle>span{display:grid;place-items:center;width:30px;height:30px;border:1px solid #efd4a0;border-radius:50%;background:#29493fe8;color:#f3d49b;box-shadow:0 2px 6px #0004;font:24px/1 system-ui;pointer-events:none;transition:transform .12s,background .12s}
.fan-zone .shot-break-handle small{position:absolute;top:40px;left:50%;transform:translateX(-50%);padding:1px 5px;border-radius:4px;background:#243b30df;color:#f3d49b;font:600 9px/1.3 system-ui;pointer-events:none}
.fan-zone .shot-break-handle.is-turning{cursor:grabbing}.fan-zone .shot-break-handle.is-turning>span{transform:scale(1.18);background:#417261}
.fan-zone button.shot-break-handle:focus-visible{outline:2px solid #e7c886;border-radius:50%}
.fan-zone button.shot-break-handle:disabled{opacity:.4;cursor:default}
@media(prefers-reduced-motion:reduce){.fan-zone .shot-break-handle>span{transition:none}}


/* Only the narrow stroke target owns aiming gestures. */
.fan-zone .shot-aim-hit-zone{position:absolute;inset:0;z-index:2;pointer-events:none;touch-action:none}
.fan-zone .shot-aim-hit-zone[hidden]{display:none!important}
.fan-zone .shot-aim-hit-zone>svg{display:block;width:100%;height:100%;overflow:visible;pointer-events:none}
.fan-zone .shot-aim-hit{pointer-events:stroke;touch-action:none;cursor:grab;outline:none}
.fan-zone .is-aiming-line .shot-aim-hit{cursor:grabbing}
.fan-zone .is-aiming-line [id$="-aim"]{stroke-width:3;stroke:#254d43}
@media(pointer:fine){.fan-zone .shot-aim-hit{stroke-width:14px}}
@media(pointer:coarse){.fan-zone .shot-aim-hit{stroke-width:24px}}

/* Only the striker itself captures placement in both axes. */
.fan-zone button.shot-striker-grip{position:absolute;z-index:3;width:28px;height:28px;min-height:0;margin:0;padding:0;border:0;border-radius:50%;background:transparent;box-shadow:none;transform:translate(-50%,-50%);touch-action:none;cursor:grab;-webkit-tap-highlight-color:transparent}
.fan-zone button.shot-striker-grip[hidden]{display:none!important}
.fan-zone button.shot-striker-grip.is-moving{cursor:grabbing}
.fan-zone button.shot-striker-grip:focus-visible{outline:2px solid #e7c886;outline-offset:2px}
@media(pointer:coarse){.fan-zone button.shot-striker-grip{width:34px;height:34px}}

.fan-zone .is-charging .shot-spring{visibility:visible}

/* Direction buttons flank the power striker without taking away pull travel. */
.fan-zone button.shot-aim-step{position:absolute;top:10px;width:44px;height:44px;min-height:44px;padding:10px;display:grid;place-items:center;border:1px solid var(--edge,#d8cbb5);border-radius:50%;background:transparent;color:var(--text);touch-action:none;-webkit-tap-highlight-color:transparent}
.fan-zone .shot-aim-left{left:-58px}
.fan-zone .shot-aim-right{right:-58px}
.fan-zone .shot-aim-step svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.fan-zone button.shot-aim-step:hover,.fan-zone button.shot-aim-step.is-held{background:#b98b411c;border-color:var(--gold,#b98b41)}
.fan-zone button.shot-aim-step:focus-visible{outline:2px solid var(--gold,#b98b41);outline-offset:3px}
.fan-zone button.shot-aim-step:disabled{opacity:.3;cursor:default}

/* During a turn the whole board owns the aiming gesture. */
.fan-zone .tap-shot-board.shot-board-ready,.fan-zone #solo .tap-shot-board.shot-board-ready>svg,.fan-zone #solo .tap-shot-board.shot-board-ready .solo-table-view,#duel .board-shell.tap-shot-board.shot-board-ready,#duel .shot-board-ready>svg,#duel .shot-board-ready .solo-table-view{touch-action:none;cursor:crosshair}

.fan-zone #solo .shot-control-state[hidden],.fan-zone #solo .solo-slider[hidden]{display:none!important}
.fan-zone #solo .board-shell>svg:focus{outline:none}
.fan-zone #solo .board-shell .solo-table-view:focus{outline:none}

.fan-zone #lab .shot-control-state[hidden],.fan-zone #lab .solo-slider[hidden],.fan-zone #lab-shoot[hidden]{display:none!important}
