/* Shared header geometry only. Existing gold, silver, Monochrome and Cyber
   surfaces remain authoritative. A stable brand box prevents theme/name shifts.
   The legacy Cyber brand writer intentionally has no `.brand > span` target. */
html body #ar-site-header {
  box-sizing:border-box!important;
  display:block!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
}
html body #ar-site-header .ar-site-header-inner {
  box-sizing:border-box!important;
  display:grid!important;
  grid-template-columns:360px minmax(0,1fr)!important;
  align-items:center!important;
  gap:24px!important;
  width:min(1260px,calc(100% - 48px))!important;
  min-height:112px!important;
  margin:0 auto!important;
  padding:18px 0!important;
}
html body #ar-site-header .ar-site-brand {
  box-sizing:border-box!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  flex-wrap:nowrap!important;
  gap:14px!important;
  min-width:0!important;
  width:100%!important;
  height:76px!important;
  margin:0!important;
  padding:0!important;
}
html body #ar-site-header .ar-site-brand-icon {
  display:block!important;
  width:76px!important;
  height:76px!important;
  min-width:76px!important;
  flex:0 0 76px!important;
  margin:0!important;
  padding:0!important;
  object-fit:contain!important;
  object-position:center!important;
  transform:none!important;
}
html body #ar-site-header .ar-site-brand-copy {
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  align-items:flex-start!important;
  gap:3px!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  text-align:left!important;
}
html body #ar-site-header .ar-site-brand-title {
  display:block!important;
  margin:0!important;
  padding:0!important;
  color:var(--text,#eee5d6)!important;
  font:400 23px/1.25 var(--ar-cinzel,var(--heading-font,"Cinzel",Georgia,serif))!important;
  letter-spacing:0!important;
  text-transform:none!important;
  text-decoration:none!important;
}
html body #ar-site-header .ar-site-brand-home {
  display:block!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:none!important;
  color:var(--text,#eee5d6)!important;
  font:400 14px/1.3 var(--ar-cinzel,var(--heading-font,"Cinzel",Georgia,serif));
  letter-spacing:0!important;
  text-transform:none!important;
  text-decoration:none!important;
  transition:color .16s ease!important;
}
html body #ar-site-header .ar-site-brand-home:hover,
html body #ar-site-header .ar-site-brand-home:focus-visible {
  color:#d5b66e!important;
}
html body #ar-site-header .ar-site-brand-home:focus-visible {
  outline:2px solid #d5b66e!important;
  outline-offset:4px!important;
}
html body #ar-site-header .ar-site-brand-subtitle {
  display:block!important;
  margin:0!important;
  padding:0!important;
  color:var(--muted,var(--ar-soft,#b6ab9c))!important;
  font:400 15px/1.4 var(--ar-cinzel,var(--heading-font,"Cinzel",Georgia,serif))!important;
  letter-spacing:0!important;
  text-transform:none!important;
}
html body #ar-site-header[data-ar-nav-page="explorer"] .ar-site-brand-subtitle {
  font-size:12px!important;
}
html body #ar-site-header .ar-site-nav {
  box-sizing:border-box!important;
  display:grid!important;
  grid-template-columns:repeat(7,minmax(0,1fr))!important;
  align-items:stretch!important;
  justify-content:stretch!important;
  gap:8px!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
}
html body #ar-site-header .ar-site-nav > .ar-site-nav-item {
  box-sizing:border-box!important;
  display:flex!important;
  position:relative;
  align-items:center!important;
  justify-content:center!important;
  grid-area:auto!important;
  grid-column:auto!important;
  justify-self:stretch!important;
  flex:none!important;
  width:100%!important;
  min-width:0!important;
  height:62px!important;
  min-height:62px!important;
  margin:0!important;
  padding:8px!important;
  font:600 13px/1.4 var(--ar-cinzel,var(--heading-font,"Cinzel",Georgia,serif))!important;
  letter-spacing:0!important;
  text-transform:none!important;
  text-align:center!important;
  text-decoration:none!important;
  white-space:normal!important;
  overflow-wrap:normal!important;
  transform:none!important;
  transition:color .16s ease,background-color .16s ease,border-color .16s ease!important;
}
html body #ar-site-header .ar-site-nav > a:focus-visible {
  outline:2px solid var(--gold-light,#d5b66e)!important;
  outline-offset:3px!important;
}
/* The library belongs to the Studio family: silver and steel on black. */
html body #ar-site-header[data-ar-nav-page="games-apps"] {
  background:#000;
}
html body #ar-site-header[data-ar-nav-page="games-apps"] .ar-site-nav-item {
  border:1px solid rgba(216,214,211,.28)!important;
  border-radius:2px;
  background:linear-gradient(180deg,rgba(22,20,17,.62),rgba(8,6,3,.88))!important;
  color:#e1deda!important;
}
html body #ar-site-header[data-ar-nav-page="games-apps"] .ar-site-nav-item.current {
  background:linear-gradient(180deg,#f4f1ed,#bab7b3)!important;
  color:#161411!important;
  border-color:#faf7f3!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,252,.24)!important;
}
html body #ar-site-header[data-ar-nav-page="games-apps"] a.ar-site-nav-item:hover,
html body #ar-site-header[data-ar-nav-page="games-apps"] a.ar-site-nav-item:focus-visible {
  background:linear-gradient(180deg,rgba(51,49,46,.56),rgba(13,11,8,.92))!important;
  border-color:rgba(234,232,229,.52)!important;
  color:#f8f5f1!important;
  outline-color:#efece8!important;
}
html body #ar-site-header[data-ar-nav-page="games-apps"] .ar-site-brand-home:hover,
html body #ar-site-header[data-ar-nav-page="games-apps"] .ar-site-brand-home:focus-visible {
  color:#f4f1ed!important;
  outline-color:#efece8!important;
}
@media screen and (max-width:1240px) {
  html body #ar-site-header .ar-site-header-inner {
    grid-template-columns:minmax(0,1fr)!important;
    gap:16px!important;
    padding:16px 0!important;
  }
  html body #ar-site-header .ar-site-brand {
    justify-content:center!important;
  }
}
@media screen and (max-width:760px) {
  html body #ar-site-header .ar-site-header-inner {
    width:calc(100% - 32px)!important;
    gap:14px!important;
    padding:14px 0!important;
  }
  html body #ar-site-header .ar-site-brand {
    justify-content:flex-start!important;
    gap:12px!important;
    /* r43: enlarged mobile text may grow without overlapping navigation. */
    height:auto!important;min-height:76px!important;
    overflow-wrap:anywhere!important;
  }
  html body #ar-site-header .ar-site-brand-icon {
    width:56px!important;
    height:56px!important;
    min-width:56px!important;
    flex-basis:56px!important;
  }
  html body #ar-site-header .ar-site-brand-title {font-size:21px!important;}
  html body #ar-site-header .ar-site-brand-subtitle {font-size:14px!important;}
  html body #ar-site-header .ar-site-nav {grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  html body #ar-site-header .ar-site-nav > .ar-site-nav-item {
    height:auto!important;
    min-height:48px!important;
    overflow-wrap:anywhere!important;
    padding:7px!important;
    font-size:12px!important;
  }
  html body #ar-site-header .ar-site-nav > .ar-site-nav-item:last-child {
    grid-column:1/-1!important;
  }
}
@media (prefers-reduced-motion:reduce) {
  html body #ar-site-header .ar-site-brand-home,
  html body #ar-site-header .ar-site-nav > .ar-site-nav-item {transition:none!important;}
}
@media print {html body #ar-site-header {display:none!important;}}

/* Shared utility runner across all six pages.
   The separate beta banner belongs only to Bible Explorer. */
html body .ar-site-top-runner {
 box-sizing:border-box!important;display:flex!important;align-items:center!important;justify-content:center!important;
 width:100%!important;max-width:none!important;min-height:36px!important;margin:0!important;padding:7px 24px!important;
 border:0!important;border-bottom:1px solid var(--line,rgba(190,166,121,.2))!important;
 font:400 12px/22px system-ui,sans-serif!important;letter-spacing:.02em!important;
}
html body .ar-site-top-runner > :is(.wrap,.ar-wrap,.ar-site-runner-inner) {
 display:flex!important;align-items:center!important;width:min(1260px,100%)!important;max-width:1260px!important;
 min-height:22px!important;margin:0 auto!important;padding:0!important;
}
html body .ar-site-top-runner.site-runner > .ar-site-runner-inner {justify-content:space-between!important;gap:16px!important}
@media(max-width:760px){
 html body .ar-site-top-runner {padding:6px 16px!important;min-height:34px!important;font-size:10px!important}
 html body .ar-site-top-runner.site-runner > .ar-site-runner-inner > span:last-child {display:none!important}
  }
@media print {html body .ar-site-top-runner{display:none!important}}
/* Explorer's historical 1920px wrapper cap must not narrow these shared rows. */
html body #ar-embed-scroll > :is(.ar-site-top-runner,#ar-site-header) {
 width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important;
}
