.settings-overlay{position:fixed;inset:0;background:#000c;display:flex;align-items:center;justify-content:center;z-index:1000;animation:fadeIn .2s ease}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.settings-dialog{background:#1a1a1a;border-radius:16px;width:90%;max-width:500px;max-height:80vh;overflow:hidden;box-shadow:0 20px 60px #00000080;animation:slideUp .3s ease}@keyframes slideUp{0%{transform:translateY(30px);opacity:0}to{transform:translateY(0);opacity:1}}.settings-header{display:flex;align-items:center;justify-content:space-between;padding:1.5rem;border-bottom:1px solid #333}.settings-header h2{margin:0;font-size:1.5rem;color:#fff}.close-button{background:none;border:none;color:#999;font-size:1.5rem;cursor:pointer;padding:.5rem;line-height:1;transition:color .2s}.close-button:hover{color:#fff}.settings-content{padding:1.5rem;overflow-y:auto;max-height:calc(80vh - 80px)}.setting-section{margin-bottom:2rem}.setting-section:last-child{margin-bottom:0}.setting-label{display:flex;justify-content:space-between;align-items:center;font-size:.95rem;color:#ccc;margin-bottom:.5rem;font-weight:500}.setting-value{color:#00d4ff;font-weight:600}.effect-buttons{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.effect-button{background:#2a2a2a;border:2px solid #333;border-radius:12px;padding:.75rem 1rem;cursor:pointer;transition:all .2s;text-align:left}.effect-button:hover{background:#333;border-color:#444}.effect-button.active{background:linear-gradient(135deg,#06c,#00d4ff);border-color:#00d4ff}.effect-name{font-size:1.1rem;font-weight:600;color:#fff;margin-bottom:.25rem}.effect-desc{font-size:.85rem;color:#ffffffb3}.effect-button.active .effect-desc{color:#ffffffe6}.setting-slider{width:100%;height:6px;border-radius:3px;background:#333;outline:none;-webkit-appearance:none}.setting-slider::-webkit-slider-thumb{-webkit-appearance:none;width:20px;height:20px;border-radius:50%;background:linear-gradient(135deg,#06c,#00d4ff);cursor:pointer;box-shadow:0 2px 8px #00d4ff66;transition:transform .2s}.setting-slider::-webkit-slider-thumb:hover{transform:scale(1.1)}.setting-slider::-moz-range-thumb{width:20px;height:20px;border-radius:50%;background:linear-gradient(135deg,#06c,#00d4ff);cursor:pointer;border:none;box-shadow:0 2px 8px #00d4ff66;transition:transform .2s}.setting-slider::-moz-range-thumb:hover{transform:scale(1.1)}.color-controls{display:flex;gap:.75rem;width:100%;align-items:flex-end}.color-control-item{flex:1;display:flex;flex-direction:column;gap:.5rem}.swap-colors-button{background:#ffffff1a;border:1px solid #444;border-radius:8px;width:36px;height:40px;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#ccc;transition:all .2s;flex-shrink:0}.swap-colors-button:hover{background:#ffffff26;border-color:#00d4ff;color:#00d4ff;transform:scale(1.05)}.swap-colors-button:active{transform:scale(.95)}.color-label{font-size:.85rem;color:#ccc;font-weight:500}.color-input-compact{width:100%;height:40px;border:none;border-radius:8px;cursor:pointer;background:transparent}.reset-section{display:flex;justify-content:flex-end;margin-top:1.5rem;padding-top:1rem;border-top:1px solid #333}.reset-button{background:#ffffff1a;border:1px solid #444;border-radius:8px;padding:.5rem 1rem;color:#ccc;font-size:.9rem;cursor:pointer;display:flex;align-items:center;gap:.5rem;transition:all .2s}.reset-button:hover{background:#ffffff26;border-color:#00d4ff;color:#00d4ff;transform:translateY(-1px)}.reset-button:active{transform:translateY(0)}.reset-button svg{flex-shrink:0}.wireframe-camera-fullscreen{position:fixed;top:0;left:0;width:100vw;height:100vh;background:#000;overflow:hidden;display:flex;align-items:center;justify-content:center}.fullscreen-canvas{width:100%;height:100%;object-fit:cover;display:block;opacity:0}.top-bar{position:fixed;top:0;left:0;right:0;height:60px;display:flex;align-items:center;justify-content:flex-end;padding:0 1rem;background:linear-gradient(180deg,#0009,#0000);z-index:100}.settings-button{width:44px;height:44px;border-radius:50%;background:#fff3;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:none;color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s}.settings-button:hover{background:#ffffff4d;transform:scale(1.05)}.settings-button:active{transform:scale(.95)}.bottom-bar{position:fixed;bottom:0;left:0;right:0;height:180px;background:linear-gradient(0deg,#000000b3,#0000);display:flex;flex-direction:column;align-items:center;justify-content:flex-end;padding-bottom:20px;gap:1rem;z-index:100}.bottom-line-1{display:flex;align-items:center;justify-content:center;width:100%}.bottom-line-2{display:flex;align-items:center;justify-content:space-between;width:100%;padding:0 2rem}.mode-switcher{display:flex;gap:.5rem;background:#0006;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:25px;padding:.25rem}.mode-button{padding:.5rem 1.25rem;border-radius:20px;border:none;background:transparent;color:#ffffffb3;font-size:.85rem;font-weight:600;letter-spacing:.5px;cursor:pointer;transition:all .2s}.mode-button.active{background:#ffffffe6;color:#000}.mode-button:hover:not(.active){color:#fff}.capture-button{width:80px;height:80px;border-radius:50%;border:4px solid white;background:transparent;cursor:pointer;padding:6px;transition:all .2s;position:relative}.capture-button:disabled{opacity:.5;cursor:not-allowed}.capture-button:hover:not(:disabled){transform:scale(1.05)}.capture-button:active:not(:disabled){transform:scale(.95)}.capture-button-inner{width:100%;height:100%;border-radius:50%;background:#fff;transition:all .3s}.capture-button.video-mode .capture-button-inner{background:#ff3b3b}.capture-button.recording .capture-button-inner{border-radius:8px;width:60%;height:60%;margin:20% auto;animation:pulse-record 1.5s ease-in-out infinite}@keyframes pulse-record{0%,to{opacity:1}50%{opacity:.7}}.camera-switch-button{width:50px;height:50px;border-radius:50%;background:#fff3;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:none;color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s}.camera-switch-button:hover:not(:disabled){background:#ffffff4d;transform:scale(1.05)}.camera-switch-button:active:not(:disabled){transform:scale(.95)}.camera-switch-button:disabled{opacity:.5;cursor:not-allowed}.camera-switch-placeholder{width:50px;height:50px}.start-overlay{position:fixed;inset:0;background:#000000e6;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1.5rem;z-index:50}.start-button{padding:1rem 3rem;font-size:1.2rem;font-weight:600;border-radius:50px;border:none;background:linear-gradient(135deg,#06c,#00d4ff);color:#fff;cursor:pointer;transition:all .3s;box-shadow:0 8px 24px #00d4ff4d}.start-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 12px 32px #00d4ff66}.start-button:active:not(:disabled){transform:translateY(0)}.start-button:disabled{opacity:.6;cursor:not-allowed}.loading-message{padding:1rem 2rem;background:#06c3;border:1px solid rgba(0,212,255,.3);color:#00d4ff;border-radius:12px;font-size:1rem}.error-message{padding:1rem 2rem;background:#c003;border:1px solid rgba(255,50,50,.3);color:#ff5050;border-radius:12px;font-size:1rem;max-width:90%;text-align:center}@media(max-width:768px){.bottom-line-2{padding:0 1rem}.capture-button{width:70px;height:70px}.mode-switcher{transform:scale(.9)}.camera-switch-button{width:44px;height:44px}.camera-switch-placeholder{width:44px}}@media(max-height:500px){.bottom-bar{height:130px;padding-bottom:10px;gap:.5rem}.top-bar{height:50px}.capture-button{width:60px;height:60px}.mode-switcher{transform:scale(.85)}}:root{font-family:Inter,system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:dark;color:#ffffffde;background-color:#0a0a0a;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{box-sizing:border-box;margin:0;padding:0}html,body{margin:0;padding:0;width:100%;height:100%;overflow:hidden}#root{width:100%;height:100%;display:flex;flex-direction:column}.app{width:100%;height:100%;display:flex;flex-direction:column;overflow:hidden}
