/* Brainwashing Academy UI overlay (IntoTheDark base) */
:root{
  --academy-dock-gap: 10px;
  --academy-btn-h: 40px;
  --academy-btn-radius: 12px;
  --academy-btn-pad-x: 14px;
  --academy-z: 99999;
}

/* Compact header/footer toggles */
body.academy-compact-header .header-container{ padding: 0 !important; }
body.academy-compact-header .header{ padding: 6px 12px !important; min-height: 44px !important; }
body.academy-compact-footer .footer{ padding-top: 8px !important; padding-bottom: 8px !important; }

/* Hide default nav/logo */
body.academy-hide-theme-nav .header__menu,
body.academy-hide-theme-nav .header__hamburger{ display:none !important; }
body.academy-hide-logo .header__logo{ display:none !important; }

/* Dock (centered) */
.academy-ui-dock{
  position: fixed;
  top: var(--academy-dock-gap);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: var(--academy-z);
  pointer-events: none;
}
.academy-ui-dock .academy-ui-btn{
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: var(--academy-btn-h);
  padding: 0 var(--academy-btn-pad-x);
  border-radius: var(--academy-btn-radius);
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.55);
  color: inherit;
  text-decoration: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 14px;
  line-height: 1;
  user-select: none;
}
.academy-ui-dock .academy-ui-btn:hover{ background: rgba(0,0,0,.70); }

/* Help modal */
.academy-help-modal{ position: fixed; inset: 0; z-index: calc(var(--academy-z) + 1); display:none; }
.academy-help-modal.is-open{ display:block; }
.academy-help-modal__backdrop{ position:absolute; inset:0; background: rgba(0,0,0,.70); }
.academy-help-modal__panel{
  position: relative;
  max-width: 860px;
  margin: 10vh auto 0 auto;
  border-radius: 18px;
  background: rgba(10,10,12,.92);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 10px 40px rgba(0,0,0,.55);
  padding: 18px 18px 16px 18px;
}
.academy-help-modal__title{ margin:0 0 10px 0; font-size:18px; letter-spacing:.2px; }
.academy-help-modal__content{ font-size:15px; line-height:1.5; opacity:.95; max-height:52vh; overflow:auto; padding-right:6px; }
.academy-help-modal__actions{ display:flex; justify-content:flex-end; gap:10px; margin-top:12px; }
.academy-help-modal__close{
  height: 38px; padding:0 14px; border-radius:12px;
  border:1px solid rgba(255,255,255,.18); background: rgba(0,0,0,.55);
  color: inherit; cursor:pointer;
}
@media (max-width: 600px){
  :root{ --academy-btn-h: 38px; }
  .academy-help-modal__panel{ margin: 8vh 12px 0 12px; }
}

/* BW ACADEMY: FOOTER COMPACT */
.footer{ padding-top: 8px !important; padding-bottom: 8px !important; }
/* BW ACADEMY: HIDE THEME NAV (visual UI handles navigation) */
.header__menu,
.header__hamburger{ display:none !important; }

/* Hide logo slot in header */
.header__logo{ display:none !important; }

/* BWA_V3_VISUAL */
.footer{ border-top: 2px solid rgba(155,92,255,.35) !important; }
.entry-title{ text-decoration: underline; text-underline-offset: 10px; }

/* BWA_V4_VISUAL */
.academy-ui-dock .academy-ui-btn{ box-shadow: 0 8px 22px rgba(155,92,255,.18) !important; }


/* Help modal rich content */
.academy-help-modal__content .academy-help-block{ margin: 10px 0; }
.academy-help-modal__content video{ width: 100%; height: auto; max-height: 60vh; border-radius: 12px; display: block; background: #000; }
.academy-help-modal__content audio{ width: 100%; }
