:root{font-family:ui-sans-serif,system-ui,sans-serif;color:#e7eefb;background:#0b1120;font-synthesis:none}*{box-sizing:border-box}body{margin:0;padding:12px}main{max-width:850px;margin:auto}.game{background:#172136;border:1px solid #35435a;border-radius:16px;padding:16px;display:grid;gap:12px;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.top,.puzzle,.picker,.help-top{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0}h1{font-size:26px;letter-spacing:-.06em;margin:0}h1 span{color:#75f2cf}#help{width:44px;font-size:22px;padding:4px}.word{display:flex;gap:6px}.word span{display:grid;place-items:center;width:40px;height:44px;border-radius:7px;background:#28364c;color:#aebbd0;font-size:25px;font-weight:800}.word .required{outline:2px solid #75f2cf;color:#fff}.word .collected{background:#75f2cf;color:#0b2826}select,button{font:inherit;color:#e7eefb;background:#27364d;border:1px solid #485a73;border-radius:9px;padding:8px 12px;min-height:44px;touch-action:manipulation}select{max-width:155px;min-width:0}button{cursor:pointer;font-weight:700;white-space:nowrap}button:hover:not(:disabled){background:#354761}:focus-visible{outline:3px solid #75f2cf;outline-offset:3px}button:disabled{opacity:.4;cursor:not-allowed}.mode{color:#b7c5d9;font-size:13px;margin:0}.board{border:3px dashed #6e8db7;border-radius:5px;background:#10192b}.board.reflecting{border-style:solid;border-color:#ffca78}canvas{display:block;width:100%;height:auto;touch-action:none;cursor:crosshair}.aim-pads{display:flex;justify-content:center;gap:40px}.aim-pads>div{display:grid;justify-items:center;gap:8px;min-width:112px}.aim-pads strong{font-size:14px}#angle-value{font-variant-numeric:tabular-nums;color:#75f2cf}.dial,.pad{position:relative;width:112px;height:112px;touch-action:none;cursor:crosshair;background:#263248;border:2px solid #75f2cf}.dial{border-radius:50%}.dial:before{content:"";position:absolute;left:50%;top:50%;width:10px;height:10px;border-radius:50%;background:#75f2cf;transform:translate(-50%,-50%)}#dial-hand{position:absolute;width:44%;height:4px;top:calc(50% - 2px);left:50%;background:#75f2cf;transform-origin:left center}.pad{border-radius:10px;display:grid;place-items:center;font-size:48px;font-weight:700}#pad-dot{position:absolute;width:14px;height:14px;border-radius:50%;background:#75f2cf;border:2px solid #0b2826;transform:translate(-50%,-50%)}.actions{display:flex;gap:8px}.actions button{flex:1}.primary{background:#75f2cf;border-color:#75f2cf;color:#0d2925}.primary:hover:not(:disabled){background:#a1ffe3}#status{color:#d9e5f4;min-height:2.8em;line-height:1.4;margin:0;font-size:14px}dialog{background:#172136;color:#e7eefb;border:1px solid #6e8db7;border-radius:16px;width:min(580px,calc(100% - 24px));max-height:calc(100dvh - 24px);padding:20px;line-height:1.5;overflow:auto}dialog::backdrop{background:#030914cc}h2{font-size:22px;margin:0}#difficulty,#pad-help{color:#b7c5d9}@media(max-width:550px){body{padding:8px}.game{padding:12px;gap:10px}.puzzle{flex-wrap:wrap}.picker{width:100%}select{flex:1;max-width:none}.word{gap:5px}.word span{width:36px;height:40px;font-size:23px}.aim-pads{gap:26px}}@media(min-width:660px)and (max-height:500px){body{padding:8px}main{max-width:1000px}.game{grid-template-columns:minmax(0,1fr) 260px;gap:8px 18px;padding:12px}.top{grid-column:1 / -1}.puzzle{grid-column:1;grid-row:2}.mode{grid-column:1;grid-row:3}.board{grid-column:1;grid-row:4 / 6;align-self:start}.aim-pads{grid-column:2;grid-row:2 / 5;gap:20px}.actions{grid-column:2;grid-row:5}#status{grid-column:1 / -1}.picker{gap:6px}select{max-width:155px;min-width:155px}.word span{width:30px;font-size:21px}}
