* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; background: #0d0b1f; color: #f4f1ff; font-family: system-ui, -apple-system, sans-serif; }
canvas { position: fixed; inset: 0; width: 100%; height: 100%; touch-action: manipulation; cursor: pointer; }
#hint { position: fixed; top: 54px; left: 50%; transform: translateX(-50%); margin: 0; padding: 8px 14px; border-radius: 99px; background: #1a1636d9; border: 1px solid #ffffff22; font-size: 13px; font-weight: 650; pointer-events: none; transition: opacity .6s; white-space: nowrap; max-width: 92vw; overflow: hidden; text-overflow: ellipsis; }
#hint.gone { opacity: 0; }
.bar { position: fixed; inset: auto 10px 52px; display: flex; gap: 8px; align-items: center; justify-content: space-between; pointer-events: none; }
.bar > * { pointer-events: auto; }
button, label { min-height: 44px; border-radius: 12px; border: 1px solid #ffffff2e; background: #1a1636e6; color: inherit; font: 650 13px/1 system-ui, sans-serif; padding: 0 14px; display: inline-flex; align-items: center; gap: 10px; }
button { cursor: pointer; }
button[aria-pressed=true] { background: #6d4fe0; border-color: #a58cff; }
input[type=range] { width: 92px; accent-color: #b7a2ff; }
:focus-visible { outline: 2px solid #c8b7ff; outline-offset: 3px; }
