:root { color-scheme: light; font-family: Arial, sans-serif; color: #666; background: white; }
* { box-sizing: border-box; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
html, body { width: 100%; height: 100%; overflow: hidden; overscroll-behavior: none; }
body { position: fixed; inset: 0; margin: 0; }
main { width: 100%; height: 100svh; display: grid; grid-template-rows: minmax(0, 1fr) auto; }
#scene { display: block; width: 100%; height: 100%; overflow: hidden; touch-action: none; user-select: none; -webkit-user-select: none; cursor: default; }
#scene.rebuilding { pointer-events: none; }
#collision-shapes { pointer-events: none; fill: #cf7e3020; stroke: #b67842; stroke-width: 0.4; }
[hidden] { display: none !important; }
#tether { pointer-events: none; stroke: #777; stroke-width: 0.65; fill: none; }
#tether path { stroke-dasharray: 2 3; }
#tether circle { fill: white; }
nav { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 20px; margin: 0 12px; min-height: 34px; padding: 7px 0; font-size: 11px; line-height: 20px; }
nav a { color: inherit; text-decoration: none; cursor: default; }
button { padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: default; }
button:hover, nav a:hover { color: black; text-decoration: underline; text-underline-offset: 3px; }
button:focus-visible, a:focus-visible { outline: 1px solid #333; outline-offset: 4px; }
nav label { display: inline-flex; align-items: center; gap: 5px; cursor: default; }
nav input { margin: 0; width: 11px; height: 11px; accent-color: #777; cursor: default; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
#control-status { flex-basis: 100%; text-align: center; font-size: 10px; }
@media (max-width: 600px) {
  nav { font-size: 10px; gap: 6px 12px; }
}
@media (max-width: 480px) {
  nav > span { display: none; }
}
