/* M36: one visible way home on category pages, lessons, readers and errors. */
nav.comic-home-bar.home-navigation-m36 {
  position: sticky;
  top: 0;
  z-index: 35;
  display: block !important;
  isolation: isolate;
  box-sizing: border-box;
  width: 100%;
  margin: 0 !important;
  padding: 10px 50px calc(10px + env(safe-area-inset-top, 0px)) !important;
  border: 0 !important;
  border-block: 1px solid #c9d7f1 !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: #101a36 !important;
  box-shadow: 0 3px 12px #101a3610 !important;
  font-family: 'Pretendard Variable', KangReader, 'Apple SD Gothic Neo', 'Malgun Gothic', system-ui, sans-serif !important;
  font-size: var(--reading-font, 1em) !important;
  line-height: 1.35 !important;
  letter-spacing: -.025em;
}
.home-navigation-m36 .comic-home-inner {
  width: 100%;
  max-width: 1380px;
  margin-inline: auto;
  padding: 0;
}
nav.home-navigation-m36 a.comic-home-link {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  gap: 12px;
  width: auto;
  max-width: 100%;
  min-width: 0;
  min-height: 64px;
  margin: 0;
  padding: 12px 24px !important;
  border: 2px solid #104cda !important;
  border-radius: 14px !important;
  background: #104cda !important;
  color: #fff !important;
  -webkit-text-fill-color: currentColor !important;
  font: inherit !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  text-decoration: none !important;
  overflow-wrap: anywhere;
  touch-action: manipulation;
  box-shadow: none !important;
}
nav.home-navigation-m36 a.comic-home-link > span {
  min-width: 0;
  color: inherit !important;
  background: transparent !important;
  -webkit-text-fill-color: currentColor !important;
}
nav.home-navigation-m36 .comic-home-icon {
  display: block;
  flex: 0 0 1.25em;
  width: 1.25em;
  height: 1.25em;
  max-width: none;
  color: inherit !important;
  background: transparent !important;
  stroke: currentColor !important;
  fill: none !important;
}
nav.home-navigation-m36 .comic-home-icon path {
  color: inherit !important;
  stroke: currentColor !important;
  fill: none !important;
  background: transparent !important;
}
nav.home-navigation-m36 a.comic-home-link:hover {
  background: #083aac !important;
  border-color: #083aac !important;
}
nav.home-navigation-m36 a.comic-home-link:focus-visible {
  outline: 4px solid #005fcc !important;
  outline-offset: 4px !important;
  box-shadow: 0 0 0 7px #fff !important;
}
html.comic-home-enabled {
  scroll-padding-top: calc(var(--comic-home-height, 104px) + 16px);
}
.comic-home-enabled :is(article[id], .life-cut[id], #main, #top) {
  scroll-margin-top: 16px;
}
/* Existing lesson toolbars follow the measured home bar; dialogs stay separate. */
.comic-home-enabled .site-v25 .lesson-navigation,
.comic-home-enabled .site-v25 #picture-lab .plab-navigation {
  top: var(--comic-home-height, 104px);
}
@media (min-width: 1001px) {
  .comic-home-enabled .setup-main > div:first-child {
    top: calc(var(--comic-home-height, 104px) + 24px);
  }
}
body:is(.high-contrast, .contrast) nav.comic-home-bar.home-navigation-m36 {
  background: #fff !important;
  color: #111 !important;
  border-color: #111 !important;
  box-shadow: none !important;
}
body:is(.high-contrast, .contrast) nav.home-navigation-m36 a.comic-home-link,
body:is(.high-contrast, .contrast) nav.home-navigation-m36 a.comic-home-link:hover {
  background: #111 !important;
  color: #fff !important;
  border-color: #111 !important;
}
body:is(.high-contrast, .contrast) nav.home-navigation-m36 a.comic-home-link * {
  background: transparent !important;
  color: inherit !important;
  -webkit-text-fill-color: currentColor !important;
  border-color: #111 !important;
}
@media (max-width: 760px) {
  nav.comic-home-bar.home-navigation-m36 {
    padding-inline: 20px !important;
  }
}
@media (max-width: 480px) {
  nav.home-navigation-m36 a.comic-home-link {
    width: 100%;
    padding-inline: 14px !important;
  }
}
@media print {
  nav.comic-home-bar.home-navigation-m36 {
    position: static;
    box-shadow: none !important;
  }
}
