html, body { margin: 0; height: 100%; overflow: hidden; background: #dedede; }
main { position: absolute; inset: 0 324px 0 0; }
canvas { width: 100%; height: 100%; display: block; touch-action: none; }
.engine-panel { width: 280px; background: #f7f7ed; }
.engine-panel small { display: block; font-size: 11px; font-weight: 400; margin-top: 3px; }
.engine-panel button { padding: 6px 9px; margin: 0 3px 5px 0; }
.engine-panel button[aria-pressed=true] { background: #f47b20; color: #182a3a; }
.engine-panel h3 { margin: 15px 0 10px; padding-top: 12px; }
.actions { margin-top: 10px; }
.engine-panel .check { display: flex; align-items: center; gap: 8px; margin: 8px 0; }
.engine-panel .check input { width: auto; margin: 0; }
#aim { height: 105px; border: 1px solid #94aea7; position: relative; background: linear-gradient(transparent 49.5%, #bbc9bf 50%, transparent 50.5%),linear-gradient(90deg, transparent 49.5%, #bbc9bf 50%, transparent 50.5%); cursor: crosshair; touch-action: none; }
#aim i { position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; transform: translate(-50%, -50%); background: #f47b20; }
.dial { height: 66px; width: 66px; border: 1px solid #94aea7; border-radius: 50%; margin: 6px auto 12px; position: relative; cursor: crosshair; touch-action: none; }
.dial span { position: absolute; left: 21px; top: -10px; background: #f7f7ed; font-size: 10px; }
.dial i { position: absolute; left: 32px; bottom: 32px; height: 26px; width: 2px; background: #f47b20; transform-origin: bottom; }
#stats { border-top: 1px solid #b5c4b7; padding-top: 10px; font: 11px/1.7 monospace; white-space: pre-line; }
.hint { font-size: 11px; color: #55716c; }
a { color: #267fa2; }
body.sheet main, body.capture main { inset: 0; }
body.sheet aside, body.capture aside { display: none; }
#sheetLabels { position: absolute; inset: 0; pointer-events: none; font: 13px system-ui; color: #51616a; }
#sheetLabels span { position: absolute; top: 58%; }
#sheetLabels span:nth-child(1) { left: 17%; }
#sheetLabels span:nth-child(2) { left: 49%; }
#sheetLabels span:nth-child(3) { left: 81%; }
#sheetLabels span:nth-child(4) { left: 49%; top: 95%; }
@media(max-width: 700px) { .engine-panel { width: 215px; padding: 14px; } main { right: 244px; } }
