/* Hand-drawn Night Camp. Shared asset framing for the host and phones. */
body.theme-campfire{background:#101e37 url('/assets/census-night-background-v080.png') center/cover fixed!important}
body.theme-campfire .census-panel{color:#243650}
body.theme-campfire #join-dialog .join-artifact{background-image:url('/assets/census-night-tablet-v081.png');aspect-ratio:2/3}
body.theme-campfire #join-dialog .join-face{inset:18% 13% 12%}
body.host.theme-campfire .camp-tutorial-phone.stone-tablet{background-image:url('/assets/census-night-tablet-v081.png');background-size:100% 100%;padding:18% 13% 12%;aspect-ratio:2/3;border:0;border-radius:0;clip-path:none;box-shadow:none}
body.theme-campfire .census-speaker .census-puppet{position:relative;width:auto;height:min(calc(100cqh - 22px),calc(100cqw / var(--census-host-ratio,.58)));max-width:100%;aspect-ratio:var(--census-host-ratio,.58);background:none;transform:none;overflow:visible}
body.theme-campfire .census-puppet>img{position:absolute;display:block;max-width:none;max-height:none;object-fit:fill;pointer-events:none}
body.theme-campfire .census-speaker.talking .census-puppet{animation:census-night-talk .55s ease-in-out infinite alternate}
body.theme-campfire .character-art.census-child{scale:.8;transform-origin:center bottom}
body.host.theme-campfire .census-speaker>strong{color:#fff0d5;text-shadow:0 2px 3px #101e37}
body.host.theme-campfire.phase-census-intro .census-panel{background:transparent!important;border:0;box-shadow:none}
body.theme-campfire .lobby-scene-plaque{background:#fff0d5;color:#243650;border:1px solid #b77b3e}
body.theme-campfire .lobby-scene-status{color:#665334}
body.theme-campfire #controls button,body.theme-campfire .census-panel button{background:#263e67;color:#fff0d5;border-color:#edb451}
body.theme-campfire #controls button:disabled{opacity:.6}
body.theme-campfire .census-panel button.selected{background:#b66b30;outline-color:#263e67}
@keyframes census-night-talk{to{transform:rotate(-1deg) translateY(-2px)}}
@media(prefers-reduced-motion:reduce){body.theme-campfire .census-speaker.talking .census-puppet{animation:none}}
