:root{--blue: #2774ae;--blue-dark: #005587;--blue-deep: #003b5c;--gold: #ffd100;--ink: #0e2a3f;--muted: #4a6072;--bg: #f2f7fb;--tint: #e5eff7;--line: #d3e1ec;--white: #fff;--radius: 18px;--shadow: 0 1px 2px rgb(0 59 92 / 6%), 0 8px 28px rgb(0 59 92 / 10%);--font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;color-scheme:light}*{box-sizing:border-box}html{-webkit-text-size-adjust:100%}body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.5 var(--font);-webkit-font-smoothing:antialiased;min-height:100svh}img{display:block;max-width:100%}button,input,textarea{font:inherit;color:inherit}a{color:var(--blue-dark);text-underline-offset:2px}h1{margin:0}h1:focus{outline:none}p{margin:0}.tap{display:inline-flex;align-items:center;min-height:44px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.muted{color:var(--muted)}.small{font-size:.875rem}:focus-visible{outline:3px solid var(--blue-dark);outline-offset:2px}#app{min-height:100svh}.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;min-height:48px;padding:.7rem 1.25rem;border-radius:999px;border:1.5px solid transparent;font-weight:600;font-size:1rem;line-height:1.2;cursor:pointer;text-decoration:none;transition:background-color .15s,transform .12s,border-color .15s,color .15s;-webkit-tap-highlight-color:transparent}.btn:active{transform:scale(.98)}.btn:disabled{opacity:.55;cursor:default}.btn.primary{background:var(--blue);color:var(--white);box-shadow:0 6px 18px #2774ae47}.btn.primary:hover{background:var(--blue-dark)}.btn.secondary{background:var(--white);color:var(--blue-dark);border-color:var(--line)}.btn.secondary:hover{border-color:var(--blue)}.btn.quiet{background:transparent;color:var(--blue-dark);min-height:44px;padding:.5rem .9rem;font-weight:600}.btn.quiet:hover{background:var(--tint)}.btn.gold{background:var(--white);color:var(--blue-deep);box-shadow:0 6px 18px #001e3238}.btn.gold:hover{background:var(--tint)}.btn.on-blue{background:#003b5c66;color:#fff;border-color:#ffffff8c}.btn.on-blue:hover{background:#003b5c8c}.btn.on-dark{color:var(--white)}.btn.on-dark:hover{background:#ffffff1a}.btn.big{width:100%;min-height:56px;font-size:1.0625rem}.btn.sm{min-height:44px;padding:.45rem .9rem;font-size:.9375rem}.btn.done{color:var(--blue-dark)}.btn.primary.done{background:var(--blue-dark);color:var(--white)}.link{background:none;border:0;padding:.25rem 0;min-height:44px;color:var(--blue-dark);text-decoration:underline;text-underline-offset:2px;cursor:pointer;font-weight:600}.icon-btn{display:grid;place-items:center;width:44px;height:44px;border-radius:999px;border:0;background:#ffffff24;color:var(--white);cursor:pointer}.icon-btn-spacer{width:44px}.on-dark:focus-visible,.camera :focus-visible,.band :focus-visible,.res-band :focus-visible{outline-color:var(--gold)}.eyebrow{font-size:.8125rem;letter-spacing:.08em;text-transform:uppercase;font-weight:600;color:#fff}.display{font-family:var(--display);font-weight:700;letter-spacing:-.02em;font-size:clamp(2.25rem,9vw,3.25rem);line-height:1.02;color:var(--white)}.display.sm{font-size:clamp(1.9rem,7vw,2.6rem)}.rule{display:block;width:44px;height:4px;border-radius:2px;background:#ffffffbf;margin-top:1rem}.notice{font-size:.8125rem;line-height:1.45;color:var(--muted);text-align:center;max-width:34ch;margin:.75rem auto 0}.notice.on-dark{color:#fff}.landing{max-width:480px;margin:0 auto;min-height:100svh;display:flex;flex-direction:column}.band{position:relative;overflow:hidden;color:var(--white);background:linear-gradient(160deg,var(--blue) 0%,var(--blue-dark) 62%,var(--blue-deep) 100%);padding:calc(env(safe-area-inset-top) + 2.5rem) 1.5rem 3.5rem;min-height:44svh;display:flex;flex-direction:column;justify-content:flex-end}.band>*{position:relative}.band .eyebrow{margin-bottom:.6rem}.royce{display:block;width:calc(100% + 1rem);margin:0 -.5rem 1.25rem;height:auto;fill:none;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}.royce .m{stroke:#ffffffd1;stroke-width:1.15}.royce .d{stroke:#ffffff57;stroke-width:.8}.royce path{stroke-dasharray:1;stroke-dashoffset:1;animation:royce-draw 2.4s cubic-bezier(.45,0,.2,1) var(--d, 0s) forwards}@keyframes royce-draw{to{stroke-dashoffset:0}}@media (prefers-reduced-motion: reduce){.royce path{animation:none;stroke-dashoffset:0}}.sheet{position:relative;margin-top:-1.75rem;background:var(--white);border-radius:26px 26px 0 0;padding:1.75rem 1.25rem 1.25rem;display:flex;flex-direction:column;align-items:stretch;gap:.25rem;box-shadow:0 -8px 24px #003b5c14}.lede{font-family:var(--display);font-size:1.375rem;font-weight:650;letter-spacing:-.01em;line-height:1.25}.sub{color:var(--muted);margin:.35rem 0 1.25rem}.sheet .btn.quiet{align-self:center;margin-top:.4rem}.loadline{display:flex;align-items:center;justify-content:center;gap:.35rem;font-size:.8125rem;color:var(--muted);margin-top:.4rem;min-height:1.4em;font-variant-numeric:tabular-nums}.landing .foot{background:var(--white);flex:1}.foot{text-align:center;padding:1.25rem 1.25rem calc(1.25rem + env(safe-area-inset-bottom));font-size:.875rem;color:var(--muted)}.foot a{font-weight:600}.foot .fine{font-size:.75rem;margin-top:.4rem;max-width:46ch;margin-inline:auto}.foot .fine .tap{min-width:44px;justify-content:center}.camera{position:fixed;inset:0;display:flex;flex-direction:column;background:#06192a;color:var(--white)}.topbar{display:flex;align-items:center;justify-content:space-between;padding:calc(env(safe-area-inset-top) + .5rem) .75rem .5rem}.topbar-title{font-weight:600}.topbar.light{color:var(--ink)}.topbar.light .icon-btn{background:var(--white);color:var(--blue-dark);box-shadow:var(--shadow)}.viewport{position:relative;flex:1;min-height:0;margin:0 .75rem;border-radius:24px;overflow:hidden;background:#0b2236}.viewport video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.mirror{transform:scaleX(-1)}.oval{position:absolute;left:50%;top:45%;width:min(64%,300px);aspect-ratio:3 / 4;transform:translate(-50%,-50%);border-radius:50%;border:3px solid rgb(255 255 255 / 85%);box-shadow:0 0 0 200vmax #0416268c;transition:border-color .2s}.oval.good{border-color:var(--gold)}.coach{position:absolute;left:50%;bottom:1rem;transform:translate(-50%);max-width:calc(100% - 2rem);width:max-content;background:#003b5ce0;color:var(--white);padding:.6rem 1.1rem;border-radius:999px;font-weight:600;text-align:center;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}.cam-bottom{display:flex;flex-direction:column;align-items:center;padding:1rem 1rem calc(.75rem + env(safe-area-inset-bottom));gap:.15rem}.shutter{position:relative;width:80px;height:80px;border-radius:50%;border:0;background:none;padding:0;cursor:pointer;display:grid;place-items:center}.shutter svg{position:absolute;inset:0;transform:rotate(-90deg)}.shutter .track{fill:none;stroke:#ffffffd9;stroke-width:4}.shutter .fill{fill:none;stroke:var(--gold);stroke-width:4.5;stroke-linecap:round;transition:stroke-dashoffset .12s linear}.shutter .dot{width:62px;height:62px;border-radius:50%;background:var(--white);transition:transform .12s}.shutter:active .dot{transform:scale(.92)}.shutter:disabled{opacity:.6}.shutter:focus-visible{outline:3px solid var(--gold);outline-offset:3px}.cam-help{font-size:.8125rem;color:#fffc;margin-top:.4rem;text-align:center}.camera .notice{margin-top:.15rem}.screen{min-height:100svh;display:flex;flex-direction:column}.panel-screen{max-width:520px;margin:0 auto;padding:0 1rem}.panel-screen .topbar{padding-inline:0}.card{background:var(--white);border-radius:var(--radius);box-shadow:var(--shadow);padding:1.75rem 1.25rem 1.5rem;margin-top:1rem;display:flex;flex-direction:column;gap:.75rem}.screen>.card:first-child{margin-top:calc(env(safe-area-inset-top) + 1.5rem)}.card.center{text-align:center;align-items:center}.card h1{font-family:var(--display);font-size:1.625rem;line-height:1.2;letter-spacing:-.015em}.card .btn.quiet{align-self:center}.badge-icon{display:grid;place-items:center;width:56px;height:56px;border-radius:16px;background:var(--tint);color:var(--blue-dark)}.badge-icon.ok{background:var(--blue);color:var(--white)}.tips{list-style:none;margin:.25rem 0 .5rem;padding:0;display:grid;gap:.6rem}.tips li{display:flex;gap:.7rem;align-items:center;padding:.7rem .85rem;background:var(--bg);border-radius:12px;font-size:.9375rem}.tips svg{flex:none;color:var(--blue)}.divider{height:1px;background:var(--line);margin:.5rem 0}.help-q{font-size:.9375rem}.field{display:grid;gap:.35rem;font-weight:600;font-size:.9375rem}.field em{font-weight:400;color:var(--muted);font-style:normal}.field input,.field textarea{width:100%;min-height:48px;padding:.7rem .85rem;border:1.5px solid #6b8296;border-radius:12px;background:var(--white);font-weight:400;font-size:1rem}.field textarea{resize:vertical}.field input:focus-visible,.field textarea:focus-visible{outline:3px solid var(--blue-dark);outline-offset:2px;border-color:var(--blue-dark)}.err{color:#a4161a;font-weight:600}.card .notice{margin:0;text-align:left;max-width:none}.searching{align-items:center;justify-content:center;padding:1.5rem;text-align:center}.search-stage{display:flex;flex-direction:column;align-items:center;gap:.75rem;max-width:360px}.search-stage h1{font-family:var(--display);font-size:1.625rem;letter-spacing:-.015em;margin-top:.75rem}.selfie-ring{position:relative;width:132px;height:132px;border-radius:50%;padding:6px}.selfie-ring:before{content:"";position:absolute;inset:0;border-radius:50%;background:conic-gradient(var(--blue) 0 25%,var(--line) 25% 100%);animation:spin 1.1s linear infinite}.selfie-ring img{position:relative;width:100%;height:100%;object-fit:cover;border-radius:50%;border:4px solid var(--bg)}@keyframes spin{to{transform:rotate(360deg)}}.bar{position:relative;width:100%;height:8px;border-radius:4px;background:var(--line);margin-top:.75rem}.bar>span{position:absolute;inset:0 auto 0 0;background:var(--blue);border-radius:4px;transition:width .2s}.bar small{position:absolute;top:14px;left:0;right:0;color:var(--muted);font-variant-numeric:tabular-nums}.res-band{background:linear-gradient(160deg,var(--blue) 0%,var(--blue-dark) 70%,var(--blue-deep) 100%);color:var(--white)}.res-band-in{max-width:1080px;margin:0 auto;padding:calc(env(safe-area-inset-top) + 2rem) 1.25rem 1.5rem}.res-band .eyebrow{margin-bottom:.5rem}.res-sub{color:#fff;margin-top:.5rem}.res-actions{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:1.25rem}.res-actions .btn{flex:1 1 auto}.res-body{max-width:1080px;margin:0 auto;padding:1rem 1rem .5rem}.jump{display:flex;gap:4px;background:var(--tint);padding:4px;border-radius:14px;max-width:520px;position:sticky;top:calc(env(safe-area-inset-top) + .5rem);z-index:5;box-shadow:0 0 0 6px var(--bg),0 8px 18px 6px #003b5c1a}.jump a{flex:1;min-height:48px;border-radius:10px;color:var(--blue-dark);font-weight:600;text-decoration:none;background:#ffffff8c;display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1.15;padding:.3rem}.jump a:hover{background:var(--white)}.jump a small{font-weight:500;font-size:.75rem;color:var(--muted);font-variant-numeric:tabular-nums}html{scroll-behavior:smooth}@media (prefers-reduced-motion: reduce){html{scroll-behavior:auto}}.fmt-sec{scroll-margin-top:calc(env(safe-area-inset-top) + 4.75rem);margin-top:1.75rem}.fmt-sec.first{margin-top:1.25rem}.sec-h{font-size:1.15rem;font-weight:700;color:var(--ink);display:flex;align-items:baseline;gap:.5rem;padding-bottom:.5rem;border-bottom:1.5px solid var(--line)}.sec-h span{font-size:.8125rem;font-weight:500;color:var(--muted);font-variant-numeric:tabular-nums}.fmt-sec .panel{margin-top:.75rem}.banner{position:fixed;z-index:10;left:.75rem;right:.75rem;bottom:calc(.75rem + env(safe-area-inset-bottom));max-width:560px;margin:0 auto;background:var(--white);border:1.5px solid var(--line);border-left:4px solid var(--blue);border-radius:14px;padding:.9rem 1rem;box-shadow:0 12px 40px #003b5c40;animation:rise .22s ease-out}.banner p{padding-right:2.25rem}.banner-actions .btn.quiet{padding-inline:.7rem}.banner-x{position:absolute;top:.25rem;right:.25rem;width:44px;height:44px;display:grid;place-items:center;border:0;background:none;color:var(--muted);border-radius:999px;cursor:pointer}@keyframes rise{0%{transform:translateY(12px);opacity:0}}.banner-actions{display:flex;flex-wrap:wrap;gap:.4rem;margin-top:.6rem}.panel{margin-top:1rem;display:grid;gap:1rem}.hero-wrap{display:grid;gap:1rem}.hero{margin:0;background:var(--white);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden}.frame{position:relative;background:var(--tint) center / cover no-repeat;overflow:hidden}.frame img{width:100%;height:100%;object-fit:cover}.hero .actions,.cell .actions{display:flex;gap:.5rem;padding:.75rem;align-items:center}.hero .actions .btn.primary{flex:1}.avatar-card{display:flex;gap:1rem;align-items:center;background:var(--white);border-radius:var(--radius);box-shadow:var(--shadow);padding:1rem}.avatar{width:100px;height:100px;border-radius:50%;object-fit:cover;flex:none;box-shadow:0 0 0 3px var(--white),0 0 0 4px var(--line)}.avatar-title{font-weight:650}.skel{display:block;height:8px;border-radius:4px;background:var(--tint);margin-top:.6rem;width:80%}.skel.short{width:50%;margin-top:.4rem}.grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}.panel.f3x2 .grid{grid-template-columns:1fr}.cell{background:var(--white);border-radius:14px;box-shadow:var(--shadow);overflow:hidden;display:flex;flex-direction:column}.cell .actions{padding:.5rem;gap:.25rem;margin-top:auto}.cell .actions{flex-wrap:wrap}.cell .actions .btn.secondary{flex:1 1 0;min-width:0;padding-inline:.6rem;font-size:.9375rem;white-space:nowrap}@media (max-width: 400px){.cell .actions .btn.secondary{padding-inline:.4rem;gap:.3rem;font-size:.875rem}.cell .actions .btn.secondary svg{display:none}}.cell .btn.icon-only span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.cell .btn.icon-only{width:44px;padding:0;flex:none;color:var(--muted)}.empty{padding:2rem 0;text-align:center}.tag-ask{margin-top:1.25rem;background:var(--blue-deep);color:var(--white);border-radius:14px;padding:1rem 1.1rem;display:flex;align-items:center;gap:.6rem}.tag-ask:before{content:"";flex:none;width:4px;align-self:stretch;border-radius:2px;background:var(--blue)}.tag-ask a{color:var(--white);font-weight:700}.tag-ask a:focus-visible{outline-color:var(--gold)}.res-foot{margin-top:1.25rem}.res-foot-actions{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.5rem}.results .foot{margin-top:.5rem}@media (min-width: 760px){.res-band-in{padding:2.75rem 2rem 2rem;display:grid;grid-template-columns:1fr auto;align-items:end;column-gap:2rem}.res-band-in .res-actions{grid-column:2;grid-row:1 / span 3;margin:0;flex-wrap:nowrap}.res-body{padding:1.5rem 2rem .5rem}.grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}.panel.f3x2 .grid{grid-template-columns:repeat(2,minmax(0,1fr))}.fmt-sec .avatar-card,.panel.f2x3 .hero{max-width:520px}.panel.f1x1 .hero-wrap{grid-template-columns:1fr}.landing{padding:2.5rem 0}.landing .band{border-radius:28px 28px 0 0;min-height:300px;padding-top:2.5rem}.landing .sheet{border-radius:26px 26px 0 0}.landing .foot{border-radius:0 0 28px 28px;flex:none}body:has(.landing){background:radial-gradient(1200px 600px at 50% -10%,var(--tint),var(--bg))}.camera{position:fixed}.viewport{max-width:720px;width:calc(100% - 1.5rem);margin:0 auto}}@media (prefers-reduced-motion: reduce){*,*:before,*:after{transition:none!important;animation:none!important}.btn:active,.shutter:active .dot{transform:none}}@media (max-height: 700px){.band{padding-top:calc(env(safe-area-inset-top) + 1.25rem);padding-bottom:3rem}.royce{width:86%;margin:0 auto .75rem}}.band,.res-band{background-image:linear-gradient(rgb(255 255 255 / 5.5%) 1px,transparent 1px),linear-gradient(90deg,rgb(255 255 255 / 5.5%) 1px,transparent 1px),linear-gradient(160deg,var(--blue) 0%,var(--blue-dark) 62%,var(--blue-deep) 100%);background-size:24px 24px,24px 24px,auto;background-position:-1px -1px,-1px -1px,0 0}.royce .dims text{fill:#ffffff8c;stroke:none;font:600 5px var(--font);letter-spacing:.14em;opacity:0;animation:fade-in .8s ease 1.9s forwards}@keyframes fade-in{to{opacity:1}}.royce .lights path{stroke:none;stroke-dasharray:none;fill:#ffd68c;opacity:0;animation:lamp 2.4s ease-out calc(1.3s + var(--ld, 0s)) forwards}.royce .lights{filter:drop-shadow(0 0 2.5px rgb(255 200 110 / 90%))}@keyframes lamp{0%{opacity:0}30%{opacity:.95}to{opacity:.6}}.res-royce{width:min(70%,300px);margin:0 0 1rem -.25rem}@media (prefers-reduced-motion: reduce){.royce .lights path{animation:none;opacity:.6}.royce .dims text{animation:none;opacity:1}}@media (min-width: 760px){.res-band-in .res-royce{grid-column:1}.res-band-in .res-actions{grid-row:2 / span 3}}@media (min-width: 760px){.res-band-in>:not(.res-actions){grid-column:1}}.sec-row{display:flex;align-items:center;justify-content:space-between;gap:.75rem;flex-wrap:wrap;border-bottom:1.5px solid var(--line);padding-bottom:.5rem}.sec-row .sec-h{margin:0;border-bottom:0;padding-bottom:0}.sec-save{white-space:nowrap}.frame-btn{display:block;width:100%;padding:0;border:0;background:none;cursor:pointer;border-radius:inherit;outline-offset:3px}.frame-btn.on{box-shadow:0 0 0 3px var(--blue-dark)}
