.ios-access-resume { position: fixed; z-index: 50; bottom: max(16px, env(safe-area-inset-bottom)); left: 16px; max-width: calc(100% - 32px); }
.ios-access-resume p:not(:empty) { padding: 10px; background: var(--bb-surface, #fff); color: #b42318; border-radius: 8px; }
.ios-embedded-access { position: relative; background: var(--bb-surface, #fff); color: var(--bb-ink, #16181c); }
.ios-embedded-access [hidden], .ios-access-resume[hidden] { display: none !important; }
.ios-embedded-access .modal-scroll { max-height: calc(100dvh - 40px); overflow: auto; overscroll-behavior: contain; padding: 38px 24px 24px; }
.ios-embedded-access h1 { margin: 22px 28px 16px 0; font-size: 28px; line-height: 1.15; }
.ios-embedded-access p { line-height: 1.5; }
.ios-embedded-access p, .ios-embedded-access dd { overflow-wrap: anywhere; }
.ios-embedded-access .icon-close { position: absolute; right: 10px; top: 8px; z-index: 2; width: 36px; height: 36px; border: 0; border-radius: 50%; cursor: pointer; font-size: 26px; background: var(--bb-soft, #eee); color: var(--bb-ink, #222); }
.ios-embedded-access .guide-banner { display: flex; align-items: center; gap: 14px; width: 100%; padding: 18px; border: 0; border-radius: 12px; color: #fff; cursor: pointer; text-align: left; }
.ios-embedded-access .guide-play svg { width: 32px; fill: currentColor; }
.ios-embedded-access .guide-copy { display: grid; gap: 4px; }
.ios-embedded-access .guide-copy strong { font-size: 18px; }
.ios-embedded-access .guide-copy small { color: #fff; }
.ios-embedded-access .guide-arrow { margin-left: auto; font-size: 28px; }
.ios-embedded-access .intro-card, .ios-embedded-access .benefit-card { margin: 16px 0; padding: 16px; background: var(--bb-soft, #f5f7fa); border-radius: 12px; }
.ios-embedded-access .intro-card p + p { margin-top: 12px; }
.ios-embedded-access .benefit-card { display: flex; gap: 14px; align-items: center; }
.ios-embedded-access .benefit-icon svg { width: 28px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.ios-embedded-access .benefit-card strong, .ios-embedded-access .benefit-card small { display: block; }
.ios-embedded-access .exit-guide { border: 1px solid var(--bb-line, #ddd); border-radius: 12px; margin: 18px 0; }
.ios-embedded-access .exit-guide summary { padding: 16px; cursor: pointer; font-weight: 700; }
.ios-embedded-access .exit-guide ol { padding: 0 22px 0 38px; }
.ios-embedded-access .exit-guide li { margin: 12px 0; }
.ios-embedded-access .exit-guide li span { display: block; }
.ios-embedded-access .exit-guide > p { margin: 16px; padding: 12px; }
.ios-embedded-access .button { display: block; width: 100%; margin-top: 12px; padding: 15px; border: 1px solid transparent; border-radius: 10px; font: inherit; font-weight: 700; cursor: pointer; }
.ios-embedded-access .button:disabled { opacity: .55; cursor: not-allowed; }
.ios-embedded-access .button:focus-visible, .ios-embedded-access button:focus-visible { outline: 3px solid var(--bb-berry, #9c0e4d); outline-offset: 3px; }
.ios-embedded-access .inline-status { color: #b42318; }
.ios-embedded-access .eyebrow { color: var(--bb-berry, #9c0e4d); font-weight: 700; }
.ios-embedded-access .timer-panel { display: grid; margin: 22px 0; padding: 18px; border-radius: 12px; background: var(--bb-soft, #f5f7fa); text-align: center; }
.ios-embedded-access .timer-panel strong { font-size: 44px; font-variant-numeric: tabular-nums; }
.ios-embedded-access .timer-panel.is-urgent { background: #fff0f0; color: #b42318; }
.ios-embedded-access .credentials { display: grid; gap: 12px; }
.ios-embedded-access .credentials > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px; padding: 14px; border: 1px solid var(--bb-line, #ddd); border-radius: 12px; }
.ios-embedded-access .credentials dd { margin: 0; font-family: ui-monospace, monospace; font-weight: 700; }
.ios-embedded-access .credentials button { grid-column: 2; grid-row: 1 / 3; padding: 8px; border: 0; border-radius: 8px; cursor: pointer; font-size: 12px; }
.ios-embedded-access .copy-status { min-height: 1.5em; }
.ios-embedded-access .active-instructions { padding-left: 22px; line-height: 1.5; }
.ios-embedded-access .active-instructions li { margin: 10px 0; }
.ios-embedded-access .action-status { margin-top: 16px; padding: 12px; border-radius: 10px; background: var(--bb-soft, #f5f7fa); }
.ios-embedded-access .security-note { margin-top: 18px; font-size: 13px; }
.ios-embedded-access .state-panel { padding: 40px 0; text-align: center; }
@media (max-width: 400px) {
  .ios-embedded-access .modal-scroll { padding: 38px 16px 24px; }
  .ios-embedded-access .credentials > div { grid-template-columns: minmax(0, 1fr); }
  .ios-embedded-access .credentials button { grid-column: 1; grid-row: auto; }
}