/* Full-stage chrome around a fixed-ratio frame. Captures use the same centre crop as the framed object-fit:cover preview. */
@font-face{font-family:'Potret Stamp';src:url('../fonts/IBMPlexMono-SemiBold.woff2') format('woff2'),url('../fonts/IBMPlexMono-SemiBold.ttf') format('truetype');font-style:normal;font-weight:600;font-display:swap}
.camera-immersive .camera-torch{position:absolute;right:18px;top:calc(218px + env(safe-area-inset-top));z-index:9;min-width:48px;min-height:44px;padding:8px 10px;border:1px solid #fff5;border-radius:999px;background:#25221bd9;color:#fff0d7;font:600 11px/1.2 system-ui;display:flex;align-items:center;gap:5px}.camera-torch svg{width:16px;height:16px}.camera-torch[aria-pressed=true]{background:#ff862b;color:#21180e;border-color:#ffb375}.camera-torch[hidden],.has-review .camera-torch,.roll-complete .camera-torch{display:none!important}.camera-torch:focus-visible{outline:2px solid #ffb375;outline-offset:3px}
.camera-immersive .viewfinder canvas.camera-film-preview{display:block;position:absolute;inset:auto;pointer-events:none;z-index:0;object-fit:cover;border-radius:4px}.camera-immersive .viewfinder canvas.camera-film-preview[hidden]{display:none!important}
/* Event stamp overlays: JS sizes the live layer to the captured crop of the video; the review layer covers the photo. */
.viewfinder canvas.camera-stamp-overlay{display:block;position:absolute;pointer-events:none;z-index:1}.camera-review-frame{position:relative}.camera-review-frame canvas.camera-review-stamp{display:block;position:absolute;inset:0;width:100%;height:100%;pointer-events:none}canvas.camera-stamp-overlay[hidden],canvas.camera-review-stamp[hidden]{display:none!important}
.camera-focus-ring{position:absolute;width:54px;height:54px;border:1.5px solid #f4d394;border-radius:12px;transform:translate(-50%,-50%);pointer-events:none;z-index:3;box-shadow:0 0 0 1px #0006}.camera-focus-button{position:relative;z-index:5;min-height:44px;padding:8px 16px;border:1px solid #e7d3ac80;border-radius:999px;background:#211b15cc;color:#fff3de;font:500 12px/1.4 sans-serif}.camera-immersive .camera-focus-button{position:absolute;left:14px;top:calc(150px + env(safe-area-inset-top))}.camera-focus-button:focus-visible{outline:2px solid #f4d394;outline-offset:3px}.camera-focus-ring[hidden],.camera-focus-button[hidden],.focus-box[hidden]{display:none!important}.has-review .camera-focus-button{display:none}
.camera-immersive.camera-opening .camera-fallback:after{content:'';width:34px;height:34px;border:2px solid #e8ceac44;border-top-color:#e8ceac;border-radius:50%;animation:camera-loading 1s linear infinite}.camera-immersive .camera-start[hidden]{display:none!important}.camera-immersive .camera-status.camera-ready-message[role]{background:transparent;backdrop-filter:none;font-size:0;padding:0}.camera-immersive.has-review .camera-status[role]{font-size:11px;padding:7px 12px;background:#15120fcc}.camera-immersive .camera-status.camera-ready-message[role]:not(:empty){pointer-events:none}@keyframes camera-loading{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.camera-immersive.camera-opening .camera-fallback:after{animation:none}}
body:has(.camera-immersive){background:#171410}body:has(.camera-immersive)>.site-header,body:has(.camera-immersive)>footer{display:none}body:has(.camera-immersive) main{min-height:0!important;padding:0}
.camera-demo.camera-immersive,.real-camera.camera-immersive{position:relative;isolation:isolate;width:100%;max-width:560px;height:100vh;height:100svh;height:100dvh;min-height:420px;margin:0 auto;border:0;border-radius:0;background:#171511;overflow:hidden;box-shadow:0 0 90px #0006;color:#fffaf0}
/* Fixed-ratio frame (data-photo-ratio → --photo-ratio) fitted between header and shutter; never a viewport-height crop. */
.camera-demo.camera-immersive,.real-camera.camera-immersive{--stage-h:100vh;--frame-top:calc(84px + env(safe-area-inset-top));--frame-bottom:calc(148px + env(safe-area-inset-bottom))}@supports(height:100dvh){.camera-demo.camera-immersive,.real-camera.camera-immersive{--stage-h:100dvh}}
.camera-immersive .viewfinder{position:absolute;inset:0;box-sizing:border-box;display:flex;align-items:center;justify-content:center;width:100%;height:100%;max-height:none;aspect-ratio:auto;margin:0;padding:var(--frame-top) 0 var(--frame-bottom);overflow:hidden;background:#171511}.camera-immersive .viewfinder video{flex:none;width:min(100%,calc((var(--stage-h) - var(--frame-top) - var(--frame-bottom)) * var(--photo-ratio-num,.75)));height:auto;max-height:100%;aspect-ratio:var(--photo-ratio,3 / 4);object-fit:cover;object-position:50% 50%;background:#0d0b09;border-radius:4px;box-shadow:0 0 0 1px #fff1,0 12px 40px #0008}
.camera-immersive .camera-topbar{position:absolute;inset:0 0 auto;z-index:8;display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:start;gap:9px;height:auto;min-height:82px;padding:calc(12px + env(safe-area-inset-top)) 14px 12px;background:none;border:0}.camera-topbar-slot{display:block;width:44px;height:44px}.camera-topbar .camera-back{display:grid;place-items:center;width:44px;height:44px;border:1px solid #ffffff55;border-radius:50%;background:#1b181944;backdrop-filter:blur(12px)}.camera-back .potret-icon{width:20px;height:20px}.camera-identity{text-align:center;min-width:0;padding-top:2px}.camera-identity>span{font:600 12px var(--serif,Georgia,serif);letter-spacing:2px}.camera-brand-dot{color:#ee995f}.camera-identity>b{display:block;font:600 clamp(18px,4.7vw,25px)/1.2 var(--serif,Georgia,serif);margin:5px 0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.camera-identity>small{display:block;font:9px/1.4 var(--mono,monospace);letter-spacing:1.4px;color:#f0e3d4}.camera-identity .sim-chip{margin-top:5px}
.camera-immersive .focus-box{width:64px;height:64px;border:0;opacity:.45;background:linear-gradient(#fff,#fff) left top/12px 1px no-repeat,linear-gradient(#fff,#fff) left top/1px 12px no-repeat,linear-gradient(#fff,#fff) right top/12px 1px no-repeat,linear-gradient(#fff,#fff) right top/1px 12px no-repeat,linear-gradient(#fff,#fff) left bottom/12px 1px no-repeat,linear-gradient(#fff,#fff) left bottom/1px 12px no-repeat,linear-gradient(#fff,#fff) right bottom/12px 1px no-repeat,linear-gradient(#fff,#fff) right bottom/1px 12px no-repeat;z-index:2;pointer-events:none}
.camera-immersive .camera-fallback{position:absolute;inset:0;background:radial-gradient(ellipse at 50% 35%,#58422a55,transparent 65%),#201b15;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:16px;padding:120px 28px 210px;z-index:3}.camera-fallback .camera-start-art .potret-icon{width:75px;height:75px;stroke-width:.75;color:#dbb488}.camera-fallback h1{font:600 clamp(28px,7vw,38px)/1.15 'Playfair Display',Georgia,serif;max-width:300px;text-align:center;margin:0}.camera-fallback p{margin:0;font-size:12px;color:#d6c4ad;text-align:center}.camera-immersive .camera-start{order:3;border-radius:999px!important;background:#f2e6d3!important;color:#251c14!important;border-color:#f2e6d3!important;min-width:200px}.camera-immersive .camera-status[role]{position:absolute;z-index:9;top:calc(100px + env(safe-area-inset-top));left:22px;right:22px;min-height:0;padding:7px 12px;margin:0;text-align:center;font-size:11px;line-height:1.45;border-radius:9px;color:#fff5e4;background:#19141455;backdrop-filter:blur(8px);pointer-events:none}.camera-immersive .camera-status[data-mission-progress]{display:none}
.camera-immersive .camera-controls{position:absolute;inset:auto 25px calc(50px + env(safe-area-inset-bottom));display:grid;grid-template-columns:1fr 90px 1fr;align-items:center;gap:24px;padding:0;z-index:7}.camera-immersive .camera-controls .shutter{width:80px!important;height:80px!important;min-height:0;border:2px solid #fffdf1;border-radius:50%;background:transparent!important;box-shadow:0 3px 22px #0005;display:grid;place-items:center;padding:5px;transition:transform .18s}.camera-immersive .shutter span{display:block;width:100%;height:100%;border-radius:50%;background:#fff9ef;transition:transform .15s}.camera-immersive .shutter:active{transform:scale(.93)}.camera-immersive .camera-controls>button:not(.shutter),.camera-immersive .camera-controls>a{display:grid;place-items:center;justify-self:center;width:45px;height:45px;padding:10px;border:1px solid #fff4;border-radius:50%;background:#16131566;color:#fff;backdrop-filter:blur(12px);text-decoration:none}.camera-immersive .camera-controls .potret-icon{width:23px;height:23px}.camera-immersive .camera-controls button:disabled{opacity:.45}
.camera-immersive .camera-films{position:absolute;inset:auto 12px calc(152px + env(safe-area-inset-bottom));z-index:7;display:flex;justify-content:center;gap:7px;margin:0;padding:0}.camera-immersive .camera-films button{font:10px var(--mono,monospace);letter-spacing:.5px;border:1px solid #fff4;background:#14121377;backdrop-filter:blur(12px);color:#fff5df;padding:9px 15px;min-height:44px;border-radius:999px}.camera-immersive .camera-films [aria-pressed=true]{color:#2b2118;background:#efe0c5;border-color:#efe0c5;box-shadow:0 2px 14px #0002}.camera-roll-badge{position:absolute;right:18px;bottom:calc(211px + env(safe-area-inset-bottom));z-index:6;background:#17131388;backdrop-filter:blur(12px);border:1px solid #fff2;border-radius:10px;padding:9px 11px;min-width:49px;text-align:center}.camera-roll-badge b{display:block;font:500 25px/1 Georgia,serif}.camera-roll-badge small{display:block;font:8px var(--mono,monospace);letter-spacing:1.5px;margin-top:5px;color:#d8c4a7}
.camera-immersive .camera-upload{position:absolute;bottom:calc(9px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:auto!important;max-width:calc(100% - 40px);margin:0!important;padding:7px 18px;min-height:44px;display:inline-flex;align-items:center;z-index:7;border-radius:999px;background:#15111377!important;border-color:#fff3!important;color:#fbf5e9!important;font-size:10px;white-space:nowrap;backdrop-filter:blur(12px)}.camera-immersive .camera-upload:hover{transform:translateX(-50%)!important}.camera-immersive .camera-upload[hidden]{display:none!important}
.camera-immersive .camera-event-stamp,[data-demo-camera] .camera-event-stamp,[data-event-camera] .camera-event-stamp,.camera-review-frame .camera-event-stamp{display:none!important}.camera-help{position:absolute;right:14px;top:calc(150px + env(safe-area-inset-top));z-index:10}.camera-help summary{display:grid;place-items:center;list-style:none;width:44px;height:44px;border-radius:50%;border:1px solid #fff5;background:#17141466;color:#ead9bf;font:italic 18px Georgia,serif;cursor:pointer}.camera-help summary::-webkit-details-marker{display:none}.camera-help>div{position:absolute;right:0;top:52px;background:#f4ecde;color:#382a1f;border:1px solid #d2b99a;border-radius:14px;width:min(300px,calc(100vw - 35px));padding:20px;box-shadow:0 15px 60px #0005;font-size:12px}.camera-help p,.camera-help .camera-film-guidance{color:#685644;padding:0;text-align:left;font-size:12px}.camera-help nav{display:grid;gap:9px}.camera-help a{padding:8px 0;border-top:1px solid #d9c8b1;text-decoration:none}
.camera-immersive .camera-task-panel{position:absolute;bottom:calc(153px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);z-index:8;width:calc(100% - 125px);max-width:300px}.camera-task-panel summary{background:#16131377;color:#f4e3ca;border:1px solid #fff4;border-radius:999px;padding:8px 16px;min-height:44px;box-sizing:border-box;display:flex;align-items:center;justify-content:center;text-align:center;font-size:10px;letter-spacing:.5px;cursor:pointer}.camera-task-panel>div{position:absolute;bottom:40px;left:0;right:0;background:#ede1cc;color:#2e2118;border-radius:14px;padding:15px;box-shadow:0 10px 40px #0005}.camera-task-panel .camera-meta{display:grid;grid-template-columns:1fr;gap:12px;padding:0}.camera-task-panel .camera-meta select{max-width:100%;width:100%;color:#2e2118;background:#fff9ef;border-color:#c9b496}.camera-task-panel .camera-film-name{display:block;text-align:center;font:11px var(--mono,monospace);margin-bottom:14px}.camera-immersive .guest-extras{position:absolute;right:17px;bottom:calc(211px + env(safe-area-inset-bottom));z-index:10;margin:0;padding:0;border:0;font-size:10px;max-width:calc(100% - 90px)}.guest-extras>summary{min-height:44px;box-sizing:border-box;display:flex;align-items:center;border:1px solid #fff3;border-radius:999px;padding:9px 12px;background:#15121266;color:#ecddc6}.camera-immersive .guest-extras[open]{bottom:130px;left:16px;right:16px;max-width:none;background:#f4e9d8;color:#2b2019;border-radius:14px;padding:18px;max-height:65svh;overflow:auto;box-shadow:0 15px 70px #0008}.camera-immersive .guest-extras[open]>summary{background:#29201a;color:#fff}.camera-immersive .guest-extras input,.camera-immersive .guest-extras textarea{color:#281f18}.camera-immersive .voice-recorder p{color:#665440}.camera-immersive>a[href*='/roll/']{display:none}
/* Right-hand vertical rail (built by camera.js): info on top, torch below it.
   The left edge stays clear for the event stamp; rail children drop their legacy absolute offsets. */
.camera-immersive .camera-side-rail{position:absolute;right:calc(14px + env(safe-area-inset-right));top:calc(150px + env(safe-area-inset-top));z-index:10;display:flex;flex-direction:column;align-items:center;gap:10px}
.camera-immersive .camera-side-rail>.camera-help,.camera-immersive .camera-side-rail>.camera-torch{position:relative;inset:auto}
.camera-immersive .camera-side-rail>.camera-help{z-index:2}.camera-immersive .camera-side-rail>.camera-help[open]{z-index:3}
.camera-immersive .camera-side-rail>.camera-torch{justify-content:center;width:44px;min-width:44px;height:44px;padding:0;border-radius:50%}.camera-immersive .camera-side-rail>.camera-torch svg{width:20px;height:20px}
.camera-immersive .camera-side-rail>.camera-torch>span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
.camera-immersive.roll-complete .camera-side-rail{display:none}
/* Bottom stack, from the safe-area edge up: gallery pill, a clear gap, shutter row, then one band shared by the
   remaining-exposure badge (right) and the film strip / task panel (centre, narrowed so the badge never overlaps). */
.camera-demo.camera-immersive,.real-camera.camera-immersive{--upload-bottom:calc(10px + env(safe-area-inset-bottom));--controls-bottom:calc(74px + env(safe-area-inset-bottom));--band-bottom:calc(164px + env(safe-area-inset-bottom));--badge-lane:64px;--frame-bottom:calc(160px + env(safe-area-inset-bottom))}
.camera-immersive .camera-controls{bottom:var(--controls-bottom)}
.camera-immersive .camera-roll-badge{right:calc(12px + env(safe-area-inset-right));bottom:var(--band-bottom);z-index:7;box-sizing:border-box;min-width:46px;min-height:44px;padding:6px 7px;border-radius:12px}.camera-immersive .camera-roll-badge b{font-size:20px}.camera-immersive .camera-roll-badge small{margin-top:4px}
.camera-immersive .camera-films{inset:auto var(--badge-lane) var(--band-bottom);justify-content:safe center;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}.camera-immersive .camera-films::-webkit-scrollbar{display:none}.camera-immersive .camera-films button{flex:none}
.camera-immersive .camera-task-panel{bottom:var(--band-bottom);width:calc(100% - 2 * var(--badge-lane) - 8px)}
/* Gallery upload: a subtle outlined pill (icon + text) well below the shutter, distinct from the album/roll link in the controls row. */
.camera-immersive .camera-upload{bottom:var(--upload-bottom);gap:8px;justify-content:center;min-height:44px;padding:0 18px;border:1px solid #fff4!important;background:#1512130d!important;color:#f3e7d4!important;font:500 12px/1.2 system-ui,sans-serif;letter-spacing:.2px;box-shadow:none;cursor:pointer}.camera-immersive .camera-upload .camera-upload-glyph{width:18px;height:18px;flex:none;opacity:.85}
.camera-immersive .camera-upload:hover{border-color:#fff8!important;background:#ffffff14!important}.camera-immersive .camera-upload:has(input:disabled){opacity:.45;cursor:default}
.camera-immersive .camera-upload:focus-visible{outline:2px solid #f4d394;outline-offset:3px}
.camera-immersive .camera-upload{min-width:min(220px,calc(100% - 40px))}
.camera-immersive.has-review .capture-review{position:absolute;inset:0;z-index:20;margin:0;padding:24px 16px;background:#15120fee;display:grid;grid-template-columns:1fr 1fr;align-content:center;gap:14px}.camera-immersive.has-review .camera-review-frame{grid-column:1/-1;width:min(100%,calc(74svh * var(--review-aspect,.75)));margin:0 auto;max-height:74svh;border-radius:5px;box-shadow:0 8px 35px #0006}.camera-immersive .capture-review button{border-radius:999px;min-height:45px}.camera-immersive .capture-review .ghost{color:#f1dfc6;border-color:#685643}.camera-immersive.has-review .camera-status[role]{z-index:25;top:14px;background:#15120fcc}.camera-immersive .capture-countdown{z-index:11;background:#0002;backdrop-filter:blur(1px);font:400 96px Georgia,serif}
.camera-immersive.roll-complete{height:auto;min-height:100svh;overflow:visible;background:radial-gradient(ellipse at top,#65503433,transparent),#191410}.camera-immersive.roll-complete .camera-topbar{position:relative}.camera-immersive.roll-complete .camera-status[role],.camera-immersive.roll-complete .camera-films,.camera-immersive.roll-complete .camera-help,.camera-immersive.roll-complete .camera-roll-badge{display:none}.camera-immersive .develop-screen{padding:80px 24px}.camera-lab-label{font:10px var(--mono,monospace);letter-spacing:2px;color:#c8a87d}.camera-immersive .demo-results{padding:30px 22px 45px}.camera-immersive .demo-results h1{font:600 43px/1.15 'Playfair Display',Georgia,serif}.camera-immersive .demo-results p{font-size:12px;color:#ceb697}.camera-immersive .contact-sheet{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.camera-immersive .demo-results figure{transform:rotate(-2deg);padding:5px;background:#e8dcc9}.camera-immersive .demo-results figure:nth-child(2){transform:rotate(2deg);margin-top:14px}.camera-immersive .demo-results img{object-fit:contain;aspect-ratio:auto}.camera-immersive .demo-results .button{border-radius:999px}
@media(min-width:800px){body:has(.camera-immersive){background:radial-gradient(ellipse at 30% 30%,#47332144,transparent 70%),#171410}.camera-demo.camera-immersive,.real-camera.camera-immersive{--stage-h:min(880px,calc(100vh - 36px));margin:18px auto;height:min(880px,calc(100dvh - 36px));border-radius:22px;border:1px solid #75604344}.camera-immersive .camera-identity>b{font-size:24px}}
@media(max-height:600px){.camera-demo.camera-immersive,.real-camera.camera-immersive{--frame-top:calc(66px + env(safe-area-inset-top));--frame-bottom:calc(140px + env(safe-area-inset-bottom))}.camera-immersive .camera-topbar{padding-top:9px;min-height:64px}.camera-identity>b{font-size:17px}.camera-immersive .camera-status[role]{top:74px}.camera-help{top:112px}.camera-immersive .camera-side-rail{top:112px;gap:6px}.camera-immersive .camera-fallback{padding-top:95px;padding-bottom:185px;gap:10px}.camera-fallback h1{font-size:25px}.camera-fallback .camera-start-art{display:none}}
/* Short stages keep the same bottom order with a smaller shutter; the band and frame edge follow the shutter row. */
@media(max-height:600px){.camera-demo.camera-immersive,.real-camera.camera-immersive{--upload-bottom:calc(6px + env(safe-area-inset-bottom));--controls-bottom:calc(64px + env(safe-area-inset-bottom));--band-bottom:calc(142px + env(safe-area-inset-bottom));--frame-bottom:calc(138px + env(safe-area-inset-bottom))}.camera-immersive .camera-controls .shutter{width:70px!important;height:70px!important}}
/* Phone landscape: the info/torch rail turns horizontal under the top bar so it cannot meet the lower-right badge. */
@media(max-height:440px){.camera-demo.camera-immersive,.real-camera.camera-immersive{--upload-bottom:calc(6px + env(safe-area-inset-bottom));--controls-bottom:calc(58px + env(safe-area-inset-bottom));--band-bottom:calc(128px + env(safe-area-inset-bottom));--frame-bottom:calc(124px + env(safe-area-inset-bottom))}.camera-immersive .camera-controls .shutter{width:64px!important;height:64px!important}.camera-immersive .camera-side-rail{top:calc(70px + env(safe-area-inset-top));flex-direction:row-reverse}.camera-immersive:not(.has-review) .camera-status[role]{right:118px}}
@media(prefers-reduced-motion:reduce){.camera-immersive *{transition:none!important;animation:none!important}}
@media(max-height:440px){.camera-demo.camera-immersive,.real-camera.camera-immersive{min-height:320px;height:100dvh;--stage-h:100dvh;margin:0 auto;border:0;border-radius:0;--controls-bottom:calc(64px + env(safe-area-inset-bottom));--band-bottom:calc(138px + env(safe-area-inset-bottom));--frame-bottom:calc(134px + env(safe-area-inset-bottom))}}
/* Reset form/layout widths inherited from the previous non-overlay camera. */
.camera-immersive .camera-controls{width:auto!important;margin:0!important;max-width:none}.camera-immersive .shutter{justify-self:center}
.camera-demo.camera-immersive,.real-camera.camera-immersive{min-height:0}
.camera-local-roll{width:min(480px,calc(100% - 24px));max-height:85svh;overflow:auto;background:#f4ead8;color:#2e241c;border:1px solid #c4aa85;border-radius:18px;padding:22px;box-shadow:0 15px 70px #0006}.camera-local-roll::backdrop{background:#120e0acc;backdrop-filter:blur(8px)}.camera-local-roll h2{font:400 36px/1.1 Georgia,serif;margin:35px 0 14px}.camera-local-roll p{font-size:12px;color:#725c43}.camera-local-roll>button{float:right;border-radius:999px;color:#302219;border-color:#ad9471;min-height:44px;padding:8px 16px}.camera-local-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:24px 0}.camera-local-grid img{width:100%;height:auto;border:6px solid #fffaf0;box-shadow:0 4px 12px #31201122}.camera-local-grid>p{grid-column:1/-1}
/* Partner attribution and redirect notices must not push the stage off-screen. */
body:has(.camera-immersive) main>.flash,body:has(.camera-immersive) main>.notice[aria-label='POTRET PARTNER']{position:absolute;left:50%;transform:translateX(-50%);top:108px;z-index:15;width:min(500px,calc(100% - 40px));margin:0;padding:8px 12px;border-radius:9px;font-size:11px;line-height:1.4}
/* Demo album/contact sheet: large horizontal swipe cards; tap opens the local enlarged viewer. */
.camera-immersive .camera-swipe-cards{display:flex;grid-template-columns:none;gap:12px;min-width:0;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;padding:6px 4px 16px;margin:20px 0}.camera-immersive .camera-swipe-cards>*{flex:0 0 min(82%,340px);min-width:0;scroll-snap-align:center}.camera-immersive .camera-swipe-cards>p{flex-basis:100%}.camera-immersive .demo-results .camera-swipe-cards figure{margin:0}.camera-immersive .demo-results .camera-swipe-cards figure:nth-child(2){margin-top:0}
.camera-photo-card{display:block;width:100%;min-height:44px;padding:0;border:0;border-radius:3px;background:none;cursor:zoom-in}.camera-photo-card img{display:block;width:100%;height:auto}.camera-photo-card:focus-visible,.camera-roll-open:focus-visible,.camera-viewer-close:focus-visible{outline:2px solid #f4d394;outline-offset:3px}
.camera-photo-viewer{position:fixed;inset:0;z-index:100;box-sizing:border-box;width:100%;max-width:none;height:100%;max-height:none;margin:0;padding:calc(64px + env(safe-area-inset-top)) 12px calc(16px + env(safe-area-inset-bottom));border:0;background:#0d0b09f2;color:#fff3de}.camera-photo-viewer[open]{display:grid;place-items:center}.camera-photo-viewer::backdrop{background:#0b0907e6}.camera-photo-viewer img{display:block;max-width:100%;max-height:calc(100vh - 100px);object-fit:contain;border:6px solid #fffaf0;box-sizing:border-box}.camera-viewer-close{position:absolute;top:calc(10px + env(safe-area-inset-top));right:12px;min-width:44px;min-height:44px;padding:8px 18px;border:1px solid #fff5;border-radius:999px;background:#211b15;color:#fff3de;font:500 13px/1.2 sans-serif;cursor:pointer}
/* Guest roll: the site language toggle is hidden on this page only; photos open the protected photo endpoint. */
body:has(.guest-roll-page) .site-header .language-toggle{display:none}.camera-roll-open{display:block;min-height:44px;cursor:zoom-in}.camera-roll-cards{min-width:0}
@media(max-width:640px){.guest-gallery .camera-roll-cards{display:flex;grid-template-columns:none;gap:14px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;padding:4px 2px 16px}.guest-gallery .camera-roll-cards>.state-card{flex:0 0 86%;min-width:0;scroll-snap-align:center}.guest-gallery .camera-roll-cards img{aspect-ratio:auto;height:auto;max-height:68svh;object-fit:contain}}
body:has(.camera-immersive) main>.notice[aria-label='POTRET PARTNER']{top:155px;background:#20171388;color:#f4e1bf;border-color:#b37a4a;max-width:210px;margin-left:-70px;font-size:9px}
/* T-97: pencetus & baki foto ikut warna aksen majlis (--accent dari views/guest/camera.php). */
.camera-immersive .shutter span{background:var(--accent,#fff9ef)}
.camera-immersive .camera-roll-badge b{color:var(--accent,inherit)}
