.mbx-flow-dialog{box-sizing:border-box;width:calc(100vw - 48px);max-width:none;height:calc(100dvh - 72px);max-height:none;margin:auto;padding:24px 28px;border:1px solid #333;border-radius:28px;background:#202020;color:#fafafa;font-family:inherit;overflow:hidden;color-scheme:dark}
.mbx-flow-dialog::backdrop{background:#000c}.mbx-flow-dialog[open]{display:flex;flex-direction:column;gap:24px}.mbx-flow-dialog [hidden]{display:none!important}
.mbx-flow-dialog-head{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:20px;flex:none}.mbx-flow-dialog h2{margin:0;font-size:21px;color:inherit}.mbx-flow-switch{display:flex;padding:5px;background:#333;border-radius:40px}.mbx-flow-dialog button{font:inherit;color:inherit;cursor:pointer}.mbx-flow-switch button{border:0;background:transparent;border-radius:30px;padding:9px 17px;color:#aaa}.mbx-flow-switch button[aria-pressed=true]{background:transparent;color:white}.mbx-flow-dialog button:disabled{opacity:.4;cursor:default}.mbx-flow-dialog button:focus-visible{outline:3px solid #6bacff;outline-offset:3px}.mbx-flow-close{justify-self:end;border:0;border-radius:50%;width:40px;height:40px;background:#333;font-size:28px!important}
.mbx-flow-dialog-body{position:relative;min-height:0;flex:1}.mbx-flow-gallery{display:flex;gap:28px;overflow-x:auto;height:100%;padding:4px 4px 16px;scrollbar-width:thin;scroll-snap-type:x proximity}.mbx-flow-shot{margin:0;flex:none;height:100%;display:flex;flex-direction:column;gap:10px;scroll-snap-align:start}.mbx-flow-shot .mbx-art{height:calc(100% - 30px);width:auto;flex:none;background:none;overflow:hidden;border-radius:24px;display:block}.mbx-flow-shot img,.mbx-flow-shot svg{display:block;width:auto;height:100%;max-width:none;object-fit:contain;border-radius:24px}.mbx-flow-shot figcaption{font-size:12px;color:#b7b7b7;white-space:nowrap;max-width:280px;overflow:hidden;text-overflow:ellipsis}.mbx-flow-arrow{position:absolute;top:50%;transform:translateY(-50%);width:48px;height:48px;border-radius:50%;border:1px solid #777;background:#333e;box-shadow:0 2px 15px #0005;font-size:24px!important}.mbx-flow-next{right:8px}.mbx-flow-previous{left:8px}
.mbx-flow-dialog-foot{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:40px;flex:none;font-size:13px;color:#bbb}.mbx-flow-tools{display:flex;gap:10px;flex-wrap:wrap}.mbx-flow-tools button{background:#333;border:1px solid #555;padding:8px 16px;border-radius:24px}.mbx-flow-player{height:100%;display:flex;justify-content:center;align-items:center}.mbx-flow-phone{position:relative;height:100%;max-width:100%;width:max-content}.mbx-flow-phone>img{display:block;height:100%;width:auto;max-width:100%;object-fit:contain;border-radius:20px}.mbx-flow-hotspots{position:absolute;inset:0}.mbx-flow-hotspot,.mbx-flow-advance{position:absolute;background:transparent;border:0;padding:0}.mbx-flow-hotspot{border:2px solid #3184ff;border-radius:8px;background:#3184ff18}.mbx-flow-advance{inset:0;width:100%;height:100%;border-radius:20px}
@media(max-width:650px){.mbx-flow-dialog{width:calc(100vw - 16px);height:calc(100dvh - 24px);padding:16px 12px;border-radius:20px;gap:16px!important}.mbx-flow-dialog-head{grid-template-columns:1fr auto;gap:12px}.mbx-flow-dialog h2{font-size:16px}.mbx-flow-switch{grid-row:2;grid-column:1/-1;justify-self:center}.mbx-flow-close{grid-column:2;grid-row:1}.mbx-flow-gallery{gap:16px}.mbx-flow-shot .mbx-art{max-width:calc(100vw - 64px)}.mbx-flow-shot img{max-width:100%;object-fit:contain}.mbx-flow-dialog-foot{flex-direction:column;gap:8px;text-align:center}.mbx-flow-status{max-width:100%;overflow-wrap:anywhere}}
/* Explicit icon boxes avoid inherited theme padding and font baselines. */
.mbx-flow-dialog .mbx-flow-close,.mbx-flow-dialog .mbx-flow-arrow{display:inline-flex;align-items:center;justify-content:center;padding:0;line-height:1;box-sizing:border-box;flex-shrink:0}
.mbx-flow-close svg,.mbx-flow-arrow svg,.mbx-flow-home svg{display:block;width:24px;height:24px;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.mbx-flow-dialog-foot{flex-direction:column;justify-content:center;text-align:center;gap:10px}.mbx-flow-tools{justify-content:center;align-items:center;width:100%}.mbx-flow-tools button{display:inline-flex;justify-content:center;align-items:center;gap:7px;line-height:1.25}.mbx-flow-home svg{width:18px;height:18px}
.mbx-flow-tools .mbx-flow-hotspot-toggle[aria-pressed]{background:#333;border-color:#555}
.mbx-flow-hotspot-toggle::before{content:'';display:block;box-sizing:border-box;width:13px;height:13px;flex:none;border:1px solid #777;border-radius:3px;background:transparent}
.mbx-flow-hotspot-toggle[aria-pressed=true]::before{border-color:#3184ff;background:transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l2.5 2.5L10 3' fill='none' stroke='%233184ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/11px 11px no-repeat}
.mbx-flow-dialog .mbx-flow-tools button:hover{color:#fff}
.mbx-flow-hotspots-hidden .mbx-flow-hotspot{border-color:transparent;background:transparent}
@media(max-width:650px){.mbx-flow-tools{gap:6px}.mbx-flow-tools button{padding:8px 10px;font-size:12px}}

/* One sliding indicator shared by both view options. */
.mbx-flow-switch{position:relative;isolation:isolate;display:grid;grid-template-columns:repeat(2,1fr)}
.mbx-flow-switch::before{content:'';position:absolute;z-index:-1;top:5px;bottom:5px;left:5px;width:calc((100% - 10px)/2);border-radius:30px;background:#181818;transform:translateX(0);transition:transform 240ms cubic-bezier(.22,.68,0,1)}
.mbx-flow-switch:has(button:nth-child(2)[aria-pressed=true])::before{transform:translateX(100%)}
.mbx-flow-switch button[aria-pressed=true]{background:transparent}
.mbx-flow-switch button{transition:color 160ms ease;text-align:center;display:flex;align-items:center;justify-content:center}
@media(prefers-reduced-motion:reduce){.mbx-flow-switch::before,.mbx-flow-switch button{transition:none}}


