.select{position:relative}.select .select-input{appearance:none;cursor:pointer;padding-right:40px}.select .select-input:disabled{cursor:not-allowed;opacity:.6}.select .select-icon{width:18px;height:18px;color:var(--muted);pointer-events:none;position:absolute;top:50%;right:14px;transform:translateY(-50%)}.booth{text-align:left;width:100%;max-width:1240px}.booth-header{text-align:center;margin-bottom:24px}.booth-header h1{margin:0}.booth-header p{color:var(--muted);margin:6px 0 0}.booth-layout{grid-template-columns:340px minmax(0,1fr);align-items:start;gap:32px;display:grid}.booth-controls{scrollbar-width:none;border:1px solid var(--surface);background:color-mix(in srgb, var(--surface) 45%, transparent);border-radius:16px;flex-direction:column;max-height:calc(100vh - 104px);display:flex;position:sticky;top:88px;overflow-y:auto}.booth-controls::-webkit-scrollbar{display:none}.booth-section{border-bottom:1px solid var(--surface);flex-direction:column;gap:12px;padding:18px 20px;display:flex}.booth-section h2{color:var(--muted);letter-spacing:.08em;text-transform:uppercase;margin:0;font-size:.75rem;font-weight:700}.booth-hint{color:var(--muted);margin:0;font-size:.85rem;line-height:1.45}.booth-hint a{color:var(--accent)}.booth-segmented{grid-template-columns:repeat(3,1fr);gap:6px;display:grid}.booth-segmented button{border:1px solid var(--border);background:var(--bg);color:var(--text);font:inherit;text-align:left;cursor:pointer;border-radius:10px;flex-direction:column;gap:2px;padding:9px 10px;display:flex}.booth-segmented button[aria-checked=true]{border-color:var(--accent);background:var(--accent-bg);box-shadow:inset 0 0 0 1px var(--accent)}.booth-segmented-label{font-weight:600}.booth-segmented-detail{color:var(--muted);font-size:.78rem;line-height:1.3}.booth-thumbs{grid-template-columns:repeat(4,1fr);gap:8px;margin:0;padding:0;list-style:none;display:grid}.booth-thumbs li{aspect-ratio:1;position:relative}.booth-thumb{border:1px dashed var(--border);background:var(--bg);width:100%;height:100%;color:var(--muted);cursor:pointer;border-radius:8px;place-items:center;padding:0;font-size:1.1rem;transition:border-color .15s,color .15s;display:grid;overflow:hidden}.booth-thumb:hover{border-color:var(--accent);color:var(--accent)}.has-photo .booth-thumb{border-style:solid}.booth-thumb img{object-fit:cover;width:100%;height:100%}.booth-thumb-number{color:#fff;text-align:center;background:#0009;border-radius:999px;min-width:18px;padding:1px 5px;font-size:.7rem;font-weight:700;line-height:16px;position:absolute;bottom:4px;left:4px}.booth-thumb-remove{border:2px solid var(--surface);color:#fff;cursor:pointer;background:#111827;border-radius:50%;place-items:center;width:22px;height:22px;padding:0;font-size:12px;display:grid;position:absolute;top:-6px;right:-6px}.booth-thumb-remove:hover{background:#dc2626}.booth-thumb:focus-visible,.booth-thumb-remove:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.booth-field{flex-direction:column;gap:6px;font-size:.9rem;font-weight:500;display:flex}.booth-field input,.booth-field select{box-sizing:border-box;border:1px solid var(--border);background:var(--bg);width:100%;color:var(--text);font:inherit;border-radius:8px;padding:9px 11px;font-weight:400}.booth-switch{cursor:pointer;align-items:center;gap:10px;font-size:.9rem;display:flex}.booth-switch input{opacity:0;pointer-events:none;position:absolute}.booth-switch-track{background:var(--border);border-radius:999px;flex-shrink:0;width:38px;height:22px;transition:background .15s;position:relative}.booth-switch-track:after{content:"";background:#fff;border-radius:50%;width:16px;height:16px;transition:transform .15s;position:absolute;top:3px;left:3px}.booth-switch input:checked+.booth-switch-track{background:var(--accent)}.booth-switch input:checked+.booth-switch-track:after{transform:translate(16px)}.booth-switch input:focus-visible+.booth-switch-track{outline:2px solid var(--accent);outline-offset:2px}.booth-stepper{justify-content:space-between;align-items:center;gap:12px;font-size:.9rem;font-weight:500;display:flex}.booth-stepper div{border:1px solid var(--border);border-radius:8px;align-items:center;display:flex;overflow:hidden}.booth-stepper button{background:var(--bg);width:36px;height:36px;color:var(--text);cursor:pointer;border:none;place-items:center;display:grid}.booth-stepper button:disabled{opacity:.4;cursor:default}.booth-stepper output{text-align:center;min-width:36px;font-weight:700}.booth-row{grid-template-columns:1fr 1fr;gap:8px;display:grid}.booth-button{border:1px solid var(--border);background:var(--bg);color:var(--text);font:inherit;cursor:pointer;border-radius:8px;justify-content:center;align-items:center;gap:8px;padding:9px 14px;font-size:.9rem;font-weight:600;display:inline-flex}.booth-button.wide{box-sizing:border-box;width:100%}.booth-button.primary{background:var(--accent);color:var(--bg);border-color:#0000;padding:13px 18px;font-size:1rem}.booth-button:disabled{opacity:.5;cursor:default}.booth-print{background:color-mix(in srgb, var(--surface) 70%, var(--bg));text-align:center;flex-direction:column;gap:8px;padding:16px 20px 18px;display:flex;position:sticky;bottom:0}.booth-notice{color:var(--accent);margin:0;font-size:.9rem;font-weight:600}.booth-segmented button:focus-visible,.booth-button:focus-visible,.booth-stepper button:focus-visible,.booth-field input:focus-visible,.booth-field select:focus-visible,.booth .slot:focus-visible{outline:2px solid var(--accent);outline-offset:2px}@media (width<=1000px){.booth-layout{grid-template-columns:minmax(0,1fr)}.booth-controls{width:100%;max-width:560px;max-height:none;margin:0 auto;position:static;overflow:visible}.booth-print{border-radius:0 0 16px 16px;position:static}}.booth-preview{flex-direction:column;align-items:center;min-width:0;display:flex}.booth-sheet-label{color:var(--muted);margin:0 0 8px;font-size:.85rem;font-weight:600}.booth-sheet+.booth-sheet-label{margin-top:32px}.booth-sheet{color:#111827;transform-origin:top;text-align:center;background:#fff;flex-shrink:0;width:8.5in;height:11in;position:relative;overflow:hidden;box-shadow:0 10px 40px #0000004d}.booth .slot{color:inherit;font:inherit;cursor:pointer;background:0 0;border:none;justify-content:center;align-items:center;padding:0;display:flex;position:absolute}.booth.mode-prints .slot{cursor:default}.booth .slot.filled{outline-offset:-.1mm;outline:.2mm dashed #c7c7c7}.booth .slot.free,.booth .slot.used{color:#9ca3af;font-size:3.5mm;font-weight:600}.booth .slot.free{outline-offset:-2mm;outline:.3mm dashed #d1d5db}.booth .slot.used{color:#6b7280;background:repeating-linear-gradient(45deg,#f3f4f6 0 2mm,#e5e7eb 2mm 4mm)}.booth.theme-classic{--print-title-font:system-ui, -apple-system, "Segoe UI", sans-serif;--print-title-weight:800;--print-title-spacing:.1mm;--print-title-size:4.4mm;--print-title:#111827;--print-date:#6b7280}.booth.theme-halloween{--print-title-font:"Creepster", system-ui, sans-serif;--print-title-weight:400;--print-title-spacing:.2mm;--print-title-size:4.6mm;--print-title:#dc2626;--print-date:#dc2626}.booth.theme-graduation{--print-title-font:"Cinzel", Georgia, serif;--print-title-weight:700;--print-title-spacing:.3mm;--print-title-size:4.2mm;--print-title:#1e3a8a;--print-date:#a16207}.booth .strip{box-sizing:border-box;color:#111827;flex-direction:column;flex-shrink:0;gap:3mm;width:2.125in;height:5.5in;padding:5mm 5mm 0;display:flex;position:relative}.booth .photo{color:#9ca3af;-webkit-print-color-adjust:exact;print-color-adjust:exact;background:#e5e7eb;flex-shrink:0;justify-content:center;align-items:center;width:43.975mm;height:27mm;font-size:4mm;font-weight:600;display:flex;overflow:hidden}.booth .photo img{object-fit:cover;width:100%;height:100%;display:block}.booth button.photo{cursor:pointer;border:none;padding:0;font-family:inherit;position:relative}.booth .photo-empty{flex-direction:column;align-items:center;gap:.6mm;display:flex}.booth .photo-hint{opacity:0;font-size:2.4mm;font-weight:600;transition:opacity .15s}.booth .photo-change{color:#fff;background:#111827b3;padding:1mm 0;position:absolute;inset:auto 0 0}.booth .strip.print .photo-hint{font-size:4mm}.booth button.photo:hover .photo-hint,.booth button.photo:focus-visible .photo-hint,.booth button.photo.dragging .photo-hint{opacity:1}.booth button.photo:hover,.booth button.photo.dragging{box-shadow:inset 0 0 0 .6mm #2563eb}.booth button.photo:not(.has-photo):hover,.booth button.photo.dragging:not(.has-photo){color:#2563eb;background:#dbeafe}.booth button.photo:focus-visible{outline-offset:.3mm;outline:.6mm solid #2563eb}.booth .footer{flex-direction:column;flex:1;justify-content:center;align-items:center;line-height:1.2;display:flex}.booth .footer .title,.booth .back .title{font-family:var(--print-title-font);font-size:var(--print-title-size);font-weight:var(--print-title-weight);letter-spacing:var(--print-title-spacing);color:var(--print-title);overflow-wrap:anywhere}.booth .footer .date{color:var(--print-date);margin-top:1mm;font-size:2.6mm}.booth .strip.print{width:4in;height:5in}.booth .strip.print .photo{width:91.6mm;height:94mm}.booth .strip.print .footer .title{font-size:calc(var(--print-title-size) * 1.6)}.booth .strip.print .footer .date{font-size:3.6mm}.booth .decor{pointer-events:none;position:absolute}.booth .decor-top-left{width:10mm;height:10mm;top:.5mm;left:.5mm;transform:rotate(-12deg)}.booth .decor-top-right{width:6mm;height:6mm;top:1mm;right:1.5mm;transform:rotate(12deg)}.booth .decor-top-right-small{width:4mm;height:4mm;top:3.5mm;right:9mm;transform:rotate(-10deg)}.booth .decor-middle-right{width:7mm;height:7mm;top:57mm;right:.5mm}.booth .decor-middle-left{width:6mm;height:6mm;top:88mm;left:.5mm}.booth .decor-bottom-left,.booth .decor-bottom-right{width:6mm;height:6mm;bottom:2mm}.booth .decor-bottom-left{left:3mm}.booth .decor-bottom-right{right:3mm}.booth .strip.print .decor-top-left{width:15mm;height:15mm}.booth .strip.print .decor-top-right{width:9mm;height:9mm;top:1.5mm;right:2.5mm}.booth .strip.print .decor-top-right-small{width:6mm;height:6mm;top:4.5mm;right:13mm}.booth .strip.print .decor-middle-right{width:9mm;height:9mm;top:42mm}.booth .strip.print .decor-middle-left{width:8mm;height:8mm;top:76mm}.booth .strip.print .decor-bottom-left,.booth .strip.print .decor-bottom-right{width:9mm;height:9mm;bottom:4mm}.booth .strip.print .decor-bottom-left{left:4mm}.booth .strip.print .decor-bottom-right{right:4mm}.booth .back{box-sizing:border-box;color:#111827;flex-direction:column;justify-content:center;align-items:center;gap:3mm;padding:8mm;display:flex;position:absolute}.booth .qr{box-sizing:border-box;background:#fff;justify-content:center;align-items:center;width:30mm;height:30mm;padding:1.5mm;display:flex}.booth.mode-prints .qr{width:40mm;height:40mm}.booth .qr img{width:100%;height:100%;display:block}.booth .qr.placeholder{color:#6b7280;outline:.3mm dashed #9ca3af;padding:3mm;font-size:2.6mm}.booth .back .caption{color:var(--print-title);font-size:3.2mm;font-weight:700}.booth .back .link{color:#6b7280;word-break:break-all;font-size:2.2mm}.booth .back .decor-top-right{top:10mm;right:9mm}.booth .back .decor-bottom-left{bottom:10mm;left:9mm}.booth .qr-card{box-sizing:border-box;color:#111827;flex-direction:column;justify-content:center;align-items:center;gap:1.5mm;width:2.125in;height:2.75in;padding:4mm;display:flex;position:relative}.booth .qr-card .title{font-family:var(--print-title-font);font-size:var(--print-title-size);font-weight:var(--print-title-weight);letter-spacing:var(--print-title-spacing);color:var(--print-title);overflow-wrap:anywhere}.booth .qr-card .qr{width:32mm;height:32mm}.booth .qr-card .caption{color:var(--print-title);font-size:3mm;font-weight:700}.booth .qr-card .link{color:#6b7280;word-break:break-all;font-size:2.2mm}.booth .qr-card .date{color:var(--print-date);font-size:2.4mm}.booth .qr-card .decor-top-right{width:5mm;height:5mm;top:2mm;right:2mm}.booth .qr-card .decor-bottom-left{width:5mm;height:5mm;bottom:2mm;left:2mm}@page{size:letter portrait;margin:0}@media print{body:has(.booth){background:#fff}.booth-header,.booth-controls,.booth-sheet-label{display:none!important}body:has(.booth) .navbar{display:none!important}main.tool:has(.booth){padding:0;display:block}.booth{max-width:none}.booth-layout,.booth-preview{display:block}.booth-sheet{box-shadow:none;margin:0!important;transform:none!important}.booth-sheet-back{break-before:page}.booth .slot.free,.booth .slot.used,.booth .photo-hint{visibility:hidden}.booth button.photo{box-shadow:none!important}}.landing{--glow:#ea580c38;--highlight:var(--accent);position:relative;overflow-x:clip}:root[data-theme=light] .landing{--glow:#ea580c24}.landing:before{content:"";background:radial-gradient(ellipse at center, var(--glow), transparent 65%);pointer-events:none;width:min(1100px,140vw);height:700px;position:absolute;top:380px;left:50%;transform:translate(-50%)}.landing>*{position:relative}.highlight{color:var(--highlight)}.hero{text-align:center;flex-direction:column;align-items:center;max-width:960px;margin:0 auto;padding:64px 16px 48px;display:flex}.hero-logo{filter:drop-shadow(0 8px 24px #ea580c59);width:112px;height:112px}.hero-eyebrow{color:var(--muted);margin:12px 0 0;font-size:.9rem;font-weight:500}.hero-title{letter-spacing:-.03em;text-wrap:balance;margin:28px 0 0;font-size:clamp(2.25rem,7vw,4.5rem);font-weight:800;line-height:1.05}.hero-lead{max-width:720px;color:var(--muted);margin:24px 0 0;font-size:clamp(1.05rem,2.2vw,1.25rem);line-height:1.6}.hero-actions{flex-wrap:wrap;justify-content:center;gap:16px;margin-top:36px;display:flex}.btn{border-radius:12px;justify-content:center;align-items:center;gap:8px;min-height:52px;padding:0 28px;font-size:1.1rem;font-weight:600;text-decoration:none;transition:transform .15s,filter .15s;display:inline-flex}.btn:hover{filter:brightness(1.08);transform:translateY(-1px)}.btn-primary{background:var(--accent);color:var(--bg)}.btn-secondary{background:var(--surface);color:var(--text);border:1px solid var(--border)}.btn svg{font-size:.9em}.hero-link{color:var(--accent);align-items:center;gap:8px;margin-top:28px;font-size:1.1rem;font-weight:500;text-decoration:none;display:inline-flex}.hero-link:hover{text-decoration:underline}.landing a:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.showcase{max-width:1120px;margin:0 auto;padding:0 16px}.showcase-window{border:1px solid var(--border);background:var(--surface);border-radius:20px;padding:12px;box-shadow:0 30px 80px #00000059}.showcase-bar{gap:6px;padding:4px 4px 12px;display:flex}.showcase-bar span{background:var(--border);border-radius:50%;width:10px;height:10px}.showcase-grid{grid-template-columns:2fr 1.5fr 1fr;gap:10px;height:clamp(220px,38vw,420px);display:grid}.showcase-grid img{object-fit:cover;background:var(--bg);border-radius:10px;width:100%;height:100%;min-height:0}.landing-section{text-align:center;max-width:1120px;margin:0 auto;padding:96px 16px 0}.landing-section h2{letter-spacing:-.02em;text-wrap:balance;margin:0;font-size:clamp(1.75rem,4.5vw,2.75rem);font-weight:800}.landing-section>p{max-width:680px;color:var(--muted);margin:16px auto 0;font-size:1.15rem;line-height:1.6}.activity-grid,.story-grid{text-align:left;gap:16px;margin:40px 0 0;padding:0;list-style:none;display:grid}.activity-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}.activity-card{border:1px solid var(--surface);background:color-mix(in srgb, var(--surface) 55%, transparent);border-radius:16px;padding:24px}.activity-icon{background:var(--accent-bg);color:var(--accent);box-sizing:border-box;border-radius:12px;padding:10px;font-size:44px;display:block}.activity-card h3,.story-body h3{margin:16px 0 0;font-size:1.15rem}.activity-card p,.story-body p{color:var(--muted);margin:8px 0 0;line-height:1.55}.story-grid{grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:24px}.story-card{border:1px solid var(--surface);background:color-mix(in srgb, var(--surface) 55%, transparent);border-radius:16px;overflow:hidden}.story-card img{aspect-ratio:3/2;object-fit:cover;width:100%;display:block}.story-body{padding:4px 24px 24px}.story-body a{color:var(--accent);align-items:center;gap:6px;margin-top:16px;font-weight:600;text-decoration:none;display:inline-flex}.story-body a:hover{text-decoration:underline}.join .hero-actions{margin-top:32px}.landing-footer{border-top:1px solid var(--surface);max-width:1120px;color:var(--muted);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin:96px auto 0;padding:24px 16px 32px;font-size:.9rem;display:flex}.landing-footer span{align-items:center;gap:8px;display:inline-flex}.landing-footer a{color:var(--muted)}.landing-footer a:hover{color:var(--text)}@media (width<=640px){.hero{padding-top:40px}.hero-logo{width:88px;height:88px}.hero-actions{flex-direction:column;align-self:stretch}.showcase-grid{grid-template-rows:1fr 1fr;grid-template-columns:1fr 1fr;height:420px}.showcase-grid .tile-wide{grid-column:1/-1}.landing-section{padding-top:72px}.story-grid{grid-template-columns:1fr}}.navbar{z-index:10;box-sizing:border-box;background:var(--bg);border-bottom:1px solid var(--surface);grid-template-columns:1fr auto 1fr;grid-template-areas:"brand links actions";align-items:center;gap:16px;min-height:64px;padding:0 24px;display:grid;position:sticky;top:0}.navbar-brand{min-width:0;color:var(--text);white-space:nowrap;grid-area:brand;justify-self:start;align-items:center;gap:10px;text-decoration:none;display:flex}.navbar-brand img{flex-shrink:0;display:block}.navbar-brand-text{text-align:left;flex-direction:column;min-width:0;line-height:1.15;display:flex}.navbar-brand-name{letter-spacing:.02em;font-size:1.35rem;font-weight:700}.navbar-brand-subtitle{text-overflow:ellipsis;color:var(--muted);font-size:.75rem;overflow:hidden}.navbar-links{grid-area:links;gap:4px;display:flex}.navbar-links a{color:var(--text);white-space:nowrap;border-radius:999px;align-items:center;gap:6px;padding:8px 16px;font-weight:500;text-decoration:none;transition:background .15s,color .15s;display:inline-flex}.navbar-links a:hover{background:var(--surface)}.navbar-links a[aria-current=page]{color:var(--accent)}.navbar-links svg{font-size:.9em}.navbar-actions{grid-area:actions;justify-self:end;gap:8px;display:flex}.icon-button{width:40px;height:40px;color:var(--text);cursor:pointer;background:0 0;border:none;border-radius:999px;place-items:center;padding:0;font-size:20px;transition:background .15s;display:grid}.icon-button:hover{background:var(--surface)}.navbar a:focus-visible,.icon-button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}@media (width<=1200px){.navbar-brand-subtitle{display:none}}.navbar-menu-button{display:none}@media (width<=1024px){.navbar{grid-template-columns:1fr auto;grid-template-areas:"brand actions";gap:8px;padding:8px 16px}.navbar-brand img{width:36px;height:36px}.navbar-brand-name{font-size:1.15rem}.navbar-menu-button{display:grid}.navbar-links{background:var(--bg);border-bottom:1px solid var(--surface);flex-direction:column;gap:4px;padding:8px 16px 16px;display:none;position:absolute;top:100%;left:0;right:0;box-shadow:0 12px 24px #00000040}.navbar-links.open{display:flex}.navbar-links a{border-radius:8px;padding:12px 16px}.navbar-actions{gap:4px}.icon-button{width:44px;height:44px}}.pin-screen{flex-direction:column;align-items:center;gap:12px;width:100%;max-width:320px;margin-top:24px;display:flex}.pin-lock-icon{color:var(--muted);font-size:2.5rem}.pin-screen label{color:var(--muted)}.pin-screen input{box-sizing:border-box;border:1px solid var(--border);background:var(--surface);width:100%;color:var(--text);font:inherit;letter-spacing:.3em;text-align:center;border-radius:8px;padding:12px;font-size:1.5rem}.pin-screen input:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.pin-screen button{background:var(--accent);width:100%;color:var(--bg);font:inherit;cursor:pointer;border:none;border-radius:8px;padding:12px;font-weight:600}.pin-screen button:disabled{opacity:.5;cursor:default}.pin-error{color:#dc2626;min-height:1.5em;margin:0}:root[data-theme=dark] .pin-error{color:#f87171}.settings{text-align:left;width:100%;max-width:640px}.settings h1{text-align:center;margin:0 0 24px}.settings-card{border:1px solid var(--surface);background:color-mix(in srgb, var(--surface) 45%, transparent);border-radius:16px;padding:24px}.settings-card+.settings-card{margin-top:24px}.settings-card h2{margin:0;font-size:1.25rem}.settings-card h3{margin:0;font-size:1rem}.settings-hint{color:var(--muted);margin:8px 0 0;line-height:1.5}.settings-form{flex-direction:column;gap:14px;margin-top:20px;display:flex}.settings-form label{flex-direction:column;gap:6px;font-weight:500;display:flex}.settings-optional{color:var(--muted);font-size:.85rem;font-weight:400}.settings-form input{box-sizing:border-box;border:1px solid var(--border);background:var(--bg);width:100%;color:var(--text);font:inherit;border-radius:8px;padding:10px 12px}.settings-form input:focus-visible,.settings-button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.settings-actions{justify-content:flex-end;display:flex}.settings-button{border:1px solid var(--border);background:var(--surface);color:var(--text);font:inherit;cursor:pointer;border-radius:8px;justify-content:center;align-items:center;gap:6px;padding:10px 18px;font-weight:600;text-decoration:none;display:inline-flex}.settings-button.primary{background:var(--accent);color:var(--bg);border-color:#0000}.settings-button.icon{flex-shrink:0;width:40px;height:40px;padding:0;font-size:18px}.settings-button.danger:hover{color:#dc2626;border-color:#dc2626}.settings-button:disabled{opacity:.5;cursor:default}.settings-message{margin:0;line-height:1.5}.settings-message.error{color:#dc2626}.settings-message.success{color:#16a34a}:root[data-theme=dark] .settings-message.error{color:#f87171}:root[data-theme=dark] .settings-message.success{color:#4ade80}.settings-loading,.settings-empty{color:var(--muted)}.settings-empty{border:1px dashed var(--border);text-align:center;border-radius:12px;margin:20px 0 0;padding:16px}.collection-list{flex-direction:column;gap:8px;margin:20px 0 0;padding:0;list-style:none;display:flex}.collection-list li{border:1px solid var(--surface);background:var(--bg);border-radius:12px;align-items:center;gap:12px;padding:12px;display:flex}.collection-icon{background:var(--accent-bg);color:var(--accent);box-sizing:border-box;border-radius:10px;flex-shrink:0;padding:8px;font-size:36px}.collection-info{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.collection-name{text-overflow:ellipsis;white-space:nowrap;font-weight:600;overflow:hidden}.collection-meta{color:var(--muted);overflow-wrap:anywhere;font-size:.85rem}.collection-meta code{font-size:.85em}.settings-form h3{border-top:1px solid var(--surface);padding-top:20px}@media (width<=640px){.settings-card{padding:18px}.settings-actions .settings-button{width:100%}}.upload-page{text-align:left;width:100%;max-width:820px}.upload-header{text-align:center;margin-bottom:24px}.upload-header h1{margin:0}.upload-header p{color:var(--muted);margin:6px 0 0}.upload-card{border:1px solid var(--surface);background:color-mix(in srgb, var(--surface) 45%, transparent);border-radius:16px;flex-direction:column;gap:16px;padding:20px;display:flex}.upload-card+.upload-card{margin-top:20px}.upload-collection{flex-wrap:wrap;align-items:flex-end;gap:12px 20px;display:flex}.upload-collection .upload-field{flex:1;min-width:220px}.upload-field{flex-direction:column;gap:6px;font-size:.9rem;font-weight:500;display:flex}.upload-field input,.upload-field select{box-sizing:border-box;border:1px solid var(--border);background:var(--bg);width:100%;color:var(--text);font:inherit;border-radius:8px;padding:10px 12px;font-weight:400}.upload-optional{color:var(--muted);font-size:.85rem;font-weight:400}.upload-link{color:var(--accent);align-items:center;gap:6px;padding:10px 0;font-weight:600;text-decoration:none;display:inline-flex}.upload-link:hover{text-decoration:underline}.upload-hint{color:var(--muted);margin:0;font-size:.85rem;line-height:1.45}.upload-hint a{color:var(--accent)}.upload-drop{border:2px dashed var(--border);background:var(--bg);text-align:center;border-radius:14px;flex-direction:column;align-items:center;gap:8px;padding:36px 20px;transition:border-color .15s,background .15s;display:flex}.upload-drop.dragging{border-color:var(--accent);background:var(--accent-bg)}.upload-drop-icon{color:var(--accent);font-size:44px}.upload-drop-title{margin:0;font-size:1.15rem;font-weight:700}.upload-drop-actions{flex-wrap:wrap;justify-content:center;gap:10px;margin-top:8px;display:flex}.upload-button{border:1px solid var(--border);background:var(--surface);color:var(--text);font:inherit;cursor:pointer;border-radius:8px;justify-content:center;align-items:center;gap:8px;padding:10px 16px;font-size:.9rem;font-weight:600;display:inline-flex}.upload-button.primary{background:var(--accent);color:var(--bg);border-color:#0000}.upload-button.subtle{color:var(--muted);background:0 0;border-color:#0000}.upload-button:disabled{opacity:.5;cursor:default}.upload-button:focus-visible,.upload-field input:focus-visible,.upload-field select:focus-visible,.upload-item-remove:focus-visible,.upload-link:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.upload-queue-head{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:4px 16px;display:flex}.upload-queue-head h2{margin:0;font-size:1.15rem}.upload-counts{color:var(--muted);margin:0;font-size:.9rem}.upload-failed-count{color:#dc2626}:root[data-theme=dark] .upload-failed-count{color:#f87171}.upload-progress{background:var(--surface);border-radius:999px;height:8px;overflow:hidden}.upload-progress span{border-radius:inherit;background:var(--accent);height:100%;transition:width .3s;display:block}.upload-actions{flex-wrap:wrap;gap:8px;display:flex}.upload-notice{color:var(--accent);margin:0;font-size:.9rem;font-weight:600}.upload-list{flex-direction:column;gap:6px;max-height:60vh;margin:0;padding:0;list-style:none;display:flex;overflow-y:auto}.upload-item{border:1px solid var(--surface);background:var(--bg);border-radius:10px;align-items:center;gap:12px;padding:8px;display:flex;position:relative}.upload-item img{background:var(--surface);object-fit:cover;border-radius:6px;flex-shrink:0;width:48px;height:48px}.upload-item img.no-preview{visibility:hidden}.upload-item:has(img.no-preview):before{content:"";background:var(--surface);width:48px;height:48px;color:var(--muted);border-radius:6px;place-items:center;font-size:.7rem;font-weight:700;display:grid;position:absolute}.upload-item.heic:has(img.no-preview):before{content:"HEIC"}.upload-item-info{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.upload-item-name{text-overflow:ellipsis;white-space:nowrap;font-size:.9rem;font-weight:500;overflow:hidden}.upload-item-meta{color:var(--muted);font-size:.8rem}.upload-item-error{color:#dc2626;font-size:.8rem}:root[data-theme=dark] .upload-item-error{color:#f87171}.upload-item-link{color:var(--accent);text-overflow:ellipsis;white-space:nowrap;font-size:.8rem;overflow:hidden}.upload-item-bar{background:var(--surface);border-radius:999px;height:4px;overflow:hidden}.upload-item-bar span{background:var(--accent);height:100%;transition:width .2s;display:block}.upload-item-status{flex-shrink:0;place-items:center;width:24px;font-size:20px;display:grid}.upload-item.done .upload-item-status{color:#16a34a}:root[data-theme=dark] .upload-item.done .upload-item-status{color:#4ade80}.upload-item.failed{border-color:#dc262666}.upload-item.failed .upload-item-status{color:#dc2626}.upload-item.uploading .upload-item-status{color:var(--accent)}.upload-item-remove{width:32px;height:32px;color:var(--muted);cursor:pointer;background:0 0;border:none;border-radius:8px;flex-shrink:0;place-items:center;padding:0;font-size:16px;display:grid}.upload-item-remove:hover{background:var(--surface);color:var(--text)}.spin{animation:.9s linear infinite upload-spin}@keyframes upload-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.spin{animation:none}}@media (width<=640px){.upload-card{padding:16px}.upload-drop{padding:28px 16px}}:root{--bg:#fff;--text:#111827;--muted:#4b5563;--border:#9ca3af;--accent:#2563eb;--accent-bg:#eff6ff;--surface:#f3f4f6;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--bg:#0f172a;--text:#f1f5f9;--muted:#94a3b8;--border:#475569;--accent:#60a5fa;--accent-bg:#1e293b;--surface:#1e293b;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}}:root[data-theme=dark]{--bg:#0f172a;--text:#f1f5f9;--muted:#94a3b8;--border:#475569;--accent:#60a5fa;--accent-bg:#1e293b;--surface:#1e293b;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}body{background:var(--bg);min-height:100vh;color:var(--text);margin:0;font-family:system-ui,sans-serif;transition:background .2s,color .2s}.tool{text-align:center;flex-direction:column;align-items:center;padding:48px 16px;display:flex}.visually-hidden{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}
