html,body{margin:0;min-height:100%;background:#171a21;color:#edf7ff;font-family:system-ui,-apple-system,'Segoe UI',sans-serif}*{box-sizing:border-box}body{overflow-x:hidden}button{font:inherit;cursor:pointer}button:focus-visible,canvas:focus-visible{outline:3px solid #67e8f9;outline-offset:3px}#entry-screen{position:fixed;inset:0;z-index:10001;overflow:auto;background:#171a21;display:flex;align-items:center;justify-content:center}.entry-panel{width:min(720px,100%);min-height:100dvh;padding:86px 20px 28px;display:flex;flex-direction:column;gap:18px;align-items:center;text-align:center}.entry-panel h2{font-size:clamp(1.5rem,5vw,2.2rem);margin:0;color:#e9d5ff}.entry-panel p{max-width:540px;line-height:1.6;margin:0}.entry-panel button,.paint-action{min-height:44px;padding:10px 18px;border:1px solid #8bdff1;border-radius:11px;background:#174762;color:#fff;font-weight:700}.entry-panel button:hover,.paint-action:hover{background:#1c6383}.entry-extra{font-size:.95rem;color:#d5e4f1}#experience-container{max-width:1180px;margin:0 auto;padding:76px 16px 32px}#experience-container[hidden],#entry-screen[hidden],[hidden]{display:none!important}.paint-header{text-align:center;margin-bottom:20px}.paint-header h1{font-size:clamp(1.5rem,5vw,2.4rem);margin:0 0 7px;background:linear-gradient(90deg,#b79cff,#56d7f0,#62e5bf);background-clip:text;color:transparent}.paint-header p{margin:0;color:#d2e4ed}.object-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;max-width:760px;margin:24px auto}.object-card{min-height:124px;border:1px solid #54748b;border-radius:18px;background:linear-gradient(150deg,#293d62,#1b3143);color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;font-weight:700}.object-card:hover,.object-card:focus-visible{border-color:#80e9ff;background:#244d6a}.object-card span:first-child{font-size:2.7rem;line-height:1.2}.paint-workspace{display:grid;grid-template-columns:minmax(0,1fr) 200px;gap:16px;align-items:start}.paint-stage{position:relative;min-width:0;height:clamp(280px,63vh,650px);border:1px solid #4a7184;border-radius:22px;overflow:hidden;background:radial-gradient(circle at 50% 45%,#1e3550,#101c2c 70%);box-shadow:inset 0 0 55px #06111f,0 14px 40px #0a1223}.paint-stage::before{content:'';position:absolute;inset:0;pointer-events:none;background-image:radial-gradient(#8fdaf322 1px,transparent 1px);background-size:24px 24px}#paint-canvas{position:relative;width:100%;height:100%;display:block;touch-action:none}.paint-cursor{position:absolute;width:28px;height:28px;border:2px solid #fff;border-radius:50%;box-shadow:0 0 0 3px #0a213a,0 0 16px #79e3ff;pointer-events:none;transform:translate(-50%,-50%);display:none}.paint-stage:focus-within .paint-cursor{display:block}.paint-panel{border:1px solid #496b80;border-radius:18px;background:#1a2a3c;padding:14px;display:flex;flex-direction:column;gap:12px}.paint-panel h2{font-size:1rem;margin:0}.palette{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.swatch{min-width:0;min-height:48px;border:2px solid #54748b;border-radius:10px;background:#152a3b;color:#fff;font-size:.75rem;display:flex;align-items:center;gap:5px;padding:5px;overflow-wrap:anywhere}.swatch::before{content:'';display:block;flex:none;width:19px;height:19px;border-radius:50%;background:var(--swatch);border:1px solid #ffffffaa}.swatch[aria-pressed=true]{border-color:#fff;box-shadow:0 0 0 2px #29b7dc}.paint-tools{display:flex;flex-direction:column;gap:8px}.paint-action{width:100%;font-size:.9rem}.paint-status{min-height:48px;color:#c5e9f5;font-size:.9rem;line-height:1.45}.paint-help{max-width:800px;margin:15px auto;color:#b9d4e4;font-size:.9rem;line-height:1.5;text-align:center}.paint-complete{color:#b9f6dc;font-weight:700}.paint-actions-bottom{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin-top:14px}.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:700px){#experience-container{padding:75px 10px 24px}.object-grid{gap:8px}.object-card{min-height:100px}.object-card span:first-child{font-size:2rem}.paint-workspace{display:block}.paint-stage{height:clamp(280px,50vh,470px)}.paint-panel{margin-top:10px}.palette{grid-template-columns:repeat(4,minmax(0,1fr))}.swatch{flex-direction:column;text-align:center;font-size:.7rem}.paint-tools{flex-direction:row;flex-wrap:wrap}.paint-tools .paint-action{flex:1 1 125px}}@media(max-width:360px){.object-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.palette{grid-template-columns:repeat(4,minmax(0,1fr))}.swatch{font-size:.65rem;padding:3px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}

/* Interactive controls sit above the shared background. */
#experience-container{position:relative;isolation:isolate;min-height:100dvh}
.paint-header,.object-grid,.paint-workspace,.paint-help,.paint-actions-bottom{position:relative;z-index:1}
.object-grid{width:100%}
.object-card{background:linear-gradient(150deg,rgba(40,61,98,.93),rgba(23,46,66,.94));backdrop-filter:blur(5px)}
.object-card canvas{display:block;width:86px;height:86px;flex:none}
.object-card span:first-child{font-size:inherit;line-height:inherit}
@media(max-width:700px){.object-card canvas{width:68px;height:68px}.object-card{min-height:112px}}

.object-controls{position:relative;z-index:1;width:min(760px,100%);margin:14px auto 0;display:grid;gap:10px}
.object-controls label{font-weight:700;color:#f2f7ff;text-align:center}
#object-search{width:100%;min-height:46px;border:1px solid #79b8d2;border-radius:12px;background:#14253a;color:#fff;padding:10px 14px;font:inherit}
#object-search::placeholder{color:#b9cbda}
#object-search:focus-visible,.object-categories button:focus-visible{outline:3px solid #67e8f9;outline-offset:2px}
.object-categories{display:flex;gap:7px;overflow-x:auto;padding:2px 1px 7px;scrollbar-color:#6ca3c0 #14253a}
.object-categories button{flex:none;min-height:40px;padding:8px 12px;border:1px solid #6a91a8;border-radius:999px;background:#1a344e;color:#eef8ff;font-weight:650}
.object-categories button[aria-pressed=true]{border-color:#d5f7ff;background:#24688a;box-shadow:0 0 0 1px #76d7ef}
#object-count{margin:0;text-align:center;color:#c7e3f0;font-size:.9rem}
.object-more{position:relative;z-index:1;display:block;width:min(300px,calc(100% - 24px));margin:8px auto 24px}

.paint-technology-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;max-width:900px;margin:16px auto 8px}
.paint-technology-actions .paint-action{display:inline-flex;align-items:center;justify-content:center;width:auto;min-width:125px;flex:1 1 145px;margin:0;text-align:center}
.paint-technology-actions .paint-action:disabled{cursor:not-allowed;opacity:.68}
.paint-header .paint-technology-status{max-width:860px;margin:7px auto 0;color:#24475b;font-size:.88rem;line-height:1.4}



@media(max-width:600px){.paint-technology-actions .paint-action{flex:1 1 calc(50% - 8px);min-width:0;padding:8px 6px;font-size:.8rem}}

/* The decorative canvas contains only particles; the artwork remains visible behind it. */
#background-particles{display:block;width:100%;height:100%}
.audio-toggle{width:auto;min-width:145px;margin-top:12px}
.audio-toggle:disabled{cursor:not-allowed;opacity:.7}

/* Continue the official welcome artwork behind both the picker and the painting stage. */
#experience-background.experience-background{position:fixed;inset:0;width:100vw;height:100dvh;z-index:0;pointer-events:none;background-color:#080b27;background-image:linear-gradient(180deg,rgba(1,5,24,.14) 0%,rgba(3,7,26,.06) 35%,rgba(2,5,23,.27) 75%,rgba(2,5,21,.57) 100%),url('../img/experiencias-background-lumnix.webp');background-size:cover;background-position:center 43%;background-repeat:no-repeat}
#experience-container{position:relative;z-index:1;background:transparent}
.paint-header h1{background:linear-gradient(90deg,#dfc3ff,#83ebff,#8cf5d3);background-clip:text}
.paint-header p,.object-controls label,#object-count,.paint-help,.paint-header .paint-technology-status{color:#e4f4ff;text-shadow:0 2px 10px rgba(0,6,26,.85)}
.paint-stage{background:rgba(6,20,46,.28);border-color:#81abc7;box-shadow:inset 0 0 40px rgba(5,16,37,.35),0 14px 40px rgba(2,8,27,.35)}
.paint-stage::before{background-image:radial-gradient(rgba(197,235,255,.2) 1px,transparent 1px)}
#paint-canvas{background:transparent}
