:root{--background:220 20% 97%;--foreground:222 47% 11%;--card:0 0% 100%;--primary:222 47% 20%;--primary-foreground:210 40% 98%;--secondary:215 25% 93%;--muted:215 20% 94%;--muted-foreground:215 16% 47%;--accent:12 85% 60%;--accent-foreground:0 0% 100%;--border:214 20% 88%;--destructive:0 84% 60%;--heading:#c7222a;--radius:0.75rem;--shadow-soft:0 4px 20px -4px rgba(0,0,0,.08);--shadow-card:0 8px 32px -8px rgba(0,0,0,.12)}*{box-sizing:border-box}body,html{margin:0;min-height:100%}body{background:hsl(var(--background));color:hsl(var(--foreground));font-family:Helvetica Neue,Arial,sans-serif}.page{min-height:100vh;background:linear-gradient(180deg,#f6f7f9,#e9ecf2)}.wrap{max-width:880px;margin:0 auto;padding:32px 24px 80px}.brand-header{display:flex;flex-direction:column;align-items:center;margin-bottom:16px}.brand-logo{height:40px;width:auto;margin-bottom:10px}.eyebrow{font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:hsl(var(--muted-foreground));font-weight:600;margin:0}h1{font-size:30px;margin:0 0 8px;letter-spacing:0;color:hsl(var(--foreground));font-weight:800}.sub,h1{text-align:center}.sub{color:hsl(var(--muted-foreground));margin:0 0 28px;font-size:15px;line-height:1.5}.card{background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:20px;box-shadow:var(--shadow-card);padding:28px 24px}.field{margin-bottom:18px}label{display:block;font-size:13px;font-weight:600;margin-bottom:6px;color:hsl(var(--foreground))}input[type=text],textarea{width:100%;padding:12px 14px;border:1px solid hsl(var(--border));border-radius:10px;font-size:15px;background:#fff;color:hsl(var(--foreground));font-family:inherit}textarea{resize:vertical;min-height:84px;line-height:1.45}input[type=text]:focus,textarea:focus{outline:2px solid hsl(var(--primary));outline-offset:1px}.name-row{display:grid;grid-template-columns:1fr 1fr;grid-gap:14px;gap:14px}.photo-actions{gap:16px;margin:8px 0 20px;flex-wrap:wrap}.photo-actions,.photo-choice{display:flex;justify-content:center}.photo-choice{width:168px;height:168px;border-radius:18px;border:2px dashed hsl(var(--border));background:hsl(var(--secondary));color:hsl(var(--muted-foreground));flex-direction:column;align-items:center;gap:10px;cursor:pointer;font-size:14px;font-weight:600;transition:border-color .2s,transform .2s}.photo-choice:hover{border-color:hsl(var(--accent));transform:translateY(-2px)}.photo-choice svg{width:36px;height:36px}.camera-frame,.selfie-preview{width:180px;height:180px;border-radius:50%;overflow:hidden;margin:0 auto 18px;border:4px solid rgba(240,101,66,.45);background:#111;position:relative}.camera-frame video,.selfie-preview img{width:100%;height:100%;object-fit:cover}.camera-frame video{transform:scaleX(-1)}.btn-row{display:flex;justify-content:center;gap:12px;flex-wrap:wrap}button{font-family:inherit}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:13px 22px;border:none;border-radius:12px;font-size:15px;font-weight:650;cursor:pointer;transition:opacity .15s,transform .15s}.btn:disabled{opacity:.5;cursor:not-allowed}.btn-primary{background:hsl(var(--primary));color:hsl(var(--primary-foreground))}.btn-block{width:100%}.btn-accent{background:hsl(var(--accent));color:hsl(var(--accent-foreground))}.btn-outline{background:transparent;color:hsl(var(--foreground));border:1px solid hsl(var(--border))}.btn-ghost{background:transparent;color:hsl(var(--muted-foreground));padding:8px 12px;font-size:13px}.btn:hover:not(:disabled){transform:translateY(-1px)}.linkish{display:block;margin:14px auto 0;background:none;border:none;color:hsl(var(--muted-foreground));font-size:13px;cursor:pointer}input[type=file]{display:none}.msg{margin-top:16px;padding:12px 14px;border-radius:10px;font-size:14px;text-align:center}.msg.error{background:#fdecec;color:hsl(var(--destructive))}.status-list{display:grid;grid-gap:10px;gap:10px;max-width:420px;margin:0 auto 20px}.status-item{display:flex;align-items:center;gap:10px;padding:12px 14px;border-radius:12px;border:1px solid hsl(var(--border));background:hsl(var(--secondary))}.status-item.processing{border-color:rgba(240,101,66,.55);background:rgba(240,101,66,.08)}.status-item.done{border-color:#86d9a0;background:#edf9f1}.status-item.failed{border-color:#f3b4b4;background:#fdecec}.status-dot{width:16px;height:16px;border-radius:50%;border:2px solid hsl(var(--border));flex-shrink:0}.status-item.processing .status-dot{border-color:hsl(var(--accent));border-top-color:transparent;animation:spin .8s linear infinite}.status-item.done .status-dot{background:#22c55e;border-color:#22c55e}.status-item.failed .status-dot{background:hsl(var(--destructive));border-color:hsl(var(--destructive))}@keyframes spin{to{transform:rotate(1turn)}}.cover-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:14px;gap:14px;max-width:440px;margin:0 auto 22px}.cover-card{position:relative;aspect-ratio:2/3;border-radius:16px;overflow:hidden;border:3px solid transparent;background:hsl(var(--secondary));cursor:pointer;box-shadow:var(--shadow-soft);padding:0}.cover-card.selected{border-color:hsl(var(--accent));box-shadow:0 0 0 4px rgba(240,101,66,.18)}.cover-card .cover-fallback,.cover-card img{width:100%;height:100%;object-fit:cover;display:block}.cover-fallback{display:flex;align-items:center;justify-content:center;color:hsl(var(--muted-foreground));font-size:13px;padding:12px;text-align:center}.cover-label{left:10px;bottom:10px;background:rgba(0,0,0,.65);font-size:12px;font-weight:700;padding:5px 9px;border-radius:999px}.cover-check,.cover-label{position:absolute;color:#fff}.cover-check{top:10px;right:10px;width:26px;height:26px;border-radius:50%;background:hsl(var(--accent));display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:800}.selected-cover{max-width:240px;margin:0 auto 22px;aspect-ratio:2/3;border-radius:18px;overflow:hidden;box-shadow:var(--shadow-card)}.selected-cover img{width:100%;height:100%;object-fit:cover;display:block}.thanks-icon{width:72px;height:72px;border-radius:50%;background:hsl(var(--accent));color:#fff;align-items:center;font-size:34px;margin:0 auto 18px}.steps,.thanks-icon{display:flex;justify-content:center}.steps{gap:8px;margin-bottom:22px}.step-pip{width:8px;height:8px;border-radius:50%;background:hsl(var(--border))}.step-pip.active{background:hsl(var(--accent));width:22px;border-radius:999px}@media (max-width:640px){.wrap{padding:24px 16px 64px}h1{font-size:24px}.name-row{grid-template-columns:1fr}.photo-choice{width:140px;height:140px}.cover-grid{gap:10px}}