*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:#0f0f0f;color:#fff;overscroll-behavior:none}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#000000bf;display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem}.modal{background:#1a1a2e;border:1px solid #2d2d5e;border-radius:16px;width:100%;max-width:480px;max-height:90vh;overflow-y:auto;padding:2rem}.modal h2{font-size:1.4rem;font-weight:700;margin-bottom:1.5rem;color:#f1f1f1}.step-indicator{display:flex;gap:.5rem;margin-bottom:1.5rem}.step{flex:1;height:4px;border-radius:2px;background:#333;transition:background .3s}.step.active{background:#e11d48}.field{margin-bottom:1rem}.field label{display:block;font-size:.8rem;font-weight:600;color:#aaa;text-transform:uppercase;letter-spacing:.05em;margin-bottom:.4rem}.field input,.field textarea{width:100%;background:#0d0d1a;border:1px solid #333;border-radius:8px;padding:.65rem .9rem;color:#fff;font-size:.9rem;outline:none;transition:border-color .2s}.field input:focus,.field textarea:focus{border-color:#e11d48}.upload-area{border:2px dashed #444;border-radius:12px;padding:2rem;text-align:center;cursor:pointer;transition:border-color .2s}.upload-area:hover,.upload-area.drag-over{border-color:#e11d48;background:#e11d480d}.upload-area img{max-width:100%;max-height:120px;border-radius:8px;object-fit:contain}.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:.75rem 1.5rem;border-radius:10px;font-weight:600;font-size:.95rem;cursor:pointer;border:none;transition:all .2s;width:100%}.btn-primary{background:#e11d48;color:#fff}.btn-primary:hover{background:#be123c}.btn-primary:disabled{background:#555;cursor:not-allowed}.btn-secondary{background:#222;color:#ddd;border:1px solid #444}.btn-secondary:hover{background:#333}.error{color:#f87171;font-size:.85rem;margin-top:.5rem}.price-box{background:#e11d481a;border:1px solid rgba(225,29,72,.3);border-radius:12px;padding:1rem 1.25rem;margin-bottom:1.25rem}.price-box .price{font-size:2.5rem;font-weight:800;color:#e11d48}.price-box .price-detail{font-size:.85rem;color:#aaa;margin-top:.25rem}.tooltip{position:fixed;background:#000000e6;border:1px solid #333;border-radius:8px;padding:.5rem .75rem;font-size:.8rem;pointer-events:none;z-index:500;max-width:200px;white-space:nowrap;transform:translate(12px,-50%)}.header{padding:1rem 1.5rem;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #1a1a1a;background:#0a0a0a}.header h1{font-size:1.1rem;font-weight:700;background:linear-gradient(135deg,#e11d48,#f97316);-webkit-background-clip:text;-webkit-text-fill-color:transparent}.header-info{font-size:.75rem;color:#666}.canvas-wrapper{position:relative;overflow:auto;flex:1;cursor:crosshair;background:#111}.canvas-wrapper canvas{display:block}.controls{position:fixed;bottom:1rem;right:1rem;display:flex;flex-direction:column;gap:.5rem;z-index:100}.ctrl-btn{width:40px;height:40px;border-radius:10px;background:#1a1a1a;border:1px solid #333;color:#fff;font-size:1.1rem;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .2s}.ctrl-btn:hover{background:#e11d48}.info-bar{position:fixed;bottom:1rem;left:1rem;background:#000c;border:1px solid #222;border-radius:8px;padding:.5rem .75rem;font-size:.75rem;color:#aaa;z-index:100}.select-hint{background:#e11d4826;border:1px solid rgba(225,29,72,.4);border-radius:8px;padding:.35rem .75rem;font-size:.75rem;color:#f87171}.success-page{min-height:100vh;display:flex;align-items:center;justify-content:center;background:#0f0f0f;padding:2rem}.success-card{background:#1a1a2e;border:1px solid #2d2d5e;border-radius:20px;padding:2.5rem;max-width:480px;width:100%;text-align:center}.success-icon{font-size:4rem;margin-bottom:1rem}.success-card h1{font-size:1.75rem;font-weight:800;margin-bottom:.75rem}.success-card p{color:#aaa;line-height:1.6;margin-bottom:1.5rem}
