@font-face{font-family:Normalidad;src:url('../assets/normalidad.woff2') format('woff2');font-weight:100 900;font-display:swap}@font-face{font-family:Montserrat;src:url('../assets/montserrat.ttf');font-weight:100 900;font-display:swap}
:root{font-family:Montserrat,Arial,sans-serif;color:#fff;background:#000;color-scheme:dark;--accent:#00ff72}*{box-sizing:border-box}body{margin:0}button,input,a{-webkit-tap-highlight-color:transparent}button,a,input{touch-action:manipulation}button{font:inherit;cursor:pointer;border:0}button:disabled{opacity:.4;cursor:wait}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,#stage:focus-visible{outline:2px solid var(--accent);outline-offset:5px}.app{max-width:1520px;margin:auto;padding:30px 48px 24px}header{display:flex;align-items:center;justify-content:space-between;height:28px}.brand img{display:block;width:106px;filter:brightness(0) invert(1)}.back{font-size:12px;color:#aaa;transition:color .2s}.back:hover{color:#fff}.intro{margin:40px 0 0}h1{font-family:Normalidad,Montserrat,sans-serif;font-size:clamp(22px,2.5vw,36px);line-height:1.3;margin:0}p{line-height:1.6}.intro p{font-size:13px;color:#8a8a8a;margin:10px 0 0}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 200px;gap:52px;align-items:center;max-width:1190px;margin:0 auto}#stage{position:relative;width:100%;height:min(72vh,800px);min-height:420px;overflow:hidden;touch-action:none;cursor:none}#stage canvas{display:block;width:100%;height:100%}#loading{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:12px;color:#aaa;font-size:12px;z-index:2}#loading[hidden]{display:none}.loading-dot{width:5px;height:5px;border-radius:50%;background:var(--accent);animation:pulse 1s infinite alternate}#cursor{display:none;position:absolute;left:0;top:0;width:28px;height:28px;border:1px solid #ffffff66;border-radius:50%;pointer-events:none;transform:translate(-50%,-50%);box-shadow:0 0 18px #ffffff18}#cursor.pressed{width:52px;height:52px;border-color:#ffffffaa}aside{padding:28px 0}h2{font-size:16px;margin:0 0 27px;font-weight:600}.colors{display:grid;gap:14px}.colors label{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#aaa}.colors input{appearance:none;-webkit-appearance:none;width:42px;height:28px;border:0;border-radius:8px;padding:3px;background:#222;cursor:pointer}.colors input::-webkit-color-swatch-wrapper{padding:0}.colors input::-webkit-color-swatch{border:0;border-radius:5px}.colors input::-moz-color-swatch{border:0;border-radius:5px}.brightness{display:flex;justify-content:space-between;margin:26px 0 16px;font-size:11px;color:#aaa}.brightness output{color:#ddd}input[type=range]{width:100%;height:3px;accent-color:#fff;cursor:pointer;margin:0 0 15px}.subtle{background:none;color:#999;font-size:11px;padding:10px 0}.subtle:hover{color:#fff}.actions{margin-top:35px;display:flex;flex-direction:column;align-items:stretch;gap:7px}#restart{padding:15px 8px;background:#eee;color:#111;font-size:11px;font-weight:600;display:flex;gap:9px;align-items:center;justify-content:center;border-radius:10px;transition:background .2s}#restart:hover{background:#fff}#restart svg{width:16px;height:16px;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.status{display:flex;align-items:center;justify-content:center;gap:7px;color:#777;font-size:10px;margin:16px 0 0}.status i{width:4px;height:4px;background:var(--accent);border-radius:50%}footer{font-size:11px;color:#727272;max-width:1190px;margin:0 auto;padding-left:10px}.touch-tip{display:none}@keyframes pulse{to{opacity:.2}}@media(min-width:1600px){.workspace{max-width:1280px}#stage{height:min(76vh,950px)}}@media(max-width:800px){.app{padding:24px 20px}.intro{margin-top:30px}.workspace{grid-template-columns:1fr;gap:0}#stage{height:auto;aspect-ratio:1;min-height:0;margin:8px 0}aside{padding:10px 6px 20px}h2{margin-bottom:20px}.colors{grid-template-columns:repeat(5,1fr);gap:14px}.colors label{flex-direction:column;gap:10px;font-size:10px}.colors input{width:100%;max-width:55px}.brightness{margin-top:24px}.actions{margin-top:20px;flex-direction:row;align-items:center;gap:25px}#restart{flex:1}.status{justify-content:flex-start}footer{padding:0;line-height:1.7}footer>span:first-child{display:none}.touch-tip{display:block}}@media(prefers-reduced-motion:reduce){.loading-dot{animation:none}}

.logo-brightness{margin-top:12px}
