.world-gate {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #6a5840;
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: .08em;
  line-height: 1.4;
  text-decoration: none;
  pointer-events: none;
  opacity: 0;
  transition: opacity .45s ease, color .25s ease;
}
.world-gate:hover {
  color: #4a3726;
}
.world-gate:focus-visible {
  outline: 2px solid rgba(196,164,106,.7);
  outline-offset: 4px;
}
.world-afterword__cta:hover {
  box-shadow: 0 12px 32px rgba(120, 90, 40, .14);
}
.world-gate__arrow {
  color: #d4b56a;
  font-size: 12px;
  transform: translateY(-1px);
}
.world-gate-sun {
  position: absolute;
  left: 50%;
  bottom: max(28px, env(safe-area-inset-bottom));
  z-index: 6;
  transform: translateX(-50%);
}
.sun-stage[data-sun="4"] .world-gate-sun {
  opacity: .86;
  pointer-events: auto;
}
.world-gate-reverse {
  position: absolute;
  left: 50%;
  top: calc(50% + min(100vw, 100svh * 1672 / 941) * 941 / 1672 / 2 + 10px);
  z-index: 6;
  transform: translateX(-50%);
  padding: 0 0 5px;
  color: #3d2b1c;
  border-bottom: 1px solid rgba(196, 164, 106, .7);
  white-space: nowrap;
}
.event-stage[data-event="3"] .world-gate-reverse {
  opacity: .88;
  pointer-events: auto;
}
.world-gate-event {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 6;
  transform: translateX(-50%);
  padding: 8px 14px;
  color: #6d5b42;
  background: rgba(255, 252, 247, .78);
  border-radius: 999px;
}
.world-gate-event i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff8e4 0 35%, #e2b85a 62%, transparent 74%);
  box-shadow: 0 0 8px rgba(226, 184, 90, .55);
}
.event-stage[data-event="4"] .world-gate-event,
.event-stage[data-event="5"] .world-gate-event,
.event-stage[data-event="6"] .world-gate-event {
  opacity: .82;
  pointer-events: auto;
}
.world-finale {
  position: relative;
}
.world-finale::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 32%;
  background: linear-gradient(180deg, transparent, rgba(255, 250, 240, .28) 36%, #fffaf0);
  pointer-events: none;
}
.world-afterword {
  min-height: unset;
  padding: 72px 0 96px;
  color: #3d3428;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(247, 216, 142, .28), transparent 46%),
    linear-gradient(180deg, #fffaf0 0%, #fffcf7 18%, #f7f1e4 100%);
}
.world-afterword__inner {
  width: min(100% - 48px, 720px);
  margin: 0 auto;
  font-family: var(--serif);
}
.world-afterword h2 {
  margin: 0 0 48px;
  color: #6a5840;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .28em;
  text-align: center;
}
.world-afterword p {
  margin: 0 0 1.55em;
  font-size: 16px;
  font-weight: 400;
  line-height: 2.15;
  letter-spacing: .04em;
}
.world-afterword__center {
  margin: 72px 0;
  text-align: center;
}
.world-afterword__center p {
  margin: 0;
  font-size: 20px;
  line-height: 2.2;
  letter-spacing: .06em;
}
.world-afterword__center p + p {
  margin-top: 28px;
  font-size: 24px;
}
.world-afterword__sign {
  margin: 64px 0 48px;
  padding-top: 28px;
  border-top: 1px solid rgba(196, 164, 106, .55);
  text-align: center;
}
.world-afterword__role,
.world-afterword__name {
  margin: 0;
}
.world-afterword__role {
  color: #6a5840;
  font-size: 13px;
  letter-spacing: .08em;
  line-height: 1.9;
}
.world-afterword__byline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 16px;
}
.world-afterword__photo {
  display: block;
  width: 76px;
  height: 76px;
  margin: 0;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  flex: 0 0 auto;
}
.world-afterword .world-afterword__name {
  margin: 0 !important;
  font-size: 18px;
  letter-spacing: .18em;
  line-height: 1.4;
}
.world-afterword__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: min(100%, 360px);
  min-height: 48px;
  margin: 0 auto;
  padding: 12px 22px;
  border: 1px solid rgba(196, 164, 106, .55);
  border-radius: 999px;
  color: #4a3726;
  background:
    linear-gradient(180deg, #fffef9 0%, #f4e6c4 100%);
  box-shadow: 0 10px 28px rgba(120, 90, 40, .08);
  font-family: var(--serif);
  font-size: 16px;
  letter-spacing: .1em;
}
.world-afterword__cta-arrow {
  color: #2f5c48;
  font-size: 15px;
}
.world-afterword__hint {
  margin: 16px 0 0 !important;
  color: #7a6a54;
  font-size: 13px !important;
  letter-spacing: .08em;
  text-align: center;
}
@media (min-width: 900px) {
  .world-gate {
    font-size: 14px;
  }
  .world-gate-sun {
    bottom: 48px;
  }
  .world-gate-event {
    bottom: 28px;
  }
  .world-afterword {
    padding: 96px 0 120px;
  }
  .world-afterword__inner {
    width: min(100% - 80px, 740px);
  }
  .world-afterword p {
    font-size: 17px;
    line-height: 2.2;
  }
  .world-afterword__center p {
    font-size: 22px;
  }
  .world-afterword__center p + p {
    font-size: 28px;
  }
  .world-afterword__cta {
    min-height: 52px;
  }
  .world-afterword__byline {
    gap: 21px;
  }
  .world-afterword__photo {
    width: 92px;
    height: 92px;
  }
}
@media (max-width: 899px) {
  .world-gate-event {
    bottom: 228px;
  }
  .world-gate-sun {
    bottom: 64px;
  }
  .world-gate-reverse {
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .world-gate,
  .world-afterword__cta {
    transition: none;
  }
}
