:root{color:#f6f2ec;font-synthesis:none;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;background:#0b0c0e;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{cursor:pointer;-webkit-tap-highlight-color:transparent}button:disabled{cursor:default}button:focus-visible{outline-offset:4px;outline:3px solid #f0d3a0}summary:focus-visible{outline-offset:4px;outline:3px solid #f0d3a0}input:focus-visible{outline-offset:4px;outline:3px solid #f0d3a0}a:focus-visible{outline-offset:4px;outline:3px solid #f0d3a0}button{touch-action:manipulation}a{color:#f0d3a0}.camera-app{justify-content:center;min-height:100dvh;display:flex}.camera-shell{background:#0b0c0e;width:100%;max-width:520px;height:100dvh;position:relative;overflow:hidden}.camera-screen{position:absolute;top:0;bottom:0;left:0;right:0;overflow:hidden}.live-video{object-fit:contain;opacity:0;pointer-events:none;width:100%;height:100%;position:absolute;top:0;bottom:0;left:0;right:0}.live-video.is-active{opacity:1}.camera-preview{opacity:0;pointer-events:none;z-index:1;width:100%;height:100%;position:absolute;top:0;bottom:0;left:0;right:0}.camera-preview.is-active{opacity:1}.camera-preview.is-composited{z-index:3}.head-overlay{transform-origin:0 0;opacity:0;pointer-events:none;z-index:2;width:360px;height:360px;position:absolute;top:0;left:0}.head-overlay .three-placeholder>span{display:none}.three-avatar{width:100%;height:100%;position:relative}.three-avatar canvas{width:100%;height:100%;display:block}.three-thumbnail{object-fit:contain;width:100%;height:100%;display:block}.three-placeholder{text-align:center;place-items:center;font-size:12px;display:grid;position:absolute;top:0;bottom:0;left:0;right:0}.three-placeholder img{object-fit:contain;width:100%;height:100%}.three-placeholder>span{align-items:center;gap:8px;display:flex;position:absolute;bottom:12px}.cam-header{z-index:5;padding:calc(env(safe-area-inset-top,0px) + 12px) 20px 24px;background:linear-gradient(#0007,#0000);align-items:center;gap:8px;display:flex;position:absolute;top:0;left:0;right:0}.camera-brand{letter-spacing:2px;flex:1;font-size:21px;font-weight:650}.cam-icon-button{color:#f4f1e9;background:#ffffff10;border:0;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:44px;height:44px;display:inline-flex}.cam-icon-button:active{background:#ffffff26}.camera-onboarding{z-index:4;pointer-events:none;flex-direction:column;justify-content:center;align-items:center;padding-bottom:220px;display:flex;position:absolute;top:0;bottom:0;left:0;right:0}.onboarding-head{width:160px;height:160px;margin-bottom:18px}.camera-onboarding h1{letter-spacing:1px;margin:0;font-size:28px;font-weight:600}.camera-onboarding p{color:#b9b5ad;margin:12px 0 0;font-size:14px}.cam-bottom{z-index:5;padding:30px 20px calc(env(safe-area-inset-bottom,0px) + 18px);background:linear-gradient(#0000,#090a0be8 35%,#090a0b);position:absolute;bottom:0;left:0;right:0}.camera-status{text-align:center;color:#d3cfc7;justify-content:center;align-items:center;min-height:28px;margin-bottom:8px;font-size:13px;line-height:1.5;display:flex}.camera-shell[data-tracking=paused] .camera-status{color:#edce9a}.camera-error-hint{color:#f1d6ba;background:#392b24;border:0;border-radius:10px;min-height:44px;padding:10px 14px;font-size:12px;line-height:1.6}.character-strip{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.camera-character{color:#bdbab3;background:0 0;border:0;flex-direction:column;align-items:center;gap:8px;min-width:0;min-height:82px;padding:4px 0;display:flex}.character-disc{background:#1c1d21;border:2px solid #0000;border-radius:50%;width:58px;height:58px;padding:4px;transition:border-color .15s,background .15s;display:block}.camera-character.selected{color:#f1d3a1}.camera-character.selected .character-disc{background:#322b24;border-color:#e4c391}.camera-character-name{white-space:nowrap;font-size:12px}.shutter-row{grid-template-columns:1fr 76px 1fr;align-items:center;margin-top:18px;display:grid}.settings-button{justify-self:start}.shutter-spacer{justify-self:end;width:44px;height:44px}.shutter{background:0 0;border:3px solid #f9f4e9;border-radius:50%;place-items:center;width:76px;height:76px;padding:5px;display:grid}.shutter>span{color:#2d271f;background:#f5f1e7;border-radius:50%;justify-content:center;align-items:center;width:100%;height:100%;display:flex}.shutter.start-camera{border-color:#e4c391}.shutter.start-camera>span{background:#e4c391}.shutter:disabled{opacity:.4}.shutter:active:not(:disabled)>span{transform:scale(.94)}.capture-dot{background:#aa8c63;border-radius:50%;width:14px;height:14px;display:block}.camera-toast{z-index:10;left:20px;right:20px;top:calc(env(safe-area-inset-top,0px) + 76px);text-align:center;background:#292722f5;border:1px solid #e3c18e3b;border-radius:12px;padding:12px 16px;font-size:13px;line-height:1.6;position:absolute}.camera-dialog{color:#f6f2ec;width:min(100%,520px);max-width:520px;max-height:90dvh;padding:20px 24px calc(env(safe-area-inset-bottom,0px) + 22px);background:#202124;border:1px solid #ffffff16;border-radius:22px 22px 0 0;margin:auto auto 0;overflow:auto}.camera-dialog::backdrop{background:#0009}.sheet-heading{justify-content:space-between;align-items:center;margin-bottom:14px;display:flex}.sheet-heading h2{margin:0;font-size:18px;font-weight:600}.quality-option{cursor:pointer;border-bottom:1px solid #ffffff14;justify-content:space-between;align-items:center;gap:20px;min-height:58px;font-size:15px;display:flex}.quality-option input{accent-color:#e4c391;flex-shrink:0;width:24px;height:24px;margin:10px 0}.range-setting{border-bottom:1px solid #ffffff14;padding:10px 0}.range-label{justify-content:space-between;align-items:center;gap:20px;font-size:15px;display:flex}.range-label output{color:#e4c391;font-size:13px}.camera-range{accent-color:#e4c391;width:100%;min-height:44px;margin:4px 0 0}.camera-details{color:#c0beb7;font-size:13px;line-height:1.7}.camera-details summary{cursor:pointer;color:#c9c7c0;min-height:44px;padding:12px 0;display:list-item}.camera-details p{margin:8px 0}.camera-details code{white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px}.camera-details a{min-height:44px;padding:12px 0;display:block}.camera-version{color:#999b9f;margin-top:12px;font-size:12px;display:block}.photo-preview{object-fit:contain;background:#111;border-radius:12px;width:100%;max-height:60dvh;display:block}.photo-actions{gap:12px;margin-top:18px;display:flex}.photo-actions button{color:#f3f0e9;background:#ffffff13;border:0;border-radius:12px;flex:1;justify-content:center;align-items:center;gap:8px;min-height:48px;font-size:14px;display:flex}.photo-actions .save-photo{color:#30281c;background:#e4c391;font-weight:600}.photo-dialog>p{color:#c9c5bd;text-align:center;font-size:13px;line-height:1.6}.spin{animation:1s linear infinite camera-spin}@keyframes camera-spin{to{transform:rotate(360deg)}}@media (max-height:650px){.cam-header{padding-top:calc(env(safe-area-inset-top,0px) + 6px);padding-bottom:12px}.cam-bottom{padding-top:14px;padding-bottom:calc(env(safe-area-inset-bottom,0px) + 8px)}.camera-status{min-height:22px;margin-bottom:4px;font-size:12px}.character-disc{width:48px;height:48px}.camera-character{gap:5px;min-height:68px}.shutter-row{grid-template-columns:1fr 60px 1fr;margin-top:8px}.shutter{width:60px;height:60px}.camera-onboarding{padding-bottom:166px}.onboarding-head{width:82px;height:82px;margin-bottom:8px}.camera-onboarding h1{font-size:22px}.camera-onboarding p{margin-top:7px;font-size:13px}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation:none!important}}
