.settings-overlay{position:fixed;inset:0;background:#0000004d;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:#1a1a1a80;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,.1);border-radius:16px;width:90%;max-width:500px;max-height:85vh;display:flex;flex-direction:column;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 rgba(255,255,255,.1)}.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 1.5rem 2rem;overflow-y:auto;flex:1;min-height:0}.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:repeat(3,1fr);gap:12px}.effect-button{background:#ffffff0d;border:2px solid rgba(255,255,255,.1);border-radius:12px;padding:12px 8px;min-width:0;cursor:pointer;transition:all .2s;text-align:left}.effect-button:hover{background:#ffffff1a;border-color:#fff3}.effect-button.active{background:linear-gradient(135deg,#06cc,#00d4ffcc);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:#ffffff1a;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 rgba(255,255,255,.1);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;margin-bottom:.5rem;padding-top:1rem;border-top:1px solid rgba(255,255,255,.1)}.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}.setting-select{width:100%;padding:.75rem;background:#ffffff0d;border:1px solid rgba(255,255,255,.1);border-radius:8px;color:#fff;font-size:.95rem;cursor:pointer;transition:all .2s;margin-top:.5rem}.setting-select:hover{background:#ffffff14;border-color:#fff3}.setting-select:focus{outline:none;border-color:#00d4ff;box-shadow:0 0 0 2px #00d4ff1a}.setting-select option{background:#1a1a1a;color:#fff}.checkbox-label{display:flex;align-items:center;gap:.75rem;cursor:pointer;-webkit-user-select:none;user-select:none}.setting-checkbox{width:20px;height:20px;cursor:pointer;accent-color:#00d4ff}.tabs-container{display:flex;gap:0;border-bottom:2px solid rgba(255,255,255,.1);margin-bottom:1.5rem}.tab{flex:1;background:transparent;border:none;border-bottom:3px solid transparent;padding:.75rem 1rem;color:#999;font-size:.95rem;font-weight:600;cursor:pointer;transition:all .2s;position:relative;margin-bottom:-2px}.tab:hover{color:#ccc;background:#ffffff08}.tab.active{color:#00d4ff;border-bottom-color:#00d4ff}@media(max-width:600px){.tab{font-size:.85rem;padding:.6rem .75rem}}.effect-slider-container{position:relative;margin-bottom:2rem}.effect-slider-label{display:block;color:#00d4ff;font-weight:600;font-size:.9rem;margin-bottom:.75rem}.effect-slider{display:flex;gap:8px;position:relative;padding:4px;background:#2a2a2a;border-radius:12px;border:2px solid #333;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;scroll-behavior:smooth;scroll-snap-type:x mandatory;scrollbar-width:none}.effect-slider::-webkit-scrollbar{display:none}.effect-slider-item{flex:0 0 auto;min-width:80px;background:transparent;border:none;border-radius:8px;padding:12px 8px;cursor:pointer;transition:all .3s ease;text-align:center;position:relative;z-index:1;scroll-snap-align:center}.effect-slider-item:hover{background:#ffffff0d}.effect-slider-item.active{background:linear-gradient(135deg,#06c,#00d4ff);box-shadow:0 0 20px #00d4ff4d}.effect-slider-item-label{font-size:1rem;font-weight:600;color:#fff;margin-bottom:2px}.effect-slider-item-desc{font-size:.75rem;color:#ffffffb3}.effect-slider-item.active .effect-slider-item-desc{color:#fffffff2}@media(max-width:600px){.effect-slider{gap:6px}.effect-slider-item{padding:10px 6px}.effect-slider-item-label{font-size:.9rem}.effect-slider-item-desc{font-size:.7rem}}.preferences-panel{display:flex;flex-direction:column;gap:1.5rem;padding:.5rem 0}.preference-section{background:#ffffff0d;border-radius:12px;overflow:hidden;border:1px solid rgba(255,255,255,.1)}.section-header{padding:1rem;cursor:pointer;transition:background .2s}.section-header:hover{background:#ffffff14}.section-title-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:.25rem}.section-title-row h3{margin:0;font-size:1.1rem;color:#00d4ff}.current-value{color:#ccc;font-size:.9rem;margin-right:.5rem}.expand-icon{font-size:.8rem;color:#999;transition:transform .3s ease}.expand-icon.expanded{transform:rotate(180deg)}.section-description{margin:0;font-size:.85rem;color:#888}.language-options{padding:.5rem;border-top:1px solid rgba(255,255,255,.1);display:flex;flex-direction:column;gap:.5rem;max-height:300px;overflow-y:auto}.language-options::-webkit-scrollbar{width:8px}.language-options::-webkit-scrollbar-track{background:transparent;border-radius:4px}.language-options::-webkit-scrollbar-thumb{background:#444;border-radius:4px}.language-options::-webkit-scrollbar-thumb:hover{background:#555}.language-option{display:flex;align-items:center;padding:.75rem 1rem;background:transparent;border:none;border-radius:8px;cursor:pointer;width:100%;text-align:left;transition:all .2s}.language-option:hover{background:#ffffff1a}.language-option.active{background:#00d4ff26;color:#00d4ff}.language-name{flex:1;font-size:1rem;color:#fff}.language-checkmark{color:#00d4ff}.checkbox-container{display:flex;align-items:center;padding:1rem;cursor:pointer;-webkit-user-select:none;user-select:none}.preference-section>h3{margin:0;padding:1rem 1rem .5rem;font-size:1.1rem;color:#00d4ff}.checkbox-container input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.checkmark{position:relative;height:20px;width:20px;background-color:#ffffff1a;border:2px solid rgba(255,255,255,.3);border-radius:4px;margin-right:12px;transition:all .2s}.checkbox-container:hover input~.checkmark{background-color:#fff3}.checkbox-container input:checked~.checkmark{background-color:#00d4ff;border-color:#00d4ff}.checkmark:after{content:"";position:absolute;display:none}.checkbox-container input:checked~.checkmark:after{display:block}.checkbox-container .checkmark:after{left:6px;top:2px;width:4px;height:10px;border:solid white;border-width:0 2px 2px 0;transform:rotate(45deg)}.checkbox-label{color:#fff;font-size:1rem}.emboss-tint-color-picker{display:flex;flex-direction:column;gap:8px;padding:12px;background:#ffffff0d;border-radius:8px;border:1px solid rgba(255,255,255,.1)}.emboss-tint-label{font-size:14px;font-weight:500;color:#ffffffe6;margin-bottom:4px}.emboss-tint-control{display:flex;align-items:center;gap:12px}.emboss-tint-input{width:60px;height:40px;border:2px solid rgba(255,255,255,.2);border-radius:6px;cursor:pointer;background:transparent;transition:border-color .2s}.emboss-tint-input:hover{border-color:#fff6}.emboss-tint-input:focus{outline:none;border-color:#4a9eff}.emboss-tint-preview{flex:1;height:40px;border-radius:6px;border:1px solid rgba(255,255,255,.2);display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden}.emboss-tint-value{font-size:12px;font-weight:600;font-family:Courier New,monospace;color:#000000b3;text-shadow:0 0 2px rgba(255,255,255,.8);background:#ffffffe6;padding:2px 8px;border-radius:4px}.toast{position:fixed;top:20px;left:50%;transform:translate(-50%);z-index:10000;display:flex;align-items:center;gap:12px;min-width:300px;max-width:90%;padding:16px 20px;background:#000000e6;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:12px;box-shadow:0 8px 32px #0006;animation:toast-slide-in .3s ease-out}@keyframes toast-slide-in{0%{transform:translate(-50%) translateY(-20px);opacity:0}to{transform:translate(-50%) translateY(0);opacity:1}}.toast-success{border:1px solid rgba(16,185,129,.3)}.toast-error{border:1px solid rgba(239,68,68,.3)}.toast-clickable{cursor:pointer;-webkit-user-select:none;user-select:none;transition:transform .2s,box-shadow .2s}.toast-clickable:active{transform:translate(-50%) scale(.98);box-shadow:0 4px 16px #0000004d}.toast-icon{flex-shrink:0;display:flex;align-items:center;justify-content:center;width:24px;height:24px}.toast-success .toast-icon{color:#10b981}.toast-error .toast-icon{color:#ef4444}.toast-message{flex:1;color:#fff;font-size:14px;font-weight:500;line-height:1.4}.toast-close{flex-shrink:0;background:none;border:none;color:#fff9;cursor:pointer;padding:4px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:all .2s}.toast-close:hover{background:#ffffff1a;color:#ffffffe6}.toast-close:active{transform:scale(.95)}@media(max-width:640px){.toast{top:80px;min-width:auto;max-width:calc(100% - 32px);padding:14px 16px}.toast-message{font-size:13px}}.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;touch-action:none}.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;padding-top:max(env(safe-area-inset-top),8px);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)}.recording-timer{position:fixed;top:20px;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:.75rem;padding:.75rem 1.5rem;background:#000000b3;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:30px;z-index:101;margin-top:max(env(safe-area-inset-top),8px);box-shadow:0 4px 12px #0000004d}.recording-indicator{width:12px;height:12px;border-radius:50%;background:#ff3b3b;animation:pulse-indicator 1.5s ease-in-out infinite}@keyframes pulse-indicator{0%,to{opacity:1;transform:scale(1)}50%{opacity:.5;transform:scale(.85)}}.recording-time{font-family:SF Mono,Monaco,Inconsolata,Courier New,monospace;font-size:1.1rem;font-weight:600;color:#fff;letter-spacing:.5px}.zoom-control-container{width:80%;max-width:300px;background:#00000080;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);border-radius:20px;padding:8px 16px;display:flex;align-items:center;gap:10px;margin-bottom:10px;transition:opacity .3s ease}.zoom-slider{flex:1;-webkit-appearance:none;appearance:none;height:4px;background:#ffffff4d;border-radius:2px;outline:none}.zoom-slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:16px;height:16px;border-radius:50%;background:#fff;cursor:pointer;box-shadow:0 0 4px #00000080}.zoom-slider::-moz-range-thumb{width:16px;height:16px;border-radius:50%;background:#fff;cursor:pointer;box-shadow:0 0 4px #00000080;border:none}.zoom-label{color:#fff;font-size:12px;font-weight:600;min-width:30px;text-align:center}.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:max(env(safe-area-inset-bottom),50px);gap:1rem;z-index:100}.bottom-line-1{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%}.bottom-line-2{display:flex;align-items:center;justify-content:center;width:100%;padding:0 2rem;position:relative}.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.flash{border-color:#ff3b3b}.capture-button.flash .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}}.gallery-button{position:absolute;left:2rem;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}.gallery-button:hover{background:#ffffff4d;transform:scale(1.05)}.gallery-button:active{transform:scale(.95)}.camera-switch-button{position:absolute;right:2rem;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{position:absolute;right:2rem;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)}.gallery-button{left:1rem;width:44px;height:44px}.camera-switch-button{right:1rem;width:44px;height:44px}.camera-switch-placeholder{right:1rem;width:44px}}@media(max-height:500px){.bottom-bar{height:130px;padding-bottom:30px;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}
