.demo-camera-dialog{width:min(440px,calc(100% - 24px));padding:24px;border-radius:28px}.demo-camera-dialog h2{font-size:26px;margin:8px 0 12px}.demo-camera-dialog p{font-size:14px;line-height:1.5;color:var(--muted)}.demo-camera-dialog video{display:block;width:100%;max-height:45dvh;aspect-ratio:3/4;object-fit:cover;border-radius:20px;background:#29151d;transform:scaleX(-1)}.demo-camera-dialog>.button{width:100%;margin-top:12px;min-height:48px}.demo-camera-dialog [hidden]{display:none!important}
/* Parent-hosted camera/payment sheets stay clipped to the virtual phone chrome. */
.sandbox-device{isolation:isolate;position:relative}
.sandbox-device.demo-phone-sheet-open{overflow:hidden}
/* Flex + min-height:0 so Zahlung/camera sheets scroll inside the phone-clipped layer. */
.demo-phone-layer{position:absolute;inset:52px 0 0;z-index:40;display:flex;flex-direction:column;justify-content:flex-end;align-items:stretch;padding:0;pointer-events:auto;border-radius:0 0 40px 40px;overflow:hidden;background:#30152366;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
.demo-phone-layer>dialog.demo-camera-contained,.demo-phone-layer>dialog.checkout-dialog.demo-checkout-contained,.demo-phone-layer>dialog.demo-pay-sheet{position:relative;inset:auto;margin:0;width:100%;max-width:none;max-height:100%;min-height:0;flex:0 1 auto;border:0;border-radius:24px 24px 0 0;box-shadow:0 -12px 40px #21081255;overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;touch-action:pan-y}
.demo-phone-layer>dialog.demo-camera-contained{padding:18px 16px calc(18px + env(safe-area-inset-bottom,0px));background:#fff9fb}
.demo-phone-layer>dialog.demo-camera-contained video{max-height:min(42dvh,320px)}
.demo-phone-layer>dialog.checkout-dialog.demo-checkout-contained{padding:14px 12px calc(14px + env(safe-area-inset-bottom,0px));max-height:100%}
.demo-pay-sheet{padding:20px 18px calc(20px + env(safe-area-inset-bottom,0px));background:linear-gradient(180deg,#fff,#fff6f8);color:#421e2b;border:0}
.demo-pay-sheet header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.demo-pay-sheet h2{margin:0;font-size:20px;letter-spacing:-.02em}
.demo-pay-sheet .demo-pay-amount{font-size:28px;font-weight:800;letter-spacing:-.03em;color:var(--burgundy);margin:8px 0 4px}
.demo-pay-sheet .demo-pay-note{font-size:13px;line-height:1.45;color:var(--muted);margin:0 0 18px}
.demo-pay-sheet .demo-pay-apple{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:52px;margin:0 0 10px;border:0;border-radius:14px;background:#111;color:#fff;font:inherit;font-size:17px;font-weight:600;cursor:pointer}
.demo-pay-sheet .demo-pay-apple:disabled{opacity:.55;cursor:wait}
.demo-pay-sheet .demo-pay-apple svg{width:22px;height:22px;fill:currentColor}
.demo-pay-sheet .demo-pay-card{width:100%;min-height:48px;margin:0 0 8px}
.demo-pay-sheet .demo-pay-cancel{width:100%;min-height:44px}
/* Toasts for demo phone actions stay inside the chrome (no marketing-page popover). */
.sandbox-device>#toast,.sandbox-device>#toast.toast-in-phone{position:absolute;left:50%;right:auto;bottom:28px;top:auto;z-index:60;max-width:calc(100% - 28px);width:max-content;transform:translate(-50%,16px);pointer-events:none;box-sizing:border-box}
.sandbox-device>#toast.show,.sandbox-device>#toast.toast-in-phone.show{opacity:1;transform:translate(-50%,0)}
/* Inside the opaque phone iframe: menus stay full-bleed sheets, never a page-level modal look. */
html.virtual-phone-client dialog.discovery-dialog,
html.virtual-phone-client dialog.chat-action-sheet:not(.chat-sheet-contained),
html.virtual-phone-client dialog.demo-pay-sheet{
  position:fixed;inset:auto 0 0;margin:0;width:100%;max-width:none;max-height:min(92dvh,100%);
  border:0;border-radius:22px 22px 0 0;box-sizing:border-box;
  box-shadow:0 0 0 100vmax #30152366,0 -16px 48px #40132840;
  overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;
}
html.virtual-phone-client dialog.discovery-dialog::backdrop,
html.virtual-phone-client dialog.chat-action-sheet::backdrop,
html.virtual-phone-client dialog.demo-pay-sheet::backdrop{background:transparent}
html.virtual-phone-client body:has(dialog[open]:not(.chat-sheet-contained)){overflow:hidden}
html.virtual-phone-client .product-chat{position:relative;isolation:isolate;overflow:hidden;max-width:none;height:100%;min-height:0;display:flex;flex-direction:column;margin:0;border-radius:0}
html.virtual-phone-client .product-chat .messages{flex:1;min-height:0;height:auto}
html.virtual-phone-client .product-chat form{flex-shrink:0}
html.virtual-phone-client :is(.product-chat,.chrome-message-panel)>.chat-sheet-contained{
  inset:auto 8px 8px;max-height:calc(100% - 16px);border-radius:20px;
  box-shadow:0 0 0 100vmax #30152355,0 12px 40px #40132833
}
/* v514 demo Live-Foto camera = the app's fullscreen camera: video edge to edge, one glass chip, X top right (bell line),
   Liquid Glass bar at the bottom with the round shutter */
.demo-phone-layer>dialog.demo-camera-contained.demo-camera-live{position:absolute;inset:0;width:100%;height:100%;max-height:none;padding:0!important;border-radius:0 0 40px 40px;background:#14070c!important;color:#fff;overflow:hidden}
.demo-phone-layer:has(>.demo-camera-live){inset:0;border-radius:40px;background:#000}
dialog.demo-camera-live>h2,dialog.demo-camera-live>p:not(.camera-status){display:none}
dialog.demo-camera-live video{position:absolute;inset:0;width:100%!important;height:100%!important;max-height:none!important;aspect-ratio:auto;border-radius:0!important;object-fit:cover}
dialog.demo-camera-live .dc-chip{position:absolute;z-index:3;top:62px;left:50%;transform:translateX(-50%);display:inline-flex;align-items:center;height:34px;padding:0 14px;border-radius:17px;font-size:14px;font-weight:700;color:#fff;background:rgba(255,255,255,.18);border:.5px solid rgba(255,255,255,.45);-webkit-backdrop-filter:blur(20px) saturate(170%);backdrop-filter:blur(20px) saturate(170%);white-space:nowrap}
dialog.demo-camera-live>.dialog-close{position:absolute!important;z-index:4;top:54px!important;right:16px!important;left:auto!important;width:50px!important;height:50px!important;margin:0!important;padding:0!important;display:grid!important;place-items:center;border-radius:50%!important;font-size:26px!important;color:#fff!important;background:rgba(255,255,255,.18)!important;border:.5px solid rgba(255,255,255,.5)!important;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px)}
dialog.demo-camera-live .camera-status{position:absolute;z-index:3;left:24px;right:24px;top:44%;margin:0;text-align:center;color:rgba(255,255,255,.9)!important}
dialog.demo-camera-live .dc-bar{position:absolute;z-index:3;left:16px;right:16px;bottom:24px;display:flex;justify-content:center;align-items:center;min-height:98px;padding:12px;box-sizing:border-box;border-radius:40px;background:rgba(255,255,255,.14);border:.5px solid rgba(255,255,255,.4);-webkit-backdrop-filter:blur(24px) saturate(180%);backdrop-filter:blur(24px) saturate(180%)}
dialog.demo-camera-live .dc-bar .camera-start{width:100%;min-height:52px;margin:0;border-radius:26px;background:linear-gradient(180deg,rgba(232,64,92,.92),rgba(200,32,64,.92));color:#fff;border:0}
dialog.demo-camera-live .dc-bar .camera-capture{display:grid;place-items:center;width:74px;height:74px;min-height:0;margin:0;padding:0;border-radius:50%;background:transparent;border:4px solid #fff}
dialog.demo-camera-live .dc-bar .camera-capture i{display:block;width:58px;height:58px;border-radius:50%;background:#fff}
dialog.demo-camera-live .dc-bar .camera-capture span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
dialog.demo-camera-live .dc-bar .camera-capture[hidden]{display:none!important}
dialog.demo-camera-live .fc-bell-x{display:none!important}
html body dialog.demo-camera-live .lp-top{top:54px}
