/* A quiet full-viewport viewfinder. No flashing shutter or autoplay. */
.mb-home .pretend-camera{position:relative;width:100%;min-height:620px;background:#132723;color:#fff;text-align:center;isolation:isolate}
.mb-home .camera-body{position:absolute;inset:0}
.mb-home .camera-window{position:absolute;inset:0;overflow:hidden;touch-action:pinch-zoom;cursor:grab;background:#92b8a2}
.mb-home .camera-window:active{cursor:grabbing}
.mb-home .camera-window>svg{display:block;width:100%;height:100%}
.mb-home .camera-window:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(#061c335c,transparent 26%,transparent 58%,#071b19cf)}
.mb-home .camera-grid{position:absolute;inset:0;pointer-events:none;opacity:.18;background:linear-gradient(90deg,transparent 33.1%,white 33.2%,white 33.4%,transparent 33.5%,transparent 66.4%,white 66.5%,white 66.7%,transparent 66.8%),linear-gradient(transparent 33.1%,white 33.2%,white 33.4%,transparent 33.5%,transparent 66.4%,white 66.5%,white 66.7%,transparent 66.8%)}
.mb-home .camera-finder{position:absolute;left:calc(50% - 36px);top:calc(50% - 36px);width:72px;height:72px;border:1px solid #fff9ce;pointer-events:none;border-radius:8px;opacity:.65}
.mb-home .camera-top{position:absolute;z-index:2;top:calc(18px + env(safe-area-inset-top));left:max(78px,env(safe-area-inset-left));right:max(18px,env(safe-area-inset-right));display:flex;align-items:center;justify-content:space-between;gap:12px;color:#fff;font:500 12px/1.5 sans-serif;text-shadow:0 1px 3px #122a24}
.mb-home .camera-top>span:first-child{font-size:10px;letter-spacing:.18em}
.mb-home .camera-top>span:nth-child(2){display:none}
.mb-home .camera-top>span:last-child{padding:6px 10px;background:#0c282b88;border-radius:20px}
.mb-home .camera-shutter{position:absolute;z-index:3;bottom:calc(58px + env(safe-area-inset-bottom));left:calc(50% - 40px);width:80px;height:80px;min-height:80px;padding:5px;border:3px solid white;border-radius:50%;background:#102e2426;cursor:pointer;touch-action:manipulation}
.mb-home .camera-shutter-disc{display:block;width:100%;height:100%;background:linear-gradient(#fff,#eee8d9);border-radius:50%;box-shadow:0 2px 8px #0003}
.mb-home .camera-shutter:active .camera-shutter-disc{background:#d1dccb}
.mb-home .camera-status{position:absolute;z-index:2;bottom:calc(148px + env(safe-area-inset-bottom));left:16px;right:16px;max-width:560px;margin:0 auto;padding:8px 12px;border-radius:16px;background:#09251da6;color:#fff;font-size:13px;line-height:1.6;pointer-events:none}
.mb-home .camera-caregiver{position:absolute;z-index:5;bottom:env(safe-area-inset-bottom);left:12px;right:12px;margin:0!important;color:white;font-size:12px}
.mb-home .camera-caregiver summary{min-height:44px;padding:0 12px;color:white}
.mb-home .camera-caregiver[open]{max-height:60dvh;overflow:auto;background:#102b26f5;border:1px solid #7a998a;border-radius:20px;padding:8px 18px!important;text-align:left;box-shadow:0 12px 40px #0005}
.mb-home .camera-caregiver p{font-size:13px;line-height:1.8;color:white}
.mb-home .camera-album{position:absolute;z-index:3;left:16px;top:calc(128px + env(safe-area-inset-top));display:flex;gap:6px;margin:0;max-width:180px;pointer-events:none}
.mb-home .camera-album figure{width:50px;flex-shrink:0;margin:0;padding:3px;background:#faf7e9;border-radius:3px;box-shadow:0 3px 12px #14332766}
.mb-home .camera-album svg{display:block;width:100%;height:54px;background:#8cac86}
.mb-home .camera-album figcaption{font:10px/1.5 sans-serif;color:#294b40;padding-top:2px}
.mb-home .pretend-camera [hidden]{display:none!important}
.mb-home .pretend-camera button:focus-visible,.mb-home .camera-window:focus-visible{outline:3px solid #ffdf78;outline-offset:-5px}
.mb-home .pretend-camera [aria-disabled=true]{opacity:.5;cursor:default}
.mb-home .pretend-camera>[data-camera-reset]{position:absolute;z-index:4;bottom:calc(65px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);min-height:54px;white-space:nowrap;background:#fff5d9;color:#264b40;border:1px solid #fff;border-radius:28px;padding:12px 22px}
.mb-home [data-camera-complete=true] .camera-shutter{visibility:hidden}
.mb-home [data-camera-complete=true] .camera-album{top:30%;left:50%;transform:translateX(-50%);width:calc(100% - 40px);max-width:540px;gap:10px;justify-content:center}
.mb-home [data-camera-complete=true] .camera-album figure{width:calc((100% - 40px)/3);padding:5px}
.mb-home [data-camera-complete=true] .camera-album svg{height:clamp(90px,20dvh,150px)}
.mb-home .play-hub .camera-panel.is-game-room{padding:0;gap:0;background:#132723;overflow:hidden}
.mb-home .camera-panel.is-game-room .pretend-camera{height:100dvh;min-height:0;flex:1}
.mb-home .camera-panel.is-game-room .family-section-head,.mb-home .camera-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.mb-home .camera-panel.is-game-room .play-return{position:absolute;z-index:6;top:calc(12px + env(safe-area-inset-top));left:max(12px,env(safe-area-inset-left));margin:0}
.mb-home .camera-panel.is-game-room .play-return a{font-size:0;width:44px;height:44px;min-height:44px;padding:0;border:1px solid #ffffff80;background:#0d2d27c9;color:white;border-radius:50%;display:flex;align-items:center;justify-content:center}
.mb-home .camera-panel.is-game-room .play-return a:before{content:"×";font:26px/1 sans-serif}
@media(max-height:480px) and (orientation:landscape){.mb-home .camera-shutter{left:auto;right:calc(22px + env(safe-area-inset-right));bottom:calc(50% - 40px)}.mb-home .camera-status{bottom:50px;right:120px;max-width:440px}.mb-home .camera-caregiver{right:110px}.mb-home .camera-album{top:90px}.mb-home [data-camera-complete=true] .camera-album{top:24%;max-width:340px}.mb-home .pretend-camera>[data-camera-reset]{bottom:52px}.mb-home [data-camera-complete=true] .camera-status{bottom:112px;max-width:500px;right:16px}}

.mb-home .camera-body>[data-camera-motion-status]{position:absolute;z-index:2;top:calc(68px + env(safe-area-inset-top));left:16px;right:16px;margin:0 auto;max-width:420px;padding:5px 10px;border-radius:12px;background:#0d2d27b8;color:#fff;font-size:12px;line-height:1.5;pointer-events:none}
.mb-home [data-camera-complete=true] [data-camera-motion-status]{display:none}
.mb-home .camera-album{top:calc(190px + env(safe-area-inset-top))}
@media(max-height:480px) and (orientation:landscape){.mb-home .camera-body>[data-camera-motion-status]{top:60px;max-width:400px}.mb-home .camera-album{top:110px}}


/* In-page pretend photo review. No persistent or real camera photos. */
.mb-home .camera-album{pointer-events:auto}
.mb-home .camera-album button{display:block;width:100%;min-width:44px;min-height:44px;margin:0;padding:0;border:0;border-radius:0;background:transparent;cursor:pointer}
.mb-home .camera-review-open{position:absolute;z-index:4;top:calc(112px + env(safe-area-inset-top));left:16px;min-height:44px;padding:8px 14px;border:1px solid #ffffff80;border-radius:22px;background:#16382dda;color:white;font:14px/1.4 system-ui,sans-serif;cursor:pointer}
.mb-home .camera-review{position:fixed;inset:0;box-sizing:border-box;width:min(94vw,960px);max-width:960px;max-height:92dvh;margin:auto;padding:16px;background:#fff8e8;color:#244838;border:1px solid #b2bb9d;border-radius:20px;font-family:system-ui,sans-serif;overflow:auto}
.mb-home .camera-review::backdrop{background:#061d19de}
.mb-home .camera-review-head,.mb-home .camera-review-navigation{display:flex;align-items:center;justify-content:space-between;gap:12px}
.mb-home .camera-review h3{margin:0;font-size:20px}.mb-home .camera-review button{min-width:64px;min-height:48px;padding:8px 14px;background:#345f49;color:white;border:0;border-radius:24px;cursor:pointer}.mb-home .camera-review button:disabled{opacity:.4;cursor:default}
.mb-home .camera-review-image{margin:12px 0;background:#203e31;border-radius:12px;overflow:hidden}.mb-home .camera-review-image svg{display:block;width:100%;height:min(58dvh,560px)}
.mb-home .camera-review-navigation p{margin:0}.mb-home .camera-review-note{margin:12px 0 0;font-size:12px;line-height:1.6}
@media(max-height:480px){.mb-home .camera-review{padding:10px;max-height:96dvh}.mb-home .camera-review-image{margin:6px 0}.mb-home .camera-review-image svg{height:48dvh}.mb-home .camera-review button{min-height:44px}.mb-home .camera-review-note{margin-top:4px}}
@media(max-height:480px) and (orientation:landscape){.mb-home .camera-review-open{top:calc(12px + env(safe-area-inset-top));left:auto;right:100px}}


/* Native choice remains keyboard and touch accessible without another modal. */
.mb-home .camera-scene-picker{position:absolute;z-index:4;top:calc(112px + env(safe-area-inset-top));left:16px;display:flex;align-items:center;gap:4px;padding:2px 6px 2px 8px;border:1px solid #ffffff80;border-radius:24px;background:#16382dea;color:white;font:14px/1.4 system-ui,sans-serif}
.mb-home .camera-scene-picker select{min-height:44px;min-width:80px;padding:6px 8px;border:0;border-radius:20px;background:#fff8e8;color:#244838;font:inherit;cursor:pointer}
.mb-home .camera-scene-picker select:focus-visible{outline:3px solid #e9bb63;outline-offset:2px}
@media(max-height:480px) and (orientation:landscape){.mb-home .camera-scene-picker{top:calc(112px + env(safe-area-inset-top));left:auto;right:100px}}

.mb-home .camera-review-open{left:auto;right:16px}
@media(max-height:480px) and (orientation:landscape){.mb-home .camera-review-open{right:100px}}
