:root{color:#c0cbe5;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,sans-serif}*{box-sizing:border-box}body{margin:0}#root{width:100%}.layout{background:radial-gradient(circle at 25% 0,#0f0c1f,#05040a);justify-content:center;align-items:center;min-height:100vh;padding:20px;display:flex;position:relative}.layout:before{content:"";pointer-events:none;background:repeating-linear-gradient(0deg,#0000,#0000 2px,#581c8708 2px 4px);width:100%;height:100%;position:fixed;top:0;left:0}.card,.dashboard{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#120c20d9;border:1px solid #8b5cf633;border-radius:24px;width:100%;max-width:900px;padding:28px;transition:all .3s cubic-bezier(.4,0,.2,1);box-shadow:0 25px 45px -12px #00000080,inset 0 1px #ffffff0d}.card{flex-direction:column;gap:16px;max-width:460px;display:flex}.wide{max-width:760px}input,textarea,button{font:inherit}input:not([type=checkbox]):not([type=radio]),textarea{color:#e9d5ff;background:#080610b3;border:1px solid #8b5cf64d;border-radius:16px;padding:12px 16px;transition:all .2s}input:not([type=checkbox]):not([type=radio]):focus,textarea:focus{background:#080610e6;border-color:#a855f7;outline:none;box-shadow:0 0 0 3px #a855f71a}input::placeholder,textarea::placeholder{color:#a855f766}button{color:#fff;cursor:pointer;letter-spacing:.3px;background:linear-gradient(135deg,#7c3aed 0%,#a855f7 100%);border:none;border-radius:16px;padding:12px 20px;font-weight:600;transition:all .2s;position:relative;overflow:hidden}button:before{content:"";background:linear-gradient(90deg,#0000,#fff3,#0000);width:100%;height:100%;transition:left .5s;position:absolute;top:0;left:-100%}button:hover:before{left:100%}button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 10px 25px -5px #7c3aed66}button:active:not(:disabled){transform:translateY(0)}button:disabled{opacity:.5;cursor:not-allowed;transform:none}.tabs,.actions,.langButtons{gap:12px;display:flex}.deviceStepHint{color:#c4b5fd;margin-bottom:16px}.deviceCheckboxes{flex-direction:column;gap:12px;margin-bottom:16px;display:flex}.deviceCheckbox{cursor:pointer;background:#1e183099;border:1px solid #8b5cf64d;border-radius:10px;align-items:center;gap:12px;padding:12px 16px;display:flex}.deviceCheckbox.selected{background:#7c3aed33;border-color:#a855f7cc}.deviceCheckbox input{accent-color:#a855f7;width:18px;min-width:18px;height:18px;box-shadow:none;cursor:pointer;background:0 0;border:none;border-radius:4px;margin:0;padding:0;transition:none}.deviceCheckbox input:focus{box-shadow:none;background:0 0;border:none;outline:none}.deviceIcon.small{width:24px;height:24px}.setButton{justify-content:flex-start;align-items:center;gap:10px;display:flex}.setButton.wrongDevice{opacity:.55}.setButton.completed{opacity:.6;cursor:default;background:#22c55e14;border-color:#22c55e66}.setButton.completed span{color:#86efac}.tabs button{color:#c4b5fd;background:#1e1830cc;border:1px solid #8b5cf633}button.linkButton{all:unset;color:#c4b5fd;font:inherit;cursor:pointer;align-self:center;font-size:.85rem;text-decoration:underline;display:block}button.linkButton:before{content:none}button.linkButton:hover{color:#e9d5ff}.tabs .active{color:#fff;background:linear-gradient(135deg,#7c3aed 0%,#a855f7 100%);border-color:#0000}.messageBox{color:#f3e8ff;padding-top:16px;padding-bottom:16px}.instructions{padding-top:16px;padding-bottom:16px}.footer{color:#f3e8ff;border-bottom:2px solid #8b5cf64d;justify-content:space-between;align-items:center;margin-bottom:8px;padding-bottom:16px}.header{color:#f3e8ff;border-bottom:2px solid #8b5cf64d;justify-content:space-between;align-items:center;margin-bottom:8px;padding-bottom:16px;display:flex}.header h1,.header h2,.header h3{background:linear-gradient(135deg,#e9d5ff 0%,#c4b5fd 100%);color:#0000;-webkit-background-clip:text;background-clip:text}.moduleGrid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px;margin-top:20px;display:grid}.moduleCard{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#120c2099;border:1px solid #8b5cf633;border-radius:20px;flex-direction:column;gap:12px;padding:20px;transition:all .3s;display:flex}.moduleCard:hover:not(.disabled){border-color:#8b5cf680;transform:translateY(-4px);box-shadow:0 20px 30px -15px #7c3aed33}.moduleCard h3{color:#e9d5ff;font-weight:600}.moduleCard p{color:#a78bfa;font-size:.9rem}.moduleCard.disabled{opacity:.5;filter:grayscale(.2)}.lockRow{color:#8b5cf6;align-items:center;gap:8px;display:flex}.icon,.deviceIcon{filter:drop-shadow(0 0 2px #8b5cf680);width:22px;height:22px}.icon{filter:brightness(0)invert()sepia()saturate(5)hue-rotate(220deg)}.deviceBox{color:#d8b4fe;background:#08061066;border:1px dashed #8b5cf666;border-radius:16px;align-items:center;gap:12px;margin-top:16px;padding:14px;display:flex}.message{border-radius:12px;margin:0;padding:12px;font-size:.9rem}.message-error{color:#f43f5e;background:#f43f5e1a;border-left:3px solid #f43f5e}.message-success{color:#34d399;background:#34d3991a;border-left:3px solid #34d399}.message-info{color:#60a5fa;background:#60a5fa1a;border-left:3px solid #60a5fa}.prompt{color:#c4b5fd;background:#8b5cf61a;border:1px solid #8b5cf633;border-radius:16px;padding:14px;font-style:italic}.warningText{color:#fbbf24;margin-top:6px;display:block}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:#120c2099;border-radius:10px}::-webkit-scrollbar-thumb{background:linear-gradient(135deg,#7c3aed,#a855f7);border-radius:10px}::-webkit-scrollbar-thumb:hover{background:linear-gradient(135deg,#8b5cf6,#c084fc)}.device-info-wrapper{align-items:center;gap:8px;width:100%;display:flex}.info-icon-btn{justify-content:center;align-items:center;width:28px;height:28px;margin-left:4px;display:inline-flex;background:0 0!important;border-radius:50%!important;padding:4px!important}.info-icon{color:#a855f7;width:18px;height:18px}.info-icon-btn:hover{box-shadow:none!important;background:#a855f71a!important;transform:none!important}.modal-overlay{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:1000;background:#000c;justify-content:center;align-items:center;animation:.2s fadeIn;display:flex;position:fixed;inset:0}.modal-content{background:linear-gradient(135deg,#1a1230 0%,#0f0b1c 100%);border:1px solid #8b5cf64d;border-radius:24px;width:90%;max-width:450px;max-height:80vh;animation:.3s slideUp;overflow-y:auto;box-shadow:0 25px 45px -12px #00000080}.modal-header{border-bottom:1px solid #8b5cf633;justify-content:space-between;align-items:center;padding:20px 24px;display:flex}.modal-header h3{color:#e9d5ff;margin:0;font-size:1.25rem}.modal-close{justify-content:center;align-items:center;width:32px;height:32px;font-size:28px;display:flex;color:#a78bfa!important;background:0 0!important;padding:0!important}.modal-close:hover{background:#a855f71a!important;transform:none!important}.modal-body{color:#c4b5fd;padding:24px;line-height:1.5}.modal-body strong{color:#e9d5ff}.modal-footer{border-top:1px solid #8b5cf633;justify-content:flex-end;padding:16px 24px;display:flex}.modal-footer button{background:linear-gradient(135deg,#7c3aed 0%,#a855f7 100%);padding:8px 20px;font-size:.9rem}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.phaseLabel{color:#c4b5fd;margin:0;font-weight:600}.gestureBlock{flex-direction:column;gap:12px;display:flex}.gestureProgress{color:#a78bfa;margin:0;font-size:.95rem}.gesturePad{touch-action:none;-webkit-user-select:none;user-select:none;cursor:crosshair;background:#080610a6;border:1px dashed #a855f780;border-radius:20px;justify-content:center;align-items:center;height:260px;display:flex;position:relative;overflow:hidden}.gesturePadHint{color:#c4b5fd73;pointer-events:none;font-size:1.1rem}.trailDot{pointer-events:none;background:#a855f7;border-radius:50%;width:10px;height:10px;margin-top:-5px;margin-left:-5px;position:absolute}.pinchPad{touch-action:none}.pinchTarget{color:#fff;pointer-events:none;background:linear-gradient(135deg,#7c3aedd9,#a855f7d9);border-radius:18px;justify-content:center;align-items:center;width:110px;height:110px;font-weight:600;transition:transform 50ms linear;display:flex;box-shadow:0 10px 25px -8px #7c3aed8c}.mousePad{cursor:crosshair}.mouseTarget{pointer-events:none;background:radial-gradient(circle at 35% 35%,#c4b5fd,#7c3aed);border-radius:50%;width:36px;height:36px;margin-top:-18px;margin-left:-18px;position:absolute;box-shadow:0 0 0 4px #a855f740}.mouseDropZone{color:#c4b5fdb3;pointer-events:none;border:2px dashed #a855f7b3;border-radius:16px;justify-content:center;align-items:center;width:72px;height:72px;margin-top:-36px;margin-left:-36px;font-size:.85rem;display:flex;position:absolute}.mouseToken{color:#fff;cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;z-index:2;background:linear-gradient(135deg,#7c3aed,#a855f7);border-radius:14px;justify-content:center;align-items:center;width:56px;height:56px;margin-top:-28px;margin-left:-28px;font-size:.8rem;font-weight:600;display:flex;position:absolute}.mouseToken.dragging{cursor:grabbing;transform:scale(1.05)}
