:root { color-scheme: dark; font-family: 'Segoe UI', system-ui, sans-serif; color: #edf8ff; background: #0b1420; --cyan: #78f5e1; }
* { box-sizing: border-box; }[hidden] { display: none !important; }
body { margin: 0; background: radial-gradient(ellipse at 85% 0, #193947, transparent 55%), #0b1420; }
a { color: #a0efdf; text-underline-offset: 4px; }button,select { font: inherit; }button,select { cursor: pointer; }button:disabled { cursor: default; }
:is(button,a,select):focus-visible { outline: 3px solid #ffe4a2; outline-offset: 3px; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 23px max(24px, calc((100% - 1640px)/2)); border-bottom: 1px solid #2a3b4e; }.brand { text-decoration: none; color: #e6eef5; }.brand strong { color: var(--cyan); }
main { width: min(1640px, calc(100% - 64px)); margin: auto; padding: 38px 0 50px; }.intro { margin-bottom: 30px; }.eyebrow { color: #9bdacb; text-transform: uppercase; letter-spacing: .13em; font-size: .9rem; font-weight: 750; }h1 { margin: 14px 0; font-size: clamp(2.8rem, 5vw, 5rem); line-height: 1; letter-spacing: -.06em; }h1 em { color: var(--cyan); font-style: normal; }.intro > p:last-child { font-size: 1.2rem; line-height: 1.6; color: #b7cbd7; max-width: 65ch; }
.lab { background: linear-gradient(135deg, #152536, #101d2d); border: 1px solid #385365; border-radius: 24px; padding: clamp(18px, 2.5vw, 40px); box-shadow: 0 24px 60px #040b1555; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; }.toolbar label { display: flex; align-items: center; gap: 12px; font-weight: 700; }select { padding: 13px; border: 1px solid #526c80; background: #1b3144; color: #e8f8ff; border-radius: 10px; max-width: 350px; min-width: 0; }.progress-label { display: flex; justify-content: space-between; gap: 16px; margin: 20px 0 10px; font-size: 1rem; color: #b6d4dc; }progress { display: block; height: 7px; width: 100%; appearance: none; border: 0; border-radius: 10px; overflow: hidden; background: #2b4155; accent-color: var(--cyan); }progress::-webkit-progress-bar { background: #2b4155; }progress::-webkit-progress-value { background: var(--cyan); }progress::-moz-progress-bar { background: var(--cyan); }
.workspace { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr); gap: clamp(24px, 3vw, 48px); margin-top: 30px; align-items: center; }.board-shell { min-width: 0; }.board { position: relative; width: min(100%, 760px); margin: auto; aspect-ratio: 1; background: #08131f; border: 1px solid #385367; border-radius: 14px; overflow: hidden; box-shadow: inset 0 0 60px #0005; }.tiles { display: grid; grid-template-columns: repeat(var(--size), 1fr); width: 100%; height: 100%; }.cell { position: relative; display: grid; place-items: center; min-width: 0; min-height: 0; padding: 0; border: 0; border-right: 1px solid #223647; border-bottom: 1px solid #223647; background: transparent; font-size: clamp(1.4rem, 3vw, 2.8rem); }.cell.mirror { z-index: 2; background: #28435766; }.cell.mirror:hover { background: #456d8988; }.mirror-surface { display: block; width: 76%; height: 9%; border-radius: 8px; background: linear-gradient(#fff, #8eb4d0); box-shadow: 0 0 15px #c3f2ff66; transform: rotate(-45deg); pointer-events: none; }.mirror[data-orientation="\\"] .mirror-surface { transform: rotate(45deg); }.mirror:disabled { opacity: 1; }.mirror:focus-visible { outline-offset: -5px; }
.source { color: #ffa8bd; background: radial-gradient(circle, #e4507e66, transparent 70%); font-weight: 900; }.target { color: #ffe08c; background: radial-gradient(circle, #d7a73244, transparent 70%); }.wall::before { content: ''; width: 75%; height: 75%; border: 1px solid #576272; border-radius: 5px; background: repeating-linear-gradient(135deg, #3e4c5a 0 7px, #293746 7px 14px); }
.beam { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 3; }.beam polyline { fill: none; stroke-linecap: round; stroke-linejoin: round; }#beam-glow { stroke: #ff568c; stroke-width: 12; opacity: .35; filter: blur(4px); }#beam-line { stroke: #ff96b5; stroke-width: 4; }
.board-caption { font-size: 1.05rem; line-height: 1.5; color: #b7cbd7; margin-bottom: 0; }.board-caption strong { color: white; }.mission-panel { min-width: 0; }.mission-panel h2 { font-size: clamp(1.8rem, 2.5vw, 2.8rem); margin: 12px 0 20px; line-height: 1.1; letter-spacing: -.035em; }.mission-panel > p:not(.eyebrow) { font-size: 1.2rem; line-height: 1.6; }.mission-panel #objective { color: #b7cbd7; }.legend { display: flex; flex-wrap: wrap; gap: 14px 20px; margin: 25px 0; color: #d0e1e9; }.legend span { display: inline-flex; align-items: center; gap: 8px; }.legend i { display: inline-block; width: 15px; height: 15px; }.source-dot { background: #ff96b5; border-radius: 50%; }.target-dot { border: 3px solid #ffe08c; border-radius: 50%; }.mirror-dot { background: #cceaff; transform: rotate(-45deg); height: 4px !important; }.wall-dot { background: #536477; }.rule-card { padding: 18px; border: 1px solid #345267; border-radius: 14px; background: #1b324244; color: #b9d7df; }.moves { display: flex; justify-content: space-between; gap: 12px; color: #b7cbd7; }.moves strong { color: var(--cyan); }.feedback { color: #b7cbd7; min-height: 3em; }.feedback[data-tone=success] { color: #8fffbd; }.feedback[data-tone=error] { color: #ffc0c7; }
.actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }.primary,.secondary,.hint-button { min-height: 56px; padding: 14px 18px; border: 1px solid #536d83; border-radius: 11px; font-weight: 750; font-size: 1.1rem; }.primary { background: #86f5df; border-color: #86f5df; color: #10352e; grid-column: 1 / -1; }.primary:hover { background: #b6ffef; }.secondary { background: #22394d; color: #e5f2fb; }.secondary:hover { background: #314d62; }.hint-button { background: #2c2946; color: #dfceff; border-color: #5c5378; }.hint-button:hover { background: #3f365a; }.hint-text { padding: 16px; border-left: 3px solid #bba0e6; background: #2b264355; color: #dfceff; }.finished { text-align: center; max-width: 800px; margin: 50px auto; }.finished > span { color: #ffe08c; font-size: 5rem; }.finished h2 { font-size: 3rem; }.finished p { font-size: 1.3rem; line-height: 1.6; }
.games-carousel { --ink: #f8f5ff; --mint: #7fffe0; --violet: #ba9cff; --muted: #c5bdd8; --line: #385365; margin: 35px auto 0; }.carousel-catalog { color: #a0efdf; }
.lab:is(:fullscreen,.is-expanded) { width: 100%; height: 100%; overflow: auto; border: 0; border-radius: 0; padding: clamp(18px,3vw,40px); background: #101e2e; }.lab:is(:fullscreen,.is-expanded) > * { max-width: 1580px; margin-inline: auto; }.lab:is(:fullscreen,.is-expanded) .board { width: min(100%, 780px, calc(100dvh - 230px)); }.lab.is-expanded { position: fixed; inset: 0; z-index: 20; height: 100dvh; }body:has(.lab.is-expanded) { overflow: hidden; }
.lasers-page .instagram-prompt::backdrop { background: linear-gradient(135deg, #0b1420bb, #112838df), url('./preview.svg') center / cover; backdrop-filter: blur(4px); }.lasers-page .instagram-prompt { --mint: #86f5df; --violet: #b3dfff; background: radial-gradient(ellipse at top right, #254d5b, transparent 65%), #132535; border-color: #477285; }.lasers-page .instagram-prompt h2 span { color: #a6f5e3; }.lasers-page .reel-card { background: #203846; border-color: #4b6877; }.lasers-page .reel-card:hover { background: #2c4858; }.lasers-page .instagram-prompt__actions .console-button { background: #243e51; border-color: #668ca2; }
@media(max-width: 900px) { main { width: calc(100% - 28px); padding-top: 24px; }.workspace { grid-template-columns: 1fr; }.board { max-width: 640px; }.lab:is(:fullscreen,.is-expanded) .board { width: min(100%,640px); }.toolbar label { display: block; min-width: 0; flex: 1; }.toolbar select { width: 100%; display: block; margin-top: 7px; }.site-header { padding: 20px 16px; font-size: .9rem; }.mission-panel > p:not(.eyebrow) { font-size: 1.1rem; } }
@media(max-width: 450px) { .toolbar { gap: 8px; }.toolbar button { font-size: .9rem; padding: 10px; }.actions { grid-template-columns: 1fr; }.primary { grid-column: auto; }.progress-label { font-size: .9rem; }.board-caption { font-size: .95rem; }.cell { font-size: 1.5rem; } }
