.hbtb-guide:not([open]) { display: none; }
.hbtb-guide {
  position: fixed; inset: 0; margin: 0; width: 100%; height: 100%;
  max-width: none; max-height: none; padding: 0; border: 0;
  box-sizing: border-box; background: #0c1421; color: #fff;
  display: flex; flex-direction: column; overflow: hidden;
  font: 16px system-ui, sans-serif; color-scheme: dark;
}
.hbtb-guide::backdrop { background: #0c1421; }
.hbtb-guide__bar {
  padding: max(10px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) 10px max(12px, env(safe-area-inset-left));
  border-bottom: 1px solid #344e63; background: #13243a;
}
.hbtb-guide__controls {
  max-width: 850px; margin: 0 auto; display: flex; align-items: center;
  justify-content: space-between; gap: 8px; flex-wrap: wrap;
}
.hbtb-guide__bar h1 {
  max-width: 850px; margin: 7px auto 0; font-size: 1.03rem; font-weight: 650; line-height: 1.3;
}
.hbtb-guide__controls button, .hbtb-guide__controls a {
  color: #62c6ff; background: #0c1421; border: 1px solid #547287;
  min-height: 44px; padding: 0 12px; border-radius: 8px; box-sizing: border-box;
  display: inline-flex; align-items: center; font: inherit; font-size: .88rem;
  font-weight: 700; cursor: pointer; text-decoration: none;
}
.hbtb-guide__controls :focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.hbtb-guide__scroll { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; }
.hbtb-guide__pages {
  margin: 0 auto; max-width: 850px; display: grid; gap: 12px;
  padding: 10px max(6px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(6px, env(safe-area-inset-left));
}
.hbtb-guide__page { position: relative; }
.hbtb-guide__page img { display: block; width: 100%; height: auto; background: #13243a; }
.hbtb-guide__transcript {
  position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
