@import"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap";*{box-sizing:border-box;margin:0;padding:0;font-family:Inter,system-ui,sans-serif}body{background:#f8fafc;color:#0f172a;-webkit-font-smoothing:antialiased;overflow-x:hidden}html,body{scrollbar-width:none;-ms-overflow-style:none}html::-webkit-scrollbar,body::-webkit-scrollbar{display:none}.app-container{min-height:100vh;display:flex;flex-direction:column}.header{background:#fff;padding:16px 32px;display:flex;align-items:center;border-bottom:1px solid #e2e8f0}.logo{display:flex;align-items:center;gap:10px;color:#3b82f6;font-weight:700;font-size:1.25rem}.logo svg{width:28px;height:28px}.logo span{color:#0f172a;letter-spacing:-.5px}.main{width:100%;max-width:1000px;margin:0 auto;padding:32px 20px;display:flex;flex-direction:column;gap:24px}.input-bar,.tools,.preview{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:24px;box-shadow:0 4px 6px -1px #0000000d,0 2px 4px -1px #00000008;min-width:0;width:100%}.input-bar{display:flex;align-items:center;gap:12px;padding:16px 24px}.input-bar input{flex:1;padding:16px;font-size:1rem;border:1px solid #cbd5e1;border-radius:12px;outline:none;transition:.2s;background:#f8fafc;color:#0f172a}.input-bar input:focus{border-color:#3b82f6;background:#fff;box-shadow:0 0 0 3px #3b82f626}.input-bar input::placeholder{color:#94a3b8}.btn-arrow{width:52px;height:52px;border-radius:12px;border:none;background:#3b82f6;color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;flex-shrink:0;transition:.2s}.btn-arrow svg{width:22px;height:22px}.btn-arrow:hover{background:#2563eb;transform:translate(2px)}.input-wrap{display:flex;flex-direction:column;gap:8px}.limit-error{display:flex;align-items:center;gap:8px;color:#ef4444;font-size:.9rem;font-weight:500;padding:0 12px}.limit-error svg{width:18px;height:18px}.workspace{display:grid;grid-template-columns:1fr 340px;gap:24px;align-items:start}.tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:24px;padding-bottom:16px}.tab{padding:10px 16px;border-radius:8px;background:transparent;border:1px solid transparent;color:#64748b;font-weight:500;font-size:.95rem;cursor:pointer;transition:.2s}.tab:hover{color:#0f172a;background:#f8fafc;border-color:#e2e8f0}.tab.active{background:#eff6ff;color:#2563eb;border-color:#bfdbfe;font-weight:600}.tool-content{animation:fade .2s}@keyframes fade{0%{opacity:0}to{opacity:1}}.flex-col{display:flex;flex-direction:column;gap:16px}.color-row{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px}.color-row span:first-child{font-weight:500;color:#334155}.color-picker-wrap{display:flex;align-items:center;gap:10px}.color-picker-wrap span{font-family:monospace;font-size:.85rem;font-weight:600;color:#475569}input[type=color]{appearance:none;-webkit-appearance:none;border:none;cursor:pointer;width:32px;height:32px;background:none;padding:0}input[type=color]::-webkit-color-swatch-wrapper{padding:0}input[type=color]::-webkit-color-swatch{border:1px solid #cbd5e1;border-radius:8px}.grid-btn{display:grid;grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:12px}.btn-select{padding:14px;background:#fff;border:1px solid #e2e8f0;border-radius:10px;font-weight:500;color:#475569;cursor:pointer;transition:.2s;font-size:.95rem;display:flex;align-items:center;justify-content:center}.btn-select:hover{border-color:#94a3b8;background:#f8fafc}.btn-select.active{background:#eff6ff;border-color:#3b82f6;color:#2563eb;font-weight:600}.upload-box{display:flex;flex-direction:column;align-items:center;gap:12px;padding:32px;border:2px dashed #cbd5e1;border-radius:12px;color:#64748b;font-size:.95rem;cursor:pointer;transition:.2s;background:#f8fafc}.upload-box:hover{border-color:#3b82f6;color:#3b82f6;background:#eff6ff}.upload-box svg{width:32px;height:32px}.logo-preview{display:flex;align-items:center;gap:20px;background:#f8fafc;padding:16px;border-radius:12px;border:1px solid #e2e8f0}.logo-preview img{width:60px;height:60px;object-fit:contain;background:#fff;border-radius:8px;border:1px solid #e2e8f0;padding:4px}.logo-actions{display:flex;flex-direction:column;gap:8px}.btn-sm{padding:8px 16px;background:#fff;border:1px solid #cbd5e1;border-radius:8px;font-size:.85rem;font-weight:500;cursor:pointer;text-align:center}.btn-sm:hover{background:#f1f5f9}.btn-sm.danger{color:#ef4444;border-color:#fca5a5}.btn-sm.danger:hover{background:#fef2f2}.preview{display:flex;flex-direction:column;gap:20px;align-items:center}.qr-box{background:#f8fafc;border:1px dashed #cbd5e1;border-radius:12px;display:flex;align-items:center;justify-content:center;width:100%;height:320px;padding:24px;overflow:hidden}.empty-message{text-align:center;color:#94a3b8}.empty-message svg{width:32px;height:32px;margin-bottom:8px}.empty-message p{font-size:.9rem}.btn-dl{width:100%;padding:16px;border-radius:12px;background:#3b82f6;color:#fff;font-size:1rem;font-weight:600;border:none;cursor:pointer;display:flex;justify-content:center;align-items:center;gap:10px;transition:.2s}.btn-dl svg{width:22px;height:22px}.btn-dl:hover:not(:disabled){background:#2563eb}.btn-dl:disabled{opacity:.6;cursor:not-allowed;background:#94a3b8}.qr-render{display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative}.qr-actual{position:relative;overflow:hidden}.reveal-mask{position:absolute;inset:0;display:flex;flex-direction:column;pointer-events:none;z-index:10;border-radius:inherit;overflow:hidden}.reveal-bar{flex:1;width:100%;animation:revFade .2s linear forwards}@keyframes revFade{0%{opacity:1}to{opacity:0}}.scan-laser{position:absolute;top:0;left:0;width:100%;height:2px;background:#3b82f6cc;box-shadow:0 0 10px #3b82f6cc;z-index:11;animation:sLaser .6s linear forwards;pointer-events:none}@keyframes sLaser{0%{top:0;opacity:0}10%{opacity:1}90%{opacity:1}to{top:100%;opacity:0}}@media(max-width:800px){.workspace{display:flex;flex-direction:column-reverse;gap:24px}.header{padding:16px 20px}.main{padding:24px 16px;gap:20px}.input-bar,.tools,.preview{padding:20px}.grid-btn{grid-template-columns:repeat(2,1fr)}.tabs{justify-content:flex-start;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;scrollbar-width:none;-ms-overflow-style:none;padding-bottom:12px}.tabs::-webkit-scrollbar{display:none}.tab{flex-shrink:0;white-space:nowrap}}@media(max-width:480px){.input-bar{padding:12px 16px}.btn-arrow{width:48px;height:48px}.btn-arrow:hover{transform:none}.input-bar,.tools,.preview{padding:16px}.tab{padding:8px 12px;font-size:.9rem}.qr-box{height:320px}}
