.wb-mode{display:flex;gap:6px;margin:0 0 24px;border-bottom:1px solid #c4cedb;padding-bottom:12px}.wb-mode button{padding:10px 17px;background:transparent;color:#526681;border-radius:24px;font-size:12px}.wb-mode button.active{background:#294b80;color:#fffdf4}.wb-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:24px;align-items:start}.wb-sheet{background:#fffdf7;border:1.5px solid #aabcc8;border-radius:25px;padding:18px;min-width:0;box-shadow:0 6px 0 #dfe4e4}.wb-top{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:16px}.wb-top>.eyebrow{font-size:8px}.wb-zoom{display:flex;border:1px solid #c7d2d9;border-radius:20px;padding:3px;gap:3px}.wb-zoom button{font-size:10px;color:#3d5876;background:none;padding:8px 11px;border-radius:17px}.wb-zoom .active{background:#dce7e3;color:#244277}.wb-stage{position:relative;width:100%;aspect-ratio:1;background:#eee9df;border:1px solid #c2cec9;border-radius:18px;overflow:hidden;isolation:isolate}.wb-ground{display:block;width:100%;height:100%}.wb-token-layer{position:absolute;inset:0;pointer-events:none}.wb-token{position:absolute;width:44px;height:44px;border-radius:50%;transform:translate(-50%,-50%);display:flex;align-items:center;justify-content:center;gap:0;border:2px solid white;box-shadow:0 2px 5px #18374c30;pointer-events:auto;touch-action:none;user-select:none;cursor:grab;padding:3px;z-index:2}.wb-token:active{cursor:grabbing;z-index:5}.wb-token.wb-a{background:#294b80;color:white}.wb-token.wb-b{background:#ad573e;color:white}.wb-token>svg{width:21px;height:26px;pointer-events:none}.wb-token>b{font-size:10px;pointer-events:none}.wb-token.selected{outline:2px dashed #294b80;outline-offset:4px;z-index:4}.wb-token:focus-visible{outline:3px solid #294b80;outline-offset:4px}.wb-token.wb-ball{background:#f4d265;color:#533e11;width:36px;height:36px;border-color:#fff7d8}.wb-ball-art{position:absolute;inset:4px;border-radius:50%;border-left:1px solid #92712e;border-right:1px solid #92712e;transform:rotate(-25deg);pointer-events:none}.wb-token.wb-ball b{position:relative;font-size:11px}.wb-area-label{position:absolute;top:13px;left:16px;font-size:8px;letter-spacing:1px;color:#697578;pointer-events:none}.wb-legend{display:flex;gap:16px;justify-content:space-between;flex-wrap:wrap;margin:20px 0 12px}.wb-legend>span{display:grid;grid-template-columns:13px auto;gap:4px 7px;align-items:center;font-size:10px}.wb-legend small{grid-column:2;font-size:9px;color:#617386}.wb-legend i{width:11px;height:11px;border-radius:50%}.wb-legend .boundary{border:2px solid #294b80}.wb-legend .service{border:2px dashed #438775}.wb-legend .no-hit{background:#edc3ad;border:1px solid #b65d40}.wb-help{font-size:10px;line-height:1.6;color:#627286;padding-top:13px;border-top:1px solid #dae0e1}.wb-reference{font-size:9px;line-height:1.7;color:#66778a;display:flex;flex-wrap:wrap;gap:5px 12px;margin-top:8px}.wb-reference a{text-decoration:underline;text-underline-offset:3px}.wb-tools-inner{padding:23px 21px;background:#f0db99;border:1px solid #cfbc84;border-radius:5px 5px 26px 5px;box-shadow:3px 5px 0 #24427710}.wb-aside-title h2{font:400 30px/1.05 'DM Serif Display',Georgia,serif;letter-spacing:-.6px;margin:12px 0 24px}.wb-aside-title h2 em{color:#996043;font-weight:400}.wb-aside-title .eyebrow{font-size:8px;color:#6e613c}.wb-small-heading{font-size:10px;font-weight:700;display:block;margin:15px 0 9px}.wb-roster>div{display:flex;gap:8px;flex-wrap:wrap}.wb-pick{padding:10px 13px;border:1px solid #294b8050;border-radius:11px;background:#fcf3d3;color:#294b80;font-size:11px}.wb-pick.wb-a{border-left:5px solid #294b80}.wb-pick.wb-b{border-left:5px solid #ad573e}.wb-pick.wb-ball{border-radius:22px}.wb-pick.selected{outline:2px solid #294b80;outline-offset:2px;background:#fffdf6}.wb-muted{font-size:10px;line-height:1.6}.wb-ball-actions{display:grid;gap:13px;margin-top:20px;text-align:left}.wb-ball-actions .btn{justify-content:center;background:#294b80;color:white}.wb-ball-actions .text-btn{font-size:10px;text-align:left}.wb-tools-inner button:disabled{opacity:.4;cursor:not-allowed}.wb-selected{margin-top:23px;padding-top:6px;border-top:1px solid #bdab7b}.wb-selected>strong{font:400 25px 'DM Serif Display',serif}.wb-arrows{display:flex;gap:8px;margin-top:12px}.wb-arrows button{border:1px solid #bfb184;background:#fff9e4;width:38px;height:38px}.wb-selected p{font-size:10px;line-height:1.7;margin:12px 0;color:#6a6046}.wb-bottom-actions{display:flex;justify-content:space-between;gap:12px;border-top:1px solid #bdab7b;padding-top:18px;margin-top:18px}.wb-bottom-actions button{font-size:11px}.wb-storage{font-size:9px;margin-top:16px;color:#6a6046}
@media(min-width:1600px){.wb-layout{grid-template-columns:minmax(0,1fr) 290px}}
@media(max-width:1100px){.wb-layout{grid-template-columns:minmax(0,1fr)}.wb-tools-inner{display:grid;grid-template-columns:1fr 1fr;gap:0 30px}.wb-aside-title{grid-column:1/-1}.wb-aside-title h2{margin-bottom:8px}.wb-roster{grid-column:1;grid-row:2/5}.wb-ball-actions,.wb-selected,.wb-bottom-actions,.wb-storage{grid-column:2}.wb-stage{max-width:800px;margin:auto}}
@media(max-width:600px){.wb-sheet{padding:11px;border-radius:19px}.wb-top{gap:12px}.wb-top>.eyebrow{width:100%;padding:4px}.wb-zoom{width:100%;justify-content:center}.wb-zoom button{flex:1;font-size:11px}.wb-mode button{font-size:11px;padding:10px 12px}.wb-stage{border-radius:12px}.wb-token{width:38px;height:38px}.wb-token>svg{width:17px;height:23px}.wb-token>b{font-size:9px}.wb-token.wb-ball{width:32px;height:32px}.wb-area-label{font-size:7px;top:9px;left:9px}.wb-legend{gap:10px}.wb-legend>span{font-size:9px;gap:4px}.wb-legend small{font-size:8px}.wb-tools-inner{display:block;padding:23px}.wb-layout{gap:22px}.wb-aside-title h2 br{display:none}.wb-aside-title h2{font-size:29px;margin-bottom:22px}.wb-ball-actions .btn{width:100%}}
/* Drawing sits in the same court coordinate system as the players. */
.wb-drawing-tools{padding:12px 0 14px;border-top:1px solid #d7dedf}.wb-tool-buttons{display:flex;gap:6px;flex-wrap:wrap}.wb-tool-buttons button{display:flex;align-items:center;gap:7px;padding:10px 13px;border-radius:12px;background:#edf1ed;color:#294b80;font-size:11px;min-height:40px}.wb-tool-buttons button.active{background:#294b80;color:#fffdf4}.wb-tool-buttons i{font:600 19px/1 Georgia,serif;font-style:normal}.wb-drawing-options{display:flex;align-items:center;flex-wrap:wrap;gap:18px;margin-top:12px}.wb-drawing-options>.text-btn{font-size:10px}.wb-drawing-tools button:disabled{opacity:.4;cursor:not-allowed}.wb-colors{display:flex;gap:7px;margin-right:auto}.wb-colors button{background:var(--ink-choice);width:25px;height:25px;border:3px solid #fffdf7;border-radius:50%;box-shadow:0 0 0 1px #c9d0d3}.wb-colors button.active{outline:2px solid #294b80;outline-offset:2px}.wb-tool-tip{font-size:10px;line-height:1.6;color:#65758b;margin:12px 0 0}.wb-text-editor{margin-top:12px}.wb-text-editor label{display:block;font-size:10px;margin-bottom:6px;font-weight:600}.wb-text-editor>div{display:flex;gap:8px}.wb-text-editor input{min-width:0;flex:1;background:#fff;border:1px solid #b6c6d0;border-radius:9px;padding:10px;font:12px 'DM Sans',sans-serif;color:#294b80}.wb-text-editor .btn{font-size:10px;white-space:nowrap}.wb-drawing-layer{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:visible}.wb-stroke{cursor:grab;outline:none}.wb-stroke-hit{fill:none;stroke:transparent;stroke-width:20;vector-effect:non-scaling-stroke;pointer-events:stroke}.wb-stroke-ink{fill:none;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke;pointer-events:none}.wb-stroke-halo{fill:none;stroke:#5188c750;stroke-width:9;vector-effect:non-scaling-stroke;opacity:0;pointer-events:none;stroke-linecap:round}.wb-stroke.selected .wb-stroke-halo,.wb-stroke:focus-visible .wb-stroke-halo{opacity:1}.wb-label-layer{position:absolute;inset:0;pointer-events:none}.wb-text-label{position:absolute;transform:translate(-50%,-50%);background:#fffef4ed;border:1px solid #bac8ce;border-radius:7px;padding:6px 9px;box-shadow:0 2px 4px #22343c12;max-width:55%;width:max-content;white-space:pre-wrap;overflow-wrap:anywhere;cursor:grab;font:600 13px/1.4 'DM Sans',sans-serif;pointer-events:auto;touch-action:none;user-select:none;z-index:1}.wb-text-label.selected,.wb-text-label:focus-visible{outline:2px dashed #294b80;outline-offset:3px}.wb-stage:not(.wb-tool-move){touch-action:none;cursor:crosshair}.wb-stage.wb-tool-text{cursor:text}.wb-stage:not(.wb-tool-move) .wb-token,.wb-stage:not(.wb-tool-move) .wb-text-label,.wb-stage:not(.wb-tool-move) .wb-stroke-hit{pointer-events:none}.wb-stroke{touch-action:none;user-select:none}.wb-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:600px){.wb-tool-buttons{gap:4px;justify-content:space-between}.wb-tool-buttons button{padding:10px 8px;font-size:10px;gap:5px}.wb-tool-buttons i{font-size:17px}.wb-drawing-options{gap:12px}.wb-colors{gap:7px}.wb-text-editor>div{flex-wrap:wrap}.wb-text-editor input{flex-basis:100%}.wb-text-label{font-size:11px;max-width:66%}.wb-colors button{width:28px;height:28px}}
@media(max-width:600px){.wb-tool-buttons{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}.wb-tool-buttons button{flex-direction:column;justify-content:center;gap:6px;padding:9px 3px;font-size:9px;min-height:52px}}
/* Physical silhouettes use court units; their transparent hit targets stay touch-friendly. */
.wb-scaled{container-type:inline-size}.wb-scaled .wb-token,.wb-scaled .wb-token.wb-ball,.wb-scaled .wb-token.wb-attack{width:44px;height:44px;padding:0;background:transparent;border:0;border-radius:50%;box-shadow:none;color:#294b80;outline-offset:0}.wb-scaled .wb-token.wb-b{color:#ad573e}.wb-scaled .wb-token.wb-ball{color:#a27910}.wb-scaled .wb-token.wb-attack{color:#b63978}.wb-object{position:absolute;left:50%;top:50%;width:var(--object-width);height:var(--object-height);transform:translate(-50%,-50%) rotate(var(--heading));pointer-events:none;display:block}.wb-object svg{width:100%;height:100%;display:block}.wb-ball-surface{display:block;width:100%;height:100%;background:#f1c64c;border:0.5px solid #8b6717;border-radius:50%;box-sizing:border-box}.wb-attack .wb-ball-surface{background:#d94691;border-color:#81235b}.wb-scaled .wb-token>b{position:absolute;top:calc(50% + var(--object-height)/2 + 6px);left:50%;transform:translateX(-50%);background:#fffff1e8;border:1px solid #bfcbd140;border-radius:5px;padding:1px 4px;color:inherit;font-size:9px;line-height:1.2}.wb-scaled .wb-token.selected{outline:1px dashed currentColor}.wb-scaled .wb-token:focus-visible{outline:2px solid currentColor}.wb-facing{position:absolute;width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent;border-bottom:7px solid currentColor;left:50%;top:50%;transform:translate(-50%,-50%) rotate(var(--heading)) translateY(calc(-1 * var(--object-height)/2 - 8px));pointer-events:none}.wb-cone-layer{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.wb-cone-fill{fill:#c7488624;stroke:#b6397860;stroke-width:1;vector-effect:non-scaling-stroke}.wb-cone-rays{fill:none;stroke:#aa8243;stroke-width:1.6;stroke-dasharray:7 4;vector-effect:non-scaling-stroke}.wb-range-controls{padding:16px 0;border-top:1px solid #baa56d;border-bottom:1px solid #baa56d;margin-bottom:18px}.wb-range-heading{display:flex;align-items:center;gap:10px;justify-content:space-between}.wb-range-heading>b{font-size:14px}.wb-range-heading .text-btn{font-size:9px;color:#993266}.wb-range-controls>p{font-size:10px;line-height:1.6;margin:9px 0 13px;color:#6a6046}.wb-range-presets{display:flex;flex-wrap:wrap;gap:6px}.wb-range-presets button,.wb-turn-buttons button{border:1px solid #b8a878;background:#fff7dd;color:#294b80;border-radius:8px;font-size:9px;padding:8px}.wb-range-controls label,.wb-orientation label{display:block;font-size:10px;font-weight:600;margin:13px 0 7px}.wb-range-controls select{width:100%;border:1px solid #b9ad86;border-radius:7px;background:#fff9e8;color:#294b80;padding:8px;font-size:12px}.wb-range-input{display:flex;gap:10px;align-items:center}.wb-range-input input{min-width:0;width:100%;accent-color:#a83972}.wb-range-input output{font-size:10px;min-width:38px;text-align:right}.wb-range-mode{font-size:9px;color:#96396b;background:#fff5df;padding:8px;border-radius:6px;margin-top:12px}.wb-range-input input:disabled{opacity:.4}.wb-range-controls>.wb-range-explanation{font-size:9px;line-height:1.65;margin:12px 0 0}.wb-orientation{border-top:1px solid #bdab7b;margin-top:18px;padding-top:1px}.wb-orientation[hidden]{display:none}.wb-turn-buttons{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}.wb-size-note{font-size:10px;line-height:1.6;border-top:1px solid #dae0e1;padding-top:12px;margin-top:12px}.wb-size-note b,.wb-size-note span{display:block}.wb-size-note span{font-size:9px;color:#65758b;margin-top:4px}.wb-pick.wb-attack{color:#a3326f;border-color:#c27c9b;background:#f9e7ed}
@media(max-width:1100px) and (min-width:601px){.wb-range-controls{grid-column:1;grid-row:2/7;margin-right:0}.wb-roster{grid-column:2;grid-row:2/4}.wb-ball-actions,.wb-selected,.wb-orientation,.wb-bottom-actions,.wb-storage{grid-column:2}.wb-selected{margin-top:14px}}
@media(max-width:600px){.wb-zoom button{font-size:9px;padding:9px 5px}.wb-range-heading>b{font-size:16px}.wb-range-controls>p{font-size:12px}.wb-range-presets button,.wb-turn-buttons button{font-size:11px;padding:10px}.wb-range-controls label,.wb-orientation label{font-size:12px}.wb-range-controls>.wb-range-explanation{font-size:11px}.wb-range-mode{font-size:11px}.wb-scaled .wb-token>b{font-size:8px}.wb-facing{border-left-width:3px;border-right-width:3px;border-bottom-width:5px}}

.wb-heat-outline{fill:none;stroke:#42685880;stroke-width:1;stroke-dasharray:3 5;vector-effect:non-scaling-stroke}.wb-heat-legend{margin:14px 0;padding:12px;background:#fff9e8;border-radius:10px}.wb-heat-legend[hidden]{display:none}.wb-heat-legend>b{font-size:11px}.wb-heat-spectrum{height:12px;border-radius:20px;margin:10px 0 5px;background:linear-gradient(90deg,#69cbb1,#e3b765,#bd6356,#402345)}.wb-heat-labels{display:flex;justify-content:space-between;font-size:10px}.wb-heat-legend>p{font-size:10px;line-height:1.6;margin:10px 0 0;color:#6a6046}

.wb-span-tag{display:none;white-space:nowrap;font-size:9px;font-weight:500;margin-top:2px}.wb-token.selected .wb-span-tag{display:block}.wb-rotate-handle{position:absolute;width:44px;height:44px;padding:0;background:transparent;color:#294b80;border:0;transform:translate(-50%,-50%) rotate(var(--heading)) translateY(calc(-1 * var(--object-height)/2 - 34px));pointer-events:auto;touch-action:none;cursor:grab;z-index:8}.wb-rotate-handle span{display:grid;place-items:center;width:26px;height:26px;margin:auto;background:#fffdf4;border:1.5px solid currentColor;border-radius:50%;font-size:20px;box-shadow:0 2px 7px #20394d26}.wb-rotate-handle[hidden],.wb-stage:not(.wb-tool-move) .wb-rotate-handle{display:none}.wb-rotate-handle:active{cursor:grabbing}.wb-rotate-handle:focus-visible span{outline:2px solid #a83972;outline-offset:3px}.wb-rotation-help{font-size:10px;line-height:1.6;margin:12px 0;color:#6a6046}

.wb-scaled .wb-token.wb-a>b,.wb-scaled .wb-token.wb-b>b{top:calc(50% + var(--label-offset,16px))}

.wb-auto-face{width:100%;padding:10px 12px;border-radius:9px;border:1px solid #b8a878;background:#fff7dd;color:#294b80;font-size:11px;text-align:left}.wb-auto-face:before{content:'○';margin-right:8px}.wb-auto-face[aria-pressed="true"]{background:#294b80;color:#fffdf4;border-color:#294b80}.wb-auto-face[aria-pressed="true"]:before{content:'✓'}.wb-facing-mode{font-size:10px;color:#6a6046;margin:8px 0 12px}

.wb-legend i.lean{background:none;border:0;border-top:3px dotted #754ca5;border-radius:0;width:18px;height:0}.wb-lean-controls{margin-top:15px;padding:12px;background:#f2ecf7;border:1px solid #bba2d0;border-radius:10px;color:#543079}.wb-lean-controls>b{font-size:12px}.wb-lean-controls p{font-size:11px;line-height:1.6;margin:10px 0}.wb-lean-controls input{accent-color:#8256b8}.wb-lean-controls summary{font-size:11px;cursor:pointer;text-decoration:underline;text-underline-offset:3px}.wb-lean-controls a{display:block;font-size:11px;margin:8px 0;color:#543079}.wb-lean-controls strong{white-space:nowrap}

html[lang="en"] .wb-range-input output:not(#wb-heading-output){flex:0 0 112px;font-variant-numeric:tabular-nums;white-space:nowrap}html[lang="en"] .wb-lean-controls strong{display:block;margin-top:3px}

.wb-range-display{display:flex;gap:5px;margin-top:12px}.wb-range-display button{flex:1;border:1px solid #a9976d;border-radius:7px;padding:9px 6px;background:#fff9e8;color:#294b80;font-size:11px;cursor:pointer}.wb-range-display button[aria-pressed="true"]{background:#294b80;border-color:#294b80;color:#fffdf4}.wb-range-display button:focus-visible{outline:2px solid #a83972;outline-offset:3px}.wb-heat-outline.wb-outline-only{stroke:#9b316b;stroke-width:2;stroke-dasharray:none;stroke-linejoin:round}.wb-range-controls>.wb-no-drop-note{font-size:10px;line-height:1.6;margin:10px 0}
