:root{color-scheme:light;--bg: #f5f3f0;--bg-soft: #ede9e4;--surface: rgba(255, 255, 255, .8);--text: #292524;--muted: #78716c;--faint: #a8a29e;--line: rgba(214, 211, 209, .7);--accent: #44403c;--danger: #ef4444;--radius: 18px;--shadow: 0 10px 32px rgba(41, 37, 36, .06);--font-sans: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;font-family:var(--font-sans)}*{box-sizing:border-box}html,body{margin:0;height:100%;background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased}body{min-height:100vh;min-height:100dvh;background:var(--bg)}body.is-landing{overflow:hidden}.landing{background:#fafafa;justify-content:center;align-items:center;min-height:100vh;min-height:100dvh;padding:0 1.5rem;display:flex;position:relative;overflow:hidden}.landing.hidden{display:none}.landing-grid{pointer-events:none;background-image:linear-gradient(90deg,rgba(0,0,0,.03) 1px,transparent 1px),linear-gradient(rgba(0,0,0,.03) 1px,transparent 1px);background-size:40px 40px;position:absolute;top:0;right:0;bottom:0;left:0;-webkit-mask-image:radial-gradient(black 40%,transparent 80%);mask-image:radial-gradient(black 40%,transparent 80%)}.landing-blob{filter:blur(64px);pointer-events:none;mix-blend-mode:multiply;opacity:.5;border-radius:50%;width:24rem;height:24rem;position:absolute;will-change:opacity,transform}.landing-blob-1{background:#d4d4d866;animation:8s cubic-bezier(.4,0,.6,1) infinite landingPulse;top:25%;left:25%}.landing-blob-2{background:#a1a1aa4d;animation:10s cubic-bezier(.4,0,.6,1) infinite landingPulse;bottom:25%;right:25%}@keyframes landingPulse{0%,to{opacity:.5;transform:scale(1) translate(0)}50%{opacity:.25;transform:scale(1.08) translate(2%,-2%)}}@keyframes landingFadeUp{0%{opacity:0;transform:translateY(40px)}to{opacity:1;transform:translateY(0)}}@keyframes landingFadeIn{0%{opacity:0}to{opacity:1}}.landing-nav{z-index:20;align-items:center;gap:.75rem;display:flex;position:absolute;top:1.25rem;right:1.25rem;animation:landingFadeIn .6s cubic-bezier(.4,0,.2,1) both}.landing-nav-link{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;background:none;padding:0;color:#a1a1aa;font:inherit;font-size:11px;font-weight:500;cursor:pointer;text-decoration:none;transition:color .15s cubic-bezier(.4,0,.2,1)}.landing-nav-link:hover{color:#3f3f46}.landing-content{z-index:10;text-align:center;flex-direction:column;align-items:center;width:100%;max-width:48rem;display:flex;position:relative;animation:landingFadeUp .8s cubic-bezier(.22,1,.36,1) both}.landing-title{letter-spacing:-.05em;background:linear-gradient(to bottom right,#18181b,#27272a,#71717a);color:transparent;-webkit-background-clip:text;background-clip:text;margin:0;padding-bottom:.5rem;font-size:3rem;font-weight:800;line-height:1}.landing-title-break{display:none}@media(min-width:768px){.landing-title-break{display:block}.landing-title{font-size:4.5rem}}.landing-tagline{color:#71717a;max-width:36rem;margin:1.25rem 0 0;font-size:.875rem;font-weight:500;line-height:1.625;animation:landingFadeIn .7s cubic-bezier(.4,0,.2,1) .3s both}@media(min-width:768px){.landing-tagline{font-size:1rem}}.landing-sub{color:#a1a1aa;max-width:32rem;margin:.5rem 0 0;font-size:11px;font-weight:400;line-height:1.625;animation:landingFadeIn .7s cubic-bezier(.4,0,.2,1) .35s both}@media(min-width:768px){.landing-sub{font-size:12px}}.landing-features{grid-template-columns:repeat(3,1fr);gap:.5rem;width:100%;max-width:42rem;margin-top:2.5rem;display:grid}@media(min-width:640px){.landing-features{gap:.75rem}}.landing-feature-card{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);text-align:center;background:#fffc;border:1px solid #f4f4f5;border-radius:.75rem;padding:.625rem;transition:box-shadow .15s cubic-bezier(.4,0,.2,1),transform .2s cubic-bezier(.4,0,.2,1);box-shadow:0 1px 2px #0000000a;animation:landingFadeUp .65s cubic-bezier(.22,1,.36,1) both}.landing-feature-card:nth-child(1){animation-delay:.42s}.landing-feature-card:nth-child(2){animation-delay:.5s}.landing-feature-card:nth-child(3){animation-delay:.58s}@media(min-width:640px){.landing-feature-card{text-align:left;border-radius:1rem;padding:1rem}}.landing-feature-card:hover{transform:translateY(-2px);box-shadow:0 4px 6px -1px #00000014,0 2px 4px -2px #0000000a}.landing-feature-icon{border-radius:.5rem;justify-content:center;align-items:center;width:1.75rem;height:1.75rem;margin:0 auto .5rem;display:flex;color:#18181b;background:#f4f4f5}.icon-hand{background:#dcfce7;color:#16a34a}.icon-filter{background:#e0e7ff;color:#4f46e5}.icon-cam{background:#ffedd5;color:#ea580c}@media(min-width:640px){.landing-feature-icon{border-radius:.75rem;width:2.25rem;height:2.25rem;margin:0 0 .75rem}}.landing-feature-title{color:#18181b;margin:0;font-size:10px;font-weight:700;line-height:1.25}@media(min-width:640px){.landing-feature-title{font-size:12px}}.landing-feature-sub{color:#71717a;margin:.125rem 0 0;font-size:8px;line-height:1.375}@media(min-width:640px){.landing-feature-sub{margin-top:.25rem;font-size:10px;line-height:1.625}}.landing-cta-wrap{margin-top:2.5rem;animation:landingFadeUp .7s cubic-bezier(.22,1,.36,1) .62s both}.landing-cta{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;color:#fff;background:#18181b;border-radius:9999px;justify-content:center;align-items:center;gap:.5rem;padding:.625rem 1.5rem;font:inherit;font-size:13px;font-weight:600;cursor:pointer;transition:background-color .15s cubic-bezier(.4,0,.2,1),transform .15s cubic-bezier(.4,0,.2,1),box-shadow .15s cubic-bezier(.4,0,.2,1);display:inline-flex;box-shadow:0 10px 15px -3px #18181b33,0 4px 6px -4px #18181b1a}.landing-cta:hover{background:#27272a;transform:translateY(-1px);box-shadow:0 14px 20px -4px #18181b47,0 6px 8px -4px #18181b1f}.landing-cta:active{transform:translateY(0)}.landing-cta svg{transition:transform .15s cubic-bezier(.4,0,.2,1)}.landing-cta:hover svg{transform:translate(2px)}.landing-footer{color:#a1a1aa;margin:1.5rem 0 0;font-size:10px;line-height:1.5;animation:landingFadeIn .7s cubic-bezier(.4,0,.2,1) .72s both}.landing-footer-link{color:#3b82f6;font-weight:600;text-decoration:none;transition:color .15s cubic-bezier(.4,0,.2,1)}.landing-footer-link:hover{color:#2563eb}@media(prefers-reduced-motion:reduce){.landing-blob,.landing-blob-1,.landing-blob-2,.landing-nav,.landing-content,.landing-tagline,.landing-sub,.landing-features,.landing-feature-card,.landing-cta-wrap,.landing-footer{animation:none!important}.landing-feature-card:hover,.landing-cta:hover{transform:none}}@media(max-width:480px){.landing-features{grid-template-columns:1fr}.landing-feature-card{text-align:left;display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:.75rem;align-items:start}.landing-feature-icon{grid-row:1 / span 2;margin:0}}.app{max-width:1120px;margin:0 auto;padding:1rem 1.25rem 1.5rem}.app.app-hidden{display:none}.app-bar{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:.9rem;padding:.15rem .1rem}.app-brand{font-size:.95rem;font-weight:700;letter-spacing:-.02em;color:var(--text);text-decoration:none}.app-brand:hover{opacity:.75}.app-bar-nav{display:flex;align-items:center;gap:.85rem}.app-bar-nav a{color:var(--faint, #a8a29e);font-size:11px;font-weight:500;text-decoration:none;transition:color .15s ease}.app-bar-nav a:hover{color:var(--text)}.stage{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,300px);gap:1rem;align-items:start}.media{min-width:0;min-height:0}.viewport{position:relative;aspect-ratio:16 / 9;width:100%;background:var(--bg-soft);border:1px solid var(--line);border-radius:calc(var(--radius) + 4px);overflow:hidden;box-shadow:var(--shadow)}#video{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:cover;opacity:0;pointer-events:none}#canvas{display:block;width:100%;height:100%;background:#ddd8d1}.overlay{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;background:#f4f1ecc7;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);transition:opacity .3s ease}.overlay.hidden{opacity:0;pointer-events:none}.status{text-align:center;padding:1.25rem;max-width:240px}.status p{margin:.9rem 0 0;color:var(--muted);font-size:.9rem;line-height:1.5;font-weight:400}.status.error p{color:var(--danger)}.spinner{width:28px;height:28px;margin:0 auto;border:2px solid var(--line);border-top-color:var(--accent);border-radius:50%;animation:spin .9s linear infinite}.status.error .spinner{display:none}@keyframes spin{to{transform:rotate(360deg)}}.countdown{position:absolute;top:0;right:0;bottom:0;left:0;z-index:4;display:grid;place-content:center;justify-items:center;gap:.25rem;background:#f4f1ec47;pointer-events:none}.countdown.hidden{display:none}.countdown-num{font-size:clamp(3rem,10vh,5rem);font-weight:300;line-height:1;color:#fff;text-shadow:0 4px 24px rgba(44,42,40,.25);animation:countdown-pop .4s ease}.countdown-label{font-size:.8rem;font-weight:400;letter-spacing:.12em;text-transform:uppercase;color:#ffffffe6}@keyframes countdown-pop{0%{transform:scale(.85);opacity:.3}to{transform:scale(1);opacity:1}}.shutter-flash{position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:#fff;opacity:0;pointer-events:none}.shutter-flash.fire{animation:flash .4s ease-out}.shutter-flash.hidden{display:none}@keyframes flash{0%{opacity:.7}to{opacity:0}}.panel{display:flex;flex-direction:column;gap:.65rem;padding-top:0;min-width:0;max-height:calc(100dvh - 4.5rem);overflow:hidden}.card{background:#fffc;border:1px solid #f4f4f5;border-radius:12px;padding:.8rem .9rem;box-shadow:0 1px 2px #0000000a}.card.info{flex:0 0 auto}.card.portal-setup{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;overflow:hidden}.card-head{display:flex;align-items:baseline;justify-content:space-between;gap:.5rem;margin-bottom:.55rem;flex:0 0 auto}.label{margin:0 0 .35rem;font-size:.68rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}.card-head .label{margin-bottom:0}.capture-preview{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;display:grid;place-items:center;padding:1.25rem}.capture-preview.hidden,.capture-preview[hidden]{display:none}.capture-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;background:#2c2a2866;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.capture-sheet{position:relative;z-index:1;width:min(560px,100%);max-height:min(90vh,720px);display:flex;flex-direction:column;background:#fffffff5;border:1px solid var(--line);border-radius:18px;box-shadow:0 24px 60px #2c2a2824;overflow:hidden}.capture-head{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.95rem 1.15rem .65rem}.capture-head h2{margin:0;font-size:1.05rem;font-weight:500;letter-spacing:.02em}.capture-body{padding:0 1.15rem;overflow:auto;flex:1 1 auto;min-height:0}.capture-body img,.capture-body video{display:block;width:100%;height:auto;border-radius:12px;background:var(--bg-soft);aspect-ratio:16 / 9;object-fit:contain}.capture-body img.hidden,.capture-body video.hidden,.capture-body img[hidden],.capture-body video[hidden]{display:none}.btn.recording{color:#fff;background:#dc2626;border-color:transparent;animation:rec-pulse 1.2s ease infinite}.btn.recording:hover:not(:disabled){background:#b91c1c;border-color:transparent}@keyframes rec-pulse{0%,to{box-shadow:0 0 #dc262659}50%{box-shadow:0 0 0 6px #dc262600}}.rec-badge{position:absolute;top:.75rem;left:.75rem;z-index:6;display:none;align-items:center;gap:.4rem;padding:.35rem .65rem;border-radius:999px;background:#18181bb8;color:#fff;font-size:.72rem;font-weight:600;letter-spacing:.04em;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.rec-badge.on{display:inline-flex}.rec-badge-dot{width:.5rem;height:.5rem;border-radius:50%;background:#ef4444;animation:rec-dot 1s ease infinite}@keyframes rec-dot{0%,to{opacity:1}50%{opacity:.35}}.capture-actions{display:flex;gap:.55rem;padding:1rem 1.15rem 1.15rem}.capture-actions .btn{flex:1}.modal-root{position:fixed;top:0;right:0;bottom:0;left:0;z-index:40;display:grid;place-items:center;padding:1.25rem}.modal-root.hidden,.modal-root[hidden]{display:none}.modal-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;background:#2c2a2847;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.modal-sheet{position:relative;z-index:1;width:min(520px,100%);max-height:min(82vh,640px);overflow:auto;background:#fffffff7;border:1px solid var(--line);border-radius:18px;box-shadow:0 20px 50px #2c2a281f;padding:1.15rem 1.25rem 1.35rem}.modal-head{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin-bottom:.85rem}.modal-head h2{margin:0;font-size:1.05rem;font-weight:500;letter-spacing:.02em}.modal-close{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;background:transparent;width:2rem;height:2rem;border-radius:999px;font-size:1.35rem;line-height:1;color:var(--muted);cursor:pointer}.modal-close:hover{color:var(--text);background:var(--line)}.modal-body{color:var(--muted);font-size:.88rem;line-height:1.55}.modal-body h3{margin:1rem 0 .4rem;font-size:.78rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--text)}.modal-body p{margin:0 0 .65rem}.modal-body ol,.modal-body ul{margin:0 0 .75rem;padding-left:1.15rem}.modal-body li+li{margin-top:.3rem}.modal-body a{color:var(--text);text-underline-offset:2px}.modal-body strong{color:var(--text);font-weight:600}.modal-body code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.8em;background:#2c2a280f;padding:.1em .35em;border-radius:4px}.modal-body .static-summary{background:#2c2a280a;border:1px solid var(--line);border-radius:12px;padding:.75rem .9rem;margin-bottom:1rem}.modal-body .static-summary p{margin:0 0 .35rem}.modal-body .static-summary p:last-child{margin-bottom:0}.modal-body .static-muted{color:var(--faint, #a8a29e);font-size:.8rem;margin-top:1rem}.modal-body .static-pre{white-space:pre-wrap;word-break:break-word;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.7rem;line-height:1.45;background:#2c2a280a;border:1px solid var(--line);border-radius:10px;padding:.75rem .85rem;margin:.5rem 0 1rem;max-height:12rem;overflow:auto;color:var(--muted)}.filter-name{margin:0;font-size:1.15rem;font-weight:700;letter-spacing:-.02em;color:#18181b;line-height:1.25}.filter-desc{margin:.3rem 0 .55rem;color:var(--muted);font-size:.78rem;line-height:1.45;min-height:2.4em;font-weight:400;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.dots{display:flex;flex-wrap:wrap;gap:.25rem}.dots span{width:6px;height:6px;border-radius:50%;background:#e7e5e4;transition:background .2s ease,transform .2s ease}.dots span.active{background:#44403c;transform:scale(1.15)}.dots span.primary{box-shadow:0 0 0 1.5px #44403c59}.count-row{display:flex;align-items:center;justify-content:space-between;gap:.6rem;margin-bottom:.6rem;flex:0 0 auto}.count-label{font-size:.75rem;color:var(--muted);font-weight:500}.count-pills{display:inline-flex;gap:.2rem;padding:.15rem;border-radius:999px;background:#f5f5f4}.count-pill{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;background:transparent;color:var(--muted);min-width:1.85rem;height:1.65rem;border-radius:999px;font:inherit;font-size:.78rem;font-weight:600;cursor:pointer;transition:background .15s ease,color .15s ease}.count-pill:hover{color:var(--text)}.count-pill.active{background:#18181b;color:#fff}.portal-configs{display:flex;flex-direction:column;gap:.5rem;flex:1 1 auto;min-height:0;overflow:auto;padding-right:.15rem;scrollbar-width:thin}.portal-item{border:1px solid #f4f4f5;border-radius:10px;padding:.55rem .55rem .6rem;background:#fafafa}.portal-item-head{display:flex;align-items:baseline;justify-content:space-between;gap:.4rem;margin-bottom:.4rem}.portal-item-title{margin:0;font-size:.75rem;font-weight:700;color:#18181b}.portal-item-filter{margin:0;font-size:.68rem;color:#71717a;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:55%;text-align:right}.hand-group{padding:.3rem 0 0}.hand-group+.hand-group{margin-top:.3rem;padding-top:.35rem;border-top:1px solid #f4f4f5}.hand-group-top{display:flex;align-items:baseline;justify-content:space-between;gap:.4rem;margin-bottom:.3rem}.hand-label{font-size:.68rem;font-weight:600;color:#44403c}.finger-summary{margin:0;font-size:.62rem;color:#a8a29e;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:right}.finger-block{display:grid;grid-template-columns:1rem 1fr;align-items:center;gap:.28rem}.finger-block+.finger-block{margin-top:.25rem}.finger-role{width:1rem;height:1rem;display:grid;place-items:center;border-radius:4px;background:#f5f5f4;font-size:.58rem;font-weight:700;color:#a8a29e}.finger-chips{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.18rem}.finger-chip{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:1px solid transparent;background:#fff;color:#78716c;border-radius:6px;padding:.3rem .08rem;font:inherit;font-size:.6rem;font-weight:500;cursor:pointer;text-align:center;line-height:1.1;box-shadow:0 0 0 1px #f4f4f5 inset;transition:background .15s ease,color .15s ease,box-shadow .15s ease}.finger-chip:hover:not(:disabled){color:#18181b;box-shadow:0 0 0 1px #d6d3d1 inset}.finger-chip.active{background:#18181b;color:#fff;box-shadow:none}.finger-chip:disabled{opacity:.3;cursor:not-allowed}.hint-inline{margin:0;color:#a8a29e;font-size:.72rem;line-height:1.4;font-weight:400;flex:0 0 auto}.actions{display:flex;flex-direction:column;gap:.4rem;flex:0 0 auto;margin-top:.15rem}.actions-row{display:grid;grid-template-columns:1fr 1fr;gap:.4rem}.credit-footer{text-align:center;font-size:.7rem;font-weight:400;color:#a8a29e;letter-spacing:.01em;line-height:1.4;padding:.1rem 0 0;flex:0 0 auto}.credit-footer a{color:#3b82f6;text-decoration:none;font-weight:600;transition:color .15s ease}.credit-footer a:hover{color:#2563eb}.btn{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:1px solid #e7e5e4;border-radius:10px;padding:.65rem .75rem;font:inherit;font-size:.8rem;font-weight:600;letter-spacing:.01em;cursor:pointer;color:var(--text);background:#fff;transition:background .15s ease,border-color .15s ease,opacity .15s ease}.btn:hover:not(:disabled){background:#fafafa;border-color:#d6d3d1}.btn:disabled{opacity:.4;cursor:not-allowed}.btn.primary{color:#fff;background:#18181b;border-color:transparent;box-shadow:0 6px 12px -4px #18181b40,0 2px 4px -2px #18181b1f}.btn.primary:hover:not(:disabled){background:#27272a;border-color:transparent}.btn.primary:disabled{opacity:.45;box-shadow:none}@media(min-width:901px){html,body{overflow:hidden;height:100%}body.is-landing{overflow:hidden}body:not(.is-landing){overflow:hidden;height:100%}.app{width:100%;max-width:none;height:100vh;height:100dvh;margin:0;padding:.85rem 1.25rem 1rem;display:flex;flex-direction:column;gap:.65rem;overflow:hidden}.app-bar{flex:0 0 auto;margin-bottom:0}.stage{flex:1 1 auto;min-height:0;grid-template-columns:minmax(0,1fr) minmax(270px,310px);gap:1rem;align-items:stretch}.media{height:100%;display:flex;align-items:center;justify-content:center;container-type:size}.viewport{width:min(100cqw,calc(100cqh * 16 / 9));height:min(100cqh,56.25cqw);max-width:100%;max-height:100%;aspect-ratio:auto}@supports not (width: 1cqw){.viewport{width:min(100%,calc((100dvh - 5.5rem) * 16 / 9));height:auto;max-height:calc(100dvh - 5.5rem);aspect-ratio:16 / 9}}.panel{min-height:0;height:100%;max-height:none;gap:.55rem;overflow:hidden}.card.info{flex:0 0 auto}.card.portal-setup{flex:1 1 auto}.filter-desc{min-height:0}.dots{max-height:3.5rem;overflow:hidden}.hint-inline,.actions,.credit-footer{flex:0 0 auto}}@media(max-width:900px){html,body{overflow:auto;height:auto}body:not(.is-landing){overflow:auto;height:auto}.app{max-width:1080px;height:auto;margin:0 auto;padding:1rem 1rem 1.5rem;display:block;overflow:visible}.app-bar{margin-bottom:.85rem}.stage{grid-template-columns:1fr;gap:1rem;height:auto}.media{height:auto;display:block}.viewport{width:100%;height:auto;aspect-ratio:16 / 9;max-height:52vh}.panel{height:auto;max-height:none;gap:.75rem;overflow:visible}.card.portal-setup{overflow:visible}.portal-configs{max-height:none;overflow:visible}.filter-desc{display:block;-webkit-line-clamp:unset;overflow:visible}.dots{max-height:none;overflow:visible}.actions{margin-top:0}.actions-row{grid-template-columns:1fr 1fr}}
