#pt-booking-modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(10,10,8,0.95);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 300ms ease-out, visibility 0s 300ms;
}
#pt-booking-modal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 300ms ease-out, visibility 0s 0s;
}
.pt-modal-card {
  position: relative;
  background: #0A0A08;
  border: 1px solid rgba(201,168,76,0.25);
  width: 95%;
  max-width: 600px;
  max-height: calc(100dvh - 2rem);
  display: flex;
  flex-direction: column;
  transform: scale(0.96) translateY(8px);
  transition: transform 300ms ease-out;
  overflow: hidden;
}
#pt-booking-modal.open .pt-modal-card { transform: scale(1) translateY(0); }
.pt-modal-header {
  padding: 1.5rem 1.5rem 1.25rem;
  background: #0A0A08;
  border-bottom: 1px solid rgba(201,168,76,0.3);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-shrink: 0;
}
.pt-modal-header-text { flex: 1; }
.pt-modal-eyebrow {
  font-family: var(--font-head);
  font-size: 0.6rem;
  letter-spacing: 3px;
  color: #C9A84C;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}
.pt-modal-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 5vw, 2.2rem);
  color: #F5F0E8;
  text-transform: uppercase;
  line-height: 1.05;
  letter-spacing: 0.02em;
}
.pt-modal-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: transparent;
  border: none;
  color: #C9A84C;
  font-size: 1.25rem;
  cursor: pointer;
  margin: -6px -6px 0 0;
  transition: color 0.2s ease, transform 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.pt-modal-close:hover { color: #F5F0E8; transform: rotate(90deg); }
.pt-modal-tabs {
  display: flex;
  background: #F5F0E8;
  border-bottom: 1px solid rgba(10,10,8,0.1);
  flex-shrink: 0;
}
.pt-modal-tab {
  flex: 1;
  padding: 0.9rem 1rem;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  font-family: var(--font-head);
  font-size: 0.68rem;
  letter-spacing: 2px;
  color: rgba(10,10,8,0.5);
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.pt-modal-tab.active { color: #0A0A08; border-bottom-color: #C9A84C; }
.pt-modal-tab:hover:not(.active) { color: rgba(10,10,8,0.8); }
.pt-modal-view { display: none; }
.pt-modal-view--active { display: block; }
.pt-modal-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  position: relative;
  background: #F5F0E8;
  touch-action: pan-y;
}
@supports (-webkit-touch-callout: none) {
  .pt-modal-body { -webkit-transform: translateZ(0); transform: translateZ(0); }
}
.pt-iframe-wrapper { width: 100%; position: relative; }
.pt-iframe-wrapper:has(iframe[style*="height: 0px"]) { min-height: 200px; }
.pt-iframe-wrapper:has(iframe[style*="height: 0px"])::before {
  content: "L\00e4dt\2026";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  color: rgba(10,10,8,0.3);
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  pointer-events: none;
}
.pt-bsport-iframe {
  width: 100%;
  height: 0;
  min-height: 0;
  border: 0;
  display: block;
  overflow: hidden;
  -webkit-overflow-scrolling: auto;
  pointer-events: auto;
  touch-action: pan-y;
  transition: height 0.15s ease-out;
}
.pt-modal-footer {
  padding: 0.75rem 1.5rem;
  border-top: 1px solid rgba(10,10,8,0.1);
  background: #F5F0E8;
  flex-shrink: 0;
}
.pt-modal-footer p {
  font-family: var(--font-body);
  font-size: 0.7rem;
  color: rgba(10,10,8,0.6);
  text-align: center;
  line-height: 1.5;
  margin: 0;
}
.pt-continue-button {
  display: flex;
  flex: 0 0 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 16px 24px;
  background: #C9A84C;
  color: #0A0A08;
  border: none;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.pt-continue-button:hover  { background: #B89940; }
.pt-continue-button:active { background: #A07830; }
.pt-continue-subtitle {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.7;
  line-height: 1.2;
}
@media (max-width: 600px) {
  #pt-booking-modal {
    padding: 0;
    align-items: flex-start;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  .pt-modal-card {
    width: 100%;
    max-width: 100%;
    min-height: 100dvh;
    overflow: visible;
    background: #F5F0E8;
    border-left: none;
    border-right: none;
    border-bottom: none;
    border-top: 1px solid rgba(201,168,76,0.25);
    border-radius: 0;
  }
}
@media (max-width: 767px) {
  .pt-modal-header {
    padding: 10px 14px 8px;
    gap: 0.5rem;
  }
  .pt-modal-eyebrow { margin-bottom: 2px; }
  .pt-modal-title { font-size: clamp(1.35rem, 5vw, 2.2rem); }
  .pt-continue-button {
    padding: 10px 16px;
    gap: 2px;
  }
  .pt-continue-subtitle { font-size: 10px; }
  .pt-modal-tab { padding: 7px 1rem; font-size: 0.63rem; }
  .pt-modal-body {
    flex: 0 0 auto;
    overflow: visible;
  }
  .pt-modal-footer {
    padding: 5px 14px;
    margin-top: auto;
  }
  /* Force iframe taller than any Bsport content state so iOS never
     sees internal scroll and passes touch events to the outer modal */
  .pt-bsport-iframe {
    min-height: 950px;
    transition: none;
  }
}
/* ── Scroll-helper strip + hint (mobile only, when modal is open) ── */
.pt-scroll-helper,
.pt-scroll-hint { display: none; }
@media (max-width: 767px) {
  body.pt-modal-open .pt-scroll-helper {
    position: fixed;
    top: 35%;
    right: 0;
    width: 12px;
    height: 120px;
    z-index: 10001;
    background: rgba(201, 168, 76, 0.2);
    border-left: 2px solid #C9A84C;
    border-top: 1px solid rgba(201, 168, 76, 0.4);
    border-bottom: 1px solid rgba(201, 168, 76, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 6px 0;
    pointer-events: none;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  body.pt-modal-open .pt-scroll-helper.is-visible {
    opacity: 1;
    pointer-events: auto;
  }
  .pt-scroll-helper-track {
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 2px 0;
  }
  .pt-scroll-helper-arrow {
    color: #C9A84C;
    font-size: 8px;
    line-height: 1;
  }
  .pt-scroll-hint {
    display: flex;
    background: #0A0A08;
    color: rgba(245, 240, 232, 0.72);
    font-family: var(--font-body);
    font-size: 11px;
    padding: 7px 14px;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(201, 168, 76, 0.3);
    letter-spacing: 0.03em;
    flex-shrink: 0;
  }
  .pt-scroll-hint button {
    background: transparent;
    border: none;
    color: #C9A84C;
    font-size: 14px;
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }
}
