.modal {
  display: block;
  padding: 16px 0 24px;
  overflow: auto;
  overscroll-behavior: contain;
  scroll-padding-top: 120px;
}

.modal .mbox {
  width: min(960px, 100%);
  margin: 0 auto;
  max-height: none;
  padding: 0;
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.modal .booking-header {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 12px clamp(12px, 3vw, 28px) 14px;
  background: #1a1331;
  border-bottom: 1px solid #ffffff24;
}

.modal .mhead h2 {
  margin: 0;
  font-size: clamp(16px, 2.2vw, 22px);
  line-height: 1.3;
}

.modal .mclose {
  flex: none;
}

.modal #btabs {
  margin: 8px 0 0;
}

.modal #btabs button {
  border: 1px solid #ffffff36;
  border-radius: 9px;
  clip-path: none;
}

.modal #btabs button[aria-selected="true"] {
  background: #d9b3ff;
  color: #201132;
  border-color: #d9b3ff;
}

.modal .bk {
  min-height: 0;
  margin-top: 0;
  border: 0;
  border-radius: 0;
}

.modal .bk,
.modal .bk:has(iframe:not([hidden])) {
  background: #0f172a;
}

.modal .bk iframe {
  display: block;
  min-height: 0;
}

.modal .booking-help {
  padding: 14px clamp(12px, 3vw, 28px);
  background: #1a1331;
  border-top: 1px solid #ffffff24;
}

.modal .booking-help p {
  margin: 0 0 12px;
}

.modal .booking-help .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.modal .booking-help .btn {
  min-height: 44px;
}

@media (max-width: 520px) {
  .modal {
    padding: 0 0 env(safe-area-inset-bottom);
  }

  .modal .booking-header {
    padding-top: max(8px, env(safe-area-inset-top));
  }
}
