/* v18.226 — an unambiguous two-choice switch. One selection stays lit
 * while the camera runs; neither control starts a flash by itself.
 * Large rectangular tap targets, no diagnostic button or tiny dots. */
#p2boothModal #p212FlashOptions{
 position:absolute!important;z-index:10!important;top:10px!important;right:10px!important;
 width:min(214px,calc(100% - 20px))!important;
 display:grid!important;grid-template-columns:1fr 1fr!important;gap:3px!important;
 box-sizing:border-box!important;margin:0!important;padding:4px!important;
 border:1px solid #bfa679!important;border-radius:12px!important;
 background:rgba(31,26,21,.94)!important;
 box-shadow:0 2px 12px #1118!important;
}
#p2boothModal #p212FlashOptions[hidden],
#p2boothModal:not([data-guided="active"]) #p212FlashOptions,
#p2boothModal[data-ready="true"] #p212FlashOptions{display:none!important}
#p2boothModal #p212FlashOptions button{
 box-sizing:border-box!important;display:flex!important;
 align-items:center!important;justify-content:center!important;gap:5px!important;
 min-width:0!important;min-height:44px!important;padding:9px 6px!important;
 border:1px solid transparent!important;border-radius:8px!important;
 background:transparent!important;color:#ffeed2!important;
 font:750 12px/1.2 system-ui,sans-serif!important;
 touch-action:manipulation!important;cursor:pointer!important;
}
#p2boothModal #p212FlashOptions button[hidden]{display:none!important}
#p2boothModal #p212FlashOptions button[aria-pressed="true"]{
 background:#f5dfb1!important;color:#463019!important;
 border-color:#f9e7c3!important;box-shadow:0 1px 4px #0003!important;
}
#p2boothModal #p212FlashOptions button svg{
 flex:0 0 15px!important;width:15px!important;height:15px!important;
 fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;
}
#p2boothModal #p212FlashOptions button:focus-visible{
 outline:3px solid #fff1bd!important;outline-offset:2px!important;
}
#p2boothModal #p212FlashOptions button:disabled{opacity:.65!important;cursor:wait!important}
/* v18.213 — safe selfie screen-flash. Illuminate the entire usable display
 * for ~0.42 sec at actual shutter, never during the 10-sec countdown.
 * The underlying camera video (not the overlay) is captured. */
#p213ScreenFlash{
 position:fixed!important;inset:0!important;z-index:2147483000!important;
 display:block!important;width:100vw!important;height:100dvh!important;
 min-width:100%!important;min-height:100%!important;
 margin:0!important;padding:0!important;background:#fff!important;
 opacity:1!important;pointer-events:none!important;border:0!important;
}
#p213ScreenFlash[hidden]{display:none!important}

/* A visible white screen must also remain visible outside the modal's
 * internal scroll/clip box in Samsung Internet and mobile Safari. */
body > #p213ScreenFlash{
 position:fixed!important;inset:0!important;
 width:100vw!important;height:100dvh!important;
 background:#fff!important;z-index:2147483647!important;
 opacity:1!important;pointer-events:none!important;
}
body > #p213ScreenFlash[hidden]{display:none!important}

/* v18.220: independent viewport-level fallback for selfie light. The phone
 * browser may lock BODY at a negative scroll position or composite the live
 * camera above its descendants. The root pseudo-element is outside BODY. */
html[data-p220-screen-flash="on"]::after{
 content:""!important;position:fixed!important;inset:0!important;
 display:block!important;width:100vw!important;height:100dvh!important;
 min-width:100%!important;min-height:100%!important;
 background:#fff!important;opacity:1!important;
 z-index:2147483647!important;pointer-events:none!important;
}
