/* Umvion optical laboratory: stationary glass and quiet live light. */
.rays-game{display:grid;gap:12px;width:100%;max-width:520px;margin:8px auto;color:#dbedf1;contain:layout style}.rays-instruction,.rays-status{text-align:center;margin:0!important;line-height:1.35;font-size:16px}.rays-instruction{color:#bad3df}.rays-status{font-variant-numeric:tabular-nums;min-height:24px;color:#b7e7e9}.rays-board{position:relative;isolation:isolate;width:100%;aspect-ratio:var(--rays-cols)/var(--rays-rows);border:1px solid #487184;border-radius:16px;overflow:hidden;background:radial-gradient(ellipse at 50% 35%,#113547,#061727 90%);box-shadow:inset 0 0 28px #04132180;touch-action:manipulation;user-select:none;-webkit-user-select:none}.rays-cells{position:absolute;inset:0;display:grid;grid-template-columns:repeat(var(--rays-cols),minmax(0,1fr));grid-template-rows:repeat(var(--rays-rows),minmax(0,1fr))}.rays-game .rays-cell{position:relative;display:grid;place-items:center;min-width:0!important;min-height:0!important;width:auto!important;height:auto!important;margin:0!important;padding:4px!important;border:1px solid #41657430!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:inherit!important;line-height:1!important;opacity:1!important}.rays-cell svg{width:76%;height:76%;overflow:visible;pointer-events:none}.rays-mirror{z-index:3;cursor:pointer;touch-action:manipulation}.rays-mirror svg{transform:scaleX(1);transition:transform .15s ease}.rays-mirror[data-orientation="1"] svg{transform:scaleX(-1)}.rays-mirror-back{fill:none;stroke:#2c647e;stroke-width:9;stroke-linecap:round}.rays-mirror-edge{fill:none;stroke:#d8f7ff;stroke-width:3;stroke-linecap:round}.rays-game .rays-mirror:focus-visible{outline:3px solid #ffc064!important;outline-offset:-4px!important;background:#408b9d33!important}.rays-mirror:disabled{cursor:default}.rays-receiver{z-index:2}.rays-gem-body{fill:#205368;fill-opacity:.7;stroke:#74abc3;stroke-width:1.2}.rays-gem-facet{fill:none;stroke:#9cdbe8;stroke-width:.7;opacity:.65}.rays-receiver.lit .rays-gem-body{fill:#55d5d0;fill-opacity:.82;stroke:#d8fffa;filter:drop-shadow(0 0 3px #56f1dc)}.rays-receiver.lit .rays-gem-facet{stroke:#effffd;opacity:1}.rays-source{z-index:2}.rays-source svg{transform:rotate(var(--rays-direction));width:68%;height:68%;padding:6%;border-radius:11px;background:#b67e2a55;border:1px solid #ecc68199;fill:none;stroke:#ffd589;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.rays-obstacle{z-index:2}.rays-obstacle svg{width:72%;height:72%;fill:#283d4b;stroke:#698594;stroke-width:1.2}.rays-obstacle svg path+path{fill:none;stroke:#a4bbc4;stroke-width:2}.rays-trajectories{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:1;overflow:hidden}.rays-trajectories path{fill:none;stroke-linejoin:round;stroke-linecap:round;vector-effect:non-scaling-stroke}.rays-beam-aura{stroke:#47d6e9;stroke-opacity:.23;stroke-width:10}.rays-beam-core{stroke:#b4f7ff;stroke-width:2.4}.rays-actions{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:10px}.rays-actions button{min-width:0;margin:0;min-height:50px;padding:10px 8px;font-size:18px;line-height:1.2;touch-action:manipulation}.rays-actions button:disabled{opacity:.5}.rays-game.rays-won .rays-board{border-color:#8cf2d8;box-shadow:0 0 20px #69e7c72b,inset 0 0 25px #72f1d515}.rays-game.rays-won .rays-status{color:#a9f8d9}.rays-actions [hidden]{display:none!important}.play-rays_and_crystals #arcade-controls:empty{display:none!important}.arcade-rays_and_crystals{overflow:visible!important}.arcade-rays_and_crystals .rays-game{margin:0 auto}.arcade-rays_and_crystals .rays-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:360px){.rays-game{gap:9px}.rays-instruction,.rays-status{font-size:15px}.rays-actions button{font-size:16px;min-height:48px}.rays-board{border-radius:12px}.rays-game .rays-cell{padding:2px!important}}
@media(max-height:700px) and (max-width:430px){.rays-game{gap:6px;margin:0 auto}.rays-instruction{font-size:14px}.rays-actions button{min-height:44px;font-size:15px}.rays-board{max-height:calc(100svh - 285px);width:auto;max-width:100%;justify-self:center;aspect-ratio:var(--rays-cols)/var(--rays-rows);height:calc(100svh - 285px);min-height:calc(45px * var(--rays-rows) + 2px);min-width:calc(45px * var(--rays-cols) + 2px)}}
@media(prefers-reduced-motion:reduce){.rays-game *{animation:none!important;transition:none!important}}
