/* SACRIA · constellation headline system, 2026-11-12.
   Thin dotted stroke skeletons + star nodes. Display-only headings;
   preserved semantic text is accessible, and body/UI copy stays native text. */
.visually-hidden {
  position: absolute !important;
  width: 1px !important; height: 1px !important;
  overflow: hidden !important; padding: 0 !important;
  margin: -1px !important; border: 0 !important;
  white-space: nowrap !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
}
/* The supplied panoramic constellation artwork is the World page's headline.
   The first letter of the last word and all other Korean characters are baked
   into the desktop image; duplicate live text is intentionally hidden. */
#page-world {
  background: linear-gradient(180deg, #0a1b37 0, #081120 610px, #08111f 100%);
}
#page-world .world-constellation-header {
  padding: 0;
  background: #081528;
  border: 0;
  text-align: center;
  overflow: hidden;
}
#page-world .world-constellation-art {
  position: relative;
  width: 100%;
  isolation: isolate;
  background: #07162c;
}
#page-world .world-constellation-art picture,
#page-world .world-constellation-art picture img {display:block;width:100%;}
#page-world .world-constellation-art picture img {
  height: auto;
  aspect-ratio: 1916 / 280;
  object-fit: fill;
}
#page-world .world-constellation-heading {
  position: absolute; inset: 0;
  padding:0;margin:0;
  pointer-events: none;
}
#page-world .world-constellation-mobile-title {display:none;}
#page-world .world-constellation-header > .shell {
  max-width: 1050px;
  padding: 10px 0 14px;
}
#page-world .world-constellation-header .lede {
  margin:0 auto;
  max-width: 850px;
  padding: 0 18px;
  font-size: clamp(12px, 1.05vw, 14px);
  line-height: 1.7;
  color: #e5e4e5;
  text-shadow: 0 2px 10px #061022;
}
/* Additional suitable spots: the two editorial page H1 display titles.
   Small information, book titles, buttons and navigation remain easy to read. */
#page-origin .page-header,
#page-human-ai .page-header {
  background:
    radial-gradient(2px 2px at 17% 24%, #ecd3a6 45%, transparent 70%),
    radial-gradient(2px 2px at 83% 33%, #ffffff 45%, transparent 70%),
    radial-gradient(1px 1px at 65% 75%, #c4d9ed 45%, transparent 70%),
    radial-gradient(ellipse at 72% 8%,rgba(48,86,139,.27),transparent 59%),
    #0a1528;
}
#page-origin .page-header .shell,
#page-human-ai .page-header .shell {max-width:1180px;}
#page-origin .page-header .constellation-heading,
#page-human-ai .page-header .constellation-heading {
  width: min(100%, 1120px);
  margin: 17px 0 22px;
  padding: 10px 0 16px;
  line-height: 0;
  position:relative;
}
.constellation-heading picture,
.constellation-heading picture img {
  width:100%;height:auto;display:block;
}
#page-origin .page-header .constellation-heading img,
#page-human-ai .page-header .constellation-heading img {
  filter: brightness(1.14) contrast(1.08) drop-shadow(0 0 2px rgba(255,241,214,.85)) drop-shadow(0 0 7px rgba(239,202,149,.55)) drop-shadow(0 0 16px rgba(239,202,149,.28));
}
#page-origin .page-header .constellation-heading::after,
#page-human-ai .page-header .constellation-heading::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 1px; width: min(56%, 540px);
  background: repeating-linear-gradient(90deg,rgba(243,213,162,.78) 0 2px,transparent 2px 8px);
  opacity:.58;
}
@media (max-width: 760px) {
  #page-world .world-constellation-header .lede {font-size:13px;}
  #page-origin .page-header,
  #page-human-ai .page-header {padding-top:61px;}
}
@media (max-width: 640px) {
  #page-world .world-constellation-art picture img {
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
  }
  #page-world .world-constellation-mobile-title {
    display: block;
    position: absolute;
    width: 87%; height:auto;
    left: 50%; top: 32.5%;
    transform: translateX(-50%);
    filter: drop-shadow(0 0 5px rgba(235,202,150,.45));
  }
  #page-world .world-constellation-header > .shell {padding: 16px 0 22px;}
  #page-world .world-constellation-header .lede {font-size:12px; padding:0 8px;}
  #page-origin .page-header,
  #page-human-ai .page-header {padding-top:49px;padding-bottom:38px;}
  #page-origin .page-header .constellation-heading,
  #page-human-ai .page-header .constellation-heading {
    width: min(100%, 560px);
    margin:12px 0 15px;
    padding:10px 0 18px;
  }
  #page-origin .page-header .constellation-heading::after,
  #page-human-ai .page-header .constellation-heading::after {width: 75%;}
}
@media (prefers-reduced-motion: no-preference) {
  #page-origin .page-header .constellation-heading img,
  #page-human-ai .page-header .constellation-heading img,
  #page-world .world-constellation-mobile-title {
    animation: sacria-stellar-glimmer 7s ease-in-out infinite alternate;
  }
  @keyframes sacria-stellar-glimmer {
    0%,100% { opacity: 1; }
    45% { opacity: .88; }
  }
}

/* Compact laptop screens: keep the books near the constellation without sacrificing scrolling. */
@media (min-width: 761px) and (max-height: 820px) {
  #page-world .world-constellation-art picture img {max-height: 185px;}
  #page-world .world-constellation-header > .shell {padding-block: 7px 9px;}
  #page-world .world-constellation-header .lede {font-size: 12px; line-height: 1.5;}
  #page-world .world-book-shelf.has-open .world-book.is-open {width: min(100%, 545px);}
  #page-world .world-book-shelf.has-open .world-book-model {width: 108px;}
}
