*{margin:0;padding:0;box-sizing:border-box}body{font-family:system-ui,-apple-system,sans-serif;background:#f2f2f2;height:100vh;display:flex;justify-content:center;align-items:center}body,body.modal-open{overflow:hidden}.button-group button.disabled-uploading,.floating-btn.disabled-uploading{opacity:.5;cursor:not-allowed;pointer-events:none}.app-container{width:100%;max-width:500px;height:100vh;position:relative;display:flex;flex-direction:column}.app-container.modal-open{pointer-events:none}.app-container.modal-open .add-text-modal,.app-container.modal-open .language-modal{pointer-events:auto}.screens-wrapper{height:100%;transition:transform .6s cubic-bezier(.65,0,.35,1)}.screen{height:100%;width:100%;padding:20px;display:flex;flex-direction:column;overflow-y:auto;scroll-behavior:smooth;gap:15px}.screen::-webkit-scrollbar{width:6px}.screen::-webkit-scrollbar-track{background:#f1f1f1}.screen::-webkit-scrollbar-thumb{background:#888;border-radius:3px}.header{background:#ffd502;padding:5px;display:flex;align-items:center;justify-content:space-between;z-index:8;position:relative}.header img{height:24px;margin:2px}.header-right{gap:10px;margin-right:10px}.coin-counter,.header-right{display:flex;align-items:center}.coin-counter{gap:6px;background:rgba(0,0,0,.1);padding:0 12px;border-radius:20px}.coin-icon-header{width:18px;height:18px;object-fit:contain}.coin-counter span{font-size:14px;font-weight:700;color:#000}.header-btn{padding:6px 14px;background:#000;color:#fff;border:none;border-radius:6px;cursor:pointer;font-size:13px;font-weight:600;transition:all .2s}.header-btn:hover{background:#333}h1{font-size:24px;margin-bottom:0;flex-shrink:0}textarea{width:100%;flex:1;min-height:350px;max-height:calc(100vh - 400px);padding:12px;border:2px dashed #636363;border-radius:.5rem;font-size:14px;resize:none;font-family:inherit;position:relative;box-shadow:0 0 1px 0 #22242d1f,0 -1px 3px 0 #22242d0a,0 1px 2px -5px #22242d0a,0 2px 5px -5px #22242d1f,0 4px 12px -5px #22242d3d,0 12px 15px -5px #22242d0f}textarea.drag-window{border:2px dashed #fac400}textarea.drag-textarea{border:2px solid #fac400}.file-input{margin-bottom:0;flex-shrink:0}.file-input input{width:100%;padding:8px;font-size:14px}.file-box{width:100%;flex:1;min-height:200px;max-height:calc(100vh - 400px);padding:12px;border:2px dashed #636363;border-radius:.5rem;display:none;position:relative;box-shadow:0 0 1px 0 #22242d1f,0 -1px 3px 0 #22242d0a,0 1px 2px -5px #22242d0a,0 2px 5px -5px #22242d1f,0 4px 12px -5px #22242d3d,0 12px 15px -5px #22242d0f;overflow-y:auto}.file-box.active{display:flex;flex-direction:column;justify-content:center;align-items:center;background:#f9f9f9}.file-info{text-align:center}.file-name{font-size:18px;font-weight:600;margin-bottom:8px}.file-details{font-size:14px;color:#666}.image-preview{max-width:100%;max-height:100%;object-fit:contain}.floating-actions,.screen>.floating-actions{position:absolute;display:flex;flex-direction:column;gap:8px;z-index:3}.floating-icon{width:20px;height:20px;fill:currentColor}.screen>.floating-actions{top:120px;right:28px}.file-box .floating-actions{top:12px;right:12px}.floating-btn{width:32px;height:32px;background:#fff;color:#000;border:none;border-radius:6px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s;padding:0}.floating-btn:hover{background:#fff;border:1px solid #ddd!important}.floating-btn img{width:18px;height:18px}.floating-btn.copied{color:green}.close-btn{position:absolute;top:12px;left:12px;width:24px;height:24px;background:#000;color:#fff;border:none;border-radius:50%;cursor:pointer;font-size:16px;line-height:1;display:flex;align-items:center;justify-content:center;z-index:3;padding:0}.close-btn:hover{background:#333}button{padding:12px 16px;background:#000;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:14px;font-weight:500}button:hover{background:#333}button:disabled{background:#999;cursor:not-allowed}.hidden,button.hidden{display:none}.button-group{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:15px;max-height:25vh;overflow-y:auto;overflow-x:hidden;padding-right:5px;align-content:start}.button-group button{height:auto;min-height:auto;padding:8px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;background:#fff;color:#000;border:2px solid #e0e0e0;border-radius:8px;cursor:pointer;font-size:11px;font-weight:500;line-height:1.2;text-align:center}.button-group button:hover{background:#fff;border-color:#005ad2}.button-group button:disabled{background:#f0f0f0;color:#999;border-color:#e0e0e0;cursor:not-allowed}.button-group button.hidden{display:none!important}.button-content{justify-content:space-between;width:100%}.button-content,.button-left{display:flex;align-items:center;gap:4px}.button-left{flex:1;min-width:0}.button-right{display:flex;align-items:center;gap:2px;flex-shrink:0}.button-icon-small{width:16px;height:16px;object-fit:contain;flex-shrink:0}.coin-icon{width:12px;height:12px;object-fit:contain}.button-cost{font-size:10px;font-weight:600;color:#666}.button-label{font-size:10px;font-weight:500;line-height:1.2;word-break:break-word;text-align:left}.button-group::-webkit-scrollbar{width:6px}.button-group::-webkit-scrollbar-track{background:#f1f1f1;border-radius:3px}.button-group::-webkit-scrollbar-thumb{background:#888;border-radius:3px}.button-group::-webkit-scrollbar-thumb:hover{background:#555}.result-content{flex:1;padding:12px;background:#f5f5f5;border-radius:4px;white-space:pre-wrap;overflow-y:auto;margin-bottom:15px;font-size:14px;line-height:1.6}.result-header{font-size:18px;font-weight:600;margin-bottom:15px;color:#333}.image-result-box{width:100%;flex:1;padding:12px;border:2px solid #00000033;border-radius:4px;display:flex;justify-content:center;align-items:center;background:#f9f9f9;overflow:hidden}.image-result-box img{max-width:100%;max-height:100%;object-fit:contain}.youtube-box{background:#f8f9fa;border:2px solid #e0e0e0;border-radius:8px;padding:12px;margin:0;position:relative}.youtube-box,.youtube-preview{display:flex;flex-direction:column;gap:10px}.youtube-preview{align-items:center}.youtube-thumbnail{width:100%;max-width:320px;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:6px;flex-shrink:0}.youtube-info{width:100%;padding:0 8px}.youtube-title{font-weight:600;font-size:15px;color:#202124;margin-bottom:8px;line-height:1.4;text-align:center}.youtube-url{font-size:11px;color:#5f6368;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:center;padding:0 4px}.audio-result-box{display:flex;flex-direction:column;align-items:center;gap:20px;padding:40px;background:var(--bg-secondary);border-radius:12px;margin:20px 0}.audio-result-box audio{width:100%;max-width:500px}.download-btn{padding:12px 24px;background:var(--accent-color);color:#fff;text-decoration:none;border-radius:8px;font-weight:500;transition:background .2s}.download-btn:hover{background:var(--accent-hover)}.audio-info{width:100%;display:flex;flex-direction:column;gap:12px;align-items:center}.audio-name{font-size:18px;font-weight:600;text-align:center}.audio-player{width:100%;max-width:400px}.audio-details{font-size:14px;color:#666;text-align:center}.video-info{width:100%;display:flex;flex-direction:column;gap:12px;align-items:center}.video-player{width:100%;max-width:100%;max-height:40vh;border-radius:8px;background:#000}.video-name{font-size:18px;font-weight:600;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.video-details,.video-name{text-align:center;flex-shrink:0}.video-details{font-size:14px;color:#666}.url-box{background:#f8f9fa;border:2px solid #e0e0e0;border-radius:8px;padding:12px;margin:0;position:relative}.url-box,.url-preview{display:flex;flex-direction:column;gap:10px}.url-preview{align-items:center}.url-image{width:100%;max-width:320px;height:auto;max-height:180px;object-fit:cover;border-radius:6px;flex-shrink:0}.url-info{width:100%;padding:0 8px}.url-site-name{font-size:12px;color:#5f6368;margin-bottom:6px;text-align:center;text-transform:uppercase;letter-spacing:.5px;font-weight:500}.url-title{font-weight:600;font-size:15px;color:#202124;line-height:1.4}.url-description,.url-title{margin-bottom:8px;text-align:center}.url-description{font-size:13px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2}.url-description,.url-domain{color:#5f6368;overflow:hidden}.url-domain{font-size:11px;text-overflow:ellipsis;white-space:nowrap;text-align:center;padding:0 4px}.cards-box{background:#f9f9f9;border:2px dashed #636363;border-radius:.5rem;padding:20px;position:relative;display:flex;flex-direction:column;align-items:center;flex:1;min-height:400px;max-height:calc(100vh - 350px);overflow:hidden;box-shadow:0 0 1px 0 #22242d1f,0 -1px 3px 0 #22242d0a,0 1px 2px -5px #22242d0a,0 2px 5px -5px #22242d1f,0 4px 12px -5px #22242d3d,0 12px 15px -5px #22242d0f}.cards-container{width:100%;max-width:450px;height:520px;position:relative;margin:0 auto}.card{background:#fff;border-radius:12px;padding:35px 25px;box-shadow:0 2px 8px rgba(0,0,0,.1);position:absolute;width:100%;height:100%;transition:all .3s ease;display:flex;flex-direction:column;overflow-y:auto}.card::-webkit-scrollbar{width:4px}.card::-webkit-scrollbar-track{background:#f1f1f1;border-radius:2px}.card::-webkit-scrollbar-thumb{background:#888;border-radius:2px}.card.hidden{opacity:0;transform:scale(.9);pointer-events:none}.card-emoji{font-size:3.5rem}.card-emoji,.card-title{text-align:center;margin-bottom:20px}.card-title{font-size:1.6rem;font-weight:700;color:#2d3748;line-height:1.3}.card-content{font-size:1.05rem;color:#4a5568;line-height:1.6;text-align:center;margin-bottom:20px;flex:1}.card-tags{text-align:center;display:flex;flex-wrap:wrap;justify-content:center;gap:8px}.card-tag{display:inline-block;background:#e2e8f0;color:#4a5568;padding:6px 14px;border-radius:16px;font-size:.9rem;font-weight:500;cursor:pointer;transition:all .2s;text-transform:lowercase}.card-tag:hover{background:#cbd5e0;transform:scale(1.05)}.card-counter{font-weight:600;font-size:.95rem;color:#4a5568;margin-top:15px;margin-bottom:10px}.card-navigation{display:flex;gap:15px;margin-top:5px}.card-nav-btn{width:50px;height:50px;border-radius:50%;border:none;background:#000;color:#fff;font-size:1.3rem;cursor:pointer;box-shadow:0 2px 4px rgba(0,0,0,.1);transition:all .2s;display:flex;align-items:center;justify-content:center}.card-nav-btn:hover:not(:disabled){background:#333}.card-nav-btn:disabled{opacity:.3;cursor:not-allowed}.video-timeline-container{width:100%;padding:0 15px;background:#f5f5f5;border-radius:8px;margin-bottom:0;flex-shrink:0}.timeline-header{font-size:14px;font-weight:600;color:#333;margin-bottom:12px;text-align:center}.audio-timeline,.video-timeline{position:relative;height:30px;width:100%;background:#ddd;border-radius:8px;cursor:pointer;margin-bottom:12px;overflow:hidden}.timeline-video-background{position:absolute;top:0;left:0;right:0;bottom:0;pointer-events:none}.timeline-video-background canvas{width:100%;height:100%;object-fit:cover;opacity:.6;image-rendering:pixelated}.audio-timeline-track,.timeline-track{position:absolute;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.3);pointer-events:none}.audio-timeline-selection,.timeline-selection{position:absolute;top:0;bottom:0;background:transparent;border-left:2px solid #667eea;border-right:2px solid #667eea;pointer-events:none;overflow:hidden}.audio-timeline-selection:before,.timeline-selection:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background:rgba(102,126,234,.2)}.timeline-selection canvas{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover}.audio-timeline-handle,.timeline-handle{position:absolute;top:0;bottom:0;width:12px;background:#667eea;cursor:ew-resize;z-index:1;transition:background .2s ease}.audio-timeline-handle:hover,.timeline-handle:hover{background:#5568d3}.audio-timeline-handle:active,.timeline-handle:active{background:#4451b8}.audio-timeline-handle-start,.timeline-handle-start{left:0;border-radius:8px 0 0 8px}.audio-timeline-handle-end,.timeline-handle-end{right:0;border-radius:0 8px 8px 0}.audio-timeline-playhead,.timeline-playhead{position:absolute;top:0;bottom:0;width:2px;background:hsla(0,0%,100%,.9);transform:translateX(-50%);pointer-events:none;z-index:2;box-shadow:0 0 4px rgba(0,0,0,.5)}.timeline-labels{display:flex;justify-content:space-between;font-size:13px;color:#666;font-weight:500}.audio-timeline-container{width:100%;margin-top:15px;padding:15px;background:#f5f5f5;border-radius:8px;margin-bottom:0}.crop-btn{position:absolute;top:12px;left:12px;width:auto;padding:8px 16px;height:auto;background:#000;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:14px;font-weight:500;z-index:3}.crop-btn:hover{background:#333}.crop-container{flex-direction:column;user-select:none;-webkit-user-select:none}.crop-canvas-wrapper,.crop-container{position:relative;width:100%;height:100%;display:flex;align-items:center;justify-content:center}.crop-canvas{max-width:100%;max-height:100%;display:block}.crop-overlay{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;z-index:3}.crop-selection{border:2px solid #667eea;box-shadow:0 0 0 9999px rgba(0,0,0,.5);cursor:move}.crop-handle,.crop-selection{position:absolute;pointer-events:auto}.crop-handle{width:12px;height:12px;background:#667eea;border:2px solid #fff;border-radius:50%;z-index:4}.crop-handle.nw{top:-6px;left:-6px;cursor:nw-resize}.crop-handle.ne{top:-6px;right:-6px;cursor:ne-resize}.crop-handle.sw{bottom:-6px;left:-6px;cursor:sw-resize}.crop-handle.se{bottom:-6px;right:-6px;cursor:se-resize}.crop-handle.n{top:-6px;left:50%;margin-left:-6px;cursor:n-resize}.crop-handle.s{bottom:-6px;left:50%;margin-left:-6px;cursor:s-resize}.crop-handle.w{top:50%;left:-6px;margin-top:-6px;cursor:w-resize}.crop-handle.e{top:50%;right:-6px;margin-top:-6px;cursor:e-resize}.crop-presets{position:absolute;bottom:25px;left:50%;transform:translateX(-50%);display:flex;gap:2px;padding:2px;background:hsla(0,0%,96%,.95);border-radius:8px;z-index:5}.crop-preset-btn{padding:8px;background:#fff;color:#333;border:2px solid #ddd;border-radius:4px;cursor:pointer;font-size:10px;font-weight:500;transition:all .2s}.crop-preset-btn:hover{border-color:#667eea;color:#667eea}.crop-preset-btn.active{background:#667eea;color:#fff;border-color:#667eea}.crop-actions{position:absolute;bottom:0;left:50%;transform:translateX(-50%);display:flex;gap:10px;z-index:5}.crop-actions button{padding:4px;min-width:60px;font-size:12px}.todo-box,.todo-container{display:flex;flex-direction:column;gap:0}.todo-container{width:100%}.todo-item{padding:16px 20px;cursor:pointer;transition:all .2s ease;border-bottom:1px solid hsla(0,0%,100%,.05);user-select:none}.todo-item:hover{background:hsla(0,0%,100%,.03)}.todo-item.completed .todo-text{text-decoration:line-through;color:#666}.todo-text{font-size:15px;line-height:1.5;transition:all .2s ease}.todo-counter{padding:16px 20px;text-align:center;font-size:14px;color:#888;border-top:1px solid hsla(0,0%,100%,.1);margin-top:auto}.todo-counter span{color:#4a9eff;font-weight:600}.loading-spinner{width:50px;height:50px;border:4px solid #f3f3f3;border-top:4px solid #fac400;border-radius:50%;animation:a 1s linear infinite}@keyframes a{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.loading-overlay{position:absolute;top:0;left:0;right:0;bottom:0;background:#fff;display:none;justify-content:center;align-items:center;z-index:7}.loading-overlay.active{display:flex}.loading-container{display:flex;flex-direction:column;align-items:center;gap:20px;width:80%;max-width:400px}.loading-percentage{font-size:48px;font-weight:700;color:#000;font-variant-numeric:tabular-nums}.loading-bar-wrapper{width:100%;height:8px;background:#f3f3f3;border-radius:4px;overflow:hidden}.loading-bar{height:100%;background:#fac400;width:0;transition:width .1s linear;border-radius:4px}.nav-buttons{position:fixed;right:20px;top:15%;transform:none;display:flex;flex-direction:column;gap:15px;z-index:6}.nav-btn{width:48px;height:48px;border-radius:50%;background:rgba(0,0,0,.6);color:#fff;border:none;cursor:pointer;font-size:20px;display:flex;align-items:center;justify-content:center;transition:all .3s;padding:0}.nav-btn svg{width:24px;height:24px}.nav-btn.up svg{transform:rotate(90deg)}.nav-btn.down svg{transform:rotate(-90deg)}.nav-btn:hover{background:rgba(0,0,0,.8)}.nav-btn.hidden{display:none}.add-text-modal{display:none;position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.7);z-index:9;align-items:center;justify-content:center}.add-text-modal-content{background:#fff;border:1px solid #e0e0e0;border-radius:8px;padding:24px;width:400px;max-width:90%}.add-text-modal-content h3{margin:0 0 16px;color:#333;font-size:18px}#addTextInput{width:100%;min-height:100px;padding:12px;background:#f9f9f9;border:1px solid #e0e0e0;border-radius:4px;color:#333;font-family:inherit;font-size:14px;resize:vertical;margin-bottom:8px}.add-text-counter{text-align:right;color:#666;font-size:12px;margin-bottom:16px}.add-text-actions{display:flex;gap:8px;justify-content:flex-end}.add-text-actions button{padding:8px 16px;border:1px solid #e0e0e0;border-radius:4px;background:#fff;color:#333;cursor:pointer;font-size:14px}.add-text-actions button:hover{background:#f5f5f5}#addTextApply{background:#06f!important;border-color:#06f!important;color:#fff}#addTextApply:hover{background:#0052cc!important}.language-modal{display:none;position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.8);z-index:9;align-items:center;justify-content:center}.language-modal.active{display:flex}.language-modal-content{background:#fff;border-radius:12px;width:90%;max-width:400px;max-height:500px;display:flex;flex-direction:column;overflow:hidden}.language-modal-header{padding:20px;border-bottom:1px solid #e0e0e0;display:flex;justify-content:space-between;align-items:center}.language-modal-title{font-size:18px;font-weight:600;color:#333}.language-modal-close,.modal-close{background:none;border:none;color:#666;font-size:24px;cursor:pointer;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center}.language-modal-close:hover,.modal-close:hover{background:inherit;color:#000}.language-modal-list{flex:1;overflow-y:auto;padding:8px}.language-modal-list::-webkit-scrollbar{width:8px}.language-modal-list::-webkit-scrollbar-track{background:#f5f5f5}.language-modal-list::-webkit-scrollbar-thumb{background:#ccc;border-radius:4px}.language-option{padding:16px 20px;margin:4px 0;background:#f9f9f9;border:2px solid transparent;border-radius:8px;cursor:pointer;display:flex;justify-content:space-between;align-items:center;transition:all .2s}.language-option:hover{background:#f0f0f0}.language-option.selected{border-color:#005ad2}.language-option-text{font-size:16px;font-weight:500;color:#333}.language-option-indicator{width:12px;height:12px;border-radius:50%;background:transparent;transition:background .2s}.language-option.selected .language-option-indicator{background:#005ad2}.outfit-modal-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;padding:5px;overflow-y:auto}.outfit-modal-grid::-webkit-scrollbar{width:8px}.outfit-modal-grid::-webkit-scrollbar-track{background:#f5f5f5}.outfit-modal-grid::-webkit-scrollbar-thumb{background:#ccc;border-radius:4px}.outfit-grid-option{border:3px solid transparent;border-radius:16px;cursor:pointer;transition:all .2s;display:flex;flex-direction:column;background:#f9f9f9;position:relative;overflow:hidden;min-height:150px}.outfit-grid-option:hover{border-color:#005ad2}.outfit-grid-option:hover .outfit-grid-label{background:#005ad2;color:#fff}.outfit-grid-option.selected{border-color:#005ad2}.outfit-grid-option img{width:100%;height:120px;object-fit:cover;border-radius:12px 12px 0 0;display:block;flex-shrink:0}.outfit-grid-option img.lazy-load{background:#f0f0f0;min-height:120px;max-height:120px}.outfit-grid-label{flex-shrink:0;padding:8px 4px;height:30px;display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:600;color:#000;text-align:center;background:#ddd;border-bottom-left-radius:12px;border-bottom-right-radius:12px}.outfit-grid-option.selected .outfit-grid-label{color:#005ad2}#loginModal{display:none;position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.7);z-index:9;align-items:center;justify-content:center}#loginModal.active{display:flex}#loginModal .language-modal-content{background:#fff;border:1px solid #e0e0e0;border-radius:8px;padding:0;max-width:350px}#loginModal .language-modal-header{padding:20px;border-bottom:1px solid #e0e0e0}#loginModal .language-modal-title{font-size:18px;font-weight:600;color:#333}#loginModal .language-modal-close{background:none;border:none;color:#666;font-size:24px;cursor:pointer;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center}#loginModal .language-modal-close:hover{background:inherit;color:#000}#loginEmailInput{width:100%;padding:12px;background:#f9f9f9;border:1px solid #e0e0e0;border-radius:4px;color:#333;font-family:inherit;font-size:14px;margin-bottom:15px}#loginEmailInput:focus{outline:none;border-color:#06f}#loginSubmitBtn{width:100%;padding:12px;background:#06f;border:1px solid #06f;color:#fff;border-radius:4px;cursor:pointer;font-size:14px;font-weight:600}#loginSubmitBtn:hover{background:#0052cc;border-color:#0052cc}#loginError{color:red;font-size:13px;margin-top:10px;display:none}#verificationModal{display:none;position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.7);z-index:9;align-items:center;justify-content:center}#verificationModal.active{display:flex}#verificationModal .modal-content{background:#fff;border:1px solid #e0e0e0;border-radius:8px;padding:24px;width:400px;max-width:90%;position:relative}#verificationModal h2{margin:0 0 8px;color:#333;font-size:18px;font-weight:600}#verificationModal p{color:#666;font-size:14px;margin-bottom:20px}.error-message{color:red;font-size:13px;margin-bottom:12px;padding:8px;background:#fff0f0;border:1px solid #fcc;border-radius:4px}#verificationCodeInput{width:100%;padding:12px;background:#f9f9f9;border:1px solid #e0e0e0;border-radius:4px;color:#333;font-family:inherit;font-size:24px;text-align:center;letter-spacing:8px;margin-bottom:16px}#verificationCodeInput:focus{outline:none;border-color:#06f}.primary-btn{width:100%;padding:12px;background:#06f;border:1px solid #06f;color:#fff;border-radius:4px;cursor:pointer;font-size:14px;font-weight:600;margin-bottom:8px}.primary-btn:hover{background:#0052cc;border-color:#0052cc}.secondary-btn{width:100%;padding:12px;background:#fff;border:1px solid #e0e0e0;color:#333;border-radius:4px;cursor:pointer;font-size:14px;font-weight:500}.secondary-btn:hover{background:#f5f5f5}.buy-modal-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:15px;padding:20px;max-height:500px;overflow-y:auto}.buy-modal-grid::-webkit-scrollbar{width:6px}.buy-modal-grid::-webkit-scrollbar-track{background:#f5f5f5}.buy-modal-grid::-webkit-scrollbar-thumb{background:#ccc;border-radius:3px}.buy-option{background:#f9f9f9;border:2px solid #e0e0e0;border-radius:12px;padding:20px;display:flex;flex-direction:column;align-items:center;gap:8px;position:relative;transition:all .2s}.buy-option:hover{border-color:#005ad2;transform:translateY(-2px)}.buy-header{display:flex;align-items:center;gap:4px}.buy-coin-icon{width:24px;height:24px;object-fit:contain}.buy-amount{font-size:20px;font-weight:700;color:#000}.buy-price{font-size:16px;font-weight:600;color:#666}.buy-badge{position:absolute;top:4px;right:4px;background:#ffd502;color:#000;padding:2px 4px;border-radius:4px;font-size:10px;font-weight:700;text-transform:uppercase}.buy-select-btn{width:100%;padding:10px;background:#000;color:#fff;border:none;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s}.buy-select-btn:hover{background:#005ad2}.template-screen{display:flex;flex-direction:column;height:100%;padding:0}.template-text-area{flex:1;padding:20px;display:flex;flex-direction:column}.template-text-area textarea{width:100%;flex:1;min-height:150px;max-height:none;border:2px dashed #636363;border-radius:.5rem;padding:12px;resize:none;font-size:14px;line-height:1.6;font-family:inherit;overflow:auto;box-shadow:0 0 1px 0 #22242d1f,0 -1px 3px 0 #22242d0a,0 1px 2px -5px #22242d0a,0 2px 5px -5px #22242d1f,0 4px 12px -5px #22242d3d,0 12px 15px -5px #22242d0f}.template-image-area{flex:1;padding:20px;display:flex;flex-direction:column;gap:12px}.template-image-box{flex:1;min-height:200px;max-height:calc(80vh - 200px);background:rgba(0,0,0,.02);border:2px dashed #636363;border-radius:.5rem;display:flex;align-items:center;justify-content:center;overflow:hidden;box-shadow:0 0 1px 0 #22242d1f,0 -1px 3px 0 #22242d0a,0 1px 2px -5px #22242d0a,0 2px 5px -5px #22242d1f,0 4px 12px -5px #22242d3d,0 12px 15px -5px #22242d0f}.template-image-preview{max-width:100%;max-height:100%;object-fit:contain}.template-image-placeholder{color:#999;font-size:14px;text-align:center;padding:20px}.template-upload-btn{padding:12px 24px;background:#000;color:#fff;border:none;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;transition:background .2s}.template-upload-btn:hover{background:#333}.template-controls{height:20%;min-height:120px;border-top:2px solid #e0e0e0;padding:15px 20px;display:flex;flex-direction:column;gap:12px;background:#f9f9f9}.template-control-label{font-size:12px;font-weight:600;color:#666;text-transform:uppercase;letter-spacing:.5px}.template-selector{flex:1;padding:12px 16px;background:#fff;border:2px solid #e0e0e0;border-radius:8px;cursor:pointer;display:flex;align-items:center;gap:12px;justify-content:space-between;transition:all .2s}.template-selector:hover{border-color:#000}.template-selector img{width:40px;height:40px;object-fit:cover;border-radius:6px;flex-shrink:0}.template-selector-text{font-size:15px;font-weight:500;color:#333}.template-selector-arrow{font-size:18px;color:#999}.template-submit-btn{width:100%;padding:14px;background:#000;color:#fff;border:none;border-radius:8px;font-size:15px;font-weight:600;cursor:pointer;transition:background .2s}.template-submit-btn:hover{background:#333}.template-submit-btn:disabled{background:#999;cursor:not-allowed}.template-dual-image-area{flex:1;padding:20px;display:flex;flex-direction:column;gap:20px;overflow-y:auto}.template-dual-image-section{flex:1;display:flex;flex-direction:column;gap:10px;min-height:0}.template-image-box-small{max-height:35vh}.template-dual-image-area .template-control-label{font-size:13px;font-weight:600;color:#666;text-transform:uppercase;letter-spacing:.5px;margin:0}.template-dual-image-section .template-image-box{min-height:150px;max-height:calc(40vh - 150px)}.consent-notice{font-size:10px;margin:10px}@media (max-width:768px){.nav-buttons{display:none}.app-container{border-radius:0}.button-group{grid-template-columns:repeat(2,1fr)}}