/* BYUNSHIJI-READING-NAV-V119 */
:root {
  --atlas-v119-ink: #241f19;
  --atlas-v119-muted: #71685d;
  --atlas-v119-paper: #f7f2e8;
  --atlas-v119-card: #fffdf8;
  --atlas-v119-line: #ddcfba;
  --atlas-v119-accent: #9a5d25;
}

/*
 * v102 hid every direct child header except its own obsolete header class.
 * The v115 header is the current header for the two 34-language collections.
 */
html.atlas-v102 body.atlas-reading-v119 > .atlas-global-header-v115,
body.atlas-reading-v119 > .atlas-global-header-v115 {
  display: block !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 1000000 !important;
}

body.atlas-reading-v119 > .atlas-family-nav-v115 {
  display: block !important;
  position: sticky !important;
  top: 70px !important;
  z-index: 999999 !important;
}

/* Retire all previous top bars on these pages. */
body.atlas-reading-v119 > #topbar,
body.atlas-reading-v119 > nav.site-menubar,
body.atlas-reading-v119 > nav.site-topnav,
body.atlas-reading-v119 > nav.atlas-legacy-topnav-v102 {
  display: none !important;
}

body.atlas-reading-v119 #app,
body.atlas-reading-v119.no-sidebar #app {
  min-height: 0 !important;
  padding-top: 0 !important;
}

body.atlas-reading-v119 #main,
body.atlas-reading-v119.no-sidebar #main {
  margin-left: 0 !important;
}

.atlas-work-sequence-v119 {
  display: flex;
  margin-left: auto;
  align-items: center;
  gap: 5px;
}

.atlas-work-sequence-v119 a,
.atlas-work-sequence-v119 .is-disabled {
  display: inline-flex;
  min-width: 44px;
  min-height: 34px;
  padding: 8px 10px;
  border-radius: 3px;
  color: var(--atlas-v119-muted);
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 650;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.atlas-work-sequence-v119 a:hover,
.atlas-work-sequence-v119 a:focus-visible,
.atlas-work-sequence-v119 a.atlas-work-current-v119 {
  color: var(--atlas-v119-ink);
  background: var(--atlas-v119-card);
}

.atlas-work-sequence-v119 a.atlas-work-current-v119 {
  box-shadow: inset 0 -2px 0 var(--atlas-v119-accent);
}

.atlas-work-sequence-v119 .is-disabled {
  opacity: 0.28;
}

.atlas-work-sequence-v119 b {
  color: var(--atlas-v119-accent);
}

/* Korean 100-work landing: compact hero and readable index. */
body.atlas-kind-works-index-v119 #app {
  display: block !important;
}

body.atlas-kind-works-index-v119 .section.active > .wrap {
  width: min(100%, 1120px) !important;
  max-width: 1120px !important;
  padding: 52px 24px 28px !important;
}

html.atlas-v102 body.atlas-kind-works-index-v119 h1.sec-h,
body.atlas-kind-works-index-v119 h1.sec-h {
  margin: 0 0 12px !important;
  font: 650 clamp(40px, 6vw, 68px) / 1.08 "Noto Serif KR", Georgia, serif !important;
  letter-spacing: -0.045em !important;
}

body.atlas-kind-works-index-v119 .eyebrow {
  margin-bottom: 12px !important;
}

body.atlas-kind-works-index-v119 .lead {
  max-width: 720px;
  margin: 20px 0 0 !important;
  color: var(--atlas-v119-muted);
  line-height: 1.85;
}

body.atlas-kind-works-index-v119 .seo-work-index {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 18px 24px 88px;
}

html.atlas-v102 body.atlas-kind-works-index-v119 .seo-work-index h2,
body.atlas-kind-works-index-v119 .seo-work-index h2 {
  margin: 0 0 22px !important;
  font: 650 clamp(27px, 3.2vw, 42px) / 1.18 "Noto Serif KR", Georgia, serif !important;
  letter-spacing: -0.035em !important;
}

body.atlas-kind-works-index-v119 .seo-work-list {
  display: grid !important;
  margin: 0 !important;
  padding: 0 !important;
  columns: auto !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  font-size: 12px !important;
  line-height: 1.45 !important;
}

body.atlas-kind-works-index-v119 .seo-work-list li {
  min-width: 0;
  break-inside: avoid;
}

body.atlas-kind-works-index-v119 .seo-work-list a {
  display: block;
  min-height: 58px;
  padding: 11px 12px;
  border: 1px solid var(--atlas-v119-line);
  border-radius: 4px;
  background: rgba(255, 253, 248, 0.62);
  color: var(--atlas-v119-ink);
  overflow: hidden;
  text-decoration: none;
}

body.atlas-kind-works-index-v119 .seo-work-list a:hover,
body.atlas-kind-works-index-v119 .seo-work-list a:focus-visible {
  border-color: var(--atlas-v119-accent);
  background: var(--atlas-v119-card);
}

/* Work detail typography and a stable, real-link pager. */
html.atlas-v102 body.atlas-kind-work-detail-v119 .work-page h1,
body.atlas-kind-work-detail-v119 .work-page h1 {
  margin: 22px 0 8px !important;
  font: 650 clamp(31px, 4.4vw, 52px) / 1.14 "Noto Serif KR", Georgia, serif !important;
  letter-spacing: -0.035em !important;
}

html.atlas-v102 body.atlas-kind-work-detail-v119 .work-page h2,
body.atlas-kind-work-detail-v119 .work-page h2 {
  font: 650 18px / 1.45 "Noto Serif KR", Georgia, serif !important;
  letter-spacing: 0 !important;
}

body.atlas-kind-work-detail-v119 .work-page {
  padding-top: 56px !important;
  padding-bottom: 36px !important;
}

body.atlas-kind-work-detail-v119 > .atlas-linear-pager-v119 {
  margin-top: 0;
}

/* Shared previous / index / next component. */
.atlas-linear-pager-v119 {
  display: grid;
  width: min(100% - 36px, 1040px);
  margin: 52px auto 78px;
  padding-top: 18px;
  border-top: 1px solid var(--atlas-v119-line);
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  direction: ltr;
  font-family: "Noto Sans KR", "Noto Sans", system-ui, sans-serif;
}

.atlas-linear-pager-v119 a,
.atlas-linear-pager-v119 .is-disabled {
  display: inline-flex;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--atlas-v119-line);
  border-radius: 4px;
  background: var(--atlas-v119-card);
  color: var(--atlas-v119-muted);
  align-items: center;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
}

.atlas-linear-pager-v119 a:hover,
.atlas-linear-pager-v119 a:focus-visible {
  border-color: var(--atlas-v119-accent);
  color: var(--atlas-v119-accent);
}

.atlas-linear-pager-v119 .atlas-pager-prev-v119 {
  justify-self: start;
}

.atlas-linear-pager-v119 .atlas-pager-index-v119 {
  justify-self: center;
}

.atlas-linear-pager-v119 .atlas-pager-next-v119 {
  justify-self: end;
}

.atlas-linear-pager-v119 .is-disabled {
  border-color: transparent;
  background: transparent;
  opacity: 0.28;
}

body.atlas-kind-monologue-part-v119 .mo-nav {
  display: none !important;
}

body.atlas-kind-monologue-part-v119 .atlas-linear-pager-v119 {
  width: 100%;
  margin: 58px auto 26px;
}

body.atlas-kind-monologue-index-v119 .mo {
  padding-top: 52px;
}

body.atlas-kind-monologue-index-v119 .mo-toc {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

body.atlas-kind-monologue-index-v119 .mo-toc a {
  display: grid;
  min-height: 132px;
  padding: 18px;
  border: 1px solid var(--atlas-v119-line);
  border-radius: 4px;
  background: rgba(255, 253, 248, 0.62);
  grid-template-columns: auto 1fr auto;
  align-content: start;
}

body.atlas-kind-monologue-index-v119 .mo-toc a:hover,
body.atlas-kind-monologue-index-v119 .mo-toc a:focus-visible {
  border-color: var(--atlas-v119-accent);
  background: var(--atlas-v119-card);
}

@media (max-width: 1100px) {
  body.atlas-reading-v119 > .atlas-family-nav-v115 {
    top: 70px !important;
  }

  .atlas-work-sequence-v119 {
    width: 100%;
    margin-left: 0;
    order: 3;
    justify-content: flex-end;
  }

  body.atlas-kind-works-index-v119 .seo-work-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .atlas-work-sequence-v119 {
    overflow-x: auto;
    justify-content: stretch;
    scrollbar-width: none;
  }

  .atlas-work-sequence-v119::-webkit-scrollbar {
    display: none;
  }

  .atlas-work-sequence-v119 a,
  .atlas-work-sequence-v119 .is-disabled {
    flex: 1 0 auto;
  }

  body.atlas-kind-works-index-v119 .section.active > .wrap {
    padding: 34px 16px 20px !important;
  }

  html.atlas-v102 body.atlas-kind-works-index-v119 h1.sec-h,
  body.atlas-kind-works-index-v119 h1.sec-h {
    font-size: clamp(34px, 12vw, 50px) !important;
  }

  body.atlas-kind-works-index-v119 .seo-work-index {
    padding: 14px 16px 64px;
  }

  body.atlas-kind-works-index-v119 .seo-work-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.atlas-kind-monologue-index-v119 .mo-toc {
    grid-template-columns: 1fr;
  }

  body.atlas-kind-monologue-index-v119 .mo-toc a {
    min-height: 0;
  }

  .atlas-linear-pager-v119 {
    width: calc(100% - 24px);
    margin-top: 40px;
    grid-template-columns: 1fr 1fr;
  }

  .atlas-linear-pager-v119 .atlas-pager-index-v119 {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: stretch;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  body.atlas-reading-v119 > .atlas-family-nav-v115 {
    top: 58px !important;
  }
}

@media (max-width: 430px) {
  body.atlas-kind-works-index-v119 .seo-work-list {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.atlas-reading-v119 * {
    scroll-behavior: auto !important;
  }
}
/* /BYUNSHIJI-READING-NAV-V119 */
