:root { --noche: #0a0705; --papel: #e9dcc0; }
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; background: var(--noche); overflow: hidden; }
body { touch-action: manipulation; user-select: none; -webkit-user-select: none; cursor: pointer; }
body.activo { cursor: default; }
canvas { position: fixed; inset: 0; width: 100%; height: 100%; display: block; }
#gl { z-index: 0; opacity: 0; }
#c2 { z-index: 1; }
#snd { all: unset; position: fixed; z-index: 4; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); width: 40px; height: 40px; display: grid; place-items: center; color: rgba(233, 220, 192, 0.5); cursor: pointer; transition: color 0.3s; }
#snd[hidden] { display: none; }
#snd:hover, #snd:focus-visible { color: rgba(233, 220, 192, 0.95); }
#snd:focus-visible { outline: 1px solid rgba(233, 220, 192, 0.6); outline-offset: 2px; border-radius: 2px; }
#snd .off { display: none; }
#snd[aria-pressed="false"] .on { display: none; }
#snd[aria-pressed="false"] .off { display: inline; }
#sin-webgl { position: fixed; z-index: 5; left: 50%; top: 50%; transform: translate(-50%, -50%); color: rgba(233, 220, 192, 0.6); }
#sin-webgl[hidden] { display: none; }
