.threads-container{position:relative;width:100%;height:100%;opacity:0;transition:opacity 1.2s cubic-bezier(.25,1,.5,1)}.threads-container.loaded{opacity:1}.threads-container canvas{display:block;width:100%;height:100%}.threads-customizer{position:fixed;top:80px;right:24px;z-index:9999;display:flex;flex-direction:column;align-items:flex-end;font-family:inherit}.customizer-toggle{background:#ffffffd9;backdrop-filter:blur(8px);border:1px solid rgba(0,0,0,.08);border-radius:50%;width:40px;height:40px;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 4px 12px #0000000d;transition:all .2s ease;color:#0a2540}.customizer-toggle:hover{transform:scale(1.05);background:#fff;box-shadow:0 6px 16px #0000001a}.customizer-toggle svg{width:20px;height:20px;transition:transform .4s cubic-bezier(.4,0,.2,1)}.threads-customizer.open .customizer-toggle svg{transform:rotate(90deg)}.customizer-panel{margin-top:12px;background:#ffffffd9;backdrop-filter:blur(16px);border:1px solid rgba(255,255,255,.4);border-radius:16px;padding:18px;width:240px;max-height:65vh;overflow-y:auto;box-shadow:0 10px 30px #00000014;display:flex;flex-direction:column;gap:14px;animation:slideIn .25s cubic-bezier(.16,1,.3,1);color:#0a2540;text-align:left}@keyframes slideIn{0%{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}.customizer-panel h3{font-size:.9rem;font-weight:700;margin:0;color:#0a2540;letter-spacing:-.01em;border-bottom:1px solid rgba(0,0,0,.06);padding-bottom:8px}.control-group{display:flex;flex-direction:column;gap:5px}.control-group label{font-size:.72rem;font-weight:600;color:#425466;display:flex;justify-content:space-between}.control-group input[type=range]{-webkit-appearance:none;appearance:none;width:100%;height:4px;border-radius:2px;background:#00000014;outline:none}.control-group input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:12px;height:12px;border-radius:50%;background:#2b46e5;cursor:pointer;transition:transform .1s ease}.control-group input[type=range]::-webkit-slider-thumb:hover{transform:scale(1.2)}.checkbox-label{display:flex;align-items:center;gap:8px;font-size:.72rem;font-weight:600;color:#425466;cursor:pointer;user-select:none}.checkbox-label input{cursor:pointer}.control-group input[type=color]{-webkit-appearance:none;appearance:none;border:none;width:100%;height:24px;border-radius:6px;cursor:pointer;background:transparent;padding:0;outline:none}.control-group input[type=color]::-webkit-color-swatch-wrapper{padding:0}.control-group input[type=color]::-webkit-color-swatch{border:1px solid rgba(0,0,0,.1);border-radius:6px}.customizer-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px;border-top:1px solid rgba(0,0,0,.06);padding-top:12px}.customizer-btn{flex:1;min-width:90px;padding:8px 6px;font-size:.68rem;font-weight:700;border-radius:8px;cursor:pointer;border:1px solid transparent;display:flex;align-items:center;justify-content:center;gap:3px;transition:all .2s ease;outline:none}.customizer-btn-primary{background:#2b46e5;color:#fff}.customizer-btn-primary:hover{background:#1b32b8;transform:translateY(-1px)}.customizer-btn-secondary{background:#0000000a;color:#425466;border-color:#00000014}.customizer-btn-secondary:hover{background:#00000014;transform:translateY(-1px)}.customizer-btn-danger{flex:none;width:100%;background:transparent;color:#e53e3e;border-color:transparent}.customizer-btn-danger:hover{background:#e53e3e14}.toast-feedback{font-size:.68rem;color:#2b46e5;font-weight:700;text-align:center;background:#2b46e514;padding:6px;border-radius:6px;animation:fadeInOut 2s ease-in-out forwards}@keyframes fadeInOut{0%{opacity:0;transform:translateY(-4px)}15%{opacity:1;transform:translateY(0)}85%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-4px)}}@media(max-width:768px){.threads-customizer{top:72px;right:12px}.customizer-panel{width:260px;max-width:calc(100vw - 24px);max-height:75vh;padding:14px;gap:10px}}.customizer-select{width:100%;padding:8px 10px;border-radius:8px;border:1px solid rgba(0,0,0,.08);background:#ffffffe6;color:#0a2540;font-size:.75rem;font-weight:600;outline:none;cursor:pointer;transition:all .2s ease}.customizer-select:hover{background:#fff;border-color:#00000026}.customizer-select option{background-color:#fff;color:#0a2540}html[data-theme=dark] .customizer-select option{background-color:#0c0f19;color:#fff}html[data-theme=dark] .customizer-select{background:#16161ce6;color:#fff;border-color:#ffffff14}html[data-theme=dark] .customizer-select:hover{background:#0d0d11;border-color:#ffffff26}html[data-theme=dark] .customizer-toggle{background:#0f0f12d9;border-color:#ffffff14;color:#fff;box-shadow:0 4px 12px #00000040}html[data-theme=dark] .customizer-toggle:hover{background:#141419f2;box-shadow:0 6px 16px #00000059}html[data-theme=dark] .customizer-panel{background:#0a0a0ce6;border-color:#ffffff14;color:#fff;box-shadow:0 10px 30px #00000040}html[data-theme=dark] .customizer-panel h3{color:#fff;border-bottom-color:#ffffff14}html[data-theme=dark] .control-group label{color:#ffffffb3}html[data-theme=dark] .control-group input[type=range]{background:#ffffff1a}html[data-theme=dark] .control-group input[type=range]::-webkit-slider-thumb{background:#4f6bff}html[data-theme=dark] .checkbox-label{color:#ffffffb3}html[data-theme=dark] .customizer-btn-secondary{background:#ffffff0d;color:#fffc;border-color:#ffffff1a}.customizer-header{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(0,0,0,.06);padding-bottom:6px}.customizer-header h3{border-bottom:none!important;padding-bottom:0!important;font-size:.82rem!important}.customizer-close-btn{background:transparent;border:none;font-size:.85rem;color:#425466;cursor:pointer;padding:2px 6px;border-radius:4px;line-height:1}.customizer-close-btn:hover{background:#00000014;color:#0a2540}.controller-box{background:#2b46e50d;border:1px solid rgba(43,70,229,.12);border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:8px}.controller-label{font-size:.72rem;font-weight:700;color:#2b46e5;text-align:center}.dpad-grid{display:flex;flex-direction:column;align-items:center;gap:4px}.dpad-row{display:flex;align-items:center;justify-content:center;gap:4px}.dpad-btn{background:#fff;border:1px solid rgba(0,0,0,.12);border-radius:8px;width:34px;height:30px;display:flex;align-items:center;justify-content:center;font-size:.85rem;cursor:pointer;box-shadow:0 2px 4px #0000000a;transition:all .15s ease;user-select:none}.dpad-btn:hover{background:#2b46e5;color:#fff;border-color:#2b46e5;transform:scale(1.06)}.dpad-btn:active{transform:scale(.95)}.dpad-center{background:#2b46e514;font-size:.75rem}.preset-row{display:flex;flex-wrap:wrap;gap:4px;margin-top:4px}.preset-chip{flex:1 1 calc(50% - 4px);background:#ffffffd9;border:1px solid rgba(0,0,0,.08);border-radius:6px;padding:5px 4px;font-size:.65rem;font-weight:600;color:#425466;cursor:pointer;text-align:center;transition:all .15s ease}.preset-chip:hover{background:#2b46e5;color:#fff;border-color:#2b46e5}.quick-rotations{display:flex;gap:4px;flex-wrap:wrap;margin-top:4px}.rot-chip{flex:1;min-width:32px;background:#0000000a;border:1px solid rgba(0,0,0,.06);border-radius:4px;padding:3px 2px;font-size:.62rem;font-weight:600;color:#425466;cursor:pointer;text-align:center;transition:all .15s ease}.rot-chip:hover,.rot-chip.active{background:#2b46e5;color:#fff;border-color:#2b46e5}html[data-theme=dark] .customizer-close-btn{color:#fff9}html[data-theme=dark] .customizer-close-btn:hover{background:#ffffff1a;color:#fff}html[data-theme=dark] .controller-box{background:#4f6bff1a;border-color:#4f6bff33}html[data-theme=dark] .controller-label{color:#8fa2ff}html[data-theme=dark] .dpad-btn{background:#ffffff14;border-color:#ffffff26;color:#fff}html[data-theme=dark] .dpad-btn:hover{background:#4f6bff;border-color:#4f6bff}html[data-theme=dark] .preset-chip{background:#ffffff0d;border-color:#ffffff1a;color:#fffc}html[data-theme=dark] .preset-chip:hover{background:#4f6bff;color:#fff;border-color:#4f6bff}html[data-theme=dark] .rot-chip{background:#ffffff0d;border-color:#ffffff14;color:#ffffffb3}html[data-theme=dark] .rot-chip:hover,html[data-theme=dark] .rot-chip.active{background:#4f6bff;color:#fff;border-color:#4f6bff}
