:root {
  --ink: #080808;
  --night: #101522;
  --night-soft: rgba(12, 16, 26, 0.78);
  --paper: #f7f1e6;
  --paper-deep: #e9dcc8;
  --gold: #d8b46a;
  --gold-bright: #f2d68d;
  --red: #b74737;
  --blue: #42b7d5;
  --white: #fffaf2;
  --muted: rgba(255, 250, 242, 0.72);
  --line: rgba(255, 250, 242, 0.22);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  --nav-height: 82px;
  font-family: "Noto Serif SC", "Songti SC", "STSong", "Microsoft YaHei", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--white);
  background: var(--ink);
  letter-spacing: 0;
}

body.no-scroll {
  overflow: hidden;
}

body[data-page="home"] {
  overflow: hidden;
}

body[data-page="home"] main {
  height: 100vh;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}

body.world-detail {
  overflow: hidden;
}

body.world-detail main {
  height: 100vh;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 56px;
  background: linear-gradient(90deg, rgba(6, 7, 12, 0.88), rgba(18, 18, 22, 0.64));
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
}

.site-header-single {
  justify-content: flex-start;
}

.brand {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 250px;
}

.brand-logo {
  width: 232px;
  height: 74px;
  object-fit: contain;
  object-position: left center;
  filter: invert(1) drop-shadow(0 0 16px rgba(255, 255, 255, 0.24));
}

.brand-divider {
  width: 1px;
  height: 30px;
  background: rgba(255, 255, 255, 0.22);
}

.brand-sub {
  display: flex;
  flex-direction: column;
  gap: 2px;
  white-space: nowrap;
}

.brand-sub b {
  font-size: 15px;
  font-weight: 500;
}

.brand-sub span {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.55);
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.main-nav a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 16px;
  transition: color 0.2s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 28px;
  height: 3px;
  background: var(--blue);
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: #fff;
}

.main-nav a.active::after,
.main-nav a:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-radius: 0;
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  display: block;
  width: 20px;
  height: 1px;
  margin: 5px auto;
  background: #fff;
}

.screen {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

body[data-page="home"] .screen {
  height: 100vh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

body.world-detail .world-section {
  height: 100vh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.icp-footer {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 20px;
  color: rgba(255, 250, 242, 0.56);
  background: #050506;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  scroll-snap-align: end;
}

.icp-footer a {
  font-size: 13px;
  transition: color 0.2s ease;
}

.icp-footer a:hover,
.icp-footer a:focus-visible {
  color: rgba(255, 250, 242, 0.92);
}

.world-final-footer {
  position: absolute;
  z-index: 6;
  right: 0;
  bottom: 0;
  left: 0;
  min-height: 76px;
  gap: 24px;
  padding: 10px 24px;
  background: rgba(5, 5, 7, 0.72);
  backdrop-filter: blur(10px);
}

.world-footer-brand {
  display: block;
  flex: 0 0 auto;
}

.world-section .world-footer-brand img {
  position: static;
  width: 128px;
  height: 48px;
  object-fit: contain;
  filter: invert(1) drop-shadow(0 0 10px rgba(255, 255, 255, 0.18));
}

@media (max-width: 820px) {
  .world-final-footer {
    min-height: 66px;
    gap: 16px;
    padding: 8px 16px;
  }

  .world-section .world-footer-brand img {
    width: 104px;
    height: 42px;
  }
}

.home-title {
  display: grid;
  place-items: start center;
  background: #000;
  padding: calc(var(--nav-height) + 58px) 24px 36px;
}

.title-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  background: #000;
}

.title-mark {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: minmax(62vh, 1fr) auto auto;
  gap: 14px;
  justify-items: center;
  align-content: start;
  width: min(1180px, calc(100% - 48px));
  min-height: calc(100vh - var(--nav-height) - 94px);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.partner-block {
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  width: min(1040px, 100%);
  margin-top: 8px;
  padding: 0;
  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;
}

.home-title.logo-complete .partner-block {
  animation: titleSubReveal 0.86s ease forwards;
  pointer-events: auto;
}

.partner-block p {
  display: grid;
  grid-template-rows: auto auto auto;
  justify-content: center;
  align-content: center;
  align-items: center;
  gap: 3px;
  min-height: 94px;
  margin: 0;
  padding: 0 8px;
  color: rgba(255, 255, 255, 0.7);
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 13px;
  letter-spacing: 0;
  line-height: 1.7;
  text-align: center;
  text-transform: none;
}

.partner-block span {
  display: block;
  color: var(--gold-bright);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.partner-block b {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
}

.artist-marquee {
  grid-row: 3;
  width: min(1100px, 100%);
  overflow: hidden;
  margin-top: 4px;
  padding: 12px 0 0;
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
}

.home-title.logo-complete .artist-marquee {
  animation: titleSubReveal 0.82s ease forwards;
  animation-delay: 0.48s;
  pointer-events: auto;
}

@keyframes titleSubReveal {
  from {
    opacity: 0;
    transform: translateY(18px);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.artist-track {
  display: flex;
  width: max-content;
  gap: 16px;
  animation: artistScroll 38s linear infinite;
}

.artist-track span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 128px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
}

.artist-track i {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
  font-style: normal;
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.2), transparent 28%),
    linear-gradient(135deg, rgba(216, 180, 106, 0.42), rgba(66, 183, 213, 0.18));
  border: 1px solid rgba(255, 255, 255, 0.24);
}

@keyframes artistScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.home-visual {
  background: #06070a;
}

.home-visual img,
.home-visual video {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  object-position: center center;
}

.home-intro {
  display: flex;
  align-items: center;
  padding: calc(var(--nav-height) + 46px) 7vw 68px;
  background:
    linear-gradient(90deg, rgba(7, 10, 14, 0.9), rgba(15, 22, 32, 0.78)),
    radial-gradient(circle at 86% 16%, rgba(215, 180, 106, 0.18), transparent 22%),
    #0b1118;
}

.intro-carousel {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.carousel-viewport {
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
}

.carousel-track {
  display: flex;
  transition: transform 0.45s ease;
}

.intro-slide {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(360px, 1.1fr);
  gap: 54px;
  align-items: center;
  padding: 46px;
  min-height: 540px;
}

.intro-image {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.intro-slide:nth-child(2) .intro-image {
  background: var(--paper);
}

.intro-slide:nth-child(2) .intro-image img {
  object-fit: contain;
  padding: 8%;
}

.kicker {
  margin: 0 0 16px;
  color: var(--gold-bright);
  font-size: 13px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.intro-copy h2,
.page-hero h1,
.section-copy h2,
.world-copy h2,
.about-copy h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 62px);
  font-weight: 500;
  line-height: 1.12;
}

.intro-copy p,
.section-copy p,
.world-copy p,
.about-copy p {
  margin: 24px 0 0;
  max-width: 680px;
  color: rgba(255, 250, 242, 0.78);
  font-size: 17px;
  line-height: 2;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 24px;
}

.carousel-controls button,
.pager button,
.filter-bar button,
.search-field button,
.catalog-pagination button,
.back-top,
.modal-close,
.arrow-btn {
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.carousel-controls button:hover,
.pager button:hover,
.filter-bar button:hover,
.search-field button:hover,
.catalog-pagination button:hover,
.back-top:hover,
.modal-close:hover,
.arrow-btn:hover {
  border-color: var(--gold-bright);
  background: rgba(216, 180, 106, 0.18);
}

.arrow-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 22px;
}

.dots {
  display: flex;
  gap: 10px;
}

.dots button {
  width: 42px;
  height: 3px;
  padding: 0;
  border: 0;
  background: rgba(255, 255, 255, 0.28);
}

.dots button.active {
  background: var(--gold-bright);
}

.page-hero {
  min-height: 430px;
  display: grid;
  place-items: center;
  padding: calc(var(--nav-height) + 80px) 24px 92px;
  text-align: center;
  background:
    linear-gradient(rgba(7, 9, 14, 0.56), rgba(7, 9, 14, 0.82)),
    var(--hero-image, url("../assets/images/hero-main.jpg")) center / cover;
}

.page-hero p {
  margin: 18px auto 0;
  max-width: 740px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}

.content-band {
  padding: 72px 7vw;
  background:
    linear-gradient(180deg, #101522, #090b10 62%, #050608),
    var(--night);
}

body[data-page="gallery"] .content-band {
  padding-left: 3vw;
  padding-right: 3vw;
}

.project-list {
  display: grid;
  gap: 0;
  max-width: 1280px;
  margin: 0 auto;
}

.project-banner {
  position: relative;
  min-height: 220px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: #18202c;
}

.project-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.project-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 69, 105, 0.72), rgba(36, 15, 34, 0.42));
  mix-blend-mode: multiply;
}

.project-banner:nth-child(2)::before {
  background: linear-gradient(90deg, rgba(134, 74, 44, 0.72), rgba(36, 15, 34, 0.48));
}

.project-banner:nth-child(3)::before {
  background: linear-gradient(90deg, rgba(69, 63, 116, 0.78), rgba(16, 18, 35, 0.6));
}

.project-banner:hover img {
  transform: scale(1.04);
}

.project-name {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 14px;
  font-size: 34px;
}

.project-name::before {
  content: "";
  width: 84px;
  height: 84px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  transform: rotate(45deg);
}

.project-name span {
  margin-top: -62px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
}

.cards-toolbar {
  max-width: 1680px;
  margin: 0 auto 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.catalog-search {
  position: relative;
  max-width: 1680px;
  margin: 0 auto 26px;
}

.search-field {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto auto;
  gap: 12px;
  align-items: center;
}

.search-field input {
  width: 100%;
  min-height: 48px;
  padding: 0 18px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.07);
  outline: none;
}

.search-field input:focus {
  border-color: var(--gold-bright);
  box-shadow: 0 0 0 3px rgba(216, 180, 106, 0.13);
}

.search-field button {
  min-height: 48px;
  padding: 0 24px;
}

.search-history {
  position: absolute;
  z-index: 12;
  top: calc(100% + 10px);
  left: 0;
  width: min(560px, 100%);
  display: none;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(13, 17, 26, 0.96);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.search-history.open {
  display: block;
}

.catalog-pagination {
  max-width: 1680px;
  margin: 0 auto 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.catalog-pagination.is-hidden {
  display: none;
}

.catalog-pagination button {
  min-width: 42px;
  min-height: 40px;
  padding: 0 14px;
}

.catalog-pagination button.active {
  border-color: var(--gold-bright);
  background: rgba(216, 180, 106, 0.26);
}

.catalog-pagination button:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.catalog-pagination button:disabled:hover {
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.08);
}

.history-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
}

.history-title button,
.history-list button {
  border: 0;
  color: rgba(255, 255, 255, 0.72);
  background: transparent;
  cursor: pointer;
}

.history-title button:hover,
.history-list button:hover {
  color: var(--gold-bright);
}

.history-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.history-list button {
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.filter-bar button {
  min-height: 42px;
  padding: 0 22px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
}

.filter-bar button.active {
  border-color: var(--gold-bright);
  background: rgba(216, 180, 106, 0.24);
  color: #fff;
}

.catalog-count {
  color: rgba(255, 255, 255, 0.58);
  font-size: 14px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 12px 12px;
}

.card-sections {
  max-width: 1680px;
  margin: 0 auto;
  display: grid;
  gap: 34px;
}

.catalog-bottom-controls {
  max-width: 1680px;
  margin: 44px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.catalog-bottom-controls .catalog-pagination {
  margin: 0;
}

.back-top {
  min-height: 42px;
  padding: 0 18px;
  white-space: nowrap;
}

.card-slot {
  padding-top: 4px;
}

.slot-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.slot-heading h2 {
  margin: 0;
  color: var(--gold-bright);
  font-size: clamp(28px, 3.2vw, 48px);
  font-weight: 500;
}

.slot-heading span {
  color: rgba(255, 255, 255, 0.52);
  font-size: 14px;
}

.card-item {
  display: grid;
  grid-template-rows: auto auto;
  align-self: start;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.card-item.has-image.portrait {
  grid-column: span 2;
}

.card-item.landscape {
  grid-column: span 4;
}

.card-art {
  height: 300px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  overflow: hidden;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.card-item.is-placeholder .card-art {
  height: 190px;
  min-height: 190px;
  padding: 10px;
  background:
    linear-gradient(135deg, rgba(216, 180, 106, 0.18), rgba(66, 183, 213, 0.08)),
    rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
}

.card-art img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 16px 30px rgba(0, 0, 0, 0.34));
  transition: transform 0.3s ease;
}

.card-placeholder.portrait {
  aspect-ratio: 0.72 / 1;
}

.card-placeholder.landscape {
  aspect-ratio: 1.42 / 1;
}

.card-item:hover .card-art img {
  transform: scale(1.045);
}

.card-placeholder {
  width: 100%;
  height: 100%;
  min-height: 180px;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.62);
  font-size: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.empty-state {
  padding: 74px 24px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
}

.empty-state h2 {
  margin: 0;
  font-size: 32px;
  font-weight: 500;
}

.empty-state p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.58);
}

.card-meta {
  display: block;
  min-height: 54px;
  padding: 6px 2px 0;
}

.card-item.has-image .card-meta {
  padding-left: 9px;
}

.card-meta span {
  display: block;
  color: rgba(255, 255, 255, 0.58);
  font-size: 14px;
  line-height: 1.55;
}

.pager {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 42px;
}

.pager button {
  min-width: 42px;
  height: 42px;
}

.pager button.active {
  border-color: var(--gold-bright);
  background: rgba(216, 180, 106, 0.24);
}

.modal {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 82px 28px 28px;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(14px);
}

.modal.open {
  display: flex;
}

.modal-panel {
  width: min(1080px, 100%);
  max-height: calc(100vh - 110px);
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(320px, 0.62fr);
  gap: 34px;
  padding: 28px;
  background: linear-gradient(145deg, rgba(20, 24, 34, 0.98), rgba(8, 10, 15, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.18);
  overflow: auto;
}

.modal.landscape .modal-panel {
  width: min(1480px, 100%);
  grid-template-columns: minmax(720px, 1fr) minmax(260px, 0.34fr);
}

.modal-art {
  height: min(74vh, 760px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
}

.modal-art img {
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
}

.modal-info h2 {
  margin: 0 0 18px;
  font-weight: 500;
  font-size: 34px;
}

.modal-info dl {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 14px 20px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.modal-info dt {
  color: var(--gold-bright);
}

.modal-close {
  position: fixed;
  top: 22px;
  right: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 28px;
  line-height: 1;
}

.world-section {
  min-height: 100vh;
  position: relative;
  display: grid;
  place-items: center;
  padding: calc(var(--nav-height) + 46px) 8vw 70px;
  background: #09101a;
  overflow: hidden;
}

.world-section img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0.92;
}

.world-invitation {
  padding: 0;
  background: #ead39e;
}

.world-section.world-invitation::after {
  background:
    radial-gradient(circle at 50% 44%, rgba(35, 20, 10, 0.06), rgba(35, 20, 10, 0.2) 58%, rgba(29, 16, 8, 0.42)),
    linear-gradient(180deg, rgba(24, 14, 8, 0.12), rgba(24, 14, 8, 0.3));
}

.world-invitation .world-invitation-background {
  object-position: center;
  opacity: 1;
  transform: scale(1.015);
}

.world-invitation-stage {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 3.5vh 3vw 7vh;
}

.world-invitation-scroll {
  position: relative;
  width: min(1440px, 94vw, calc(88vh * 16 / 9));
  aspect-ratio: 16 / 9;
  opacity: 0;
  clip-path: inset(0 49.7% 0 49.7%);
  filter: drop-shadow(0 24px 28px rgba(73, 34, 13, 0.25));
  transform: scale(0.985);
  transform-origin: center;
  transition:
    clip-path 2s cubic-bezier(0.2, 0.78, 0.2, 1),
    opacity 0.16s ease,
    transform 2s cubic-bezier(0.2, 0.78, 0.2, 1),
    filter 0.5s ease;
}

.world-invitation.is-open .world-invitation-scroll {
  opacity: 1;
  clip-path: inset(0);
  transform: scale(1);
}

.world-invitation-scroll > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 1;
}

.world-invitation-copy {
  position: absolute;
  z-index: 1;
  top: 23.7%;
  right: 12.2%;
  bottom: 22.5%;
  left: 12.2%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #4d2b22;
  text-align: center;
  opacity: 1;
}

.world-invitation-copy h1,
.world-invitation-copy p {
  opacity: 0;
  filter: blur(4px);
  transform: translateY(12px);
}

.world-invitation-copy h1 {
  position: relative;
  width: fit-content;
  margin: 0 auto 16px;
  color: #6f241b;
  font-family: "STKaiti", "Kaiti SC", "KaiTi", "Songti SC", serif;
  font-size: clamp(32px, 2.8vw, 48px);
  font-weight: 700;
  letter-spacing: 0.22em;
  line-height: 1.08;
  text-align: center;
  text-shadow: 0 1px 0 rgba(255, 250, 229, 0.72), 0 4px 12px rgba(90, 37, 24, 0.14);
}

.world-invitation-copy h1::before,
.world-invitation-copy h1::after {
  position: absolute;
  top: 52%;
  width: clamp(36px, 4.5vw, 76px);
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(130, 62, 39, 0.58));
}

.world-invitation-copy h1::before {
  right: calc(100% + 18px);
}

.world-invitation-copy h1::after {
  left: calc(100% + 18px);
  transform: scaleX(-1);
}

.world-invitation-copy p {
  max-width: 1120px;
  margin: 5px auto;
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  font-size: clamp(13px, 1vw, 16px);
  font-weight: 500;
  line-height: 1.72;
  letter-spacing: 0.035em;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.48);
}

.world-invitation-copy .world-invitation-lead {
  margin-bottom: 8px;
  color: #43241d;
  font-size: clamp(14px, 1.1vw, 18px);
  font-weight: 700;
}

.world-invitation-copy .world-invitation-term {
  color: #7c291f;
  font-weight: 700;
}

.world-invitation-copy .world-invitation-closing {
  margin-top: 10px;
  color: #64261e;
  font-weight: 700;
}

.world-invitation.is-open .world-invitation-copy h1 {
  animation: invitationLineReveal 0.78s 2.02s cubic-bezier(0.2, 0.72, 0.2, 1) forwards;
}

.world-invitation.is-open .world-invitation-copy p:nth-of-type(1) {
  animation: invitationLineReveal 0.72s 2.48s ease-out forwards;
}

.world-invitation.is-open .world-invitation-copy p:nth-of-type(2) {
  animation: invitationLineReveal 0.72s 2.9s ease-out forwards;
}

.world-invitation.is-open .world-invitation-copy p:nth-of-type(3) {
  animation: invitationLineReveal 0.72s 3.32s ease-out forwards;
}

.world-invitation.is-open .world-invitation-copy p:nth-of-type(4) {
  animation: invitationLineReveal 0.72s 3.74s ease-out forwards;
}

.world-invitation.is-open .world-invitation-copy p:nth-of-type(5) {
  animation: invitationLineReveal 0.82s 4.16s ease-out forwards;
}

@keyframes invitationLineReveal {
  0% {
    opacity: 0;
    filter: blur(4px);
    transform: translateY(12px);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

.world-invitation-next {
  position: absolute;
  left: 50%;
  bottom: 5vh;
  width: 64px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  color: rgba(91, 44, 28, 0.68);
  background: transparent;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -6px);
  transition: opacity 0.55s 4.9s ease, transform 0.55s 4.9s ease, color 0.25s ease;
}

.world-invitation.is-open .world-invitation-next {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.world-invitation-next:hover,
.world-invitation-next:focus-visible {
  color: #8f2e22;
  outline: none;
}

#overview img {
  object-position: 50% 50%;
}

#overview.world-gate img {
  opacity: 0.9;
  transform: scale(1.018);
  animation: worldGateBackdrop 18s ease-in-out infinite alternate;
}

#sishu img {
  object-position: 50% 50%;
  transform: translateX(calc(-0.6% - 2px)) scale(1.012);
  transform-origin: center;
}

#sishu .world-copy {
  justify-self: center;
  margin-inline: auto;
}

#sishu .world-copy .kicker {
  text-indent: 0.28em;
}

@media (min-width: 821px) {
  #sishu .world-copy {
    width: min(1040px, calc(100vw - 180px));
  }

  #sishu .world-copy > p:not(.kicker) {
    max-width: 1000px;
    font-size: clamp(14px, 1.05vw, 17px);
  }
}

@media (min-width: 1100px) {
  #sishu .sishu-intro {
    max-width: none;
  }

  #sishu .sishu-intro span {
    display: block;
    white-space: nowrap;
  }
}

#wenshen img {
  object-position: 50% 34%;
  transform: scale(1.07);
  transform-origin: center;
}

#summon-card img {
  object-position: 50% 20%;
}

#tiangong img {
  object-position: 50% 50%;
  transform: scale(1.07);
  transform-origin: center;
  filter: contrast(1.08);
}

#wanxiangtian img {
  object-position: 70% 34%;
  transform: scale(1.055);
  transform-origin: center;
}

#meme-god img {
  object-position: 50% 48%;
  transform: scale(1.025);
  transform-origin: center;
}

#wenmo-fragment img {
  object-position: 54% 44%;
  transform: scale(1.015);
  transform-origin: center;
}

#seven-sins > picture {
  position: absolute;
  inset: 0;
  display: block;
}

#seven-sins img {
  object-position: 50% 50%;
}

.seven-sins-mobile-split {
  display: none;
}

#darkside img {
  object-position: 50% 50%;
}

.world-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 44%, rgba(5, 8, 13, 0.08), rgba(5, 8, 13, 0.28) 58%, rgba(5, 8, 13, 0.54)),
    linear-gradient(180deg, rgba(5, 8, 13, 0.14), rgba(5, 8, 13, 0.36));
}

.world-copy {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  text-align: center;
}

.world-copy .emblem {
  width: 92px;
  height: 90px;
  margin: 0 auto 18px;
  background: url("../assets/images/wanxiang-fawen.png") center / contain no-repeat;
  opacity: 0.82;
  filter: drop-shadow(0 0 16px rgba(255, 255, 255, 0.28));
}

.world-copy h2 {
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.5);
}

.world-copy > p:not(.kicker) {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.world-section:not(#invitation):not(#overview) .world-copy > p:not(.kicker) {
  color: rgba(255, 250, 242, 0.86);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.76);
}

.world-copy .kicker {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0 auto 8px;
  text-align: center;
}

.world-gate::after {
  background:
    radial-gradient(circle at 50% 42%, rgba(18, 29, 36, 0.18) 0, rgba(5, 8, 13, 0.48) 50%, rgba(3, 5, 9, 0.78) 100%),
    linear-gradient(180deg, rgba(2, 4, 7, 0.42), rgba(3, 5, 9, 0.7));
}

.world-gate-copy {
  width: min(1040px, 100%);
}

.world-gate-seal {
  position: relative;
  width: 176px;
  height: 176px;
  margin: 0 auto 24px;
  opacity: 0;
  transform: translateZ(0) scale(0.76);
  animation: worldGateSealArrive 1.35s 0.18s cubic-bezier(0.2, 0.72, 0.18, 1) forwards;
  transition:
    transform 1.05s cubic-bezier(0.2, 0.82, 0.16, 1),
    opacity 0.78s ease;
}

.world-gate-armillary {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  width: 260px;
  height: 260px;
  opacity: 0;
  pointer-events: none;
  filter:
    drop-shadow(0 0 4px rgba(255, 244, 208, 0.16))
    drop-shadow(0 0 14px rgba(164, 210, 240, 0.08));
  transform: translate(-50%, -50%) scale(0.88);
  transition:
    opacity 0.72s ease,
    transform 1.18s cubic-bezier(0.2, 0.82, 0.16, 1);
}

.world-gate-seal.armillary-webgl .world-gate-armillary {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.world-gate-seal.armillary-webgl .world-gate-orbit {
  opacity: 0;
  animation: none;
  transition: opacity 0.36s ease;
}

.world-gate-core {
  position: absolute;
  z-index: 2;
  inset: 17px;
  background: url("../assets/images/wanxiang-fawen.png") center / contain no-repeat;
  filter:
    drop-shadow(0 0 10px rgba(255, 247, 215, 0.56))
    drop-shadow(0 0 34px rgba(242, 214, 141, 0.26));
  animation:
    worldGateCoreSpin 54s linear infinite,
    worldGateCoreBreath 4.8s ease-in-out infinite;
  transition:
    opacity 0.42s ease,
    visibility 0.42s ease;
}

.world-gate-seal.armillary-core-ready .world-gate-core {
  opacity: 0;
  visibility: hidden;
  animation: none;
}

.world-gate-orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(242, 214, 141, 0.28);
  border-radius: 50%;
  box-shadow:
    inset 0 0 24px rgba(242, 214, 141, 0.08),
    0 0 32px rgba(173, 211, 237, 0.08);
  pointer-events: none;
}

.world-gate-orbit::before,
.world-gate-orbit::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 245, 210, 0.86);
  box-shadow: 0 0 16px rgba(242, 214, 141, 0.82);
}

.world-gate-orbit::before {
  left: -4px;
}

.world-gate-orbit::after {
  right: -4px;
}

.world-gate-orbit.orbit-outer {
  width: 226px;
  height: 226px;
  border-style: dashed;
  transform: translate(-50%, -50%);
  animation: worldGateOrbit 42s linear infinite;
}

.world-gate-orbit.orbit-inner {
  width: 194px;
  height: 194px;
  transform: translate(-50%, -50%);
  animation: worldGateOrbitReverse 31s linear infinite;
}

.world-gate-copy h2,
.world-gate-copy > p,
.world-overview-intro {
  opacity: 0;
  transform: translateY(18px);
  animation: worldGateCopyArrive 0.95s ease forwards;
}

.world-gate-copy h2 {
  font-size: clamp(44px, 5vw, 72px);
  letter-spacing: 0.08em;
  animation-delay: 0.72s;
}

.world-gate-copy > p {
  max-width: 900px;
  margin-top: 20px;
  color: rgba(255, 250, 242, 0.86);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.74);
  text-wrap: pretty;
  animation-delay: 0.98s;
}

.world-overview-intro {
  width: min(960px, 100%);
  margin: 16px auto 0;
  color: rgba(255, 251, 244, 0.9);
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  font-size: clamp(13px, 0.96vw, 15px);
  line-height: 1.68;
  letter-spacing: 0.025em;
  text-align: center;
  text-shadow:
    0 2px 5px rgba(0, 0, 0, 0.88),
    0 0 18px rgba(0, 0, 0, 0.52);
  animation-delay: 0.98s;
}

.world-overview-intro p {
  margin: 5px auto;
}

.world-overview-intro .world-overview-lead {
  margin-bottom: 8px;
  color: #fff9e9;
  font-size: clamp(14px, 1.08vw, 17px);
  font-weight: 700;
}

.world-overview-intro .world-overview-story {
  position: relative;
  margin-top: 13px;
  padding-top: 13px;
  color: rgba(255, 248, 232, 0.84);
}

.world-overview-intro .world-overview-story::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: 92px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(242, 214, 141, 0.7), transparent);
  transform: translateX(-50%);
}

@media (min-width: 821px) and (max-height: 820px) {
  #overview.world-gate {
    padding-top: 22px;
    padding-bottom: 16px;
  }

  #overview .world-gate-seal {
    width: 106px;
    height: 106px;
    margin-bottom: 10px;
  }

  #overview .world-gate-armillary {
    width: 172px;
    height: 172px;
  }

  #overview .world-gate-core {
    inset: 10px;
  }

  #overview .world-gate-orbit.orbit-outer {
    width: 150px;
    height: 150px;
  }

  #overview .world-gate-orbit.orbit-inner {
    width: 128px;
    height: 128px;
  }

  #overview .world-gate-copy h2 {
    font-size: 48px;
    line-height: 1.08;
  }

  .world-overview-intro {
    width: min(940px, 100%);
    margin-top: 9px;
    font-size: 12px;
    line-height: 1.45;
  }

  .world-overview-intro p {
    margin: 2px auto;
  }

  .world-overview-intro .world-overview-lead {
    margin-bottom: 4px;
    font-size: 13px;
  }

  .world-overview-intro .world-overview-story {
    margin-top: 7px;
    padding-top: 8px;
  }

  #overview .world-gate-explore {
    margin-top: 14px;
  }
}

.world-gate-explore {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 7px;
  width: 156px;
  margin: 68px auto 0;
  padding: 4px 14px 0;
  border: 0;
  color: rgba(255, 250, 242, 0.82);
  background: transparent;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  cursor: pointer;
  transition:
    opacity 0.72s ease,
    transform 0.72s ease,
    color 0.28s ease,
    text-shadow 0.28s ease;
}

.world-gate.explore-ready .world-gate-explore {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.world-gate-explore-label {
  padding-left: 0.22em;
  font-size: 14px;
  letter-spacing: 0.22em;
}

.world-gate-chevrons {
  display: grid;
  justify-items: center;
  height: 25px;
}

.world-gate-chevrons i {
  width: 13px;
  height: 13px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  opacity: 0.48;
  filter: drop-shadow(0 0 6px rgba(255, 250, 242, 0.34));
  transform: rotate(45deg) translate(-2px, -2px);
  animation: worldGateChevron 1.8s ease-in-out infinite;
}

.world-gate-chevrons i + i {
  margin-top: -7px;
  animation-delay: 0.22s;
}

.world-gate-explore:hover,
.world-gate-explore:focus-visible {
  color: var(--gold-bright);
  text-shadow: 0 0 18px rgba(242, 214, 141, 0.42);
  outline: none;
}

.world-section-next {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 60px;
  display: grid;
  place-items: center;
  width: 64px;
  height: 46px;
  padding: 0;
  border: 0;
  color: rgba(255, 250, 242, 0.74);
  background: transparent;
  cursor: pointer;
  transform: translateX(-50%);
  transition:
    color 0.28s ease,
    transform 0.28s ease,
    filter 0.28s ease;
}

.world-section-next:hover,
.world-section-next:focus-visible {
  color: var(--gold-bright);
  filter: drop-shadow(0 0 10px rgba(242, 214, 141, 0.34));
  transform: translate(-50%, 3px);
  outline: none;
}

@keyframes worldGateBackdrop {
  from {
    transform: scale(1.025);
  }

  to {
    transform: scale(1.065);
  }
}

@keyframes worldGateSealArrive {
  0% {
    opacity: 0;
    transform: scale(0.76);
    filter: blur(8px);
  }

  60% {
    opacity: 1;
  }

  100% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
}

@keyframes worldGateCoreSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes worldGateCoreBreath {
  0%,
  100% {
    opacity: 0.78;
  }

  50% {
    opacity: 1;
  }
}

@keyframes worldGateOrbit {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes worldGateOrbitReverse {
  to {
    transform: translate(-50%, -50%) rotate(-360deg);
  }
}

@keyframes worldGateCopyArrive {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes worldGateChevron {
  0%,
  100% {
    opacity: 0.44;
    transform: rotate(45deg) translate(-3px, -3px);
  }

  45% {
    opacity: 0.92;
  }

  72% {
    opacity: 0.44;
    transform: rotate(45deg) translate(2px, 2px);
  }
}

.world-detail-button {
  position: relative;
  display: grid;
  place-items: center;
  width: 136px;
  height: 34px;
  margin: 22px auto 0;
  padding: 0 16px;
  border: 1px solid rgba(255, 250, 242, 0.52);
  border-radius: 999px;
  color: rgba(255, 250, 242, 0.92);
  font-size: 15px;
  line-height: 1;
  background: rgba(8, 13, 20, 0.2);
  cursor: pointer;
  transition:
    border-color 0.28s ease,
    background 0.28s ease,
    color 0.28s ease,
    transform 0.28s ease;
}

.world-detail-button::before,
.world-detail-button::after {
  content: "";
  position: absolute;
  inset: -1px;
  border: 1px solid rgba(242, 214, 141, 0.54);
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  animation: detailButtonEcho 2.8s ease-out infinite;
}

.world-detail-button::after {
  animation-delay: 1.4s;
}

.world-detail-button:hover,
.world-detail-button:focus-visible {
  color: #fff;
  border-color: rgba(242, 214, 141, 0.72);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-2px);
  outline: none;
}

@keyframes detailButtonEcho {
  0%,
  100% {
    opacity: 0;
    transform: scale(1);
  }

  18% {
    opacity: 0.7;
  }

  58% {
    opacity: 0;
    transform: scale(1.18, 1.42);
  }
}

.world-archive {
  position: fixed;
  z-index: 90;
  inset: 0;
  display: grid;
  place-items: center;
  padding: calc(var(--nav-height) + 30px) 24px 34px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.world-archive.open {
  opacity: 1;
  pointer-events: auto;
}

.world-archive-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background:
    radial-gradient(circle at 50% 42%, rgba(28, 42, 58, 0.22), transparent 46%),
    rgba(0, 0, 0, 0.58);
  cursor: default;
}

.world-archive-shell {
  position: relative;
  z-index: 1;
  width: min(820px, 100%);
  max-height: calc(100vh - var(--nav-height) - 82px);
}

.world-archive-panel {
  position: relative;
  width: 100%;
  max-height: inherit;
  padding: 28px 34px 34px;
  overflow-y: auto;
  color: var(--white);
  background: rgba(10, 17, 25, 0.18);
  border: 1px solid rgba(255, 250, 242, 0.18);
  box-shadow: 0 30px 120px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(2px);
  scrollbar-width: none;
}

.world-archive-panel::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.world-archive-scrollbar {
  position: absolute;
  z-index: 4;
  top: 12px;
  right: 5px;
  bottom: 12px;
  display: flex;
  width: 12px;
  flex-direction: column;
  align-items: center;
  opacity: 1;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.world-archive-scrollbar.is-hidden {
  opacity: 0;
}

.world-archive-scroll-star {
  display: block;
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  filter: drop-shadow(0 0 3px rgba(231, 189, 96, 0.28));
}

.world-archive-scroll-star.is-top {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M7 .6C7.8 4.4 9.6 6.2 13.4 7C9.6 7.8 7.8 9.6 7 13.4C6.2 9.6 4.4 7.8.6 7C4.4 6.2 6.2 4.4 7 .6Z' fill='%23e7bd60' stroke='%23fff1bd' stroke-width='.65'/%3E%3Cpath d='M7 3.2L7.85 6.15L10.8 7L7.85 7.85L7 10.8L6.15 7.85L3.2 7L6.15 6.15Z' fill='%23bfe4e7' opacity='.9'/%3E%3C/svg%3E");
}

.world-archive-scroll-star.is-bottom {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M7 .6C7.8 4.4 9.6 6.2 13.4 7C9.6 7.8 7.8 9.6 7 13.4C6.2 9.6 4.4 7.8.6 7C4.4 6.2 6.2 4.4 7 .6Z' fill='%23bfe4e7' stroke='%23f3d487' stroke-width='.7'/%3E%3Cpath d='M7 3.2L7.85 6.15L10.8 7L7.85 7.85L7 10.8L6.15 7.85L3.2 7L6.15 6.15Z' fill='%23e7bd60' opacity='.88'/%3E%3C/svg%3E");
}

.world-archive-scroll-track {
  position: relative;
  width: 6px;
  min-height: 42px;
  flex: 1 1 auto;
  margin: 3px 0;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  background: rgba(76, 82, 90, 0.4);
  box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.28);
  pointer-events: auto;
}

.world-archive-scroll-thumb {
  position: absolute;
  top: 0;
  left: 50%;
  display: block;
  width: 6px;
  min-height: 42px;
  border: 1px solid rgba(239, 218, 163, 0.48);
  border-radius: 999px;
  outline: 0;
  background:
    radial-gradient(circle at 50% 24%, rgba(255, 244, 208, 0.8) 0 0.7px, transparent 1.15px),
    radial-gradient(circle at 50% 50%, rgba(191, 228, 231, 0.82) 0 0.8px, transparent 1.25px),
    radial-gradient(circle at 50% 76%, rgba(255, 238, 190, 0.72) 0 0.7px, transparent 1.15px),
    linear-gradient(180deg, rgba(196, 170, 107, 0.88), rgba(126, 163, 160, 0.78) 50%, rgba(198, 171, 108, 0.86));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 5px rgba(224, 202, 145, 0.18);
  transform: translateX(-50%);
  cursor: grab;
  pointer-events: auto;
  touch-action: none;
}

.world-archive-scroll-thumb:hover,
.world-archive-scroll-thumb:focus-visible {
  border-color: rgba(246, 224, 166, 0.72);
  filter: brightness(1.12);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.12),
    0 0 7px rgba(224, 202, 145, 0.26);
}

.world-archive-scroll-thumb.is-dragging {
  cursor: grabbing;
}

.world-archive-close {
  position: absolute;
  z-index: 2;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 250, 242, 0.24);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0;
  cursor: pointer;
}

.world-archive-close::before,
.world-archive-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 1.5px;
  border-radius: 999px;
  background: currentColor;
  transform-origin: center;
}

.world-archive-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.world-archive-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.world-archive-bottom-actions {
  display: none;
}

.world-archive-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding-right: 58px;
}

.world-archive-head .kicker {
  margin: 0;
  color: var(--gold-bright);
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: 0.22em;
}

.world-archive-head h2 {
  margin: 0 0 0 -0.06em;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 500;
  line-height: 1.08;
}

.world-archive-body {
  position: relative;
  z-index: 1;
  margin-top: 28px;
}

.world-archive-text {
  width: min(680px, 100%);
  margin: 0 auto;
}

.world-archive-text p {
  margin: 0 auto;
  color: rgba(255, 250, 242, 0.86);
  font-size: 17px;
  line-height: 2;
  text-align: center;
}

.world-archive-text.has-detail p {
  text-align: left;
}

.world-archive-text.is-rich {
  width: min(840px, 100%);
}

.world-archive-text.is-story {
  width: min(1040px, 100%);
}

.world-archive-text.is-rich > p {
  text-align: center;
}

.world-archive-text p + p {
  margin-top: 18px;
}

.world-archive-lede {
  max-width: 720px;
  padding-bottom: 30px;
}

.world-story {
  display: grid;
  gap: 34px;
}

.world-story-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 36px 0;
  border-top: 0;
}

.world-story-block:first-child {
  padding-top: 4px;
  border-top: 0;
}

.world-archive[data-archive-id="wenshen"] .world-story-media-grid {
  grid-template-columns: minmax(0, 1fr);
}

.world-archive[data-archive-id="wenshen"] .world-story-media-grid.has-featured .world-story-media:first-child {
  grid-column: auto;
}

.world-archive[data-archive-id="wenshen"] .wenshen-showcase {
  width: 100%;
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.world-archive[data-archive-id="wenshen"] .wenshen-portrait-grid {
  margin-top: 0;
}

.world-story-copy p {
  color: rgba(255, 250, 242, 0.88);
  font-size: 16px;
  line-height: 2;
  text-align: left;
}

.world-story-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 16px;
  color: rgba(255, 250, 242, 0.96);
  font-size: clamp(21px, 2.1vw, 27px);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.08em;
}

.world-story-title::before {
  content: "";
  width: 28px;
  height: 1px;
  flex: 0 0 auto;
  background: linear-gradient(90deg, var(--gold-bright), rgba(242, 214, 141, 0.1));
  box-shadow: 0 0 10px rgba(242, 214, 141, 0.18);
}

.world-story-copy p + p {
  margin-top: 18px;
}

.world-story-media {
  position: relative;
  order: 2;
  margin: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, rgba(34, 67, 82, 0.2), transparent 66%),
    rgba(5, 10, 15, 0.7);
  border: 1px solid rgba(192, 221, 228, 0.2);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.22);
}

.world-story-media::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(242, 214, 141, 0.12);
  pointer-events: none;
}

.world-story-media img {
  display: block;
  width: 100%;
  height: auto;
  filter: none;
  mix-blend-mode: normal;
  opacity: 1;
}

.world-story-media.is-expandable {
  cursor: zoom-in;
}

.world-story-media.is-expandable:focus-visible {
  outline: 2px solid rgba(242, 214, 141, 0.8);
  outline-offset: 5px;
}

.world-story-media-tiangong-background img {
  width: 100%;
  aspect-ratio: 2400 / 1103;
  object-fit: cover;
}

.world-archive[data-archive-id="tiangong"] .world-story-media-tiangong-background {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.world-archive[data-archive-id="tiangong"] .world-story-media-tiangong-background::after {
  content: none;
}

.world-image-viewer {
  position: fixed;
  z-index: 220;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(24px, 5vw, 72px);
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.world-image-viewer.open {
  visibility: visible;
  opacity: 1;
}

.world-image-viewer-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(2, 5, 9, 0.9);
  cursor: zoom-out;
}

.world-image-viewer-dialog {
  position: relative;
  z-index: 1;
  width: min(1500px, 94vw);
  max-height: 90vh;
}

.world-image-viewer-dialog img {
  display: block;
  width: 100%;
  max-height: 88vh;
  object-fit: contain;
  filter: none;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
}

.world-image-viewer-close {
  position: absolute;
  z-index: 2;
  top: 10px;
  right: 10px;
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  color: #fffaf2;
  font-size: 32px;
  font-weight: 200;
  line-height: 1;
  border: 1px solid rgba(255, 250, 242, 0.42);
  background: rgba(5, 10, 15, 0.7);
  cursor: pointer;
}

.world-story-caption {
  padding: 12px 18px 14px;
  color: rgba(255, 250, 242, 0.68);
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  font-size: 13px;
  line-height: 1.7;
  text-align: center;
}

.world-story-media-portrait {
  width: min(520px, 76%);
  justify-self: center;
}

.world-story-media-fragment-small {
  width: min(256px, 38%);
  justify-self: center;
  overflow: visible;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.world-story-media-fragment-small::after {
  content: none;
}

.world-archive[data-archive-id="wenmo-fragment"] .world-story {
  gap: 0;
}

.world-archive[data-archive-id="wenmo-fragment"] .world-story-block:first-child {
  padding-bottom: 10px;
}

.world-archive[data-archive-id="wenmo-fragment"] .world-story-block.fragment-split {
  grid-template-columns: minmax(0, 1fr) minmax(180px, 0.36fr);
  gap: clamp(28px, 4vw, 58px);
  padding-top: 10px;
}

.world-archive[data-archive-id="wenmo-fragment"] .fragment-split .world-story-copy {
  grid-column: 1;
  grid-row: 1;
}

.world-archive[data-archive-id="wenmo-fragment"] .fragment-split .world-story-media-fragment-small {
  grid-column: 2;
  grid-row: 1;
  width: min(256px, 100%);
  justify-self: center;
}

.world-story-media-sishu-credential {
  width: min(620px, 84%);
  justify-self: center;
  overflow: visible;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.world-story-media-sishu-background {
  width: 100%;
  justify-self: center;
  overflow: hidden;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.world-story-media-sishu-background::after {
  content: none;
}

.world-story-media-sishu-background img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.world-archive[data-archive-id="sishu"] .world-story {
  gap: 8px;
}

.world-archive[data-archive-id="sishu"] .world-story-block:first-child {
  gap: 12px;
  padding-bottom: 8px;
}

.world-archive[data-archive-id="sishu"] .world-story-block:nth-child(2) {
  padding-top: 8px;
}

.world-archive[data-archive-id="quanli"] .world-story {
  gap: 10px;
}

.world-archive[data-archive-id="quanli"] .world-story-block {
  gap: 16px;
  padding: 20px 0;
}

.world-archive[data-archive-id="quanli"] .world-story-block:first-child {
  padding-top: 4px;
}

.world-archive[data-archive-id="quanli"] .world-story-block.is-text-only {
  padding: 12px 0;
}

.world-story-media-sishu-line-art {
  width: 100%;
  justify-self: center;
  overflow: visible;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.world-story-media-sishu-credential::after,
.world-story-media-sishu-line-art::after {
  content: none;
}

.world-story-media-sishu-credential img,
.world-story-media-sishu-line-art img {
  object-fit: contain;
}

.world-story-media-sishu-line-art img {
  opacity: 1;
  filter:
    brightness(0) saturate(100%)
    invert(88%) sepia(28%) saturate(737%)
    hue-rotate(347deg) brightness(104%) contrast(96%)
    drop-shadow(0 0 1px rgba(255, 231, 168, 0.92))
    drop-shadow(0 0 6px rgba(222, 178, 91, 0.26));
}

.world-story-media-line-map {
  padding: clamp(22px, 3vw, 42px);
  background:
    radial-gradient(circle at 50% 47%, rgba(66, 100, 113, 0.24), transparent 68%),
    linear-gradient(145deg, rgba(20, 31, 39, 0.96), rgba(5, 11, 17, 0.98));
  border-color: rgba(213, 231, 231, 0.22);
}

.world-story-media-line-map::after {
  border-color: rgba(239, 216, 155, 0.16);
}

.world-story-media-line-map img {
  filter:
    brightness(0.93)
    drop-shadow(0 0 1px rgba(255, 255, 255, 0.78))
    drop-shadow(0 0 7px rgba(180, 219, 226, 0.12));
}

.world-story-media-transparent-line-art {
  overflow: visible;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.world-story-media-transparent-line-art::after {
  content: none;
}

.world-story-media-transparent-line-art img {
  filter: none;
  mix-blend-mode: normal;
  opacity: 1;
}

.world-story-media-framed-no-backdrop {
  background: transparent;
}

.world-archive[data-archive-id="tiangong"] .world-story-media-line-map {
  padding: 0;
  overflow: visible;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.world-archive[data-archive-id="tiangong"] .world-story-media-line-map::after {
  content: none;
}

.world-story-media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.world-story-media-grid.has-featured .world-story-media:first-child {
  grid-column: 1 / -1;
}

.world-archive[data-archive-id="seven-sins"] .world-story-media-grid {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
}

.world-archive[data-archive-id="seven-sins"] .world-story-media {
  width: min(620px, 100%);
  justify-self: center;
}

.world-story-media-grid.darkside-gallery {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.7vw, 20px);
  align-items: start;
}

.world-story-media-grid.darkside-gallery .world-story-media:first-child {
  grid-column: 1 / -1;
}

.world-story-media-grid.darkside-gallery .world-story-media:first-child img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.world-story-media-grid.darkside-gallery .world-story-media:not(:first-child) {
  width: 100%;
}

.world-story-media-grid.darkside-gallery .world-story-media:not(:first-child) img {
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.world-story-block.media-left .world-story-copy {
  grid-column: 1;
  grid-row: auto;
}

.world-story-block.media-left .world-story-media {
  grid-column: 1;
  grid-row: auto;
}

.world-story-block.is-text-only {
  padding-top: 24px;
  padding-bottom: 24px;
}

.world-archive-entry {
  padding: 34px 0 8px;
  border-top: 1px solid rgba(242, 214, 141, 0.24);
}

.world-archive-entry + .world-archive-entry {
  margin-top: 34px;
}

.world-archive-entry-heading {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 14px;
  margin-bottom: 22px;
  color: var(--white);
}

.world-archive-entry-index {
  color: var(--gold-bright);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  letter-spacing: 0.18em;
}

.world-archive-entry h3 {
  margin: 0;
  font-size: clamp(23px, 3vw, 31px);
  font-weight: 500;
}

.world-archive-entry > p {
  max-width: 720px;
  color: rgba(255, 250, 242, 0.86);
  font-size: 17px;
  line-height: 2;
  text-align: left;
}

.world-archive-entry-image {
  display: block;
  width: 100%;
  margin-top: 26px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid rgba(255, 250, 242, 0.14);
}

.wenshen-showcase {
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid rgba(242, 214, 141, 0.18);
}

.wenshen-showcase-title {
  color: rgba(255, 250, 242, 0.6) !important;
  font-size: 13px !important;
  letter-spacing: 0.34em;
  text-align: center !important;
}

.wenshen-showcase-lead-image {
  display: block;
  width: min(100%, 720px);
  height: auto;
  margin: 0 auto 30px;
  object-fit: contain;
}

.wenshen-portrait-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.wenshen-portrait {
  position: relative;
  aspect-ratio: 2 / 3;
  margin: 0;
  overflow: hidden;
  background: #11141a;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.22);
}

.wenshen-showcase.full-figure .wenshen-portrait {
  aspect-ratio: 1 / 2.55;
}

.wenshen-portrait::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 8, 13, 0.56), transparent 44%),
    linear-gradient(0deg, rgba(5, 8, 13, 0.36), transparent 42%);
  pointer-events: none;
}

.wenshen-portrait.mask-top-label::before {
  background:
    linear-gradient(
      180deg,
      #11141a 0%,
      #11141a var(--portrait-mask-top, 12.6%),
      rgba(17, 20, 26, 0.94) var(--portrait-mask-top, 12.6%),
      rgba(17, 20, 26, 0) var(--portrait-mask-fade, 15.5%)
    ),
    linear-gradient(90deg, rgba(5, 8, 13, 0.56), transparent 44%),
    linear-gradient(0deg, rgba(5, 8, 13, 0.36), transparent 42%);
}

.wenshen-portrait::after {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 7px;
  border: 1px solid rgba(242, 214, 141, 0.26);
  pointer-events: none;
}

.wenshen-portrait-art {
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-size: 433% auto;
  transform: scale(1.015);
  transition: transform 0.45s ease;
}

.wenshen-portrait:hover .wenshen-portrait-art {
  transform: scale(1.045);
}

.wenshen-portrait figcaption {
  position: absolute;
  z-index: 2;
  left: 15px;
  bottom: 14px;
  padding-left: 8px;
  color: #fffaf2;
  border-left: 1px solid var(--gold-bright);
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  font-size: clamp(20px, 2vw, 25px);
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.88);
}

.wenshen-showcase.modern .wenshen-portrait::before {
  background:
    linear-gradient(90deg, rgba(5, 8, 13, 0.48), transparent 42%),
    linear-gradient(0deg, rgba(5, 8, 13, 0.28), transparent 46%);
}

.wenshen-showcase-caption {
  margin: 18px 0 0 !important;
  color: rgba(242, 214, 141, 0.82) !important;
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  font-size: 15px !important;
  letter-spacing: 0.24em;
  line-height: 1.5 !important;
  text-align: center !important;
}

.summon-card-spread {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(242, 214, 141, 0.18);
}

.summon-card-spread-title {
  color: rgba(255, 250, 242, 0.62) !important;
  font-size: 13px !important;
  letter-spacing: 0.34em;
  text-align: center !important;
}

.summon-card-stage {
  position: relative;
  width: min(780px, 100%);
  height: 440px;
  margin: 14px auto 0;
  isolation: isolate;
}

.summon-card-stage::before {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 6%;
  height: 34%;
  background: radial-gradient(
    ellipse at center,
    rgba(218, 170, 82, 0.18),
    rgba(139, 190, 205, 0.08) 42%,
    transparent 72%
  );
  filter: blur(12px);
  pointer-events: none;
}

.summon-card-item {
  position: absolute;
  bottom: 18px;
  width: auto;
  max-height: 390px;
  object-fit: contain;
  filter: drop-shadow(0 20px 24px rgba(0, 0, 0, 0.42));
  transform-origin: 50% 88%;
  transition:
    filter 0.4s ease,
    transform 0.4s ease;
}

.summon-card-item:hover {
  z-index: 8;
  filter:
    drop-shadow(0 24px 30px rgba(0, 0, 0, 0.48))
    drop-shadow(0 0 12px rgba(242, 214, 141, 0.2));
}

.summon-card-item-1 {
  z-index: 1;
  left: 1%;
  height: 330px;
  transform: translateY(-2px) rotate(-2deg);
}

.summon-card-item-1:hover {
  transform: translateY(-12px) rotate(-2deg) scale(1.025);
}

.summon-card-item-2 {
  z-index: 3;
  left: 19%;
  height: 375px;
  transform: translateY(4px) rotate(-1deg);
}

.summon-card-item-2:hover {
  transform: translateY(-8px) rotate(-1deg) scale(1.025);
}

.summon-card-item-3 {
  z-index: 5;
  left: 50%;
  height: 400px;
  transform: translateX(-50%);
}

.summon-card-item-3:hover {
  transform: translateX(-50%) translateY(-12px) scale(1.025);
}

.summon-card-item-4 {
  z-index: 3;
  right: 19%;
  height: 375px;
  transform: translateY(4px) rotate(1deg);
}

.summon-card-item-4:hover {
  transform: translateY(-8px) rotate(1deg) scale(1.025);
}

.summon-card-item-5 {
  z-index: 1;
  right: 1%;
  height: 330px;
  transform: translateY(-2px) rotate(2deg);
}

.summon-card-item-5:hover {
  transform: translateY(-12px) rotate(2deg) scale(1.025);
}

.summon-card-gallery {
  position: relative;
  width: min(820px, 100%);
  height: 410px;
  margin: 8px auto 0;
  padding: 28px 0 8px;
  isolation: isolate;
  background:
    radial-gradient(ellipse at 50% 88%, rgba(218, 170, 82, 0.12), transparent 62%);
}

.summon-card-gallery-item {
  position: absolute;
  bottom: 12px;
  display: block;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 16px 18px rgba(0, 0, 0, 0.34));
  transform-origin: 50% 92%;
  transition:
    transform 0.35s ease,
    filter 0.35s ease;
}

.summon-card-gallery-item.is-outer-left {
  z-index: 1;
  left: 2%;
  height: 300px;
  transform: translateY(-2px) rotate(-1.5deg);
}

.summon-card-gallery-item.is-inner-left {
  z-index: 3;
  left: 12.5%;
  height: 345px;
  transform: translateY(-14px) rotate(-1deg);
}

.summon-card-gallery-item.is-center {
  z-index: 5;
  left: 50%;
  height: 360px;
  transform: translateX(-50%);
}

.summon-card-gallery-item.is-inner-right {
  z-index: 3;
  right: 12.5%;
  height: 345px;
  transform: translateY(-14px) rotate(1deg);
}

.summon-card-gallery-item.is-outer-right {
  z-index: 1;
  right: 2%;
  height: 300px;
  transform: translateY(-2px) rotate(1.5deg);
}

.summon-card-gallery-item:hover {
  z-index: 8;
  filter:
    drop-shadow(0 20px 22px rgba(0, 0, 0, 0.42))
    drop-shadow(0 0 9px rgba(242, 214, 141, 0.16));
}

.summon-card-gallery-item.is-outer-left:hover {
  transform: translateY(-10px) rotate(-1.5deg) scale(1.02);
}

.summon-card-gallery-item.is-inner-left:hover {
  transform: translateY(-22px) rotate(-1deg) scale(1.02);
}

.summon-card-gallery-item.is-center:hover {
  transform: translateX(-50%) translateY(-9px) scale(1.02);
}

.summon-card-gallery-item.is-inner-right:hover {
  transform: translateY(-22px) rotate(1deg) scale(1.02);
}

.summon-card-gallery-item.is-outer-right:hover {
  transform: translateY(-10px) rotate(1.5deg) scale(1.02);
}

.world-archive-chibi-notes {
  position: relative;
  margin-top: 46px;
  padding: 38px clamp(18px, 4vw, 42px) 42px;
  overflow: hidden;
  border-top: 1px solid rgba(242, 214, 141, 0.26);
  border-bottom: 1px solid rgba(192, 221, 228, 0.16);
  background:
    radial-gradient(circle at 8% 19%, rgba(242, 214, 141, 0.55) 0 1px, transparent 1.6px),
    radial-gradient(circle at 92% 30%, rgba(191, 228, 231, 0.44) 0 1px, transparent 1.6px),
    radial-gradient(circle at 16% 81%, rgba(191, 228, 231, 0.34) 0 1px, transparent 1.6px),
    radial-gradient(circle at 85% 88%, rgba(242, 214, 141, 0.42) 0 1px, transparent 1.6px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0.005));
}

.world-archive-chibi-notes::before,
.world-archive-chibi-notes::after {
  content: "";
  position: absolute;
  top: 58px;
  width: clamp(42px, 10vw, 92px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(242, 214, 141, 0.38));
  pointer-events: none;
}

.world-archive-chibi-notes::before {
  left: 7%;
}

.world-archive-chibi-notes::after {
  right: 7%;
  transform: scaleX(-1);
}

.world-archive-chibi-title {
  position: relative;
  color: rgba(255, 250, 242, 0.76);
  font-size: 14px !important;
  letter-spacing: 0.3em;
  text-align: center !important;
  text-shadow: 0 0 14px rgba(242, 214, 141, 0.16);
}

.world-archive-chibi-title::before,
.world-archive-chibi-title::after {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin: 0 14px 2px 10px;
  border: 1px solid rgba(242, 214, 141, 0.65);
  transform: rotate(45deg);
  box-shadow: 0 0 8px rgba(242, 214, 141, 0.24);
}

.world-archive-chibi-title::after {
  margin-right: 10px;
  margin-left: 14px;
}

.world-archive-chibi-list {
  display: grid;
  grid-template-columns: repeat(3, 148px);
  justify-content: center;
  gap: 30px 42px;
  margin-top: 32px;
}

.world-archive-chibi {
  position: relative;
  width: 148px;
  margin: 0;
}

.world-archive-chibi::before,
.world-archive-chibi::after {
  content: "";
  position: absolute;
  z-index: 2;
  width: 9px;
  height: 9px;
  border: 1px solid rgba(242, 214, 141, 0.52);
  background: rgba(10, 17, 25, 0.76);
  transform: rotate(45deg);
  pointer-events: none;
}

.world-archive-chibi::before {
  top: 7px;
  left: 7px;
}

.world-archive-chibi::after {
  right: 7px;
  bottom: 7px;
  border-color: rgba(191, 228, 231, 0.42);
}

.world-archive-chibi-art {
  display: block;
  width: 148px;
  height: 148px;
  margin: 0 auto;
  border: 1px solid rgba(242, 214, 141, 0.48);
  border-radius: 50%;
  background-color: #f8f2e9;
  background-repeat: no-repeat;
  background-size: 220% auto;
  box-shadow:
    0 0 0 5px rgba(255, 250, 242, 0.025),
    0 0 0 6px rgba(192, 221, 228, 0.12),
    0 14px 28px rgba(0, 0, 0, 0.22);
  transition:
    border-color 0.28s ease,
    box-shadow 0.28s ease,
    transform 0.28s ease;
}

.world-archive-chibi:hover .world-archive-chibi-art {
  border-color: rgba(242, 214, 141, 0.72);
  box-shadow:
    0 0 0 5px rgba(255, 250, 242, 0.035),
    0 0 0 6px rgba(242, 214, 141, 0.2),
    0 18px 32px rgba(0, 0, 0, 0.28);
  transform: translateY(-2px);
}

.world-archive-gallery {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  align-items: start;
  gap: 18px;
  margin-top: 30px;
}

.world-archive-gallery:empty {
  display: none;
}

.world-archive-image {
  display: block;
  width: 100%;
  max-height: 52vh;
  object-fit: contain;
  border: 1px solid rgba(255, 250, 242, 0.14);
}

.world-archive-image.portrait {
  justify-self: end;
}

.world-archive-image.landscape {
  align-self: center;
}

.world-nav {
  position: fixed;
  z-index: 40;
  top: 50%;
  right: 34px;
  display: grid;
  gap: 8px;
  transform: translateY(-50%);
}

.world-nav a {
  min-width: 92px;
  padding: 5px 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 14px;
  line-height: 1.3;
  text-align: right;
  border-right: 3px solid transparent;
  padding-right: 14px;
}

.world-nav a:hover,
.world-nav a.active {
  color: #fff;
  border-color: var(--gold-bright);
}

.world-music-toggle {
  position: fixed;
  z-index: 75;
  top: 24px;
  right: 30px;
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  backdrop-filter: blur(5px);
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.world-music-toggle:hover,
.world-music-toggle:focus-visible {
  outline: none;
  transform: scale(1.06);
}

.world-music-toggle-icon {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.world-music-toggle.is-playing {
  animation: none;
}

.world-music-toggle.is-playing .world-music-toggle-icon {
  animation: worldMusicSpin 9s linear infinite;
}

@keyframes worldMusicSpin {
  to { transform: rotate(360deg); }
}

.construction {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: calc(var(--nav-height) + 60px) 24px 80px;
  text-align: center;
  background:
    linear-gradient(rgba(8, 9, 14, 0.8), rgba(8, 9, 14, 0.92)),
    url("../assets/images/hero-main.jpg") center / cover;
}

.construction-card {
  width: min(720px, 100%);
  padding: 62px 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(8, 11, 16, 0.68);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.construction-card h1 {
  margin: 0;
  font-size: clamp(38px, 5vw, 70px);
  font-weight: 500;
}

.construction-card p {
  margin: 22px auto 0;
  color: var(--muted);
  line-height: 1.9;
}

.about-section {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(340px, 0.92fr) minmax(380px, 1.08fr);
  gap: 62px;
  align-items: center;
  padding: calc(var(--nav-height) + 52px) 8vw 64px;
  background:
    radial-gradient(circle at 12% 20%, rgba(216, 180, 106, 0.18), transparent 26%),
    linear-gradient(135deg, #121827, #07090d 72%);
}

.about-section:nth-child(even) {
  grid-template-columns: minmax(380px, 1.08fr) minmax(340px, 0.92fr);
  background:
    radial-gradient(circle at 88% 20%, rgba(66, 183, 213, 0.16), transparent 24%),
    linear-gradient(135deg, #080b12, #17121b 76%);
}

.about-section:nth-child(even) .about-image {
  order: 2;
}

.about-image {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow);
  background: rgba(255, 255, 255, 0.06);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.tag-list span {
  padding: 7px 13px;
  color: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  font-size: 13px;
}

@media (max-width: 1080px) {
  .site-header {
    padding: 0 24px;
  }

  .brand {
    min-width: 190px;
  }

  .brand-logo {
    width: 176px;
  }

  .main-nav a {
    padding: 0 10px;
  }

  .card-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  :root {
    --nav-height: 70px;
  }

  .site-header {
    padding: 0 16px;
  }

  .brand {
    min-width: 0;
    gap: 10px;
  }

  .brand-logo {
    width: 132px;
  }

  .brand-divider,
  .brand-sub {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: var(--nav-height);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 22px;
    background: rgba(8, 10, 16, 0.94);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    justify-content: center;
    min-height: 48px;
  }

  .home-title {
    padding: calc(var(--nav-height) + 32px) 18px 28px;
  }

  .title-mark {
    grid-template-rows: minmax(46vh, 1fr) auto auto;
    gap: 10px;
    width: 100%;
    min-height: calc(100vh - var(--nav-height) - 60px);
  }

  .partner-block {
    grid-template-columns: 1fr 1fr;
    gap: 18px 12px;
  }

  .partner-block p + p {
    border-left: 0;
  }

  .partner-block p {
    min-height: 94px;
    padding: 0 8px;
    text-align: center;
  }

  .home-visual img,
  .home-visual video {
    object-position: center center;
  }

  .home-intro,
  .content-band {
    padding-left: 20px;
    padding-right: 20px;
  }

  .intro-slide,
  .about-section,
  .about-section:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px;
  }

  .about-section:nth-child(even) .about-image {
    order: 0;
  }

  .cards-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .search-field {
    grid-template-columns: 1fr;
  }

  .search-field button {
    width: 100%;
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 12px;
  }

  .card-art {
    height: 230px;
  }

  .card-item.landscape {
    grid-column: 1 / -1;
  }

  .catalog-bottom-controls {
    align-items: stretch;
    flex-direction: column;
  }

  .back-top {
    width: 100%;
  }

  .modal-panel {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .modal.landscape .modal-panel {
    width: min(100%, 720px);
    grid-template-columns: 1fr;
  }

  .modal-art {
    height: auto;
    max-height: 70vh;
  }

  .modal-art img {
    width: 100%;
    height: auto;
    max-height: 70vh;
  }

  .world-nav {
    position: fixed;
    z-index: 70;
    top: 0;
    right: 0;
    left: 0;
    display: flex;
    width: 100%;
    height: 52px;
    gap: 0;
    padding: 0 40vw;
    overflow-x: auto;
    overflow-y: hidden;
    transform: none;
    background: transparent;
    border-bottom: 0;
    box-shadow: none;
    backdrop-filter: none;
    opacity: 1;
    scroll-behavior: smooth;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .world-music-toggle {
    top: 60px;
    right: 10px;
    width: 34px;
    height: 34px;
  }

  .world-music-toggle-icon {
    width: 27px;
    height: 27px;
  }

  .world-nav::-webkit-scrollbar {
    display: none;
  }

  .world-nav.mobile-first-page-hidden {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
  }

  .world-nav::before,
  .world-nav::after {
    content: "";
    position: absolute;
    z-index: 2;
    top: 0;
    bottom: 0;
    width: 26px;
    pointer-events: none;
  }

  .world-nav::before {
    left: 0;
    background: transparent;
  }

  .world-nav::after {
    right: 0;
    background: transparent;
  }

  .world-nav a {
    display: flex;
    flex: 0 0 20vw;
    width: 20vw;
    min-width: 20vw;
    height: 52px;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    overflow: hidden;
    border: 0;
    color: rgba(255, 250, 242, 0.5);
    font-size: clamp(10px, 2.9vw, 13px);
    line-height: 1.15;
    text-align: center;
    white-space: nowrap;
    text-overflow: ellipsis;
    opacity: 1;
    scroll-snap-align: center;
    transition: color 0.25s ease, text-shadow 0.25s ease;
  }

  .world-nav a.active {
    position: relative;
    color: #fffaf2;
    font-size: clamp(11px, 3.2vw, 14px);
    font-weight: 600;
    text-shadow: 0 0 12px rgba(242, 214, 141, 0.34);
  }

  .world-nav a.active::after {
    display: none;
  }

  .world-section {
    padding-left: 24px;
    padding-right: 24px;
  }

  #seven-sins > picture {
    display: none;
  }

  #seven-sins .seven-sins-mobile-split {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
  }

  #seven-sins .seven-sins-mobile-split img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.92;
    transform: none;
  }

  #seven-sins .seven-sins-mobile-split img:first-child {
    object-position: 53% 30%;
  }

  #seven-sins .seven-sins-mobile-split img:last-child {
    object-position: 47% 28%;
  }

  .world-invitation {
    padding: 0;
  }

  .world-invitation-stage {
    padding: 3vh 10px 8vh;
  }

  .world-invitation-scroll {
    width: min(96vw, 620px);
    height: min(76svh, 650px);
    aspect-ratio: auto;
  }

  .world-invitation-scroll > img {
    object-fit: fill;
  }

  .world-invitation-copy {
    top: 24%;
    right: 9%;
    bottom: 13%;
    left: 9%;
    justify-content: flex-start;
  }

  .world-invitation-copy h1 {
    margin-bottom: 10px;
    font-size: clamp(27px, 7.2vw, 34px);
  }

  .world-invitation-copy h1::before,
  .world-invitation-copy h1::after {
    width: clamp(24px, 9vw, 42px);
  }

  .world-invitation-copy h1::before {
    right: calc(100% + 10px);
  }

  .world-invitation-copy h1::after {
    left: calc(100% + 10px);
  }

  .world-invitation-copy p {
    margin: 3px 0;
    font-size: clamp(11px, 3.05vw, 12px);
    line-height: 1.5;
  }

  .world-invitation-next {
    bottom: 3.5vh;
  }

  #overview.world-gate {
    padding: 14px 18px 12px;
  }

  #overview .world-gate-seal {
    width: 82px;
    height: 82px;
    margin-bottom: 8px;
  }

  #overview .world-gate-armillary {
    width: 132px;
    height: 132px;
  }

  #overview .world-gate-core {
    inset: 8px;
  }

  #overview .world-gate-orbit.orbit-outer {
    width: 116px;
    height: 116px;
  }

  #overview .world-gate-orbit.orbit-inner {
    width: 98px;
    height: 98px;
  }

  #overview .world-gate-copy h2 {
    font-size: 32px;
    line-height: 1.08;
  }

  .world-overview-intro {
    width: min(100%, 32rem);
    margin-top: 12px;
    font-size: clamp(13px, 3.55vw, 15px);
    line-height: 1.7;
    letter-spacing: 0;
  }

  .world-overview-intro p {
    max-width: 25em;
    margin: 10px auto 0;
    font-size: inherit;
  }

  .world-overview-intro .world-overview-lead {
    max-width: 22em;
    margin: 0 auto 14px;
    color: #fff9e9;
    font-size: clamp(17px, 4.7vw, 20px);
    font-weight: 700;
    line-height: 1.55;
    text-shadow:
      0 2px 6px rgba(0, 0, 0, 0.94),
      0 0 20px rgba(230, 197, 124, 0.28);
  }

  .world-overview-intro .world-overview-story {
    margin-top: 5px;
    padding-top: 7px;
  }

  #overview .world-gate-explore {
    width: 138px;
    margin-top: 10px;
    font-size: 12px;
  }

  .world-section-next {
    bottom: 44px;
  }

  .world-detail-button {
    margin-top: 22px;
  }

  .world-archive {
    padding: calc(var(--nav-height) + 18px) 14px 20px;
  }

  .world-archive-shell {
    max-height: calc(100dvh - var(--nav-height) - 48px);
  }

  .world-archive-panel {
    padding: 24px 22px 28px;
  }

  .world-archive-bottom-actions {
    display: flex;
    justify-content: center;
    padding: 40px 0 10px;
  }

  .world-archive-bottom-close {
    display: inline-flex;
    min-width: 142px;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 9px 24px;
    border: 1px solid rgba(242, 214, 141, 0.48);
    border-radius: 999px;
    color: rgba(255, 250, 242, 0.92);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 18px rgba(242, 214, 141, 0.08);
    font-size: 14px;
    letter-spacing: 0.12em;
    cursor: pointer;
  }

  .world-archive-bottom-close-icon {
    position: relative;
    width: 14px;
    height: 14px;
  }

  .world-archive-bottom-close-icon::before,
  .world-archive-bottom-close-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 15px;
    height: 1px;
    background: currentColor;
  }

  .world-archive-bottom-close-icon::before {
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .world-archive-bottom-close-icon::after {
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  .world-archive-close {
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
  }

  .world-archive-close::before,
  .world-archive-close::after {
    width: 20px;
  }

  .world-archive-head {
    padding-right: 46px;
  }

  .world-archive-text p {
    font-size: 15px;
    line-height: 1.9;
  }

  .world-story {
    gap: 12px;
  }

  .world-story-block,
  .world-story-block.media-left {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    padding: 28px 0;
  }

  .world-story-block.media-left .world-story-copy,
  .world-story-block.media-left .world-story-media {
    grid-column: 1;
    grid-row: auto;
  }

  .world-story-copy p {
    font-size: 15px;
    line-height: 1.9;
  }

  .world-story-media {
    order: 2;
  }

  .world-archive[data-archive-id="wenmo-fragment"] .world-story-block.fragment-split {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .world-archive[data-archive-id="wenmo-fragment"] .fragment-split .world-story-copy,
  .world-archive[data-archive-id="wenmo-fragment"] .fragment-split .world-story-media-fragment-small {
    grid-column: 1;
    grid-row: auto;
  }

  .world-story-media-portrait {
    width: min(520px, 92%);
  }

  .world-story-media-sishu-credential {
    width: 100%;
  }

  .world-story-media-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .world-story-media-grid.has-featured .world-story-media:first-child {
    grid-column: auto;
  }

  .world-story-media-grid.darkside-gallery {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .world-story-media-grid.darkside-gallery .world-story-media:first-child {
    grid-column: auto;
  }

  .world-archive-gallery {
    grid-template-columns: 1fr;
  }

  .world-archive-entry {
    padding-top: 28px;
  }

  .world-archive-entry > p {
    font-size: 15px;
    line-height: 1.9;
  }

  .wenshen-portrait-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .wenshen-portrait figcaption {
    left: 12px;
    bottom: 12px;
    font-size: 20px;
  }

  .wenshen-showcase.full-figure .wenshen-portrait {
    aspect-ratio: 1 / 2.35;
  }

  .wenshen-showcase-caption {
    margin-top: 14px !important;
    font-size: 14px !important;
  }

  .summon-card-stage {
    height: 315px;
    margin-top: 10px;
  }

  .summon-card-item {
    bottom: 8px;
    max-height: 292px;
  }

  .summon-card-item-1,
  .summon-card-item-5 {
    height: 220px;
  }

  .summon-card-item-2,
  .summon-card-item-4 {
    height: 252px;
  }

  .summon-card-item-3 {
    height: 286px;
  }

  .summon-card-item-1 {
    left: -2%;
  }

  .summon-card-item-2 {
    left: 12%;
  }

  .summon-card-item-4 {
    right: 12%;
  }

  .summon-card-item-5 {
    right: -2%;
  }

  .summon-card-gallery {
    height: 390px;
    padding-top: 18px;
  }

  .summon-card-gallery-item:not(.is-center) {
    display: none;
  }

  .summon-card-gallery-item.is-center {
    left: 50%;
    bottom: 8px;
    width: auto;
    max-width: 90%;
    height: 360px;
    transform: translateX(-50%);
  }

  .summon-card-gallery-item.is-center:hover {
    transform: translateX(-50%) translateY(-6px) scale(1.015);
  }

  .world-archive-chibi-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: min(340px, 100%);
    margin-right: auto;
    margin-left: auto;
    gap: 22px 14px;
  }

  .world-archive-chibi {
    width: 100%;
    max-width: 104px;
  }

  .world-archive-chibi-art {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
  }

  .world-archive-image {
    max-height: 44vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  .world-invitation-scroll,
  .world-invitation-copy,
  .world-invitation-next {
    transition-duration: 0.01ms;
    transition-delay: 0s;
  }
  .world-invitation-copy h1,
  .world-invitation-copy p {
    opacity: 1;
    filter: none;
    transform: none;
    animation: none !important;
  }
  #overview.world-gate img,
  .world-gate-seal,
  .world-gate-armillary,
  .world-gate-core,
  .world-gate-orbit,
  .world-gate-copy h2,
  .world-gate-copy > p,
  .world-gate-chevrons i,
  .world-detail-button::before,
  .world-detail-button::after {
    animation: none;
  }

  .world-gate-seal,
  .world-gate-copy h2,
  .world-gate-copy > p {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 520px) {
  .project-banner {
    min-height: 170px;
  }

  .project-name {
    font-size: 26px;
  }

  .card-grid {
    grid-template-columns: 1fr 1fr;
  }

  .card-art {
    height: 190px;
  }

  .filter-bar button {
    flex: 1 1 auto;
    padding: 0 14px;
  }

  .summon-card-gallery {
    height: 330px;
  }

  .summon-card-gallery-item.is-center {
    max-width: 88%;
    height: 305px;
  }
}
