/* Bible Lab Alpha v.02 - phone / tablet / Galaxy Fold unfolded Podium single-header polish */

body.bl-touch-compact,
html.bl-touch-compact-root body{ --bl-touch-edge:0px; }

/* Bible-like edge-to-edge Podium surface. The historical Podium wrapper has inline
   padding:16px 40px 28px; this deliberately overrides that gutter only on touch layouts. */
body.bl-touch-compact.bl-podium-active #view-podium{
  width:100%!important;
  max-width:none!important;
  left:0!important;
  right:0!important;
  margin:0!important;
  padding:0!important;
  background:#fff!important;
  box-sizing:border-box!important;
}
body.bl-touch-compact.bl-podium-active #view-podium > :first-child,
body.bl-touch-compact.bl-podium-active #view-podium .bl-podium-viewport-shell{
  inset:0!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  box-sizing:border-box!important;
}
body.bl-touch-compact.bl-podium-active #view-podium .outer-board,
body.bl-touch-compact.bl-podium-active #view-podium .inner-board,
body.bl-touch-compact.bl-podium-active #view-podium .bl-podium-main-shell{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin-left:0!important;
  margin-right:0!important;
  box-sizing:border-box!important;
}
body.bl-touch-compact.bl-podium-active #view-podium .outer-board,
body.bl-touch-compact.bl-podium-active #view-podium .inner-board{
  border-left:0!important;
  border-right:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}

/* Single dense header: Podium + [Google Drive ●] on the left, Bible/Hymn pills on the right. */
body.bl-touch-compact.bl-podium-active #view-podium .bs-header,
body.bl-touch-compact.bl-podium-active #view-podium .bl-podium-title-row{
  min-height:0!important;
  height:auto!important;
  padding:10px 14px!important;
  margin:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:8px!important;
  border-radius:0!important;
  box-sizing:border-box!important;
}
body.bl-touch-compact.bl-podium-active #view-podium .bl-podium-left-cluster{
  display:flex!important;
  align-items:center!important;
  flex-wrap:nowrap!important;
  gap:8px!important;
  min-width:0!important;
}
body.bl-touch-compact.bl-podium-active #view-podium .bs-sub{
  display:none!important;
}
body.bl-touch-compact.bl-podium-active #view-podium .bs-title,
body.bl-touch-compact.bl-podium-active #view-podium .bl-podium-title-text{
  margin:0!important;
  padding:0!important;
  font-family:var(--sans,'Pretendard',system-ui,sans-serif)!important;
  font-size:18px!important;
  line-height:1.15!important;
  font-weight:800!important;
  letter-spacing:-.04em!important;
  color:var(--tx,#1a1a2e)!important;
  white-space:nowrap!important;
}

body.bl-touch-compact.bl-podium-active #view-podium #blPodiumDriveCompact{
  display:inline-flex!important;
  align-items:center!important;
  flex:0 0 auto!important;
  margin:0!important;
}
body.bl-touch-compact.bl-podium-active #view-podium .bl-podium-drive-chip{
  appearance:none!important;
  -webkit-appearance:none!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  height:34px!important;
  min-height:34px!important;
  padding:0 10px!important;
  border:1px solid rgba(28,107,90,.20)!important;
  border-radius:999px!important;
  background:rgba(28,107,90,.045)!important;
  color:var(--primary,#1c6b5a)!important;
  box-shadow:none!important;
  font:750 12px/1 var(--sans,'Pretendard',system-ui,sans-serif)!important;
  letter-spacing:-.02em!important;
  white-space:nowrap!important;
  cursor:pointer!important;
}
body.bl-touch-compact.bl-podium-active #view-podium .bl-drive-logo-slot{
  width:19px!important;
  height:17px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 19px!important;
}
body.bl-touch-compact.bl-podium-active #view-podium .bl-drive-logo-svg{
  width:19px!important;
  height:17px!important;
  display:block!important;
}
body.bl-touch-compact.bl-podium-active #view-podium .bl-drive-name{
  display:inline!important;
}
body.bl-touch-compact.bl-podium-active #view-podium .bl-drive-status-dot{
  width:7px!important;
  height:7px!important;
  border-radius:50%!important;
  background:#a8afac!important;
  box-shadow:0 0 0 3px rgba(168,175,172,.12)!important;
  flex:0 0 7px!important;
}
body.bl-touch-compact.bl-podium-active #view-podium #blPodiumDriveCompact.is-connected .bl-drive-status-dot{
  background:#2aa56b!important;
  box-shadow:0 0 0 3px rgba(42,165,107,.14)!important;
}

/* Remove the previous compact controls and the entire old second-row Drive hero. */
body.bl-touch-compact #view-podium .bl-podium-drive-settings,
body.bl-touch-compact #view-podium .bl-podium-drive-hero-original{
  display:none!important;
}

/* Match Bible header pill density. */
body.bl-touch-compact.bl-podium-active #view-podium .bs-header button,
body.bl-touch-compact.bl-podium-active #view-podium .bs-header a,
body.bl-touch-compact.bl-podium-active #view-podium .bl-touch-nav-label{
  min-height:34px!important;
  height:34px!important;
  padding-top:0!important;
  padding-bottom:0!important;
  padding-left:11px!important;
  padding-right:11px!important;
  border-radius:999px!important;
  font-size:12px!important;
  line-height:1!important;
  white-space:nowrap!important;
}
body.bl-touch-compact.bl-podium-active #view-podium #pdmBody{
  box-sizing:border-box!important;
  padding:14px clamp(10px,2vw,18px) 24px!important;
}

/* Phone portrait/landscape keeps Google Drive text visible as requested. */
@media (max-width:600px){
  body.bl-touch-compact.bl-podium-active #view-podium .bs-header,
  body.bl-touch-compact.bl-podium-active #view-podium .bl-podium-title-row{padding:9px 10px!important;gap:6px!important;}
  body.bl-touch-compact.bl-podium-active #view-podium .bl-podium-left-cluster{gap:6px!important;}
  body.bl-touch-compact.bl-podium-active #view-podium .bs-title,
  body.bl-touch-compact.bl-podium-active #view-podium .bl-podium-title-text{font-size:17px!important;}
  body.bl-touch-compact.bl-podium-active #view-podium .bl-podium-drive-chip{padding:0 8px!important;font-size:11.5px!important;}
  body.bl-touch-compact.bl-podium-active #view-podium .bs-header button,
  body.bl-touch-compact.bl-podium-active #view-podium .bs-header a,
  body.bl-touch-compact.bl-podium-active #view-podium .bl-touch-nav-label{padding-left:9px!important;padding-right:9px!important;font-size:11.5px!important;}
}

/* Galaxy Fold unfolded and iPad/tablets remain edge-to-edge, not a centered narrow card. */
@media (min-width:601px) and (max-width:1400px){
  body.bl-touch-compact.bl-podium-active #view-podium .bs-header,
  body.bl-touch-compact.bl-podium-active #view-podium .bl-podium-title-row{padding-left:16px!important;padding-right:16px!important;}
}
