/* VerseSaurus unified seven-tab navigation. Shared dimensions and styling across all primary pages. */
body > header.editorial-nav{
 position:relative!important;z-index:120!important;width:100%!important;max-width:none!important;
 margin:0!important;padding:17px max(20px,calc((100vw - 1280px)/2)) 19px!important;
 display:flex!important;align-items:center!important;justify-content:center!important;
 gap:0!important;background:#090c12!important;border-bottom:1px solid #303943!important;
 box-sizing:border-box!important;
}
body > header.editorial-nav > .editorial-logo{display:none!important}
body > header.editorial-nav > nav.editorial-links{
 display:flex!important;align-items:stretch!important;justify-content:center!important;
 gap:clamp(8px,1.2vw,16px)!important;position:static!important;left:auto!important;transform:none!important;
 width:100%!important;max-width:1280px!important;flex:1 1 auto!important;margin:0 auto!important;
}
body > header.editorial-nav > nav.editorial-links > a{
 position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;
 box-sizing:border-box!important;min-width:0!important;min-height:55px!important;height:55px!important;
 flex:1 1 0!important;padding:17px 10px 12px!important;
 border:1px solid #354454!important;border-bottom:3px solid #7650a8!important;
 border-radius:7px 7px 10px 10px!important;background:linear-gradient(180deg,#202b38 0%,#151d28 100%)!important;
 box-shadow:0 3px 0 #05080d,inset 0 1px 0 #ffffff12!important;color:#e5eaf0!important;
 font:800 12.5px/1.15 Inter,ui-sans-serif,system-ui,sans-serif!important;letter-spacing:.035em!important;
 text-align:center!important;text-decoration:none!important;white-space:nowrap!important;
 transition:transform .16s ease,border-color .16s ease,background .16s ease,box-shadow .16s ease!important;
}
body > header.editorial-nav > nav.editorial-links > a::before{
 content:"";position:absolute;left:9px;right:9px;top:-5px;height:9px;
 background:radial-gradient(ellipse at center,#0a0e14 0 28%,#9aa8b5 34% 48%,transparent 54%) left center/16px 9px repeat-x;
 pointer-events:none;
}
body > header.editorial-nav > nav.editorial-links > a:hover{
 transform:translateY(-2px)!important;border-color:#65748a!important;border-bottom-color:#b7ff30!important;
 background:linear-gradient(180deg,#293747 0%,#192431 100%)!important;
}
body > header.editorial-nav > nav.editorial-links > a[aria-current="page"]{
 color:#fff!important;border-color:#718d36!important;border-bottom-color:#b7ff30!important;
 background:linear-gradient(180deg,#293b2a 0%,#18251c 100%)!important;
 box-shadow:0 3px 0 #05080d,0 0 18px #b7ff3018,inset 0 1px 0 #ffffff18!important;
}
body > header.editorial-nav > nav.editorial-links > a:focus-visible{outline:3px solid #b7ff30!important;outline-offset:4px!important}
/* Compact one-row mobile navigation: all seven destinations stay in a single header strip. */
@media(max-width:900px){
 body > header.editorial-nav{
  padding:7px 8px 8px!important;
  justify-content:center!important;
  background:#090c12!important;
  border-bottom:1px solid #303943!important;
 }
 body > header.editorial-nav > nav.editorial-links{
  display:grid!important;
  grid-template-columns:repeat(7,minmax(0,1fr))!important;
  align-items:stretch!important;
  justify-content:stretch!important;
  gap:3px!important;
  width:100%!important;
  max-width:760px!important;
  flex:0 0 auto!important;
  margin:0 auto!important;
  padding:4px!important;
  box-sizing:border-box!important;
  border:1px solid #354454!important;
  border-radius:11px!important;
  background:linear-gradient(180deg,#141c27 0%,#0e141d 100%)!important;
  box-shadow:0 3px 10px #0008,inset 0 1px 0 #ffffff0d!important;
 }
 body > header.editorial-nav > nav.editorial-links > a{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  height:38px!important;
  min-height:38px!important;
  min-width:0!important;
  padding:3px 1px!important;
  box-sizing:border-box!important;
  border:1px solid #354454!important;
  border-bottom:2px solid #7650a8!important;
  border-radius:6px!important;
  font-size:8.5px!important;
  line-height:1.05!important;
  letter-spacing:0!important;
  font-weight:800!important;
  white-space:normal!important;
  overflow-wrap:normal!important;
  text-align:center!important;
 }
 body > header.editorial-nav > nav.editorial-links > a::before{display:none!important}
 body > header.editorial-nav > nav.editorial-links > a:last-child{
  grid-column:auto!important;
  width:100%!important;
  justify-self:stretch!important;
 }
 body > header.editorial-nav > nav.editorial-links > a[aria-current="page"]{
  border-bottom-color:#b7ff30!important;
 }
}
@media(max-width:390px){
 body > header.editorial-nav{padding:6px 5px 7px!important}
 body > header.editorial-nav > nav.editorial-links{gap:2px!important;padding:3px!important;border-radius:9px!important}
 body > header.editorial-nav > nav.editorial-links > a{
  height:36px!important;min-height:36px!important;padding:2px 0!important;
  font-size:7.5px!important;border-radius:5px!important;
 }
}


/* Mobile follow-up: keep the homepage on the same compact seven-tab row as inner pages. */
@media(max-width:900px){
 html body[data-editorial-page="explore"] > header.editorial-nav > nav.editorial-links{
  display:grid!important;
  grid-template-columns:repeat(7,minmax(0,1fr))!important;
  align-items:stretch!important;
  justify-content:stretch!important;
  gap:3px!important;
  width:100%!important;
  max-width:760px!important;
  margin:0 auto!important;
  padding:4px!important;
  box-sizing:border-box!important;
 }
 html body[data-editorial-page="explore"] > header.editorial-nav > nav.editorial-links > a{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:0!important;
  width:100%!important;
  min-height:38px!important;
  height:38px!important;
  padding:2px 1px!important;
  font-size:8px!important;
  line-height:1.05!important;
  letter-spacing:0!important;
  white-space:normal!important;
  overflow-wrap:normal!important;
  text-align:center!important;
 }
 html body[data-editorial-page="explore"] > header.editorial-nav > nav.editorial-links > a::before{display:none!important}
}
/* Defensive mobile rendering guard: never hide the page's main content wrapper. */
@media(max-width:900px){
 html body > main:not([hidden]){
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  height:auto!important;
  min-height:0!important;
  overflow:visible!important;
 }
 html body > main:not([hidden]) > :not([hidden]){
  visibility:visible!important;
  opacity:1!important;
 }
}
