:root{--pink:#c51765;--blue:#1742c2;--ink:#171626;--yellow:#fff15e}*{box-sizing:border-box}body{margin:0;background:#fffdf8;color:var(--ink);font:16px/1.6 system-ui,-apple-system,sans-serif}header,main,footer{max-width:1120px;margin:auto;padding:22px 26px}header{display:flex;align-items:center;justify-content:space-between;border-bottom:2px solid #14141d}header img{width:130px;height:auto;display:block}a{color:var(--blue);text-underline-offset:4px}a:focus-visible,button:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid var(--blue);outline-offset:4px}.intro{max-width:800px;padding:18px 0 22px}.badge{display:inline-block;background:var(--yellow);border:2px solid #171626;box-shadow:3px 3px 0 #171626;border-radius:6px;padding:6px 12px;font-weight:800;font-size:12px;text-transform:uppercase;letter-spacing:.08em}h1{font:800 clamp(34px,5.2vw,54px)/1.07 system-ui;letter-spacing:-.045em;margin:20px 0}h2{font-size:28px;line-height:1.2}.intro>p{max-width:700px}.clarify,.hint,.privacy,.preview-note,.compare{font-size:13px;color:#5b5765}.booth-layout{display:grid;grid-template-columns:minmax(270px,440px) 1fr;gap:34px;align-items:start}.view{position:relative;aspect-ratio:3/4;background:#f7e6ed;border:2px solid #171626;border-radius:15px;overflow:hidden;box-shadow:6px 6px 0 #ffe655}.view canvas,.view>img{display:block;width:100%;height:100%;object-fit:contain}.view video{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none;top:0;left:0}.view canvas[hidden],.view>img[hidden]{display:none}.view-label{position:absolute;top:12px;left:12px;background:#ffffffeb;border:1px solid #e4c8d4;border-radius:8px;padding:5px 9px;font-size:11px;max-width:85%;color:#39303a}.start-overlay{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;gap:12px;padding:30px;background:#fff8e9b8}.start-overlay strong{font-size:30px;line-height:1.1;letter-spacing:-.025em;background:#fffaf3dd;padding:15px;border-radius:12px}.start-overlay span{max-width:220px;font-size:13px;background:#fffaf3ee;padding:10px;border-radius:8px}.start-overlay[hidden]{display:none}.controls{padding:2px 0}#status{font-weight:700;margin-top:0}.actions{display:flex;gap:10px;flex-wrap:wrap}button,.button{display:inline-flex;align-items:center;justify-content:center;min-height:46px;border:2px solid #171626;border-radius:8px;padding:10px 16px;background:#fff;color:#171626;font:700 14px/1.3 system-ui;text-decoration:none;cursor:pointer}button:hover,.button:hover{box-shadow:2px 2px 0 #171626}.primary{background:var(--pink);color:#fff}button:disabled{opacity:.45;cursor:not-allowed;box-shadow:none}.mirror{display:flex;align-items:center;gap:10px;font-size:14px;margin-top:20px}.mirror input{width:18px;height:18px;accent-color:var(--pink)}.save-controls{margin:20px 0;padding:18px;background:#e9f7fc;border:1px solid #c4e0ed;border-radius:12px}.save-controls .button,.save-controls button{margin:4px 5px 4px 0}.sample{margin:15px 0 5px;font-size:12px;background:#fff9ca;border-width:1px}.privacy{border-top:1px solid #ded9df;padding-top:17px}.privacy strong{color:#282130}details{border-top:1px solid #e0d9df;padding:14px 0;font-size:13px}summary{font-weight:700;cursor:pointer}.error{padding:13px;background:#fff0f0;border:1px solid #dc8294;border-radius:10px;font-size:14px;color:#8c163d}.qa-mode{font-size:12px;background:#fff4be;padding:10px}.steps{border-top:2px solid #171626;margin-top:35px;padding-top:15px;font-size:14px;max-width:850px}footer{font-size:12px;color:#67606b;border-top:1px solid #d8d2da;margin-top:30px}[hidden]{display:none!important}@media(max-width:700px){header,main,footer{padding:18px 22px}header img{width:108px}.intro{padding-top:15px;padding-bottom:12px}h1{font-size:38px}.booth-layout{grid-template-columns:1fr;gap:25px}.view-section{max-width:420px;width:100%;margin:auto}.view{box-shadow:4px 4px 0 #ffe655}.controls{padding-top:0}.actions button{flex-grow:1}.start-overlay strong{font-size:28px}.preview-note{font-size:12px}.steps{margin-top:25px}}

.view[data-format=landscape]{aspect-ratio:1280/714}.background-label{display:block;font-size:14px;font-weight:750;margin-bottom:7px}#background{display:block;width:100%;min-height:48px;padding:10px;border:2px solid #171626;border-radius:8px;background:#fff;font:16px system-ui;color:#171626}#background:focus-visible{outline:3px solid #1742c2;outline-offset:4px}

#camera-facing{display:block;width:100%;min-height:48px;padding:10px;border:2px solid #171626;border-radius:8px;background:#fff;font:16px system-ui;color:#171626}#camera-facing:focus-visible{outline:3px solid #1742c2;outline-offset:4px}.quick-start{font-size:14px;padding-left:24px;margin:0 0 28px}.quick-start li{padding-left:5px;margin:5px 0}
@font-face{font-family:Knewave;src:url('/party/assets/fonts/Knewave-Regular.ttf') format('truetype');font-weight:400;font-display:swap}@font-face{font-family:Chewy;src:url('/party/assets/fonts/Chewy-Regular.ttf') format('truetype');font-weight:400;font-display:swap}
.halloween-booth-label{display:none}.logo-notice{font-size:12px;color:#5b5765;margin:14px 0 4px}#halloween-choices h2{font-size:24px;margin:0 0 8px}.halloween-thumbs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:12px 0 22px}.halloween-thumbs button{display:flex;flex-direction:column;gap:5px;align-items:stretch;justify-content:flex-start;min-width:0;padding:8px;border:2px solid #b6aabf;background:#fff;position:relative;text-align:left;font-size:12px}.halloween-thumbs img{display:block;width:100%;height:78px;object-fit:contain;background:#170f21;border-radius:4px}.halloween-thumbs strong{line-height:1.25}.halloween-thumbs span{font-size:10px}.choice-selected{visibility:hidden;color:#6d2e9e;font-weight:800}.halloween-thumbs button[aria-pressed=true]{border-color:#c46400;box-shadow:0 0 0 2px #ffb46b;background:#fff6e9}.halloween-thumbs button[aria-pressed=true] .choice-selected{visibility:visible}.halloween-thumbs button:disabled{opacity:.65}
body[data-season=halloween]{background:#180e25 url('/party/assets/halloween-pattern-original.svg') repeat;background-size:300px auto}body[data-season=halloween] header,body[data-season=halloween] footer{background:#180e25eF;color:#eadbf6;border-color:#9f71b9}body[data-season=halloween] header{flex-wrap:wrap;gap:13px}body[data-season=halloween] .halloween-booth-label{display:block;flex-basis:100%;order:-1;text-align:center;background:#ff9b36;color:#180e25;padding:7px 10px;font-size:10px;font-weight:850;letter-spacing:.035em}body[data-season=halloween] header a{color:#ffbd79}body[data-season=halloween] footer a{color:#dcc1ff}body[data-season=halloween] main{width:min(1120px,calc(100% - 28px));background:#fffdf8;border:2px solid #9f71b9;border-radius:18px;margin-top:20px;margin-bottom:25px;box-shadow:6px 6px 0 #7e469e}body[data-season=halloween] h1{font-family:Knewave,system-ui;font-weight:400;line-height:1.2;letter-spacing:0}body[data-season=halloween] h2{font-family:Chewy,system-ui;font-weight:400}body[data-season=halloween] .primary{background:#ff9b36;color:#180e25}body[data-season=halloween] .primary:hover{background:#ffb66d}body[data-season=halloween] button:focus-visible,body[data-season=halloween] a:focus-visible,body[data-season=halloween] select:focus-visible{outline-color:#7637a8}body[data-season=halloween] #background,body[data-season=halloween] #background-label{display:none}
@media(max-width:700px){body[data-season=halloween] main{width:calc(100% - 20px);padding:18px 16px;margin-top:12px;box-shadow:3px 3px 0 #7e469e}.halloween-thumbs{gap:7px}.halloween-thumbs button{padding:6px}.halloween-thumbs img{height:66px}.halloween-thumbs strong{font-size:11px}body[data-season=halloween] header{padding:14px 18px}.halloween-booth-label{line-height:1.5}}

/* One downward workflow: setup, preview/capture, then save in the same panel. */
.booth-layout{display:flex;flex-direction:column;gap:24px;max-width:680px;margin:auto}.setup-step,.view-section{width:100%;max-width:none}.setup-step{border-bottom:2px solid #ddd2e7;padding-bottom:22px}.setup-step h2,.view-section h2{font-size:25px;margin:0 0 15px}.setup-start{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:15px}.setup-start .sample{margin:0}.view-section{scroll-margin-top:16px}.view{max-height:48vh;margin:0 auto}.view canvas,.view>img{object-fit:contain}.actions{margin:14px 0 0;gap:8px}.actions button{flex-grow:1;min-height:48px}.actions #capture:disabled,.actions #stop:disabled{display:none}.view-label{background:#fff;color:#23172e;font-weight:750;border:2px solid #9f71b9}body[data-flow=camera] .view-label{background:#e8fff0;border-color:#24824a;color:#155d30}body[data-flow=camera] .view{border-color:#24824a}#status{line-height:1.4;font-size:14px}.view-section .save-controls{margin:14px 0;padding:14px}.save-controls .button,.save-controls button{min-height:48px}#save-feedback{font-size:14px;font-weight:700;line-height:1.45;margin:12px 0}.mirror{margin-top:14px}body[data-flow^=captured] .mirror,body[data-flow^=captured] #detection-hint{display:none}.change-settings{font-size:13px;margin-top:15px}.booth-help{max-width:680px;margin:20px auto}.logo-notice,.preview-note{margin-top:10px}.steps{margin-left:auto;margin-right:auto}
@supports(height:1svh){.view{max-height:48svh}}
@media(max-width:700px){.booth-layout{gap:18px}.setup-step h2,.view-section h2{font-size:23px}.view{max-height:45vh}.setup-start{display:grid;grid-template-columns:1fr}.setup-start button{width:100%}.save-controls .button,.save-controls button{width:100%;margin:4px 0}.view-section #status{font-size:13px}.halloween-thumbs{margin-bottom:14px}@supports(height:1svh){.view{max-height:45svh}}}

.photo-assurance{font-size:14px;line-height:1.6;padding:12px 14px;background:#edf7f2;border:1px solid #aacbb9;border-left:4px solid #26734c;border-radius:9px;color:#213c2c;margin:16px 0}.photo-assurance strong{display:block}.photo-assurance a{color:#29497a;text-decoration:underline}.save-assurance{margin:12px 0;font-size:13px}.results-notice{font-size:14px;line-height:1.65;color:#53455d}.booth-help .privacy{font-size:14px;line-height:1.65}

.wearables{padding:20px;background:#fff9ed;border:1px solid #d6ded9;border-radius:14px;margin:20px 0}.wearables label{display:block;margin:12px 0}.wearables input[type=range]{width:min(100%,360px)}#prop-tray{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}#composite{touch-action:none}.wearables button{min-height:44px;margin:4px}

body{--heading-accent:#17746f}h1,h2,h3{color:var(--heading-accent)}body[data-background="unicorn"]{--heading-accent:#96336f}body[data-background="thanksgiving"],body[data-background="fall-wedding"]{--heading-accent:#a34b1b}body[data-background="underwater"]{--heading-accent:#1e609d}body[data-background="pirate"]{--heading-accent:#176c76}.wearables h2{color:var(--heading-accent)}

.intro .badge,.intro>p{display:none}.intro h1{font-size:clamp(28px,4vw,42px);margin:12px 0}.quick-start{font-size:13px}.tool-disclosures{max-width:1000px;margin:30px auto;font-size:13px;padding:20px}.tool-disclosures h2{font-size:23px}.photo-assurance{font-size:13px}.wearables>p{font-size:13px}.wearables h2{font-size:24px}

button.secondary:not(:disabled),a.secondary{background:#ed9c3b;color:#482912;border-color:#b97429}
