.atc-layer{position:absolute;z-index:3;pointer-events:none;overflow:hidden;contain:layout paint}
.atc-renderer,.atc-input{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.atc-renderer canvas{display:block!important;max-width:none;pointer-events:none!important}
.atc-input path{pointer-events:fill;touch-action:none;cursor:crosshair}
.atc-controls{position:absolute;top:12px;right:12px;display:flex;align-items:center;gap:5px;pointer-events:auto;padding:4px;background:rgba(16,17,16,.88);border:1px solid rgba(243,243,233,.25);border-radius:3px;color:#f3f3e9}
.atc-controls button{display:grid;place-items:center;width:36px;height:36px;padding:8px;background:transparent;border:0;border-radius:2px;color:inherit;touch-action:manipulation}
.atc-controls button:hover{background:rgba(243,243,233,.12)}
.atc-controls button:focus-visible{outline:2px solid #f3f3e9;outline-offset:1px}
.atc-controls svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.atc-score{display:flex;align-items:center;gap:7px;min-width:43px;padding:0 8px;font:13px/1 var(--mono);font-variant-numeric:tabular-nums}
.atc-score svg{width:14px;height:14px}
.atc-launch,.atc-status{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;clip-path:inset(50%);overflow:hidden;white-space:nowrap}
.atc-layer:has(.atc-launch:focus-visible){outline:2px solid #f3f3e9;outline-offset:-3px}
@media(pointer:coarse){.atc-controls{top:5px;right:5px;gap:0;padding:1px}.atc-controls button{width:44px;height:44px}.atc-score{padding:0 6px;min-width:35px}}

.atc-gameover{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:64px;height:64px;display:grid;place-items:center;border:1px solid rgba(243,243,233,.7);border-radius:50%;background:rgba(16,17,16,.92);color:#f3f3e9;pointer-events:auto;cursor:pointer;touch-action:manipulation}
.atc-gameover svg{width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.atc-gameover:hover{background:#292c2c}
.atc-gameover:focus-visible{outline:2px solid #f3f3e9;outline-offset:4px}
.atc-gameover[hidden],.atc-controls button[hidden]{display:none}
