/* ================= 番外 21 岁的拍立得 ================= */
#ch-booth { padding: calc(var(--vh) * 12) 0 calc(var(--vh) * 10); }
.bo-wrap { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.bo-rig { position: relative; width: min(88vw, 360px); display: flex; flex-direction: column; align-items: center; }
.bo-cam { position: relative; z-index: 2; width: 100%; padding-top: 32px; }
/* the bump on top: flash, model name, viewfinder — laid out inside the part that shows above the body */
.bo-top { position: absolute; left: 22px; right: 22px; top: 0; height: 48px; display: flex; align-items: center; justify-content: space-between; padding: 0 14px 16px; background: #ff9ec4 url(../assets/art/strokes.webp) center / 160px; border: 3px solid var(--ink); border-bottom: 0; border-radius: 16px 16px 0 0; }
.bo-flashbulb { width: 30px; height: 17px; border-radius: 6px; border: 2.5px solid var(--ink); background: linear-gradient(135deg, #fffbe6, #ffe08a); box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .6); }
.bo-brand { font-family: var(--f-num); font-weight: 600; font-size: 13px; line-height: 1; color: var(--ink); letter-spacing: .24em; padding-left: .24em; }
.bo-finder { width: 26px; height: 17px; border-radius: 6px; border: 2.5px solid var(--ink); background: radial-gradient(circle at 40% 40%, #8fb6ff, #2b2a5e 70%); }
.bo-body { position: relative; z-index: 1; padding: 16px 16px 26px; background: #ffb3cf url(../assets/art/strokes.webp) center / 160px; border: 3px solid var(--ink); border-radius: 26px; box-shadow: 0 6px 0 rgba(42, 26, 18, .35), 0 18px 40px rgba(8, 6, 40, .35); }
.printing .bo-cam { animation: bo-buzz .11s linear infinite; }
@keyframes bo-buzz { 0%, 100% { transform: translate(0, 0); } 25% { transform: translate(.6px, -.4px); } 50% { transform: translate(-.5px, .4px); } 75% { transform: translate(.4px, .5px); } }
.bo-screen { position: relative; aspect-ratio: 1; border: 4px solid var(--ink); border-radius: 18px; overflow: hidden; background: #ffe3ee; box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .5); }
.bo-screen.dragging { cursor: grabbing; }
.bo-view { position: absolute; inset: 0; width: 100%; height: 100%; }
.bo-video { position: absolute; left: 0; top: 0; width: 2px; height: 2px; opacity: 0; pointer-events: none; }
.bo-mode, .bo-drag { position: absolute; font-size: 12px; color: var(--ink); background: rgba(255, 246, 232, .88); border: 2px solid var(--ink); border-radius: 99px; padding: 0 8px; line-height: 1.6; pointer-events: none; }
.bo-mode { left: 10px; top: 10px; }
.bo-drag { right: 10px; bottom: 10px; transition: opacity .8s ease; animation: bo-nudge 2.6s ease-in-out infinite; }
@keyframes bo-nudge { 0%, 70%, 100% { transform: none; } 80% { transform: translateX(-4px) rotate(-2deg); } 90% { transform: translateX(3px) rotate(1deg); } }
.bo-screen.dragging .bo-drag, .bo-drag.gone { opacity: 0; animation: none; }
.bo-count { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 110px; color: #fffaf0; pointer-events: none;
  text-shadow: 3px 0 var(--ink), -3px 0 var(--ink), 0 3px var(--ink), 0 -3px var(--ink), 2px 2px var(--ink), -2px -2px var(--ink), 2px -2px var(--ink), -2px 2px var(--ink), 0 0 40px rgba(255, 150, 200, .8); }
.bo-count.pop { animation: bo-pop .7s var(--ease-pop); }
@keyframes bo-pop { 0% { transform: scale(.3); opacity: 0; } 40% { transform: scale(1.1); opacity: 1; } 100% { transform: scale(1); opacity: .9; } }
.bo-flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.bo-flash.on { animation: bo-flash .7s ease-out; }
@keyframes bo-flash { 0% { opacity: 0; } 12% { opacity: .96; } 100% { opacity: 0; } }
.bo-frames { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px; margin: 12px 0 10px; }
.bo-chip { font-size: 13.5px; padding: 3px 11px; border: 2.5px solid var(--ink); border-radius: 99px; background: #fff3df; color: var(--ink); box-shadow: 0 2px 0 var(--ink); transition: transform .15s, background .2s; }
.bo-chip.on { background: var(--gold); transform: translateY(-2px); box-shadow: 0 4px 0 var(--ink); }
.bo-reset { width: 30px; height: 30px; flex: none; border-radius: 50%; border: 2.5px solid var(--ink); background: #fff3df; color: var(--ink); font-family: var(--f-num); font-size: 16px; font-weight: 600; line-height: 1; box-shadow: 0 2px 0 var(--ink); }
.bo-reset:active { transform: translateY(2px); box-shadow: 0 0 0 var(--ink); }
.bo-ctrl { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; }
.bo-side { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 13px; color: var(--ink); cursor: pointer; }
.bo-side i { font-style: normal; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; font-size: 20px; border-radius: 50%; border: 2.5px solid var(--ink); background: #fff3df; box-shadow: 0 3px 0 var(--ink); }
.bo-side:active i { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink); }
.bo-file { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.bo-shutter { width: 76px; height: 76px; border-radius: 50%; border: 3px solid var(--ink); background: #fff6e8; box-shadow: 0 4px 0 var(--ink); display: flex; align-items: center; justify-content: center; transition: transform .12s, box-shadow .12s; }
.bo-shutter i { width: 54px; height: 54px; border-radius: 50%; border: 3px solid var(--ink); background: radial-gradient(circle at 38% 35%, #ff9ab9, #e8466f 70%); }
.bo-shutter:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.shooting .bo-shutter, .printing .bo-shutter { pointer-events: none; filter: grayscale(.4); }
/* the slot the film comes out of: a dark lip along the bottom edge of the camera */
.bo-slot { position: absolute; z-index: 2; left: 15%; right: 15%; bottom: -5px; height: 11px; border-radius: 0 0 8px 8px; background: linear-gradient(#0c0706, #2a1a12 70%, #3a2a22); border: 2.5px solid var(--ink); border-top: 0; box-shadow: 0 2px 0 rgba(42, 26, 18, .3); }
.printing .bo-slot { box-shadow: 0 2px 0 rgba(42, 26, 18, .3), 0 0 14px rgba(255, 240, 220, .45); }
/* the print starts tucked inside the camera and is pushed down through the slot */
.bo-eject { position: relative; z-index: 1; width: 74%; height: 0; margin-top: -6px; overflow: hidden; }
.bo-print { position: absolute; left: 0; right: 0; top: 0; transform: translateY(-101%); transform-origin: 50% 0; }
.printed .bo-eject { overflow: visible; }
.printed .bo-print { transform: none; transition: transform .9s var(--ease-pop), opacity .45s ease; }
.printed .bo-print.settle { transform: rotate(-2.5deg) translateY(8px); }
.bo-print.away { transform: translateY(70px) rotate(9deg) !important; opacity: 0; }
.bo-print img { width: 100%; display: block; border: 2.5px solid var(--ink); border-radius: 6px; box-shadow: 0 6px 0 rgba(42, 26, 18, .25), 0 14px 30px rgba(8, 6, 40, .35); filter: brightness(.22) sepia(1) contrast(.6) blur(3px); -webkit-touch-callout: default; user-select: auto; -webkit-user-select: auto; }
.dev .bo-print img { filter: none; transition: filter 3.6s ease-in-out; }
.bo-after { display: none; flex-direction: column; align-items: center; gap: 12px; margin-top: 8px; }
.printed .bo-after { display: flex; animation: bo-in .8s ease both .4s; }
@keyframes bo-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.bo-tip { font-size: 15px; color: var(--txt); }
.bo-btns { display: flex; gap: 10px; }
@media (min-width: 900px) { .bo-rig { width: 400px; } }
