/* Halloween craft layer: poster typography, quiet controls and camera glass. */
:root{--event-red:#ed3139;--event-paper:#f2f0e9;--event-ink:#080808;--event-line:#ffffff24;--event-muted:#b8b6b2;--ease-out:cubic-bezier(.23,1,.32,1);--ease-in-out:cubic-bezier(.77,0,.175,1);--press-time:130ms;--state-time:220ms;color-scheme:dark}
button,a,input,select,textarea{touch-action:manipulation}
.button,.text-button,.admin-tabs button{transition:transform var(--press-time) var(--ease-out),background-color 160ms ease,color 160ms ease,border-color 160ms ease;letter-spacing:0}
.button:active,.text-button:active,.admin-tabs button:active{transform:scale(.97)}
:focus-visible{outline:2px solid var(--event-paper);outline-offset:4px}
/* Each role has one deliberate scale. Poster lettering stays out of controls. */
body.booth{min-height:100dvh}
.booth>main{width:100%;max-width:1180px;padding:22px 36px 56px}
.booth .intro{display:flex;flex-direction:row;justify-content:space-between;align-items:center;gap:24px;padding:0 0 24px!important;text-align:left}
.booth .intro h1{font:400 clamp(44px,5vw,78px)/1 DayPoster,Anton,sans-serif;margin:0;color:var(--event-red);letter-spacing:0}
.booth .intro .brand-art{width:142px;height:50px;margin:0}
.booth .workspace{display:block}
.booth .camera-window{position:relative;width:min(100%,calc((100dvh - 160px)*1.5));margin-inline:auto;max-width:none;border:1px solid #ffffff30;border-radius:14px;background:#0c0c0c;box-shadow:0 22px 70px #0006;overflow:hidden}
.booth .window-bar,.booth .window-menu,.booth .moodboard,.booth .taskbar{display:none!important}
.booth .camera-stage{aspect-ratio:3/2;max-height:none;min-height:0;width:100%}
.booth .camera-stage>video,.booth .camera-stage>canvas{object-fit:cover;object-position:center}
.booth .camera-toolbar{position:absolute;left:20px;right:20px;bottom:20px;z-index:4;min-height:84px;padding:12px 14px 12px 24px;gap:24px;background:linear-gradient(155deg,#ffffff12,#b2b2b20c),#080808a6;border:1px solid #ffffff38;border-radius:12px;box-shadow:inset 0 1px 0 #ffffff45,inset 1px 0 0 #ffffff0c,inset 0 -1px 0 #0005,0 8px 28px #0003;backdrop-filter:blur(6px) saturate(125%);-webkit-backdrop-filter:blur(6px) saturate(125%)}
.booth .status-copy{max-width:480px;gap:0;background:none;border:0}
.booth .status-copy>span{font:500 clamp(16px,1.4vw,21px)/1.35 system-ui,sans-serif;color:var(--event-paper)}
.booth .status-copy small{display:none}
.booth #capture{animation:none;min-width:220px;min-height:60px;padding:14px 24px;border-radius:8px;font:650 18px/1.2 system-ui,sans-serif;gap:14px;white-space:nowrap;background:var(--event-paper);border:0;color:var(--event-ink);box-shadow:none}
.booth .shutter-icon{width:21px;height:21px;border:2px solid var(--event-red);box-shadow:inset 0 0 0 3px var(--event-paper);background:var(--event-red)}
.booth .camera-label,.booth .focus-mark{display:none!important}
.booth .photo-progress{top:22px;right:22px;bottom:auto;min-width:76px;padding:10px 14px;border-radius:30px;font:600 16px/1 system-ui,sans-serif;letter-spacing:.04em;background:#080808b8;border:1px solid #ffffff3b;backdrop-filter:blur(6px)}
.booth .countdown{font:400 clamp(100px,17vw,240px)/1 Anton,sans-serif;letter-spacing:0;text-shadow:0 3px 24px #0008}
.booth .camera-gate{max-width:560px;padding:32px;text-align:center;margin:auto}
.booth .camera-gate h2{font:400 clamp(28px,3.6vw,52px)/1.15 DayPoster,Anton,sans-serif;max-width:500px;margin:0 auto 16px}
.booth .camera-gate p{font:16px/1.5 system-ui,sans-serif;max-width:370px;margin:0 auto 24px}
.booth .camera-gate .button{min-height:52px;font-size:16px}
.booth .publication-notice{max-width:800px;margin:14px auto 0;text-align:center;font:14px/1.5 system-ui,sans-serif;color:#c0beba}
/* Result uses two real columns; QR never sits in an abandoned filter column. */
.booth .result-window{border:0;background:none;box-shadow:none;overflow:visible}
.booth .result-content{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,.8fr);justify-items:center;gap:clamp(36px,6vw,90px);padding:0;background:none;align-items:center}
.booth .result-photo{height:min(700px,calc(100dvh - 155px));min-height:0;transform:none}
.booth .result-photo img,.booth .result-photo canvas{display:block;height:100%;width:auto;border:1px solid #ffffff16;box-shadow:0 16px 50px #0008}
.booth .result-actions{width:100%;max-width:380px;align-items:flex-start;text-align:left;gap:0}
.booth .result-actions h2{font:400 clamp(28px,3.6vw,50px)/1.14 DayPoster,Anton,sans-serif;max-width:360px;margin:0 0 18px}
.booth .result-actions .qr{width:clamp(200px,17vw,272px);height:auto;aspect-ratio:1;border:12px solid #fff;border-radius:12px;margin:2px 0 16px;box-shadow:0 10px 35px #0004}
.booth .result-actions .button{min-height:56px;padding:14px 22px;font:650 17px/1.2 system-ui,sans-serif;border-radius:8px;gap:12px}
.booth .result-actions .small-note{font:16px/1.5 system-ui,sans-serif!important;color:var(--event-muted)}
.booth .result-actions>p:not(.eyebrow){margin:4px 0 12px}
.booth .result-actions #reset-note{font-size:12px!important;margin-top:12px}
.booth .qr-wait-title{font:400 32px/1.15 DayPoster,Anton,sans-serif;letter-spacing:0}
.booth .qr-wait-title em{font-style:normal;color:var(--event-red)}
.toast{font:500 15px/1.5 system-ui,sans-serif;background:var(--event-paper);color:var(--event-ink);border-radius:10px;box-shadow:0 8px 35px #0006}
/* A floating save control is the only glass layer on the guest's photograph. */
.download-page{padding:24px 0 32px}
.download-page>.brand-art{width:116px;height:40px;margin:0 auto 20px}
.download-page main{max-width:600px;padding:0 24px 100px}
.download-page .download-heading{display:block;text-align:center;border:0;padding:0}
.download-page .download-heading h1{font:400 34px/1.15 DayPoster,Anton,sans-serif;text-align:center;margin:0 0 24px}
.download-page .download-strip{width:min(380px,100%);height:auto;max-width:100%;max-height:none;margin:0 auto 24px;transform:none;border:1px solid #ffffff20;box-shadow:0 12px 46px #0006}
.download-page #share-root{position:fixed;z-index:6;left:50%;bottom:max(16px,env(safe-area-inset-bottom));transform:translateX(-50%);width:calc(100% - 32px);max-width:400px;padding:8px;border:1px solid #ffffff40;border-radius:16px;background:linear-gradient(155deg,#ffffff10,#b2b2b20c),#080808c7;box-shadow:inset 0 1px 0 #ffffff35,0 8px 28px #0006;backdrop-filter:blur(6px) saturate(125%);-webkit-backdrop-filter:blur(6px) saturate(125%)}
.download-page #share-root .share-main{width:100%;min-height:56px;font:650 17px/1.2 system-ui,sans-serif;border:0;border-radius:9px;background:var(--event-paper);color:var(--event-ink);margin:0;box-shadow:none}
.download-page #share-feedback{font:12px/1.45 system-ui,sans-serif!important;margin:7px 6px 2px;color:#dedcd7}
.download-page #share-feedback:empty{display:none}
.download-page main>.small-note{font:13px/1.5 system-ui,sans-serif!important;max-width:380px;color:var(--event-muted);text-align:center}
.download-page h1{font:400 32px/1.2 DayPoster,Anton,sans-serif}
/* Operator UI: a restrained dark instrument panel, never a second poster. */
.admin{background:var(--event-ink);font-family:system-ui,sans-serif}
.admin:after{opacity:.035}
.admin .admin-header{height:76px;border-bottom:1px solid var(--event-line);background:#080808f5;letter-spacing:0;font-size:13px}
.admin .admin-header .brand-art{width:118px;height:40px}
.admin-main{max-width:1500px;padding:36px 4vw 80px}
.admin .admin-title h1{font:400 clamp(32px,3.3vw,50px)/1.18 DayPoster,Anton,sans-serif;margin:0 0 26px}
.admin .admin-title .eyebrow{display:none}
.admin .admin-title #stats{font-size:14px;color:var(--event-muted);padding-bottom:12px;white-space:nowrap}
.admin .admin-tabs{gap:4px;padding:5px;border:1px solid var(--event-line);border-radius:10px;background:#111;overflow-x:auto}
.admin .admin-tabs button{flex:1;border:0;border-radius:6px;background:none;padding:12px 18px;font:600 14px/1.4 system-ui,sans-serif;color:#bbb9b5;min-height:46px}
.admin .admin-tabs .selected{color:var(--event-paper);background:#30302f;box-shadow:inset 0 0 0 1px #ffffff18;position:relative}
.admin .admin-tabs .selected:after{content:'';position:absolute;bottom:6px;left:calc(50% - 9px);width:18px;height:2px;background:var(--event-red)}
.admin #admin-status{color:var(--event-paper);font-size:14px;min-height:22px;margin:14px 0}
.admin .section-heading h2,.admin .admin-panel h2{font:650 24px/1.25 system-ui,sans-serif;margin:0 0 8px}
.admin .section-heading p,.admin .admin-note{color:var(--event-muted);font:14px/1.5 system-ui,sans-serif}
.admin .admin-panel,.admin .device-row,.admin .message-row,.admin .photo-card{background:#111110;border-color:var(--event-line);border-radius:10px}
.admin .admin-panel{padding:24px;margin-bottom:20px}
.admin .admin-panel h3{font:650 18px/1.4 system-ui,sans-serif}
.admin .button,.admin a.button{font:650 14px/1.3 system-ui,sans-serif;min-height:46px;border-radius:7px;padding:12px 18px}
.admin .primary{background:var(--event-red);border:1px solid var(--event-red);color:#fff;box-shadow:none}
.admin .secondary{background:#242423;border:1px solid #ffffff30;color:var(--event-paper)}
.admin .text-button{color:#cac8c4;font:500 13px/1.4 system-ui,sans-serif;min-height:44px;text-decoration:none}
.admin .playlist-number,.admin .offer-summary,.admin #playlist-unsaved,.admin .panel-kicker{color:var(--event-red)}
.admin .panel-kicker{font-size:12px;letter-spacing:0}
.admin input,.admin select,.admin textarea{background:#080808;border-color:#ffffff35;color:var(--event-paper);border-radius:6px;font:15px/1.45 system-ui,sans-serif;accent-color:var(--event-red)}
.admin input:focus,.admin select:focus,.admin textarea:focus{outline:2px solid var(--event-paper);border-color:transparent}
.admin .playlist-item{background:#080808;border-color:var(--event-line);border-radius:7px}
.admin .row-content h3{font:650 17px/1.4 system-ui,sans-serif}
.admin .row-content p{color:var(--event-muted)}
.admin .empty{border-style:solid;border-color:var(--event-line);border-radius:9px;color:var(--event-muted)}
.admin .form-actions{background:#111110f5;border-radius:8px}
/* TV information is a poster composition; menus stay stationary while read. */
.bar-scene:before{position:absolute;pointer-events:none}
.scene-info{position:relative;display:flex;justify-content:center;align-items:flex-start;padding:8cqh 7cqw;gap:0}
.scene-info:before{background:linear-gradient(90deg,#080808f5 5%,#080808c9 45%,#08080818 100%),var(--scene-texture,url('/halloween-assets/textures/ambient.webp')) 75% center/cover!important}
.scene-info .promo-brand{position:absolute;width:13cqw;height:7cqh;bottom:7cqh;left:7cqw}
.scene-info .info-content{max-width:88cqw}
.scene-info .info-title{font:400 clamp(35px,12cqh,160px)/1.04 DayPoster,Anton,sans-serif;max-width:85cqw;margin:0 0 3cqh;letter-spacing:0}
.scene-info .info-body{font:400 4.8cqh/1.35 Anton,sans-serif;max-width:62cqw;margin:0;color:var(--event-paper);letter-spacing:.01em}
.scene-info .info-kicker:empty,.scene-info .info-footer:empty{display:none}
.scene-menu .bar-menu-row h3{font-family:Anton,Impact,sans-serif;font-weight:400;letter-spacing:.005em}
.scene-menu .bar-menu-price{font-family:Anton,Impact,sans-serif;font-weight:400;font-variant-numeric:tabular-nums;white-space:nowrap}
.scene-menu .bar-menu-row p{color:#d0ceca;font-family:system-ui,sans-serif;letter-spacing:0;line-height:1.35}
.scene-product .drink-copy{min-width:0}
.scene-product .offer-price{font:400 11cqh/1.1 Anton,sans-serif;white-space:nowrap}
.scene-product .offer-before{white-space:nowrap;font-family:system-ui,sans-serif}
.screen-photos{border:1px solid #ffffff26;border-radius:0;box-shadow:none}
.screen-copy h1{font-size:9cqh;line-height:1.08}
.screen-copy .screen-invite{font:400 3cqh/1.45 system-ui,sans-serif;max-width:31cqw}
.scene-curtain{background:#080808!important;pointer-events:none}
.scene-curtain:before{display:none!important}
.scene-curtain .brand-art{transform:none;width:16vw;height:9vh;filter:grayscale(1) brightness(3)}
.screen-unavailable .screen-footer{display:flex!important;position:fixed;inset:57% 7vw auto;height:auto;min-height:100px;padding:24px;gap:24px;justify-content:center;text-align:center;background:#161616;border:1px solid #ed313980;border-radius:8px;z-index:8}
.screen-unavailable #screen-status{font:400 clamp(20px,3vw,42px)/1.35 system-ui,sans-serif;margin:0}
.screen-unavailable #screen-fullscreen{display:none}
/* Wheel: own Halloween primitives; no legacy promo stylesheet required. */
.scene-wheel{display:grid;grid-template-columns:50% 46%;gap:4%;align-items:center;padding:6cqh 6cqw;background:#080808}
.scene-wheel .promo-brand{position:absolute;left:6cqw;bottom:5cqh;width:11cqw;height:6cqh}
.fortune-visual{position:relative;display:grid;place-items:center;aspect-ratio:1;width:100%}
.fortune-wheel{position:absolute;inset:5%;border:1.1cqh solid var(--event-paper);border-radius:50%;padding:.8cqh;background:#080808;box-shadow:0 0 0 1px #ffffff40,0 15px 50px #0007}
.fortune-face{position:relative;width:100%;height:100%;border-radius:50%;background:repeating-conic-gradient(from -15deg,#ed3139 0deg 30deg,#151515 30deg 60deg);animation:fortune-turn 30s linear infinite}
.fortune-prize{position:absolute;inset:0;display:grid;place-items:start center;transform:rotate(calc(var(--sector)*30deg));padding-top:7%;color:var(--event-paper);font:400 3cqh/1 Anton,sans-serif}
.fortune-hub{position:absolute;inset:39%;border-radius:50%;border:.6cqh solid var(--event-paper);background:#080808;display:grid;place-items:center}
.fortune-hub .brand-art{width:75%;height:50%;filter:grayscale(1) brightness(3)}
.fortune-pointer{position:absolute;top:1%;left:calc(50% - 2cqh);width:4cqh;height:5cqh;background:var(--event-paper);clip-path:polygon(0 0,100% 0,50% 100%);z-index:2}
.fortune-copy{padding-left:2cqw}.fortune-copy .menu-kicker{font:400 3cqh/1.2 Anton,sans-serif;color:var(--event-red);margin:0 0 3cqh}
.fortune-title{font:400 7.7cqh/1.04 DayPoster,Anton,sans-serif;letter-spacing:0;margin:0 0 4cqh;color:var(--event-paper)}
.fortune-title span{display:block}.fortune-ticket{display:flex;gap:2cqw;align-items:baseline;border-top:1px solid #ffffff40;border-bottom:1px solid #ffffff40;padding:2cqh 0;margin-bottom:3cqh}
.fortune-ticket strong{font:400 6cqh/1 Anton,sans-serif;color:var(--event-red)}.fortune-ticket span{font:400 3.8cqh/1 Anton,sans-serif}
.fortune-description,.fortune-copy .scene-footer-note{font:400 2.5cqh/1.4 system-ui,sans-serif;color:var(--event-muted);max-width:37cqw}
@keyframes fortune-turn{to{transform:rotate(360deg)}}
@media(orientation:portrait){.scene-product{display:flex;flex-direction:column;justify-content:center;padding:6cqh 8cqw;gap:3cqh}.scene-product .drink-art{height:38cqh;width:84cqw;flex:none}.scene-product .drink-object{height:35cqh;max-height:35cqh;max-width:75cqw}.scene-product .drink-copy{width:84cqw;text-align:center}.scene-product .drink-title{font-size:5cqh;margin:2cqh 0}.scene-product .drink-size,.scene-product .drink-description{font-size:2.3cqh}.scene-product .offer-prices{justify-content:center;gap:4cqw}.scene-product .offer-price{font-size:7cqh}.scene-product .offer-before{font-size:3cqh}.scene-product .offer-badge{display:inline-block;font-size:2.5cqh;padding:1cqh 3cqw}.scene-product .promo-signal{font:400 2cqh/1.2 Anton,sans-serif;padding:1cqh 3cqw}.scene-product .drink-set .drink-object{height:22cqh;max-width:calc(100% / min(var(--drink-count),5) - 1cqw)}}
@media(hover:hover) and (pointer:fine){.booth #capture:hover,.download-page #share-root .share-main:hover{background:#fff}.admin .secondary:hover{background:#333}.admin .primary:hover{background:#d42630}.text-button:hover{color:var(--event-paper)}}
@media(min-width:900px) and (max-height:800px){.booth>main{max-width:1000px;padding-top:18px}.booth .intro{padding-bottom:16px!important}.booth .intro h1{font-size:48px}.booth .intro .brand-art{width:110px;height:38px}.booth .camera-window{width:min(100%,calc((100dvh - 150px)*1.5))}.booth .camera-toolbar{bottom:14px;left:14px;right:14px;min-height:72px;padding:10px 12px 10px 20px}.booth #capture{min-height:52px;min-width:210px}.booth .result-photo{height:calc(100dvh - 135px)}.booth .result-actions .qr{width:220px}.booth .result-actions h2{font-size:36px}}
@media(max-width:899px){.booth>main{padding:20px 20px 50px}.booth .intro h1{font-size:48px}.booth .intro .brand-art{width:108px;height:38px}.booth .camera-toolbar{left:12px;right:12px;bottom:12px;padding:12px;gap:14px}.booth .status-copy>span{font-size:15px}.booth #capture{animation:none;min-width:180px;font-size:16px;padding:12px 18px;min-height:54px}.booth .result-content{grid-template-columns:minmax(0,1fr) minmax(230px,.8fr);gap:30px}.booth .result-photo{height:min(650px,calc(100dvh - 160px))}.booth .result-actions h2{font-size:32px}.booth .result-actions .qr{width:210px}}
@media(max-width:600px){.booth>main{padding:18px 14px 42px}.booth .intro{gap:14px;padding-bottom:18px!important}.booth .intro h1{font-size:34px}.booth .intro .brand-art{width:85px;height:30px}.booth .camera-window{width:100%;border-radius:12px}.booth .camera-stage{aspect-ratio:3/2;max-height:none;min-height:0}.booth .camera-toolbar{position:relative;inset:auto;flex-direction:column;gap:12px;border:0;border-top:1px solid #ffffff25;border-radius:0;padding:16px;background:#141414;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}.booth .status-copy{text-align:center}.booth #capture{width:100%;min-height:58px;font-size:18px}.booth .photo-progress{top:14px;right:14px}.booth .result-content{grid-template-columns:1fr;gap:24px}.booth .result-photo{width:min(300px,78vw);height:auto;aspect-ratio:9/16}.booth .result-photo img,.booth .result-photo canvas{width:100%;height:100%}.booth .result-actions{max-width:340px;align-items:center;text-align:center}.booth .result-actions h2{font-size:31px;margin-bottom:14px}.booth .result-actions .qr{width:210px}.booth .result-actions #again{width:100%}.booth .publication-notice{font-size:10px;margin-top:16px}.admin-main{padding:26px 16px 60px}.admin .admin-header{padding-inline:16px;height:66px}.admin .admin-title h1{font-size:32px;margin-bottom:12px}.admin .admin-title #stats{padding:0;margin:0 0 22px}.admin .admin-tabs button{padding:12px;font-size:13px;flex:none}.admin .section-heading{gap:14px;align-items:start}.admin .section-heading h2,.admin .admin-panel h2{font-size:22px}.admin .admin-panel{padding:20px 16px}.admin .row-actions{gap:8px}.download-page{padding-top:20px}.download-page main{padding:0 16px 100px}.download-page .download-heading h1{font-size:29px;margin-bottom:22px}.download-page>.brand-art{margin-bottom:20px}}
@media(orientation:portrait){.scene-info{padding:8cqh 8cqw;justify-content:center}.scene-info:before{background:linear-gradient(0deg,#080808dc 0%,#08080887 50%,#08080833),var(--scene-texture,url('/halloween-assets/textures/ambient.webp')) 66% center/cover!important}.scene-info .info-title{font-size:7.4cqh;max-width:84cqw}.scene-info .info-body{font-size:3.3cqh;max-width:80cqw}.scene-info .promo-brand{bottom:7cqh;left:8cqw;width:27cqw;height:5cqh}.screen-copy .screen-invite{max-width:82vw;font-size:2.5vh}.scene-wheel{display:flex;flex-direction:column;padding:5cqh 8cqw;gap:3cqh}.fortune-visual{height:46cqh;width:auto;aspect-ratio:1}.fortune-copy{padding:0;text-align:center}.fortune-copy .menu-kicker{font-size:2cqh;margin-bottom:1.5cqh}.fortune-title{font-size:4.3cqh;margin-bottom:2cqh}.fortune-title span{display:inline}.fortune-ticket{justify-content:center;padding:1.5cqh 0;margin-bottom:1.5cqh}.fortune-ticket strong{font-size:4cqh}.fortune-ticket span{font-size:2.8cqh}.fortune-description,.fortune-copy .scene-footer-note{max-width:82cqw;font-size:1.8cqh}.fortune-prize{font-size:2cqh}.scene-wheel .promo-brand{position:static;width:22cqw;height:4cqh;order:3;margin-top:auto}}
@media(prefers-reduced-transparency:reduce),(prefers-contrast:more){.booth .camera-toolbar,.download-page #share-root{background:#111!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;border-color:#ffffff80}}
@media(prefers-reduced-motion:reduce){.fortune-face{animation:none}.button,.text-button,.admin-tabs button{transition:background-color 100ms ease,color 100ms ease}.button:active,.text-button:active,.admin-tabs button:active{transform:none}}

.diagnostic-page .diag-hint,.diagnostic-page .diag-result-note{font:15px/1.5 system-ui,sans-serif;color:var(--event-muted);margin:18px auto;max-width:850px}
.diagnostic-page #run{min-height:56px;font:650 17px/1.3 system-ui,sans-serif;border-radius:8px;padding:14px 22px;white-space:nowrap}
.diagnostic-page .diag-report{margin:32px auto 0;padding:28px;border:1px solid var(--event-line);border-radius:12px;background:#111;max-width:900px}
.diagnostic-page .diag-report h2{font:650 25px/1.2 system-ui,sans-serif;margin:0 0 24px}
.diagnostic-page .diag-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin:0 0 24px}.diagnostic-page .diag-metrics div{min-width:0}.diagnostic-page .diag-metrics dt{font:14px/1.5 system-ui,sans-serif;color:var(--event-muted);margin-bottom:8px}.diagnostic-page .diag-metrics dd{font:400 clamp(26px,3vw,40px)/1.1 Anton,sans-serif;margin:0;color:var(--event-paper)}
.diagnostic-page .diag-details{margin:24px 0;border-top:1px solid var(--event-line);padding-top:20px}.diagnostic-page .diag-details summary{cursor:pointer;min-height:44px;font:500 15px/1.5 system-ui,sans-serif}.diagnostic-page .diag-output{white-space:pre-wrap;overflow-wrap:anywhere;font:13px/1.6 ui-monospace,monospace;color:#d0ceca}
@media(max-width:600px){.diagnostic-page .diag-report{padding:22px 18px}.diagnostic-page .diag-metrics{grid-template-columns:1fr;gap:18px}.diagnostic-page .diag-metrics dd{font-size:32px}.diagnostic-page #run{width:100%}}

/* Shared vector lettering preserves the supplied poster's tall 4.1:1 title. */
.booth:not(.diagnostic-page) .intro h1{width:400px;height:auto;aspect-ratio:936/228;font-size:0;line-height:0;background:url('/halloween-assets/halloween-wordmark.svg') left center/contain no-repeat;max-width:75%;flex-shrink:1}
.scene-menu .menu-title{width:60cqw;height:12.8cqh;font-size:0;background:url('/halloween-assets/halloween-wordmark.svg') center/contain no-repeat;max-width:84cqw}
.scene-menu .menu-heading{min-height:17cqh}.scene-info[data-title="halloween"] .info-title{width:55cqw;height:20cqh;font-size:0;background:url('/halloween-assets/halloween-wordmark.svg') left center/contain no-repeat;max-width:84cqw}
.admin .playlist-panel:before{height:2px;background:var(--event-red)}.admin .panel-kicker{background:none;padding:0;color:var(--event-red)!important;font:550 12px/1.4 system-ui,sans-serif!important;letter-spacing:0}.admin .playlist-item[data-type]{border-left-color:#ffffff35}.admin .playlist-item[data-type="photos"]{border-left-color:var(--event-red)}
.admin .scene-shortcuts{background:none;border:0;padding:0;margin:24px 0}.admin .scene-shortcuts>span{color:var(--event-muted);letter-spacing:0;font-weight:500}.admin .scene-shortcuts .button:hover{color:var(--event-paper);border-color:#ffffff50}.admin .message-row[data-kind]{border-left-color:#ffffff35}.admin .message-row[data-status="live"]:after{background:#ed313924;color:var(--event-paper);border:1px solid #ed313950;font:600 10px/1.2 system-ui,sans-serif;letter-spacing:.02em}.admin .message-thumb{border:1px solid #ffffff30;box-shadow:none}.admin .primary:active{transform:scale(.97);box-shadow:none}
@media(min-width:900px) and (max-height:800px){.booth:not(.diagnostic-page) .intro h1{width:260px}}
@media(max-width:600px){.booth:not(.diagnostic-page) .intro h1{width:220px;max-width:72%}.booth .intro .brand-art{width:76px}.booth .intro{gap:12px}}
@media(orientation:portrait){.scene-menu .menu-title{height:8.8cqh;width:76cqw}.scene-menu .menu-heading{min-height:13cqh}.scene-info[data-title="halloween"] .info-title{width:84cqw;height:auto;aspect-ratio:936/228}}

.download-page .download-strip{width:auto;max-width:100%;max-height:calc(100dvh - 280px);height:auto;object-fit:contain}
.button:active:focus-visible,.text-button:active:focus-visible{transform:none}
.booth:has(#result:not([hidden])) .intro h1{display:none}.booth:has(#result:not([hidden])) .intro{justify-content:flex-end}
/* On a phone, the finished strip has room to be inspected before the QR. */
@media(max-width:600px){.booth .result-content{grid-template-columns:minmax(0,1fr);gap:28px;align-items:start}.booth .result-photo{grid-column:1;grid-row:1;width:min(300px,80vw);max-width:none;height:auto;margin:0;aspect-ratio:9/16}.booth .result-actions{grid-column:1;grid-row:2;width:100%;max-width:320px;align-items:center;text-align:center}.booth .result-actions h2{font-size:30px;line-height:1.15;margin:0 0 18px}.booth .result-actions .qr{width:210px;max-width:100%;border-width:10px;margin:0 0 16px}.booth .result-actions .small-note{font-size:16px!important}.booth .result-actions .button{padding:14px;font-size:16px;min-height:54px;white-space:nowrap}.booth .result-actions #reset-note{font-size:12px!important}.booth .publication-notice{font-size:12px;margin-top:16px}.admin .photo-list{grid-template-columns:minmax(0,1fr);gap:12px}.admin .photo-card{display:grid;grid-template-columns:92px minmax(0,1fr);gap:0 16px;padding:12px;align-items:start}.admin .photo-card img{grid-column:1;grid-row:1/3;width:92px;height:auto;aspect-ratio:9/16;object-fit:contain}.admin .photo-card p{grid-column:2;margin:0 0 10px;font-size:12px;line-height:1.5}.admin .photo-card .row-actions{grid-column:2;gap:2px 10px;margin:0}.admin .photo-card .row-actions .text-button{min-height:44px;display:inline-flex;align-items:center}.admin .photo-card .row-actions .button{width:100%;min-height:44px}}
.screen-unavailable .screen-footer{width:auto;max-width:none;clip:auto;clip-path:none;overflow:visible}
body.screen .screen-promo{inset:0}
.booth .camera-gate{background:radial-gradient(ellipse at center,#1c1c1c,#080808 75%)}
.booth:not(.diagnostic-page) .camera-window:has(#welcome:not([hidden])) .camera-toolbar{display:none}
@media(orientation:portrait){.screen-copy h1{font-size:12vw;max-width:88vw;overflow-wrap:normal;white-space:nowrap}}
/* The menu footer is a reserved band; no content may paint through its logo. */
@media(orientation:portrait){.scene-menu .menu-title{height:8cqh}.scene-menu .menu-heading{min-height:11.5cqh}.scene-menu[data-menu] .bar-menu-category{font-size:3cqh;line-height:1.18;margin-bottom:1.1cqh}.scene-menu .bar-menu-row{padding:.7cqh 0}.scene-menu .bar-menu-grid{gap:1.4cqh}}
@media(orientation:landscape){.scene-menu .bar-menu-column{display:flex;flex-direction:column;min-height:0}.scene-menu .bar-menu-row{flex:1;min-height:0;align-items:center;padding:1.1cqh 0}.scene-menu .bar-menu-row h3{font-size:5.1cqh}.scene-menu .bar-menu-row p{font-size:2.8cqh}.scene-menu .bar-menu-price{font-size:6cqh}.scene-menu .bar-menu-column[style*="--menu-items: 5"] .bar-menu-row h3{font-size:4.7cqh}.scene-menu .bar-menu-column[style*="--menu-items: 5"] .bar-menu-row p{font-size:2.6cqh}}
.scene-product .promo-signal{display:none!important}.scene-product[data-offer="regular"] .offer-badge{display:none}.scene-product .offer-badge{display:inline-flex;align-items:baseline;gap:.3em;width:max-content;padding:0;margin:0;background:none!important;color:var(--event-red)!important;font:400 5cqh/1.1 Anton,sans-serif}
.scene-product .offer-prices{flex-wrap:nowrap}.scene-product .offer-price{font-size:14cqh}
@media(orientation:landscape){.scene-product .drink-art[data-count="2"] .drink-object{height:60cqh;max-height:60cqh;max-width:45%}.scene-product .drink-art[data-count="3"] .drink-object{height:48cqh;max-height:48cqh;max-width:30%}}
@media(orientation:portrait){.scene-product .offer-badge{font-size:2.8cqh}.scene-product .offer-price{font-size:8cqh}}
/* Sparse menu columns follow the same row rhythm as their neighbouring list. */
@media(orientation:landscape){.scene-menu[data-menu="drinks"] .bar-menu-row{flex:0 0 14cqh}.scene-menu[data-menu="shots"] .bar-menu-row{flex:0 0 11.2cqh}.scene-wheel .fortune-copy .menu-kicker{display:none}.fortune-title{font-size:8.8cqh}.fortune-ticket strong{font-size:8cqh}.fortune-ticket span{font-size:4.6cqh}.fortune-description,.fortune-copy .scene-footer-note{font-size:3.1cqh}}
/* Editing is a focused workspace; the unchanged emission plan returns on close. */
.admin [data-section="messages"]:has(>#editor:not([hidden]))>:not(#editor){display:none}
.admin [data-section="messages"]:has(>#editor:not([hidden]))>#editor{margin-top:24px}
.admin .editor{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px;align-items:start}
.admin .editor>#message-form{grid-column:1;grid-row:1;max-width:none;width:100%;margin:0}
.admin .editor>.editor-preview{grid-column:2;grid-row:1;order:0;position:sticky;top:24px;width:100%;max-width:none}
.admin .editor-preview>p:first-child{color:var(--event-muted);font:500 13px/1.5 system-ui,sans-serif;letter-spacing:0}
.scene-wheel .fortune-copy .menu-kicker{display:none}
@media(max-width:920px){.admin .editor{grid-template-columns:minmax(0,1fr)}.admin .editor>.editor-preview{grid-column:1;grid-row:1;position:static}.admin .editor>#message-form{grid-column:1;grid-row:2}}
/* A narrow kiosk offers the complete QR first, then a full-size strip to inspect. */
@media(max-width:600px){.booth .result-actions{grid-row:1}.booth .result-photo{grid-row:2}}
/* Centre the whole offer optically; the offer itself is the headline. */
.scene-product .drink-copy{text-align:center}
.scene-product .offer-badge{margin-inline:auto}
.scene-product .offer-prices{justify-content:center}
.scene-product .drink-description{margin-inline:auto}
.scene-product .promo-brand{display:block;position:absolute;top:auto;right:auto;bottom:4cqh;left:50%;transform:translateX(-50%);width:11cqw;height:5cqh;background-position:center;background-size:contain}
@media(orientation:landscape){.scene-product .offer-badge{font-size:7.5cqh}.scene-product .drink-art[data-count="2"] .drink-object{height:75cqh;max-height:75cqh;max-width:47%}.scene-product .offer-price{font-size:16cqh}}
@media(orientation:portrait){.scene-product .promo-brand{bottom:3cqh;width:23cqw;height:3.8cqh}}

.booth .qr-wait{background:#111110;border:1px solid #ffffff30;box-shadow:inset 0 1px 0 #ffffff0c}
@media(orientation:landscape){.fortune-description,.fortune-copy .scene-footer-note{font-size:4cqh;color:#d0ceca}}

@media(orientation:landscape){.scene-product .offer-badge{font-size:9.2cqh}.scene-product .drink-title{font-size:12.5cqh}.scene-product .drink-size{font-size:3.8cqh}.scene-product .drink-description{font-size:3.3cqh;line-height:1.35}.scene-product .offer-before{font-size:4.5cqh}.scene-product .offer-price{font-size:20cqh}}
.booth .result-actions #share-note{max-width:100%;font-size:16px!important}

/* Different static ink/paper textures for each programme, without people in backgrounds. */
body{--surface-texture:url('/halloween-assets/textures/camera.webp')}
body.download-page{--surface-texture:url('/halloween-assets/textures/strip.webp')}
body:before,body:not(.screen):not(.download-page):before{background:var(--surface-texture) center/cover!important;opacity:.85}
.bar-scene:before{background:var(--scene-texture,url('/halloween-assets/textures/drinks.webp')) center/cover!important;opacity:.92!important}
.scene-menu[data-menu="drinks"]{--scene-texture:url('/halloween-assets/textures/drinks.webp')}
.scene-menu[data-menu="shots"]{--scene-texture:url('/halloween-assets/textures/shots.webp')}
.scene-menu[data-menu="special"]{--scene-texture:url('/halloween-assets/textures/special.webp')}
.scene-info{--scene-texture:url('/halloween-assets/textures/ambient.webp')}
.scene-wheel{--scene-texture:url('/halloween-assets/textures/wheel.webp')}
.scene-product{--scene-texture:url('/halloween-assets/textures/product.webp')}
.fortune-ticket{align-items:center}
.fortune-ticket strong,.fortune-ticket .fortune-equals,.fortune-ticket .fortune-entry{display:block;font:400 8cqh/1 Anton,sans-serif;white-space:nowrap}
.fortune-ticket .fortune-equals{font-size:5.8cqh}
@media(orientation:portrait){.fortune-ticket strong,.fortune-ticket .fortune-entry{font-size:4cqh}.fortune-ticket .fortune-equals{font-size:3cqh}}
