/* Use the full Explorer workspace and its inline reading controls on phones. */
@layer ar-mobile-content {
  html[data-bible-mobile-desktop] body #ar-site-header .ar-site-brand {
    width: fit-content !important;
    justify-self: center !important;
  }
  html[data-bible-mobile-desktop] body .app-shell {
    min-width: 0 !important;
    grid-template-columns: minmax(242px,27%) minmax(0,1fr) !important;
  }
  html[data-bible-mobile-desktop] body.focus-mode .app-shell {
    grid-template-columns: minmax(0,1fr) !important;
  }
  html[data-bible-mobile-desktop] body .app-shell > #sidebar {
    position: relative !important;
    top: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }
  html[data-bible-mobile-desktop] body .app-shell > #workspace {
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    padding-inline: 13px !important;
    margin-inline: 0 !important;
  }
  html[data-bible-mobile-desktop] body #workspace > .workspace-top {
    width: 100% !important;
    max-width: none !important;
    align-items: stretch !important;
    flex-direction: column !important;
    gap: 6px !important;
  }
  html[data-bible-mobile-desktop] body #workspace #ar-workspace-actions {
    justify-content: flex-start !important;
    width: 100% !important;
    margin-inline: 0 !important;
    gap: 6px !important;
    order: -1 !important;
  }
  html[data-bible-mobile-desktop] body #workspace .workspace-top #ar-explorer-beta-banner {
    flex: 0 0 auto !important;
    min-height: 0 !important;
    height: auto !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 2px 0 !important;
    background: none !important;
    border: 0 !important;
    box-shadow: none !important;
    color: var(--text,inherit) !important;
    font: 500 14px/1.45 system-ui,sans-serif !important;
    text-align: left !important;
  }
  html[data-bible-mobile-desktop] #ar-explorer-beta-banner :is(.ar-beta-ticker-row,.ar-beta-ticker-viewport,.ar-beta-ticker-track) {
    display: block !important;
    width: 100% !important;
    min-height: 0 !important;
    overflow: visible !important;
    animation: none !important;
    transform: none !important;
  }
  html[data-bible-mobile-desktop] #ar-explorer-beta-banner .ar-beta-notice-original {
    width: auto !important;
    max-width: 100% !important;
    white-space: normal !important;
    animation: none !important;
    transform: none !important;
  }
  html[data-bible-mobile-desktop] #ar-explorer-beta-banner :is(.ar-beta-notice-copy,.ar-beta-pause) {
    display: none !important;
  }

  html[data-bible-mobile-desktop] body #sidebar .sidebar-heading {
    margin-block-end: 18px !important;
  }
  html[data-bible-mobile-desktop] body #sidebar .sidebar-heading > :is(#explorer-dashboard,#close-all67) {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 44px !important;
    margin-inline: 0 !important;
  }

  @media (max-height: 520px) and (orientation: landscape) {
    html[data-bible-mobile-desktop] body:not(.focus-mode) .app-shell > #sidebar {
      display: block !important;
    }
    html[data-bible-mobile-desktop] body #sidebar .sidebar-heading {
      display: grid !important;
      grid-template-columns: repeat(2,minmax(0,1fr)) !important;
      gap: 6px !important;
    }
    html[data-bible-mobile-desktop] body #sidebar .sidebar-heading > :is(h1,.eyebrow,.visit-navigation) {
      grid-column: 1/-1 !important;
      text-align: center !important;
    }
    html[data-bible-mobile-desktop] body #sidebar .visit-navigation {
      display: grid !important;
      grid-template-columns: repeat(2,minmax(0,1fr)) !important;
      gap: 6px !important;
    }
  }


}
