/* Burke transcript dialog — shared by every existing bhvp video player. */
.bhvm-transcript-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: grid;
  place-items: center;
  padding: clamp(12px, 4vw, 32px);
  background: rgba(3, 15, 29, .78);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}
.bhvm-transcript-overlay[hidden] { display: none !important; }
.bhvm-transcript-panel {
  position: relative;
  box-sizing: border-box;
  width: min(640px, 100%);
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: #10263c;
  background: #fffaf1;
  border: 1px solid #e6c58a;
  border-radius: 20px;
  box-shadow: 0 24px 80px rgba(0,0,0,.36);
  font-family: "DM Sans", system-ui, sans-serif;
}
.bhvm-transcript-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  border-bottom: 1px solid #e7d9c2;
}
.bhvm-transcript-header h2 {
  margin: 0;
  color: #10263c;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(25px, 4vw, 33px);
  font-weight: 700;
  line-height: 1.1;
}
.bhvm-transcript-close {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid #d5b98b;
  border-radius: 50%;
  background: #fff;
  color: #10263c;
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
}
.bhvm-transcript-close:focus-visible { outline: 3px solid #bd8830; outline-offset: 2px; }
.bhvm-transcript-content {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 20px 24px 26px;
  font-size: 16px;
  line-height: 1.7;
  white-space: normal;
}
.bhvm-transcript-content p { margin: 0 0 1em; }
.bhvm-transcript-content p:last-child { margin-bottom: 0; }
@media (max-width: 600px) {
  .bhvm-transcript-header { padding: 14px 16px; }
  .bhvm-transcript-content { padding: 16px 18px 22px; font-size: 15px; }
  .bhvm-transcript-panel { border-radius: 16px; }
}
